@bitgo/public-types 6.31.0 → 6.32.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 -0
- package/dist/src/schema/transactionRequest/intents/cantonAllocationRequestIntent.js +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonAllocationRequestIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/transactionRequest.d.ts +2 -0
- package/package.json +1 -1
- package/src/schema/transactionRequest/intents/cantonAllocationRequestIntent.ts +2 -0
|
@@ -92,5 +92,6 @@ export declare const CantonAllocationRequestIntent: t.IntersectionC<[t.Intersect
|
|
|
92
92
|
settleBefore: t.StringC;
|
|
93
93
|
}>, t.PartialC<{
|
|
94
94
|
comment: t.StringC;
|
|
95
|
+
requestedAt: t.StringC;
|
|
95
96
|
}>]>;
|
|
96
97
|
export type CantonAllocationRequestIntent = t.TypeOf<typeof CantonAllocationRequestIntent>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cantonAllocationRequestIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonAllocationRequestIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;
|
|
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;QACpB,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"}
|
|
@@ -1718,6 +1718,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
1718
1718
|
settleBefore: t.StringC;
|
|
1719
1719
|
}>, t.PartialC<{
|
|
1720
1720
|
comment: t.StringC;
|
|
1721
|
+
requestedAt: t.StringC;
|
|
1721
1722
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1722
1723
|
intentType: t.KeyofC<{
|
|
1723
1724
|
payment: t.LiteralC<"payment">;
|
|
@@ -1816,6 +1816,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
1816
1816
|
settleBefore: t.StringC;
|
|
1817
1817
|
}>, t.PartialC<{
|
|
1818
1818
|
comment: t.StringC;
|
|
1819
|
+
requestedAt: t.StringC;
|
|
1819
1820
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1820
1821
|
intentType: t.KeyofC<{
|
|
1821
1822
|
payment: t.LiteralC<"payment">;
|
|
@@ -16807,6 +16808,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
16807
16808
|
settleBefore: t.StringC;
|
|
16808
16809
|
}>, t.PartialC<{
|
|
16809
16810
|
comment: t.StringC;
|
|
16811
|
+
requestedAt: t.StringC;
|
|
16810
16812
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
16811
16813
|
intentType: t.KeyofC<{
|
|
16812
16814
|
payment: t.LiteralC<"payment">;
|
package/package.json
CHANGED
|
@@ -29,6 +29,7 @@ import { intentTypes } from "./intentType";
|
|
|
29
29
|
* @param {String} allocateBefore - ISO 8601 deadline by which allocation must be submitted
|
|
30
30
|
* @param {String} settleBefore - ISO 8601 deadline by which settlement must complete
|
|
31
31
|
* @param {String} [comment] - Optional free-form note
|
|
32
|
+
* @param {String} [requestedAt] - ISO 8601 timestamp; Canton enforces dvp.terms.createdAt for repoDvP AllocationFactory_Allocate; absent for cashDvP
|
|
32
33
|
*/
|
|
33
34
|
export const CantonAllocationRequestIntent = t.intersection([
|
|
34
35
|
BaseIntent,
|
|
@@ -50,6 +51,7 @@ export const CantonAllocationRequestIntent = t.intersection([
|
|
|
50
51
|
}),
|
|
51
52
|
t.partial({
|
|
52
53
|
comment: t.string,
|
|
54
|
+
requestedAt: t.string,
|
|
53
55
|
}),
|
|
54
56
|
]);
|
|
55
57
|
|