@dfns/sdk 0.7.0 → 0.7.1-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/exchanges/types.d.ts +416 -0
- package/generated/policies/types.d.ts +468 -582
- package/generated/wallets/types.d.ts +624 -564
- package/package.json +1 -1
|
@@ -251,6 +251,19 @@ export type CreateApprovalDecisionResponse = {
|
|
|
251
251
|
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
252
252
|
createDestinationAccount?: boolean | undefined;
|
|
253
253
|
externalId?: string | undefined;
|
|
254
|
+
travelRule?: ({
|
|
255
|
+
kind: "Notabene";
|
|
256
|
+
beneficiaryVASPdid: string;
|
|
257
|
+
beneficiaryProof?: {
|
|
258
|
+
[x: string]: any;
|
|
259
|
+
} | undefined;
|
|
260
|
+
originator: {
|
|
261
|
+
[x: string]: any;
|
|
262
|
+
};
|
|
263
|
+
beneficiary: {
|
|
264
|
+
[x: string]: any;
|
|
265
|
+
};
|
|
266
|
+
}) | undefined;
|
|
254
267
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
255
268
|
feeSponsorId?: string | undefined;
|
|
256
269
|
} | {
|
|
@@ -259,6 +272,19 @@ export type CreateApprovalDecisionResponse = {
|
|
|
259
272
|
to: string;
|
|
260
273
|
amount: string;
|
|
261
274
|
externalId?: string | undefined;
|
|
275
|
+
travelRule?: ({
|
|
276
|
+
kind: "Notabene";
|
|
277
|
+
beneficiaryVASPdid: string;
|
|
278
|
+
beneficiaryProof?: {
|
|
279
|
+
[x: string]: any;
|
|
280
|
+
} | undefined;
|
|
281
|
+
originator: {
|
|
282
|
+
[x: string]: any;
|
|
283
|
+
};
|
|
284
|
+
beneficiary: {
|
|
285
|
+
[x: string]: any;
|
|
286
|
+
};
|
|
287
|
+
}) | undefined;
|
|
262
288
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
263
289
|
feeSponsorId?: string | undefined;
|
|
264
290
|
} | {
|
|
@@ -267,6 +293,19 @@ export type CreateApprovalDecisionResponse = {
|
|
|
267
293
|
to: string;
|
|
268
294
|
amount: string;
|
|
269
295
|
externalId?: string | undefined;
|
|
296
|
+
travelRule?: ({
|
|
297
|
+
kind: "Notabene";
|
|
298
|
+
beneficiaryVASPdid: string;
|
|
299
|
+
beneficiaryProof?: {
|
|
300
|
+
[x: string]: any;
|
|
301
|
+
} | undefined;
|
|
302
|
+
originator: {
|
|
303
|
+
[x: string]: any;
|
|
304
|
+
};
|
|
305
|
+
beneficiary: {
|
|
306
|
+
[x: string]: any;
|
|
307
|
+
};
|
|
308
|
+
}) | undefined;
|
|
270
309
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
271
310
|
feeSponsorId?: string | undefined;
|
|
272
311
|
} | {
|
|
@@ -275,6 +314,19 @@ export type CreateApprovalDecisionResponse = {
|
|
|
275
314
|
to: string;
|
|
276
315
|
amount: string;
|
|
277
316
|
externalId?: string | undefined;
|
|
317
|
+
travelRule?: ({
|
|
318
|
+
kind: "Notabene";
|
|
319
|
+
beneficiaryVASPdid: string;
|
|
320
|
+
beneficiaryProof?: {
|
|
321
|
+
[x: string]: any;
|
|
322
|
+
} | undefined;
|
|
323
|
+
originator: {
|
|
324
|
+
[x: string]: any;
|
|
325
|
+
};
|
|
326
|
+
beneficiary: {
|
|
327
|
+
[x: string]: any;
|
|
328
|
+
};
|
|
329
|
+
}) | undefined;
|
|
278
330
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
279
331
|
feeSponsorId?: string | undefined;
|
|
280
332
|
} | {
|
|
@@ -284,6 +336,19 @@ export type CreateApprovalDecisionResponse = {
|
|
|
284
336
|
amount: string;
|
|
285
337
|
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
286
338
|
externalId?: string | undefined;
|
|
339
|
+
travelRule?: ({
|
|
340
|
+
kind: "Notabene";
|
|
341
|
+
beneficiaryVASPdid: string;
|
|
342
|
+
beneficiaryProof?: {
|
|
343
|
+
[x: string]: any;
|
|
344
|
+
} | undefined;
|
|
345
|
+
originator: {
|
|
346
|
+
[x: string]: any;
|
|
347
|
+
};
|
|
348
|
+
beneficiary: {
|
|
349
|
+
[x: string]: any;
|
|
350
|
+
};
|
|
351
|
+
}) | undefined;
|
|
287
352
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
288
353
|
feeSponsorId?: string | undefined;
|
|
289
354
|
} | {
|
|
@@ -293,6 +358,19 @@ export type CreateApprovalDecisionResponse = {
|
|
|
293
358
|
tokenId: string;
|
|
294
359
|
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
295
360
|
externalId?: string | undefined;
|
|
361
|
+
travelRule?: ({
|
|
362
|
+
kind: "Notabene";
|
|
363
|
+
beneficiaryVASPdid: string;
|
|
364
|
+
beneficiaryProof?: {
|
|
365
|
+
[x: string]: any;
|
|
366
|
+
} | undefined;
|
|
367
|
+
originator: {
|
|
368
|
+
[x: string]: any;
|
|
369
|
+
};
|
|
370
|
+
beneficiary: {
|
|
371
|
+
[x: string]: any;
|
|
372
|
+
};
|
|
373
|
+
}) | undefined;
|
|
296
374
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
297
375
|
feeSponsorId?: string | undefined;
|
|
298
376
|
} | {
|
|
@@ -303,6 +381,19 @@ export type CreateApprovalDecisionResponse = {
|
|
|
303
381
|
amount: string;
|
|
304
382
|
memo?: string | undefined;
|
|
305
383
|
externalId?: string | undefined;
|
|
384
|
+
travelRule?: ({
|
|
385
|
+
kind: "Notabene";
|
|
386
|
+
beneficiaryVASPdid: string;
|
|
387
|
+
beneficiaryProof?: {
|
|
388
|
+
[x: string]: any;
|
|
389
|
+
} | undefined;
|
|
390
|
+
originator: {
|
|
391
|
+
[x: string]: any;
|
|
392
|
+
};
|
|
393
|
+
beneficiary: {
|
|
394
|
+
[x: string]: any;
|
|
395
|
+
};
|
|
396
|
+
}) | undefined;
|
|
306
397
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
307
398
|
feeSponsorId?: string | undefined;
|
|
308
399
|
} | {
|
|
@@ -312,6 +403,19 @@ export type CreateApprovalDecisionResponse = {
|
|
|
312
403
|
mint: string;
|
|
313
404
|
createDestinationAccount?: boolean | undefined;
|
|
314
405
|
externalId?: string | undefined;
|
|
406
|
+
travelRule?: ({
|
|
407
|
+
kind: "Notabene";
|
|
408
|
+
beneficiaryVASPdid: string;
|
|
409
|
+
beneficiaryProof?: {
|
|
410
|
+
[x: string]: any;
|
|
411
|
+
} | undefined;
|
|
412
|
+
originator: {
|
|
413
|
+
[x: string]: any;
|
|
414
|
+
};
|
|
415
|
+
beneficiary: {
|
|
416
|
+
[x: string]: any;
|
|
417
|
+
};
|
|
418
|
+
}) | undefined;
|
|
315
419
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
316
420
|
feeSponsorId?: string | undefined;
|
|
317
421
|
} | {
|
|
@@ -321,6 +425,19 @@ export type CreateApprovalDecisionResponse = {
|
|
|
321
425
|
amount: string;
|
|
322
426
|
memo?: string | undefined;
|
|
323
427
|
externalId?: string | undefined;
|
|
428
|
+
travelRule?: ({
|
|
429
|
+
kind: "Notabene";
|
|
430
|
+
beneficiaryVASPdid: string;
|
|
431
|
+
beneficiaryProof?: {
|
|
432
|
+
[x: string]: any;
|
|
433
|
+
} | undefined;
|
|
434
|
+
originator: {
|
|
435
|
+
[x: string]: any;
|
|
436
|
+
};
|
|
437
|
+
beneficiary: {
|
|
438
|
+
[x: string]: any;
|
|
439
|
+
};
|
|
440
|
+
}) | undefined;
|
|
324
441
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
325
442
|
feeSponsorId?: string | undefined;
|
|
326
443
|
} | {
|
|
@@ -329,6 +446,19 @@ export type CreateApprovalDecisionResponse = {
|
|
|
329
446
|
to: string;
|
|
330
447
|
amount: string;
|
|
331
448
|
externalId?: string | undefined;
|
|
449
|
+
travelRule?: ({
|
|
450
|
+
kind: "Notabene";
|
|
451
|
+
beneficiaryVASPdid: string;
|
|
452
|
+
beneficiaryProof?: {
|
|
453
|
+
[x: string]: any;
|
|
454
|
+
} | undefined;
|
|
455
|
+
originator: {
|
|
456
|
+
[x: string]: any;
|
|
457
|
+
};
|
|
458
|
+
beneficiary: {
|
|
459
|
+
[x: string]: any;
|
|
460
|
+
};
|
|
461
|
+
}) | undefined;
|
|
332
462
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
333
463
|
feeSponsorId?: string | undefined;
|
|
334
464
|
} | {
|
|
@@ -337,6 +467,19 @@ export type CreateApprovalDecisionResponse = {
|
|
|
337
467
|
to: string;
|
|
338
468
|
amount: string;
|
|
339
469
|
externalId?: string | undefined;
|
|
470
|
+
travelRule?: ({
|
|
471
|
+
kind: "Notabene";
|
|
472
|
+
beneficiaryVASPdid: string;
|
|
473
|
+
beneficiaryProof?: {
|
|
474
|
+
[x: string]: any;
|
|
475
|
+
} | undefined;
|
|
476
|
+
originator: {
|
|
477
|
+
[x: string]: any;
|
|
478
|
+
};
|
|
479
|
+
beneficiary: {
|
|
480
|
+
[x: string]: any;
|
|
481
|
+
};
|
|
482
|
+
}) | undefined;
|
|
340
483
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
341
484
|
feeSponsorId?: string | undefined;
|
|
342
485
|
} | {
|
|
@@ -345,6 +488,19 @@ export type CreateApprovalDecisionResponse = {
|
|
|
345
488
|
to: string;
|
|
346
489
|
tokenId: string;
|
|
347
490
|
externalId?: string | undefined;
|
|
491
|
+
travelRule?: ({
|
|
492
|
+
kind: "Notabene";
|
|
493
|
+
beneficiaryVASPdid: string;
|
|
494
|
+
beneficiaryProof?: {
|
|
495
|
+
[x: string]: any;
|
|
496
|
+
} | undefined;
|
|
497
|
+
originator: {
|
|
498
|
+
[x: string]: any;
|
|
499
|
+
};
|
|
500
|
+
beneficiary: {
|
|
501
|
+
[x: string]: any;
|
|
502
|
+
};
|
|
503
|
+
}) | undefined;
|
|
348
504
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
349
505
|
feeSponsorId?: string | undefined;
|
|
350
506
|
};
|
|
@@ -369,194 +525,6 @@ export type CreateApprovalDecisionResponse = {
|
|
|
369
525
|
approvalId?: string | undefined;
|
|
370
526
|
externalId?: string | undefined;
|
|
371
527
|
feeSponsorId?: string | undefined;
|
|
372
|
-
travelRule?: ({
|
|
373
|
-
kind: "Notabene";
|
|
374
|
-
beneficiaryVASPdid?: string | undefined;
|
|
375
|
-
beneficiaryProof?: ({
|
|
376
|
-
type: string;
|
|
377
|
-
proof: string;
|
|
378
|
-
attestation: string;
|
|
379
|
-
address?: string | undefined;
|
|
380
|
-
status?: string | undefined;
|
|
381
|
-
} | {
|
|
382
|
-
type: "screenshot";
|
|
383
|
-
url: string;
|
|
384
|
-
} | {
|
|
385
|
-
type: "self-declaration";
|
|
386
|
-
did?: string | undefined;
|
|
387
|
-
address?: string | undefined;
|
|
388
|
-
attestation: string;
|
|
389
|
-
confirmed?: boolean | undefined;
|
|
390
|
-
status?: string | undefined;
|
|
391
|
-
} | {
|
|
392
|
-
type: "microtransfer";
|
|
393
|
-
did?: string | undefined;
|
|
394
|
-
address?: string | undefined;
|
|
395
|
-
proof: string;
|
|
396
|
-
chain?: string | undefined;
|
|
397
|
-
destination?: string | undefined;
|
|
398
|
-
amountSubunits?: string | undefined;
|
|
399
|
-
status?: string | undefined;
|
|
400
|
-
} | {
|
|
401
|
-
type: string;
|
|
402
|
-
}) | undefined;
|
|
403
|
-
originator: {
|
|
404
|
-
originatorPersons: {
|
|
405
|
-
naturalPerson?: {
|
|
406
|
-
name: {
|
|
407
|
-
nameIdentifier: {
|
|
408
|
-
primaryIdentifier: string;
|
|
409
|
-
secondaryIdentifier: string;
|
|
410
|
-
}[];
|
|
411
|
-
};
|
|
412
|
-
geographicAddress?: {
|
|
413
|
-
addressType?: string | undefined;
|
|
414
|
-
department?: string | undefined;
|
|
415
|
-
subDepartment?: string | undefined;
|
|
416
|
-
streetName?: string | undefined;
|
|
417
|
-
buildingNumber?: string | undefined;
|
|
418
|
-
buildingName?: string | undefined;
|
|
419
|
-
floor?: string | undefined;
|
|
420
|
-
postBox?: string | undefined;
|
|
421
|
-
room?: string | undefined;
|
|
422
|
-
postCode?: string | undefined;
|
|
423
|
-
townName?: string | undefined;
|
|
424
|
-
townLocationName?: string | undefined;
|
|
425
|
-
districtName?: string | undefined;
|
|
426
|
-
countrySubDivision?: string | undefined;
|
|
427
|
-
addressLine?: string[] | undefined;
|
|
428
|
-
country?: string | undefined;
|
|
429
|
-
}[] | undefined;
|
|
430
|
-
customerIdentification?: string | undefined;
|
|
431
|
-
nationalIdentification?: {
|
|
432
|
-
nationalIdentifier: string;
|
|
433
|
-
nationalIdentifierType: string;
|
|
434
|
-
countryOfIssue?: string | undefined;
|
|
435
|
-
registrationAuthority?: string | undefined;
|
|
436
|
-
} | undefined;
|
|
437
|
-
dateAndPlaceOfBirth?: {
|
|
438
|
-
dateOfBirth: string;
|
|
439
|
-
placeOfBirth: string;
|
|
440
|
-
} | undefined;
|
|
441
|
-
countryOfResidence?: string | undefined;
|
|
442
|
-
} | undefined;
|
|
443
|
-
legalPerson?: {
|
|
444
|
-
name: {
|
|
445
|
-
nameIdentifier: {
|
|
446
|
-
legalPersonName: string;
|
|
447
|
-
legalPersonNameIdentifierType: string;
|
|
448
|
-
}[];
|
|
449
|
-
};
|
|
450
|
-
geographicAddress?: {
|
|
451
|
-
addressType?: string | undefined;
|
|
452
|
-
department?: string | undefined;
|
|
453
|
-
subDepartment?: string | undefined;
|
|
454
|
-
streetName?: string | undefined;
|
|
455
|
-
buildingNumber?: string | undefined;
|
|
456
|
-
buildingName?: string | undefined;
|
|
457
|
-
floor?: string | undefined;
|
|
458
|
-
postBox?: string | undefined;
|
|
459
|
-
room?: string | undefined;
|
|
460
|
-
postCode?: string | undefined;
|
|
461
|
-
townName?: string | undefined;
|
|
462
|
-
townLocationName?: string | undefined;
|
|
463
|
-
districtName?: string | undefined;
|
|
464
|
-
countrySubDivision?: string | undefined;
|
|
465
|
-
addressLine?: string[] | undefined;
|
|
466
|
-
country?: string | undefined;
|
|
467
|
-
}[] | undefined;
|
|
468
|
-
customerNumber?: string | undefined;
|
|
469
|
-
nationalIdentification?: {
|
|
470
|
-
nationalIdentifier: string;
|
|
471
|
-
nationalIdentifierType: string;
|
|
472
|
-
countryOfIssue?: string | undefined;
|
|
473
|
-
registrationAuthority?: string | undefined;
|
|
474
|
-
} | undefined;
|
|
475
|
-
dateOfRegistration?: string | undefined;
|
|
476
|
-
countryOfRegistration?: string | undefined;
|
|
477
|
-
} | undefined;
|
|
478
|
-
}[];
|
|
479
|
-
accountNumber?: string[] | undefined;
|
|
480
|
-
};
|
|
481
|
-
beneficiary: {
|
|
482
|
-
beneficiaryPersons: {
|
|
483
|
-
naturalPerson?: {
|
|
484
|
-
name: {
|
|
485
|
-
nameIdentifier: {
|
|
486
|
-
primaryIdentifier: string;
|
|
487
|
-
secondaryIdentifier: string;
|
|
488
|
-
}[];
|
|
489
|
-
};
|
|
490
|
-
geographicAddress?: {
|
|
491
|
-
addressType?: string | undefined;
|
|
492
|
-
department?: string | undefined;
|
|
493
|
-
subDepartment?: string | undefined;
|
|
494
|
-
streetName?: string | undefined;
|
|
495
|
-
buildingNumber?: string | undefined;
|
|
496
|
-
buildingName?: string | undefined;
|
|
497
|
-
floor?: string | undefined;
|
|
498
|
-
postBox?: string | undefined;
|
|
499
|
-
room?: string | undefined;
|
|
500
|
-
postCode?: string | undefined;
|
|
501
|
-
townName?: string | undefined;
|
|
502
|
-
townLocationName?: string | undefined;
|
|
503
|
-
districtName?: string | undefined;
|
|
504
|
-
countrySubDivision?: string | undefined;
|
|
505
|
-
addressLine?: string[] | undefined;
|
|
506
|
-
country?: string | undefined;
|
|
507
|
-
}[] | undefined;
|
|
508
|
-
customerIdentification?: string | undefined;
|
|
509
|
-
nationalIdentification?: {
|
|
510
|
-
nationalIdentifier: string;
|
|
511
|
-
nationalIdentifierType: string;
|
|
512
|
-
countryOfIssue?: string | undefined;
|
|
513
|
-
registrationAuthority?: string | undefined;
|
|
514
|
-
} | undefined;
|
|
515
|
-
dateAndPlaceOfBirth?: {
|
|
516
|
-
dateOfBirth: string;
|
|
517
|
-
placeOfBirth: string;
|
|
518
|
-
} | undefined;
|
|
519
|
-
countryOfResidence?: string | undefined;
|
|
520
|
-
} | undefined;
|
|
521
|
-
legalPerson?: {
|
|
522
|
-
name: {
|
|
523
|
-
nameIdentifier: {
|
|
524
|
-
legalPersonName: string;
|
|
525
|
-
legalPersonNameIdentifierType: string;
|
|
526
|
-
}[];
|
|
527
|
-
};
|
|
528
|
-
geographicAddress?: {
|
|
529
|
-
addressType?: string | undefined;
|
|
530
|
-
department?: string | undefined;
|
|
531
|
-
subDepartment?: string | undefined;
|
|
532
|
-
streetName?: string | undefined;
|
|
533
|
-
buildingNumber?: string | undefined;
|
|
534
|
-
buildingName?: string | undefined;
|
|
535
|
-
floor?: string | undefined;
|
|
536
|
-
postBox?: string | undefined;
|
|
537
|
-
room?: string | undefined;
|
|
538
|
-
postCode?: string | undefined;
|
|
539
|
-
townName?: string | undefined;
|
|
540
|
-
townLocationName?: string | undefined;
|
|
541
|
-
districtName?: string | undefined;
|
|
542
|
-
countrySubDivision?: string | undefined;
|
|
543
|
-
addressLine?: string[] | undefined;
|
|
544
|
-
country?: string | undefined;
|
|
545
|
-
}[] | undefined;
|
|
546
|
-
customerNumber?: string | undefined;
|
|
547
|
-
nationalIdentification?: {
|
|
548
|
-
nationalIdentifier: string;
|
|
549
|
-
nationalIdentifierType: string;
|
|
550
|
-
countryOfIssue?: string | undefined;
|
|
551
|
-
registrationAuthority?: string | undefined;
|
|
552
|
-
} | undefined;
|
|
553
|
-
dateOfRegistration?: string | undefined;
|
|
554
|
-
countryOfRegistration?: string | undefined;
|
|
555
|
-
} | undefined;
|
|
556
|
-
}[];
|
|
557
|
-
accountNumber?: string[] | undefined;
|
|
558
|
-
};
|
|
559
|
-
}) | undefined;
|
|
560
528
|
} | undefined;
|
|
561
529
|
transactionRequest?: {
|
|
562
530
|
id: string;
|
|
@@ -1954,6 +1922,19 @@ export type GetApprovalResponse = {
|
|
|
1954
1922
|
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
1955
1923
|
createDestinationAccount?: boolean | undefined;
|
|
1956
1924
|
externalId?: string | undefined;
|
|
1925
|
+
travelRule?: ({
|
|
1926
|
+
kind: "Notabene";
|
|
1927
|
+
beneficiaryVASPdid: string;
|
|
1928
|
+
beneficiaryProof?: {
|
|
1929
|
+
[x: string]: any;
|
|
1930
|
+
} | undefined;
|
|
1931
|
+
originator: {
|
|
1932
|
+
[x: string]: any;
|
|
1933
|
+
};
|
|
1934
|
+
beneficiary: {
|
|
1935
|
+
[x: string]: any;
|
|
1936
|
+
};
|
|
1937
|
+
}) | undefined;
|
|
1957
1938
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
1958
1939
|
feeSponsorId?: string | undefined;
|
|
1959
1940
|
} | {
|
|
@@ -1962,6 +1943,19 @@ export type GetApprovalResponse = {
|
|
|
1962
1943
|
to: string;
|
|
1963
1944
|
amount: string;
|
|
1964
1945
|
externalId?: string | undefined;
|
|
1946
|
+
travelRule?: ({
|
|
1947
|
+
kind: "Notabene";
|
|
1948
|
+
beneficiaryVASPdid: string;
|
|
1949
|
+
beneficiaryProof?: {
|
|
1950
|
+
[x: string]: any;
|
|
1951
|
+
} | undefined;
|
|
1952
|
+
originator: {
|
|
1953
|
+
[x: string]: any;
|
|
1954
|
+
};
|
|
1955
|
+
beneficiary: {
|
|
1956
|
+
[x: string]: any;
|
|
1957
|
+
};
|
|
1958
|
+
}) | undefined;
|
|
1965
1959
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
1966
1960
|
feeSponsorId?: string | undefined;
|
|
1967
1961
|
} | {
|
|
@@ -1970,6 +1964,19 @@ export type GetApprovalResponse = {
|
|
|
1970
1964
|
to: string;
|
|
1971
1965
|
amount: string;
|
|
1972
1966
|
externalId?: string | undefined;
|
|
1967
|
+
travelRule?: ({
|
|
1968
|
+
kind: "Notabene";
|
|
1969
|
+
beneficiaryVASPdid: string;
|
|
1970
|
+
beneficiaryProof?: {
|
|
1971
|
+
[x: string]: any;
|
|
1972
|
+
} | undefined;
|
|
1973
|
+
originator: {
|
|
1974
|
+
[x: string]: any;
|
|
1975
|
+
};
|
|
1976
|
+
beneficiary: {
|
|
1977
|
+
[x: string]: any;
|
|
1978
|
+
};
|
|
1979
|
+
}) | undefined;
|
|
1973
1980
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
1974
1981
|
feeSponsorId?: string | undefined;
|
|
1975
1982
|
} | {
|
|
@@ -1978,6 +1985,19 @@ export type GetApprovalResponse = {
|
|
|
1978
1985
|
to: string;
|
|
1979
1986
|
amount: string;
|
|
1980
1987
|
externalId?: string | undefined;
|
|
1988
|
+
travelRule?: ({
|
|
1989
|
+
kind: "Notabene";
|
|
1990
|
+
beneficiaryVASPdid: string;
|
|
1991
|
+
beneficiaryProof?: {
|
|
1992
|
+
[x: string]: any;
|
|
1993
|
+
} | undefined;
|
|
1994
|
+
originator: {
|
|
1995
|
+
[x: string]: any;
|
|
1996
|
+
};
|
|
1997
|
+
beneficiary: {
|
|
1998
|
+
[x: string]: any;
|
|
1999
|
+
};
|
|
2000
|
+
}) | undefined;
|
|
1981
2001
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
1982
2002
|
feeSponsorId?: string | undefined;
|
|
1983
2003
|
} | {
|
|
@@ -1987,6 +2007,19 @@ export type GetApprovalResponse = {
|
|
|
1987
2007
|
amount: string;
|
|
1988
2008
|
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
1989
2009
|
externalId?: string | undefined;
|
|
2010
|
+
travelRule?: ({
|
|
2011
|
+
kind: "Notabene";
|
|
2012
|
+
beneficiaryVASPdid: string;
|
|
2013
|
+
beneficiaryProof?: {
|
|
2014
|
+
[x: string]: any;
|
|
2015
|
+
} | undefined;
|
|
2016
|
+
originator: {
|
|
2017
|
+
[x: string]: any;
|
|
2018
|
+
};
|
|
2019
|
+
beneficiary: {
|
|
2020
|
+
[x: string]: any;
|
|
2021
|
+
};
|
|
2022
|
+
}) | undefined;
|
|
1990
2023
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
1991
2024
|
feeSponsorId?: string | undefined;
|
|
1992
2025
|
} | {
|
|
@@ -1996,6 +2029,19 @@ export type GetApprovalResponse = {
|
|
|
1996
2029
|
tokenId: string;
|
|
1997
2030
|
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
1998
2031
|
externalId?: string | undefined;
|
|
2032
|
+
travelRule?: ({
|
|
2033
|
+
kind: "Notabene";
|
|
2034
|
+
beneficiaryVASPdid: string;
|
|
2035
|
+
beneficiaryProof?: {
|
|
2036
|
+
[x: string]: any;
|
|
2037
|
+
} | undefined;
|
|
2038
|
+
originator: {
|
|
2039
|
+
[x: string]: any;
|
|
2040
|
+
};
|
|
2041
|
+
beneficiary: {
|
|
2042
|
+
[x: string]: any;
|
|
2043
|
+
};
|
|
2044
|
+
}) | undefined;
|
|
1999
2045
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
2000
2046
|
feeSponsorId?: string | undefined;
|
|
2001
2047
|
} | {
|
|
@@ -2006,6 +2052,19 @@ export type GetApprovalResponse = {
|
|
|
2006
2052
|
amount: string;
|
|
2007
2053
|
memo?: string | undefined;
|
|
2008
2054
|
externalId?: string | undefined;
|
|
2055
|
+
travelRule?: ({
|
|
2056
|
+
kind: "Notabene";
|
|
2057
|
+
beneficiaryVASPdid: string;
|
|
2058
|
+
beneficiaryProof?: {
|
|
2059
|
+
[x: string]: any;
|
|
2060
|
+
} | undefined;
|
|
2061
|
+
originator: {
|
|
2062
|
+
[x: string]: any;
|
|
2063
|
+
};
|
|
2064
|
+
beneficiary: {
|
|
2065
|
+
[x: string]: any;
|
|
2066
|
+
};
|
|
2067
|
+
}) | undefined;
|
|
2009
2068
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
2010
2069
|
feeSponsorId?: string | undefined;
|
|
2011
2070
|
} | {
|
|
@@ -2015,6 +2074,19 @@ export type GetApprovalResponse = {
|
|
|
2015
2074
|
mint: string;
|
|
2016
2075
|
createDestinationAccount?: boolean | undefined;
|
|
2017
2076
|
externalId?: string | undefined;
|
|
2077
|
+
travelRule?: ({
|
|
2078
|
+
kind: "Notabene";
|
|
2079
|
+
beneficiaryVASPdid: string;
|
|
2080
|
+
beneficiaryProof?: {
|
|
2081
|
+
[x: string]: any;
|
|
2082
|
+
} | undefined;
|
|
2083
|
+
originator: {
|
|
2084
|
+
[x: string]: any;
|
|
2085
|
+
};
|
|
2086
|
+
beneficiary: {
|
|
2087
|
+
[x: string]: any;
|
|
2088
|
+
};
|
|
2089
|
+
}) | undefined;
|
|
2018
2090
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
2019
2091
|
feeSponsorId?: string | undefined;
|
|
2020
2092
|
} | {
|
|
@@ -2024,6 +2096,19 @@ export type GetApprovalResponse = {
|
|
|
2024
2096
|
amount: string;
|
|
2025
2097
|
memo?: string | undefined;
|
|
2026
2098
|
externalId?: string | undefined;
|
|
2099
|
+
travelRule?: ({
|
|
2100
|
+
kind: "Notabene";
|
|
2101
|
+
beneficiaryVASPdid: string;
|
|
2102
|
+
beneficiaryProof?: {
|
|
2103
|
+
[x: string]: any;
|
|
2104
|
+
} | undefined;
|
|
2105
|
+
originator: {
|
|
2106
|
+
[x: string]: any;
|
|
2107
|
+
};
|
|
2108
|
+
beneficiary: {
|
|
2109
|
+
[x: string]: any;
|
|
2110
|
+
};
|
|
2111
|
+
}) | undefined;
|
|
2027
2112
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
2028
2113
|
feeSponsorId?: string | undefined;
|
|
2029
2114
|
} | {
|
|
@@ -2032,6 +2117,19 @@ export type GetApprovalResponse = {
|
|
|
2032
2117
|
to: string;
|
|
2033
2118
|
amount: string;
|
|
2034
2119
|
externalId?: string | undefined;
|
|
2120
|
+
travelRule?: ({
|
|
2121
|
+
kind: "Notabene";
|
|
2122
|
+
beneficiaryVASPdid: string;
|
|
2123
|
+
beneficiaryProof?: {
|
|
2124
|
+
[x: string]: any;
|
|
2125
|
+
} | undefined;
|
|
2126
|
+
originator: {
|
|
2127
|
+
[x: string]: any;
|
|
2128
|
+
};
|
|
2129
|
+
beneficiary: {
|
|
2130
|
+
[x: string]: any;
|
|
2131
|
+
};
|
|
2132
|
+
}) | undefined;
|
|
2035
2133
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
2036
2134
|
feeSponsorId?: string | undefined;
|
|
2037
2135
|
} | {
|
|
@@ -2040,6 +2138,19 @@ export type GetApprovalResponse = {
|
|
|
2040
2138
|
to: string;
|
|
2041
2139
|
amount: string;
|
|
2042
2140
|
externalId?: string | undefined;
|
|
2141
|
+
travelRule?: ({
|
|
2142
|
+
kind: "Notabene";
|
|
2143
|
+
beneficiaryVASPdid: string;
|
|
2144
|
+
beneficiaryProof?: {
|
|
2145
|
+
[x: string]: any;
|
|
2146
|
+
} | undefined;
|
|
2147
|
+
originator: {
|
|
2148
|
+
[x: string]: any;
|
|
2149
|
+
};
|
|
2150
|
+
beneficiary: {
|
|
2151
|
+
[x: string]: any;
|
|
2152
|
+
};
|
|
2153
|
+
}) | undefined;
|
|
2043
2154
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
2044
2155
|
feeSponsorId?: string | undefined;
|
|
2045
2156
|
} | {
|
|
@@ -2048,6 +2159,19 @@ export type GetApprovalResponse = {
|
|
|
2048
2159
|
to: string;
|
|
2049
2160
|
tokenId: string;
|
|
2050
2161
|
externalId?: string | undefined;
|
|
2162
|
+
travelRule?: ({
|
|
2163
|
+
kind: "Notabene";
|
|
2164
|
+
beneficiaryVASPdid: string;
|
|
2165
|
+
beneficiaryProof?: {
|
|
2166
|
+
[x: string]: any;
|
|
2167
|
+
} | undefined;
|
|
2168
|
+
originator: {
|
|
2169
|
+
[x: string]: any;
|
|
2170
|
+
};
|
|
2171
|
+
beneficiary: {
|
|
2172
|
+
[x: string]: any;
|
|
2173
|
+
};
|
|
2174
|
+
}) | undefined;
|
|
2051
2175
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
2052
2176
|
feeSponsorId?: string | undefined;
|
|
2053
2177
|
};
|
|
@@ -2072,194 +2196,6 @@ export type GetApprovalResponse = {
|
|
|
2072
2196
|
approvalId?: string | undefined;
|
|
2073
2197
|
externalId?: string | undefined;
|
|
2074
2198
|
feeSponsorId?: string | undefined;
|
|
2075
|
-
travelRule?: ({
|
|
2076
|
-
kind: "Notabene";
|
|
2077
|
-
beneficiaryVASPdid?: string | undefined;
|
|
2078
|
-
beneficiaryProof?: ({
|
|
2079
|
-
type: string;
|
|
2080
|
-
proof: string;
|
|
2081
|
-
attestation: string;
|
|
2082
|
-
address?: string | undefined;
|
|
2083
|
-
status?: string | undefined;
|
|
2084
|
-
} | {
|
|
2085
|
-
type: "screenshot";
|
|
2086
|
-
url: string;
|
|
2087
|
-
} | {
|
|
2088
|
-
type: "self-declaration";
|
|
2089
|
-
did?: string | undefined;
|
|
2090
|
-
address?: string | undefined;
|
|
2091
|
-
attestation: string;
|
|
2092
|
-
confirmed?: boolean | undefined;
|
|
2093
|
-
status?: string | undefined;
|
|
2094
|
-
} | {
|
|
2095
|
-
type: "microtransfer";
|
|
2096
|
-
did?: string | undefined;
|
|
2097
|
-
address?: string | undefined;
|
|
2098
|
-
proof: string;
|
|
2099
|
-
chain?: string | undefined;
|
|
2100
|
-
destination?: string | undefined;
|
|
2101
|
-
amountSubunits?: string | undefined;
|
|
2102
|
-
status?: string | undefined;
|
|
2103
|
-
} | {
|
|
2104
|
-
type: string;
|
|
2105
|
-
}) | undefined;
|
|
2106
|
-
originator: {
|
|
2107
|
-
originatorPersons: {
|
|
2108
|
-
naturalPerson?: {
|
|
2109
|
-
name: {
|
|
2110
|
-
nameIdentifier: {
|
|
2111
|
-
primaryIdentifier: string;
|
|
2112
|
-
secondaryIdentifier: string;
|
|
2113
|
-
}[];
|
|
2114
|
-
};
|
|
2115
|
-
geographicAddress?: {
|
|
2116
|
-
addressType?: string | undefined;
|
|
2117
|
-
department?: string | undefined;
|
|
2118
|
-
subDepartment?: string | undefined;
|
|
2119
|
-
streetName?: string | undefined;
|
|
2120
|
-
buildingNumber?: string | undefined;
|
|
2121
|
-
buildingName?: string | undefined;
|
|
2122
|
-
floor?: string | undefined;
|
|
2123
|
-
postBox?: string | undefined;
|
|
2124
|
-
room?: string | undefined;
|
|
2125
|
-
postCode?: string | undefined;
|
|
2126
|
-
townName?: string | undefined;
|
|
2127
|
-
townLocationName?: string | undefined;
|
|
2128
|
-
districtName?: string | undefined;
|
|
2129
|
-
countrySubDivision?: string | undefined;
|
|
2130
|
-
addressLine?: string[] | undefined;
|
|
2131
|
-
country?: string | undefined;
|
|
2132
|
-
}[] | undefined;
|
|
2133
|
-
customerIdentification?: string | undefined;
|
|
2134
|
-
nationalIdentification?: {
|
|
2135
|
-
nationalIdentifier: string;
|
|
2136
|
-
nationalIdentifierType: string;
|
|
2137
|
-
countryOfIssue?: string | undefined;
|
|
2138
|
-
registrationAuthority?: string | undefined;
|
|
2139
|
-
} | undefined;
|
|
2140
|
-
dateAndPlaceOfBirth?: {
|
|
2141
|
-
dateOfBirth: string;
|
|
2142
|
-
placeOfBirth: string;
|
|
2143
|
-
} | undefined;
|
|
2144
|
-
countryOfResidence?: string | undefined;
|
|
2145
|
-
} | undefined;
|
|
2146
|
-
legalPerson?: {
|
|
2147
|
-
name: {
|
|
2148
|
-
nameIdentifier: {
|
|
2149
|
-
legalPersonName: string;
|
|
2150
|
-
legalPersonNameIdentifierType: string;
|
|
2151
|
-
}[];
|
|
2152
|
-
};
|
|
2153
|
-
geographicAddress?: {
|
|
2154
|
-
addressType?: string | undefined;
|
|
2155
|
-
department?: string | undefined;
|
|
2156
|
-
subDepartment?: string | undefined;
|
|
2157
|
-
streetName?: string | undefined;
|
|
2158
|
-
buildingNumber?: string | undefined;
|
|
2159
|
-
buildingName?: string | undefined;
|
|
2160
|
-
floor?: string | undefined;
|
|
2161
|
-
postBox?: string | undefined;
|
|
2162
|
-
room?: string | undefined;
|
|
2163
|
-
postCode?: string | undefined;
|
|
2164
|
-
townName?: string | undefined;
|
|
2165
|
-
townLocationName?: string | undefined;
|
|
2166
|
-
districtName?: string | undefined;
|
|
2167
|
-
countrySubDivision?: string | undefined;
|
|
2168
|
-
addressLine?: string[] | undefined;
|
|
2169
|
-
country?: string | undefined;
|
|
2170
|
-
}[] | undefined;
|
|
2171
|
-
customerNumber?: string | undefined;
|
|
2172
|
-
nationalIdentification?: {
|
|
2173
|
-
nationalIdentifier: string;
|
|
2174
|
-
nationalIdentifierType: string;
|
|
2175
|
-
countryOfIssue?: string | undefined;
|
|
2176
|
-
registrationAuthority?: string | undefined;
|
|
2177
|
-
} | undefined;
|
|
2178
|
-
dateOfRegistration?: string | undefined;
|
|
2179
|
-
countryOfRegistration?: string | undefined;
|
|
2180
|
-
} | undefined;
|
|
2181
|
-
}[];
|
|
2182
|
-
accountNumber?: string[] | undefined;
|
|
2183
|
-
};
|
|
2184
|
-
beneficiary: {
|
|
2185
|
-
beneficiaryPersons: {
|
|
2186
|
-
naturalPerson?: {
|
|
2187
|
-
name: {
|
|
2188
|
-
nameIdentifier: {
|
|
2189
|
-
primaryIdentifier: string;
|
|
2190
|
-
secondaryIdentifier: string;
|
|
2191
|
-
}[];
|
|
2192
|
-
};
|
|
2193
|
-
geographicAddress?: {
|
|
2194
|
-
addressType?: string | undefined;
|
|
2195
|
-
department?: string | undefined;
|
|
2196
|
-
subDepartment?: string | undefined;
|
|
2197
|
-
streetName?: string | undefined;
|
|
2198
|
-
buildingNumber?: string | undefined;
|
|
2199
|
-
buildingName?: string | undefined;
|
|
2200
|
-
floor?: string | undefined;
|
|
2201
|
-
postBox?: string | undefined;
|
|
2202
|
-
room?: string | undefined;
|
|
2203
|
-
postCode?: string | undefined;
|
|
2204
|
-
townName?: string | undefined;
|
|
2205
|
-
townLocationName?: string | undefined;
|
|
2206
|
-
districtName?: string | undefined;
|
|
2207
|
-
countrySubDivision?: string | undefined;
|
|
2208
|
-
addressLine?: string[] | undefined;
|
|
2209
|
-
country?: string | undefined;
|
|
2210
|
-
}[] | undefined;
|
|
2211
|
-
customerIdentification?: string | undefined;
|
|
2212
|
-
nationalIdentification?: {
|
|
2213
|
-
nationalIdentifier: string;
|
|
2214
|
-
nationalIdentifierType: string;
|
|
2215
|
-
countryOfIssue?: string | undefined;
|
|
2216
|
-
registrationAuthority?: string | undefined;
|
|
2217
|
-
} | undefined;
|
|
2218
|
-
dateAndPlaceOfBirth?: {
|
|
2219
|
-
dateOfBirth: string;
|
|
2220
|
-
placeOfBirth: string;
|
|
2221
|
-
} | undefined;
|
|
2222
|
-
countryOfResidence?: string | undefined;
|
|
2223
|
-
} | undefined;
|
|
2224
|
-
legalPerson?: {
|
|
2225
|
-
name: {
|
|
2226
|
-
nameIdentifier: {
|
|
2227
|
-
legalPersonName: string;
|
|
2228
|
-
legalPersonNameIdentifierType: string;
|
|
2229
|
-
}[];
|
|
2230
|
-
};
|
|
2231
|
-
geographicAddress?: {
|
|
2232
|
-
addressType?: string | undefined;
|
|
2233
|
-
department?: string | undefined;
|
|
2234
|
-
subDepartment?: string | undefined;
|
|
2235
|
-
streetName?: string | undefined;
|
|
2236
|
-
buildingNumber?: string | undefined;
|
|
2237
|
-
buildingName?: string | undefined;
|
|
2238
|
-
floor?: string | undefined;
|
|
2239
|
-
postBox?: string | undefined;
|
|
2240
|
-
room?: string | undefined;
|
|
2241
|
-
postCode?: string | undefined;
|
|
2242
|
-
townName?: string | undefined;
|
|
2243
|
-
townLocationName?: string | undefined;
|
|
2244
|
-
districtName?: string | undefined;
|
|
2245
|
-
countrySubDivision?: string | undefined;
|
|
2246
|
-
addressLine?: string[] | undefined;
|
|
2247
|
-
country?: string | undefined;
|
|
2248
|
-
}[] | undefined;
|
|
2249
|
-
customerNumber?: string | undefined;
|
|
2250
|
-
nationalIdentification?: {
|
|
2251
|
-
nationalIdentifier: string;
|
|
2252
|
-
nationalIdentifierType: string;
|
|
2253
|
-
countryOfIssue?: string | undefined;
|
|
2254
|
-
registrationAuthority?: string | undefined;
|
|
2255
|
-
} | undefined;
|
|
2256
|
-
dateOfRegistration?: string | undefined;
|
|
2257
|
-
countryOfRegistration?: string | undefined;
|
|
2258
|
-
} | undefined;
|
|
2259
|
-
}[];
|
|
2260
|
-
accountNumber?: string[] | undefined;
|
|
2261
|
-
};
|
|
2262
|
-
}) | undefined;
|
|
2263
2199
|
} | undefined;
|
|
2264
2200
|
transactionRequest?: {
|
|
2265
2201
|
id: string;
|
|
@@ -3697,6 +3633,19 @@ export type ListApprovalsResponse = {
|
|
|
3697
3633
|
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
3698
3634
|
createDestinationAccount?: boolean | undefined;
|
|
3699
3635
|
externalId?: string | undefined;
|
|
3636
|
+
travelRule?: ({
|
|
3637
|
+
kind: "Notabene";
|
|
3638
|
+
beneficiaryVASPdid: string;
|
|
3639
|
+
beneficiaryProof?: {
|
|
3640
|
+
[x: string]: any;
|
|
3641
|
+
} | undefined;
|
|
3642
|
+
originator: {
|
|
3643
|
+
[x: string]: any;
|
|
3644
|
+
};
|
|
3645
|
+
beneficiary: {
|
|
3646
|
+
[x: string]: any;
|
|
3647
|
+
};
|
|
3648
|
+
}) | undefined;
|
|
3700
3649
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
3701
3650
|
feeSponsorId?: string | undefined;
|
|
3702
3651
|
} | {
|
|
@@ -3705,6 +3654,19 @@ export type ListApprovalsResponse = {
|
|
|
3705
3654
|
to: string;
|
|
3706
3655
|
amount: string;
|
|
3707
3656
|
externalId?: string | undefined;
|
|
3657
|
+
travelRule?: ({
|
|
3658
|
+
kind: "Notabene";
|
|
3659
|
+
beneficiaryVASPdid: string;
|
|
3660
|
+
beneficiaryProof?: {
|
|
3661
|
+
[x: string]: any;
|
|
3662
|
+
} | undefined;
|
|
3663
|
+
originator: {
|
|
3664
|
+
[x: string]: any;
|
|
3665
|
+
};
|
|
3666
|
+
beneficiary: {
|
|
3667
|
+
[x: string]: any;
|
|
3668
|
+
};
|
|
3669
|
+
}) | undefined;
|
|
3708
3670
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
3709
3671
|
feeSponsorId?: string | undefined;
|
|
3710
3672
|
} | {
|
|
@@ -3713,6 +3675,19 @@ export type ListApprovalsResponse = {
|
|
|
3713
3675
|
to: string;
|
|
3714
3676
|
amount: string;
|
|
3715
3677
|
externalId?: string | undefined;
|
|
3678
|
+
travelRule?: ({
|
|
3679
|
+
kind: "Notabene";
|
|
3680
|
+
beneficiaryVASPdid: string;
|
|
3681
|
+
beneficiaryProof?: {
|
|
3682
|
+
[x: string]: any;
|
|
3683
|
+
} | undefined;
|
|
3684
|
+
originator: {
|
|
3685
|
+
[x: string]: any;
|
|
3686
|
+
};
|
|
3687
|
+
beneficiary: {
|
|
3688
|
+
[x: string]: any;
|
|
3689
|
+
};
|
|
3690
|
+
}) | undefined;
|
|
3716
3691
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
3717
3692
|
feeSponsorId?: string | undefined;
|
|
3718
3693
|
} | {
|
|
@@ -3721,6 +3696,19 @@ export type ListApprovalsResponse = {
|
|
|
3721
3696
|
to: string;
|
|
3722
3697
|
amount: string;
|
|
3723
3698
|
externalId?: string | undefined;
|
|
3699
|
+
travelRule?: ({
|
|
3700
|
+
kind: "Notabene";
|
|
3701
|
+
beneficiaryVASPdid: string;
|
|
3702
|
+
beneficiaryProof?: {
|
|
3703
|
+
[x: string]: any;
|
|
3704
|
+
} | undefined;
|
|
3705
|
+
originator: {
|
|
3706
|
+
[x: string]: any;
|
|
3707
|
+
};
|
|
3708
|
+
beneficiary: {
|
|
3709
|
+
[x: string]: any;
|
|
3710
|
+
};
|
|
3711
|
+
}) | undefined;
|
|
3724
3712
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
3725
3713
|
feeSponsorId?: string | undefined;
|
|
3726
3714
|
} | {
|
|
@@ -3730,6 +3718,19 @@ export type ListApprovalsResponse = {
|
|
|
3730
3718
|
amount: string;
|
|
3731
3719
|
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
3732
3720
|
externalId?: string | undefined;
|
|
3721
|
+
travelRule?: ({
|
|
3722
|
+
kind: "Notabene";
|
|
3723
|
+
beneficiaryVASPdid: string;
|
|
3724
|
+
beneficiaryProof?: {
|
|
3725
|
+
[x: string]: any;
|
|
3726
|
+
} | undefined;
|
|
3727
|
+
originator: {
|
|
3728
|
+
[x: string]: any;
|
|
3729
|
+
};
|
|
3730
|
+
beneficiary: {
|
|
3731
|
+
[x: string]: any;
|
|
3732
|
+
};
|
|
3733
|
+
}) | undefined;
|
|
3733
3734
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
3734
3735
|
feeSponsorId?: string | undefined;
|
|
3735
3736
|
} | {
|
|
@@ -3739,6 +3740,19 @@ export type ListApprovalsResponse = {
|
|
|
3739
3740
|
tokenId: string;
|
|
3740
3741
|
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
3741
3742
|
externalId?: string | undefined;
|
|
3743
|
+
travelRule?: ({
|
|
3744
|
+
kind: "Notabene";
|
|
3745
|
+
beneficiaryVASPdid: string;
|
|
3746
|
+
beneficiaryProof?: {
|
|
3747
|
+
[x: string]: any;
|
|
3748
|
+
} | undefined;
|
|
3749
|
+
originator: {
|
|
3750
|
+
[x: string]: any;
|
|
3751
|
+
};
|
|
3752
|
+
beneficiary: {
|
|
3753
|
+
[x: string]: any;
|
|
3754
|
+
};
|
|
3755
|
+
}) | undefined;
|
|
3742
3756
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
3743
3757
|
feeSponsorId?: string | undefined;
|
|
3744
3758
|
} | {
|
|
@@ -3749,6 +3763,19 @@ export type ListApprovalsResponse = {
|
|
|
3749
3763
|
amount: string;
|
|
3750
3764
|
memo?: string | undefined;
|
|
3751
3765
|
externalId?: string | undefined;
|
|
3766
|
+
travelRule?: ({
|
|
3767
|
+
kind: "Notabene";
|
|
3768
|
+
beneficiaryVASPdid: string;
|
|
3769
|
+
beneficiaryProof?: {
|
|
3770
|
+
[x: string]: any;
|
|
3771
|
+
} | undefined;
|
|
3772
|
+
originator: {
|
|
3773
|
+
[x: string]: any;
|
|
3774
|
+
};
|
|
3775
|
+
beneficiary: {
|
|
3776
|
+
[x: string]: any;
|
|
3777
|
+
};
|
|
3778
|
+
}) | undefined;
|
|
3752
3779
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
3753
3780
|
feeSponsorId?: string | undefined;
|
|
3754
3781
|
} | {
|
|
@@ -3758,6 +3785,19 @@ export type ListApprovalsResponse = {
|
|
|
3758
3785
|
mint: string;
|
|
3759
3786
|
createDestinationAccount?: boolean | undefined;
|
|
3760
3787
|
externalId?: string | undefined;
|
|
3788
|
+
travelRule?: ({
|
|
3789
|
+
kind: "Notabene";
|
|
3790
|
+
beneficiaryVASPdid: string;
|
|
3791
|
+
beneficiaryProof?: {
|
|
3792
|
+
[x: string]: any;
|
|
3793
|
+
} | undefined;
|
|
3794
|
+
originator: {
|
|
3795
|
+
[x: string]: any;
|
|
3796
|
+
};
|
|
3797
|
+
beneficiary: {
|
|
3798
|
+
[x: string]: any;
|
|
3799
|
+
};
|
|
3800
|
+
}) | undefined;
|
|
3761
3801
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
3762
3802
|
feeSponsorId?: string | undefined;
|
|
3763
3803
|
} | {
|
|
@@ -3767,6 +3807,19 @@ export type ListApprovalsResponse = {
|
|
|
3767
3807
|
amount: string;
|
|
3768
3808
|
memo?: string | undefined;
|
|
3769
3809
|
externalId?: string | undefined;
|
|
3810
|
+
travelRule?: ({
|
|
3811
|
+
kind: "Notabene";
|
|
3812
|
+
beneficiaryVASPdid: string;
|
|
3813
|
+
beneficiaryProof?: {
|
|
3814
|
+
[x: string]: any;
|
|
3815
|
+
} | undefined;
|
|
3816
|
+
originator: {
|
|
3817
|
+
[x: string]: any;
|
|
3818
|
+
};
|
|
3819
|
+
beneficiary: {
|
|
3820
|
+
[x: string]: any;
|
|
3821
|
+
};
|
|
3822
|
+
}) | undefined;
|
|
3770
3823
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
3771
3824
|
feeSponsorId?: string | undefined;
|
|
3772
3825
|
} | {
|
|
@@ -3775,6 +3828,19 @@ export type ListApprovalsResponse = {
|
|
|
3775
3828
|
to: string;
|
|
3776
3829
|
amount: string;
|
|
3777
3830
|
externalId?: string | undefined;
|
|
3831
|
+
travelRule?: ({
|
|
3832
|
+
kind: "Notabene";
|
|
3833
|
+
beneficiaryVASPdid: string;
|
|
3834
|
+
beneficiaryProof?: {
|
|
3835
|
+
[x: string]: any;
|
|
3836
|
+
} | undefined;
|
|
3837
|
+
originator: {
|
|
3838
|
+
[x: string]: any;
|
|
3839
|
+
};
|
|
3840
|
+
beneficiary: {
|
|
3841
|
+
[x: string]: any;
|
|
3842
|
+
};
|
|
3843
|
+
}) | undefined;
|
|
3778
3844
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
3779
3845
|
feeSponsorId?: string | undefined;
|
|
3780
3846
|
} | {
|
|
@@ -3783,6 +3849,19 @@ export type ListApprovalsResponse = {
|
|
|
3783
3849
|
to: string;
|
|
3784
3850
|
amount: string;
|
|
3785
3851
|
externalId?: string | undefined;
|
|
3852
|
+
travelRule?: ({
|
|
3853
|
+
kind: "Notabene";
|
|
3854
|
+
beneficiaryVASPdid: string;
|
|
3855
|
+
beneficiaryProof?: {
|
|
3856
|
+
[x: string]: any;
|
|
3857
|
+
} | undefined;
|
|
3858
|
+
originator: {
|
|
3859
|
+
[x: string]: any;
|
|
3860
|
+
};
|
|
3861
|
+
beneficiary: {
|
|
3862
|
+
[x: string]: any;
|
|
3863
|
+
};
|
|
3864
|
+
}) | undefined;
|
|
3786
3865
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
3787
3866
|
feeSponsorId?: string | undefined;
|
|
3788
3867
|
} | {
|
|
@@ -3791,6 +3870,19 @@ export type ListApprovalsResponse = {
|
|
|
3791
3870
|
to: string;
|
|
3792
3871
|
tokenId: string;
|
|
3793
3872
|
externalId?: string | undefined;
|
|
3873
|
+
travelRule?: ({
|
|
3874
|
+
kind: "Notabene";
|
|
3875
|
+
beneficiaryVASPdid: string;
|
|
3876
|
+
beneficiaryProof?: {
|
|
3877
|
+
[x: string]: any;
|
|
3878
|
+
} | undefined;
|
|
3879
|
+
originator: {
|
|
3880
|
+
[x: string]: any;
|
|
3881
|
+
};
|
|
3882
|
+
beneficiary: {
|
|
3883
|
+
[x: string]: any;
|
|
3884
|
+
};
|
|
3885
|
+
}) | undefined;
|
|
3794
3886
|
/** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
|
|
3795
3887
|
feeSponsorId?: string | undefined;
|
|
3796
3888
|
};
|
|
@@ -3815,194 +3907,6 @@ export type ListApprovalsResponse = {
|
|
|
3815
3907
|
approvalId?: string | undefined;
|
|
3816
3908
|
externalId?: string | undefined;
|
|
3817
3909
|
feeSponsorId?: string | undefined;
|
|
3818
|
-
travelRule?: ({
|
|
3819
|
-
kind: "Notabene";
|
|
3820
|
-
beneficiaryVASPdid?: string | undefined;
|
|
3821
|
-
beneficiaryProof?: ({
|
|
3822
|
-
type: string;
|
|
3823
|
-
proof: string;
|
|
3824
|
-
attestation: string;
|
|
3825
|
-
address?: string | undefined;
|
|
3826
|
-
status?: string | undefined;
|
|
3827
|
-
} | {
|
|
3828
|
-
type: "screenshot";
|
|
3829
|
-
url: string;
|
|
3830
|
-
} | {
|
|
3831
|
-
type: "self-declaration";
|
|
3832
|
-
did?: string | undefined;
|
|
3833
|
-
address?: string | undefined;
|
|
3834
|
-
attestation: string;
|
|
3835
|
-
confirmed?: boolean | undefined;
|
|
3836
|
-
status?: string | undefined;
|
|
3837
|
-
} | {
|
|
3838
|
-
type: "microtransfer";
|
|
3839
|
-
did?: string | undefined;
|
|
3840
|
-
address?: string | undefined;
|
|
3841
|
-
proof: string;
|
|
3842
|
-
chain?: string | undefined;
|
|
3843
|
-
destination?: string | undefined;
|
|
3844
|
-
amountSubunits?: string | undefined;
|
|
3845
|
-
status?: string | undefined;
|
|
3846
|
-
} | {
|
|
3847
|
-
type: string;
|
|
3848
|
-
}) | undefined;
|
|
3849
|
-
originator: {
|
|
3850
|
-
originatorPersons: {
|
|
3851
|
-
naturalPerson?: {
|
|
3852
|
-
name: {
|
|
3853
|
-
nameIdentifier: {
|
|
3854
|
-
primaryIdentifier: string;
|
|
3855
|
-
secondaryIdentifier: string;
|
|
3856
|
-
}[];
|
|
3857
|
-
};
|
|
3858
|
-
geographicAddress?: {
|
|
3859
|
-
addressType?: string | undefined;
|
|
3860
|
-
department?: string | undefined;
|
|
3861
|
-
subDepartment?: string | undefined;
|
|
3862
|
-
streetName?: string | undefined;
|
|
3863
|
-
buildingNumber?: string | undefined;
|
|
3864
|
-
buildingName?: string | undefined;
|
|
3865
|
-
floor?: string | undefined;
|
|
3866
|
-
postBox?: string | undefined;
|
|
3867
|
-
room?: string | undefined;
|
|
3868
|
-
postCode?: string | undefined;
|
|
3869
|
-
townName?: string | undefined;
|
|
3870
|
-
townLocationName?: string | undefined;
|
|
3871
|
-
districtName?: string | undefined;
|
|
3872
|
-
countrySubDivision?: string | undefined;
|
|
3873
|
-
addressLine?: string[] | undefined;
|
|
3874
|
-
country?: string | undefined;
|
|
3875
|
-
}[] | undefined;
|
|
3876
|
-
customerIdentification?: string | undefined;
|
|
3877
|
-
nationalIdentification?: {
|
|
3878
|
-
nationalIdentifier: string;
|
|
3879
|
-
nationalIdentifierType: string;
|
|
3880
|
-
countryOfIssue?: string | undefined;
|
|
3881
|
-
registrationAuthority?: string | undefined;
|
|
3882
|
-
} | undefined;
|
|
3883
|
-
dateAndPlaceOfBirth?: {
|
|
3884
|
-
dateOfBirth: string;
|
|
3885
|
-
placeOfBirth: string;
|
|
3886
|
-
} | undefined;
|
|
3887
|
-
countryOfResidence?: string | undefined;
|
|
3888
|
-
} | undefined;
|
|
3889
|
-
legalPerson?: {
|
|
3890
|
-
name: {
|
|
3891
|
-
nameIdentifier: {
|
|
3892
|
-
legalPersonName: string;
|
|
3893
|
-
legalPersonNameIdentifierType: string;
|
|
3894
|
-
}[];
|
|
3895
|
-
};
|
|
3896
|
-
geographicAddress?: {
|
|
3897
|
-
addressType?: string | undefined;
|
|
3898
|
-
department?: string | undefined;
|
|
3899
|
-
subDepartment?: string | undefined;
|
|
3900
|
-
streetName?: string | undefined;
|
|
3901
|
-
buildingNumber?: string | undefined;
|
|
3902
|
-
buildingName?: string | undefined;
|
|
3903
|
-
floor?: string | undefined;
|
|
3904
|
-
postBox?: string | undefined;
|
|
3905
|
-
room?: string | undefined;
|
|
3906
|
-
postCode?: string | undefined;
|
|
3907
|
-
townName?: string | undefined;
|
|
3908
|
-
townLocationName?: string | undefined;
|
|
3909
|
-
districtName?: string | undefined;
|
|
3910
|
-
countrySubDivision?: string | undefined;
|
|
3911
|
-
addressLine?: string[] | undefined;
|
|
3912
|
-
country?: string | undefined;
|
|
3913
|
-
}[] | undefined;
|
|
3914
|
-
customerNumber?: string | undefined;
|
|
3915
|
-
nationalIdentification?: {
|
|
3916
|
-
nationalIdentifier: string;
|
|
3917
|
-
nationalIdentifierType: string;
|
|
3918
|
-
countryOfIssue?: string | undefined;
|
|
3919
|
-
registrationAuthority?: string | undefined;
|
|
3920
|
-
} | undefined;
|
|
3921
|
-
dateOfRegistration?: string | undefined;
|
|
3922
|
-
countryOfRegistration?: string | undefined;
|
|
3923
|
-
} | undefined;
|
|
3924
|
-
}[];
|
|
3925
|
-
accountNumber?: string[] | undefined;
|
|
3926
|
-
};
|
|
3927
|
-
beneficiary: {
|
|
3928
|
-
beneficiaryPersons: {
|
|
3929
|
-
naturalPerson?: {
|
|
3930
|
-
name: {
|
|
3931
|
-
nameIdentifier: {
|
|
3932
|
-
primaryIdentifier: string;
|
|
3933
|
-
secondaryIdentifier: string;
|
|
3934
|
-
}[];
|
|
3935
|
-
};
|
|
3936
|
-
geographicAddress?: {
|
|
3937
|
-
addressType?: string | undefined;
|
|
3938
|
-
department?: string | undefined;
|
|
3939
|
-
subDepartment?: string | undefined;
|
|
3940
|
-
streetName?: string | undefined;
|
|
3941
|
-
buildingNumber?: string | undefined;
|
|
3942
|
-
buildingName?: string | undefined;
|
|
3943
|
-
floor?: string | undefined;
|
|
3944
|
-
postBox?: string | undefined;
|
|
3945
|
-
room?: string | undefined;
|
|
3946
|
-
postCode?: string | undefined;
|
|
3947
|
-
townName?: string | undefined;
|
|
3948
|
-
townLocationName?: string | undefined;
|
|
3949
|
-
districtName?: string | undefined;
|
|
3950
|
-
countrySubDivision?: string | undefined;
|
|
3951
|
-
addressLine?: string[] | undefined;
|
|
3952
|
-
country?: string | undefined;
|
|
3953
|
-
}[] | undefined;
|
|
3954
|
-
customerIdentification?: string | undefined;
|
|
3955
|
-
nationalIdentification?: {
|
|
3956
|
-
nationalIdentifier: string;
|
|
3957
|
-
nationalIdentifierType: string;
|
|
3958
|
-
countryOfIssue?: string | undefined;
|
|
3959
|
-
registrationAuthority?: string | undefined;
|
|
3960
|
-
} | undefined;
|
|
3961
|
-
dateAndPlaceOfBirth?: {
|
|
3962
|
-
dateOfBirth: string;
|
|
3963
|
-
placeOfBirth: string;
|
|
3964
|
-
} | undefined;
|
|
3965
|
-
countryOfResidence?: string | undefined;
|
|
3966
|
-
} | undefined;
|
|
3967
|
-
legalPerson?: {
|
|
3968
|
-
name: {
|
|
3969
|
-
nameIdentifier: {
|
|
3970
|
-
legalPersonName: string;
|
|
3971
|
-
legalPersonNameIdentifierType: string;
|
|
3972
|
-
}[];
|
|
3973
|
-
};
|
|
3974
|
-
geographicAddress?: {
|
|
3975
|
-
addressType?: string | undefined;
|
|
3976
|
-
department?: string | undefined;
|
|
3977
|
-
subDepartment?: string | undefined;
|
|
3978
|
-
streetName?: string | undefined;
|
|
3979
|
-
buildingNumber?: string | undefined;
|
|
3980
|
-
buildingName?: string | undefined;
|
|
3981
|
-
floor?: string | undefined;
|
|
3982
|
-
postBox?: string | undefined;
|
|
3983
|
-
room?: string | undefined;
|
|
3984
|
-
postCode?: string | undefined;
|
|
3985
|
-
townName?: string | undefined;
|
|
3986
|
-
townLocationName?: string | undefined;
|
|
3987
|
-
districtName?: string | undefined;
|
|
3988
|
-
countrySubDivision?: string | undefined;
|
|
3989
|
-
addressLine?: string[] | undefined;
|
|
3990
|
-
country?: string | undefined;
|
|
3991
|
-
}[] | undefined;
|
|
3992
|
-
customerNumber?: string | undefined;
|
|
3993
|
-
nationalIdentification?: {
|
|
3994
|
-
nationalIdentifier: string;
|
|
3995
|
-
nationalIdentifierType: string;
|
|
3996
|
-
countryOfIssue?: string | undefined;
|
|
3997
|
-
registrationAuthority?: string | undefined;
|
|
3998
|
-
} | undefined;
|
|
3999
|
-
dateOfRegistration?: string | undefined;
|
|
4000
|
-
countryOfRegistration?: string | undefined;
|
|
4001
|
-
} | undefined;
|
|
4002
|
-
}[];
|
|
4003
|
-
accountNumber?: string[] | undefined;
|
|
4004
|
-
};
|
|
4005
|
-
}) | undefined;
|
|
4006
3910
|
} | undefined;
|
|
4007
3911
|
transactionRequest?: {
|
|
4008
3912
|
id: string;
|
|
@@ -5422,24 +5326,6 @@ export type ListPoliciesResponse = {
|
|
|
5422
5326
|
export type ListPoliciesRequest = {
|
|
5423
5327
|
query?: ListPoliciesQuery;
|
|
5424
5328
|
};
|
|
5425
|
-
export type NotabeneNotificationsWebhookBody = {
|
|
5426
|
-
message: "notification.transactionUpdated";
|
|
5427
|
-
payload: {
|
|
5428
|
-
transaction: {
|
|
5429
|
-
id: string;
|
|
5430
|
-
status: "NEW" | "WAITING_FOR_INFORMATION" | "MISSING_BENEFICIARY_DATA" | "CANCELLED" | "INCOMPLETE" | "SENT" | "ACK" | "ACCEPTED" | "DECLINED" | "REJECTED" | "NOT_READY" | "SAVED";
|
|
5431
|
-
transactionRef?: (string | null) | undefined;
|
|
5432
|
-
transactionType: "TRAVELRULE" | "BELOW_THRESHOLD" | "NON_CUSTODIAL" | "UNKNOWN";
|
|
5433
|
-
};
|
|
5434
|
-
};
|
|
5435
|
-
};
|
|
5436
|
-
export type NotabeneNotificationsWebhookParams = {
|
|
5437
|
-
orgId: string;
|
|
5438
|
-
};
|
|
5439
|
-
export type NotabeneNotificationsWebhookResponse = void | undefined;
|
|
5440
|
-
export type NotabeneNotificationsWebhookRequest = NotabeneNotificationsWebhookParams & {
|
|
5441
|
-
body: NotabeneNotificationsWebhookBody;
|
|
5442
|
-
};
|
|
5443
5329
|
export type UpdatePolicyBody = {
|
|
5444
5330
|
name: string;
|
|
5445
5331
|
activityKind: "Permissions:Assign";
|