@bitgo/public-types 6.34.0 → 6.35.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/dist/src/schema/transactionRequest/intents/cantonAllocationAllocateIntent.d.ts +16 -0
- package/dist/src/schema/transactionRequest/intents/cantonAllocationAllocateIntent.js +17 -0
- package/dist/src/schema/transactionRequest/intents/cantonAllocationAllocateIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/cantonAllocationRejectIntent.d.ts +16 -0
- package/dist/src/schema/transactionRequest/intents/cantonAllocationRejectIntent.js +17 -0
- package/dist/src/schema/transactionRequest/intents/cantonAllocationRejectIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationAcceptIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationAcceptIntent.js +3 -0
- package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationAcceptIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +34 -0
- package/dist/src/schema/transactionRequest/transactionRequest.d.ts +68 -0
- package/package.json +1 -1
- package/src/schema/transactionRequest/intents/cantonAllocationAllocateIntent.ts +17 -0
- package/src/schema/transactionRequest/intents/cantonAllocationRejectIntent.ts +17 -0
- package/src/schema/transactionRequest/intents/cantonCosignDelegationAcceptIntent.ts +4 -0
|
@@ -78,5 +78,21 @@ export declare const CantonAllocationAllocateIntent: t.IntersectionC<[t.Intersec
|
|
|
78
78
|
}>]>, t.TypeC<{
|
|
79
79
|
intentType: t.LiteralC<"allocationAllocate">;
|
|
80
80
|
txRequestId: t.StringC;
|
|
81
|
+
}>, t.PartialC<{
|
|
82
|
+
updateId: t.StringC;
|
|
83
|
+
operatorId: t.StringC;
|
|
84
|
+
contractId: t.UnionC<[t.StringC, t.NullC]>;
|
|
85
|
+
tradeId: t.StringC;
|
|
86
|
+
transferLegId: t.StringC;
|
|
87
|
+
senderPartyId: t.StringC;
|
|
88
|
+
receiverPartyId: t.StringC;
|
|
89
|
+
amount: t.StringC;
|
|
90
|
+
token: t.StringC;
|
|
91
|
+
receiveToken: t.StringC;
|
|
92
|
+
receiveAmount: t.StringC;
|
|
93
|
+
allocateBefore: t.StringC;
|
|
94
|
+
settleBefore: t.StringC;
|
|
95
|
+
comment: t.StringC;
|
|
96
|
+
requestedAt: t.StringC;
|
|
81
97
|
}>]>;
|
|
82
98
|
export type CantonAllocationAllocateIntent = t.TypeOf<typeof CantonAllocationAllocateIntent>;
|
|
@@ -33,5 +33,22 @@ exports.CantonAllocationAllocateIntent = t.intersection([
|
|
|
33
33
|
intentType: intentType_1.intentTypes.allocationAllocate,
|
|
34
34
|
txRequestId: t.string,
|
|
35
35
|
}),
|
|
36
|
+
t.partial({
|
|
37
|
+
updateId: t.string,
|
|
38
|
+
operatorId: t.string,
|
|
39
|
+
contractId: t.union([t.string, t.null]),
|
|
40
|
+
tradeId: t.string,
|
|
41
|
+
transferLegId: t.string,
|
|
42
|
+
senderPartyId: t.string,
|
|
43
|
+
receiverPartyId: t.string,
|
|
44
|
+
amount: t.string,
|
|
45
|
+
token: t.string,
|
|
46
|
+
receiveToken: t.string,
|
|
47
|
+
receiveAmount: t.string,
|
|
48
|
+
allocateBefore: t.string,
|
|
49
|
+
settleBefore: t.string,
|
|
50
|
+
comment: t.string,
|
|
51
|
+
requestedAt: t.string,
|
|
52
|
+
}),
|
|
36
53
|
]);
|
|
37
54
|
//# sourceMappingURL=cantonAllocationAllocateIntent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cantonAllocationAllocateIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonAllocationAllocateIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAa9B,QAAA,8BAA8B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3D,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,kBAAkB;QAC1C,WAAW,EAAE,CAAC,CAAC,MAAM;KACtB,CAAC;CACH,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"cantonAllocationAllocateIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonAllocationAllocateIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAa9B,QAAA,8BAA8B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3D,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,kBAAkB;QAC1C,WAAW,EAAE,CAAC,CAAC,MAAM;KACtB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,QAAQ,EAAE,CAAC,CAAC,MAAM;QAClB,UAAU,EAAE,CAAC,CAAC,MAAM;QACpB,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC;QACvC,OAAO,EAAE,CAAC,CAAC,MAAM;QACjB,aAAa,EAAE,CAAC,CAAC,MAAM;QACvB,aAAa,EAAE,CAAC,CAAC,MAAM;QACvB,eAAe,EAAE,CAAC,CAAC,MAAM;QACzB,MAAM,EAAE,CAAC,CAAC,MAAM;QAChB,KAAK,EAAE,CAAC,CAAC,MAAM;QACf,YAAY,EAAE,CAAC,CAAC,MAAM;QACtB,aAAa,EAAE,CAAC,CAAC,MAAM;QACvB,cAAc,EAAE,CAAC,CAAC,MAAM;QACxB,YAAY,EAAE,CAAC,CAAC,MAAM;QACtB,OAAO,EAAE,CAAC,CAAC,MAAM;QACjB,WAAW,EAAE,CAAC,CAAC,MAAM;KACtB,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -78,5 +78,21 @@ export declare const CantonAllocationRejectIntent: t.IntersectionC<[t.Intersecti
|
|
|
78
78
|
}>]>, t.TypeC<{
|
|
79
79
|
intentType: t.LiteralC<"allocationReject">;
|
|
80
80
|
txRequestId: t.StringC;
|
|
81
|
+
}>, t.PartialC<{
|
|
82
|
+
updateId: t.StringC;
|
|
83
|
+
operatorId: t.StringC;
|
|
84
|
+
contractId: t.UnionC<[t.StringC, t.NullC]>;
|
|
85
|
+
tradeId: t.StringC;
|
|
86
|
+
transferLegId: t.StringC;
|
|
87
|
+
senderPartyId: t.StringC;
|
|
88
|
+
receiverPartyId: t.StringC;
|
|
89
|
+
amount: t.StringC;
|
|
90
|
+
token: t.StringC;
|
|
91
|
+
receiveToken: t.StringC;
|
|
92
|
+
receiveAmount: t.StringC;
|
|
93
|
+
allocateBefore: t.StringC;
|
|
94
|
+
settleBefore: t.StringC;
|
|
95
|
+
comment: t.StringC;
|
|
96
|
+
requestedAt: t.StringC;
|
|
81
97
|
}>]>;
|
|
82
98
|
export type CantonAllocationRejectIntent = t.TypeOf<typeof CantonAllocationRejectIntent>;
|
|
@@ -33,5 +33,22 @@ exports.CantonAllocationRejectIntent = t.intersection([
|
|
|
33
33
|
intentType: intentType_1.intentTypes.allocationReject,
|
|
34
34
|
txRequestId: t.string,
|
|
35
35
|
}),
|
|
36
|
+
t.partial({
|
|
37
|
+
updateId: t.string,
|
|
38
|
+
operatorId: t.string,
|
|
39
|
+
contractId: t.union([t.string, t.null]),
|
|
40
|
+
tradeId: t.string,
|
|
41
|
+
transferLegId: t.string,
|
|
42
|
+
senderPartyId: t.string,
|
|
43
|
+
receiverPartyId: t.string,
|
|
44
|
+
amount: t.string,
|
|
45
|
+
token: t.string,
|
|
46
|
+
receiveToken: t.string,
|
|
47
|
+
receiveAmount: t.string,
|
|
48
|
+
allocateBefore: t.string,
|
|
49
|
+
settleBefore: t.string,
|
|
50
|
+
comment: t.string,
|
|
51
|
+
requestedAt: t.string,
|
|
52
|
+
}),
|
|
36
53
|
]);
|
|
37
54
|
//# sourceMappingURL=cantonAllocationRejectIntent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cantonAllocationRejectIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonAllocationRejectIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAa9B,QAAA,4BAA4B,GAAG,CAAC,CAAC,YAAY,CAAC;IACzD,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,gBAAgB;QACxC,WAAW,EAAE,CAAC,CAAC,MAAM;KACtB,CAAC;CACH,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"cantonAllocationRejectIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonAllocationRejectIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAa9B,QAAA,4BAA4B,GAAG,CAAC,CAAC,YAAY,CAAC;IACzD,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,gBAAgB;QACxC,WAAW,EAAE,CAAC,CAAC,MAAM;KACtB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,QAAQ,EAAE,CAAC,CAAC,MAAM;QAClB,UAAU,EAAE,CAAC,CAAC,MAAM;QACpB,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC;QACvC,OAAO,EAAE,CAAC,CAAC,MAAM;QACjB,aAAa,EAAE,CAAC,CAAC,MAAM;QACvB,aAAa,EAAE,CAAC,CAAC,MAAM;QACvB,eAAe,EAAE,CAAC,CAAC,MAAM;QACzB,MAAM,EAAE,CAAC,CAAC,MAAM;QAChB,KAAK,EAAE,CAAC,CAAC,MAAM;QACf,YAAY,EAAE,CAAC,CAAC,MAAM;QACtB,aAAa,EAAE,CAAC,CAAC,MAAM;QACvB,cAAc,EAAE,CAAC,CAAC,MAAM;QACxB,YAAY,EAAE,CAAC,CAAC,MAAM;QACtB,OAAO,EAAE,CAAC,CAAC,MAAM;QACjB,WAAW,EAAE,CAAC,CAAC,MAAM;KACtB,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -78,5 +78,7 @@ export declare const CantonCosignDelegationAcceptIntent: t.IntersectionC<[t.Inte
|
|
|
78
78
|
}>]>, t.TypeC<{
|
|
79
79
|
intentType: t.LiteralC<"cosignDelegationAccept">;
|
|
80
80
|
txRequestId: t.StringC;
|
|
81
|
+
}>, t.PartialC<{
|
|
82
|
+
operatorId: t.StringC;
|
|
81
83
|
}>]>;
|
|
82
84
|
export type CantonCosignDelegationAcceptIntent = t.TypeOf<typeof CantonCosignDelegationAcceptIntent>;
|
|
@@ -33,5 +33,8 @@ exports.CantonCosignDelegationAcceptIntent = t.intersection([
|
|
|
33
33
|
intentType: intentType_1.intentTypes.cosignDelegationAccept,
|
|
34
34
|
txRequestId: t.string,
|
|
35
35
|
}),
|
|
36
|
+
t.partial({
|
|
37
|
+
operatorId: t.string,
|
|
38
|
+
}),
|
|
36
39
|
]);
|
|
37
40
|
//# sourceMappingURL=cantonCosignDelegationAcceptIntent.js.map
|
package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationAcceptIntent.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cantonCosignDelegationAcceptIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonCosignDelegationAcceptIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;
|
|
1
|
+
{"version":3,"file":"cantonCosignDelegationAcceptIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonCosignDelegationAcceptIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAW9B,QAAA,kCAAkC,GAAG,CAAC,CAAC,YAAY,CAAC;IAC/D,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,sBAAsB;QAC9C,WAAW,EAAE,CAAC,CAAC,MAAM;KACtB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,UAAU,EAAE,CAAC,CAAC,MAAM;KACrB,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1465,6 +1465,22 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
1465
1465
|
}>]>, t.TypeC<{
|
|
1466
1466
|
intentType: t.LiteralC<"allocationAllocate">;
|
|
1467
1467
|
txRequestId: t.StringC;
|
|
1468
|
+
}>, t.PartialC<{
|
|
1469
|
+
updateId: t.StringC;
|
|
1470
|
+
operatorId: t.StringC;
|
|
1471
|
+
contractId: t.UnionC<[t.StringC, t.NullC]>;
|
|
1472
|
+
tradeId: t.StringC;
|
|
1473
|
+
transferLegId: t.StringC;
|
|
1474
|
+
senderPartyId: t.StringC;
|
|
1475
|
+
receiverPartyId: t.StringC;
|
|
1476
|
+
amount: t.StringC;
|
|
1477
|
+
token: t.StringC;
|
|
1478
|
+
receiveToken: t.StringC;
|
|
1479
|
+
receiveAmount: t.StringC;
|
|
1480
|
+
allocateBefore: t.StringC;
|
|
1481
|
+
settleBefore: t.StringC;
|
|
1482
|
+
comment: t.StringC;
|
|
1483
|
+
requestedAt: t.StringC;
|
|
1468
1484
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1469
1485
|
intentType: t.KeyofC<{
|
|
1470
1486
|
payment: t.LiteralC<"payment">;
|
|
@@ -1625,6 +1641,22 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
1625
1641
|
}>]>, t.TypeC<{
|
|
1626
1642
|
intentType: t.LiteralC<"allocationReject">;
|
|
1627
1643
|
txRequestId: t.StringC;
|
|
1644
|
+
}>, t.PartialC<{
|
|
1645
|
+
updateId: t.StringC;
|
|
1646
|
+
operatorId: t.StringC;
|
|
1647
|
+
contractId: t.UnionC<[t.StringC, t.NullC]>;
|
|
1648
|
+
tradeId: t.StringC;
|
|
1649
|
+
transferLegId: t.StringC;
|
|
1650
|
+
senderPartyId: t.StringC;
|
|
1651
|
+
receiverPartyId: t.StringC;
|
|
1652
|
+
amount: t.StringC;
|
|
1653
|
+
token: t.StringC;
|
|
1654
|
+
receiveToken: t.StringC;
|
|
1655
|
+
receiveAmount: t.StringC;
|
|
1656
|
+
allocateBefore: t.StringC;
|
|
1657
|
+
settleBefore: t.StringC;
|
|
1658
|
+
comment: t.StringC;
|
|
1659
|
+
requestedAt: t.StringC;
|
|
1628
1660
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1629
1661
|
intentType: t.KeyofC<{
|
|
1630
1662
|
payment: t.LiteralC<"payment">;
|
|
@@ -1798,6 +1830,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
1798
1830
|
}>]>, t.TypeC<{
|
|
1799
1831
|
intentType: t.LiteralC<"cosignDelegationAccept">;
|
|
1800
1832
|
txRequestId: t.StringC;
|
|
1833
|
+
}>, t.PartialC<{
|
|
1834
|
+
operatorId: t.StringC;
|
|
1801
1835
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1802
1836
|
intentType: t.KeyofC<{
|
|
1803
1837
|
payment: t.LiteralC<"payment">;
|
|
@@ -1563,6 +1563,22 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
1563
1563
|
}>]>, t.TypeC<{
|
|
1564
1564
|
intentType: t.LiteralC<"allocationAllocate">;
|
|
1565
1565
|
txRequestId: t.StringC;
|
|
1566
|
+
}>, t.PartialC<{
|
|
1567
|
+
updateId: t.StringC;
|
|
1568
|
+
operatorId: t.StringC;
|
|
1569
|
+
contractId: t.UnionC<[t.StringC, t.NullC]>;
|
|
1570
|
+
tradeId: t.StringC;
|
|
1571
|
+
transferLegId: t.StringC;
|
|
1572
|
+
senderPartyId: t.StringC;
|
|
1573
|
+
receiverPartyId: t.StringC;
|
|
1574
|
+
amount: t.StringC;
|
|
1575
|
+
token: t.StringC;
|
|
1576
|
+
receiveToken: t.StringC;
|
|
1577
|
+
receiveAmount: t.StringC;
|
|
1578
|
+
allocateBefore: t.StringC;
|
|
1579
|
+
settleBefore: t.StringC;
|
|
1580
|
+
comment: t.StringC;
|
|
1581
|
+
requestedAt: t.StringC;
|
|
1566
1582
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1567
1583
|
intentType: t.KeyofC<{
|
|
1568
1584
|
payment: t.LiteralC<"payment">;
|
|
@@ -1723,6 +1739,22 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
1723
1739
|
}>]>, t.TypeC<{
|
|
1724
1740
|
intentType: t.LiteralC<"allocationReject">;
|
|
1725
1741
|
txRequestId: t.StringC;
|
|
1742
|
+
}>, t.PartialC<{
|
|
1743
|
+
updateId: t.StringC;
|
|
1744
|
+
operatorId: t.StringC;
|
|
1745
|
+
contractId: t.UnionC<[t.StringC, t.NullC]>;
|
|
1746
|
+
tradeId: t.StringC;
|
|
1747
|
+
transferLegId: t.StringC;
|
|
1748
|
+
senderPartyId: t.StringC;
|
|
1749
|
+
receiverPartyId: t.StringC;
|
|
1750
|
+
amount: t.StringC;
|
|
1751
|
+
token: t.StringC;
|
|
1752
|
+
receiveToken: t.StringC;
|
|
1753
|
+
receiveAmount: t.StringC;
|
|
1754
|
+
allocateBefore: t.StringC;
|
|
1755
|
+
settleBefore: t.StringC;
|
|
1756
|
+
comment: t.StringC;
|
|
1757
|
+
requestedAt: t.StringC;
|
|
1726
1758
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1727
1759
|
intentType: t.KeyofC<{
|
|
1728
1760
|
payment: t.LiteralC<"payment">;
|
|
@@ -1896,6 +1928,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
1896
1928
|
}>]>, t.TypeC<{
|
|
1897
1929
|
intentType: t.LiteralC<"cosignDelegationAccept">;
|
|
1898
1930
|
txRequestId: t.StringC;
|
|
1931
|
+
}>, t.PartialC<{
|
|
1932
|
+
operatorId: t.StringC;
|
|
1899
1933
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1900
1934
|
intentType: t.KeyofC<{
|
|
1901
1935
|
payment: t.LiteralC<"payment">;
|
|
@@ -16555,6 +16589,22 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
16555
16589
|
}>]>, t.TypeC<{
|
|
16556
16590
|
intentType: t.LiteralC<"allocationAllocate">;
|
|
16557
16591
|
txRequestId: t.StringC;
|
|
16592
|
+
}>, t.PartialC<{
|
|
16593
|
+
updateId: t.StringC;
|
|
16594
|
+
operatorId: t.StringC;
|
|
16595
|
+
contractId: t.UnionC<[t.StringC, t.NullC]>;
|
|
16596
|
+
tradeId: t.StringC;
|
|
16597
|
+
transferLegId: t.StringC;
|
|
16598
|
+
senderPartyId: t.StringC;
|
|
16599
|
+
receiverPartyId: t.StringC;
|
|
16600
|
+
amount: t.StringC;
|
|
16601
|
+
token: t.StringC;
|
|
16602
|
+
receiveToken: t.StringC;
|
|
16603
|
+
receiveAmount: t.StringC;
|
|
16604
|
+
allocateBefore: t.StringC;
|
|
16605
|
+
settleBefore: t.StringC;
|
|
16606
|
+
comment: t.StringC;
|
|
16607
|
+
requestedAt: t.StringC;
|
|
16558
16608
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
16559
16609
|
intentType: t.KeyofC<{
|
|
16560
16610
|
payment: t.LiteralC<"payment">;
|
|
@@ -16715,6 +16765,22 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
16715
16765
|
}>]>, t.TypeC<{
|
|
16716
16766
|
intentType: t.LiteralC<"allocationReject">;
|
|
16717
16767
|
txRequestId: t.StringC;
|
|
16768
|
+
}>, t.PartialC<{
|
|
16769
|
+
updateId: t.StringC;
|
|
16770
|
+
operatorId: t.StringC;
|
|
16771
|
+
contractId: t.UnionC<[t.StringC, t.NullC]>;
|
|
16772
|
+
tradeId: t.StringC;
|
|
16773
|
+
transferLegId: t.StringC;
|
|
16774
|
+
senderPartyId: t.StringC;
|
|
16775
|
+
receiverPartyId: t.StringC;
|
|
16776
|
+
amount: t.StringC;
|
|
16777
|
+
token: t.StringC;
|
|
16778
|
+
receiveToken: t.StringC;
|
|
16779
|
+
receiveAmount: t.StringC;
|
|
16780
|
+
allocateBefore: t.StringC;
|
|
16781
|
+
settleBefore: t.StringC;
|
|
16782
|
+
comment: t.StringC;
|
|
16783
|
+
requestedAt: t.StringC;
|
|
16718
16784
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
16719
16785
|
intentType: t.KeyofC<{
|
|
16720
16786
|
payment: t.LiteralC<"payment">;
|
|
@@ -16888,6 +16954,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
16888
16954
|
}>]>, t.TypeC<{
|
|
16889
16955
|
intentType: t.LiteralC<"cosignDelegationAccept">;
|
|
16890
16956
|
txRequestId: t.StringC;
|
|
16957
|
+
}>, t.PartialC<{
|
|
16958
|
+
operatorId: t.StringC;
|
|
16891
16959
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
16892
16960
|
intentType: t.KeyofC<{
|
|
16893
16961
|
payment: t.LiteralC<"payment">;
|
package/package.json
CHANGED
|
@@ -19,6 +19,23 @@ export const CantonAllocationAllocateIntent = t.intersection([
|
|
|
19
19
|
intentType: intentTypes.allocationAllocate,
|
|
20
20
|
txRequestId: t.string,
|
|
21
21
|
}),
|
|
22
|
+
t.partial({
|
|
23
|
+
updateId: t.string,
|
|
24
|
+
operatorId: t.string,
|
|
25
|
+
contractId: t.union([t.string, t.null]),
|
|
26
|
+
tradeId: t.string,
|
|
27
|
+
transferLegId: t.string,
|
|
28
|
+
senderPartyId: t.string,
|
|
29
|
+
receiverPartyId: t.string,
|
|
30
|
+
amount: t.string,
|
|
31
|
+
token: t.string,
|
|
32
|
+
receiveToken: t.string,
|
|
33
|
+
receiveAmount: t.string,
|
|
34
|
+
allocateBefore: t.string,
|
|
35
|
+
settleBefore: t.string,
|
|
36
|
+
comment: t.string,
|
|
37
|
+
requestedAt: t.string,
|
|
38
|
+
}),
|
|
22
39
|
]);
|
|
23
40
|
|
|
24
41
|
export type CantonAllocationAllocateIntent = t.TypeOf<
|
|
@@ -19,6 +19,23 @@ export const CantonAllocationRejectIntent = t.intersection([
|
|
|
19
19
|
intentType: intentTypes.allocationReject,
|
|
20
20
|
txRequestId: t.string,
|
|
21
21
|
}),
|
|
22
|
+
t.partial({
|
|
23
|
+
updateId: t.string,
|
|
24
|
+
operatorId: t.string,
|
|
25
|
+
contractId: t.union([t.string, t.null]),
|
|
26
|
+
tradeId: t.string,
|
|
27
|
+
transferLegId: t.string,
|
|
28
|
+
senderPartyId: t.string,
|
|
29
|
+
receiverPartyId: t.string,
|
|
30
|
+
amount: t.string,
|
|
31
|
+
token: t.string,
|
|
32
|
+
receiveToken: t.string,
|
|
33
|
+
receiveAmount: t.string,
|
|
34
|
+
allocateBefore: t.string,
|
|
35
|
+
settleBefore: t.string,
|
|
36
|
+
comment: t.string,
|
|
37
|
+
requestedAt: t.string,
|
|
38
|
+
}),
|
|
22
39
|
]);
|
|
23
40
|
|
|
24
41
|
export type CantonAllocationRejectIntent = t.TypeOf<
|
|
@@ -9,6 +9,7 @@ import { intentTypes } from "./intentType";
|
|
|
9
9
|
*
|
|
10
10
|
* @param {String} intentType - The type of intent (always set to cosignDelegationAccept)
|
|
11
11
|
* @param {String} txRequestId - The cosignDelegationProposal txRequestId
|
|
12
|
+
* @param {String} [operatorId]
|
|
12
13
|
*/
|
|
13
14
|
export const CantonCosignDelegationAcceptIntent = t.intersection([
|
|
14
15
|
BaseIntent,
|
|
@@ -16,6 +17,9 @@ export const CantonCosignDelegationAcceptIntent = t.intersection([
|
|
|
16
17
|
intentType: intentTypes.cosignDelegationAccept,
|
|
17
18
|
txRequestId: t.string,
|
|
18
19
|
}),
|
|
20
|
+
t.partial({
|
|
21
|
+
operatorId: t.string,
|
|
22
|
+
}),
|
|
19
23
|
]);
|
|
20
24
|
|
|
21
25
|
export type CantonCosignDelegationAcceptIntent = t.TypeOf<
|