@gol/sdk 0.1.0-next.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,2137 @@
1
+ /**
2
+ * Generated from the GOL Platform OpenAPI contract.
3
+ * Source: openapi/platform.json
4
+ * Upstream: Gol-Network/platform/openapi/openapi.json
5
+ * Regenerate with: pnpm generate
6
+ * Do not edit by hand.
7
+ */
8
+ export interface paths {
9
+ "/healthz": {
10
+ parameters: {
11
+ query?: never;
12
+ header?: never;
13
+ path?: never;
14
+ cookie?: never;
15
+ };
16
+ get: operations["getHealth"];
17
+ put?: never;
18
+ post?: never;
19
+ delete?: never;
20
+ options?: never;
21
+ head?: never;
22
+ patch?: never;
23
+ trace?: never;
24
+ };
25
+ "/readyz": {
26
+ parameters: {
27
+ query?: never;
28
+ header?: never;
29
+ path?: never;
30
+ cookie?: never;
31
+ };
32
+ get: operations["getReadiness"];
33
+ put?: never;
34
+ post?: never;
35
+ delete?: never;
36
+ options?: never;
37
+ head?: never;
38
+ patch?: never;
39
+ trace?: never;
40
+ };
41
+ "/v1/auth/email/challenges": {
42
+ parameters: {
43
+ query?: never;
44
+ header?: never;
45
+ path?: never;
46
+ cookie?: never;
47
+ };
48
+ get?: never;
49
+ put?: never;
50
+ post: operations["startEmailChallenge"];
51
+ delete?: never;
52
+ options?: never;
53
+ head?: never;
54
+ patch?: never;
55
+ trace?: never;
56
+ };
57
+ "/v1/auth/email/sessions": {
58
+ parameters: {
59
+ query?: never;
60
+ header?: never;
61
+ path?: never;
62
+ cookie?: never;
63
+ };
64
+ get?: never;
65
+ put?: never;
66
+ post: operations["verifyEmailChallenge"];
67
+ delete?: never;
68
+ options?: never;
69
+ head?: never;
70
+ patch?: never;
71
+ trace?: never;
72
+ };
73
+ "/v1/console/me": {
74
+ parameters: {
75
+ query?: never;
76
+ header?: never;
77
+ path?: never;
78
+ cookie?: never;
79
+ };
80
+ get: operations["getConsoleIdentity"];
81
+ put?: never;
82
+ post?: never;
83
+ delete?: never;
84
+ options?: never;
85
+ head?: never;
86
+ patch?: never;
87
+ trace?: never;
88
+ };
89
+ "/v1/projects": {
90
+ parameters: {
91
+ query?: never;
92
+ header?: never;
93
+ path?: never;
94
+ cookie?: never;
95
+ };
96
+ get: operations["listProjects"];
97
+ put?: never;
98
+ post: operations["createProject"];
99
+ delete?: never;
100
+ options?: never;
101
+ head?: never;
102
+ patch?: never;
103
+ trace?: never;
104
+ };
105
+ "/v1/projects/{projectId}/api-keys": {
106
+ parameters: {
107
+ query?: never;
108
+ header?: never;
109
+ path?: never;
110
+ cookie?: never;
111
+ };
112
+ get: operations["listApiKeys"];
113
+ put?: never;
114
+ post: operations["createApiKey"];
115
+ delete?: never;
116
+ options?: never;
117
+ head?: never;
118
+ patch?: never;
119
+ trace?: never;
120
+ };
121
+ "/v1/projects/{projectId}/api-keys/{apiKeyId}/revoke": {
122
+ parameters: {
123
+ query?: never;
124
+ header?: never;
125
+ path?: never;
126
+ cookie?: never;
127
+ };
128
+ get?: never;
129
+ put?: never;
130
+ post: operations["revokeApiKey"];
131
+ delete?: never;
132
+ options?: never;
133
+ head?: never;
134
+ patch?: never;
135
+ trace?: never;
136
+ };
137
+ "/v1/projects/{projectId}/api-keys/{apiKeyId}/rotate": {
138
+ parameters: {
139
+ query?: never;
140
+ header?: never;
141
+ path?: never;
142
+ cookie?: never;
143
+ };
144
+ get?: never;
145
+ put?: never;
146
+ post: operations["rotateApiKey"];
147
+ delete?: never;
148
+ options?: never;
149
+ head?: never;
150
+ patch?: never;
151
+ trace?: never;
152
+ };
153
+ "/v1/projects/{projectId}/audit-events": {
154
+ parameters: {
155
+ query?: never;
156
+ header?: never;
157
+ path?: never;
158
+ cookie?: never;
159
+ };
160
+ get: operations["listAuditEvents"];
161
+ put?: never;
162
+ post?: never;
163
+ delete?: never;
164
+ options?: never;
165
+ head?: never;
166
+ patch?: never;
167
+ trace?: never;
168
+ };
169
+ "/v1/whoami": {
170
+ parameters: {
171
+ query?: never;
172
+ header?: never;
173
+ path?: never;
174
+ cookie?: never;
175
+ };
176
+ get: operations["getApiKeyIdentity"];
177
+ put?: never;
178
+ post?: never;
179
+ delete?: never;
180
+ options?: never;
181
+ head?: never;
182
+ patch?: never;
183
+ trace?: never;
184
+ };
185
+ }
186
+ export type webhooks = Record<string, never>;
187
+ export interface components {
188
+ schemas: {
189
+ /** ErrorResponse */
190
+ "def-0": {
191
+ error: {
192
+ code: string;
193
+ message: string;
194
+ /** Format: uuid */
195
+ correlationId: string;
196
+ };
197
+ };
198
+ /** Project */
199
+ "def-1": {
200
+ /** Format: uuid */
201
+ id: string;
202
+ name: string;
203
+ slug: string;
204
+ /** Format: date-time */
205
+ createdAt: string;
206
+ environments: {
207
+ name: "test" | "live";
208
+ status: "active" | "unavailable";
209
+ }[];
210
+ };
211
+ /** ApiKey */
212
+ "def-2": {
213
+ /** Format: uuid */
214
+ id: string;
215
+ name: string;
216
+ environment: "test" | "live";
217
+ hint: string;
218
+ scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
219
+ /** Format: date-time */
220
+ createdAt: string;
221
+ expiresAt: string | null;
222
+ revokedAt: string | null;
223
+ lastUsedAt: string | null;
224
+ };
225
+ /** AuditEvent */
226
+ "def-3": {
227
+ /** Format: uuid */
228
+ id: string;
229
+ environment: "test" | "live";
230
+ actorType: "developer" | "api_key" | "system";
231
+ action: string;
232
+ correlationId: string;
233
+ metadata: {
234
+ [key: string]: string | number | boolean | null;
235
+ };
236
+ /** Format: date-time */
237
+ createdAt: string;
238
+ };
239
+ };
240
+ responses: never;
241
+ parameters: never;
242
+ requestBodies: never;
243
+ headers: never;
244
+ pathItems: never;
245
+ }
246
+ export type $defs = Record<string, never>;
247
+ export interface operations {
248
+ getHealth: {
249
+ parameters: {
250
+ query?: never;
251
+ header?: never;
252
+ path?: never;
253
+ cookie?: never;
254
+ };
255
+ requestBody?: never;
256
+ responses: {
257
+ /** @description Default Response */
258
+ 200: {
259
+ headers: {
260
+ [name: string]: unknown;
261
+ };
262
+ content: {
263
+ "application/json": {
264
+ /** @enum {string} */
265
+ status: "ok";
266
+ version: string;
267
+ sourceCommit: string;
268
+ };
269
+ };
270
+ };
271
+ };
272
+ };
273
+ getReadiness: {
274
+ parameters: {
275
+ query?: never;
276
+ header?: never;
277
+ path?: never;
278
+ cookie?: never;
279
+ };
280
+ requestBody?: never;
281
+ responses: {
282
+ /** @description Default Response */
283
+ 200: {
284
+ headers: {
285
+ [name: string]: unknown;
286
+ };
287
+ content: {
288
+ "application/json": {
289
+ /** @enum {string} */
290
+ status: "ready";
291
+ version: string;
292
+ sourceCommit: string;
293
+ };
294
+ };
295
+ };
296
+ /** @description Default Response */
297
+ 500: {
298
+ headers: {
299
+ [name: string]: unknown;
300
+ };
301
+ content: {
302
+ "application/json": {
303
+ error: {
304
+ code: string;
305
+ message: string;
306
+ /** Format: uuid */
307
+ correlationId: string;
308
+ };
309
+ };
310
+ };
311
+ };
312
+ };
313
+ };
314
+ startEmailChallenge: {
315
+ parameters: {
316
+ query?: never;
317
+ header?: never;
318
+ path?: never;
319
+ cookie?: never;
320
+ };
321
+ requestBody: {
322
+ content: {
323
+ "application/json": {
324
+ email: string;
325
+ };
326
+ };
327
+ };
328
+ responses: {
329
+ /** @description Default Response */
330
+ 202: {
331
+ headers: {
332
+ [name: string]: unknown;
333
+ };
334
+ content: {
335
+ "application/json": {
336
+ /** Format: uuid */
337
+ challengeId: string;
338
+ /** Format: date-time */
339
+ expiresAt: string;
340
+ delivery: "local" | "email";
341
+ localCode?: string;
342
+ };
343
+ };
344
+ };
345
+ /** @description Default Response */
346
+ 400: {
347
+ headers: {
348
+ [name: string]: unknown;
349
+ };
350
+ content: {
351
+ "application/json": {
352
+ error: {
353
+ code: string;
354
+ message: string;
355
+ /** Format: uuid */
356
+ correlationId: string;
357
+ };
358
+ };
359
+ };
360
+ };
361
+ /** @description Default Response */
362
+ 401: {
363
+ headers: {
364
+ [name: string]: unknown;
365
+ };
366
+ content: {
367
+ "application/json": {
368
+ error: {
369
+ code: string;
370
+ message: string;
371
+ /** Format: uuid */
372
+ correlationId: string;
373
+ };
374
+ };
375
+ };
376
+ };
377
+ /** @description Default Response */
378
+ 403: {
379
+ headers: {
380
+ [name: string]: unknown;
381
+ };
382
+ content: {
383
+ "application/json": {
384
+ error: {
385
+ code: string;
386
+ message: string;
387
+ /** Format: uuid */
388
+ correlationId: string;
389
+ };
390
+ };
391
+ };
392
+ };
393
+ /** @description Default Response */
394
+ 404: {
395
+ headers: {
396
+ [name: string]: unknown;
397
+ };
398
+ content: {
399
+ "application/json": {
400
+ error: {
401
+ code: string;
402
+ message: string;
403
+ /** Format: uuid */
404
+ correlationId: string;
405
+ };
406
+ };
407
+ };
408
+ };
409
+ /** @description Default Response */
410
+ 409: {
411
+ headers: {
412
+ [name: string]: unknown;
413
+ };
414
+ content: {
415
+ "application/json": {
416
+ error: {
417
+ code: string;
418
+ message: string;
419
+ /** Format: uuid */
420
+ correlationId: string;
421
+ };
422
+ };
423
+ };
424
+ };
425
+ /** @description Default Response */
426
+ 429: {
427
+ headers: {
428
+ [name: string]: unknown;
429
+ };
430
+ content: {
431
+ "application/json": {
432
+ error: {
433
+ code: string;
434
+ message: string;
435
+ /** Format: uuid */
436
+ correlationId: string;
437
+ };
438
+ };
439
+ };
440
+ };
441
+ /** @description Default Response */
442
+ 500: {
443
+ headers: {
444
+ [name: string]: unknown;
445
+ };
446
+ content: {
447
+ "application/json": {
448
+ error: {
449
+ code: string;
450
+ message: string;
451
+ /** Format: uuid */
452
+ correlationId: string;
453
+ };
454
+ };
455
+ };
456
+ };
457
+ /** @description Default Response */
458
+ 503: {
459
+ headers: {
460
+ [name: string]: unknown;
461
+ };
462
+ content: {
463
+ "application/json": {
464
+ error: {
465
+ code: string;
466
+ message: string;
467
+ /** Format: uuid */
468
+ correlationId: string;
469
+ };
470
+ };
471
+ };
472
+ };
473
+ };
474
+ };
475
+ verifyEmailChallenge: {
476
+ parameters: {
477
+ query?: never;
478
+ header?: never;
479
+ path?: never;
480
+ cookie?: never;
481
+ };
482
+ requestBody: {
483
+ content: {
484
+ "application/json": {
485
+ /** Format: uuid */
486
+ challengeId: string;
487
+ code: string;
488
+ };
489
+ };
490
+ };
491
+ responses: {
492
+ /** @description Default Response */
493
+ 200: {
494
+ headers: {
495
+ [name: string]: unknown;
496
+ };
497
+ content: {
498
+ "application/json": {
499
+ sessionToken: string;
500
+ /** Format: date-time */
501
+ expiresAt: string;
502
+ developer: {
503
+ /** Format: uuid */
504
+ id: string;
505
+ email: string;
506
+ };
507
+ };
508
+ };
509
+ };
510
+ /** @description Default Response */
511
+ 400: {
512
+ headers: {
513
+ [name: string]: unknown;
514
+ };
515
+ content: {
516
+ "application/json": {
517
+ error: {
518
+ code: string;
519
+ message: string;
520
+ /** Format: uuid */
521
+ correlationId: string;
522
+ };
523
+ };
524
+ };
525
+ };
526
+ /** @description Default Response */
527
+ 401: {
528
+ headers: {
529
+ [name: string]: unknown;
530
+ };
531
+ content: {
532
+ "application/json": {
533
+ error: {
534
+ code: string;
535
+ message: string;
536
+ /** Format: uuid */
537
+ correlationId: string;
538
+ };
539
+ };
540
+ };
541
+ };
542
+ /** @description Default Response */
543
+ 403: {
544
+ headers: {
545
+ [name: string]: unknown;
546
+ };
547
+ content: {
548
+ "application/json": {
549
+ error: {
550
+ code: string;
551
+ message: string;
552
+ /** Format: uuid */
553
+ correlationId: string;
554
+ };
555
+ };
556
+ };
557
+ };
558
+ /** @description Default Response */
559
+ 404: {
560
+ headers: {
561
+ [name: string]: unknown;
562
+ };
563
+ content: {
564
+ "application/json": {
565
+ error: {
566
+ code: string;
567
+ message: string;
568
+ /** Format: uuid */
569
+ correlationId: string;
570
+ };
571
+ };
572
+ };
573
+ };
574
+ /** @description Default Response */
575
+ 409: {
576
+ headers: {
577
+ [name: string]: unknown;
578
+ };
579
+ content: {
580
+ "application/json": {
581
+ error: {
582
+ code: string;
583
+ message: string;
584
+ /** Format: uuid */
585
+ correlationId: string;
586
+ };
587
+ };
588
+ };
589
+ };
590
+ /** @description Default Response */
591
+ 429: {
592
+ headers: {
593
+ [name: string]: unknown;
594
+ };
595
+ content: {
596
+ "application/json": {
597
+ error: {
598
+ code: string;
599
+ message: string;
600
+ /** Format: uuid */
601
+ correlationId: string;
602
+ };
603
+ };
604
+ };
605
+ };
606
+ /** @description Default Response */
607
+ 500: {
608
+ headers: {
609
+ [name: string]: unknown;
610
+ };
611
+ content: {
612
+ "application/json": {
613
+ error: {
614
+ code: string;
615
+ message: string;
616
+ /** Format: uuid */
617
+ correlationId: string;
618
+ };
619
+ };
620
+ };
621
+ };
622
+ /** @description Default Response */
623
+ 503: {
624
+ headers: {
625
+ [name: string]: unknown;
626
+ };
627
+ content: {
628
+ "application/json": {
629
+ error: {
630
+ code: string;
631
+ message: string;
632
+ /** Format: uuid */
633
+ correlationId: string;
634
+ };
635
+ };
636
+ };
637
+ };
638
+ };
639
+ };
640
+ getConsoleIdentity: {
641
+ parameters: {
642
+ query?: never;
643
+ header?: never;
644
+ path?: never;
645
+ cookie?: never;
646
+ };
647
+ requestBody?: never;
648
+ responses: {
649
+ /** @description Default Response */
650
+ 200: {
651
+ headers: {
652
+ [name: string]: unknown;
653
+ };
654
+ content: {
655
+ "application/json": {
656
+ developer: {
657
+ /** Format: uuid */
658
+ id: string;
659
+ email: string;
660
+ };
661
+ };
662
+ };
663
+ };
664
+ /** @description Default Response */
665
+ 400: {
666
+ headers: {
667
+ [name: string]: unknown;
668
+ };
669
+ content: {
670
+ "application/json": {
671
+ error: {
672
+ code: string;
673
+ message: string;
674
+ /** Format: uuid */
675
+ correlationId: string;
676
+ };
677
+ };
678
+ };
679
+ };
680
+ /** @description Default Response */
681
+ 401: {
682
+ headers: {
683
+ [name: string]: unknown;
684
+ };
685
+ content: {
686
+ "application/json": {
687
+ error: {
688
+ code: string;
689
+ message: string;
690
+ /** Format: uuid */
691
+ correlationId: string;
692
+ };
693
+ };
694
+ };
695
+ };
696
+ /** @description Default Response */
697
+ 403: {
698
+ headers: {
699
+ [name: string]: unknown;
700
+ };
701
+ content: {
702
+ "application/json": {
703
+ error: {
704
+ code: string;
705
+ message: string;
706
+ /** Format: uuid */
707
+ correlationId: string;
708
+ };
709
+ };
710
+ };
711
+ };
712
+ /** @description Default Response */
713
+ 404: {
714
+ headers: {
715
+ [name: string]: unknown;
716
+ };
717
+ content: {
718
+ "application/json": {
719
+ error: {
720
+ code: string;
721
+ message: string;
722
+ /** Format: uuid */
723
+ correlationId: string;
724
+ };
725
+ };
726
+ };
727
+ };
728
+ /** @description Default Response */
729
+ 409: {
730
+ headers: {
731
+ [name: string]: unknown;
732
+ };
733
+ content: {
734
+ "application/json": {
735
+ error: {
736
+ code: string;
737
+ message: string;
738
+ /** Format: uuid */
739
+ correlationId: string;
740
+ };
741
+ };
742
+ };
743
+ };
744
+ /** @description Default Response */
745
+ 429: {
746
+ headers: {
747
+ [name: string]: unknown;
748
+ };
749
+ content: {
750
+ "application/json": {
751
+ error: {
752
+ code: string;
753
+ message: string;
754
+ /** Format: uuid */
755
+ correlationId: string;
756
+ };
757
+ };
758
+ };
759
+ };
760
+ /** @description Default Response */
761
+ 500: {
762
+ headers: {
763
+ [name: string]: unknown;
764
+ };
765
+ content: {
766
+ "application/json": {
767
+ error: {
768
+ code: string;
769
+ message: string;
770
+ /** Format: uuid */
771
+ correlationId: string;
772
+ };
773
+ };
774
+ };
775
+ };
776
+ /** @description Default Response */
777
+ 503: {
778
+ headers: {
779
+ [name: string]: unknown;
780
+ };
781
+ content: {
782
+ "application/json": {
783
+ error: {
784
+ code: string;
785
+ message: string;
786
+ /** Format: uuid */
787
+ correlationId: string;
788
+ };
789
+ };
790
+ };
791
+ };
792
+ };
793
+ };
794
+ listProjects: {
795
+ parameters: {
796
+ query?: never;
797
+ header?: never;
798
+ path?: never;
799
+ cookie?: never;
800
+ };
801
+ requestBody?: never;
802
+ responses: {
803
+ /** @description Default Response */
804
+ 200: {
805
+ headers: {
806
+ [name: string]: unknown;
807
+ };
808
+ content: {
809
+ "application/json": {
810
+ data: {
811
+ /** Format: uuid */
812
+ id: string;
813
+ name: string;
814
+ slug: string;
815
+ /** Format: date-time */
816
+ createdAt: string;
817
+ environments: {
818
+ name: "test" | "live";
819
+ status: "active" | "unavailable";
820
+ }[];
821
+ }[];
822
+ };
823
+ };
824
+ };
825
+ /** @description Default Response */
826
+ 400: {
827
+ headers: {
828
+ [name: string]: unknown;
829
+ };
830
+ content: {
831
+ "application/json": {
832
+ error: {
833
+ code: string;
834
+ message: string;
835
+ /** Format: uuid */
836
+ correlationId: string;
837
+ };
838
+ };
839
+ };
840
+ };
841
+ /** @description Default Response */
842
+ 401: {
843
+ headers: {
844
+ [name: string]: unknown;
845
+ };
846
+ content: {
847
+ "application/json": {
848
+ error: {
849
+ code: string;
850
+ message: string;
851
+ /** Format: uuid */
852
+ correlationId: string;
853
+ };
854
+ };
855
+ };
856
+ };
857
+ /** @description Default Response */
858
+ 403: {
859
+ headers: {
860
+ [name: string]: unknown;
861
+ };
862
+ content: {
863
+ "application/json": {
864
+ error: {
865
+ code: string;
866
+ message: string;
867
+ /** Format: uuid */
868
+ correlationId: string;
869
+ };
870
+ };
871
+ };
872
+ };
873
+ /** @description Default Response */
874
+ 404: {
875
+ headers: {
876
+ [name: string]: unknown;
877
+ };
878
+ content: {
879
+ "application/json": {
880
+ error: {
881
+ code: string;
882
+ message: string;
883
+ /** Format: uuid */
884
+ correlationId: string;
885
+ };
886
+ };
887
+ };
888
+ };
889
+ /** @description Default Response */
890
+ 409: {
891
+ headers: {
892
+ [name: string]: unknown;
893
+ };
894
+ content: {
895
+ "application/json": {
896
+ error: {
897
+ code: string;
898
+ message: string;
899
+ /** Format: uuid */
900
+ correlationId: string;
901
+ };
902
+ };
903
+ };
904
+ };
905
+ /** @description Default Response */
906
+ 429: {
907
+ headers: {
908
+ [name: string]: unknown;
909
+ };
910
+ content: {
911
+ "application/json": {
912
+ error: {
913
+ code: string;
914
+ message: string;
915
+ /** Format: uuid */
916
+ correlationId: string;
917
+ };
918
+ };
919
+ };
920
+ };
921
+ /** @description Default Response */
922
+ 500: {
923
+ headers: {
924
+ [name: string]: unknown;
925
+ };
926
+ content: {
927
+ "application/json": {
928
+ error: {
929
+ code: string;
930
+ message: string;
931
+ /** Format: uuid */
932
+ correlationId: string;
933
+ };
934
+ };
935
+ };
936
+ };
937
+ /** @description Default Response */
938
+ 503: {
939
+ headers: {
940
+ [name: string]: unknown;
941
+ };
942
+ content: {
943
+ "application/json": {
944
+ error: {
945
+ code: string;
946
+ message: string;
947
+ /** Format: uuid */
948
+ correlationId: string;
949
+ };
950
+ };
951
+ };
952
+ };
953
+ };
954
+ };
955
+ createProject: {
956
+ parameters: {
957
+ query?: never;
958
+ header?: never;
959
+ path?: never;
960
+ cookie?: never;
961
+ };
962
+ requestBody: {
963
+ content: {
964
+ "application/json": {
965
+ name: string;
966
+ };
967
+ };
968
+ };
969
+ responses: {
970
+ /** @description Default Response */
971
+ 201: {
972
+ headers: {
973
+ [name: string]: unknown;
974
+ };
975
+ content: {
976
+ "application/json": {
977
+ /** Format: uuid */
978
+ id: string;
979
+ name: string;
980
+ slug: string;
981
+ /** Format: date-time */
982
+ createdAt: string;
983
+ environments: {
984
+ name: "test" | "live";
985
+ status: "active" | "unavailable";
986
+ }[];
987
+ };
988
+ };
989
+ };
990
+ /** @description Default Response */
991
+ 400: {
992
+ headers: {
993
+ [name: string]: unknown;
994
+ };
995
+ content: {
996
+ "application/json": {
997
+ error: {
998
+ code: string;
999
+ message: string;
1000
+ /** Format: uuid */
1001
+ correlationId: string;
1002
+ };
1003
+ };
1004
+ };
1005
+ };
1006
+ /** @description Default Response */
1007
+ 401: {
1008
+ headers: {
1009
+ [name: string]: unknown;
1010
+ };
1011
+ content: {
1012
+ "application/json": {
1013
+ error: {
1014
+ code: string;
1015
+ message: string;
1016
+ /** Format: uuid */
1017
+ correlationId: string;
1018
+ };
1019
+ };
1020
+ };
1021
+ };
1022
+ /** @description Default Response */
1023
+ 403: {
1024
+ headers: {
1025
+ [name: string]: unknown;
1026
+ };
1027
+ content: {
1028
+ "application/json": {
1029
+ error: {
1030
+ code: string;
1031
+ message: string;
1032
+ /** Format: uuid */
1033
+ correlationId: string;
1034
+ };
1035
+ };
1036
+ };
1037
+ };
1038
+ /** @description Default Response */
1039
+ 404: {
1040
+ headers: {
1041
+ [name: string]: unknown;
1042
+ };
1043
+ content: {
1044
+ "application/json": {
1045
+ error: {
1046
+ code: string;
1047
+ message: string;
1048
+ /** Format: uuid */
1049
+ correlationId: string;
1050
+ };
1051
+ };
1052
+ };
1053
+ };
1054
+ /** @description Default Response */
1055
+ 409: {
1056
+ headers: {
1057
+ [name: string]: unknown;
1058
+ };
1059
+ content: {
1060
+ "application/json": {
1061
+ error: {
1062
+ code: string;
1063
+ message: string;
1064
+ /** Format: uuid */
1065
+ correlationId: string;
1066
+ };
1067
+ };
1068
+ };
1069
+ };
1070
+ /** @description Default Response */
1071
+ 429: {
1072
+ headers: {
1073
+ [name: string]: unknown;
1074
+ };
1075
+ content: {
1076
+ "application/json": {
1077
+ error: {
1078
+ code: string;
1079
+ message: string;
1080
+ /** Format: uuid */
1081
+ correlationId: string;
1082
+ };
1083
+ };
1084
+ };
1085
+ };
1086
+ /** @description Default Response */
1087
+ 500: {
1088
+ headers: {
1089
+ [name: string]: unknown;
1090
+ };
1091
+ content: {
1092
+ "application/json": {
1093
+ error: {
1094
+ code: string;
1095
+ message: string;
1096
+ /** Format: uuid */
1097
+ correlationId: string;
1098
+ };
1099
+ };
1100
+ };
1101
+ };
1102
+ /** @description Default Response */
1103
+ 503: {
1104
+ headers: {
1105
+ [name: string]: unknown;
1106
+ };
1107
+ content: {
1108
+ "application/json": {
1109
+ error: {
1110
+ code: string;
1111
+ message: string;
1112
+ /** Format: uuid */
1113
+ correlationId: string;
1114
+ };
1115
+ };
1116
+ };
1117
+ };
1118
+ };
1119
+ };
1120
+ listApiKeys: {
1121
+ parameters: {
1122
+ query?: never;
1123
+ header?: never;
1124
+ path: {
1125
+ projectId: string;
1126
+ };
1127
+ cookie?: never;
1128
+ };
1129
+ requestBody?: never;
1130
+ responses: {
1131
+ /** @description Default Response */
1132
+ 200: {
1133
+ headers: {
1134
+ [name: string]: unknown;
1135
+ };
1136
+ content: {
1137
+ "application/json": {
1138
+ data: {
1139
+ /** Format: uuid */
1140
+ id: string;
1141
+ name: string;
1142
+ environment: "test" | "live";
1143
+ hint: string;
1144
+ scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
1145
+ /** Format: date-time */
1146
+ createdAt: string;
1147
+ expiresAt: string | null;
1148
+ revokedAt: string | null;
1149
+ lastUsedAt: string | null;
1150
+ }[];
1151
+ };
1152
+ };
1153
+ };
1154
+ /** @description Default Response */
1155
+ 400: {
1156
+ headers: {
1157
+ [name: string]: unknown;
1158
+ };
1159
+ content: {
1160
+ "application/json": {
1161
+ error: {
1162
+ code: string;
1163
+ message: string;
1164
+ /** Format: uuid */
1165
+ correlationId: string;
1166
+ };
1167
+ };
1168
+ };
1169
+ };
1170
+ /** @description Default Response */
1171
+ 401: {
1172
+ headers: {
1173
+ [name: string]: unknown;
1174
+ };
1175
+ content: {
1176
+ "application/json": {
1177
+ error: {
1178
+ code: string;
1179
+ message: string;
1180
+ /** Format: uuid */
1181
+ correlationId: string;
1182
+ };
1183
+ };
1184
+ };
1185
+ };
1186
+ /** @description Default Response */
1187
+ 403: {
1188
+ headers: {
1189
+ [name: string]: unknown;
1190
+ };
1191
+ content: {
1192
+ "application/json": {
1193
+ error: {
1194
+ code: string;
1195
+ message: string;
1196
+ /** Format: uuid */
1197
+ correlationId: string;
1198
+ };
1199
+ };
1200
+ };
1201
+ };
1202
+ /** @description Default Response */
1203
+ 404: {
1204
+ headers: {
1205
+ [name: string]: unknown;
1206
+ };
1207
+ content: {
1208
+ "application/json": {
1209
+ error: {
1210
+ code: string;
1211
+ message: string;
1212
+ /** Format: uuid */
1213
+ correlationId: string;
1214
+ };
1215
+ };
1216
+ };
1217
+ };
1218
+ /** @description Default Response */
1219
+ 409: {
1220
+ headers: {
1221
+ [name: string]: unknown;
1222
+ };
1223
+ content: {
1224
+ "application/json": {
1225
+ error: {
1226
+ code: string;
1227
+ message: string;
1228
+ /** Format: uuid */
1229
+ correlationId: string;
1230
+ };
1231
+ };
1232
+ };
1233
+ };
1234
+ /** @description Default Response */
1235
+ 429: {
1236
+ headers: {
1237
+ [name: string]: unknown;
1238
+ };
1239
+ content: {
1240
+ "application/json": {
1241
+ error: {
1242
+ code: string;
1243
+ message: string;
1244
+ /** Format: uuid */
1245
+ correlationId: string;
1246
+ };
1247
+ };
1248
+ };
1249
+ };
1250
+ /** @description Default Response */
1251
+ 500: {
1252
+ headers: {
1253
+ [name: string]: unknown;
1254
+ };
1255
+ content: {
1256
+ "application/json": {
1257
+ error: {
1258
+ code: string;
1259
+ message: string;
1260
+ /** Format: uuid */
1261
+ correlationId: string;
1262
+ };
1263
+ };
1264
+ };
1265
+ };
1266
+ /** @description Default Response */
1267
+ 503: {
1268
+ headers: {
1269
+ [name: string]: unknown;
1270
+ };
1271
+ content: {
1272
+ "application/json": {
1273
+ error: {
1274
+ code: string;
1275
+ message: string;
1276
+ /** Format: uuid */
1277
+ correlationId: string;
1278
+ };
1279
+ };
1280
+ };
1281
+ };
1282
+ };
1283
+ };
1284
+ createApiKey: {
1285
+ parameters: {
1286
+ query?: never;
1287
+ header?: never;
1288
+ path: {
1289
+ projectId: string;
1290
+ };
1291
+ cookie?: never;
1292
+ };
1293
+ requestBody: {
1294
+ content: {
1295
+ "application/json": {
1296
+ name: string;
1297
+ environment: "test" | "live";
1298
+ scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
1299
+ };
1300
+ };
1301
+ };
1302
+ responses: {
1303
+ /** @description Default Response */
1304
+ 201: {
1305
+ headers: {
1306
+ [name: string]: unknown;
1307
+ };
1308
+ content: {
1309
+ "application/json": {
1310
+ apiKey: {
1311
+ /** Format: uuid */
1312
+ id: string;
1313
+ name: string;
1314
+ environment: "test" | "live";
1315
+ hint: string;
1316
+ scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
1317
+ /** Format: date-time */
1318
+ createdAt: string;
1319
+ expiresAt: string | null;
1320
+ revokedAt: string | null;
1321
+ lastUsedAt: string | null;
1322
+ };
1323
+ secret: string;
1324
+ };
1325
+ };
1326
+ };
1327
+ /** @description Default Response */
1328
+ 400: {
1329
+ headers: {
1330
+ [name: string]: unknown;
1331
+ };
1332
+ content: {
1333
+ "application/json": {
1334
+ error: {
1335
+ code: string;
1336
+ message: string;
1337
+ /** Format: uuid */
1338
+ correlationId: string;
1339
+ };
1340
+ };
1341
+ };
1342
+ };
1343
+ /** @description Default Response */
1344
+ 401: {
1345
+ headers: {
1346
+ [name: string]: unknown;
1347
+ };
1348
+ content: {
1349
+ "application/json": {
1350
+ error: {
1351
+ code: string;
1352
+ message: string;
1353
+ /** Format: uuid */
1354
+ correlationId: string;
1355
+ };
1356
+ };
1357
+ };
1358
+ };
1359
+ /** @description Default Response */
1360
+ 403: {
1361
+ headers: {
1362
+ [name: string]: unknown;
1363
+ };
1364
+ content: {
1365
+ "application/json": {
1366
+ error: {
1367
+ code: string;
1368
+ message: string;
1369
+ /** Format: uuid */
1370
+ correlationId: string;
1371
+ };
1372
+ };
1373
+ };
1374
+ };
1375
+ /** @description Default Response */
1376
+ 404: {
1377
+ headers: {
1378
+ [name: string]: unknown;
1379
+ };
1380
+ content: {
1381
+ "application/json": {
1382
+ error: {
1383
+ code: string;
1384
+ message: string;
1385
+ /** Format: uuid */
1386
+ correlationId: string;
1387
+ };
1388
+ };
1389
+ };
1390
+ };
1391
+ /** @description Default Response */
1392
+ 409: {
1393
+ headers: {
1394
+ [name: string]: unknown;
1395
+ };
1396
+ content: {
1397
+ "application/json": {
1398
+ error: {
1399
+ code: string;
1400
+ message: string;
1401
+ /** Format: uuid */
1402
+ correlationId: string;
1403
+ };
1404
+ };
1405
+ };
1406
+ };
1407
+ /** @description Default Response */
1408
+ 429: {
1409
+ headers: {
1410
+ [name: string]: unknown;
1411
+ };
1412
+ content: {
1413
+ "application/json": {
1414
+ error: {
1415
+ code: string;
1416
+ message: string;
1417
+ /** Format: uuid */
1418
+ correlationId: string;
1419
+ };
1420
+ };
1421
+ };
1422
+ };
1423
+ /** @description Default Response */
1424
+ 500: {
1425
+ headers: {
1426
+ [name: string]: unknown;
1427
+ };
1428
+ content: {
1429
+ "application/json": {
1430
+ error: {
1431
+ code: string;
1432
+ message: string;
1433
+ /** Format: uuid */
1434
+ correlationId: string;
1435
+ };
1436
+ };
1437
+ };
1438
+ };
1439
+ /** @description Default Response */
1440
+ 503: {
1441
+ headers: {
1442
+ [name: string]: unknown;
1443
+ };
1444
+ content: {
1445
+ "application/json": {
1446
+ error: {
1447
+ code: string;
1448
+ message: string;
1449
+ /** Format: uuid */
1450
+ correlationId: string;
1451
+ };
1452
+ };
1453
+ };
1454
+ };
1455
+ };
1456
+ };
1457
+ revokeApiKey: {
1458
+ parameters: {
1459
+ query?: never;
1460
+ header?: never;
1461
+ path: {
1462
+ projectId: string;
1463
+ apiKeyId: string;
1464
+ };
1465
+ cookie?: never;
1466
+ };
1467
+ requestBody?: never;
1468
+ responses: {
1469
+ /** @description Default Response */
1470
+ 200: {
1471
+ headers: {
1472
+ [name: string]: unknown;
1473
+ };
1474
+ content: {
1475
+ "application/json": {
1476
+ /** Format: uuid */
1477
+ id: string;
1478
+ name: string;
1479
+ environment: "test" | "live";
1480
+ hint: string;
1481
+ scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
1482
+ /** Format: date-time */
1483
+ createdAt: string;
1484
+ expiresAt: string | null;
1485
+ revokedAt: string | null;
1486
+ lastUsedAt: string | null;
1487
+ };
1488
+ };
1489
+ };
1490
+ /** @description Default Response */
1491
+ 400: {
1492
+ headers: {
1493
+ [name: string]: unknown;
1494
+ };
1495
+ content: {
1496
+ "application/json": {
1497
+ error: {
1498
+ code: string;
1499
+ message: string;
1500
+ /** Format: uuid */
1501
+ correlationId: string;
1502
+ };
1503
+ };
1504
+ };
1505
+ };
1506
+ /** @description Default Response */
1507
+ 401: {
1508
+ headers: {
1509
+ [name: string]: unknown;
1510
+ };
1511
+ content: {
1512
+ "application/json": {
1513
+ error: {
1514
+ code: string;
1515
+ message: string;
1516
+ /** Format: uuid */
1517
+ correlationId: string;
1518
+ };
1519
+ };
1520
+ };
1521
+ };
1522
+ /** @description Default Response */
1523
+ 403: {
1524
+ headers: {
1525
+ [name: string]: unknown;
1526
+ };
1527
+ content: {
1528
+ "application/json": {
1529
+ error: {
1530
+ code: string;
1531
+ message: string;
1532
+ /** Format: uuid */
1533
+ correlationId: string;
1534
+ };
1535
+ };
1536
+ };
1537
+ };
1538
+ /** @description Default Response */
1539
+ 404: {
1540
+ headers: {
1541
+ [name: string]: unknown;
1542
+ };
1543
+ content: {
1544
+ "application/json": {
1545
+ error: {
1546
+ code: string;
1547
+ message: string;
1548
+ /** Format: uuid */
1549
+ correlationId: string;
1550
+ };
1551
+ };
1552
+ };
1553
+ };
1554
+ /** @description Default Response */
1555
+ 409: {
1556
+ headers: {
1557
+ [name: string]: unknown;
1558
+ };
1559
+ content: {
1560
+ "application/json": {
1561
+ error: {
1562
+ code: string;
1563
+ message: string;
1564
+ /** Format: uuid */
1565
+ correlationId: string;
1566
+ };
1567
+ };
1568
+ };
1569
+ };
1570
+ /** @description Default Response */
1571
+ 429: {
1572
+ headers: {
1573
+ [name: string]: unknown;
1574
+ };
1575
+ content: {
1576
+ "application/json": {
1577
+ error: {
1578
+ code: string;
1579
+ message: string;
1580
+ /** Format: uuid */
1581
+ correlationId: string;
1582
+ };
1583
+ };
1584
+ };
1585
+ };
1586
+ /** @description Default Response */
1587
+ 500: {
1588
+ headers: {
1589
+ [name: string]: unknown;
1590
+ };
1591
+ content: {
1592
+ "application/json": {
1593
+ error: {
1594
+ code: string;
1595
+ message: string;
1596
+ /** Format: uuid */
1597
+ correlationId: string;
1598
+ };
1599
+ };
1600
+ };
1601
+ };
1602
+ /** @description Default Response */
1603
+ 503: {
1604
+ headers: {
1605
+ [name: string]: unknown;
1606
+ };
1607
+ content: {
1608
+ "application/json": {
1609
+ error: {
1610
+ code: string;
1611
+ message: string;
1612
+ /** Format: uuid */
1613
+ correlationId: string;
1614
+ };
1615
+ };
1616
+ };
1617
+ };
1618
+ };
1619
+ };
1620
+ rotateApiKey: {
1621
+ parameters: {
1622
+ query?: never;
1623
+ header?: never;
1624
+ path: {
1625
+ projectId: string;
1626
+ apiKeyId: string;
1627
+ };
1628
+ cookie?: never;
1629
+ };
1630
+ requestBody: {
1631
+ content: {
1632
+ "application/json": {
1633
+ /** @default 3600 */
1634
+ overlapSeconds: number;
1635
+ };
1636
+ };
1637
+ };
1638
+ responses: {
1639
+ /** @description Default Response */
1640
+ 201: {
1641
+ headers: {
1642
+ [name: string]: unknown;
1643
+ };
1644
+ content: {
1645
+ "application/json": {
1646
+ apiKey: {
1647
+ /** Format: uuid */
1648
+ id: string;
1649
+ name: string;
1650
+ environment: "test" | "live";
1651
+ hint: string;
1652
+ scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
1653
+ /** Format: date-time */
1654
+ createdAt: string;
1655
+ expiresAt: string | null;
1656
+ revokedAt: string | null;
1657
+ lastUsedAt: string | null;
1658
+ };
1659
+ secret: string;
1660
+ /** Format: date-time */
1661
+ previousKeyValidUntil: string;
1662
+ };
1663
+ };
1664
+ };
1665
+ /** @description Default Response */
1666
+ 400: {
1667
+ headers: {
1668
+ [name: string]: unknown;
1669
+ };
1670
+ content: {
1671
+ "application/json": {
1672
+ error: {
1673
+ code: string;
1674
+ message: string;
1675
+ /** Format: uuid */
1676
+ correlationId: string;
1677
+ };
1678
+ };
1679
+ };
1680
+ };
1681
+ /** @description Default Response */
1682
+ 401: {
1683
+ headers: {
1684
+ [name: string]: unknown;
1685
+ };
1686
+ content: {
1687
+ "application/json": {
1688
+ error: {
1689
+ code: string;
1690
+ message: string;
1691
+ /** Format: uuid */
1692
+ correlationId: string;
1693
+ };
1694
+ };
1695
+ };
1696
+ };
1697
+ /** @description Default Response */
1698
+ 403: {
1699
+ headers: {
1700
+ [name: string]: unknown;
1701
+ };
1702
+ content: {
1703
+ "application/json": {
1704
+ error: {
1705
+ code: string;
1706
+ message: string;
1707
+ /** Format: uuid */
1708
+ correlationId: string;
1709
+ };
1710
+ };
1711
+ };
1712
+ };
1713
+ /** @description Default Response */
1714
+ 404: {
1715
+ headers: {
1716
+ [name: string]: unknown;
1717
+ };
1718
+ content: {
1719
+ "application/json": {
1720
+ error: {
1721
+ code: string;
1722
+ message: string;
1723
+ /** Format: uuid */
1724
+ correlationId: string;
1725
+ };
1726
+ };
1727
+ };
1728
+ };
1729
+ /** @description Default Response */
1730
+ 409: {
1731
+ headers: {
1732
+ [name: string]: unknown;
1733
+ };
1734
+ content: {
1735
+ "application/json": {
1736
+ error: {
1737
+ code: string;
1738
+ message: string;
1739
+ /** Format: uuid */
1740
+ correlationId: string;
1741
+ };
1742
+ };
1743
+ };
1744
+ };
1745
+ /** @description Default Response */
1746
+ 429: {
1747
+ headers: {
1748
+ [name: string]: unknown;
1749
+ };
1750
+ content: {
1751
+ "application/json": {
1752
+ error: {
1753
+ code: string;
1754
+ message: string;
1755
+ /** Format: uuid */
1756
+ correlationId: string;
1757
+ };
1758
+ };
1759
+ };
1760
+ };
1761
+ /** @description Default Response */
1762
+ 500: {
1763
+ headers: {
1764
+ [name: string]: unknown;
1765
+ };
1766
+ content: {
1767
+ "application/json": {
1768
+ error: {
1769
+ code: string;
1770
+ message: string;
1771
+ /** Format: uuid */
1772
+ correlationId: string;
1773
+ };
1774
+ };
1775
+ };
1776
+ };
1777
+ /** @description Default Response */
1778
+ 503: {
1779
+ headers: {
1780
+ [name: string]: unknown;
1781
+ };
1782
+ content: {
1783
+ "application/json": {
1784
+ error: {
1785
+ code: string;
1786
+ message: string;
1787
+ /** Format: uuid */
1788
+ correlationId: string;
1789
+ };
1790
+ };
1791
+ };
1792
+ };
1793
+ };
1794
+ };
1795
+ listAuditEvents: {
1796
+ parameters: {
1797
+ query?: {
1798
+ limit?: number;
1799
+ };
1800
+ header?: never;
1801
+ path: {
1802
+ projectId: string;
1803
+ };
1804
+ cookie?: never;
1805
+ };
1806
+ requestBody?: never;
1807
+ responses: {
1808
+ /** @description Default Response */
1809
+ 200: {
1810
+ headers: {
1811
+ [name: string]: unknown;
1812
+ };
1813
+ content: {
1814
+ "application/json": {
1815
+ data: {
1816
+ /** Format: uuid */
1817
+ id: string;
1818
+ environment: "test" | "live";
1819
+ actorType: "developer" | "api_key" | "system";
1820
+ action: string;
1821
+ correlationId: string;
1822
+ metadata: {
1823
+ [key: string]: string | number | boolean | null;
1824
+ };
1825
+ /** Format: date-time */
1826
+ createdAt: string;
1827
+ }[];
1828
+ };
1829
+ };
1830
+ };
1831
+ /** @description Default Response */
1832
+ 400: {
1833
+ headers: {
1834
+ [name: string]: unknown;
1835
+ };
1836
+ content: {
1837
+ "application/json": {
1838
+ error: {
1839
+ code: string;
1840
+ message: string;
1841
+ /** Format: uuid */
1842
+ correlationId: string;
1843
+ };
1844
+ };
1845
+ };
1846
+ };
1847
+ /** @description Default Response */
1848
+ 401: {
1849
+ headers: {
1850
+ [name: string]: unknown;
1851
+ };
1852
+ content: {
1853
+ "application/json": {
1854
+ error: {
1855
+ code: string;
1856
+ message: string;
1857
+ /** Format: uuid */
1858
+ correlationId: string;
1859
+ };
1860
+ };
1861
+ };
1862
+ };
1863
+ /** @description Default Response */
1864
+ 403: {
1865
+ headers: {
1866
+ [name: string]: unknown;
1867
+ };
1868
+ content: {
1869
+ "application/json": {
1870
+ error: {
1871
+ code: string;
1872
+ message: string;
1873
+ /** Format: uuid */
1874
+ correlationId: string;
1875
+ };
1876
+ };
1877
+ };
1878
+ };
1879
+ /** @description Default Response */
1880
+ 404: {
1881
+ headers: {
1882
+ [name: string]: unknown;
1883
+ };
1884
+ content: {
1885
+ "application/json": {
1886
+ error: {
1887
+ code: string;
1888
+ message: string;
1889
+ /** Format: uuid */
1890
+ correlationId: string;
1891
+ };
1892
+ };
1893
+ };
1894
+ };
1895
+ /** @description Default Response */
1896
+ 409: {
1897
+ headers: {
1898
+ [name: string]: unknown;
1899
+ };
1900
+ content: {
1901
+ "application/json": {
1902
+ error: {
1903
+ code: string;
1904
+ message: string;
1905
+ /** Format: uuid */
1906
+ correlationId: string;
1907
+ };
1908
+ };
1909
+ };
1910
+ };
1911
+ /** @description Default Response */
1912
+ 429: {
1913
+ headers: {
1914
+ [name: string]: unknown;
1915
+ };
1916
+ content: {
1917
+ "application/json": {
1918
+ error: {
1919
+ code: string;
1920
+ message: string;
1921
+ /** Format: uuid */
1922
+ correlationId: string;
1923
+ };
1924
+ };
1925
+ };
1926
+ };
1927
+ /** @description Default Response */
1928
+ 500: {
1929
+ headers: {
1930
+ [name: string]: unknown;
1931
+ };
1932
+ content: {
1933
+ "application/json": {
1934
+ error: {
1935
+ code: string;
1936
+ message: string;
1937
+ /** Format: uuid */
1938
+ correlationId: string;
1939
+ };
1940
+ };
1941
+ };
1942
+ };
1943
+ /** @description Default Response */
1944
+ 503: {
1945
+ headers: {
1946
+ [name: string]: unknown;
1947
+ };
1948
+ content: {
1949
+ "application/json": {
1950
+ error: {
1951
+ code: string;
1952
+ message: string;
1953
+ /** Format: uuid */
1954
+ correlationId: string;
1955
+ };
1956
+ };
1957
+ };
1958
+ };
1959
+ };
1960
+ };
1961
+ getApiKeyIdentity: {
1962
+ parameters: {
1963
+ query?: never;
1964
+ header?: never;
1965
+ path?: never;
1966
+ cookie?: never;
1967
+ };
1968
+ requestBody?: never;
1969
+ responses: {
1970
+ /** @description Default Response */
1971
+ 200: {
1972
+ headers: {
1973
+ [name: string]: unknown;
1974
+ };
1975
+ content: {
1976
+ "application/json": {
1977
+ project: {
1978
+ /** Format: uuid */
1979
+ id: string;
1980
+ name: string;
1981
+ slug: string;
1982
+ /** Format: date-time */
1983
+ createdAt: string;
1984
+ environments: {
1985
+ name: "test" | "live";
1986
+ status: "active" | "unavailable";
1987
+ }[];
1988
+ };
1989
+ environment: "test" | "live";
1990
+ apiKey: {
1991
+ /** Format: uuid */
1992
+ id: string;
1993
+ name: string;
1994
+ environment: "test" | "live";
1995
+ hint: string;
1996
+ scopes: ("project:read" | "accounts:read" | "mandates:read" | "mandates:write" | "actions:submit" | "webhooks:manage")[];
1997
+ /** Format: date-time */
1998
+ createdAt: string;
1999
+ expiresAt: string | null;
2000
+ revokedAt: string | null;
2001
+ lastUsedAt: string | null;
2002
+ };
2003
+ };
2004
+ };
2005
+ };
2006
+ /** @description Default Response */
2007
+ 400: {
2008
+ headers: {
2009
+ [name: string]: unknown;
2010
+ };
2011
+ content: {
2012
+ "application/json": {
2013
+ error: {
2014
+ code: string;
2015
+ message: string;
2016
+ /** Format: uuid */
2017
+ correlationId: string;
2018
+ };
2019
+ };
2020
+ };
2021
+ };
2022
+ /** @description Default Response */
2023
+ 401: {
2024
+ headers: {
2025
+ [name: string]: unknown;
2026
+ };
2027
+ content: {
2028
+ "application/json": {
2029
+ error: {
2030
+ code: string;
2031
+ message: string;
2032
+ /** Format: uuid */
2033
+ correlationId: string;
2034
+ };
2035
+ };
2036
+ };
2037
+ };
2038
+ /** @description Default Response */
2039
+ 403: {
2040
+ headers: {
2041
+ [name: string]: unknown;
2042
+ };
2043
+ content: {
2044
+ "application/json": {
2045
+ error: {
2046
+ code: string;
2047
+ message: string;
2048
+ /** Format: uuid */
2049
+ correlationId: string;
2050
+ };
2051
+ };
2052
+ };
2053
+ };
2054
+ /** @description Default Response */
2055
+ 404: {
2056
+ headers: {
2057
+ [name: string]: unknown;
2058
+ };
2059
+ content: {
2060
+ "application/json": {
2061
+ error: {
2062
+ code: string;
2063
+ message: string;
2064
+ /** Format: uuid */
2065
+ correlationId: string;
2066
+ };
2067
+ };
2068
+ };
2069
+ };
2070
+ /** @description Default Response */
2071
+ 409: {
2072
+ headers: {
2073
+ [name: string]: unknown;
2074
+ };
2075
+ content: {
2076
+ "application/json": {
2077
+ error: {
2078
+ code: string;
2079
+ message: string;
2080
+ /** Format: uuid */
2081
+ correlationId: string;
2082
+ };
2083
+ };
2084
+ };
2085
+ };
2086
+ /** @description Default Response */
2087
+ 429: {
2088
+ headers: {
2089
+ [name: string]: unknown;
2090
+ };
2091
+ content: {
2092
+ "application/json": {
2093
+ error: {
2094
+ code: string;
2095
+ message: string;
2096
+ /** Format: uuid */
2097
+ correlationId: string;
2098
+ };
2099
+ };
2100
+ };
2101
+ };
2102
+ /** @description Default Response */
2103
+ 500: {
2104
+ headers: {
2105
+ [name: string]: unknown;
2106
+ };
2107
+ content: {
2108
+ "application/json": {
2109
+ error: {
2110
+ code: string;
2111
+ message: string;
2112
+ /** Format: uuid */
2113
+ correlationId: string;
2114
+ };
2115
+ };
2116
+ };
2117
+ };
2118
+ /** @description Default Response */
2119
+ 503: {
2120
+ headers: {
2121
+ [name: string]: unknown;
2122
+ };
2123
+ content: {
2124
+ "application/json": {
2125
+ error: {
2126
+ code: string;
2127
+ message: string;
2128
+ /** Format: uuid */
2129
+ correlationId: string;
2130
+ };
2131
+ };
2132
+ };
2133
+ };
2134
+ };
2135
+ };
2136
+ }
2137
+ //# sourceMappingURL=platform.d.ts.map