@bitgo/public-types 5.67.0 → 5.69.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.
@@ -52,5 +52,7 @@ export declare const CantonTransferAcceptIntent: t.IntersectionC<[t.Intersection
52
52
  }>]>, t.TypeC<{
53
53
  intentType: t.LiteralC<"transferAccept">;
54
54
  txRequestId: t.StringC;
55
+ }>, t.PartialC<{
56
+ token: t.StringC;
55
57
  }>]>;
56
58
  export type CantonTransferAcceptIntent = t.TypeOf<typeof CantonTransferAcceptIntent>;
@@ -33,5 +33,8 @@ exports.CantonTransferAcceptIntent = t.intersection([
33
33
  intentType: intentType_1.intentTypes.transferAccept,
34
34
  txRequestId: t.string,
35
35
  }),
36
+ t.partial({
37
+ token: t.string,
38
+ }),
36
39
  ]);
37
40
  //# 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;AAY9B,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;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;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"}
@@ -58,5 +58,6 @@ export declare const CantonTransferAcknowledgeIntent: t.IntersectionC<[t.Interse
58
58
  expiry: t.NumberC;
59
59
  }>, t.PartialC<{
60
60
  memoId: t.StringC;
61
+ token: t.StringC;
61
62
  }>]>;
62
63
  export type CantonTransferAcknowledgeIntent = t.TypeOf<typeof CantonTransferAcknowledgeIntent>;
@@ -39,6 +39,7 @@ exports.CantonTransferAcknowledgeIntent = t.intersection([
39
39
  }),
40
40
  t.partial({
41
41
  memoId: t.string,
42
+ token: t.string,
42
43
  }),
43
44
  ]);
44
45
  //# sourceMappingURL=cantonTransferAcknowledgeIntent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cantonTransferAcknowledgeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAkB9B,QAAA,+BAA+B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5D,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,mBAAmB;QAC3C,UAAU,EAAE,CAAC,CAAC,MAAM;QACpB,aAAa,EAAE,CAAC,CAAC,MAAM;QACvB,QAAQ,EAAE,CAAC,CAAC,MAAM;QAClB,MAAM,EAAE,CAAC,CAAC,MAAM;QAChB,MAAM,EAAE,CAAC,CAAC,MAAM;KACjB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,MAAM,EAAE,CAAC,CAAC,MAAM;KACjB,CAAC;CACH,CAAC,CAAC"}
1
+ {"version":3,"file":"cantonTransferAcknowledgeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAmB9B,QAAA,+BAA+B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5D,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,mBAAmB;QAC3C,UAAU,EAAE,CAAC,CAAC,MAAM;QACpB,aAAa,EAAE,CAAC,CAAC,MAAM;QACvB,QAAQ,EAAE,CAAC,CAAC,MAAM;QAClB,MAAM,EAAE,CAAC,CAAC,MAAM;QAChB,MAAM,EAAE,CAAC,CAAC,MAAM;KACjB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,MAAM,EAAE,CAAC,CAAC,MAAM;QAChB,KAAK,EAAE,CAAC,CAAC,MAAM;KAChB,CAAC;CACH,CAAC,CAAC"}
@@ -52,5 +52,7 @@ export declare const CantonTransferRejectIntent: t.IntersectionC<[t.Intersection
52
52
  }>]>, t.TypeC<{
53
53
  intentType: t.LiteralC<"transferReject">;
54
54
  txRequestId: t.StringC;
55
+ }>, t.PartialC<{
56
+ token: t.StringC;
55
57
  }>]>;
56
58
  export type CantonTransferRejectIntent = t.TypeOf<typeof CantonTransferRejectIntent>;
@@ -33,5 +33,8 @@ exports.CantonTransferRejectIntent = t.intersection([
33
33
  intentType: intentType_1.intentTypes.transferReject,
34
34
  txRequestId: t.string,
35
35
  }),
36
+ t.partial({
37
+ token: t.string,
38
+ }),
36
39
  ]);
37
40
  //# 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;AAY9B,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;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;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"}
@@ -1122,6 +1122,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
1122
1122
  }>]>, t.TypeC<{
1123
1123
  intentType: t.LiteralC<"transferAccept">;
1124
1124
  txRequestId: t.StringC;
1125
+ }>, t.PartialC<{
1126
+ token: t.StringC;
1125
1127
  }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1126
1128
  intentType: t.KeyofC<{
1127
1129
  payment: t.LiteralC<"payment">;
@@ -1181,6 +1183,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
1181
1183
  expiry: t.NumberC;
1182
1184
  }>, t.PartialC<{
1183
1185
  memoId: t.StringC;
1186
+ token: t.StringC;
1184
1187
  }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1185
1188
  intentType: t.KeyofC<{
1186
1189
  payment: t.LiteralC<"payment">;
@@ -1234,6 +1237,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
1234
1237
  }>]>, t.TypeC<{
1235
1238
  intentType: t.LiteralC<"transferReject">;
1236
1239
  txRequestId: t.StringC;
1240
+ }>, t.PartialC<{
1241
+ token: t.StringC;
1237
1242
  }>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1238
1243
  intentType: t.KeyofC<{
1239
1244
  payment: t.LiteralC<"payment">;
@@ -1220,6 +1220,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
1220
1220
  }>]>, t.TypeC<{
1221
1221
  intentType: t.LiteralC<"transferAccept">;
1222
1222
  txRequestId: t.StringC;
1223
+ }>, t.PartialC<{
1224
+ token: t.StringC;
1223
1225
  }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1224
1226
  intentType: t.KeyofC<{
1225
1227
  payment: t.LiteralC<"payment">;
@@ -1279,6 +1281,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
1279
1281
  expiry: t.NumberC;
1280
1282
  }>, t.PartialC<{
1281
1283
  memoId: t.StringC;
1284
+ token: t.StringC;
1282
1285
  }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1283
1286
  intentType: t.KeyofC<{
1284
1287
  payment: t.LiteralC<"payment">;
@@ -1332,6 +1335,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
1332
1335
  }>]>, t.TypeC<{
1333
1336
  intentType: t.LiteralC<"transferReject">;
1334
1337
  txRequestId: t.StringC;
1338
+ }>, t.PartialC<{
1339
+ token: t.StringC;
1335
1340
  }>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1336
1341
  intentType: t.KeyofC<{
1337
1342
  payment: t.LiteralC<"payment">;
@@ -9302,6 +9307,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
9302
9307
  }>]>, t.TypeC<{
9303
9308
  intentType: t.LiteralC<"transferAccept">;
9304
9309
  txRequestId: t.StringC;
9310
+ }>, t.PartialC<{
9311
+ token: t.StringC;
9305
9312
  }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
9306
9313
  intentType: t.KeyofC<{
9307
9314
  payment: t.LiteralC<"payment">;
@@ -9361,6 +9368,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
9361
9368
  expiry: t.NumberC;
9362
9369
  }>, t.PartialC<{
9363
9370
  memoId: t.StringC;
9371
+ token: t.StringC;
9364
9372
  }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
9365
9373
  intentType: t.KeyofC<{
9366
9374
  payment: t.LiteralC<"payment">;
@@ -9414,6 +9422,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
9414
9422
  }>]>, t.TypeC<{
9415
9423
  intentType: t.LiteralC<"transferReject">;
9416
9424
  txRequestId: t.StringC;
9425
+ }>, t.PartialC<{
9426
+ token: t.StringC;
9417
9427
  }>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
9418
9428
  intentType: t.KeyofC<{
9419
9429
  payment: t.LiteralC<"payment">;
@@ -45,7 +45,8 @@ export declare enum WalletWebhookTypeEnum {
45
45
  "circuitBreaker" = "circuitBreaker",
46
46
  "lowFeeAddressBalance" = "lowFeeAddressBalance",
47
47
  "transaction_finality_on_l1" = "transaction_finality_on_l1",
48
- "fundsDeposited" = "fundsDeposited"
48
+ "fundsDeposited" = "fundsDeposited",
49
+ "stuckTx" = "stuckTx"
49
50
  }
50
51
  export declare const WalletWebhookType: t.KeyofC<typeof WalletWebhookTypeEnum>;
51
52
  export type WalletWebhookType = t.TypeOf<typeof WalletWebhookType>;
@@ -73,6 +73,7 @@ var WalletWebhookTypeEnum;
73
73
  WalletWebhookTypeEnum["lowFeeAddressBalance"] = "lowFeeAddressBalance";
74
74
  WalletWebhookTypeEnum["transaction_finality_on_l1"] = "transaction_finality_on_l1";
75
75
  WalletWebhookTypeEnum["fundsDeposited"] = "fundsDeposited";
76
+ WalletWebhookTypeEnum["stuckTx"] = "stuckTx";
76
77
  })(WalletWebhookTypeEnum || (exports.WalletWebhookTypeEnum = WalletWebhookTypeEnum = {}));
77
78
  exports.WalletWebhookType = t.keyof(WalletWebhookTypeEnum, "WalletWebhookType");
78
79
  var EnterpriseWebhookTypeEnum;
@@ -1 +1 @@
1
- {"version":3,"file":"webhookType.js","sourceRoot":"","sources":["../../../../src/schema/webhook/webhookType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,IAAY,eA0CX;AA1CD,WAAY,eAAe;IAEzB,0CAAyB,CAAA;IAEzB,gEAA+C,CAAA;IAC/C,wCAAuB,CAAA;IACvB,8CAA6B,CAAA;IAC7B,4DAA2C,CAAA;IAC3C,0DAAyC,CAAA;IACzC,sDAAqC,CAAA;IACrC,kCAAiB,CAAA;IACjB,kCAAiB,CAAA;IACjB,gEAA+C,CAAA;IAC/C,oCAAmB,CAAA;IACnB,oDAAmC,CAAA;IAEnC,gEAA+C,CAAA;IAG/C,8DAA6C,CAAA;IAE7C,8CAA6B,CAAA;IAC7B,gDAA+B,CAAA;IAC/B,4DAA2C,CAAA;IAC3C,oDAAmC,CAAA;IAEnC,8CAA6B,CAAA;IAC7B,oDAAmC,CAAA;IACnC,oDAAmC,CAAA;IACnC,oDAAmC,CAAA;IACnC,0CAAyB,CAAA;IAEzB,8DAA6C,CAAA;IAG7C,wCAAuB,CAAA;IAGvB,4EAA2D,CAAA;IAG3D,sCAAqB,CAAA;AACvB,CAAC,EA1CW,eAAe,+BAAf,eAAe,QA0C1B;AAEY,QAAA,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,eAAe,EAAE,aAAa,CAAC,CAAC;AAGnE,IAAY,qBAgBX;AAhBD,WAAY,qBAAqB;IAC/B,gDAAyB,CAAA;IACzB,sEAA+C,CAAA;IAC/C,8CAAuB,CAAA;IAC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A6B,CAAA;IAC7B,wDAA6B,CAAA;IAC7B,wEAA6C,CAAA;IAC7C,kDAAuB,CAAA;AACzB,CAAC,EALW,yBAAyB,yCAAzB,yBAAyB,QAKpC;AACY,QAAA,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAC1C,yBAAyB,EACzB,uBAAuB,CACxB,CAAC;AAGF,IAAY,2BAWX;AAXD,WAAY,2BAA2B;IACrC,oDAAuB,CAAA;IACvB,sDAAyB,CAAA;IACzB,kEAAqC,CAAA;IACrC,4EAA+C,CAAA;IAC/C,0DAA6B,CAAA;IAC7B,gEAAmC,CAAA;IACnC,4DAA+B,CAAA;IAC/B,wEAA2C,CAAA;IAC3C,0DAA6B,CAAA;IAC7B,oDAAuB,CAAA;AACzB,CAAC,EAXW,2BAA2B,2CAA3B,2BAA2B,QAWtC;AACY,QAAA,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAC5C,2BAA2B,EAC3B,yBAAyB,CAC1B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "5.67.0",
3
+ "version": "5.69.0",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -11,6 +11,7 @@ import { intentTypes } from "./intentType";
11
11
  *
12
12
  * @param {String} intentType - The type of intent (always set to transferAccept)
13
13
  * @param {string} txRequestId - The acknowledgement txRequestId
14
+ * @param {String} [token] - The optional token
14
15
  */
15
16
  export const CantonTransferAcceptIntent = t.intersection([
16
17
  BaseIntent,
@@ -18,6 +19,9 @@ export const CantonTransferAcceptIntent = t.intersection([
18
19
  intentType: intentTypes.transferAccept,
19
20
  txRequestId: t.string,
20
21
  }),
22
+ t.partial({
23
+ token: t.string,
24
+ }),
21
25
  ]);
22
26
 
23
27
  export type CantonTransferAcceptIntent = t.TypeOf<
@@ -17,6 +17,7 @@ import { intentTypes } from "./intentType";
17
17
  * @param {Number} amount - The deposit amount
18
18
  * @param {Number} expiry - The expiry epoch
19
19
  * @param {String} [memoId] - The optional memoId
20
+ * @param {String} [token] - The optional token
20
21
  */
21
22
  export const CantonTransferAcknowledgeIntent = t.intersection([
22
23
  BaseIntent,
@@ -30,6 +31,7 @@ export const CantonTransferAcknowledgeIntent = t.intersection([
30
31
  }),
31
32
  t.partial({
32
33
  memoId: t.string,
34
+ token: t.string,
33
35
  }),
34
36
  ]);
35
37
 
@@ -11,6 +11,7 @@ import { intentTypes } from "./intentType";
11
11
  *
12
12
  * @param {String} intentType - The type of intent (always set to transferReject)
13
13
  * @param {string} txRequestId - The acknowledgement txRequestId
14
+ * @param {String} [token] - The optional token
14
15
  */
15
16
  export const CantonTransferRejectIntent = t.intersection([
16
17
  BaseIntent,
@@ -18,6 +19,9 @@ export const CantonTransferRejectIntent = t.intersection([
18
19
  intentType: intentTypes.transferReject,
19
20
  txRequestId: t.string,
20
21
  }),
22
+ t.partial({
23
+ token: t.string,
24
+ }),
21
25
  ]);
22
26
 
23
27
  export type CantonTransferRejectIntent = t.TypeOf<
@@ -63,6 +63,7 @@ export enum WalletWebhookTypeEnum {
63
63
  "lowFeeAddressBalance" = "lowFeeAddressBalance",
64
64
  "transaction_finality_on_l1" = "transaction_finality_on_l1",
65
65
  "fundsDeposited" = "fundsDeposited",
66
+ "stuckTx" = "stuckTx",
66
67
  }
67
68
 
68
69
  export const WalletWebhookType = t.keyof(