@edge-markets/connect 1.3.0 → 1.5.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 +277 -161
- package/dist/index.d.ts +277 -161
- package/dist/index.js +10 -1
- package/dist/index.mjs +9 -1
- package/package.json +1 -1
package/dist/index.d.ts
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;
|
|
@@ -1024,6 +1024,20 @@ interface components {
|
|
|
1024
1024
|
* @example Doe
|
|
1025
1025
|
*/
|
|
1026
1026
|
lastName: string;
|
|
1027
|
+
/** @description Street address */
|
|
1028
|
+
address?: string;
|
|
1029
|
+
/** @description City */
|
|
1030
|
+
city?: string;
|
|
1031
|
+
/** @description US state code */
|
|
1032
|
+
state?: string;
|
|
1033
|
+
/** @description Postal code */
|
|
1034
|
+
zip?: string;
|
|
1035
|
+
/** @description Phone number */
|
|
1036
|
+
phone?: string;
|
|
1037
|
+
/** @description Date of birth */
|
|
1038
|
+
dateOfBirth?: string;
|
|
1039
|
+
/** @description Whether the user has completed KYC verification */
|
|
1040
|
+
verified: boolean;
|
|
1027
1041
|
/**
|
|
1028
1042
|
* Format: date-time
|
|
1029
1043
|
* @description Account creation timestamp
|
|
@@ -1038,7 +1052,12 @@ interface components {
|
|
|
1038
1052
|
*/
|
|
1039
1053
|
userId: string;
|
|
1040
1054
|
/**
|
|
1041
|
-
* @description
|
|
1055
|
+
* @description Current total balance in USD (includes pending holds)
|
|
1056
|
+
* @example 1250.5
|
|
1057
|
+
*/
|
|
1058
|
+
currentBalance: number;
|
|
1059
|
+
/**
|
|
1060
|
+
* @description Available balance in USD (funds available for transfer)
|
|
1042
1061
|
* @example 1250.5
|
|
1043
1062
|
*/
|
|
1044
1063
|
availableBalance: number;
|
|
@@ -1059,7 +1078,7 @@ interface components {
|
|
|
1059
1078
|
* @example debit
|
|
1060
1079
|
* @enum {string}
|
|
1061
1080
|
*/
|
|
1062
|
-
type:
|
|
1081
|
+
type: 'debit' | 'credit';
|
|
1063
1082
|
/**
|
|
1064
1083
|
* @description Amount to transfer in USD (as string to preserve precision)
|
|
1065
1084
|
* @example 100.00
|
|
@@ -1082,13 +1101,13 @@ interface components {
|
|
|
1082
1101
|
* @example pending_verification
|
|
1083
1102
|
* @enum {string}
|
|
1084
1103
|
*/
|
|
1085
|
-
status:
|
|
1104
|
+
status: 'pending_verification' | 'completed' | 'failed' | 'expired';
|
|
1086
1105
|
/**
|
|
1087
1106
|
* @description OTP method to use for verification (only present when status is pending_verification)
|
|
1088
1107
|
* @example sms
|
|
1089
1108
|
* @enum {string}
|
|
1090
1109
|
*/
|
|
1091
|
-
otpMethod?:
|
|
1110
|
+
otpMethod?: 'sms' | 'totp' | 'email';
|
|
1092
1111
|
};
|
|
1093
1112
|
TransferListItemDto: {
|
|
1094
1113
|
/**
|
|
@@ -1101,7 +1120,7 @@ interface components {
|
|
|
1101
1120
|
* @example debit
|
|
1102
1121
|
* @enum {string}
|
|
1103
1122
|
*/
|
|
1104
|
-
type:
|
|
1123
|
+
type: 'debit' | 'credit';
|
|
1105
1124
|
/**
|
|
1106
1125
|
* @description Transfer amount in USD
|
|
1107
1126
|
* @example 100
|
|
@@ -1112,7 +1131,7 @@ interface components {
|
|
|
1112
1131
|
* @example completed
|
|
1113
1132
|
* @enum {string}
|
|
1114
1133
|
*/
|
|
1115
|
-
status:
|
|
1134
|
+
status: 'pending_verification' | 'completed' | 'failed' | 'expired';
|
|
1116
1135
|
/**
|
|
1117
1136
|
* Format: date-time
|
|
1118
1137
|
* @description Transfer creation timestamp
|
|
@@ -1128,7 +1147,7 @@ interface components {
|
|
|
1128
1147
|
};
|
|
1129
1148
|
ListTransfersResponseDto: {
|
|
1130
1149
|
/** @description Array of transfers */
|
|
1131
|
-
transfers: components[
|
|
1150
|
+
transfers: components['schemas']['TransferListItemDto'][];
|
|
1132
1151
|
/**
|
|
1133
1152
|
* @description Total number of transfers matching the query
|
|
1134
1153
|
* @example 42
|
|
@@ -1166,7 +1185,7 @@ interface operations {
|
|
|
1166
1185
|
};
|
|
1167
1186
|
requestBody: {
|
|
1168
1187
|
content: {
|
|
1169
|
-
|
|
1188
|
+
'application/json': components['schemas']['RegisterDto'];
|
|
1170
1189
|
};
|
|
1171
1190
|
};
|
|
1172
1191
|
responses: {
|
|
@@ -1187,7 +1206,7 @@ interface operations {
|
|
|
1187
1206
|
};
|
|
1188
1207
|
requestBody: {
|
|
1189
1208
|
content: {
|
|
1190
|
-
|
|
1209
|
+
'application/json': components['schemas']['VerifyEmailOTPDto'];
|
|
1191
1210
|
};
|
|
1192
1211
|
};
|
|
1193
1212
|
responses: {
|
|
@@ -1208,7 +1227,7 @@ interface operations {
|
|
|
1208
1227
|
};
|
|
1209
1228
|
requestBody: {
|
|
1210
1229
|
content: {
|
|
1211
|
-
|
|
1230
|
+
'application/json': components['schemas']['AcceptTermsDto'];
|
|
1212
1231
|
};
|
|
1213
1232
|
};
|
|
1214
1233
|
responses: {
|
|
@@ -1229,7 +1248,7 @@ interface operations {
|
|
|
1229
1248
|
};
|
|
1230
1249
|
requestBody: {
|
|
1231
1250
|
content: {
|
|
1232
|
-
|
|
1251
|
+
'application/json': components['schemas']['CompleteProfileDto'];
|
|
1233
1252
|
};
|
|
1234
1253
|
};
|
|
1235
1254
|
responses: {
|
|
@@ -1250,7 +1269,7 @@ interface operations {
|
|
|
1250
1269
|
};
|
|
1251
1270
|
requestBody: {
|
|
1252
1271
|
content: {
|
|
1253
|
-
|
|
1272
|
+
'application/json': components['schemas']['UpdateSSNDto'];
|
|
1254
1273
|
};
|
|
1255
1274
|
};
|
|
1256
1275
|
responses: {
|
|
@@ -1271,7 +1290,7 @@ interface operations {
|
|
|
1271
1290
|
};
|
|
1272
1291
|
requestBody: {
|
|
1273
1292
|
content: {
|
|
1274
|
-
|
|
1293
|
+
'application/json': components['schemas']['SetupMfaDto'];
|
|
1275
1294
|
};
|
|
1276
1295
|
};
|
|
1277
1296
|
responses: {
|
|
@@ -1309,7 +1328,7 @@ interface operations {
|
|
|
1309
1328
|
};
|
|
1310
1329
|
requestBody: {
|
|
1311
1330
|
content: {
|
|
1312
|
-
|
|
1331
|
+
'application/json': components['schemas']['VerifyMfaSetupDto'];
|
|
1313
1332
|
};
|
|
1314
1333
|
};
|
|
1315
1334
|
responses: {
|
|
@@ -1330,7 +1349,7 @@ interface operations {
|
|
|
1330
1349
|
};
|
|
1331
1350
|
requestBody: {
|
|
1332
1351
|
content: {
|
|
1333
|
-
|
|
1352
|
+
'application/json': components['schemas']['VerifyMfaSetupDto'];
|
|
1334
1353
|
};
|
|
1335
1354
|
};
|
|
1336
1355
|
responses: {
|
|
@@ -1351,7 +1370,7 @@ interface operations {
|
|
|
1351
1370
|
};
|
|
1352
1371
|
requestBody: {
|
|
1353
1372
|
content: {
|
|
1354
|
-
|
|
1373
|
+
'application/json': components['schemas']['InitiateLoginDto'];
|
|
1355
1374
|
};
|
|
1356
1375
|
};
|
|
1357
1376
|
responses: {
|
|
@@ -1372,7 +1391,7 @@ interface operations {
|
|
|
1372
1391
|
};
|
|
1373
1392
|
requestBody: {
|
|
1374
1393
|
content: {
|
|
1375
|
-
|
|
1394
|
+
'application/json': components['schemas']['VerifyLoginOTPDto'];
|
|
1376
1395
|
};
|
|
1377
1396
|
};
|
|
1378
1397
|
responses: {
|
|
@@ -1393,7 +1412,7 @@ interface operations {
|
|
|
1393
1412
|
};
|
|
1394
1413
|
requestBody: {
|
|
1395
1414
|
content: {
|
|
1396
|
-
|
|
1415
|
+
'application/json': components['schemas']['VerifyMfaDto'];
|
|
1397
1416
|
};
|
|
1398
1417
|
};
|
|
1399
1418
|
responses: {
|
|
@@ -1414,7 +1433,7 @@ interface operations {
|
|
|
1414
1433
|
};
|
|
1415
1434
|
requestBody: {
|
|
1416
1435
|
content: {
|
|
1417
|
-
|
|
1436
|
+
'application/json': components['schemas']['ResendEmailOTPDto'];
|
|
1418
1437
|
};
|
|
1419
1438
|
};
|
|
1420
1439
|
responses: {
|
|
@@ -1435,7 +1454,7 @@ interface operations {
|
|
|
1435
1454
|
};
|
|
1436
1455
|
requestBody: {
|
|
1437
1456
|
content: {
|
|
1438
|
-
|
|
1457
|
+
'application/json': components['schemas']['ResendSMSMFADto'];
|
|
1439
1458
|
};
|
|
1440
1459
|
};
|
|
1441
1460
|
responses: {
|
|
@@ -1456,7 +1475,7 @@ interface operations {
|
|
|
1456
1475
|
};
|
|
1457
1476
|
requestBody: {
|
|
1458
1477
|
content: {
|
|
1459
|
-
|
|
1478
|
+
'application/json': components['schemas']['RefreshTokenDto'];
|
|
1460
1479
|
};
|
|
1461
1480
|
};
|
|
1462
1481
|
responses: {
|
|
@@ -1511,7 +1530,7 @@ interface operations {
|
|
|
1511
1530
|
};
|
|
1512
1531
|
requestBody: {
|
|
1513
1532
|
content: {
|
|
1514
|
-
|
|
1533
|
+
'application/json': components['schemas']['UpdateProfileDto'];
|
|
1515
1534
|
};
|
|
1516
1535
|
};
|
|
1517
1536
|
responses: {
|
|
@@ -1532,7 +1551,7 @@ interface operations {
|
|
|
1532
1551
|
};
|
|
1533
1552
|
requestBody: {
|
|
1534
1553
|
content: {
|
|
1535
|
-
|
|
1554
|
+
'application/json': components['schemas']['FillAccountVIPDto'];
|
|
1536
1555
|
};
|
|
1537
1556
|
};
|
|
1538
1557
|
responses: {
|
|
@@ -1553,7 +1572,7 @@ interface operations {
|
|
|
1553
1572
|
};
|
|
1554
1573
|
requestBody: {
|
|
1555
1574
|
content: {
|
|
1556
|
-
|
|
1575
|
+
'application/json': components['schemas']['LogoutDto'];
|
|
1557
1576
|
};
|
|
1558
1577
|
};
|
|
1559
1578
|
responses: {
|
|
@@ -1625,7 +1644,7 @@ interface operations {
|
|
|
1625
1644
|
};
|
|
1626
1645
|
requestBody: {
|
|
1627
1646
|
content: {
|
|
1628
|
-
|
|
1647
|
+
'application/json': components['schemas']['CommitPinChangeBodyDto'];
|
|
1629
1648
|
};
|
|
1630
1649
|
};
|
|
1631
1650
|
responses: {
|
|
@@ -1663,7 +1682,7 @@ interface operations {
|
|
|
1663
1682
|
};
|
|
1664
1683
|
requestBody: {
|
|
1665
1684
|
content: {
|
|
1666
|
-
|
|
1685
|
+
'application/json': components['schemas']['MarkUsersDto'];
|
|
1667
1686
|
};
|
|
1668
1687
|
};
|
|
1669
1688
|
responses: {
|
|
@@ -1684,7 +1703,7 @@ interface operations {
|
|
|
1684
1703
|
};
|
|
1685
1704
|
requestBody: {
|
|
1686
1705
|
content: {
|
|
1687
|
-
|
|
1706
|
+
'application/json': components['schemas']['BatchValidationDto'];
|
|
1688
1707
|
};
|
|
1689
1708
|
};
|
|
1690
1709
|
responses: {
|
|
@@ -1705,7 +1724,7 @@ interface operations {
|
|
|
1705
1724
|
};
|
|
1706
1725
|
requestBody: {
|
|
1707
1726
|
content: {
|
|
1708
|
-
|
|
1727
|
+
'application/json': components['schemas']['PreviewMigrationDto'];
|
|
1709
1728
|
};
|
|
1710
1729
|
};
|
|
1711
1730
|
responses: {
|
|
@@ -1726,7 +1745,7 @@ interface operations {
|
|
|
1726
1745
|
};
|
|
1727
1746
|
requestBody: {
|
|
1728
1747
|
content: {
|
|
1729
|
-
|
|
1748
|
+
'application/json': components['schemas']['TriggerMigrationDto'];
|
|
1730
1749
|
};
|
|
1731
1750
|
};
|
|
1732
1751
|
responses: {
|
|
@@ -1809,7 +1828,7 @@ interface operations {
|
|
|
1809
1828
|
[name: string]: unknown;
|
|
1810
1829
|
};
|
|
1811
1830
|
content: {
|
|
1812
|
-
|
|
1831
|
+
'application/json': components['schemas']['ConnectUserResponseDto'];
|
|
1813
1832
|
};
|
|
1814
1833
|
};
|
|
1815
1834
|
/** @description Invalid or expired access token */
|
|
@@ -1818,7 +1837,7 @@ interface operations {
|
|
|
1818
1837
|
[name: string]: unknown;
|
|
1819
1838
|
};
|
|
1820
1839
|
content: {
|
|
1821
|
-
|
|
1840
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
1822
1841
|
};
|
|
1823
1842
|
};
|
|
1824
1843
|
/** @description User consent required or insufficient scope */
|
|
@@ -1827,7 +1846,7 @@ interface operations {
|
|
|
1827
1846
|
[name: string]: unknown;
|
|
1828
1847
|
};
|
|
1829
1848
|
content: {
|
|
1830
|
-
|
|
1849
|
+
'application/json': components['schemas']['ConsentRequiredErrorDto'];
|
|
1831
1850
|
};
|
|
1832
1851
|
};
|
|
1833
1852
|
};
|
|
@@ -1847,7 +1866,7 @@ interface operations {
|
|
|
1847
1866
|
[name: string]: unknown;
|
|
1848
1867
|
};
|
|
1849
1868
|
content: {
|
|
1850
|
-
|
|
1869
|
+
'application/json': components['schemas']['ConnectBalanceResponseDto'];
|
|
1851
1870
|
};
|
|
1852
1871
|
};
|
|
1853
1872
|
/** @description Invalid or expired access token */
|
|
@@ -1856,7 +1875,7 @@ interface operations {
|
|
|
1856
1875
|
[name: string]: unknown;
|
|
1857
1876
|
};
|
|
1858
1877
|
content: {
|
|
1859
|
-
|
|
1878
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
1860
1879
|
};
|
|
1861
1880
|
};
|
|
1862
1881
|
/** @description User consent required or insufficient scope */
|
|
@@ -1865,7 +1884,7 @@ interface operations {
|
|
|
1865
1884
|
[name: string]: unknown;
|
|
1866
1885
|
};
|
|
1867
1886
|
content: {
|
|
1868
|
-
|
|
1887
|
+
'application/json': components['schemas']['ConsentRequiredErrorDto'];
|
|
1869
1888
|
};
|
|
1870
1889
|
};
|
|
1871
1890
|
};
|
|
@@ -1879,7 +1898,7 @@ interface operations {
|
|
|
1879
1898
|
};
|
|
1880
1899
|
requestBody: {
|
|
1881
1900
|
content: {
|
|
1882
|
-
|
|
1901
|
+
'application/json': components['schemas']['InitiateTransferRequestDto'];
|
|
1883
1902
|
};
|
|
1884
1903
|
};
|
|
1885
1904
|
responses: {
|
|
@@ -1889,7 +1908,7 @@ interface operations {
|
|
|
1889
1908
|
[name: string]: unknown;
|
|
1890
1909
|
};
|
|
1891
1910
|
content: {
|
|
1892
|
-
|
|
1911
|
+
'application/json': components['schemas']['TransferResponseDto'];
|
|
1893
1912
|
};
|
|
1894
1913
|
};
|
|
1895
1914
|
/** @description Invalid request (amount, balance, etc.) */
|
|
@@ -1898,7 +1917,7 @@ interface operations {
|
|
|
1898
1917
|
[name: string]: unknown;
|
|
1899
1918
|
};
|
|
1900
1919
|
content: {
|
|
1901
|
-
|
|
1920
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
1902
1921
|
};
|
|
1903
1922
|
};
|
|
1904
1923
|
/** @description Invalid or expired access token */
|
|
@@ -1907,7 +1926,7 @@ interface operations {
|
|
|
1907
1926
|
[name: string]: unknown;
|
|
1908
1927
|
};
|
|
1909
1928
|
content: {
|
|
1910
|
-
|
|
1929
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
1911
1930
|
};
|
|
1912
1931
|
};
|
|
1913
1932
|
/** @description User consent required or insufficient scope */
|
|
@@ -1916,7 +1935,7 @@ interface operations {
|
|
|
1916
1935
|
[name: string]: unknown;
|
|
1917
1936
|
};
|
|
1918
1937
|
content: {
|
|
1919
|
-
|
|
1938
|
+
'application/json': components['schemas']['ConsentRequiredErrorDto'];
|
|
1920
1939
|
};
|
|
1921
1940
|
};
|
|
1922
1941
|
};
|
|
@@ -1939,7 +1958,7 @@ interface operations {
|
|
|
1939
1958
|
[name: string]: unknown;
|
|
1940
1959
|
};
|
|
1941
1960
|
content: {
|
|
1942
|
-
|
|
1961
|
+
'application/json': components['schemas']['TransferResponseDto'];
|
|
1943
1962
|
};
|
|
1944
1963
|
};
|
|
1945
1964
|
/** @description Invalid or expired access token */
|
|
@@ -1948,7 +1967,7 @@ interface operations {
|
|
|
1948
1967
|
[name: string]: unknown;
|
|
1949
1968
|
};
|
|
1950
1969
|
content: {
|
|
1951
|
-
|
|
1970
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
1952
1971
|
};
|
|
1953
1972
|
};
|
|
1954
1973
|
/** @description User consent required or insufficient scope */
|
|
@@ -1957,7 +1976,7 @@ interface operations {
|
|
|
1957
1976
|
[name: string]: unknown;
|
|
1958
1977
|
};
|
|
1959
1978
|
content: {
|
|
1960
|
-
|
|
1979
|
+
'application/json': components['schemas']['ConsentRequiredErrorDto'];
|
|
1961
1980
|
};
|
|
1962
1981
|
};
|
|
1963
1982
|
/** @description Transfer not found */
|
|
@@ -1966,7 +1985,7 @@ interface operations {
|
|
|
1966
1985
|
[name: string]: unknown;
|
|
1967
1986
|
};
|
|
1968
1987
|
content: {
|
|
1969
|
-
|
|
1988
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
1970
1989
|
};
|
|
1971
1990
|
};
|
|
1972
1991
|
};
|
|
@@ -1979,7 +1998,7 @@ interface operations {
|
|
|
1979
1998
|
/** @description Number of transfers to skip (for pagination) */
|
|
1980
1999
|
offset?: number;
|
|
1981
2000
|
/** @description Filter by transfer status */
|
|
1982
|
-
status?:
|
|
2001
|
+
status?: 'pending_verification' | 'completed' | 'failed' | 'expired';
|
|
1983
2002
|
};
|
|
1984
2003
|
header?: never;
|
|
1985
2004
|
path?: never;
|
|
@@ -1993,7 +2012,7 @@ interface operations {
|
|
|
1993
2012
|
[name: string]: unknown;
|
|
1994
2013
|
};
|
|
1995
2014
|
content: {
|
|
1996
|
-
|
|
2015
|
+
'application/json': components['schemas']['ListTransfersResponseDto'];
|
|
1997
2016
|
};
|
|
1998
2017
|
};
|
|
1999
2018
|
/** @description Invalid or expired access token */
|
|
@@ -2002,7 +2021,7 @@ interface operations {
|
|
|
2002
2021
|
[name: string]: unknown;
|
|
2003
2022
|
};
|
|
2004
2023
|
content: {
|
|
2005
|
-
|
|
2024
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
2006
2025
|
};
|
|
2007
2026
|
};
|
|
2008
2027
|
/** @description User consent required or insufficient scope */
|
|
@@ -2011,7 +2030,7 @@ interface operations {
|
|
|
2011
2030
|
[name: string]: unknown;
|
|
2012
2031
|
};
|
|
2013
2032
|
content: {
|
|
2014
|
-
|
|
2033
|
+
'application/json': components['schemas']['ConsentRequiredErrorDto'];
|
|
2015
2034
|
};
|
|
2016
2035
|
};
|
|
2017
2036
|
};
|
|
@@ -2028,7 +2047,7 @@ interface operations {
|
|
|
2028
2047
|
};
|
|
2029
2048
|
requestBody: {
|
|
2030
2049
|
content: {
|
|
2031
|
-
|
|
2050
|
+
'application/json': components['schemas']['VerifyTransferRequestDto'];
|
|
2032
2051
|
};
|
|
2033
2052
|
};
|
|
2034
2053
|
responses: {
|
|
@@ -2038,7 +2057,7 @@ interface operations {
|
|
|
2038
2057
|
[name: string]: unknown;
|
|
2039
2058
|
};
|
|
2040
2059
|
content: {
|
|
2041
|
-
|
|
2060
|
+
'application/json': components['schemas']['TransferResponseDto'];
|
|
2042
2061
|
};
|
|
2043
2062
|
};
|
|
2044
2063
|
/** @description Invalid OTP or transfer expired */
|
|
@@ -2047,7 +2066,7 @@ interface operations {
|
|
|
2047
2066
|
[name: string]: unknown;
|
|
2048
2067
|
};
|
|
2049
2068
|
content: {
|
|
2050
|
-
|
|
2069
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
2051
2070
|
};
|
|
2052
2071
|
};
|
|
2053
2072
|
/** @description Invalid or expired access token */
|
|
@@ -2056,7 +2075,7 @@ interface operations {
|
|
|
2056
2075
|
[name: string]: unknown;
|
|
2057
2076
|
};
|
|
2058
2077
|
content: {
|
|
2059
|
-
|
|
2078
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
2060
2079
|
};
|
|
2061
2080
|
};
|
|
2062
2081
|
/** @description User consent required or insufficient scope */
|
|
@@ -2065,7 +2084,7 @@ interface operations {
|
|
|
2065
2084
|
[name: string]: unknown;
|
|
2066
2085
|
};
|
|
2067
2086
|
content: {
|
|
2068
|
-
|
|
2087
|
+
'application/json': components['schemas']['ConsentRequiredErrorDto'];
|
|
2069
2088
|
};
|
|
2070
2089
|
};
|
|
2071
2090
|
/** @description Transfer not found */
|
|
@@ -2074,7 +2093,7 @@ interface operations {
|
|
|
2074
2093
|
[name: string]: unknown;
|
|
2075
2094
|
};
|
|
2076
2095
|
content: {
|
|
2077
|
-
|
|
2096
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
2078
2097
|
};
|
|
2079
2098
|
};
|
|
2080
2099
|
};
|
|
@@ -2094,7 +2113,7 @@ interface operations {
|
|
|
2094
2113
|
[name: string]: unknown;
|
|
2095
2114
|
};
|
|
2096
2115
|
content: {
|
|
2097
|
-
|
|
2116
|
+
'application/json': components['schemas']['RevokeConsentResponseDto'];
|
|
2098
2117
|
};
|
|
2099
2118
|
};
|
|
2100
2119
|
/** @description Invalid or expired access token */
|
|
@@ -2103,7 +2122,7 @@ interface operations {
|
|
|
2103
2122
|
[name: string]: unknown;
|
|
2104
2123
|
};
|
|
2105
2124
|
content: {
|
|
2106
|
-
|
|
2125
|
+
'application/json': components['schemas']['ErrorResponseDto'];
|
|
2107
2126
|
};
|
|
2108
2127
|
};
|
|
2109
2128
|
};
|
|
@@ -2355,9 +2374,21 @@ interface operations {
|
|
|
2355
2374
|
* ```typescript
|
|
2356
2375
|
* const user: User = await edge.getUser(accessToken)
|
|
2357
2376
|
* console.log(`Welcome, ${user.firstName}!`)
|
|
2377
|
+
* console.log(`Verified: ${user.verified}`)
|
|
2378
|
+
* console.log(`State: ${user.address?.state}`)
|
|
2358
2379
|
* ```
|
|
2359
2380
|
*/
|
|
2360
|
-
|
|
2381
|
+
interface User {
|
|
2382
|
+
id: string;
|
|
2383
|
+
email: string;
|
|
2384
|
+
firstName: string;
|
|
2385
|
+
lastName: string;
|
|
2386
|
+
phone?: string | null;
|
|
2387
|
+
dateOfBirth?: string | null;
|
|
2388
|
+
verified?: boolean;
|
|
2389
|
+
address?: UserAddress | null;
|
|
2390
|
+
createdAt: string;
|
|
2391
|
+
}
|
|
2361
2392
|
/**
|
|
2362
2393
|
* User's EdgeBoost account balance.
|
|
2363
2394
|
*
|
|
@@ -2432,14 +2463,24 @@ type TransferType = 'debit' | 'credit';
|
|
|
2432
2463
|
* - `failed`: Transfer failed (insufficient funds, invalid OTP, etc.)
|
|
2433
2464
|
* - `expired`: OTP verification window expired
|
|
2434
2465
|
*/
|
|
2435
|
-
type TransferStatus = 'pending_verification' | 'completed' | 'failed' | 'expired';
|
|
2466
|
+
type TransferStatus = 'pending_verification' | 'processing' | 'completed' | 'failed' | 'expired';
|
|
2467
|
+
/**
|
|
2468
|
+
* Transaction category for settlement window determination.
|
|
2469
|
+
*
|
|
2470
|
+
* - `sportsbook` / `dfs`: T+1 settlement
|
|
2471
|
+
* - `casino` / `sweepstakes`: T+0 settlement
|
|
2472
|
+
*
|
|
2473
|
+
* When omitted, the partner's default settlement window is used.
|
|
2474
|
+
*/
|
|
2475
|
+
type TransferCategory = 'sportsbook' | 'casino' | 'dfs' | 'sweepstakes';
|
|
2436
2476
|
/**
|
|
2437
2477
|
* OTP delivery method for transfer verification.
|
|
2438
2478
|
*
|
|
2439
2479
|
* - `sms`: OTP sent via SMS to user's phone
|
|
2440
2480
|
* - `totp`: User generates OTP from authenticator app
|
|
2481
|
+
* - `email`: OTP sent via email to user's account email
|
|
2441
2482
|
*/
|
|
2442
|
-
type OtpMethod = 'sms' | 'totp';
|
|
2483
|
+
type OtpMethod = 'sms' | 'totp' | 'email';
|
|
2443
2484
|
/**
|
|
2444
2485
|
* Parameters for listing transfers.
|
|
2445
2486
|
*/
|
|
@@ -2505,6 +2546,77 @@ interface VerifyIdentityResult {
|
|
|
2505
2546
|
verified: true;
|
|
2506
2547
|
scores: VerifyIdentityScores;
|
|
2507
2548
|
}
|
|
2549
|
+
/**
|
|
2550
|
+
* Geolocation data collected by the SDK from the browser or device.
|
|
2551
|
+
*
|
|
2552
|
+
* Passed to the server during transfer verification for cross-referencing
|
|
2553
|
+
* against IP-based geolocation. Collection is always optional — the SDK
|
|
2554
|
+
* returns `null` if the user denies permission or the API is unavailable.
|
|
2555
|
+
*
|
|
2556
|
+
* @example
|
|
2557
|
+
* ```typescript
|
|
2558
|
+
* import { collectGeolocation } from '@edge-markets/connect-link'
|
|
2559
|
+
*
|
|
2560
|
+
* const geo = await collectGeolocation()
|
|
2561
|
+
* // geo: { latitude: 30.267, longitude: -97.743, accuracy: 25, timestamp: '2026-...' }
|
|
2562
|
+
* ```
|
|
2563
|
+
*/
|
|
2564
|
+
interface SdkGeolocation {
|
|
2565
|
+
/** Latitude in decimal degrees */
|
|
2566
|
+
latitude: number;
|
|
2567
|
+
/** Longitude in decimal degrees */
|
|
2568
|
+
longitude: number;
|
|
2569
|
+
/** Accuracy of the position in meters */
|
|
2570
|
+
accuracy?: number;
|
|
2571
|
+
/** ISO 8601 timestamp of when the position was captured */
|
|
2572
|
+
timestamp: string;
|
|
2573
|
+
}
|
|
2574
|
+
/**
|
|
2575
|
+
* User's address on file with EdgeBoost.
|
|
2576
|
+
* All fields are nullable — only populated fields are returned.
|
|
2577
|
+
*/
|
|
2578
|
+
interface UserAddress {
|
|
2579
|
+
/** Street address line 1 */
|
|
2580
|
+
address1?: string | null;
|
|
2581
|
+
/** Street address line 2 (apartment, suite, etc.) */
|
|
2582
|
+
address2?: string | null;
|
|
2583
|
+
/** City */
|
|
2584
|
+
city?: string | null;
|
|
2585
|
+
/** US state code (e.g. "TX") */
|
|
2586
|
+
state?: string | null;
|
|
2587
|
+
/** ZIP / postal code */
|
|
2588
|
+
zip?: string | null;
|
|
2589
|
+
}
|
|
2590
|
+
/**
|
|
2591
|
+
* Request payload for creating a hosted verification session.
|
|
2592
|
+
*/
|
|
2593
|
+
interface CreateVerificationSessionRequest {
|
|
2594
|
+
/** HTTPS origin of your frontend for postMessage origin validation. */
|
|
2595
|
+
origin: string;
|
|
2596
|
+
}
|
|
2597
|
+
/**
|
|
2598
|
+
* Response from creating a hosted verification session.
|
|
2599
|
+
*/
|
|
2600
|
+
interface VerificationSession {
|
|
2601
|
+
/** Unique verification session identifier for correlation. */
|
|
2602
|
+
sessionId: string;
|
|
2603
|
+
/** URL to open in an iframe or popup. Single-use, expires in 120 seconds. */
|
|
2604
|
+
verificationUrl: string;
|
|
2605
|
+
/** ISO 8601 timestamp when the handoff token expires. */
|
|
2606
|
+
expiresAt: string;
|
|
2607
|
+
}
|
|
2608
|
+
/**
|
|
2609
|
+
* Verification session status values.
|
|
2610
|
+
*/
|
|
2611
|
+
type VerificationSessionStatus = 'pending' | 'active' | 'completed' | 'failed' | 'expired' | 'canceled';
|
|
2612
|
+
/**
|
|
2613
|
+
* Response from polling a verification session's status.
|
|
2614
|
+
*/
|
|
2615
|
+
interface VerificationSessionStatusResponse {
|
|
2616
|
+
sessionId: string;
|
|
2617
|
+
status: VerificationSessionStatus;
|
|
2618
|
+
transferStatus: TransferStatus;
|
|
2619
|
+
}
|
|
2508
2620
|
/**
|
|
2509
2621
|
* All possible transfer types.
|
|
2510
2622
|
* Use for validation or building UI select options.
|
|
@@ -2514,11 +2626,15 @@ declare const TRANSFER_TYPES: readonly ["debit", "credit"];
|
|
|
2514
2626
|
* All possible transfer statuses.
|
|
2515
2627
|
* Use for filtering or status display.
|
|
2516
2628
|
*/
|
|
2517
|
-
declare const TRANSFER_STATUSES: readonly ["pending_verification", "completed", "failed", "expired"];
|
|
2629
|
+
declare const TRANSFER_STATUSES: readonly ["pending_verification", "processing", "completed", "failed", "expired"];
|
|
2518
2630
|
/**
|
|
2519
2631
|
* All possible OTP methods.
|
|
2520
2632
|
*/
|
|
2521
|
-
declare const OTP_METHODS: readonly ["sms", "totp"];
|
|
2633
|
+
declare const OTP_METHODS: readonly ["sms", "totp", "email"];
|
|
2634
|
+
/**
|
|
2635
|
+
* All possible transfer categories.
|
|
2636
|
+
*/
|
|
2637
|
+
declare const TRANSFER_CATEGORIES: readonly ["sportsbook", "casino", "dfs", "sweepstakes"];
|
|
2522
2638
|
|
|
2523
2639
|
/**
|
|
2524
2640
|
* EDGE Connect SDK Types
|
|
@@ -3023,4 +3139,4 @@ declare const SDK_VERSION = "1.0.0";
|
|
|
3023
3139
|
*/
|
|
3024
3140
|
declare const SDK_NAME = "@edge-markets/connect";
|
|
3025
3141
|
|
|
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 };
|
|
3142
|
+
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, type SdkGeolocation, TRANSFER_CATEGORIES, TRANSFER_STATUSES, TRANSFER_TYPES, type Transfer, type TransferCategory, type TransferList, type TransferListItem, type TransferStatus, type TransferType, type User, type UserAddress, 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 };
|