@dfns/sdk 0.6.6-rc.1 → 0.6.6

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.
@@ -528,18 +528,24 @@ export type GetTransferResponse = {
528
528
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
529
529
  createDestinationAccount?: boolean | undefined;
530
530
  externalId?: string | undefined;
531
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
532
+ feeSponsorId?: string | undefined;
531
533
  } | {
532
534
  kind: "Asa";
533
535
  assetId: string;
534
536
  to: string;
535
537
  amount: string;
536
538
  externalId?: string | undefined;
539
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
540
+ feeSponsorId?: string | undefined;
537
541
  } | {
538
542
  kind: "Aip21";
539
543
  metadata: string;
540
544
  to: string;
541
545
  amount: string;
542
546
  externalId?: string | undefined;
547
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
548
+ feeSponsorId?: string | undefined;
543
549
  } | {
544
550
  kind: "Erc20";
545
551
  contract: string;
@@ -547,6 +553,8 @@ export type GetTransferResponse = {
547
553
  amount: string;
548
554
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
549
555
  externalId?: string | undefined;
556
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
557
+ feeSponsorId?: string | undefined;
550
558
  } | {
551
559
  kind: "Erc721";
552
560
  contract: string;
@@ -554,6 +562,8 @@ export type GetTransferResponse = {
554
562
  tokenId: string;
555
563
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
556
564
  externalId?: string | undefined;
565
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
566
+ feeSponsorId?: string | undefined;
557
567
  } | {
558
568
  kind: "Sep41";
559
569
  issuer: string;
@@ -562,6 +572,8 @@ export type GetTransferResponse = {
562
572
  amount: string;
563
573
  memo?: string | undefined;
564
574
  externalId?: string | undefined;
575
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
576
+ feeSponsorId?: string | undefined;
565
577
  } | {
566
578
  kind: "Spl" | "Spl2022";
567
579
  to: string;
@@ -569,6 +581,8 @@ export type GetTransferResponse = {
569
581
  mint: string;
570
582
  createDestinationAccount?: boolean | undefined;
571
583
  externalId?: string | undefined;
584
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
585
+ feeSponsorId?: string | undefined;
572
586
  } | {
573
587
  kind: "Tep74";
574
588
  to: string;
@@ -576,24 +590,32 @@ export type GetTransferResponse = {
576
590
  amount: string;
577
591
  memo?: string | undefined;
578
592
  externalId?: string | undefined;
593
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
594
+ feeSponsorId?: string | undefined;
579
595
  } | {
580
596
  kind: "Trc10";
581
597
  tokenId: string;
582
598
  to: string;
583
599
  amount: string;
584
600
  externalId?: string | undefined;
601
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
602
+ feeSponsorId?: string | undefined;
585
603
  } | {
586
604
  kind: "Trc20";
587
605
  contract: string;
588
606
  to: string;
589
607
  amount: string;
590
608
  externalId?: string | undefined;
609
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
610
+ feeSponsorId?: string | undefined;
591
611
  } | {
592
612
  kind: "Trc721";
593
613
  contract: string;
594
614
  to: string;
595
615
  tokenId: string;
596
616
  externalId?: string | undefined;
617
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
618
+ feeSponsorId?: string | undefined;
597
619
  };
598
620
  metadata: {
599
621
  asset: {
@@ -615,6 +637,7 @@ export type GetTransferResponse = {
615
637
  dateConfirmed?: string | undefined;
616
638
  approvalId?: string | undefined;
617
639
  externalId?: string | undefined;
640
+ feeSponsorId?: string | undefined;
618
641
  };
619
642
  export type GetTransferRequest = GetTransferParams;
620
643
  export type GetWalletParams = {
@@ -1444,18 +1467,24 @@ export type ListTransfersResponse = {
1444
1467
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
1445
1468
  createDestinationAccount?: boolean | undefined;
1446
1469
  externalId?: string | undefined;
1470
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1471
+ feeSponsorId?: string | undefined;
1447
1472
  } | {
1448
1473
  kind: "Asa";
1449
1474
  assetId: string;
1450
1475
  to: string;
1451
1476
  amount: string;
1452
1477
  externalId?: string | undefined;
1478
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1479
+ feeSponsorId?: string | undefined;
1453
1480
  } | {
1454
1481
  kind: "Aip21";
1455
1482
  metadata: string;
1456
1483
  to: string;
1457
1484
  amount: string;
1458
1485
  externalId?: string | undefined;
1486
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1487
+ feeSponsorId?: string | undefined;
1459
1488
  } | {
1460
1489
  kind: "Erc20";
1461
1490
  contract: string;
@@ -1463,6 +1492,8 @@ export type ListTransfersResponse = {
1463
1492
  amount: string;
1464
1493
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
1465
1494
  externalId?: string | undefined;
1495
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1496
+ feeSponsorId?: string | undefined;
1466
1497
  } | {
1467
1498
  kind: "Erc721";
1468
1499
  contract: string;
@@ -1470,6 +1501,8 @@ export type ListTransfersResponse = {
1470
1501
  tokenId: string;
1471
1502
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
1472
1503
  externalId?: string | undefined;
1504
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1505
+ feeSponsorId?: string | undefined;
1473
1506
  } | {
1474
1507
  kind: "Sep41";
1475
1508
  issuer: string;
@@ -1478,6 +1511,8 @@ export type ListTransfersResponse = {
1478
1511
  amount: string;
1479
1512
  memo?: string | undefined;
1480
1513
  externalId?: string | undefined;
1514
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1515
+ feeSponsorId?: string | undefined;
1481
1516
  } | {
1482
1517
  kind: "Spl" | "Spl2022";
1483
1518
  to: string;
@@ -1485,6 +1520,8 @@ export type ListTransfersResponse = {
1485
1520
  mint: string;
1486
1521
  createDestinationAccount?: boolean | undefined;
1487
1522
  externalId?: string | undefined;
1523
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1524
+ feeSponsorId?: string | undefined;
1488
1525
  } | {
1489
1526
  kind: "Tep74";
1490
1527
  to: string;
@@ -1492,24 +1529,32 @@ export type ListTransfersResponse = {
1492
1529
  amount: string;
1493
1530
  memo?: string | undefined;
1494
1531
  externalId?: string | undefined;
1532
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1533
+ feeSponsorId?: string | undefined;
1495
1534
  } | {
1496
1535
  kind: "Trc10";
1497
1536
  tokenId: string;
1498
1537
  to: string;
1499
1538
  amount: string;
1500
1539
  externalId?: string | undefined;
1540
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1541
+ feeSponsorId?: string | undefined;
1501
1542
  } | {
1502
1543
  kind: "Trc20";
1503
1544
  contract: string;
1504
1545
  to: string;
1505
1546
  amount: string;
1506
1547
  externalId?: string | undefined;
1548
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1549
+ feeSponsorId?: string | undefined;
1507
1550
  } | {
1508
1551
  kind: "Trc721";
1509
1552
  contract: string;
1510
1553
  to: string;
1511
1554
  tokenId: string;
1512
1555
  externalId?: string | undefined;
1556
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1557
+ feeSponsorId?: string | undefined;
1513
1558
  };
1514
1559
  metadata: {
1515
1560
  asset: {
@@ -1531,6 +1576,7 @@ export type ListTransfersResponse = {
1531
1576
  dateConfirmed?: string | undefined;
1532
1577
  approvalId?: string | undefined;
1533
1578
  externalId?: string | undefined;
1579
+ feeSponsorId?: string | undefined;
1534
1580
  }[];
1535
1581
  nextPageToken?: string | undefined;
1536
1582
  };
@@ -1540,7 +1586,10 @@ export type ListTransfersRequest = ListTransfersParams & {
1540
1586
  export type ListWalletsQuery = {
1541
1587
  limit?: string | undefined;
1542
1588
  paginationToken?: string | undefined;
1589
+ owner?: string | undefined;
1590
+ /** @deprecated use owner instead */
1543
1591
  ownerId?: string | undefined;
1592
+ /** @deprecated use owner instead */
1544
1593
  ownerUsername?: string | undefined;
1545
1594
  };
1546
1595
  export type ListWalletsResponse = {
@@ -1585,18 +1634,24 @@ export type TransferAssetBody = {
1585
1634
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
1586
1635
  createDestinationAccount?: boolean | undefined;
1587
1636
  externalId?: string | undefined;
1637
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1638
+ feeSponsorId?: string | undefined;
1588
1639
  } | {
1589
1640
  kind: "Asa";
1590
1641
  assetId: string;
1591
1642
  to: string;
1592
1643
  amount: string;
1593
1644
  externalId?: string | undefined;
1645
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1646
+ feeSponsorId?: string | undefined;
1594
1647
  } | {
1595
1648
  kind: "Aip21";
1596
1649
  metadata: string;
1597
1650
  to: string;
1598
1651
  amount: string;
1599
1652
  externalId?: string | undefined;
1653
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1654
+ feeSponsorId?: string | undefined;
1600
1655
  } | {
1601
1656
  kind: "Erc20";
1602
1657
  contract: string;
@@ -1604,6 +1659,8 @@ export type TransferAssetBody = {
1604
1659
  amount: string;
1605
1660
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
1606
1661
  externalId?: string | undefined;
1662
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1663
+ feeSponsorId?: string | undefined;
1607
1664
  } | {
1608
1665
  kind: "Erc721";
1609
1666
  contract: string;
@@ -1611,6 +1668,8 @@ export type TransferAssetBody = {
1611
1668
  tokenId: string;
1612
1669
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
1613
1670
  externalId?: string | undefined;
1671
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1672
+ feeSponsorId?: string | undefined;
1614
1673
  } | {
1615
1674
  kind: "Sep41";
1616
1675
  issuer: string;
@@ -1619,6 +1678,8 @@ export type TransferAssetBody = {
1619
1678
  amount: string;
1620
1679
  memo?: string | undefined;
1621
1680
  externalId?: string | undefined;
1681
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1682
+ feeSponsorId?: string | undefined;
1622
1683
  } | {
1623
1684
  kind: "Spl" | "Spl2022";
1624
1685
  to: string;
@@ -1626,6 +1687,8 @@ export type TransferAssetBody = {
1626
1687
  mint: string;
1627
1688
  createDestinationAccount?: boolean | undefined;
1628
1689
  externalId?: string | undefined;
1690
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1691
+ feeSponsorId?: string | undefined;
1629
1692
  } | {
1630
1693
  kind: "Tep74";
1631
1694
  to: string;
@@ -1633,24 +1696,32 @@ export type TransferAssetBody = {
1633
1696
  amount: string;
1634
1697
  memo?: string | undefined;
1635
1698
  externalId?: string | undefined;
1699
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1700
+ feeSponsorId?: string | undefined;
1636
1701
  } | {
1637
1702
  kind: "Trc10";
1638
1703
  tokenId: string;
1639
1704
  to: string;
1640
1705
  amount: string;
1641
1706
  externalId?: string | undefined;
1707
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1708
+ feeSponsorId?: string | undefined;
1642
1709
  } | {
1643
1710
  kind: "Trc20";
1644
1711
  contract: string;
1645
1712
  to: string;
1646
1713
  amount: string;
1647
1714
  externalId?: string | undefined;
1715
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1716
+ feeSponsorId?: string | undefined;
1648
1717
  } | {
1649
1718
  kind: "Trc721";
1650
1719
  contract: string;
1651
1720
  to: string;
1652
1721
  tokenId: string;
1653
1722
  externalId?: string | undefined;
1723
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1724
+ feeSponsorId?: string | undefined;
1654
1725
  };
1655
1726
  export type TransferAssetParams = {
1656
1727
  walletId: string;
@@ -1672,18 +1743,24 @@ export type TransferAssetResponse = {
1672
1743
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
1673
1744
  createDestinationAccount?: boolean | undefined;
1674
1745
  externalId?: string | undefined;
1746
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1747
+ feeSponsorId?: string | undefined;
1675
1748
  } | {
1676
1749
  kind: "Asa";
1677
1750
  assetId: string;
1678
1751
  to: string;
1679
1752
  amount: string;
1680
1753
  externalId?: string | undefined;
1754
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1755
+ feeSponsorId?: string | undefined;
1681
1756
  } | {
1682
1757
  kind: "Aip21";
1683
1758
  metadata: string;
1684
1759
  to: string;
1685
1760
  amount: string;
1686
1761
  externalId?: string | undefined;
1762
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1763
+ feeSponsorId?: string | undefined;
1687
1764
  } | {
1688
1765
  kind: "Erc20";
1689
1766
  contract: string;
@@ -1691,6 +1768,8 @@ export type TransferAssetResponse = {
1691
1768
  amount: string;
1692
1769
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
1693
1770
  externalId?: string | undefined;
1771
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1772
+ feeSponsorId?: string | undefined;
1694
1773
  } | {
1695
1774
  kind: "Erc721";
1696
1775
  contract: string;
@@ -1698,6 +1777,8 @@ export type TransferAssetResponse = {
1698
1777
  tokenId: string;
1699
1778
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
1700
1779
  externalId?: string | undefined;
1780
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1781
+ feeSponsorId?: string | undefined;
1701
1782
  } | {
1702
1783
  kind: "Sep41";
1703
1784
  issuer: string;
@@ -1706,6 +1787,8 @@ export type TransferAssetResponse = {
1706
1787
  amount: string;
1707
1788
  memo?: string | undefined;
1708
1789
  externalId?: string | undefined;
1790
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1791
+ feeSponsorId?: string | undefined;
1709
1792
  } | {
1710
1793
  kind: "Spl" | "Spl2022";
1711
1794
  to: string;
@@ -1713,6 +1796,8 @@ export type TransferAssetResponse = {
1713
1796
  mint: string;
1714
1797
  createDestinationAccount?: boolean | undefined;
1715
1798
  externalId?: string | undefined;
1799
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1800
+ feeSponsorId?: string | undefined;
1716
1801
  } | {
1717
1802
  kind: "Tep74";
1718
1803
  to: string;
@@ -1720,24 +1805,32 @@ export type TransferAssetResponse = {
1720
1805
  amount: string;
1721
1806
  memo?: string | undefined;
1722
1807
  externalId?: string | undefined;
1808
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1809
+ feeSponsorId?: string | undefined;
1723
1810
  } | {
1724
1811
  kind: "Trc10";
1725
1812
  tokenId: string;
1726
1813
  to: string;
1727
1814
  amount: string;
1728
1815
  externalId?: string | undefined;
1816
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1817
+ feeSponsorId?: string | undefined;
1729
1818
  } | {
1730
1819
  kind: "Trc20";
1731
1820
  contract: string;
1732
1821
  to: string;
1733
1822
  amount: string;
1734
1823
  externalId?: string | undefined;
1824
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1825
+ feeSponsorId?: string | undefined;
1735
1826
  } | {
1736
1827
  kind: "Trc721";
1737
1828
  contract: string;
1738
1829
  to: string;
1739
1830
  tokenId: string;
1740
1831
  externalId?: string | undefined;
1832
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1833
+ feeSponsorId?: string | undefined;
1741
1834
  };
1742
1835
  metadata: {
1743
1836
  asset: {
@@ -1759,6 +1852,7 @@ export type TransferAssetResponse = {
1759
1852
  dateConfirmed?: string | undefined;
1760
1853
  approvalId?: string | undefined;
1761
1854
  externalId?: string | undefined;
1855
+ feeSponsorId?: string | undefined;
1762
1856
  };
1763
1857
  export type TransferAssetRequest = TransferAssetParams & {
1764
1858
  body: TransferAssetBody;
@@ -3,7 +3,7 @@ export type CreateWebhookBody = {
3
3
  /** Webhook status */
4
4
  status?: ("Enabled" | "Disabled") | undefined;
5
5
  description?: string | undefined;
6
- events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.tags.modified") | "*")[];
6
+ events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.tags.modified") | "*")[];
7
7
  };
8
8
  export type CreateWebhookResponse = {
9
9
  /** Webhook ID */
@@ -11,7 +11,7 @@ export type CreateWebhookResponse = {
11
11
  /** Webhook url */
12
12
  url: string;
13
13
  /** All events this webhook is subscribed to. */
14
- events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.tags.modified") | "*")[];
14
+ events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.tags.modified") | "*")[];
15
15
  /** Webhook status */
16
16
  status: "Enabled" | "Disabled";
17
17
  /** Short description this webhook's purpose */
@@ -42,7 +42,7 @@ export type GetWebhookResponse = {
42
42
  /** Webhook url */
43
43
  url: string;
44
44
  /** All events this webhook is subscribed to. */
45
- events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.tags.modified") | "*")[];
45
+ events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.tags.modified") | "*")[];
46
46
  /** Webhook status */
47
47
  status: "Enabled" | "Disabled";
48
48
  /** Short description this webhook's purpose */
@@ -63,7 +63,7 @@ export type GetWebhookEventResponse = {
63
63
  /** ISO date string when event was raised */
64
64
  date: string;
65
65
  /** Webhook event */
66
- kind: "policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.tags.modified";
66
+ kind: "policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.tags.modified";
67
67
  data: {
68
68
  [x: string]: any;
69
69
  };
@@ -79,7 +79,7 @@ export type ListWebhookEventsParams = {
79
79
  webhookId: string;
80
80
  };
81
81
  export type ListWebhookEventsQuery = {
82
- kind?: ("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.tags.modified") | undefined;
82
+ kind?: ("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.tags.modified") | undefined;
83
83
  deliveryFailed?: ("true" | "false") | undefined;
84
84
  limit?: number | undefined;
85
85
  paginationToken?: string | undefined;
@@ -91,7 +91,7 @@ export type ListWebhookEventsResponse = {
91
91
  /** ISO date string when event was raised */
92
92
  date: string;
93
93
  /** Webhook event */
94
- kind: "policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.tags.modified";
94
+ kind: "policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.tags.modified";
95
95
  data: {
96
96
  [x: string]: any;
97
97
  };
@@ -118,7 +118,7 @@ export type ListWebhooksResponse = {
118
118
  /** Webhook url */
119
119
  url: string;
120
120
  /** All events this webhook is subscribed to. */
121
- events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.tags.modified") | "*")[];
121
+ events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.tags.modified") | "*")[];
122
122
  /** Webhook status */
123
123
  status: "Enabled" | "Disabled";
124
124
  /** Short description this webhook's purpose */
@@ -144,7 +144,7 @@ export type PingWebhookRequest = PingWebhookParams;
144
144
  export type UpdateWebhookBody = {
145
145
  url?: string | undefined;
146
146
  description?: (string | undefined) | undefined;
147
- events?: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.tags.modified") | "*")[] | undefined;
147
+ events?: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.tags.modified") | "*")[] | undefined;
148
148
  /** Webhook status */
149
149
  status?: (("Enabled" | "Disabled") | undefined) | undefined;
150
150
  };
@@ -157,7 +157,7 @@ export type UpdateWebhookResponse = {
157
157
  /** Webhook url */
158
158
  url: string;
159
159
  /** All events this webhook is subscribed to. */
160
- events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.tags.modified") | "*")[];
160
+ events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.tags.modified") | "*")[];
161
161
  /** Webhook status */
162
162
  status: "Enabled" | "Disabled";
163
163
  /** Short description this webhook's purpose */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dfns/sdk",
3
- "version": "0.6.6-rc.1",
3
+ "version": "0.6.6",
4
4
  "dependencies": {
5
5
  "buffer": "6.0.3",
6
6
  "cross-fetch": "3.1.6",
@@ -0,0 +1 @@
1
+ export * from '../generated/feeSponsors/types';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("../generated/feeSponsors/types"), exports);
@@ -0,0 +1 @@
1
+ export * from '../generated/keys/types';
package/types/keys.js ADDED
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("../generated/keys/types"), exports);