@edge-markets/connect 1.3.0 → 1.4.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.
- package/README.md +11 -18
- package/dist/index.d.mts +188 -157
- package/dist/index.d.ts +188 -157
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -139,7 +139,7 @@ declare function isValidScope(scope: string): scope is EdgeScope;
|
|
|
139
139
|
* Do not make direct changes to the file.
|
|
140
140
|
*/
|
|
141
141
|
interface paths {
|
|
142
|
-
|
|
142
|
+
'/auth/register': {
|
|
143
143
|
parameters: {
|
|
144
144
|
query?: never;
|
|
145
145
|
header?: never;
|
|
@@ -148,14 +148,14 @@ interface paths {
|
|
|
148
148
|
};
|
|
149
149
|
get?: never;
|
|
150
150
|
put?: never;
|
|
151
|
-
post: operations[
|
|
151
|
+
post: operations['RegistrationController_register'];
|
|
152
152
|
delete?: never;
|
|
153
153
|
options?: never;
|
|
154
154
|
head?: never;
|
|
155
155
|
patch?: never;
|
|
156
156
|
trace?: never;
|
|
157
157
|
};
|
|
158
|
-
|
|
158
|
+
'/auth/verify-email-otp': {
|
|
159
159
|
parameters: {
|
|
160
160
|
query?: never;
|
|
161
161
|
header?: never;
|
|
@@ -164,14 +164,14 @@ interface paths {
|
|
|
164
164
|
};
|
|
165
165
|
get?: never;
|
|
166
166
|
put?: never;
|
|
167
|
-
post: operations[
|
|
167
|
+
post: operations['RegistrationController_verifyEmailOTP'];
|
|
168
168
|
delete?: never;
|
|
169
169
|
options?: never;
|
|
170
170
|
head?: never;
|
|
171
171
|
patch?: never;
|
|
172
172
|
trace?: never;
|
|
173
173
|
};
|
|
174
|
-
|
|
174
|
+
'/auth/accept-terms': {
|
|
175
175
|
parameters: {
|
|
176
176
|
query?: never;
|
|
177
177
|
header?: never;
|
|
@@ -180,14 +180,14 @@ interface paths {
|
|
|
180
180
|
};
|
|
181
181
|
get?: never;
|
|
182
182
|
put?: never;
|
|
183
|
-
post: operations[
|
|
183
|
+
post: operations['RegistrationController_acceptTerms'];
|
|
184
184
|
delete?: never;
|
|
185
185
|
options?: never;
|
|
186
186
|
head?: never;
|
|
187
187
|
patch?: never;
|
|
188
188
|
trace?: never;
|
|
189
189
|
};
|
|
190
|
-
|
|
190
|
+
'/auth/complete-profile': {
|
|
191
191
|
parameters: {
|
|
192
192
|
query?: never;
|
|
193
193
|
header?: never;
|
|
@@ -196,14 +196,14 @@ interface paths {
|
|
|
196
196
|
};
|
|
197
197
|
get?: never;
|
|
198
198
|
put?: never;
|
|
199
|
-
post: operations[
|
|
199
|
+
post: operations['RegistrationController_completeProfile'];
|
|
200
200
|
delete?: never;
|
|
201
201
|
options?: never;
|
|
202
202
|
head?: never;
|
|
203
203
|
patch?: never;
|
|
204
204
|
trace?: never;
|
|
205
205
|
};
|
|
206
|
-
|
|
206
|
+
'/auth/update-ssn': {
|
|
207
207
|
parameters: {
|
|
208
208
|
query?: never;
|
|
209
209
|
header?: never;
|
|
@@ -212,14 +212,14 @@ interface paths {
|
|
|
212
212
|
};
|
|
213
213
|
get?: never;
|
|
214
214
|
put?: never;
|
|
215
|
-
post: operations[
|
|
215
|
+
post: operations['RegistrationController_updateSSN'];
|
|
216
216
|
delete?: never;
|
|
217
217
|
options?: never;
|
|
218
218
|
head?: never;
|
|
219
219
|
patch?: never;
|
|
220
220
|
trace?: never;
|
|
221
221
|
};
|
|
222
|
-
|
|
222
|
+
'/auth/setup-mfa': {
|
|
223
223
|
parameters: {
|
|
224
224
|
query?: never;
|
|
225
225
|
header?: never;
|
|
@@ -228,14 +228,14 @@ interface paths {
|
|
|
228
228
|
};
|
|
229
229
|
get?: never;
|
|
230
230
|
put?: never;
|
|
231
|
-
post: operations[
|
|
231
|
+
post: operations['MFASetupController_setupMFA'];
|
|
232
232
|
delete?: never;
|
|
233
233
|
options?: never;
|
|
234
234
|
head?: never;
|
|
235
235
|
patch?: never;
|
|
236
236
|
trace?: never;
|
|
237
237
|
};
|
|
238
|
-
|
|
238
|
+
'/auth/resend-sms-setup': {
|
|
239
239
|
parameters: {
|
|
240
240
|
query?: never;
|
|
241
241
|
header?: never;
|
|
@@ -244,14 +244,14 @@ interface paths {
|
|
|
244
244
|
};
|
|
245
245
|
get?: never;
|
|
246
246
|
put?: never;
|
|
247
|
-
post: operations[
|
|
247
|
+
post: operations['MFASetupController_resendSMSSetup'];
|
|
248
248
|
delete?: never;
|
|
249
249
|
options?: never;
|
|
250
250
|
head?: never;
|
|
251
251
|
patch?: never;
|
|
252
252
|
trace?: never;
|
|
253
253
|
};
|
|
254
|
-
|
|
254
|
+
'/auth/verify-authenticator-setup': {
|
|
255
255
|
parameters: {
|
|
256
256
|
query?: never;
|
|
257
257
|
header?: never;
|
|
@@ -260,14 +260,14 @@ interface paths {
|
|
|
260
260
|
};
|
|
261
261
|
get?: never;
|
|
262
262
|
put?: never;
|
|
263
|
-
post: operations[
|
|
263
|
+
post: operations['MFASetupController_verifyAuthenticatorSetup'];
|
|
264
264
|
delete?: never;
|
|
265
265
|
options?: never;
|
|
266
266
|
head?: never;
|
|
267
267
|
patch?: never;
|
|
268
268
|
trace?: never;
|
|
269
269
|
};
|
|
270
|
-
|
|
270
|
+
'/auth/verify-sms-setup': {
|
|
271
271
|
parameters: {
|
|
272
272
|
query?: never;
|
|
273
273
|
header?: never;
|
|
@@ -276,14 +276,14 @@ interface paths {
|
|
|
276
276
|
};
|
|
277
277
|
get?: never;
|
|
278
278
|
put?: never;
|
|
279
|
-
post: operations[
|
|
279
|
+
post: operations['MFASetupController_verifySMSSetup'];
|
|
280
280
|
delete?: never;
|
|
281
281
|
options?: never;
|
|
282
282
|
head?: never;
|
|
283
283
|
patch?: never;
|
|
284
284
|
trace?: never;
|
|
285
285
|
};
|
|
286
|
-
|
|
286
|
+
'/auth/login': {
|
|
287
287
|
parameters: {
|
|
288
288
|
query?: never;
|
|
289
289
|
header?: never;
|
|
@@ -292,14 +292,14 @@ interface paths {
|
|
|
292
292
|
};
|
|
293
293
|
get?: never;
|
|
294
294
|
put?: never;
|
|
295
|
-
post: operations[
|
|
295
|
+
post: operations['LoginController_login'];
|
|
296
296
|
delete?: never;
|
|
297
297
|
options?: never;
|
|
298
298
|
head?: never;
|
|
299
299
|
patch?: never;
|
|
300
300
|
trace?: never;
|
|
301
301
|
};
|
|
302
|
-
|
|
302
|
+
'/auth/verify-login-otp': {
|
|
303
303
|
parameters: {
|
|
304
304
|
query?: never;
|
|
305
305
|
header?: never;
|
|
@@ -308,14 +308,14 @@ interface paths {
|
|
|
308
308
|
};
|
|
309
309
|
get?: never;
|
|
310
310
|
put?: never;
|
|
311
|
-
post: operations[
|
|
311
|
+
post: operations['LoginController_verifyLoginOTP'];
|
|
312
312
|
delete?: never;
|
|
313
313
|
options?: never;
|
|
314
314
|
head?: never;
|
|
315
315
|
patch?: never;
|
|
316
316
|
trace?: never;
|
|
317
317
|
};
|
|
318
|
-
|
|
318
|
+
'/auth/verify-mfa': {
|
|
319
319
|
parameters: {
|
|
320
320
|
query?: never;
|
|
321
321
|
header?: never;
|
|
@@ -324,14 +324,14 @@ interface paths {
|
|
|
324
324
|
};
|
|
325
325
|
get?: never;
|
|
326
326
|
put?: never;
|
|
327
|
-
post: operations[
|
|
327
|
+
post: operations['LoginController_verifyMFA'];
|
|
328
328
|
delete?: never;
|
|
329
329
|
options?: never;
|
|
330
330
|
head?: never;
|
|
331
331
|
patch?: never;
|
|
332
332
|
trace?: never;
|
|
333
333
|
};
|
|
334
|
-
|
|
334
|
+
'/auth/resend-email-otp': {
|
|
335
335
|
parameters: {
|
|
336
336
|
query?: never;
|
|
337
337
|
header?: never;
|
|
@@ -340,14 +340,14 @@ interface paths {
|
|
|
340
340
|
};
|
|
341
341
|
get?: never;
|
|
342
342
|
put?: never;
|
|
343
|
-
post: operations[
|
|
343
|
+
post: operations['LoginController_resendEmailOTP'];
|
|
344
344
|
delete?: never;
|
|
345
345
|
options?: never;
|
|
346
346
|
head?: never;
|
|
347
347
|
patch?: never;
|
|
348
348
|
trace?: never;
|
|
349
349
|
};
|
|
350
|
-
|
|
350
|
+
'/auth/resend-sms-mfa': {
|
|
351
351
|
parameters: {
|
|
352
352
|
query?: never;
|
|
353
353
|
header?: never;
|
|
@@ -356,14 +356,14 @@ interface paths {
|
|
|
356
356
|
};
|
|
357
357
|
get?: never;
|
|
358
358
|
put?: never;
|
|
359
|
-
post: operations[
|
|
359
|
+
post: operations['LoginController_resendSMSMFA'];
|
|
360
360
|
delete?: never;
|
|
361
361
|
options?: never;
|
|
362
362
|
head?: never;
|
|
363
363
|
patch?: never;
|
|
364
364
|
trace?: never;
|
|
365
365
|
};
|
|
366
|
-
|
|
366
|
+
'/auth/refresh-token': {
|
|
367
367
|
parameters: {
|
|
368
368
|
query?: never;
|
|
369
369
|
header?: never;
|
|
@@ -372,14 +372,14 @@ interface paths {
|
|
|
372
372
|
};
|
|
373
373
|
get?: never;
|
|
374
374
|
put?: never;
|
|
375
|
-
post: operations[
|
|
375
|
+
post: operations['LoginController_refreshToken'];
|
|
376
376
|
delete?: never;
|
|
377
377
|
options?: never;
|
|
378
378
|
head?: never;
|
|
379
379
|
patch?: never;
|
|
380
380
|
trace?: never;
|
|
381
381
|
};
|
|
382
|
-
|
|
382
|
+
'/auth/debug/ip': {
|
|
383
383
|
parameters: {
|
|
384
384
|
query?: never;
|
|
385
385
|
header?: never;
|
|
@@ -388,22 +388,22 @@ interface paths {
|
|
|
388
388
|
};
|
|
389
389
|
get?: never;
|
|
390
390
|
put?: never;
|
|
391
|
-
post: operations[
|
|
391
|
+
post: operations['LoginController_debugIp'];
|
|
392
392
|
delete?: never;
|
|
393
393
|
options?: never;
|
|
394
394
|
head?: never;
|
|
395
395
|
patch?: never;
|
|
396
396
|
trace?: never;
|
|
397
397
|
};
|
|
398
|
-
|
|
398
|
+
'/auth/profile': {
|
|
399
399
|
parameters: {
|
|
400
400
|
query?: never;
|
|
401
401
|
header?: never;
|
|
402
402
|
path?: never;
|
|
403
403
|
cookie?: never;
|
|
404
404
|
};
|
|
405
|
-
get: operations[
|
|
406
|
-
put: operations[
|
|
405
|
+
get: operations['ProfileController_getProfile'];
|
|
406
|
+
put: operations['ProfileController_updateProfile'];
|
|
407
407
|
post?: never;
|
|
408
408
|
delete?: never;
|
|
409
409
|
options?: never;
|
|
@@ -411,7 +411,7 @@ interface paths {
|
|
|
411
411
|
patch?: never;
|
|
412
412
|
trace?: never;
|
|
413
413
|
};
|
|
414
|
-
|
|
414
|
+
'/auth/fill-account-vip': {
|
|
415
415
|
parameters: {
|
|
416
416
|
query?: never;
|
|
417
417
|
header?: never;
|
|
@@ -419,7 +419,7 @@ interface paths {
|
|
|
419
419
|
cookie?: never;
|
|
420
420
|
};
|
|
421
421
|
get?: never;
|
|
422
|
-
put: operations[
|
|
422
|
+
put: operations['ProfileController_fillAccountVIP'];
|
|
423
423
|
post?: never;
|
|
424
424
|
delete?: never;
|
|
425
425
|
options?: never;
|
|
@@ -427,7 +427,7 @@ interface paths {
|
|
|
427
427
|
patch?: never;
|
|
428
428
|
trace?: never;
|
|
429
429
|
};
|
|
430
|
-
|
|
430
|
+
'/auth/logout': {
|
|
431
431
|
parameters: {
|
|
432
432
|
query?: never;
|
|
433
433
|
header?: never;
|
|
@@ -436,14 +436,14 @@ interface paths {
|
|
|
436
436
|
};
|
|
437
437
|
get?: never;
|
|
438
438
|
put?: never;
|
|
439
|
-
post: operations[
|
|
439
|
+
post: operations['LogoutController_logout'];
|
|
440
440
|
delete?: never;
|
|
441
441
|
options?: never;
|
|
442
442
|
head?: never;
|
|
443
443
|
patch?: never;
|
|
444
444
|
trace?: never;
|
|
445
445
|
};
|
|
446
|
-
|
|
446
|
+
'/vgs/ping': {
|
|
447
447
|
parameters: {
|
|
448
448
|
query?: never;
|
|
449
449
|
header?: never;
|
|
@@ -452,21 +452,21 @@ interface paths {
|
|
|
452
452
|
};
|
|
453
453
|
get?: never;
|
|
454
454
|
put?: never;
|
|
455
|
-
post: operations[
|
|
455
|
+
post: operations['VGSController_pingGalileo'];
|
|
456
456
|
delete?: never;
|
|
457
457
|
options?: never;
|
|
458
458
|
head?: never;
|
|
459
459
|
patch?: never;
|
|
460
460
|
trace?: never;
|
|
461
461
|
};
|
|
462
|
-
|
|
462
|
+
'/vgs/card/{cardId}': {
|
|
463
463
|
parameters: {
|
|
464
464
|
query?: never;
|
|
465
465
|
header?: never;
|
|
466
466
|
path?: never;
|
|
467
467
|
cookie?: never;
|
|
468
468
|
};
|
|
469
|
-
get: operations[
|
|
469
|
+
get: operations['VGSController_getCardDetails'];
|
|
470
470
|
put?: never;
|
|
471
471
|
post?: never;
|
|
472
472
|
delete?: never;
|
|
@@ -475,7 +475,7 @@ interface paths {
|
|
|
475
475
|
patch?: never;
|
|
476
476
|
trace?: never;
|
|
477
477
|
};
|
|
478
|
-
|
|
478
|
+
'/vgs/card/{cardId}/pin-change-key': {
|
|
479
479
|
parameters: {
|
|
480
480
|
query?: never;
|
|
481
481
|
header?: never;
|
|
@@ -484,14 +484,14 @@ interface paths {
|
|
|
484
484
|
};
|
|
485
485
|
get?: never;
|
|
486
486
|
put?: never;
|
|
487
|
-
post: operations[
|
|
487
|
+
post: operations['VGSController_getPinChangeKey'];
|
|
488
488
|
delete?: never;
|
|
489
489
|
options?: never;
|
|
490
490
|
head?: never;
|
|
491
491
|
patch?: never;
|
|
492
492
|
trace?: never;
|
|
493
493
|
};
|
|
494
|
-
|
|
494
|
+
'/vgs/card/{cardId}/commit-pin-change': {
|
|
495
495
|
parameters: {
|
|
496
496
|
query?: never;
|
|
497
497
|
header?: never;
|
|
@@ -500,21 +500,21 @@ interface paths {
|
|
|
500
500
|
};
|
|
501
501
|
get?: never;
|
|
502
502
|
put?: never;
|
|
503
|
-
post: operations[
|
|
503
|
+
post: operations['VGSController_commitPinChange'];
|
|
504
504
|
delete?: never;
|
|
505
505
|
options?: never;
|
|
506
506
|
head?: never;
|
|
507
507
|
patch?: never;
|
|
508
508
|
trace?: never;
|
|
509
509
|
};
|
|
510
|
-
|
|
510
|
+
'/admin/migration/status': {
|
|
511
511
|
parameters: {
|
|
512
512
|
query?: never;
|
|
513
513
|
header?: never;
|
|
514
514
|
path?: never;
|
|
515
515
|
cookie?: never;
|
|
516
516
|
};
|
|
517
|
-
get: operations[
|
|
517
|
+
get: operations['MigrationController_getStatus'];
|
|
518
518
|
put?: never;
|
|
519
519
|
post?: never;
|
|
520
520
|
delete?: never;
|
|
@@ -523,7 +523,7 @@ interface paths {
|
|
|
523
523
|
patch?: never;
|
|
524
524
|
trace?: never;
|
|
525
525
|
};
|
|
526
|
-
|
|
526
|
+
'/admin/migration/mark-users': {
|
|
527
527
|
parameters: {
|
|
528
528
|
query?: never;
|
|
529
529
|
header?: never;
|
|
@@ -532,14 +532,14 @@ interface paths {
|
|
|
532
532
|
};
|
|
533
533
|
get?: never;
|
|
534
534
|
put?: never;
|
|
535
|
-
post: operations[
|
|
535
|
+
post: operations['MigrationController_markUsers'];
|
|
536
536
|
delete?: never;
|
|
537
537
|
options?: never;
|
|
538
538
|
head?: never;
|
|
539
539
|
patch?: never;
|
|
540
540
|
trace?: never;
|
|
541
541
|
};
|
|
542
|
-
|
|
542
|
+
'/admin/migration/validate': {
|
|
543
543
|
parameters: {
|
|
544
544
|
query?: never;
|
|
545
545
|
header?: never;
|
|
@@ -548,14 +548,14 @@ interface paths {
|
|
|
548
548
|
};
|
|
549
549
|
get?: never;
|
|
550
550
|
put?: never;
|
|
551
|
-
post: operations[
|
|
551
|
+
post: operations['MigrationController_validateUsers'];
|
|
552
552
|
delete?: never;
|
|
553
553
|
options?: never;
|
|
554
554
|
head?: never;
|
|
555
555
|
patch?: never;
|
|
556
556
|
trace?: never;
|
|
557
557
|
};
|
|
558
|
-
|
|
558
|
+
'/admin/migration/preview': {
|
|
559
559
|
parameters: {
|
|
560
560
|
query?: never;
|
|
561
561
|
header?: never;
|
|
@@ -564,14 +564,14 @@ interface paths {
|
|
|
564
564
|
};
|
|
565
565
|
get?: never;
|
|
566
566
|
put?: never;
|
|
567
|
-
post: operations[
|
|
567
|
+
post: operations['MigrationController_preview'];
|
|
568
568
|
delete?: never;
|
|
569
569
|
options?: never;
|
|
570
570
|
head?: never;
|
|
571
571
|
patch?: never;
|
|
572
572
|
trace?: never;
|
|
573
573
|
};
|
|
574
|
-
|
|
574
|
+
'/admin/migration/trigger': {
|
|
575
575
|
parameters: {
|
|
576
576
|
query?: never;
|
|
577
577
|
header?: never;
|
|
@@ -580,21 +580,21 @@ interface paths {
|
|
|
580
580
|
};
|
|
581
581
|
get?: never;
|
|
582
582
|
put?: never;
|
|
583
|
-
post: operations[
|
|
583
|
+
post: operations['MigrationController_triggerMigration'];
|
|
584
584
|
delete?: never;
|
|
585
585
|
options?: never;
|
|
586
586
|
head?: never;
|
|
587
587
|
patch?: never;
|
|
588
588
|
trace?: never;
|
|
589
589
|
};
|
|
590
|
-
|
|
590
|
+
'/admin/migration/pending': {
|
|
591
591
|
parameters: {
|
|
592
592
|
query?: never;
|
|
593
593
|
header?: never;
|
|
594
594
|
path?: never;
|
|
595
595
|
cookie?: never;
|
|
596
596
|
};
|
|
597
|
-
get: operations[
|
|
597
|
+
get: operations['MigrationController_getPending'];
|
|
598
598
|
put?: never;
|
|
599
599
|
post?: never;
|
|
600
600
|
delete?: never;
|
|
@@ -603,7 +603,7 @@ interface paths {
|
|
|
603
603
|
patch?: never;
|
|
604
604
|
trace?: never;
|
|
605
605
|
};
|
|
606
|
-
|
|
606
|
+
'/admin/migration/rollback/{userId}': {
|
|
607
607
|
parameters: {
|
|
608
608
|
query?: never;
|
|
609
609
|
header?: never;
|
|
@@ -612,21 +612,21 @@ interface paths {
|
|
|
612
612
|
};
|
|
613
613
|
get?: never;
|
|
614
614
|
put?: never;
|
|
615
|
-
post: operations[
|
|
615
|
+
post: operations['MigrationController_rollbackUser'];
|
|
616
616
|
delete?: never;
|
|
617
617
|
options?: never;
|
|
618
618
|
head?: never;
|
|
619
619
|
patch?: never;
|
|
620
620
|
trace?: never;
|
|
621
621
|
};
|
|
622
|
-
|
|
622
|
+
'/hubspot/identification-token': {
|
|
623
623
|
parameters: {
|
|
624
624
|
query?: never;
|
|
625
625
|
header?: never;
|
|
626
626
|
path?: never;
|
|
627
627
|
cookie?: never;
|
|
628
628
|
};
|
|
629
|
-
get: operations[
|
|
629
|
+
get: operations['HubspotController_getIdentificationToken'];
|
|
630
630
|
put?: never;
|
|
631
631
|
post?: never;
|
|
632
632
|
delete?: never;
|
|
@@ -635,7 +635,7 @@ interface paths {
|
|
|
635
635
|
patch?: never;
|
|
636
636
|
trace?: never;
|
|
637
637
|
};
|
|
638
|
-
|
|
638
|
+
'/v1/user': {
|
|
639
639
|
parameters: {
|
|
640
640
|
query?: never;
|
|
641
641
|
header?: never;
|
|
@@ -646,7 +646,7 @@ interface paths {
|
|
|
646
646
|
* Get user profile
|
|
647
647
|
* @description Returns the authenticated user's profile information including name and email.
|
|
648
648
|
*/
|
|
649
|
-
get: operations[
|
|
649
|
+
get: operations['getUser'];
|
|
650
650
|
put?: never;
|
|
651
651
|
post?: never;
|
|
652
652
|
delete?: never;
|
|
@@ -655,7 +655,7 @@ interface paths {
|
|
|
655
655
|
patch?: never;
|
|
656
656
|
trace?: never;
|
|
657
657
|
};
|
|
658
|
-
|
|
658
|
+
'/v1/balance': {
|
|
659
659
|
parameters: {
|
|
660
660
|
query?: never;
|
|
661
661
|
header?: never;
|
|
@@ -666,7 +666,7 @@ interface paths {
|
|
|
666
666
|
* Get user balance
|
|
667
667
|
* @description Returns the authenticated user's current EdgeBoost balance.
|
|
668
668
|
*/
|
|
669
|
-
get: operations[
|
|
669
|
+
get: operations['getBalance'];
|
|
670
670
|
put?: never;
|
|
671
671
|
post?: never;
|
|
672
672
|
delete?: never;
|
|
@@ -675,7 +675,7 @@ interface paths {
|
|
|
675
675
|
patch?: never;
|
|
676
676
|
trace?: never;
|
|
677
677
|
};
|
|
678
|
-
|
|
678
|
+
'/v1/transfer': {
|
|
679
679
|
parameters: {
|
|
680
680
|
query?: never;
|
|
681
681
|
header?: never;
|
|
@@ -698,14 +698,14 @@ interface paths {
|
|
|
698
698
|
* **OTP Verification:**
|
|
699
699
|
* After initiating, the transfer will be in `pending_verification` status. Call `POST /transfer/{transferId}/verify` with the OTP to complete.
|
|
700
700
|
*/
|
|
701
|
-
post: operations[
|
|
701
|
+
post: operations['initiateTransfer'];
|
|
702
702
|
delete?: never;
|
|
703
703
|
options?: never;
|
|
704
704
|
head?: never;
|
|
705
705
|
patch?: never;
|
|
706
706
|
trace?: never;
|
|
707
707
|
};
|
|
708
|
-
|
|
708
|
+
'/v1/transfer/{transferId}': {
|
|
709
709
|
parameters: {
|
|
710
710
|
query?: never;
|
|
711
711
|
header?: never;
|
|
@@ -716,7 +716,7 @@ interface paths {
|
|
|
716
716
|
* Get transfer status
|
|
717
717
|
* @description Returns the current status of a transfer. Use this for polling after initiating a transfer.
|
|
718
718
|
*/
|
|
719
|
-
get: operations[
|
|
719
|
+
get: operations['getTransferStatus'];
|
|
720
720
|
put?: never;
|
|
721
721
|
post?: never;
|
|
722
722
|
delete?: never;
|
|
@@ -725,7 +725,7 @@ interface paths {
|
|
|
725
725
|
patch?: never;
|
|
726
726
|
trace?: never;
|
|
727
727
|
};
|
|
728
|
-
|
|
728
|
+
'/v1/transfers': {
|
|
729
729
|
parameters: {
|
|
730
730
|
query?: never;
|
|
731
731
|
header?: never;
|
|
@@ -736,7 +736,7 @@ interface paths {
|
|
|
736
736
|
* List transfers
|
|
737
737
|
* @description Returns a paginated list of transfers for the authenticated user. Useful for reconciliation.
|
|
738
738
|
*/
|
|
739
|
-
get: operations[
|
|
739
|
+
get: operations['listTransfers'];
|
|
740
740
|
put?: never;
|
|
741
741
|
post?: never;
|
|
742
742
|
delete?: never;
|
|
@@ -745,7 +745,7 @@ interface paths {
|
|
|
745
745
|
patch?: never;
|
|
746
746
|
trace?: never;
|
|
747
747
|
};
|
|
748
|
-
|
|
748
|
+
'/v1/transfer/{transferId}/verify': {
|
|
749
749
|
parameters: {
|
|
750
750
|
query?: never;
|
|
751
751
|
header?: never;
|
|
@@ -764,14 +764,14 @@ interface paths {
|
|
|
764
764
|
*
|
|
765
765
|
* The OTP method is indicated in the `otpMethod` field of the transfer response.
|
|
766
766
|
*/
|
|
767
|
-
post: operations[
|
|
767
|
+
post: operations['verifyTransfer'];
|
|
768
768
|
delete?: never;
|
|
769
769
|
options?: never;
|
|
770
770
|
head?: never;
|
|
771
771
|
patch?: never;
|
|
772
772
|
trace?: never;
|
|
773
773
|
};
|
|
774
|
-
|
|
774
|
+
'/v1/consent': {
|
|
775
775
|
parameters: {
|
|
776
776
|
query?: never;
|
|
777
777
|
header?: never;
|
|
@@ -790,36 +790,36 @@ interface paths {
|
|
|
790
790
|
* - The user must re-authenticate and grant consent to restore access
|
|
791
791
|
* - Partners should implement this as a "disconnect" or "unlink" feature
|
|
792
792
|
*/
|
|
793
|
-
delete: operations[
|
|
793
|
+
delete: operations['revokeConsent'];
|
|
794
794
|
options?: never;
|
|
795
795
|
head?: never;
|
|
796
796
|
patch?: never;
|
|
797
797
|
trace?: never;
|
|
798
798
|
};
|
|
799
|
-
|
|
799
|
+
'/oauth/consent': {
|
|
800
800
|
parameters: {
|
|
801
801
|
query?: never;
|
|
802
802
|
header?: never;
|
|
803
803
|
path?: never;
|
|
804
804
|
cookie?: never;
|
|
805
805
|
};
|
|
806
|
-
get: operations[
|
|
806
|
+
get: operations['ConsentController_showConsentPage'];
|
|
807
807
|
put?: never;
|
|
808
|
-
post: operations[
|
|
808
|
+
post: operations['ConsentController_handleConsentDecision'];
|
|
809
809
|
delete?: never;
|
|
810
810
|
options?: never;
|
|
811
811
|
head?: never;
|
|
812
812
|
patch?: never;
|
|
813
813
|
trace?: never;
|
|
814
814
|
};
|
|
815
|
-
|
|
815
|
+
'/api/v3/user/connected-apps': {
|
|
816
816
|
parameters: {
|
|
817
817
|
query?: never;
|
|
818
818
|
header?: never;
|
|
819
819
|
path?: never;
|
|
820
820
|
cookie?: never;
|
|
821
821
|
};
|
|
822
|
-
get: operations[
|
|
822
|
+
get: operations['ConnectedAppsController_getConnectedApps'];
|
|
823
823
|
put?: never;
|
|
824
824
|
post?: never;
|
|
825
825
|
delete?: never;
|
|
@@ -828,7 +828,7 @@ interface paths {
|
|
|
828
828
|
patch?: never;
|
|
829
829
|
trace?: never;
|
|
830
830
|
};
|
|
831
|
-
|
|
831
|
+
'/api/v3/user/connected-apps/{clientId}': {
|
|
832
832
|
parameters: {
|
|
833
833
|
query?: never;
|
|
834
834
|
header?: never;
|
|
@@ -838,20 +838,20 @@ interface paths {
|
|
|
838
838
|
get?: never;
|
|
839
839
|
put?: never;
|
|
840
840
|
post?: never;
|
|
841
|
-
delete: operations[
|
|
841
|
+
delete: operations['ConnectedAppsController_revokeApp'];
|
|
842
842
|
options?: never;
|
|
843
843
|
head?: never;
|
|
844
844
|
patch?: never;
|
|
845
845
|
trace?: never;
|
|
846
846
|
};
|
|
847
|
-
|
|
847
|
+
'/health': {
|
|
848
848
|
parameters: {
|
|
849
849
|
query?: never;
|
|
850
850
|
header?: never;
|
|
851
851
|
path?: never;
|
|
852
852
|
cookie?: never;
|
|
853
853
|
};
|
|
854
|
-
get: operations[
|
|
854
|
+
get: operations['AppController_getHealth'];
|
|
855
855
|
put?: never;
|
|
856
856
|
post?: never;
|
|
857
857
|
delete?: never;
|
|
@@ -860,46 +860,46 @@ interface paths {
|
|
|
860
860
|
patch?: never;
|
|
861
861
|
trace?: never;
|
|
862
862
|
};
|
|
863
|
-
|
|
863
|
+
'/test': {
|
|
864
864
|
parameters: {
|
|
865
865
|
query?: never;
|
|
866
866
|
header?: never;
|
|
867
867
|
path?: never;
|
|
868
868
|
cookie?: never;
|
|
869
869
|
};
|
|
870
|
-
get: operations[
|
|
870
|
+
get: operations['TestController_getAll'];
|
|
871
871
|
put?: never;
|
|
872
|
-
post: operations[
|
|
872
|
+
post: operations['TestController_create'];
|
|
873
873
|
delete?: never;
|
|
874
874
|
options?: never;
|
|
875
875
|
head?: never;
|
|
876
876
|
patch?: never;
|
|
877
877
|
trace?: never;
|
|
878
878
|
};
|
|
879
|
-
|
|
879
|
+
'/test/{id}': {
|
|
880
880
|
parameters: {
|
|
881
881
|
query?: never;
|
|
882
882
|
header?: never;
|
|
883
883
|
path?: never;
|
|
884
884
|
cookie?: never;
|
|
885
885
|
};
|
|
886
|
-
get: operations[
|
|
887
|
-
put: operations[
|
|
886
|
+
get: operations['TestController_getById'];
|
|
887
|
+
put: operations['TestController_update'];
|
|
888
888
|
post?: never;
|
|
889
|
-
delete: operations[
|
|
889
|
+
delete: operations['TestController_delete'];
|
|
890
890
|
options?: never;
|
|
891
891
|
head?: never;
|
|
892
892
|
patch?: never;
|
|
893
893
|
trace?: never;
|
|
894
894
|
};
|
|
895
|
-
|
|
895
|
+
'/test/legacy/data': {
|
|
896
896
|
parameters: {
|
|
897
897
|
query?: never;
|
|
898
898
|
header?: never;
|
|
899
899
|
path?: never;
|
|
900
900
|
cookie?: never;
|
|
901
901
|
};
|
|
902
|
-
get: operations[
|
|
902
|
+
get: operations['TestController_getLegacyData'];
|
|
903
903
|
put?: never;
|
|
904
904
|
post?: never;
|
|
905
905
|
delete?: never;
|
|
@@ -908,14 +908,14 @@ interface paths {
|
|
|
908
908
|
patch?: never;
|
|
909
909
|
trace?: never;
|
|
910
910
|
};
|
|
911
|
-
|
|
911
|
+
'/config-test': {
|
|
912
912
|
parameters: {
|
|
913
913
|
query?: never;
|
|
914
914
|
header?: never;
|
|
915
915
|
path?: never;
|
|
916
916
|
cookie?: never;
|
|
917
917
|
};
|
|
918
|
-
get: operations[
|
|
918
|
+
get: operations['ConfigTestController_getConfigInfo'];
|
|
919
919
|
put?: never;
|
|
920
920
|
post?: never;
|
|
921
921
|
delete?: never;
|
|
@@ -924,14 +924,14 @@ interface paths {
|
|
|
924
924
|
patch?: never;
|
|
925
925
|
trace?: never;
|
|
926
926
|
};
|
|
927
|
-
|
|
927
|
+
'/config-test/raw': {
|
|
928
928
|
parameters: {
|
|
929
929
|
query?: never;
|
|
930
930
|
header?: never;
|
|
931
931
|
path?: never;
|
|
932
932
|
cookie?: never;
|
|
933
933
|
};
|
|
934
|
-
get: operations[
|
|
934
|
+
get: operations['ConfigTestController_getRawConfigValues'];
|
|
935
935
|
put?: never;
|
|
936
936
|
post?: never;
|
|
937
937
|
delete?: never;
|
|
@@ -1059,7 +1059,7 @@ interface components {
|
|
|
1059
1059
|
* @example debit
|
|
1060
1060
|
* @enum {string}
|
|
1061
1061
|
*/
|
|
1062
|
-
type:
|
|
1062
|
+
type: 'debit' | 'credit';
|
|
1063
1063
|
/**
|
|
1064
1064
|
* @description Amount to transfer in USD (as string to preserve precision)
|
|
1065
1065
|
* @example 100.00
|
|
@@ -1082,13 +1082,13 @@ interface components {
|
|
|
1082
1082
|
* @example pending_verification
|
|
1083
1083
|
* @enum {string}
|
|
1084
1084
|
*/
|
|
1085
|
-
status:
|
|
1085
|
+
status: 'pending_verification' | 'completed' | 'failed' | 'expired';
|
|
1086
1086
|
/**
|
|
1087
1087
|
* @description OTP method to use for verification (only present when status is pending_verification)
|
|
1088
1088
|
* @example sms
|
|
1089
1089
|
* @enum {string}
|
|
1090
1090
|
*/
|
|
1091
|
-
otpMethod?:
|
|
1091
|
+
otpMethod?: 'sms' | 'totp' | 'email';
|
|
1092
1092
|
};
|
|
1093
1093
|
TransferListItemDto: {
|
|
1094
1094
|
/**
|
|
@@ -1101,7 +1101,7 @@ interface components {
|
|
|
1101
1101
|
* @example debit
|
|
1102
1102
|
* @enum {string}
|
|
1103
1103
|
*/
|
|
1104
|
-
type:
|
|
1104
|
+
type: 'debit' | 'credit';
|
|
1105
1105
|
/**
|
|
1106
1106
|
* @description Transfer amount in USD
|
|
1107
1107
|
* @example 100
|
|
@@ -1112,7 +1112,7 @@ interface components {
|
|
|
1112
1112
|
* @example completed
|
|
1113
1113
|
* @enum {string}
|
|
1114
1114
|
*/
|
|
1115
|
-
status:
|
|
1115
|
+
status: 'pending_verification' | 'completed' | 'failed' | 'expired';
|
|
1116
1116
|
/**
|
|
1117
1117
|
* Format: date-time
|
|
1118
1118
|
* @description Transfer creation timestamp
|
|
@@ -1128,7 +1128,7 @@ interface components {
|
|
|
1128
1128
|
};
|
|
1129
1129
|
ListTransfersResponseDto: {
|
|
1130
1130
|
/** @description Array of transfers */
|
|
1131
|
-
transfers: components[
|
|
1131
|
+
transfers: components['schemas']['TransferListItemDto'][];
|
|
1132
1132
|
/**
|
|
1133
1133
|
* @description Total number of transfers matching the query
|
|
1134
1134
|
* @example 42
|
|
@@ -1166,7 +1166,7 @@ interface operations {
|
|
|
1166
1166
|
};
|
|
1167
1167
|
requestBody: {
|
|
1168
1168
|
content: {
|
|
1169
|
-
|
|
1169
|
+
'application/json': components['schemas']['RegisterDto'];
|
|
1170
1170
|
};
|
|
1171
1171
|
};
|
|
1172
1172
|
responses: {
|
|
@@ -1187,7 +1187,7 @@ interface operations {
|
|
|
1187
1187
|
};
|
|
1188
1188
|
requestBody: {
|
|
1189
1189
|
content: {
|
|
1190
|
-
|
|
1190
|
+
'application/json': components['schemas']['VerifyEmailOTPDto'];
|
|
1191
1191
|
};
|
|
1192
1192
|
};
|
|
1193
1193
|
responses: {
|
|
@@ -1208,7 +1208,7 @@ interface operations {
|
|
|
1208
1208
|
};
|
|
1209
1209
|
requestBody: {
|
|
1210
1210
|
content: {
|
|
1211
|
-
|
|
1211
|
+
'application/json': components['schemas']['AcceptTermsDto'];
|
|
1212
1212
|
};
|
|
1213
1213
|
};
|
|
1214
1214
|
responses: {
|
|
@@ -1229,7 +1229,7 @@ interface operations {
|
|
|
1229
1229
|
};
|
|
1230
1230
|
requestBody: {
|
|
1231
1231
|
content: {
|
|
1232
|
-
|
|
1232
|
+
'application/json': components['schemas']['CompleteProfileDto'];
|
|
1233
1233
|
};
|
|
1234
1234
|
};
|
|
1235
1235
|
responses: {
|
|
@@ -1250,7 +1250,7 @@ interface operations {
|
|
|
1250
1250
|
};
|
|
1251
1251
|
requestBody: {
|
|
1252
1252
|
content: {
|
|
1253
|
-
|
|
1253
|
+
'application/json': components['schemas']['UpdateSSNDto'];
|
|
1254
1254
|
};
|
|
1255
1255
|
};
|
|
1256
1256
|
responses: {
|
|
@@ -1271,7 +1271,7 @@ interface operations {
|
|
|
1271
1271
|
};
|
|
1272
1272
|
requestBody: {
|
|
1273
1273
|
content: {
|
|
1274
|
-
|
|
1274
|
+
'application/json': components['schemas']['SetupMfaDto'];
|
|
1275
1275
|
};
|
|
1276
1276
|
};
|
|
1277
1277
|
responses: {
|
|
@@ -1309,7 +1309,7 @@ interface operations {
|
|
|
1309
1309
|
};
|
|
1310
1310
|
requestBody: {
|
|
1311
1311
|
content: {
|
|
1312
|
-
|
|
1312
|
+
'application/json': components['schemas']['VerifyMfaSetupDto'];
|
|
1313
1313
|
};
|
|
1314
1314
|
};
|
|
1315
1315
|
responses: {
|
|
@@ -1330,7 +1330,7 @@ interface operations {
|
|
|
1330
1330
|
};
|
|
1331
1331
|
requestBody: {
|
|
1332
1332
|
content: {
|
|
1333
|
-
|
|
1333
|
+
'application/json': components['schemas']['VerifyMfaSetupDto'];
|
|
1334
1334
|
};
|
|
1335
1335
|
};
|
|
1336
1336
|
responses: {
|
|
@@ -1351,7 +1351,7 @@ interface operations {
|
|
|
1351
1351
|
};
|
|
1352
1352
|
requestBody: {
|
|
1353
1353
|
content: {
|
|
1354
|
-
|
|
1354
|
+
'application/json': components['schemas']['InitiateLoginDto'];
|
|
1355
1355
|
};
|
|
1356
1356
|
};
|
|
1357
1357
|
responses: {
|
|
@@ -1372,7 +1372,7 @@ interface operations {
|
|
|
1372
1372
|
};
|
|
1373
1373
|
requestBody: {
|
|
1374
1374
|
content: {
|
|
1375
|
-
|
|
1375
|
+
'application/json': components['schemas']['VerifyLoginOTPDto'];
|
|
1376
1376
|
};
|
|
1377
1377
|
};
|
|
1378
1378
|
responses: {
|
|
@@ -1393,7 +1393,7 @@ interface operations {
|
|
|
1393
1393
|
};
|
|
1394
1394
|
requestBody: {
|
|
1395
1395
|
content: {
|
|
1396
|
-
|
|
1396
|
+
'application/json': components['schemas']['VerifyMfaDto'];
|
|
1397
1397
|
};
|
|
1398
1398
|
};
|
|
1399
1399
|
responses: {
|
|
@@ -1414,7 +1414,7 @@ interface operations {
|
|
|
1414
1414
|
};
|
|
1415
1415
|
requestBody: {
|
|
1416
1416
|
content: {
|
|
1417
|
-
|
|
1417
|
+
'application/json': components['schemas']['ResendEmailOTPDto'];
|
|
1418
1418
|
};
|
|
1419
1419
|
};
|
|
1420
1420
|
responses: {
|
|
@@ -1435,7 +1435,7 @@ interface operations {
|
|
|
1435
1435
|
};
|
|
1436
1436
|
requestBody: {
|
|
1437
1437
|
content: {
|
|
1438
|
-
|
|
1438
|
+
'application/json': components['schemas']['ResendSMSMFADto'];
|
|
1439
1439
|
};
|
|
1440
1440
|
};
|
|
1441
1441
|
responses: {
|
|
@@ -1456,7 +1456,7 @@ interface operations {
|
|
|
1456
1456
|
};
|
|
1457
1457
|
requestBody: {
|
|
1458
1458
|
content: {
|
|
1459
|
-
|
|
1459
|
+
'application/json': components['schemas']['RefreshTokenDto'];
|
|
1460
1460
|
};
|
|
1461
1461
|
};
|
|
1462
1462
|
responses: {
|
|
@@ -1511,7 +1511,7 @@ interface operations {
|
|
|
1511
1511
|
};
|
|
1512
1512
|
requestBody: {
|
|
1513
1513
|
content: {
|
|
1514
|
-
|
|
1514
|
+
'application/json': components['schemas']['UpdateProfileDto'];
|
|
1515
1515
|
};
|
|
1516
1516
|
};
|
|
1517
1517
|
responses: {
|
|
@@ -1532,7 +1532,7 @@ interface operations {
|
|
|
1532
1532
|
};
|
|
1533
1533
|
requestBody: {
|
|
1534
1534
|
content: {
|
|
1535
|
-
|
|
1535
|
+
'application/json': components['schemas']['FillAccountVIPDto'];
|
|
1536
1536
|
};
|
|
1537
1537
|
};
|
|
1538
1538
|
responses: {
|
|
@@ -1553,7 +1553,7 @@ interface operations {
|
|
|
1553
1553
|
};
|
|
1554
1554
|
requestBody: {
|
|
1555
1555
|
content: {
|
|
1556
|
-
|
|
1556
|
+
'application/json': components['schemas']['LogoutDto'];
|
|
1557
1557
|
};
|
|
1558
1558
|
};
|
|
1559
1559
|
responses: {
|
|
@@ -1625,7 +1625,7 @@ interface operations {
|
|
|
1625
1625
|
};
|
|
1626
1626
|
requestBody: {
|
|
1627
1627
|
content: {
|
|
1628
|
-
|
|
1628
|
+
'application/json': components['schemas']['CommitPinChangeBodyDto'];
|
|
1629
1629
|
};
|
|
1630
1630
|
};
|
|
1631
1631
|
responses: {
|
|
@@ -1663,7 +1663,7 @@ interface operations {
|
|
|
1663
1663
|
};
|
|
1664
1664
|
requestBody: {
|
|
1665
1665
|
content: {
|
|
1666
|
-
|
|
1666
|
+
'application/json': components['schemas']['MarkUsersDto'];
|
|
1667
1667
|
};
|
|
1668
1668
|
};
|
|
1669
1669
|
responses: {
|
|
@@ -1684,7 +1684,7 @@ interface operations {
|
|
|
1684
1684
|
};
|
|
1685
1685
|
requestBody: {
|
|
1686
1686
|
content: {
|
|
1687
|
-
|
|
1687
|
+
'application/json': components['schemas']['BatchValidationDto'];
|
|
1688
1688
|
};
|
|
1689
1689
|
};
|
|
1690
1690
|
responses: {
|
|
@@ -1705,7 +1705,7 @@ interface operations {
|
|
|
1705
1705
|
};
|
|
1706
1706
|
requestBody: {
|
|
1707
1707
|
content: {
|
|
1708
|
-
|
|
1708
|
+
'application/json': components['schemas']['PreviewMigrationDto'];
|
|
1709
1709
|
};
|
|
1710
1710
|
};
|
|
1711
1711
|
responses: {
|
|
@@ -1726,7 +1726,7 @@ interface operations {
|
|
|
1726
1726
|
};
|
|
1727
1727
|
requestBody: {
|
|
1728
1728
|
content: {
|
|
1729
|
-
|
|
1729
|
+
'application/json': components['schemas']['TriggerMigrationDto'];
|
|
1730
1730
|
};
|
|
1731
1731
|
};
|
|
1732
1732
|
responses: {
|
|
@@ -1809,7 +1809,7 @@ interface operations {
|
|
|
1809
1809
|
[name: string]: unknown;
|
|
1810
1810
|
};
|
|
1811
1811
|
content: {
|
|
1812
|
-
|
|
1812
|
+
'application/json': components['schemas']['ConnectUserResponseDto'];
|
|
1813
1813
|
};
|
|
1814
1814
|
};
|
|
1815
1815
|
/** @description Invalid or expired access token */
|
|
@@ -1818,7 +1818,7 @@ interface operations {
|
|
|
1818
1818
|
[name: string]: unknown;
|
|
1819
1819
|
};
|
|
1820
1820
|
content: {
|
|
1821
|
-
|
|
1821
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
1822
1822
|
};
|
|
1823
1823
|
};
|
|
1824
1824
|
/** @description User consent required or insufficient scope */
|
|
@@ -1827,7 +1827,7 @@ interface operations {
|
|
|
1827
1827
|
[name: string]: unknown;
|
|
1828
1828
|
};
|
|
1829
1829
|
content: {
|
|
1830
|
-
|
|
1830
|
+
'application/json': components['schemas']['ConsentRequiredErrorDto'];
|
|
1831
1831
|
};
|
|
1832
1832
|
};
|
|
1833
1833
|
};
|
|
@@ -1847,7 +1847,7 @@ interface operations {
|
|
|
1847
1847
|
[name: string]: unknown;
|
|
1848
1848
|
};
|
|
1849
1849
|
content: {
|
|
1850
|
-
|
|
1850
|
+
'application/json': components['schemas']['ConnectBalanceResponseDto'];
|
|
1851
1851
|
};
|
|
1852
1852
|
};
|
|
1853
1853
|
/** @description Invalid or expired access token */
|
|
@@ -1856,7 +1856,7 @@ interface operations {
|
|
|
1856
1856
|
[name: string]: unknown;
|
|
1857
1857
|
};
|
|
1858
1858
|
content: {
|
|
1859
|
-
|
|
1859
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
1860
1860
|
};
|
|
1861
1861
|
};
|
|
1862
1862
|
/** @description User consent required or insufficient scope */
|
|
@@ -1865,7 +1865,7 @@ interface operations {
|
|
|
1865
1865
|
[name: string]: unknown;
|
|
1866
1866
|
};
|
|
1867
1867
|
content: {
|
|
1868
|
-
|
|
1868
|
+
'application/json': components['schemas']['ConsentRequiredErrorDto'];
|
|
1869
1869
|
};
|
|
1870
1870
|
};
|
|
1871
1871
|
};
|
|
@@ -1879,7 +1879,7 @@ interface operations {
|
|
|
1879
1879
|
};
|
|
1880
1880
|
requestBody: {
|
|
1881
1881
|
content: {
|
|
1882
|
-
|
|
1882
|
+
'application/json': components['schemas']['InitiateTransferRequestDto'];
|
|
1883
1883
|
};
|
|
1884
1884
|
};
|
|
1885
1885
|
responses: {
|
|
@@ -1889,7 +1889,7 @@ interface operations {
|
|
|
1889
1889
|
[name: string]: unknown;
|
|
1890
1890
|
};
|
|
1891
1891
|
content: {
|
|
1892
|
-
|
|
1892
|
+
'application/json': components['schemas']['TransferResponseDto'];
|
|
1893
1893
|
};
|
|
1894
1894
|
};
|
|
1895
1895
|
/** @description Invalid request (amount, balance, etc.) */
|
|
@@ -1898,7 +1898,7 @@ interface operations {
|
|
|
1898
1898
|
[name: string]: unknown;
|
|
1899
1899
|
};
|
|
1900
1900
|
content: {
|
|
1901
|
-
|
|
1901
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
1902
1902
|
};
|
|
1903
1903
|
};
|
|
1904
1904
|
/** @description Invalid or expired access token */
|
|
@@ -1907,7 +1907,7 @@ interface operations {
|
|
|
1907
1907
|
[name: string]: unknown;
|
|
1908
1908
|
};
|
|
1909
1909
|
content: {
|
|
1910
|
-
|
|
1910
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
1911
1911
|
};
|
|
1912
1912
|
};
|
|
1913
1913
|
/** @description User consent required or insufficient scope */
|
|
@@ -1916,7 +1916,7 @@ interface operations {
|
|
|
1916
1916
|
[name: string]: unknown;
|
|
1917
1917
|
};
|
|
1918
1918
|
content: {
|
|
1919
|
-
|
|
1919
|
+
'application/json': components['schemas']['ConsentRequiredErrorDto'];
|
|
1920
1920
|
};
|
|
1921
1921
|
};
|
|
1922
1922
|
};
|
|
@@ -1939,7 +1939,7 @@ interface operations {
|
|
|
1939
1939
|
[name: string]: unknown;
|
|
1940
1940
|
};
|
|
1941
1941
|
content: {
|
|
1942
|
-
|
|
1942
|
+
'application/json': components['schemas']['TransferResponseDto'];
|
|
1943
1943
|
};
|
|
1944
1944
|
};
|
|
1945
1945
|
/** @description Invalid or expired access token */
|
|
@@ -1948,7 +1948,7 @@ interface operations {
|
|
|
1948
1948
|
[name: string]: unknown;
|
|
1949
1949
|
};
|
|
1950
1950
|
content: {
|
|
1951
|
-
|
|
1951
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
1952
1952
|
};
|
|
1953
1953
|
};
|
|
1954
1954
|
/** @description User consent required or insufficient scope */
|
|
@@ -1957,7 +1957,7 @@ interface operations {
|
|
|
1957
1957
|
[name: string]: unknown;
|
|
1958
1958
|
};
|
|
1959
1959
|
content: {
|
|
1960
|
-
|
|
1960
|
+
'application/json': components['schemas']['ConsentRequiredErrorDto'];
|
|
1961
1961
|
};
|
|
1962
1962
|
};
|
|
1963
1963
|
/** @description Transfer not found */
|
|
@@ -1966,7 +1966,7 @@ interface operations {
|
|
|
1966
1966
|
[name: string]: unknown;
|
|
1967
1967
|
};
|
|
1968
1968
|
content: {
|
|
1969
|
-
|
|
1969
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
1970
1970
|
};
|
|
1971
1971
|
};
|
|
1972
1972
|
};
|
|
@@ -1979,7 +1979,7 @@ interface operations {
|
|
|
1979
1979
|
/** @description Number of transfers to skip (for pagination) */
|
|
1980
1980
|
offset?: number;
|
|
1981
1981
|
/** @description Filter by transfer status */
|
|
1982
|
-
status?:
|
|
1982
|
+
status?: 'pending_verification' | 'completed' | 'failed' | 'expired';
|
|
1983
1983
|
};
|
|
1984
1984
|
header?: never;
|
|
1985
1985
|
path?: never;
|
|
@@ -1993,7 +1993,7 @@ interface operations {
|
|
|
1993
1993
|
[name: string]: unknown;
|
|
1994
1994
|
};
|
|
1995
1995
|
content: {
|
|
1996
|
-
|
|
1996
|
+
'application/json': components['schemas']['ListTransfersResponseDto'];
|
|
1997
1997
|
};
|
|
1998
1998
|
};
|
|
1999
1999
|
/** @description Invalid or expired access token */
|
|
@@ -2002,7 +2002,7 @@ interface operations {
|
|
|
2002
2002
|
[name: string]: unknown;
|
|
2003
2003
|
};
|
|
2004
2004
|
content: {
|
|
2005
|
-
|
|
2005
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
2006
2006
|
};
|
|
2007
2007
|
};
|
|
2008
2008
|
/** @description User consent required or insufficient scope */
|
|
@@ -2011,7 +2011,7 @@ interface operations {
|
|
|
2011
2011
|
[name: string]: unknown;
|
|
2012
2012
|
};
|
|
2013
2013
|
content: {
|
|
2014
|
-
|
|
2014
|
+
'application/json': components['schemas']['ConsentRequiredErrorDto'];
|
|
2015
2015
|
};
|
|
2016
2016
|
};
|
|
2017
2017
|
};
|
|
@@ -2028,7 +2028,7 @@ interface operations {
|
|
|
2028
2028
|
};
|
|
2029
2029
|
requestBody: {
|
|
2030
2030
|
content: {
|
|
2031
|
-
|
|
2031
|
+
'application/json': components['schemas']['VerifyTransferRequestDto'];
|
|
2032
2032
|
};
|
|
2033
2033
|
};
|
|
2034
2034
|
responses: {
|
|
@@ -2038,7 +2038,7 @@ interface operations {
|
|
|
2038
2038
|
[name: string]: unknown;
|
|
2039
2039
|
};
|
|
2040
2040
|
content: {
|
|
2041
|
-
|
|
2041
|
+
'application/json': components['schemas']['TransferResponseDto'];
|
|
2042
2042
|
};
|
|
2043
2043
|
};
|
|
2044
2044
|
/** @description Invalid OTP or transfer expired */
|
|
@@ -2047,7 +2047,7 @@ interface operations {
|
|
|
2047
2047
|
[name: string]: unknown;
|
|
2048
2048
|
};
|
|
2049
2049
|
content: {
|
|
2050
|
-
|
|
2050
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
2051
2051
|
};
|
|
2052
2052
|
};
|
|
2053
2053
|
/** @description Invalid or expired access token */
|
|
@@ -2056,7 +2056,7 @@ interface operations {
|
|
|
2056
2056
|
[name: string]: unknown;
|
|
2057
2057
|
};
|
|
2058
2058
|
content: {
|
|
2059
|
-
|
|
2059
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
2060
2060
|
};
|
|
2061
2061
|
};
|
|
2062
2062
|
/** @description User consent required or insufficient scope */
|
|
@@ -2065,7 +2065,7 @@ interface operations {
|
|
|
2065
2065
|
[name: string]: unknown;
|
|
2066
2066
|
};
|
|
2067
2067
|
content: {
|
|
2068
|
-
|
|
2068
|
+
'application/json': components['schemas']['ConsentRequiredErrorDto'];
|
|
2069
2069
|
};
|
|
2070
2070
|
};
|
|
2071
2071
|
/** @description Transfer not found */
|
|
@@ -2074,7 +2074,7 @@ interface operations {
|
|
|
2074
2074
|
[name: string]: unknown;
|
|
2075
2075
|
};
|
|
2076
2076
|
content: {
|
|
2077
|
-
|
|
2077
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
2078
2078
|
};
|
|
2079
2079
|
};
|
|
2080
2080
|
};
|
|
@@ -2094,7 +2094,7 @@ interface operations {
|
|
|
2094
2094
|
[name: string]: unknown;
|
|
2095
2095
|
};
|
|
2096
2096
|
content: {
|
|
2097
|
-
|
|
2097
|
+
'application/json': components['schemas']['RevokeConsentResponseDto'];
|
|
2098
2098
|
};
|
|
2099
2099
|
};
|
|
2100
2100
|
/** @description Invalid or expired access token */
|
|
@@ -2103,7 +2103,7 @@ interface operations {
|
|
|
2103
2103
|
[name: string]: unknown;
|
|
2104
2104
|
};
|
|
2105
2105
|
content: {
|
|
2106
|
-
|
|
2106
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
2107
2107
|
};
|
|
2108
2108
|
};
|
|
2109
2109
|
};
|
|
@@ -2438,8 +2438,9 @@ type TransferStatus = 'pending_verification' | 'completed' | 'failed' | 'expired
|
|
|
2438
2438
|
*
|
|
2439
2439
|
* - `sms`: OTP sent via SMS to user's phone
|
|
2440
2440
|
* - `totp`: User generates OTP from authenticator app
|
|
2441
|
+
* - `email`: OTP sent via email to user's account email
|
|
2441
2442
|
*/
|
|
2442
|
-
type OtpMethod = 'sms' | 'totp';
|
|
2443
|
+
type OtpMethod = 'sms' | 'totp' | 'email';
|
|
2443
2444
|
/**
|
|
2444
2445
|
* Parameters for listing transfers.
|
|
2445
2446
|
*/
|
|
@@ -2505,6 +2506,36 @@ interface VerifyIdentityResult {
|
|
|
2505
2506
|
verified: true;
|
|
2506
2507
|
scores: VerifyIdentityScores;
|
|
2507
2508
|
}
|
|
2509
|
+
/**
|
|
2510
|
+
* Request payload for creating a hosted verification session.
|
|
2511
|
+
*/
|
|
2512
|
+
interface CreateVerificationSessionRequest {
|
|
2513
|
+
/** HTTPS origin of your frontend for postMessage origin validation. */
|
|
2514
|
+
origin: string;
|
|
2515
|
+
}
|
|
2516
|
+
/**
|
|
2517
|
+
* Response from creating a hosted verification session.
|
|
2518
|
+
*/
|
|
2519
|
+
interface VerificationSession {
|
|
2520
|
+
/** Unique verification session identifier for correlation. */
|
|
2521
|
+
sessionId: string;
|
|
2522
|
+
/** URL to open in an iframe or popup. Single-use, expires in 120 seconds. */
|
|
2523
|
+
verificationUrl: string;
|
|
2524
|
+
/** ISO 8601 timestamp when the handoff token expires. */
|
|
2525
|
+
expiresAt: string;
|
|
2526
|
+
}
|
|
2527
|
+
/**
|
|
2528
|
+
* Verification session status values.
|
|
2529
|
+
*/
|
|
2530
|
+
type VerificationSessionStatus = 'pending' | 'active' | 'completed' | 'failed' | 'expired' | 'canceled';
|
|
2531
|
+
/**
|
|
2532
|
+
* Response from polling a verification session's status.
|
|
2533
|
+
*/
|
|
2534
|
+
interface VerificationSessionStatusResponse {
|
|
2535
|
+
sessionId: string;
|
|
2536
|
+
status: VerificationSessionStatus;
|
|
2537
|
+
transferStatus: TransferStatus;
|
|
2538
|
+
}
|
|
2508
2539
|
/**
|
|
2509
2540
|
* All possible transfer types.
|
|
2510
2541
|
* Use for validation or building UI select options.
|
|
@@ -2518,7 +2549,7 @@ declare const TRANSFER_STATUSES: readonly ["pending_verification", "completed",
|
|
|
2518
2549
|
/**
|
|
2519
2550
|
* All possible OTP methods.
|
|
2520
2551
|
*/
|
|
2521
|
-
declare const OTP_METHODS: readonly ["sms", "totp"];
|
|
2552
|
+
declare const OTP_METHODS: readonly ["sms", "totp", "email"];
|
|
2522
2553
|
|
|
2523
2554
|
/**
|
|
2524
2555
|
* EDGE Connect SDK Types
|
|
@@ -3023,4 +3054,4 @@ declare const SDK_VERSION = "1.0.0";
|
|
|
3023
3054
|
*/
|
|
3024
3055
|
declare const SDK_NAME = "@edge-markets/connect";
|
|
3025
3056
|
|
|
3026
|
-
export { ALL_EDGE_SCOPES, type ApiError, type Balance, type ConsentRequiredError, EDGE_ENVIRONMENTS, EDGE_SCOPES, EdgeApiError, EdgeAuthenticationError, EdgeConsentRequiredError, type EdgeEnvironment, type EdgeEnvironmentConfig, EdgeError, EdgeIdentityVerificationError, EdgeInsufficientScopeError, type EdgeLinkConfigBase, type EdgeLinkEvent, type EdgeLinkEventName, type EdgeLinkExit, type EdgeLinkSuccess, EdgeNetworkError, EdgeNotFoundError, EdgePopupBlockedError, EdgePopupClosedError, type EdgeScope, EdgeStateMismatchError, EdgeTokenExchangeError, type EdgeTokens, EdgeValidationError, type InitiateTransferRequest, type ListTransfersParams, OTP_METHODS, type OtpMethod, type PKCEPair, type RevokeConsentResponse, SCOPE_DESCRIPTIONS, SCOPE_ICONS, SDK_NAME, SDK_VERSION, TRANSFER_STATUSES, TRANSFER_TYPES, type Transfer, type TransferList, type TransferListItem, type TransferStatus, type TransferType, type User, type VerifyIdentityAddress, type VerifyIdentityOptions, type VerifyIdentityResult, type VerifyIdentityScores, type VerifyTransferRequest, type components, formatScopeForEnvironment, formatScopesForEnvironment, getAvailableEnvironments, getEnvironmentConfig, isApiError, isAuthenticationError, isConsentRequiredError, isEdgeError, isIdentityVerificationError, isNetworkError, isProductionEnvironment, isValidScope, type operations, parseScope, type paths };
|
|
3057
|
+
export { ALL_EDGE_SCOPES, type ApiError, type Balance, type ConsentRequiredError, type CreateVerificationSessionRequest, EDGE_ENVIRONMENTS, EDGE_SCOPES, EdgeApiError, EdgeAuthenticationError, EdgeConsentRequiredError, type EdgeEnvironment, type EdgeEnvironmentConfig, EdgeError, EdgeIdentityVerificationError, EdgeInsufficientScopeError, type EdgeLinkConfigBase, type EdgeLinkEvent, type EdgeLinkEventName, type EdgeLinkExit, type EdgeLinkSuccess, EdgeNetworkError, EdgeNotFoundError, EdgePopupBlockedError, EdgePopupClosedError, type EdgeScope, EdgeStateMismatchError, EdgeTokenExchangeError, type EdgeTokens, EdgeValidationError, type InitiateTransferRequest, type ListTransfersParams, OTP_METHODS, type OtpMethod, type PKCEPair, type RevokeConsentResponse, SCOPE_DESCRIPTIONS, SCOPE_ICONS, SDK_NAME, SDK_VERSION, TRANSFER_STATUSES, TRANSFER_TYPES, type Transfer, type TransferList, type TransferListItem, type TransferStatus, type TransferType, type User, type VerificationSession, type VerificationSessionStatus, type VerificationSessionStatusResponse, type VerifyIdentityAddress, type VerifyIdentityOptions, type VerifyIdentityResult, type VerifyIdentityScores, type VerifyTransferRequest, type components, formatScopeForEnvironment, formatScopesForEnvironment, getAvailableEnvironments, getEnvironmentConfig, isApiError, isAuthenticationError, isConsentRequiredError, isEdgeError, isIdentityVerificationError, isNetworkError, isProductionEnvironment, isValidScope, type operations, parseScope, type paths };
|