@bitgo/public-types 5.85.0 → 5.87.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.
Files changed (22) hide show
  1. package/dist/src/schema/transactionRequest/intents/cantonPaymentIntent.d.ts +85 -0
  2. package/dist/src/schema/transactionRequest/intents/cantonPaymentIntent.js +36 -0
  3. package/dist/src/schema/transactionRequest/intents/cantonPaymentIntent.js.map +1 -0
  4. package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.d.ts +1 -0
  5. package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.js +1 -0
  6. package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.js.map +1 -1
  7. package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.d.ts +1 -0
  8. package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.js +1 -0
  9. package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.js.map +1 -1
  10. package/dist/src/schema/transactionRequest/intents/index.d.ts +1 -0
  11. package/dist/src/schema/transactionRequest/intents/index.js +1 -0
  12. package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
  13. package/dist/src/schema/transactionRequest/intents/intent.d.ts +84 -0
  14. package/dist/src/schema/transactionRequest/intents/intent.js +2 -0
  15. package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
  16. package/dist/src/schema/transactionRequest/transactionRequest.d.ts +168 -0
  17. package/package.json +1 -1
  18. package/src/schema/transactionRequest/intents/cantonPaymentIntent.ts +15 -0
  19. package/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.ts +2 -0
  20. package/src/schema/transactionRequest/intents/cantonTransferRejectIntent.ts +2 -0
  21. package/src/schema/transactionRequest/intents/index.ts +1 -0
  22. package/src/schema/transactionRequest/intents/intent.ts +2 -0
@@ -0,0 +1,85 @@
1
+ import * as t from "io-ts";
2
+ export declare const CantonPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
3
+ intentType: t.KeyofC<{
4
+ payment: t.LiteralC<"payment">;
5
+ transferToken: t.LiteralC<"transferToken">;
6
+ consolidate: t.LiteralC<"consolidate">;
7
+ consolidateToken: t.LiteralC<"consolidateToken">;
8
+ fanout: t.LiteralC<"fanout">;
9
+ stake: t.LiteralC<"stake">;
10
+ unstake: t.LiteralC<"unstake">;
11
+ delegate: t.LiteralC<"delegate">;
12
+ undelegate: t.LiteralC<"undelegate">;
13
+ switchValidator: t.LiteralC<"switchValidator">;
14
+ claim: t.LiteralC<"claim">;
15
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
16
+ pledge: t.LiteralC<"pledge">;
17
+ voteDelegation: t.LiteralC<"voteDelegation">;
18
+ vote: t.LiteralC<"vote">;
19
+ createAccount: t.LiteralC<"createAccount">;
20
+ updateAccount: t.LiteralC<"updateAccount">;
21
+ addTrustLine: t.LiteralC<"addTrustLine">;
22
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
23
+ signMessage: t.LiteralC<"signMessage">;
24
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
25
+ enableToken: t.LiteralC<"enableToken">;
26
+ authorize: t.LiteralC<"authorize">;
27
+ acceleration: t.LiteralC<"acceleration">;
28
+ fillNonce: t.LiteralC<"fillNonce">;
29
+ walletRecovery: t.LiteralC<"walletRecovery">;
30
+ contractCall: t.LiteralC<"contractCall">;
31
+ deactivate: t.LiteralC<"deactivate">;
32
+ customTx: t.LiteralC<"customTx">;
33
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
+ unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
36
+ switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
37
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
+ tokenApproval: t.LiteralC<"tokenApproval">;
39
+ transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
41
+ increaseStake: t.LiteralC<"increaseStake">;
42
+ decreaseStake: t.LiteralC<"decreaseStake">;
43
+ signalExit: t.LiteralC<"signalExit">;
44
+ withdrawStake: t.LiteralC<"withdrawStake">;
45
+ spotTransfer: t.LiteralC<"spotTransfer">;
46
+ bridgeFunds: t.LiteralC<"bridgeFunds">;
47
+ goUnstake: t.LiteralC<"goUnstake">;
48
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
49
+ transferAccept: t.LiteralC<"transferAccept">;
50
+ transferReject: t.LiteralC<"transferReject">;
51
+ transferAcknowledge: t.LiteralC<"transferAcknowledge">;
52
+ transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
53
+ "defi-deposit": t.LiteralC<"defi-deposit">;
54
+ "defi-redeem": t.LiteralC<"defi-redeem">;
55
+ }>;
56
+ }>, t.PartialC<{
57
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
58
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
59
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
60
+ }>]>, t.TypeC<{
61
+ recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
62
+ address: t.PartialC<{
63
+ address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
64
+ option: t.UnionC<[t.Type<{
65
+ [x: string]: unknown;
66
+ }, {
67
+ [x: string]: unknown;
68
+ }, unknown>, t.UndefinedC]>;
69
+ }>;
70
+ amount: t.TypeC<{
71
+ value: t.StringC;
72
+ symbol: t.StringC;
73
+ }>;
74
+ }>, t.PartialC<{
75
+ data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
76
+ }>]>>;
77
+ }>, t.UnionC<[t.TypeC<{
78
+ intentType: t.LiteralC<"payment">;
79
+ }>, t.TypeC<{
80
+ intentType: t.LiteralC<"payment">;
81
+ isTestTransaction: t.BooleanC;
82
+ }>]>]>, t.PartialC<{
83
+ memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
84
+ }>]>;
85
+ export type CantonPaymentIntent = t.TypeOf<typeof CantonPaymentIntent>;
@@ -0,0 +1,36 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.CantonPaymentIntent = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const paymentIntent_1 = require("./paymentIntent");
29
+ const utils_1 = require("../../../utils");
30
+ exports.CantonPaymentIntent = t.intersection([
31
+ paymentIntent_1.PaymentIntent,
32
+ t.partial({
33
+ memo: utils_1.optionalString,
34
+ }),
35
+ ]);
36
+ //# sourceMappingURL=cantonPaymentIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cantonPaymentIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonPaymentIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,mDAAgD;AAChD,0CAAgD;AAKnC,QAAA,mBAAmB,GAAG,CAAC,CAAC,YAAY,CAAC;IAChD,6BAAa;IACb,CAAC,CAAC,OAAO,CAAC;QACR,IAAI,EAAE,sBAAc;KACrB,CAAC;CACH,CAAC,CAAC"}
@@ -62,5 +62,6 @@ export declare const CantonTransferAcceptIntent: t.IntersectionC<[t.Intersection
62
62
  txRequestId: t.StringC;
63
63
  }>, t.PartialC<{
64
64
  token: t.StringC;
65
+ expiry: t.NumberC;
65
66
  }>]>;
66
67
  export type CantonTransferAcceptIntent = t.TypeOf<typeof CantonTransferAcceptIntent>;
@@ -35,6 +35,7 @@ exports.CantonTransferAcceptIntent = t.intersection([
35
35
  }),
36
36
  t.partial({
37
37
  token: t.string,
38
+ expiry: t.number,
38
39
  }),
39
40
  ]);
40
41
  //# sourceMappingURL=cantonTransferAcceptIntent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cantonTransferAcceptIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonTransferAcceptIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAa9B,QAAA,0BAA0B,GAAG,CAAC,CAAC,YAAY,CAAC;IACvD,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,cAAc;QACtC,WAAW,EAAE,CAAC,CAAC,MAAM;KACtB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,KAAK,EAAE,CAAC,CAAC,MAAM;KAChB,CAAC;CACH,CAAC,CAAC"}
1
+ {"version":3,"file":"cantonTransferAcceptIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonTransferAcceptIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAc9B,QAAA,0BAA0B,GAAG,CAAC,CAAC,YAAY,CAAC;IACvD,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,cAAc;QACtC,WAAW,EAAE,CAAC,CAAC,MAAM;KACtB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,KAAK,EAAE,CAAC,CAAC,MAAM;QACf,MAAM,EAAE,CAAC,CAAC,MAAM;KACjB,CAAC;CACH,CAAC,CAAC"}
@@ -62,5 +62,6 @@ export declare const CantonTransferRejectIntent: t.IntersectionC<[t.Intersection
62
62
  txRequestId: t.StringC;
63
63
  }>, t.PartialC<{
64
64
  token: t.StringC;
65
+ expiry: t.NumberC;
65
66
  }>]>;
66
67
  export type CantonTransferRejectIntent = t.TypeOf<typeof CantonTransferRejectIntent>;
@@ -35,6 +35,7 @@ exports.CantonTransferRejectIntent = t.intersection([
35
35
  }),
36
36
  t.partial({
37
37
  token: t.string,
38
+ expiry: t.number,
38
39
  }),
39
40
  ]);
40
41
  //# sourceMappingURL=cantonTransferRejectIntent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cantonTransferRejectIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonTransferRejectIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAa9B,QAAA,0BAA0B,GAAG,CAAC,CAAC,YAAY,CAAC;IACvD,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,cAAc;QACtC,WAAW,EAAE,CAAC,CAAC,MAAM;KACtB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,KAAK,EAAE,CAAC,CAAC,MAAM;KAChB,CAAC;CACH,CAAC,CAAC"}
1
+ {"version":3,"file":"cantonTransferRejectIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonTransferRejectIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAc9B,QAAA,0BAA0B,GAAG,CAAC,CAAC,YAAY,CAAC;IACvD,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,cAAc;QACtC,WAAW,EAAE,CAAC,CAAC,MAAM;KACtB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,KAAK,EAAE,CAAC,CAAC,MAAM;QACf,MAAM,EAAE,CAAC,CAAC,MAAM;KACjB,CAAC;CACH,CAAC,CAAC"}
@@ -33,6 +33,7 @@ export * from "./bscDelegateIntent";
33
33
  export * from "./bscStakeClaimRewardsIntent";
34
34
  export * from "./bscUndelegateIntent";
35
35
  export * from "./bscWithdrawUndelegateIntent";
36
+ export * from "./cantonPaymentIntent";
36
37
  export * from "./cantonTransferAcceptIntent";
37
38
  export * from "./cantonTransferAcknowledgeIntent";
38
39
  export * from "./cantonTransferOfferWithdrawnIntent";
@@ -49,6 +49,7 @@ __exportStar(require("./bscDelegateIntent"), exports);
49
49
  __exportStar(require("./bscStakeClaimRewardsIntent"), exports);
50
50
  __exportStar(require("./bscUndelegateIntent"), exports);
51
51
  __exportStar(require("./bscWithdrawUndelegateIntent"), exports);
52
+ __exportStar(require("./cantonPaymentIntent"), exports);
52
53
  __exportStar(require("./cantonTransferAcceptIntent"), exports);
53
54
  __exportStar(require("./cantonTransferAcknowledgeIntent"), exports);
54
55
  __exportStar(require("./cantonTransferOfferWithdrawnIntent"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,4DAA0C;AAC1C,iEAA+C;AAC/C,mEAAiD;AACjD,mEAAiD;AACjD,yDAAuC;AACvC,qDAAmC;AACnC,oDAAkC;AAClC,+DAA6C;AAC7C,mDAAi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,yDAAuC;AACvC,wDAAsC;AACtC,2DAAyC;AACzC,yDAAuC;AACvC,mDAAiC;AACjC,qDAAmC;AACnC,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,4DAA0C;AAC1C,iEAA+C;AAC/C,mEAAiD;AACjD,mEAAiD;AACjD,yDAAuC;AACvC,qDAAmC;AACnC,oDAAkC;AAClC,+DAA6C;AAC7C,mDAAiC;AACjC,qDAAmC;AACnC,4DAA0C;AAC1C,4CAA0B;AAC1B,2CAAyB;AACzB,oDAAkC;AAClC,sDAAoC;AACpC,mDAAiC;AACjC,qDAAmC;AACnC,2DAAyC;AACzC,sDAAoC;AACpC,oDAAkC;AAClC,sDAAoC;AACpC,uDAAqC;AACrC,kEAAgD;AAChD,6DAA2C;AAC3C,0DAAwC;AACxC,sDAAoC;AACpC,+CAA6B;AAC7B,oDAAkC;AAClC,gEAA8C;AAC9C,uDAAqC;AACrC,sDAAoC;AACpC,+DAA6C;AAC7C,wDAAsC;AACtC,gEAA8C;AAC9C,wDAAsC;AACtC,+DAA6C;AAC7C,oEAAkD;AAClD,uEAAqD;AACrD,+DAA6C;AAC7C,2DAAyC;AACzC,uDAAqC;AACrC,0DAAwC;AACxC,4DAA0C;AAC1C,wDAAsC;AACtC,sDAAoC;AACpC,gEAA8C;AAC9C,wDAAsC;AACtC,yDAAuC;AACvC,sDAAoC;AACpC,qDAAmC;AACnC,+DAA6C;AAC7C,kDAAgC;AAChC,yDAAuC;AACvC,2DAAyC;AACzC,wDAAsC;AACtC,kDAAgC;AAChC,qDAAmC;AACnC,6CAA2B;AAC3B,qDAAmC;AACnC,uDAAqC;AACrC,2DAAyC;AACzC,sDAAoC;AACpC,sDAAoC;AACpC,0DAAwC;AACxC,oDAAkC;AAClC,yDAAuC;AACvC,8DAA4C;AAC5C,uDAAqC;AACrC,uDAAqC;AAC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C;AACvC,sDAAoC;AACpC,oEAAkD;AAClD,sEAAoD;AACpD,qDAAmC;AACnC,qEAAmD;AACnD,uEAAqD;AACrD,mDAAiC;AACjC,wDAAsC;AACtC,4DAA0C;AAC1C,8DAA4C;AAC5C,wDAAsC;AACtC,kDAAgC;AAChC,uEAAqD;AACrD,gEAA8C;AAC9C,sDAAoC;AACpC,+DAA6C;AAC7C,qDAAmC;AACnC,uDAAqC;AACrC,mEAAiD;AACjD,2DAAyC;AACzC,2DAAyC;AACzC,wDAAsC;AACtC,2DAAyC;AACzC,yDAAuC;AACvC,yDAAuC;AACvC,wDAAsC;AACtC,2DAAyC;AACzC,yDAAuC;AACvC,mDAAiC;AACjC,qDAAmC;AACnC,uDAAqC"}
@@ -1189,6 +1189,88 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
1189
1189
  }>]>, t.TypeC<{
1190
1190
  validatorAddress: t.StringC;
1191
1191
  requestNumber: t.NumberC;
1192
+ }>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1193
+ intentType: t.KeyofC<{
1194
+ payment: t.LiteralC<"payment">;
1195
+ transferToken: t.LiteralC<"transferToken">;
1196
+ consolidate: t.LiteralC<"consolidate">;
1197
+ consolidateToken: t.LiteralC<"consolidateToken">;
1198
+ fanout: t.LiteralC<"fanout">;
1199
+ stake: t.LiteralC<"stake">;
1200
+ unstake: t.LiteralC<"unstake">;
1201
+ delegate: t.LiteralC<"delegate">;
1202
+ undelegate: t.LiteralC<"undelegate">;
1203
+ switchValidator: t.LiteralC<"switchValidator">;
1204
+ claim: t.LiteralC<"claim">;
1205
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
1206
+ pledge: t.LiteralC<"pledge">;
1207
+ voteDelegation: t.LiteralC<"voteDelegation">;
1208
+ vote: t.LiteralC<"vote">;
1209
+ createAccount: t.LiteralC<"createAccount">;
1210
+ updateAccount: t.LiteralC<"updateAccount">;
1211
+ addTrustLine: t.LiteralC<"addTrustLine">;
1212
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
1213
+ signMessage: t.LiteralC<"signMessage">;
1214
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
1215
+ enableToken: t.LiteralC<"enableToken">;
1216
+ authorize: t.LiteralC<"authorize">;
1217
+ acceleration: t.LiteralC<"acceleration">;
1218
+ fillNonce: t.LiteralC<"fillNonce">;
1219
+ walletRecovery: t.LiteralC<"walletRecovery">;
1220
+ contractCall: t.LiteralC<"contractCall">;
1221
+ deactivate: t.LiteralC<"deactivate">;
1222
+ customTx: t.LiteralC<"customTx">;
1223
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
1224
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
1225
+ unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
1226
+ switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
1227
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
1228
+ tokenApproval: t.LiteralC<"tokenApproval">;
1229
+ transferStake: t.LiteralC<"transferStake">;
1230
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
1231
+ increaseStake: t.LiteralC<"increaseStake">;
1232
+ decreaseStake: t.LiteralC<"decreaseStake">;
1233
+ signalExit: t.LiteralC<"signalExit">;
1234
+ withdrawStake: t.LiteralC<"withdrawStake">;
1235
+ spotTransfer: t.LiteralC<"spotTransfer">;
1236
+ bridgeFunds: t.LiteralC<"bridgeFunds">;
1237
+ goUnstake: t.LiteralC<"goUnstake">;
1238
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
1239
+ transferAccept: t.LiteralC<"transferAccept">;
1240
+ transferReject: t.LiteralC<"transferReject">;
1241
+ transferAcknowledge: t.LiteralC<"transferAcknowledge">;
1242
+ transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
1243
+ "defi-deposit": t.LiteralC<"defi-deposit">;
1244
+ "defi-redeem": t.LiteralC<"defi-redeem">;
1245
+ }>;
1246
+ }>, t.PartialC<{
1247
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
1248
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
1249
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
1250
+ }>]>, t.TypeC<{
1251
+ recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
1252
+ address: t.PartialC<{
1253
+ address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
1254
+ option: t.UnionC<[t.Type<{
1255
+ [x: string]: unknown;
1256
+ }, {
1257
+ [x: string]: unknown;
1258
+ }, unknown>, t.UndefinedC]>;
1259
+ }>;
1260
+ amount: t.TypeC<{
1261
+ value: t.StringC;
1262
+ symbol: t.StringC;
1263
+ }>;
1264
+ }>, t.PartialC<{
1265
+ data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
1266
+ }>]>>;
1267
+ }>, t.UnionC<[t.TypeC<{
1268
+ intentType: t.LiteralC<"payment">;
1269
+ }>, t.TypeC<{
1270
+ intentType: t.LiteralC<"payment">;
1271
+ isTestTransaction: t.BooleanC;
1272
+ }>]>]>, t.PartialC<{
1273
+ memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
1192
1274
  }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1193
1275
  intentType: t.KeyofC<{
1194
1276
  payment: t.LiteralC<"payment">;
@@ -1252,6 +1334,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
1252
1334
  txRequestId: t.StringC;
1253
1335
  }>, t.PartialC<{
1254
1336
  token: t.StringC;
1337
+ expiry: t.NumberC;
1255
1338
  }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1256
1339
  intentType: t.KeyofC<{
1257
1340
  payment: t.LiteralC<"payment">;
@@ -1446,6 +1529,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
1446
1529
  txRequestId: t.StringC;
1447
1530
  }>, t.PartialC<{
1448
1531
  token: t.StringC;
1532
+ expiry: t.NumberC;
1449
1533
  }>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1450
1534
  intentType: t.KeyofC<{
1451
1535
  payment: t.LiteralC<"payment">;
@@ -131,6 +131,7 @@ const vetIncreaseStakeIntent_1 = require("./vetIncreaseStakeIntent");
131
131
  const vetDecreaseStakeIntent_1 = require("./vetDecreaseStakeIntent");
132
132
  const vetSignalExitIntent_1 = require("./vetSignalExitIntent");
133
133
  const vetWithdrawStakeIntent_1 = require("./vetWithdrawStakeIntent");
134
+ const cantonPaymentIntent_1 = require("./cantonPaymentIntent");
134
135
  const cantonTransferAcceptIntent_1 = require("./cantonTransferAcceptIntent");
135
136
  const cantonTransferAcknowledgeIntent_1 = require("./cantonTransferAcknowledgeIntent");
136
137
  const cantonTransferOfferWithdrawnIntent_1 = require("./cantonTransferOfferWithdrawnIntent");
@@ -159,6 +160,7 @@ exports.TransactionIntent = t.union([
159
160
  bscDelegateIntent_1.BscDelegateIntent,
160
161
  bscUndelegateIntent_1.BscUnDelegateIntent,
161
162
  bscWithdrawUndelegateIntent_1.BscWithdrawUndelegateIntent,
163
+ cantonPaymentIntent_1.CantonPaymentIntent,
162
164
  cantonTransferAcceptIntent_1.CantonTransferAcceptIntent,
163
165
  cantonTransferAcknowledgeIntent_1.CantonTransferAcknowledgeIntent,
164
166
  cantonTransferOfferWithdrawnIntent_1.CantonTransferOfferWithdrawnIntent,
@@ -1 +1 @@
1
- {"version":3,"file":"intent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/intent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,iEAA8D;AAC9D,yDAAsD;AACtD,qDAAkD;AAClD,uEAAoE;AACpE,2DAAwD;AACxD,2DAAwD;AACxD,uDAAoD;AACpD,2DAAwD;AACxD,6DAA0D;AAC1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AkB;IAClB,yCAAmB;IACnB,uCAAkB;IAClB,+BAAc;IACd,2EAAoC;IACpC,2CAAoB;IACpB,6EAAqC;IACrC,qCAAiB;IACjB,yCAAmB;IACnB,qCAAiB;IACjB,uCAAkB;IAClB,mCAAgB;IAChB,+BAAc;IACd,mCAAgB;IAChB,uDAA0B;IAC1B,uDAA0B;IAC1B,+CAAsB;IACtB,2CAAoB;IACpB,qCAAiB;IACjB,uCAAkB;IAClB,mCAAgB;IAChB,mCAAgB;IAChB,uCAAkB;IAClB,+BAAc;IACd,mDAAwB;IACxB,+CAAsB;IACtB,mCAAgB;IAChB,yCAAmB;IACnB,2CAAoB;IACpB,qCAAiB;IACjB,iEAA+B;IAC/B,qEAAiC;IACjC,mCAAgB;IAChB,mEAAgC;IAChC,uEAAkC;IAClC,yCAAmB;IACnB,iDAAuB;IACvB,qDAAyB;IACzB,mCAAgB;IAChB,qCAAiB;IACjB,4CAAuB;IACvB,qCAAgB;IAChB,uDAA0B;IAC1B,+DAA8B;IAC9B,+CAAsB;IACtB,+CAAsB;IACtB,yCAAmB;IACnB,+CAAsB;IACtB,2CAAoB;IACpB,yDAA2B;IAC3B,6CAAqB;IACrB,iDAAuB;IACvB,uCAAkB;IAClB,uCAAkB;IAClB,uCAAkB;IAClB,yCAAmB;IACnB,+CAAsB;IACtB,2CAAoB;IACpB,qCAAkB;IAClB,mCAAgB;IAChB,oCAAe;IACf,sCAAiB;IAKjB,uBAAU;CACX,CAAC,CAAC"}
1
+ {"version":3,"file":"intent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/intent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,iEAA8D;AAC9D,yDAAsD;AACtD,qDAAkD;AAClD,uEAAoE;AACpE,2DAAwD;AACxD,2DAAwD;AACxD,uDAAoD;AACpD,2DAAwD;AACxD,6DAA0D;AAC1D,mFAAgF;AAChF,yEAAsE;AACtE,2DAAwD;AACxD,+DA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IACnB,uCAAkB;IAClB,+BAAc;IACd,2EAAoC;IACpC,2CAAoB;IACpB,6EAAqC;IACrC,qCAAiB;IACjB,yCAAmB;IACnB,qCAAiB;IACjB,uCAAkB;IAClB,mCAAgB;IAChB,+BAAc;IACd,mCAAgB;IAChB,uDAA0B;IAC1B,uDAA0B;IAC1B,+CAAsB;IACtB,2CAAoB;IACpB,qCAAiB;IACjB,uCAAkB;IAClB,mCAAgB;IAChB,mCAAgB;IAChB,uCAAkB;IAClB,+BAAc;IACd,mDAAwB;IACxB,+CAAsB;IACtB,mCAAgB;IAChB,yCAAmB;IACnB,2CAAoB;IACpB,qCAAiB;IACjB,iEAA+B;IAC/B,qEAAiC;IACjC,mCAAgB;IAChB,mEAAgC;IAChC,uEAAkC;IAClC,yCAAmB;IACnB,iDAAuB;IACvB,qDAAyB;IACzB,mCAAgB;IAChB,qCAAiB;IACjB,4CAAuB;IACvB,qCAAgB;IAChB,uDAA0B;IAC1B,+DAA8B;IAC9B,+CAAsB;IACtB,+CAAsB;IACtB,yCAAmB;IACnB,+CAAsB;IACtB,2CAAoB;IACpB,yDAA2B;IAC3B,6CAAqB;IACrB,iDAAuB;IACvB,uCAAkB;IAClB,uCAAkB;IAClB,uCAAkB;IAClB,yCAAmB;IACnB,+CAAsB;IACtB,2CAAoB;IACpB,qCAAkB;IAClB,mCAAgB;IAChB,oCAAe;IACf,sCAAiB;IAKjB,uBAAU;CACX,CAAC,CAAC"}
@@ -1287,6 +1287,88 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
1287
1287
  }>]>, t.TypeC<{
1288
1288
  validatorAddress: t.StringC;
1289
1289
  requestNumber: t.NumberC;
1290
+ }>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1291
+ intentType: t.KeyofC<{
1292
+ payment: t.LiteralC<"payment">;
1293
+ transferToken: t.LiteralC<"transferToken">;
1294
+ consolidate: t.LiteralC<"consolidate">;
1295
+ consolidateToken: t.LiteralC<"consolidateToken">;
1296
+ fanout: t.LiteralC<"fanout">;
1297
+ stake: t.LiteralC<"stake">;
1298
+ unstake: t.LiteralC<"unstake">;
1299
+ delegate: t.LiteralC<"delegate">;
1300
+ undelegate: t.LiteralC<"undelegate">;
1301
+ switchValidator: t.LiteralC<"switchValidator">;
1302
+ claim: t.LiteralC<"claim">;
1303
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
1304
+ pledge: t.LiteralC<"pledge">;
1305
+ voteDelegation: t.LiteralC<"voteDelegation">;
1306
+ vote: t.LiteralC<"vote">;
1307
+ createAccount: t.LiteralC<"createAccount">;
1308
+ updateAccount: t.LiteralC<"updateAccount">;
1309
+ addTrustLine: t.LiteralC<"addTrustLine">;
1310
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
1311
+ signMessage: t.LiteralC<"signMessage">;
1312
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
1313
+ enableToken: t.LiteralC<"enableToken">;
1314
+ authorize: t.LiteralC<"authorize">;
1315
+ acceleration: t.LiteralC<"acceleration">;
1316
+ fillNonce: t.LiteralC<"fillNonce">;
1317
+ walletRecovery: t.LiteralC<"walletRecovery">;
1318
+ contractCall: t.LiteralC<"contractCall">;
1319
+ deactivate: t.LiteralC<"deactivate">;
1320
+ customTx: t.LiteralC<"customTx">;
1321
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
1322
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
1323
+ unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
1324
+ switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
1325
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
1326
+ tokenApproval: t.LiteralC<"tokenApproval">;
1327
+ transferStake: t.LiteralC<"transferStake">;
1328
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
1329
+ increaseStake: t.LiteralC<"increaseStake">;
1330
+ decreaseStake: t.LiteralC<"decreaseStake">;
1331
+ signalExit: t.LiteralC<"signalExit">;
1332
+ withdrawStake: t.LiteralC<"withdrawStake">;
1333
+ spotTransfer: t.LiteralC<"spotTransfer">;
1334
+ bridgeFunds: t.LiteralC<"bridgeFunds">;
1335
+ goUnstake: t.LiteralC<"goUnstake">;
1336
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
1337
+ transferAccept: t.LiteralC<"transferAccept">;
1338
+ transferReject: t.LiteralC<"transferReject">;
1339
+ transferAcknowledge: t.LiteralC<"transferAcknowledge">;
1340
+ transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
1341
+ "defi-deposit": t.LiteralC<"defi-deposit">;
1342
+ "defi-redeem": t.LiteralC<"defi-redeem">;
1343
+ }>;
1344
+ }>, t.PartialC<{
1345
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
1346
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
1347
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
1348
+ }>]>, t.TypeC<{
1349
+ recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
1350
+ address: t.PartialC<{
1351
+ address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
1352
+ option: t.UnionC<[t.Type<{
1353
+ [x: string]: unknown;
1354
+ }, {
1355
+ [x: string]: unknown;
1356
+ }, unknown>, t.UndefinedC]>;
1357
+ }>;
1358
+ amount: t.TypeC<{
1359
+ value: t.StringC;
1360
+ symbol: t.StringC;
1361
+ }>;
1362
+ }>, t.PartialC<{
1363
+ data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
1364
+ }>]>>;
1365
+ }>, t.UnionC<[t.TypeC<{
1366
+ intentType: t.LiteralC<"payment">;
1367
+ }>, t.TypeC<{
1368
+ intentType: t.LiteralC<"payment">;
1369
+ isTestTransaction: t.BooleanC;
1370
+ }>]>]>, t.PartialC<{
1371
+ memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
1290
1372
  }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1291
1373
  intentType: t.KeyofC<{
1292
1374
  payment: t.LiteralC<"payment">;
@@ -1350,6 +1432,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
1350
1432
  txRequestId: t.StringC;
1351
1433
  }>, t.PartialC<{
1352
1434
  token: t.StringC;
1435
+ expiry: t.NumberC;
1353
1436
  }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1354
1437
  intentType: t.KeyofC<{
1355
1438
  payment: t.LiteralC<"payment">;
@@ -1544,6 +1627,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
1544
1627
  txRequestId: t.StringC;
1545
1628
  }>, t.PartialC<{
1546
1629
  token: t.StringC;
1630
+ expiry: t.NumberC;
1547
1631
  }>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1548
1632
  intentType: t.KeyofC<{
1549
1633
  payment: t.LiteralC<"payment">;
@@ -11279,6 +11363,88 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
11279
11363
  }>]>, t.TypeC<{
11280
11364
  validatorAddress: t.StringC;
11281
11365
  requestNumber: t.NumberC;
11366
+ }>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
11367
+ intentType: t.KeyofC<{
11368
+ payment: t.LiteralC<"payment">;
11369
+ transferToken: t.LiteralC<"transferToken">;
11370
+ consolidate: t.LiteralC<"consolidate">;
11371
+ consolidateToken: t.LiteralC<"consolidateToken">;
11372
+ fanout: t.LiteralC<"fanout">;
11373
+ stake: t.LiteralC<"stake">;
11374
+ unstake: t.LiteralC<"unstake">;
11375
+ delegate: t.LiteralC<"delegate">;
11376
+ undelegate: t.LiteralC<"undelegate">;
11377
+ switchValidator: t.LiteralC<"switchValidator">;
11378
+ claim: t.LiteralC<"claim">;
11379
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
11380
+ pledge: t.LiteralC<"pledge">;
11381
+ voteDelegation: t.LiteralC<"voteDelegation">;
11382
+ vote: t.LiteralC<"vote">;
11383
+ createAccount: t.LiteralC<"createAccount">;
11384
+ updateAccount: t.LiteralC<"updateAccount">;
11385
+ addTrustLine: t.LiteralC<"addTrustLine">;
11386
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
11387
+ signMessage: t.LiteralC<"signMessage">;
11388
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
11389
+ enableToken: t.LiteralC<"enableToken">;
11390
+ authorize: t.LiteralC<"authorize">;
11391
+ acceleration: t.LiteralC<"acceleration">;
11392
+ fillNonce: t.LiteralC<"fillNonce">;
11393
+ walletRecovery: t.LiteralC<"walletRecovery">;
11394
+ contractCall: t.LiteralC<"contractCall">;
11395
+ deactivate: t.LiteralC<"deactivate">;
11396
+ customTx: t.LiteralC<"customTx">;
11397
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
11398
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
11399
+ unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
11400
+ switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
11401
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
11402
+ tokenApproval: t.LiteralC<"tokenApproval">;
11403
+ transferStake: t.LiteralC<"transferStake">;
11404
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
11405
+ increaseStake: t.LiteralC<"increaseStake">;
11406
+ decreaseStake: t.LiteralC<"decreaseStake">;
11407
+ signalExit: t.LiteralC<"signalExit">;
11408
+ withdrawStake: t.LiteralC<"withdrawStake">;
11409
+ spotTransfer: t.LiteralC<"spotTransfer">;
11410
+ bridgeFunds: t.LiteralC<"bridgeFunds">;
11411
+ goUnstake: t.LiteralC<"goUnstake">;
11412
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
11413
+ transferAccept: t.LiteralC<"transferAccept">;
11414
+ transferReject: t.LiteralC<"transferReject">;
11415
+ transferAcknowledge: t.LiteralC<"transferAcknowledge">;
11416
+ transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
11417
+ "defi-deposit": t.LiteralC<"defi-deposit">;
11418
+ "defi-redeem": t.LiteralC<"defi-redeem">;
11419
+ }>;
11420
+ }>, t.PartialC<{
11421
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
11422
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
11423
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
11424
+ }>]>, t.TypeC<{
11425
+ recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
11426
+ address: t.PartialC<{
11427
+ address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
11428
+ option: t.UnionC<[t.Type<{
11429
+ [x: string]: unknown;
11430
+ }, {
11431
+ [x: string]: unknown;
11432
+ }, unknown>, t.UndefinedC]>;
11433
+ }>;
11434
+ amount: t.TypeC<{
11435
+ value: t.StringC;
11436
+ symbol: t.StringC;
11437
+ }>;
11438
+ }>, t.PartialC<{
11439
+ data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
11440
+ }>]>>;
11441
+ }>, t.UnionC<[t.TypeC<{
11442
+ intentType: t.LiteralC<"payment">;
11443
+ }>, t.TypeC<{
11444
+ intentType: t.LiteralC<"payment">;
11445
+ isTestTransaction: t.BooleanC;
11446
+ }>]>]>, t.PartialC<{
11447
+ memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
11282
11448
  }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
11283
11449
  intentType: t.KeyofC<{
11284
11450
  payment: t.LiteralC<"payment">;
@@ -11342,6 +11508,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
11342
11508
  txRequestId: t.StringC;
11343
11509
  }>, t.PartialC<{
11344
11510
  token: t.StringC;
11511
+ expiry: t.NumberC;
11345
11512
  }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
11346
11513
  intentType: t.KeyofC<{
11347
11514
  payment: t.LiteralC<"payment">;
@@ -11536,6 +11703,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
11536
11703
  txRequestId: t.StringC;
11537
11704
  }>, t.PartialC<{
11538
11705
  token: t.StringC;
11706
+ expiry: t.NumberC;
11539
11707
  }>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
11540
11708
  intentType: t.KeyofC<{
11541
11709
  payment: t.LiteralC<"payment">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "5.85.0",
3
+ "version": "5.87.0",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -0,0 +1,15 @@
1
+ import * as t from "io-ts";
2
+ import { PaymentIntent } from "./paymentIntent";
3
+ import { optionalString } from "../../../utils";
4
+
5
+ /**
6
+ * @title CANTON Payment Intent
7
+ */
8
+ export const CantonPaymentIntent = t.intersection([
9
+ PaymentIntent,
10
+ t.partial({
11
+ memo: optionalString,
12
+ }),
13
+ ]);
14
+
15
+ export type CantonPaymentIntent = t.TypeOf<typeof CantonPaymentIntent>;
@@ -12,6 +12,7 @@ import { intentTypes } from "./intentType";
12
12
  * @param {String} intentType - The type of intent (always set to transferAccept)
13
13
  * @param {string} txRequestId - The acknowledgement txRequestId
14
14
  * @param {String} [token] - The optional token
15
+ * @param {number} [expiry] - The optional expiry timestamp
15
16
  */
16
17
  export const CantonTransferAcceptIntent = t.intersection([
17
18
  BaseIntent,
@@ -21,6 +22,7 @@ export const CantonTransferAcceptIntent = t.intersection([
21
22
  }),
22
23
  t.partial({
23
24
  token: t.string,
25
+ expiry: t.number,
24
26
  }),
25
27
  ]);
26
28
 
@@ -12,6 +12,7 @@ import { intentTypes } from "./intentType";
12
12
  * @param {String} intentType - The type of intent (always set to transferReject)
13
13
  * @param {string} txRequestId - The acknowledgement txRequestId
14
14
  * @param {String} [token] - The optional token
15
+ * @param {number} [expiry] - The optional expiry timestamp
15
16
  */
16
17
  export const CantonTransferRejectIntent = t.intersection([
17
18
  BaseIntent,
@@ -21,6 +22,7 @@ export const CantonTransferRejectIntent = t.intersection([
21
22
  }),
22
23
  t.partial({
23
24
  token: t.string,
25
+ expiry: t.number,
24
26
  }),
25
27
  ]);
26
28
 
@@ -33,6 +33,7 @@ export * from "./bscDelegateIntent";
33
33
  export * from "./bscStakeClaimRewardsIntent";
34
34
  export * from "./bscUndelegateIntent";
35
35
  export * from "./bscWithdrawUndelegateIntent";
36
+ export * from "./cantonPaymentIntent";
36
37
  export * from "./cantonTransferAcceptIntent";
37
38
  export * from "./cantonTransferAcknowledgeIntent";
38
39
  export * from "./cantonTransferOfferWithdrawnIntent";
@@ -108,6 +108,7 @@ import { VetIncreaseStakeIntent } from "./vetIncreaseStakeIntent";
108
108
  import { VetDecreaseStakeIntent } from "./vetDecreaseStakeIntent";
109
109
  import { VetSignalExitIntent } from "./vetSignalExitIntent";
110
110
  import { VetWithdrawStakeIntent } from "./vetWithdrawStakeIntent";
111
+ import { CantonPaymentIntent } from "./cantonPaymentIntent";
111
112
  import { CantonTransferAcceptIntent } from "./cantonTransferAcceptIntent";
112
113
  import { CantonTransferAcknowledgeIntent } from "./cantonTransferAcknowledgeIntent";
113
114
  import { CantonTransferOfferWithdrawnIntent } from "./cantonTransferOfferWithdrawnIntent";
@@ -137,6 +138,7 @@ export const TransactionIntent = t.union([
137
138
  BscDelegateIntent,
138
139
  BscUnDelegateIntent,
139
140
  BscWithdrawUndelegateIntent,
141
+ CantonPaymentIntent,
140
142
  CantonTransferAcceptIntent,
141
143
  CantonTransferAcknowledgeIntent,
142
144
  CantonTransferOfferWithdrawnIntent,