@bitgo/public-types 6.32.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/cantonAllocationRequestIntent.d.ts +1 -1
- package/dist/src/schema/transactionRequest/intents/cantonAllocationRequestIntent.js +1 -1
- package/dist/src/schema/transactionRequest/intents/cantonAllocationRequestIntent.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 +35 -1
- package/dist/src/schema/transactionRequest/transactionRequest.d.ts +70 -2
- 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/cantonAllocationRequestIntent.ts +2 -2
- 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"}
|
|
@@ -79,7 +79,7 @@ export declare const CantonAllocationRequestIntent: t.IntersectionC<[t.Intersect
|
|
|
79
79
|
intentType: t.LiteralC<"allocationRequest">;
|
|
80
80
|
updateId: t.StringC;
|
|
81
81
|
operatorId: t.StringC;
|
|
82
|
-
contractId: t.StringC
|
|
82
|
+
contractId: t.UnionC<[t.StringC, t.NullC]>;
|
|
83
83
|
tradeId: t.StringC;
|
|
84
84
|
transferLegId: t.StringC;
|
|
85
85
|
senderPartyId: t.StringC;
|
|
@@ -33,7 +33,7 @@ exports.CantonAllocationRequestIntent = t.intersection([
|
|
|
33
33
|
intentType: intentType_1.intentTypes.allocationRequest,
|
|
34
34
|
updateId: t.string,
|
|
35
35
|
operatorId: t.string,
|
|
36
|
-
contractId: t.string,
|
|
36
|
+
contractId: t.union([t.string, t.null]),
|
|
37
37
|
tradeId: t.string,
|
|
38
38
|
transferLegId: t.string,
|
|
39
39
|
senderPartyId: t.string,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cantonAllocationRequestIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonAllocationRequestIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AA+B9B,QAAA,6BAA6B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC1D,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,iBAAiB;QACzC,QAAQ,EAAE,CAAC,CAAC,MAAM;QAClB,UAAU,EAAE,CAAC,CAAC,MAAM;QACpB,UAAU,EAAE,CAAC,CAAC,MAAM;
|
|
1
|
+
{"version":3,"file":"cantonAllocationRequestIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonAllocationRequestIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AA+B9B,QAAA,6BAA6B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC1D,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,iBAAiB;QACzC,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;KACvB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,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">;
|
|
@@ -1705,7 +1737,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
1705
1737
|
intentType: t.LiteralC<"allocationRequest">;
|
|
1706
1738
|
updateId: t.StringC;
|
|
1707
1739
|
operatorId: t.StringC;
|
|
1708
|
-
contractId: t.StringC
|
|
1740
|
+
contractId: t.UnionC<[t.StringC, t.NullC]>;
|
|
1709
1741
|
tradeId: t.StringC;
|
|
1710
1742
|
transferLegId: t.StringC;
|
|
1711
1743
|
senderPartyId: t.StringC;
|
|
@@ -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">;
|
|
@@ -1803,7 +1835,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
1803
1835
|
intentType: t.LiteralC<"allocationRequest">;
|
|
1804
1836
|
updateId: t.StringC;
|
|
1805
1837
|
operatorId: t.StringC;
|
|
1806
|
-
contractId: t.StringC
|
|
1838
|
+
contractId: t.UnionC<[t.StringC, t.NullC]>;
|
|
1807
1839
|
tradeId: t.StringC;
|
|
1808
1840
|
transferLegId: t.StringC;
|
|
1809
1841
|
senderPartyId: t.StringC;
|
|
@@ -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">;
|
|
@@ -16795,7 +16861,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
16795
16861
|
intentType: t.LiteralC<"allocationRequest">;
|
|
16796
16862
|
updateId: t.StringC;
|
|
16797
16863
|
operatorId: t.StringC;
|
|
16798
|
-
contractId: t.StringC
|
|
16864
|
+
contractId: t.UnionC<[t.StringC, t.NullC]>;
|
|
16799
16865
|
tradeId: t.StringC;
|
|
16800
16866
|
transferLegId: t.StringC;
|
|
16801
16867
|
senderPartyId: t.StringC;
|
|
@@ -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<
|
|
@@ -17,7 +17,7 @@ import { intentTypes } from "./intentType";
|
|
|
17
17
|
* @param {String} intentType - The type of intent (always set to allocationRequest)
|
|
18
18
|
* @param {String} updateId - The transaction update id of the AllocationRequest event
|
|
19
19
|
* @param {String} operatorId - The settlement executor (operator / TradeWeb party)
|
|
20
|
-
* @param {String}
|
|
20
|
+
* @param {String|null} contractId - The settlement batch contract id (settlementRef.cid); null for Repo/Cash DvP trades where no pre-existing batch contract exists
|
|
21
21
|
* @param {String} tradeId - The trade identifier (settlementRef.id)
|
|
22
22
|
* @param {String} transferLegId - The specific leg being allocated (e.g. "${tradeId}-security-leg")
|
|
23
23
|
* @param {String} senderPartyId - The party performing this allocation (sender of this leg)
|
|
@@ -37,7 +37,7 @@ export const CantonAllocationRequestIntent = t.intersection([
|
|
|
37
37
|
intentType: intentTypes.allocationRequest,
|
|
38
38
|
updateId: t.string,
|
|
39
39
|
operatorId: t.string,
|
|
40
|
-
contractId: t.string,
|
|
40
|
+
contractId: t.union([t.string, t.null]),
|
|
41
41
|
tradeId: t.string,
|
|
42
42
|
transferLegId: t.string,
|
|
43
43
|
senderPartyId: t.string,
|
|
@@ -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<
|