@ogcio/building-blocks-sdk 0.0.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.
Files changed (106) hide show
  1. package/.husky/commit-msg +1 -0
  2. package/.husky/pre-push +1 -0
  3. package/.nvmrc +1 -0
  4. package/.vscode/settings.json +20 -0
  5. package/biome.jsonc +45 -0
  6. package/commitlint.config.js +6 -0
  7. package/dist/client/auth/index.d.ts +4 -0
  8. package/dist/client/auth/index.d.ts.map +1 -0
  9. package/dist/client/auth/index.js +83 -0
  10. package/dist/client/auth/index.js.map +1 -0
  11. package/dist/client/base-client.d.ts +18 -0
  12. package/dist/client/base-client.d.ts.map +1 -0
  13. package/dist/client/base-client.js +71 -0
  14. package/dist/client/base-client.js.map +1 -0
  15. package/dist/client/clients/messaging/index.d.ts +2407 -0
  16. package/dist/client/clients/messaging/index.d.ts.map +1 -0
  17. package/dist/client/clients/messaging/index.js +430 -0
  18. package/dist/client/clients/messaging/index.js.map +1 -0
  19. package/dist/client/clients/messaging/schema.d.ts +3823 -0
  20. package/dist/client/clients/messaging/schema.d.ts.map +1 -0
  21. package/dist/client/clients/messaging/schema.js +2 -0
  22. package/dist/client/clients/messaging/schema.js.map +1 -0
  23. package/dist/client/clients/payments/index.d.ts +2294 -0
  24. package/dist/client/clients/payments/index.d.ts.map +1 -0
  25. package/dist/client/clients/payments/index.js +217 -0
  26. package/dist/client/clients/payments/index.js.map +1 -0
  27. package/dist/client/clients/payments/schema.d.ts +2534 -0
  28. package/dist/client/clients/payments/schema.d.ts.map +1 -0
  29. package/dist/client/clients/payments/schema.js +2 -0
  30. package/dist/client/clients/payments/schema.js.map +1 -0
  31. package/dist/client/clients/profile/index.d.ts +1364 -0
  32. package/dist/client/clients/profile/index.d.ts.map +1 -0
  33. package/dist/client/clients/profile/index.js +102 -0
  34. package/dist/client/clients/profile/index.js.map +1 -0
  35. package/dist/client/clients/profile/schema.d.ts +1429 -0
  36. package/dist/client/clients/profile/schema.d.ts.map +1 -0
  37. package/dist/client/clients/profile/schema.js +2 -0
  38. package/dist/client/clients/profile/schema.js.map +1 -0
  39. package/dist/client/clients/scheduler/index.d.ts +14 -0
  40. package/dist/client/clients/scheduler/index.d.ts.map +1 -0
  41. package/dist/client/clients/scheduler/index.js +14 -0
  42. package/dist/client/clients/scheduler/index.js.map +1 -0
  43. package/dist/client/clients/scheduler/schema.d.ts +114 -0
  44. package/dist/client/clients/scheduler/schema.d.ts.map +1 -0
  45. package/dist/client/clients/scheduler/schema.js +2 -0
  46. package/dist/client/clients/scheduler/schema.js.map +1 -0
  47. package/dist/client/clients/upload/index.d.ts +390 -0
  48. package/dist/client/clients/upload/index.d.ts.map +1 -0
  49. package/dist/client/clients/upload/index.js +93 -0
  50. package/dist/client/clients/upload/index.js.map +1 -0
  51. package/dist/client/clients/upload/schema.d.ts +564 -0
  52. package/dist/client/clients/upload/schema.d.ts.map +1 -0
  53. package/dist/client/clients/upload/schema.js +2 -0
  54. package/dist/client/clients/upload/schema.js.map +1 -0
  55. package/dist/client/utils/client-utils.d.ts +15 -0
  56. package/dist/client/utils/client-utils.d.ts.map +1 -0
  57. package/dist/client/utils/client-utils.js +14 -0
  58. package/dist/client/utils/client-utils.js.map +1 -0
  59. package/dist/clients-configurations/clients-configuration.json +92 -0
  60. package/dist/clients-configurations/read-configuration-file.d.ts +22 -0
  61. package/dist/clients-configurations/read-configuration-file.d.ts.map +1 -0
  62. package/dist/clients-configurations/read-configuration-file.js +47 -0
  63. package/dist/clients-configurations/read-configuration-file.js.map +1 -0
  64. package/dist/index.d.ts +6 -0
  65. package/dist/index.d.ts.map +1 -0
  66. package/dist/index.js +33 -0
  67. package/dist/index.js.map +1 -0
  68. package/dist/types/index.d.ts +63 -0
  69. package/dist/types/index.d.ts.map +1 -0
  70. package/dist/types/index.js +6 -0
  71. package/dist/types/index.js.map +1 -0
  72. package/dist/utils/get-absolute-path.d.ts +3 -0
  73. package/dist/utils/get-absolute-path.d.ts.map +1 -0
  74. package/dist/utils/get-absolute-path.js +8 -0
  75. package/dist/utils/get-absolute-path.js.map +1 -0
  76. package/package.json +44 -0
  77. package/src/cli/cli-utils.ts +25 -0
  78. package/src/cli/index.ts +13 -0
  79. package/src/cli/outdated-clients-command.ts +148 -0
  80. package/src/cli/update-clients-command.ts +298 -0
  81. package/src/client/auth/index.ts +131 -0
  82. package/src/client/base-client.ts +97 -0
  83. package/src/client/clients/messaging/index.ts +683 -0
  84. package/src/client/clients/messaging/open-api-definition.json +8394 -0
  85. package/src/client/clients/messaging/schema.ts +3822 -0
  86. package/src/client/clients/payments/index.ts +349 -0
  87. package/src/client/clients/payments/open-api-definition.json +6094 -0
  88. package/src/client/clients/payments/schema.ts +2533 -0
  89. package/src/client/clients/profile/index.ts +182 -0
  90. package/src/client/clients/profile/open-api-definition.json +2876 -0
  91. package/src/client/clients/profile/schema.ts +1428 -0
  92. package/src/client/clients/scheduler/index.ts +28 -0
  93. package/src/client/clients/scheduler/open-api-definition.json +120 -0
  94. package/src/client/clients/scheduler/schema.ts +113 -0
  95. package/src/client/clients/upload/index.ts +129 -0
  96. package/src/client/clients/upload/open-api-definition.json +985 -0
  97. package/src/client/clients/upload/schema.ts +563 -0
  98. package/src/client/utils/client-utils.ts +50 -0
  99. package/src/clients-configurations/clients-configuration.json +92 -0
  100. package/src/clients-configurations/read-configuration-file.ts +68 -0
  101. package/src/index.ts +43 -0
  102. package/src/logto-node.d.ts +12 -0
  103. package/src/types/index.ts +82 -0
  104. package/src/utils/get-absolute-path.ts +10 -0
  105. package/tsconfig.json +18 -0
  106. package/tsconfig.prod.json +4 -0
@@ -0,0 +1,2534 @@
1
+ export interface paths {
2
+ "/health": {
3
+ parameters: {
4
+ query?: never;
5
+ header?: never;
6
+ path?: never;
7
+ cookie?: never;
8
+ };
9
+ get: {
10
+ parameters: {
11
+ query?: never;
12
+ header?: never;
13
+ path?: never;
14
+ cookie?: never;
15
+ };
16
+ requestBody?: never;
17
+ responses: {
18
+ /** @description Default Response */
19
+ 200: {
20
+ headers: {
21
+ [name: string]: unknown;
22
+ };
23
+ content?: never;
24
+ };
25
+ };
26
+ };
27
+ put?: never;
28
+ post?: never;
29
+ delete?: never;
30
+ options?: never;
31
+ head?: never;
32
+ patch?: never;
33
+ trace?: never;
34
+ };
35
+ "/api/v1/providers/": {
36
+ parameters: {
37
+ query?: never;
38
+ header?: never;
39
+ path?: never;
40
+ cookie?: never;
41
+ };
42
+ get: {
43
+ parameters: {
44
+ query?: never;
45
+ header?: never;
46
+ path?: never;
47
+ cookie?: never;
48
+ };
49
+ requestBody?: never;
50
+ responses: {
51
+ /** @description Default Response */
52
+ 200: {
53
+ headers: {
54
+ [name: string]: unknown;
55
+ };
56
+ content: {
57
+ "application/json": {
58
+ data: {
59
+ id: string;
60
+ name: string;
61
+ type: "banktransfer" | "openbanking" | "stripe" | "realex" | "worldpay";
62
+ data: {
63
+ iban: string;
64
+ accountHolderName: string;
65
+ } | {
66
+ iban: string;
67
+ accountHolderName: string;
68
+ } | {
69
+ livePublishableKey: string;
70
+ liveSecretKey: string;
71
+ webhookSigningKey?: string;
72
+ } | {
73
+ merchantCode: string;
74
+ installationId: string;
75
+ } | {
76
+ merchantId: string;
77
+ sharedSecret: string;
78
+ };
79
+ status: "connected" | "disconnected";
80
+ }[];
81
+ metadata?: {
82
+ /** @description Object containing the links to the related endpoints */
83
+ links?: {
84
+ self: {
85
+ /** @description URL pointing to the request itself */
86
+ href?: string;
87
+ };
88
+ next?: {
89
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
90
+ href?: string;
91
+ };
92
+ prev?: {
93
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
94
+ href?: string;
95
+ };
96
+ first: {
97
+ /** @description URL pointing to the first page of results in a paginated response */
98
+ href?: string;
99
+ };
100
+ last: {
101
+ /** @description URL pointing to the first page of results in a paginated response */
102
+ href?: string;
103
+ };
104
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
105
+ pages: {
106
+ [key: string]: {
107
+ href?: string;
108
+ };
109
+ };
110
+ };
111
+ /** @description Number representing the total number of available items */
112
+ totalCount?: number;
113
+ };
114
+ };
115
+ };
116
+ };
117
+ /** @description Default Response */
118
+ 401: {
119
+ headers: {
120
+ [name: string]: unknown;
121
+ };
122
+ content: {
123
+ "application/json": {
124
+ code: string;
125
+ detail: string;
126
+ requestId: string;
127
+ name: string;
128
+ validation?: unknown;
129
+ validationContext?: string;
130
+ };
131
+ };
132
+ };
133
+ };
134
+ };
135
+ put?: never;
136
+ post: {
137
+ parameters: {
138
+ query?: never;
139
+ header?: never;
140
+ path?: never;
141
+ cookie?: never;
142
+ };
143
+ requestBody: {
144
+ content: {
145
+ "application/json": {
146
+ name: string;
147
+ type: "banktransfer" | "openbanking" | "stripe" | "realex" | "worldpay";
148
+ data: {
149
+ [key: string]: string;
150
+ };
151
+ };
152
+ };
153
+ };
154
+ responses: {
155
+ /** @description Default Response */
156
+ 200: {
157
+ headers: {
158
+ [name: string]: unknown;
159
+ };
160
+ content: {
161
+ "application/json": {
162
+ data: {
163
+ id: string;
164
+ };
165
+ metadata?: {
166
+ /** @description Object containing the links to the related endpoints */
167
+ links?: {
168
+ self: {
169
+ /** @description URL pointing to the request itself */
170
+ href?: string;
171
+ };
172
+ next?: {
173
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
174
+ href?: string;
175
+ };
176
+ prev?: {
177
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
178
+ href?: string;
179
+ };
180
+ first: {
181
+ /** @description URL pointing to the first page of results in a paginated response */
182
+ href?: string;
183
+ };
184
+ last: {
185
+ /** @description URL pointing to the first page of results in a paginated response */
186
+ href?: string;
187
+ };
188
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
189
+ pages: {
190
+ [key: string]: {
191
+ href?: string;
192
+ };
193
+ };
194
+ };
195
+ /** @description Number representing the total number of available items */
196
+ totalCount?: number;
197
+ };
198
+ };
199
+ };
200
+ };
201
+ /** @description Default Response */
202
+ 401: {
203
+ headers: {
204
+ [name: string]: unknown;
205
+ };
206
+ content: {
207
+ "application/json": {
208
+ code: string;
209
+ detail: string;
210
+ requestId: string;
211
+ name: string;
212
+ validation?: unknown;
213
+ validationContext?: string;
214
+ };
215
+ };
216
+ };
217
+ /** @description Default Response */
218
+ 422: {
219
+ headers: {
220
+ [name: string]: unknown;
221
+ };
222
+ content: {
223
+ "application/json": {
224
+ code: string;
225
+ detail: string;
226
+ requestId: string;
227
+ name: string;
228
+ validation?: unknown;
229
+ validationContext?: string;
230
+ };
231
+ };
232
+ };
233
+ /** @description Default Response */
234
+ 500: {
235
+ headers: {
236
+ [name: string]: unknown;
237
+ };
238
+ content: {
239
+ "application/json": {
240
+ code: string;
241
+ detail: string;
242
+ requestId: string;
243
+ name: string;
244
+ validation?: unknown;
245
+ validationContext?: string;
246
+ };
247
+ };
248
+ };
249
+ };
250
+ };
251
+ delete?: never;
252
+ options?: never;
253
+ head?: never;
254
+ patch?: never;
255
+ trace?: never;
256
+ };
257
+ "/api/v1/providers/{providerId}": {
258
+ parameters: {
259
+ query?: never;
260
+ header?: never;
261
+ path?: never;
262
+ cookie?: never;
263
+ };
264
+ get: {
265
+ parameters: {
266
+ query?: never;
267
+ header?: never;
268
+ path: {
269
+ providerId: string;
270
+ };
271
+ cookie?: never;
272
+ };
273
+ requestBody?: never;
274
+ responses: {
275
+ /** @description Default Response */
276
+ 200: {
277
+ headers: {
278
+ [name: string]: unknown;
279
+ };
280
+ content: {
281
+ "application/json": {
282
+ data: {
283
+ id: string;
284
+ name: string;
285
+ type: "banktransfer" | "openbanking" | "stripe" | "realex" | "worldpay";
286
+ data: {
287
+ iban: string;
288
+ accountHolderName: string;
289
+ } | {
290
+ iban: string;
291
+ accountHolderName: string;
292
+ } | {
293
+ livePublishableKey: string;
294
+ liveSecretKey: string;
295
+ webhookSigningKey?: string;
296
+ } | {
297
+ merchantCode: string;
298
+ installationId: string;
299
+ } | {
300
+ merchantId: string;
301
+ sharedSecret: string;
302
+ };
303
+ status: "connected" | "disconnected";
304
+ };
305
+ metadata?: {
306
+ /** @description Object containing the links to the related endpoints */
307
+ links?: {
308
+ self: {
309
+ /** @description URL pointing to the request itself */
310
+ href?: string;
311
+ };
312
+ next?: {
313
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
314
+ href?: string;
315
+ };
316
+ prev?: {
317
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
318
+ href?: string;
319
+ };
320
+ first: {
321
+ /** @description URL pointing to the first page of results in a paginated response */
322
+ href?: string;
323
+ };
324
+ last: {
325
+ /** @description URL pointing to the first page of results in a paginated response */
326
+ href?: string;
327
+ };
328
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
329
+ pages: {
330
+ [key: string]: {
331
+ href?: string;
332
+ };
333
+ };
334
+ };
335
+ /** @description Number representing the total number of available items */
336
+ totalCount?: number;
337
+ };
338
+ };
339
+ };
340
+ };
341
+ /** @description Default Response */
342
+ 401: {
343
+ headers: {
344
+ [name: string]: unknown;
345
+ };
346
+ content: {
347
+ "application/json": {
348
+ code: string;
349
+ detail: string;
350
+ requestId: string;
351
+ name: string;
352
+ validation?: unknown;
353
+ validationContext?: string;
354
+ };
355
+ };
356
+ };
357
+ /** @description Default Response */
358
+ 404: {
359
+ headers: {
360
+ [name: string]: unknown;
361
+ };
362
+ content: {
363
+ "application/json": {
364
+ code: string;
365
+ detail: string;
366
+ requestId: string;
367
+ name: string;
368
+ validation?: unknown;
369
+ validationContext?: string;
370
+ };
371
+ };
372
+ };
373
+ };
374
+ };
375
+ put: {
376
+ parameters: {
377
+ query?: never;
378
+ header?: never;
379
+ path: {
380
+ providerId: string;
381
+ };
382
+ cookie?: never;
383
+ };
384
+ requestBody: {
385
+ content: {
386
+ "application/json": {
387
+ name: string;
388
+ type: "banktransfer" | "openbanking" | "stripe" | "realex" | "worldpay";
389
+ data: {
390
+ [key: string]: string;
391
+ };
392
+ status: "connected" | "disconnected";
393
+ };
394
+ };
395
+ };
396
+ responses: {
397
+ /** @description Default Response */
398
+ 200: {
399
+ headers: {
400
+ [name: string]: unknown;
401
+ };
402
+ content: {
403
+ "application/json": {
404
+ data: {
405
+ ok: boolean;
406
+ };
407
+ metadata?: {
408
+ /** @description Object containing the links to the related endpoints */
409
+ links?: {
410
+ self: {
411
+ /** @description URL pointing to the request itself */
412
+ href?: string;
413
+ };
414
+ next?: {
415
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
416
+ href?: string;
417
+ };
418
+ prev?: {
419
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
420
+ href?: string;
421
+ };
422
+ first: {
423
+ /** @description URL pointing to the first page of results in a paginated response */
424
+ href?: string;
425
+ };
426
+ last: {
427
+ /** @description URL pointing to the first page of results in a paginated response */
428
+ href?: string;
429
+ };
430
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
431
+ pages: {
432
+ [key: string]: {
433
+ href?: string;
434
+ };
435
+ };
436
+ };
437
+ /** @description Number representing the total number of available items */
438
+ totalCount?: number;
439
+ };
440
+ };
441
+ };
442
+ };
443
+ /** @description Default Response */
444
+ 401: {
445
+ headers: {
446
+ [name: string]: unknown;
447
+ };
448
+ content: {
449
+ "application/json": {
450
+ code: string;
451
+ detail: string;
452
+ requestId: string;
453
+ name: string;
454
+ validation?: unknown;
455
+ validationContext?: string;
456
+ };
457
+ };
458
+ };
459
+ /** @description Default Response */
460
+ 404: {
461
+ headers: {
462
+ [name: string]: unknown;
463
+ };
464
+ content: {
465
+ "application/json": {
466
+ code: string;
467
+ detail: string;
468
+ requestId: string;
469
+ name: string;
470
+ validation?: unknown;
471
+ validationContext?: string;
472
+ };
473
+ };
474
+ };
475
+ /** @description Default Response */
476
+ 422: {
477
+ headers: {
478
+ [name: string]: unknown;
479
+ };
480
+ content: {
481
+ "application/json": {
482
+ code: string;
483
+ detail: string;
484
+ requestId: string;
485
+ name: string;
486
+ validation?: unknown;
487
+ validationContext?: string;
488
+ };
489
+ };
490
+ };
491
+ };
492
+ };
493
+ post?: never;
494
+ delete?: never;
495
+ options?: never;
496
+ head?: never;
497
+ patch?: never;
498
+ trace?: never;
499
+ };
500
+ "/api/v1/requests/": {
501
+ parameters: {
502
+ query?: never;
503
+ header?: never;
504
+ path?: never;
505
+ cookie?: never;
506
+ };
507
+ get: {
508
+ parameters: {
509
+ query?: {
510
+ offset?: number;
511
+ limit?: number;
512
+ };
513
+ header?: never;
514
+ path?: never;
515
+ cookie?: never;
516
+ };
517
+ requestBody?: never;
518
+ responses: {
519
+ /** @description Default Response */
520
+ 200: {
521
+ headers: {
522
+ [name: string]: unknown;
523
+ };
524
+ content: {
525
+ "application/json": {
526
+ data: {
527
+ paymentRequestId: string;
528
+ title: string;
529
+ description?: string;
530
+ amount?: number;
531
+ reference?: string;
532
+ providers: {
533
+ userId: string;
534
+ id: string;
535
+ name: string;
536
+ type: "banktransfer" | "openbanking" | "stripe" | "realex" | "worldpay";
537
+ status: "connected" | "disconnected";
538
+ data: {
539
+ iban: string;
540
+ accountHolderName: string;
541
+ } | {
542
+ iban: string;
543
+ accountHolderName: string;
544
+ } | {
545
+ livePublishableKey: string;
546
+ liveSecretKey: string;
547
+ webhookSigningKey?: string;
548
+ } | {
549
+ merchantCode: string;
550
+ installationId: string;
551
+ } | {
552
+ merchantId: string;
553
+ sharedSecret: string;
554
+ };
555
+ createdAt: string;
556
+ }[];
557
+ status: "active" | "inactive" | "draft";
558
+ }[];
559
+ metadata?: {
560
+ /** @description Object containing the links to the related endpoints */
561
+ links?: {
562
+ self: {
563
+ /** @description URL pointing to the request itself */
564
+ href?: string;
565
+ };
566
+ next?: {
567
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
568
+ href?: string;
569
+ };
570
+ prev?: {
571
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
572
+ href?: string;
573
+ };
574
+ first: {
575
+ /** @description URL pointing to the first page of results in a paginated response */
576
+ href?: string;
577
+ };
578
+ last: {
579
+ /** @description URL pointing to the first page of results in a paginated response */
580
+ href?: string;
581
+ };
582
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
583
+ pages: {
584
+ [key: string]: {
585
+ href?: string;
586
+ };
587
+ };
588
+ };
589
+ /** @description Number representing the total number of available items */
590
+ totalCount?: number;
591
+ };
592
+ };
593
+ };
594
+ };
595
+ };
596
+ };
597
+ put: {
598
+ parameters: {
599
+ query?: never;
600
+ header?: never;
601
+ path?: never;
602
+ cookie?: never;
603
+ };
604
+ requestBody: {
605
+ content: {
606
+ "application/json": {
607
+ title: string;
608
+ description: string | null;
609
+ reference: string | null;
610
+ amount: number | null;
611
+ redirectUrl: string | null;
612
+ allowAmountOverride: boolean;
613
+ allowCustomAmount: boolean;
614
+ providers: string[];
615
+ status: "active" | "inactive" | "draft";
616
+ paymentRequestId: string;
617
+ providersUpdate: {
618
+ toDisable: string[];
619
+ toCreate: string[];
620
+ };
621
+ };
622
+ };
623
+ };
624
+ responses: {
625
+ /** @description Default Response */
626
+ 200: {
627
+ headers: {
628
+ [name: string]: unknown;
629
+ };
630
+ content: {
631
+ "application/json": {
632
+ data: {
633
+ id: string;
634
+ };
635
+ metadata?: {
636
+ /** @description Object containing the links to the related endpoints */
637
+ links?: {
638
+ self: {
639
+ /** @description URL pointing to the request itself */
640
+ href?: string;
641
+ };
642
+ next?: {
643
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
644
+ href?: string;
645
+ };
646
+ prev?: {
647
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
648
+ href?: string;
649
+ };
650
+ first: {
651
+ /** @description URL pointing to the first page of results in a paginated response */
652
+ href?: string;
653
+ };
654
+ last: {
655
+ /** @description URL pointing to the first page of results in a paginated response */
656
+ href?: string;
657
+ };
658
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
659
+ pages: {
660
+ [key: string]: {
661
+ href?: string;
662
+ };
663
+ };
664
+ };
665
+ /** @description Number representing the total number of available items */
666
+ totalCount?: number;
667
+ };
668
+ };
669
+ };
670
+ };
671
+ /** @description Default Response */
672
+ "4XX": {
673
+ headers: {
674
+ [name: string]: unknown;
675
+ };
676
+ content: {
677
+ "application/json": {
678
+ code: string;
679
+ detail: string;
680
+ requestId: string;
681
+ name: string;
682
+ validation?: unknown;
683
+ validationContext?: string;
684
+ };
685
+ };
686
+ };
687
+ /** @description Default Response */
688
+ "5XX": {
689
+ headers: {
690
+ [name: string]: unknown;
691
+ };
692
+ content: {
693
+ "application/json": {
694
+ code: string;
695
+ detail: string;
696
+ requestId: string;
697
+ name: string;
698
+ validation?: unknown;
699
+ validationContext?: string;
700
+ };
701
+ };
702
+ };
703
+ };
704
+ };
705
+ post: {
706
+ parameters: {
707
+ query?: never;
708
+ header?: never;
709
+ path?: never;
710
+ cookie?: never;
711
+ };
712
+ requestBody: {
713
+ content: {
714
+ "application/json": {
715
+ title: string;
716
+ description: string | null;
717
+ reference: string | null;
718
+ amount: number | null;
719
+ redirectUrl: string | null;
720
+ allowAmountOverride: boolean;
721
+ allowCustomAmount: boolean;
722
+ providers: string[];
723
+ status: "active" | "inactive" | "draft";
724
+ };
725
+ };
726
+ };
727
+ responses: {
728
+ /** @description Default Response */
729
+ 200: {
730
+ headers: {
731
+ [name: string]: unknown;
732
+ };
733
+ content: {
734
+ "application/json": {
735
+ data: {
736
+ id: string;
737
+ };
738
+ metadata?: {
739
+ /** @description Object containing the links to the related endpoints */
740
+ links?: {
741
+ self: {
742
+ /** @description URL pointing to the request itself */
743
+ href?: string;
744
+ };
745
+ next?: {
746
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
747
+ href?: string;
748
+ };
749
+ prev?: {
750
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
751
+ href?: string;
752
+ };
753
+ first: {
754
+ /** @description URL pointing to the first page of results in a paginated response */
755
+ href?: string;
756
+ };
757
+ last: {
758
+ /** @description URL pointing to the first page of results in a paginated response */
759
+ href?: string;
760
+ };
761
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
762
+ pages: {
763
+ [key: string]: {
764
+ href?: string;
765
+ };
766
+ };
767
+ };
768
+ /** @description Number representing the total number of available items */
769
+ totalCount?: number;
770
+ };
771
+ };
772
+ };
773
+ };
774
+ /** @description Default Response */
775
+ "4XX": {
776
+ headers: {
777
+ [name: string]: unknown;
778
+ };
779
+ content: {
780
+ "application/json": {
781
+ code: string;
782
+ detail: string;
783
+ requestId: string;
784
+ name: string;
785
+ validation?: unknown;
786
+ validationContext?: string;
787
+ };
788
+ };
789
+ };
790
+ /** @description Default Response */
791
+ "5XX": {
792
+ headers: {
793
+ [name: string]: unknown;
794
+ };
795
+ content: {
796
+ "application/json": {
797
+ code: string;
798
+ detail: string;
799
+ requestId: string;
800
+ name: string;
801
+ validation?: unknown;
802
+ validationContext?: string;
803
+ };
804
+ };
805
+ };
806
+ };
807
+ };
808
+ delete?: never;
809
+ options?: never;
810
+ head?: never;
811
+ patch?: never;
812
+ trace?: never;
813
+ };
814
+ "/api/v1/requests/{requestId}": {
815
+ parameters: {
816
+ query?: never;
817
+ header?: never;
818
+ path?: never;
819
+ cookie?: never;
820
+ };
821
+ get: {
822
+ parameters: {
823
+ query?: never;
824
+ header?: never;
825
+ path: {
826
+ requestId: string;
827
+ };
828
+ cookie?: never;
829
+ };
830
+ requestBody?: never;
831
+ responses: {
832
+ /** @description Default Response */
833
+ 200: {
834
+ headers: {
835
+ [name: string]: unknown;
836
+ };
837
+ content: {
838
+ "application/json": {
839
+ data: {
840
+ paymentRequestId: string;
841
+ title: string;
842
+ description?: string;
843
+ amount?: number;
844
+ reference?: string;
845
+ providers: {
846
+ userId: string;
847
+ id: string;
848
+ name: string;
849
+ type: "banktransfer" | "openbanking" | "stripe" | "realex" | "worldpay";
850
+ status: "connected" | "disconnected";
851
+ data: {
852
+ iban: string;
853
+ accountHolderName: string;
854
+ } | {
855
+ iban: string;
856
+ accountHolderName: string;
857
+ } | {
858
+ livePublishableKey: string;
859
+ liveSecretKey: string;
860
+ webhookSigningKey?: string;
861
+ } | {
862
+ merchantCode: string;
863
+ installationId: string;
864
+ } | {
865
+ merchantId: string;
866
+ sharedSecret: string;
867
+ };
868
+ createdAt: string;
869
+ }[];
870
+ status: "active" | "inactive" | "draft";
871
+ redirectUrl?: string;
872
+ allowAmountOverride: boolean;
873
+ allowCustomAmount: boolean;
874
+ };
875
+ metadata?: {
876
+ /** @description Object containing the links to the related endpoints */
877
+ links?: {
878
+ self: {
879
+ /** @description URL pointing to the request itself */
880
+ href?: string;
881
+ };
882
+ next?: {
883
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
884
+ href?: string;
885
+ };
886
+ prev?: {
887
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
888
+ href?: string;
889
+ };
890
+ first: {
891
+ /** @description URL pointing to the first page of results in a paginated response */
892
+ href?: string;
893
+ };
894
+ last: {
895
+ /** @description URL pointing to the first page of results in a paginated response */
896
+ href?: string;
897
+ };
898
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
899
+ pages: {
900
+ [key: string]: {
901
+ href?: string;
902
+ };
903
+ };
904
+ };
905
+ /** @description Number representing the total number of available items */
906
+ totalCount?: number;
907
+ };
908
+ };
909
+ };
910
+ };
911
+ /** @description Default Response */
912
+ 404: {
913
+ headers: {
914
+ [name: string]: unknown;
915
+ };
916
+ content: {
917
+ "application/json": {
918
+ code: string;
919
+ detail: string;
920
+ requestId: string;
921
+ name: string;
922
+ validation?: unknown;
923
+ validationContext?: string;
924
+ };
925
+ };
926
+ };
927
+ };
928
+ };
929
+ put?: never;
930
+ post?: never;
931
+ delete: {
932
+ parameters: {
933
+ query?: never;
934
+ header?: never;
935
+ path: {
936
+ requestId: string;
937
+ };
938
+ cookie?: never;
939
+ };
940
+ requestBody?: never;
941
+ responses: {
942
+ /** @description Default Response */
943
+ 200: {
944
+ headers: {
945
+ [name: string]: unknown;
946
+ };
947
+ content: {
948
+ "application/json": Record<string, never>;
949
+ };
950
+ };
951
+ /** @description Default Response */
952
+ 404: {
953
+ headers: {
954
+ [name: string]: unknown;
955
+ };
956
+ content: {
957
+ "application/json": {
958
+ code: string;
959
+ detail: string;
960
+ requestId: string;
961
+ name: string;
962
+ validation?: unknown;
963
+ validationContext?: string;
964
+ };
965
+ };
966
+ };
967
+ /** @description Default Response */
968
+ 500: {
969
+ headers: {
970
+ [name: string]: unknown;
971
+ };
972
+ content: {
973
+ "application/json": {
974
+ code: string;
975
+ detail: string;
976
+ requestId: string;
977
+ name: string;
978
+ validation?: unknown;
979
+ validationContext?: string;
980
+ };
981
+ };
982
+ };
983
+ };
984
+ };
985
+ options?: never;
986
+ head?: never;
987
+ patch?: never;
988
+ trace?: never;
989
+ };
990
+ "/api/v1/requests/{requestId}/public-info": {
991
+ parameters: {
992
+ query?: never;
993
+ header?: never;
994
+ path?: never;
995
+ cookie?: never;
996
+ };
997
+ get: {
998
+ parameters: {
999
+ query?: never;
1000
+ header?: never;
1001
+ path: {
1002
+ requestId: string;
1003
+ };
1004
+ cookie?: never;
1005
+ };
1006
+ requestBody?: never;
1007
+ responses: {
1008
+ /** @description Default Response */
1009
+ 200: {
1010
+ headers: {
1011
+ [name: string]: unknown;
1012
+ };
1013
+ content: {
1014
+ "application/json": {
1015
+ data: {
1016
+ paymentRequestId: string;
1017
+ title: string;
1018
+ description: string;
1019
+ amount: number;
1020
+ reference: string;
1021
+ providers: {
1022
+ userId: string;
1023
+ id: string;
1024
+ name: string;
1025
+ type: "banktransfer" | "openbanking" | "stripe" | "realex" | "worldpay";
1026
+ status: "connected" | "disconnected";
1027
+ data: {
1028
+ iban: string;
1029
+ accountHolderName: string;
1030
+ } | {
1031
+ iban: string;
1032
+ accountHolderName: string;
1033
+ } | {
1034
+ livePublishableKey: string;
1035
+ liveSecretKey: string;
1036
+ webhookSigningKey?: string;
1037
+ } | {
1038
+ merchantCode: string;
1039
+ installationId: string;
1040
+ } | {
1041
+ merchantId: string;
1042
+ sharedSecret: string;
1043
+ };
1044
+ createdAt: string;
1045
+ }[];
1046
+ status: "active" | "inactive" | "draft";
1047
+ redirectUrl: string;
1048
+ allowAmountOverride: boolean;
1049
+ allowCustomAmount: boolean;
1050
+ };
1051
+ metadata?: {
1052
+ /** @description Object containing the links to the related endpoints */
1053
+ links?: {
1054
+ self: {
1055
+ /** @description URL pointing to the request itself */
1056
+ href?: string;
1057
+ };
1058
+ next?: {
1059
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
1060
+ href?: string;
1061
+ };
1062
+ prev?: {
1063
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
1064
+ href?: string;
1065
+ };
1066
+ first: {
1067
+ /** @description URL pointing to the first page of results in a paginated response */
1068
+ href?: string;
1069
+ };
1070
+ last: {
1071
+ /** @description URL pointing to the first page of results in a paginated response */
1072
+ href?: string;
1073
+ };
1074
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
1075
+ pages: {
1076
+ [key: string]: {
1077
+ href?: string;
1078
+ };
1079
+ };
1080
+ };
1081
+ /** @description Number representing the total number of available items */
1082
+ totalCount?: number;
1083
+ };
1084
+ };
1085
+ };
1086
+ };
1087
+ /** @description Default Response */
1088
+ 404: {
1089
+ headers: {
1090
+ [name: string]: unknown;
1091
+ };
1092
+ content: {
1093
+ "application/json": {
1094
+ code: string;
1095
+ detail: string;
1096
+ requestId: string;
1097
+ name: string;
1098
+ validation?: unknown;
1099
+ validationContext?: string;
1100
+ };
1101
+ };
1102
+ };
1103
+ };
1104
+ };
1105
+ put?: never;
1106
+ post?: never;
1107
+ delete?: never;
1108
+ options?: never;
1109
+ head?: never;
1110
+ patch?: never;
1111
+ trace?: never;
1112
+ };
1113
+ "/api/v1/requests/{requestId}/transactions": {
1114
+ parameters: {
1115
+ query?: never;
1116
+ header?: never;
1117
+ path?: never;
1118
+ cookie?: never;
1119
+ };
1120
+ get: {
1121
+ parameters: {
1122
+ query?: {
1123
+ offset?: number;
1124
+ limit?: number;
1125
+ };
1126
+ header?: never;
1127
+ path: {
1128
+ requestId: string;
1129
+ };
1130
+ cookie?: never;
1131
+ };
1132
+ requestBody?: never;
1133
+ responses: {
1134
+ /** @description Default Response */
1135
+ 200: {
1136
+ headers: {
1137
+ [name: string]: unknown;
1138
+ };
1139
+ content: {
1140
+ "application/json": {
1141
+ data: {
1142
+ transactionId: string;
1143
+ status: "initiated" | "pending" | "succeeded" | "cancelled" | "failed";
1144
+ amount: number;
1145
+ extPaymentId: string;
1146
+ paymentProviderId: string;
1147
+ updatedAt: string;
1148
+ title: string;
1149
+ }[];
1150
+ metadata?: {
1151
+ /** @description Object containing the links to the related endpoints */
1152
+ links?: {
1153
+ self: {
1154
+ /** @description URL pointing to the request itself */
1155
+ href?: string;
1156
+ };
1157
+ next?: {
1158
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
1159
+ href?: string;
1160
+ };
1161
+ prev?: {
1162
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
1163
+ href?: string;
1164
+ };
1165
+ first: {
1166
+ /** @description URL pointing to the first page of results in a paginated response */
1167
+ href?: string;
1168
+ };
1169
+ last: {
1170
+ /** @description URL pointing to the first page of results in a paginated response */
1171
+ href?: string;
1172
+ };
1173
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
1174
+ pages: {
1175
+ [key: string]: {
1176
+ href?: string;
1177
+ };
1178
+ };
1179
+ };
1180
+ /** @description Number representing the total number of available items */
1181
+ totalCount?: number;
1182
+ };
1183
+ };
1184
+ };
1185
+ };
1186
+ };
1187
+ };
1188
+ put?: never;
1189
+ post?: never;
1190
+ delete?: never;
1191
+ options?: never;
1192
+ head?: never;
1193
+ patch?: never;
1194
+ trace?: never;
1195
+ };
1196
+ "/api/v1/transactions/{transactionId}": {
1197
+ parameters: {
1198
+ query?: never;
1199
+ header?: never;
1200
+ path?: never;
1201
+ cookie?: never;
1202
+ };
1203
+ get: {
1204
+ parameters: {
1205
+ query?: never;
1206
+ header?: never;
1207
+ path: {
1208
+ transactionId: string;
1209
+ };
1210
+ cookie?: never;
1211
+ };
1212
+ requestBody?: never;
1213
+ responses: {
1214
+ /** @description Default Response */
1215
+ 200: {
1216
+ headers: {
1217
+ [name: string]: unknown;
1218
+ };
1219
+ content: {
1220
+ "application/json": {
1221
+ data: {
1222
+ transactionId: string;
1223
+ status: "initiated" | "pending" | "succeeded" | "cancelled" | "failed";
1224
+ amount: number;
1225
+ extPaymentId: string;
1226
+ paymentProviderId: string;
1227
+ updatedAt: string;
1228
+ title: string;
1229
+ userId: string;
1230
+ userData: {
1231
+ name: string;
1232
+ email: string;
1233
+ };
1234
+ description: string;
1235
+ providerName: string;
1236
+ providerType: string;
1237
+ paymentRequestId: string;
1238
+ };
1239
+ metadata?: {
1240
+ /** @description Object containing the links to the related endpoints */
1241
+ links?: {
1242
+ self: {
1243
+ /** @description URL pointing to the request itself */
1244
+ href?: string;
1245
+ };
1246
+ next?: {
1247
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
1248
+ href?: string;
1249
+ };
1250
+ prev?: {
1251
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
1252
+ href?: string;
1253
+ };
1254
+ first: {
1255
+ /** @description URL pointing to the first page of results in a paginated response */
1256
+ href?: string;
1257
+ };
1258
+ last: {
1259
+ /** @description URL pointing to the first page of results in a paginated response */
1260
+ href?: string;
1261
+ };
1262
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
1263
+ pages: {
1264
+ [key: string]: {
1265
+ href?: string;
1266
+ };
1267
+ };
1268
+ };
1269
+ /** @description Number representing the total number of available items */
1270
+ totalCount?: number;
1271
+ };
1272
+ };
1273
+ };
1274
+ };
1275
+ /** @description Default Response */
1276
+ 404: {
1277
+ headers: {
1278
+ [name: string]: unknown;
1279
+ };
1280
+ content: {
1281
+ "application/json": {
1282
+ code: string;
1283
+ detail: string;
1284
+ requestId: string;
1285
+ name: string;
1286
+ validation?: unknown;
1287
+ validationContext?: string;
1288
+ };
1289
+ };
1290
+ };
1291
+ };
1292
+ };
1293
+ put?: never;
1294
+ post?: never;
1295
+ delete?: never;
1296
+ options?: never;
1297
+ head?: never;
1298
+ patch: {
1299
+ parameters: {
1300
+ query?: never;
1301
+ header?: never;
1302
+ path: {
1303
+ transactionId: string;
1304
+ };
1305
+ cookie?: never;
1306
+ };
1307
+ requestBody: {
1308
+ content: {
1309
+ "application/json": {
1310
+ status: "initiated" | "pending" | "succeeded" | "cancelled" | "failed";
1311
+ };
1312
+ };
1313
+ };
1314
+ responses: {
1315
+ /** @description Default Response */
1316
+ 200: {
1317
+ headers: {
1318
+ [name: string]: unknown;
1319
+ };
1320
+ content: {
1321
+ "application/json": Record<string, never>;
1322
+ };
1323
+ };
1324
+ /** @description Default Response */
1325
+ 500: {
1326
+ headers: {
1327
+ [name: string]: unknown;
1328
+ };
1329
+ content: {
1330
+ "application/json": {
1331
+ code: string;
1332
+ detail: string;
1333
+ requestId: string;
1334
+ name: string;
1335
+ validation?: unknown;
1336
+ validationContext?: string;
1337
+ };
1338
+ };
1339
+ };
1340
+ };
1341
+ };
1342
+ trace?: never;
1343
+ };
1344
+ "/api/v1/transactions/": {
1345
+ parameters: {
1346
+ query?: never;
1347
+ header?: never;
1348
+ path?: never;
1349
+ cookie?: never;
1350
+ };
1351
+ get: {
1352
+ parameters: {
1353
+ query?: {
1354
+ offset?: number;
1355
+ limit?: number;
1356
+ };
1357
+ header?: never;
1358
+ path?: never;
1359
+ cookie?: never;
1360
+ };
1361
+ requestBody?: never;
1362
+ responses: {
1363
+ /** @description Default Response */
1364
+ 200: {
1365
+ headers: {
1366
+ [name: string]: unknown;
1367
+ };
1368
+ content: {
1369
+ "application/json": {
1370
+ data: {
1371
+ transactionId: string;
1372
+ status: "initiated" | "pending" | "succeeded" | "cancelled" | "failed";
1373
+ amount: number;
1374
+ extPaymentId: string;
1375
+ paymentProviderId: string;
1376
+ updatedAt: string;
1377
+ title: string;
1378
+ userId: string;
1379
+ userData: {
1380
+ name: string;
1381
+ email: string;
1382
+ };
1383
+ description: string;
1384
+ providerName: string;
1385
+ providerType: string;
1386
+ paymentRequestId: string;
1387
+ }[];
1388
+ metadata?: {
1389
+ /** @description Object containing the links to the related endpoints */
1390
+ links?: {
1391
+ self: {
1392
+ /** @description URL pointing to the request itself */
1393
+ href?: string;
1394
+ };
1395
+ next?: {
1396
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
1397
+ href?: string;
1398
+ };
1399
+ prev?: {
1400
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
1401
+ href?: string;
1402
+ };
1403
+ first: {
1404
+ /** @description URL pointing to the first page of results in a paginated response */
1405
+ href?: string;
1406
+ };
1407
+ last: {
1408
+ /** @description URL pointing to the first page of results in a paginated response */
1409
+ href?: string;
1410
+ };
1411
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
1412
+ pages: {
1413
+ [key: string]: {
1414
+ href?: string;
1415
+ };
1416
+ };
1417
+ };
1418
+ /** @description Number representing the total number of available items */
1419
+ totalCount?: number;
1420
+ };
1421
+ };
1422
+ };
1423
+ };
1424
+ /** @description Default Response */
1425
+ 401: {
1426
+ headers: {
1427
+ [name: string]: unknown;
1428
+ };
1429
+ content: {
1430
+ "application/json": {
1431
+ code: string;
1432
+ detail: string;
1433
+ requestId: string;
1434
+ name: string;
1435
+ validation?: unknown;
1436
+ validationContext?: string;
1437
+ };
1438
+ };
1439
+ };
1440
+ /** @description Default Response */
1441
+ 404: {
1442
+ headers: {
1443
+ [name: string]: unknown;
1444
+ };
1445
+ content: {
1446
+ "application/json": {
1447
+ code: string;
1448
+ detail: string;
1449
+ requestId: string;
1450
+ name: string;
1451
+ validation?: unknown;
1452
+ validationContext?: string;
1453
+ };
1454
+ };
1455
+ };
1456
+ /** @description Default Response */
1457
+ 500: {
1458
+ headers: {
1459
+ [name: string]: unknown;
1460
+ };
1461
+ content: {
1462
+ "application/json": {
1463
+ code: string;
1464
+ detail: string;
1465
+ requestId: string;
1466
+ name: string;
1467
+ validation?: unknown;
1468
+ validationContext?: string;
1469
+ };
1470
+ };
1471
+ };
1472
+ };
1473
+ };
1474
+ put?: never;
1475
+ post: {
1476
+ parameters: {
1477
+ query?: never;
1478
+ header?: never;
1479
+ path?: never;
1480
+ cookie?: never;
1481
+ };
1482
+ requestBody: {
1483
+ content: {
1484
+ "application/json": {
1485
+ paymentRequestId: string;
1486
+ extPaymentId: string;
1487
+ integrationReference: string;
1488
+ amount: number;
1489
+ paymentProviderId: string;
1490
+ userData: {
1491
+ name: string;
1492
+ email: string;
1493
+ };
1494
+ };
1495
+ };
1496
+ };
1497
+ responses: {
1498
+ /** @description Default Response */
1499
+ 200: {
1500
+ headers: {
1501
+ [name: string]: unknown;
1502
+ };
1503
+ content: {
1504
+ "application/json": {
1505
+ data: {
1506
+ id: string;
1507
+ };
1508
+ metadata?: {
1509
+ /** @description Object containing the links to the related endpoints */
1510
+ links?: {
1511
+ self: {
1512
+ /** @description URL pointing to the request itself */
1513
+ href?: string;
1514
+ };
1515
+ next?: {
1516
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
1517
+ href?: string;
1518
+ };
1519
+ prev?: {
1520
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
1521
+ href?: string;
1522
+ };
1523
+ first: {
1524
+ /** @description URL pointing to the first page of results in a paginated response */
1525
+ href?: string;
1526
+ };
1527
+ last: {
1528
+ /** @description URL pointing to the first page of results in a paginated response */
1529
+ href?: string;
1530
+ };
1531
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
1532
+ pages: {
1533
+ [key: string]: {
1534
+ href?: string;
1535
+ };
1536
+ };
1537
+ };
1538
+ /** @description Number representing the total number of available items */
1539
+ totalCount?: number;
1540
+ };
1541
+ };
1542
+ };
1543
+ };
1544
+ /** @description Default Response */
1545
+ 401: {
1546
+ headers: {
1547
+ [name: string]: unknown;
1548
+ };
1549
+ content: {
1550
+ "application/json": {
1551
+ code: string;
1552
+ detail: string;
1553
+ requestId: string;
1554
+ name: string;
1555
+ validation?: unknown;
1556
+ validationContext?: string;
1557
+ };
1558
+ };
1559
+ };
1560
+ /** @description Default Response */
1561
+ 500: {
1562
+ headers: {
1563
+ [name: string]: unknown;
1564
+ };
1565
+ content: {
1566
+ "application/json": {
1567
+ code: string;
1568
+ detail: string;
1569
+ requestId: string;
1570
+ name: string;
1571
+ validation?: unknown;
1572
+ validationContext?: string;
1573
+ };
1574
+ };
1575
+ };
1576
+ };
1577
+ };
1578
+ delete?: never;
1579
+ options?: never;
1580
+ head?: never;
1581
+ patch?: never;
1582
+ trace?: never;
1583
+ };
1584
+ "/api/v1/transactions/generatePaymentIntentId": {
1585
+ parameters: {
1586
+ query?: never;
1587
+ header?: never;
1588
+ path?: never;
1589
+ cookie?: never;
1590
+ };
1591
+ get: {
1592
+ parameters: {
1593
+ query?: never;
1594
+ header?: never;
1595
+ path?: never;
1596
+ cookie?: never;
1597
+ };
1598
+ requestBody?: never;
1599
+ responses: {
1600
+ /** @description Default Response */
1601
+ 200: {
1602
+ headers: {
1603
+ [name: string]: unknown;
1604
+ };
1605
+ content: {
1606
+ "application/json": {
1607
+ data: {
1608
+ intentId: string;
1609
+ };
1610
+ metadata?: {
1611
+ /** @description Object containing the links to the related endpoints */
1612
+ links?: {
1613
+ self: {
1614
+ /** @description URL pointing to the request itself */
1615
+ href?: string;
1616
+ };
1617
+ next?: {
1618
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
1619
+ href?: string;
1620
+ };
1621
+ prev?: {
1622
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
1623
+ href?: string;
1624
+ };
1625
+ first: {
1626
+ /** @description URL pointing to the first page of results in a paginated response */
1627
+ href?: string;
1628
+ };
1629
+ last: {
1630
+ /** @description URL pointing to the first page of results in a paginated response */
1631
+ href?: string;
1632
+ };
1633
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
1634
+ pages: {
1635
+ [key: string]: {
1636
+ href?: string;
1637
+ };
1638
+ };
1639
+ };
1640
+ /** @description Number representing the total number of available items */
1641
+ totalCount?: number;
1642
+ };
1643
+ };
1644
+ };
1645
+ };
1646
+ /** @description Default Response */
1647
+ 404: {
1648
+ headers: {
1649
+ [name: string]: unknown;
1650
+ };
1651
+ content: {
1652
+ "application/json": {
1653
+ code: string;
1654
+ detail: string;
1655
+ requestId: string;
1656
+ name: string;
1657
+ validation?: unknown;
1658
+ validationContext?: string;
1659
+ };
1660
+ };
1661
+ };
1662
+ };
1663
+ };
1664
+ put?: never;
1665
+ post?: never;
1666
+ delete?: never;
1667
+ options?: never;
1668
+ head?: never;
1669
+ patch?: never;
1670
+ trace?: never;
1671
+ };
1672
+ "/api/v1/citizen/transactions": {
1673
+ parameters: {
1674
+ query?: never;
1675
+ header?: never;
1676
+ path?: never;
1677
+ cookie?: never;
1678
+ };
1679
+ get: {
1680
+ parameters: {
1681
+ query?: {
1682
+ offset?: number;
1683
+ limit?: number;
1684
+ };
1685
+ header?: never;
1686
+ path?: never;
1687
+ cookie?: never;
1688
+ };
1689
+ requestBody?: never;
1690
+ responses: {
1691
+ /** @description Default Response */
1692
+ 200: {
1693
+ headers: {
1694
+ [name: string]: unknown;
1695
+ };
1696
+ content: {
1697
+ "application/json": {
1698
+ data: {
1699
+ transactionId: string;
1700
+ status: "initiated" | "pending" | "succeeded" | "cancelled" | "failed";
1701
+ title: string;
1702
+ updatedAt: string;
1703
+ extPaymentId: string;
1704
+ amount: number;
1705
+ }[];
1706
+ metadata?: {
1707
+ /** @description Object containing the links to the related endpoints */
1708
+ links?: {
1709
+ self: {
1710
+ /** @description URL pointing to the request itself */
1711
+ href?: string;
1712
+ };
1713
+ next?: {
1714
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
1715
+ href?: string;
1716
+ };
1717
+ prev?: {
1718
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
1719
+ href?: string;
1720
+ };
1721
+ first: {
1722
+ /** @description URL pointing to the first page of results in a paginated response */
1723
+ href?: string;
1724
+ };
1725
+ last: {
1726
+ /** @description URL pointing to the first page of results in a paginated response */
1727
+ href?: string;
1728
+ };
1729
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
1730
+ pages: {
1731
+ [key: string]: {
1732
+ href?: string;
1733
+ };
1734
+ };
1735
+ };
1736
+ /** @description Number representing the total number of available items */
1737
+ totalCount?: number;
1738
+ };
1739
+ };
1740
+ };
1741
+ };
1742
+ /** @description Default Response */
1743
+ 401: {
1744
+ headers: {
1745
+ [name: string]: unknown;
1746
+ };
1747
+ content: {
1748
+ "application/json": {
1749
+ code: string;
1750
+ detail: string;
1751
+ requestId: string;
1752
+ name: string;
1753
+ validation?: unknown;
1754
+ validationContext?: string;
1755
+ };
1756
+ };
1757
+ };
1758
+ /** @description Default Response */
1759
+ 404: {
1760
+ headers: {
1761
+ [name: string]: unknown;
1762
+ };
1763
+ content: {
1764
+ "application/json": {
1765
+ code: string;
1766
+ detail: string;
1767
+ requestId: string;
1768
+ name: string;
1769
+ validation?: unknown;
1770
+ validationContext?: string;
1771
+ };
1772
+ };
1773
+ };
1774
+ /** @description Default Response */
1775
+ 500: {
1776
+ headers: {
1777
+ [name: string]: unknown;
1778
+ };
1779
+ content: {
1780
+ "application/json": {
1781
+ code: string;
1782
+ detail: string;
1783
+ requestId: string;
1784
+ name: string;
1785
+ validation?: unknown;
1786
+ validationContext?: string;
1787
+ };
1788
+ };
1789
+ };
1790
+ };
1791
+ };
1792
+ put?: never;
1793
+ post?: never;
1794
+ delete?: never;
1795
+ options?: never;
1796
+ head?: never;
1797
+ patch?: never;
1798
+ trace?: never;
1799
+ };
1800
+ "/api/v1/citizen/transactions/{transactionId}": {
1801
+ parameters: {
1802
+ query?: never;
1803
+ header?: never;
1804
+ path?: never;
1805
+ cookie?: never;
1806
+ };
1807
+ get: {
1808
+ parameters: {
1809
+ query?: never;
1810
+ header?: never;
1811
+ path: {
1812
+ transactionId: string;
1813
+ };
1814
+ cookie?: never;
1815
+ };
1816
+ requestBody?: never;
1817
+ responses: {
1818
+ /** @description Default Response */
1819
+ 200: {
1820
+ headers: {
1821
+ [name: string]: unknown;
1822
+ };
1823
+ content: {
1824
+ "application/json": {
1825
+ data: {
1826
+ transactionId: string;
1827
+ status: "initiated" | "pending" | "succeeded" | "cancelled" | "failed";
1828
+ amount: number;
1829
+ extPaymentId: string;
1830
+ paymentProviderId: string;
1831
+ updatedAt: string;
1832
+ title: string;
1833
+ userId: string;
1834
+ userData: {
1835
+ name: string;
1836
+ email: string;
1837
+ };
1838
+ description: string;
1839
+ providerName: string;
1840
+ providerType: string;
1841
+ paymentRequestId: string;
1842
+ };
1843
+ metadata?: {
1844
+ /** @description Object containing the links to the related endpoints */
1845
+ links?: {
1846
+ self: {
1847
+ /** @description URL pointing to the request itself */
1848
+ href?: string;
1849
+ };
1850
+ next?: {
1851
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
1852
+ href?: string;
1853
+ };
1854
+ prev?: {
1855
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
1856
+ href?: string;
1857
+ };
1858
+ first: {
1859
+ /** @description URL pointing to the first page of results in a paginated response */
1860
+ href?: string;
1861
+ };
1862
+ last: {
1863
+ /** @description URL pointing to the first page of results in a paginated response */
1864
+ href?: string;
1865
+ };
1866
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
1867
+ pages: {
1868
+ [key: string]: {
1869
+ href?: string;
1870
+ };
1871
+ };
1872
+ };
1873
+ /** @description Number representing the total number of available items */
1874
+ totalCount?: number;
1875
+ };
1876
+ };
1877
+ };
1878
+ };
1879
+ /** @description Default Response */
1880
+ 404: {
1881
+ headers: {
1882
+ [name: string]: unknown;
1883
+ };
1884
+ content: {
1885
+ "application/json": {
1886
+ code: string;
1887
+ detail: string;
1888
+ requestId: string;
1889
+ name: string;
1890
+ validation?: unknown;
1891
+ validationContext?: string;
1892
+ };
1893
+ };
1894
+ };
1895
+ };
1896
+ };
1897
+ put?: never;
1898
+ post?: never;
1899
+ delete?: never;
1900
+ options?: never;
1901
+ head?: never;
1902
+ patch?: never;
1903
+ trace?: never;
1904
+ };
1905
+ "/api/v1/realex/paymentObject": {
1906
+ parameters: {
1907
+ query?: never;
1908
+ header?: never;
1909
+ path?: never;
1910
+ cookie?: never;
1911
+ };
1912
+ get: {
1913
+ parameters: {
1914
+ query: {
1915
+ amount: string;
1916
+ intentId: string;
1917
+ providerId: string;
1918
+ };
1919
+ header?: never;
1920
+ path?: never;
1921
+ cookie?: never;
1922
+ };
1923
+ requestBody?: never;
1924
+ responses: {
1925
+ /** @description Default Response */
1926
+ 200: {
1927
+ headers: {
1928
+ [name: string]: unknown;
1929
+ };
1930
+ content: {
1931
+ "application/json": {
1932
+ data: {
1933
+ ACCOUNT: string;
1934
+ AMOUNT: string;
1935
+ CURRENCY: string;
1936
+ MERCHANT_ID: string;
1937
+ ORDER_ID: string;
1938
+ TIMESTAMP: string;
1939
+ URL: string;
1940
+ SHA256HASH: string;
1941
+ };
1942
+ metadata?: {
1943
+ /** @description Object containing the links to the related endpoints */
1944
+ links?: {
1945
+ self: {
1946
+ /** @description URL pointing to the request itself */
1947
+ href?: string;
1948
+ };
1949
+ next?: {
1950
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
1951
+ href?: string;
1952
+ };
1953
+ prev?: {
1954
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
1955
+ href?: string;
1956
+ };
1957
+ first: {
1958
+ /** @description URL pointing to the first page of results in a paginated response */
1959
+ href?: string;
1960
+ };
1961
+ last: {
1962
+ /** @description URL pointing to the first page of results in a paginated response */
1963
+ href?: string;
1964
+ };
1965
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
1966
+ pages: {
1967
+ [key: string]: {
1968
+ href?: string;
1969
+ };
1970
+ };
1971
+ };
1972
+ /** @description Number representing the total number of available items */
1973
+ totalCount?: number;
1974
+ };
1975
+ };
1976
+ };
1977
+ };
1978
+ /** @description Default Response */
1979
+ 404: {
1980
+ headers: {
1981
+ [name: string]: unknown;
1982
+ };
1983
+ content: {
1984
+ "application/json": {
1985
+ code: string;
1986
+ detail: string;
1987
+ requestId: string;
1988
+ name: string;
1989
+ validation?: unknown;
1990
+ validationContext?: string;
1991
+ };
1992
+ };
1993
+ };
1994
+ /** @description Default Response */
1995
+ 422: {
1996
+ headers: {
1997
+ [name: string]: unknown;
1998
+ };
1999
+ content: {
2000
+ "application/json": {
2001
+ code: string;
2002
+ detail: string;
2003
+ requestId: string;
2004
+ name: string;
2005
+ validation?: unknown;
2006
+ validationContext?: string;
2007
+ };
2008
+ };
2009
+ };
2010
+ };
2011
+ };
2012
+ put?: never;
2013
+ post?: never;
2014
+ delete?: never;
2015
+ options?: never;
2016
+ head?: never;
2017
+ patch?: never;
2018
+ trace?: never;
2019
+ };
2020
+ "/api/v1/realex/verifyPaymentResponse": {
2021
+ parameters: {
2022
+ query?: never;
2023
+ header?: never;
2024
+ path?: never;
2025
+ cookie?: never;
2026
+ };
2027
+ get?: never;
2028
+ put?: never;
2029
+ post: {
2030
+ parameters: {
2031
+ query?: never;
2032
+ header?: never;
2033
+ path?: never;
2034
+ cookie?: never;
2035
+ };
2036
+ requestBody?: {
2037
+ content: {
2038
+ "application/json": Record<string, never>;
2039
+ };
2040
+ };
2041
+ responses: {
2042
+ /** @description Default Response */
2043
+ 200: {
2044
+ headers: {
2045
+ [name: string]: unknown;
2046
+ };
2047
+ content: {
2048
+ "application/json": string;
2049
+ };
2050
+ };
2051
+ /** @description Default Response */
2052
+ 404: {
2053
+ headers: {
2054
+ [name: string]: unknown;
2055
+ };
2056
+ content: {
2057
+ "application/json": {
2058
+ code: string;
2059
+ detail: string;
2060
+ requestId: string;
2061
+ name: string;
2062
+ validation?: unknown;
2063
+ validationContext?: string;
2064
+ };
2065
+ };
2066
+ };
2067
+ /** @description Default Response */
2068
+ 422: {
2069
+ headers: {
2070
+ [name: string]: unknown;
2071
+ };
2072
+ content: {
2073
+ "application/json": {
2074
+ code: string;
2075
+ detail: string;
2076
+ requestId: string;
2077
+ name: string;
2078
+ validation?: unknown;
2079
+ validationContext?: string;
2080
+ };
2081
+ };
2082
+ };
2083
+ };
2084
+ };
2085
+ delete?: never;
2086
+ options?: never;
2087
+ head?: never;
2088
+ patch?: never;
2089
+ trace?: never;
2090
+ };
2091
+ "/api/v1/realex/statusUpdate": {
2092
+ parameters: {
2093
+ query?: never;
2094
+ header?: never;
2095
+ path?: never;
2096
+ cookie?: never;
2097
+ };
2098
+ get: {
2099
+ parameters: {
2100
+ query: {
2101
+ sha1hash: string;
2102
+ timestamp: string;
2103
+ merchantid: string;
2104
+ orderid: string;
2105
+ result: string;
2106
+ message: string;
2107
+ pasref: string;
2108
+ paymentmethod: string;
2109
+ waitfornotification: string;
2110
+ fundstatus: string;
2111
+ paymentpurpose: string;
2112
+ acountholdername: string;
2113
+ country: string;
2114
+ accountnumber: string;
2115
+ iban: string;
2116
+ bic: string;
2117
+ bankname: string;
2118
+ bankcode: string;
2119
+ redirectoptional: string;
2120
+ };
2121
+ header?: never;
2122
+ path?: never;
2123
+ cookie?: never;
2124
+ };
2125
+ requestBody?: never;
2126
+ responses: {
2127
+ /** @description Default Response */
2128
+ 200: {
2129
+ headers: {
2130
+ [name: string]: unknown;
2131
+ };
2132
+ content?: never;
2133
+ };
2134
+ };
2135
+ };
2136
+ put?: never;
2137
+ post?: never;
2138
+ delete?: never;
2139
+ options?: never;
2140
+ head?: never;
2141
+ patch?: never;
2142
+ trace?: never;
2143
+ };
2144
+ "/api/v1/auditLogs/": {
2145
+ parameters: {
2146
+ query?: never;
2147
+ header?: never;
2148
+ path?: never;
2149
+ cookie?: never;
2150
+ };
2151
+ get: {
2152
+ parameters: {
2153
+ query?: {
2154
+ offset?: number;
2155
+ limit?: number;
2156
+ resource?: string;
2157
+ action?: string;
2158
+ user?: string;
2159
+ from?: string;
2160
+ to?: string;
2161
+ };
2162
+ header?: never;
2163
+ path?: never;
2164
+ cookie?: never;
2165
+ };
2166
+ requestBody?: never;
2167
+ responses: {
2168
+ /** @description Default Response */
2169
+ 200: {
2170
+ headers: {
2171
+ [name: string]: unknown;
2172
+ };
2173
+ content: {
2174
+ "application/json": {
2175
+ data: {
2176
+ auditLogId: string;
2177
+ createdAt: string;
2178
+ eventType: string;
2179
+ title: string;
2180
+ userId?: string;
2181
+ organizationId?: string;
2182
+ resourceId?: string;
2183
+ }[];
2184
+ metadata?: {
2185
+ /** @description Object containing the links to the related endpoints */
2186
+ links?: {
2187
+ self: {
2188
+ /** @description URL pointing to the request itself */
2189
+ href?: string;
2190
+ };
2191
+ next?: {
2192
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
2193
+ href?: string;
2194
+ };
2195
+ prev?: {
2196
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
2197
+ href?: string;
2198
+ };
2199
+ first: {
2200
+ /** @description URL pointing to the first page of results in a paginated response */
2201
+ href?: string;
2202
+ };
2203
+ last: {
2204
+ /** @description URL pointing to the first page of results in a paginated response */
2205
+ href?: string;
2206
+ };
2207
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
2208
+ pages: {
2209
+ [key: string]: {
2210
+ href?: string;
2211
+ };
2212
+ };
2213
+ };
2214
+ /** @description Number representing the total number of available items */
2215
+ totalCount?: number;
2216
+ };
2217
+ };
2218
+ };
2219
+ };
2220
+ /** @description Default Response */
2221
+ 401: {
2222
+ headers: {
2223
+ [name: string]: unknown;
2224
+ };
2225
+ content: {
2226
+ "application/json": {
2227
+ code: string;
2228
+ detail: string;
2229
+ requestId: string;
2230
+ name: string;
2231
+ validation?: unknown;
2232
+ validationContext?: string;
2233
+ };
2234
+ };
2235
+ };
2236
+ /** @description Default Response */
2237
+ 500: {
2238
+ headers: {
2239
+ [name: string]: unknown;
2240
+ };
2241
+ content: {
2242
+ "application/json": {
2243
+ code: string;
2244
+ detail: string;
2245
+ requestId: string;
2246
+ name: string;
2247
+ validation?: unknown;
2248
+ validationContext?: string;
2249
+ };
2250
+ };
2251
+ };
2252
+ };
2253
+ };
2254
+ put?: never;
2255
+ post?: never;
2256
+ delete?: never;
2257
+ options?: never;
2258
+ head?: never;
2259
+ patch?: never;
2260
+ trace?: never;
2261
+ };
2262
+ "/api/v1/auditLogs/event-types": {
2263
+ parameters: {
2264
+ query?: never;
2265
+ header?: never;
2266
+ path?: never;
2267
+ cookie?: never;
2268
+ };
2269
+ get: {
2270
+ parameters: {
2271
+ query?: never;
2272
+ header?: never;
2273
+ path?: never;
2274
+ cookie?: never;
2275
+ };
2276
+ requestBody?: never;
2277
+ responses: {
2278
+ /** @description Default Response */
2279
+ 200: {
2280
+ headers: {
2281
+ [name: string]: unknown;
2282
+ };
2283
+ content: {
2284
+ "application/json": {
2285
+ data: {
2286
+ [key: string]: string;
2287
+ };
2288
+ metadata?: {
2289
+ /** @description Object containing the links to the related endpoints */
2290
+ links?: {
2291
+ self: {
2292
+ /** @description URL pointing to the request itself */
2293
+ href?: string;
2294
+ };
2295
+ next?: {
2296
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
2297
+ href?: string;
2298
+ };
2299
+ prev?: {
2300
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
2301
+ href?: string;
2302
+ };
2303
+ first: {
2304
+ /** @description URL pointing to the first page of results in a paginated response */
2305
+ href?: string;
2306
+ };
2307
+ last: {
2308
+ /** @description URL pointing to the first page of results in a paginated response */
2309
+ href?: string;
2310
+ };
2311
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
2312
+ pages: {
2313
+ [key: string]: {
2314
+ href?: string;
2315
+ };
2316
+ };
2317
+ };
2318
+ /** @description Number representing the total number of available items */
2319
+ totalCount?: number;
2320
+ };
2321
+ };
2322
+ };
2323
+ };
2324
+ /** @description Default Response */
2325
+ 401: {
2326
+ headers: {
2327
+ [name: string]: unknown;
2328
+ };
2329
+ content: {
2330
+ "application/json": {
2331
+ code: string;
2332
+ detail: string;
2333
+ requestId: string;
2334
+ name: string;
2335
+ validation?: unknown;
2336
+ validationContext?: string;
2337
+ };
2338
+ };
2339
+ };
2340
+ /** @description Default Response */
2341
+ 500: {
2342
+ headers: {
2343
+ [name: string]: unknown;
2344
+ };
2345
+ content: {
2346
+ "application/json": {
2347
+ code: string;
2348
+ detail: string;
2349
+ requestId: string;
2350
+ name: string;
2351
+ validation?: unknown;
2352
+ validationContext?: string;
2353
+ };
2354
+ };
2355
+ };
2356
+ };
2357
+ };
2358
+ put?: never;
2359
+ post?: never;
2360
+ delete?: never;
2361
+ options?: never;
2362
+ head?: never;
2363
+ patch?: never;
2364
+ trace?: never;
2365
+ };
2366
+ "/api/v1/auditLogs/{auditLogId}": {
2367
+ parameters: {
2368
+ query?: never;
2369
+ header?: never;
2370
+ path?: never;
2371
+ cookie?: never;
2372
+ };
2373
+ get: {
2374
+ parameters: {
2375
+ query?: never;
2376
+ header?: never;
2377
+ path: {
2378
+ auditLogId: string;
2379
+ };
2380
+ cookie?: never;
2381
+ };
2382
+ requestBody?: never;
2383
+ responses: {
2384
+ /** @description Default Response */
2385
+ 200: {
2386
+ headers: {
2387
+ [name: string]: unknown;
2388
+ };
2389
+ content: {
2390
+ "application/json": {
2391
+ data: {
2392
+ auditLogId: string;
2393
+ createdAt: string;
2394
+ eventType: string;
2395
+ title: string;
2396
+ userId?: string;
2397
+ organizationId?: string;
2398
+ metadata: {
2399
+ [key: string]: unknown;
2400
+ };
2401
+ };
2402
+ metadata?: {
2403
+ /** @description Object containing the links to the related endpoints */
2404
+ links?: {
2405
+ self: {
2406
+ /** @description URL pointing to the request itself */
2407
+ href?: string;
2408
+ };
2409
+ next?: {
2410
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
2411
+ href?: string;
2412
+ };
2413
+ prev?: {
2414
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
2415
+ href?: string;
2416
+ };
2417
+ first: {
2418
+ /** @description URL pointing to the first page of results in a paginated response */
2419
+ href?: string;
2420
+ };
2421
+ last: {
2422
+ /** @description URL pointing to the first page of results in a paginated response */
2423
+ href?: string;
2424
+ };
2425
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
2426
+ pages: {
2427
+ [key: string]: {
2428
+ href?: string;
2429
+ };
2430
+ };
2431
+ };
2432
+ /** @description Number representing the total number of available items */
2433
+ totalCount?: number;
2434
+ };
2435
+ };
2436
+ };
2437
+ };
2438
+ /** @description Default Response */
2439
+ 401: {
2440
+ headers: {
2441
+ [name: string]: unknown;
2442
+ };
2443
+ content: {
2444
+ "application/json": {
2445
+ code: string;
2446
+ detail: string;
2447
+ requestId: string;
2448
+ name: string;
2449
+ validation?: unknown;
2450
+ validationContext?: string;
2451
+ };
2452
+ };
2453
+ };
2454
+ /** @description Default Response */
2455
+ 500: {
2456
+ headers: {
2457
+ [name: string]: unknown;
2458
+ };
2459
+ content: {
2460
+ "application/json": {
2461
+ code: string;
2462
+ detail: string;
2463
+ requestId: string;
2464
+ name: string;
2465
+ validation?: unknown;
2466
+ validationContext?: string;
2467
+ };
2468
+ };
2469
+ };
2470
+ };
2471
+ };
2472
+ put?: never;
2473
+ post?: never;
2474
+ delete?: never;
2475
+ options?: never;
2476
+ head?: never;
2477
+ patch?: never;
2478
+ trace?: never;
2479
+ };
2480
+ "/api/v1/stripe/webhook": {
2481
+ parameters: {
2482
+ query?: never;
2483
+ header?: never;
2484
+ path?: never;
2485
+ cookie?: never;
2486
+ };
2487
+ get?: never;
2488
+ put?: never;
2489
+ post: {
2490
+ parameters: {
2491
+ query?: never;
2492
+ header?: never;
2493
+ path?: never;
2494
+ cookie?: never;
2495
+ };
2496
+ requestBody?: never;
2497
+ responses: {
2498
+ /** @description Default Response */
2499
+ 404: {
2500
+ headers: {
2501
+ [name: string]: unknown;
2502
+ };
2503
+ content: {
2504
+ "application/json": {
2505
+ code: string;
2506
+ detail: string;
2507
+ requestId: string;
2508
+ name: string;
2509
+ validation?: unknown;
2510
+ validationContext?: string;
2511
+ };
2512
+ };
2513
+ };
2514
+ };
2515
+ };
2516
+ delete?: never;
2517
+ options?: never;
2518
+ head?: never;
2519
+ patch?: never;
2520
+ trace?: never;
2521
+ };
2522
+ }
2523
+ export type webhooks = Record<string, never>;
2524
+ export interface components {
2525
+ schemas: never;
2526
+ responses: never;
2527
+ parameters: never;
2528
+ requestBodies: never;
2529
+ headers: never;
2530
+ pathItems: never;
2531
+ }
2532
+ export type $defs = Record<string, never>;
2533
+ export type operations = Record<string, never>;
2534
+ //# sourceMappingURL=schema.d.ts.map