@bitgo/public-types 6.32.0 → 6.34.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/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/intent.d.ts +1 -1
- package/dist/src/schema/transactionRequest/transactionRequest.d.ts +2 -2
- package/package.json +1 -1
- package/src/schema/transactionRequest/intents/cantonAllocationRequestIntent.ts +2 -2
|
@@ -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"}
|
|
@@ -1705,7 +1705,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
1705
1705
|
intentType: t.LiteralC<"allocationRequest">;
|
|
1706
1706
|
updateId: t.StringC;
|
|
1707
1707
|
operatorId: t.StringC;
|
|
1708
|
-
contractId: t.StringC
|
|
1708
|
+
contractId: t.UnionC<[t.StringC, t.NullC]>;
|
|
1709
1709
|
tradeId: t.StringC;
|
|
1710
1710
|
transferLegId: t.StringC;
|
|
1711
1711
|
senderPartyId: t.StringC;
|
|
@@ -1803,7 +1803,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
1803
1803
|
intentType: t.LiteralC<"allocationRequest">;
|
|
1804
1804
|
updateId: t.StringC;
|
|
1805
1805
|
operatorId: t.StringC;
|
|
1806
|
-
contractId: t.StringC
|
|
1806
|
+
contractId: t.UnionC<[t.StringC, t.NullC]>;
|
|
1807
1807
|
tradeId: t.StringC;
|
|
1808
1808
|
transferLegId: t.StringC;
|
|
1809
1809
|
senderPartyId: t.StringC;
|
|
@@ -16795,7 +16795,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
16795
16795
|
intentType: t.LiteralC<"allocationRequest">;
|
|
16796
16796
|
updateId: t.StringC;
|
|
16797
16797
|
operatorId: t.StringC;
|
|
16798
|
-
contractId: t.StringC
|
|
16798
|
+
contractId: t.UnionC<[t.StringC, t.NullC]>;
|
|
16799
16799
|
tradeId: t.StringC;
|
|
16800
16800
|
transferLegId: t.StringC;
|
|
16801
16801
|
senderPartyId: t.StringC;
|
package/package.json
CHANGED
|
@@ -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,
|