@bitgo/public-types 6.51.0 → 6.53.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.
@@ -1,6 +1,6 @@
1
1
  import * as t from "io-ts";
2
2
  export declare const EddsaMPCv2SignatureShareRound1Input: t.IntersectionC<[t.TypeC<{
3
- type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">]>;
3
+ type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">, t.LiteralC<"round3Output">]>;
4
4
  }>, t.TypeC<{
5
5
  type: t.LiteralC<"round1Input">;
6
6
  data: t.TypeC<{
@@ -12,7 +12,7 @@ export declare const EddsaMPCv2SignatureShareRound1Input: t.IntersectionC<[t.Typ
12
12
  }>]>;
13
13
  export type EddsaMPCv2SignatureShareRound1Input = t.TypeOf<typeof EddsaMPCv2SignatureShareRound1Input>;
14
14
  export declare const EddsaMPCv2SignatureShareRound1Output: t.IntersectionC<[t.TypeC<{
15
- type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">]>;
15
+ type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">, t.LiteralC<"round3Output">]>;
16
16
  }>, t.TypeC<{
17
17
  type: t.LiteralC<"round1Output">;
18
18
  data: t.TypeC<{
@@ -24,7 +24,7 @@ export declare const EddsaMPCv2SignatureShareRound1Output: t.IntersectionC<[t.Ty
24
24
  }>]>;
25
25
  export type EddsaMPCv2SignatureShareRound1Output = t.TypeOf<typeof EddsaMPCv2SignatureShareRound1Output>;
26
26
  export declare const EddsaMPCv2SignatureShareRound2Input: t.IntersectionC<[t.TypeC<{
27
- type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">]>;
27
+ type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">, t.LiteralC<"round3Output">]>;
28
28
  }>, t.TypeC<{
29
29
  type: t.LiteralC<"round2Input">;
30
30
  data: t.TypeC<{
@@ -36,7 +36,7 @@ export declare const EddsaMPCv2SignatureShareRound2Input: t.IntersectionC<[t.Typ
36
36
  }>]>;
37
37
  export type EddsaMPCv2SignatureShareRound2Input = t.TypeOf<typeof EddsaMPCv2SignatureShareRound2Input>;
38
38
  export declare const EddsaMPCv2SignatureShareRound2Output: t.IntersectionC<[t.TypeC<{
39
- type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">]>;
39
+ type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">, t.LiteralC<"round3Output">]>;
40
40
  }>, t.TypeC<{
41
41
  type: t.LiteralC<"round2Output">;
42
42
  data: t.TypeC<{
@@ -48,7 +48,7 @@ export declare const EddsaMPCv2SignatureShareRound2Output: t.IntersectionC<[t.Ty
48
48
  }>]>;
49
49
  export type EddsaMPCv2SignatureShareRound2Output = t.TypeOf<typeof EddsaMPCv2SignatureShareRound2Output>;
50
50
  export declare const EddsaMPCv2SignatureShareRound3Input: t.IntersectionC<[t.TypeC<{
51
- type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">]>;
51
+ type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">, t.LiteralC<"round3Output">]>;
52
52
  }>, t.TypeC<{
53
53
  type: t.LiteralC<"round3Input">;
54
54
  data: t.TypeC<{
@@ -59,3 +59,15 @@ export declare const EddsaMPCv2SignatureShareRound3Input: t.IntersectionC<[t.Typ
59
59
  }>;
60
60
  }>]>;
61
61
  export type EddsaMPCv2SignatureShareRound3Input = t.TypeOf<typeof EddsaMPCv2SignatureShareRound3Input>;
62
+ export declare const EddsaMPCv2SignatureShareRound3Output: t.IntersectionC<[t.TypeC<{
63
+ type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">, t.LiteralC<"round3Output">]>;
64
+ }>, t.TypeC<{
65
+ type: t.LiteralC<"round3Output">;
66
+ data: t.TypeC<{
67
+ msg3: t.TypeC<{
68
+ message: t.StringC;
69
+ signature: t.StringC;
70
+ }>;
71
+ }>;
72
+ }>]>;
73
+ export type EddsaMPCv2SignatureShareRound3Output = t.TypeOf<typeof EddsaMPCv2SignatureShareRound3Output>;
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.EddsaMPCv2SignatureShareRound3Input = exports.EddsaMPCv2SignatureShareRound2Output = exports.EddsaMPCv2SignatureShareRound2Input = exports.EddsaMPCv2SignatureShareRound1Output = exports.EddsaMPCv2SignatureShareRound1Input = void 0;
26
+ exports.EddsaMPCv2SignatureShareRound3Output = exports.EddsaMPCv2SignatureShareRound3Input = exports.EddsaMPCv2SignatureShareRound2Output = exports.EddsaMPCv2SignatureShareRound2Input = exports.EddsaMPCv2SignatureShareRound1Output = exports.EddsaMPCv2SignatureShareRound1Input = void 0;
27
27
  const t = __importStar(require("io-ts"));
28
28
  const common_1 = require("../common");
29
29
  const signingRound_1 = require("./signingRound");
@@ -72,4 +72,13 @@ exports.EddsaMPCv2SignatureShareRound3Input = t.intersection([
72
72
  }),
73
73
  }, "EddsaMPCv2SignatureShareRound3Input"),
74
74
  ]);
75
+ exports.EddsaMPCv2SignatureShareRound3Output = t.intersection([
76
+ signingRound_1.MPCv2SignatureShareBase,
77
+ t.type({
78
+ type: t.literal("round3Output"),
79
+ data: t.type({
80
+ msg3: common_1.EddsaMPCv2SignedMessage,
81
+ }),
82
+ }, "EddsaMPCv2SignatureShareRound3Output"),
83
+ ]);
75
84
  //# sourceMappingURL=eddsaSigningRound.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"eddsaSigningRound.js","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/signing/eddsaSigningRound.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,sCAAoD;AACpD,iDAAyD;AAQ5C,QAAA,mCAAmC,GAAG,CAAC,CAAC,YAAY,CAAC;IAChE,sCAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;QAC9B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,gCAAuB;SAC9B,CAAC;KACH,EACD,qCAAqC,CACtC;CACF,CAAC,CAAC;AAYU,QAAA,oCAAoC,GAAG,CAAC,CAAC,YAAY,CAAC;IACjE,sCAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;QAC/B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,gCAAuB;SAC9B,CAAC;KACH,EACD,sCAAsC,CACvC;CACF,CAAC,CAAC;AAYU,QAAA,mCAAmC,GAAG,CAAC,CAAC,YAAY,CAAC;IAChE,sCAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;QAC9B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,gCAAuB;SAC9B,CAAC;KACH,EACD,qCAAqC,CACtC;CACF,CAAC,CAAC;AAYU,QAAA,oCAAoC,GAAG,CAAC,CAAC,YAAY,CAAC;IACjE,sCAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;QAC/B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,gCAAuB;SAC9B,CAAC;KACH,EACD,sCAAsC,CACvC;CACF,CAAC,CAAC;AAWU,QAAA,mCAAmC,GAAG,CAAC,CAAC,YAAY,CAAC;IAChE,sCAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;QAC9B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,gCAAuB;SAC9B,CAAC;KACH,EACD,qCAAqC,CACtC;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"eddsaSigningRound.js","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/signing/eddsaSigningRound.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,sCAAoD;AACpD,iDAAyD;AAQ5C,QAAA,mCAAmC,GAAG,CAAC,CAAC,YAAY,CAAC;IAChE,sCAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;QAC9B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,gCAAuB;SAC9B,CAAC;KACH,EACD,qCAAqC,CACtC;CACF,CAAC,CAAC;AAYU,QAAA,oCAAoC,GAAG,CAAC,CAAC,YAAY,CAAC;IACjE,sCAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,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AC"}
@@ -1,3 +1,3 @@
1
1
  import * as t from "io-ts";
2
- export declare const MPCv2SigningState: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">]>;
2
+ export declare const MPCv2SigningState: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">, t.LiteralC<"round3Output">]>;
3
3
  export type MPCv2SigningState = t.TypeOf<typeof MPCv2SigningState>;
@@ -31,5 +31,6 @@ exports.MPCv2SigningState = t.union([
31
31
  t.literal("round2Input"),
32
32
  t.literal("round2Output"),
33
33
  t.literal("round3Input"),
34
+ t.literal("round3Output"),
34
35
  ]);
35
36
  //# sourceMappingURL=mpcv2SigningState.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mpcv2SigningState.js","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/signing/mpcv2SigningState.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAEd,QAAA,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC;IACvC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IACxB,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;IACzB,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IACxB,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;IACzB,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;CACzB,CAAC,CAAC"}
1
+ {"version":3,"file":"mpcv2SigningState.js","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/signing/mpcv2SigningState.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAEd,QAAA,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC;IACvC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IACxB,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;IACzB,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IACxB,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;IACzB,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IACxB,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;CAC1B,CAAC,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import * as t from "io-ts";
2
2
  export declare const MPCv2SignatureShareBase: t.TypeC<{
3
- type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">]>;
3
+ type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">, t.LiteralC<"round3Output">]>;
4
4
  }>;
5
5
  export declare const MPCv2SignatureShareRound1Input: t.IntersectionC<[t.TypeC<{
6
- type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">]>;
6
+ type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">, t.LiteralC<"round3Output">]>;
7
7
  }>, t.TypeC<{
8
8
  type: t.LiteralC<"round1Input">;
9
9
  data: t.TypeC<{
@@ -16,7 +16,7 @@ export declare const MPCv2SignatureShareRound1Input: t.IntersectionC<[t.TypeC<{
16
16
  }>]>;
17
17
  export type MPCv2SignatureShareRound1Input = t.TypeOf<typeof MPCv2SignatureShareRound1Input>;
18
18
  export declare const MPCv2SignatureShareRound1Output: t.IntersectionC<[t.TypeC<{
19
- type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">]>;
19
+ type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">, t.LiteralC<"round3Output">]>;
20
20
  }>, t.TypeC<{
21
21
  type: t.LiteralC<"round1Output">;
22
22
  data: t.TypeC<{
@@ -35,7 +35,7 @@ export declare const MPCv2SignatureShareRound1Output: t.IntersectionC<[t.TypeC<{
35
35
  }>]>;
36
36
  export type MPCv2SignatureShareRound1Output = t.TypeOf<typeof MPCv2SignatureShareRound1Output>;
37
37
  export declare const MPCv2SignatureShareRound2Input: t.IntersectionC<[t.TypeC<{
38
- type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">]>;
38
+ type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">, t.LiteralC<"round3Output">]>;
39
39
  }>, t.TypeC<{
40
40
  type: t.LiteralC<"round2Input">;
41
41
  data: t.TypeC<{
@@ -55,7 +55,7 @@ export declare const MPCv2SignatureShareRound2Input: t.IntersectionC<[t.TypeC<{
55
55
  }>]>;
56
56
  export type MPCv2SignatureShareRound2Input = t.TypeOf<typeof MPCv2SignatureShareRound2Input>;
57
57
  export declare const MPCv2SignatureShareRound2Output: t.IntersectionC<[t.TypeC<{
58
- type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">]>;
58
+ type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">, t.LiteralC<"round3Output">]>;
59
59
  }>, t.TypeC<{
60
60
  type: t.LiteralC<"round2Output">;
61
61
  data: t.TypeC<{
@@ -69,7 +69,7 @@ export declare const MPCv2SignatureShareRound2Output: t.IntersectionC<[t.TypeC<{
69
69
  }>]>;
70
70
  export type MPCv2SignatureShareRound2Output = t.TypeOf<typeof MPCv2SignatureShareRound2Output>;
71
71
  export declare const MPCv2SignatureShareRound3Input: t.IntersectionC<[t.TypeC<{
72
- type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">]>;
72
+ type: t.UnionC<[t.LiteralC<"round1Input">, t.LiteralC<"round1Output">, t.LiteralC<"round2Input">, t.LiteralC<"round2Output">, t.LiteralC<"round3Input">, t.LiteralC<"round3Output">]>;
73
73
  }>, t.TypeC<{
74
74
  type: t.LiteralC<"round3Input">;
75
75
  data: t.TypeC<{
@@ -11,12 +11,12 @@ export declare const AddEnterpriseWebhookRequestBodyC: t.TypeC<{
11
11
  }>;
12
12
  export type AddEnterpriseWebhookRequestBody = t.TypeOf<typeof AddEnterpriseWebhookRequestBodyC>;
13
13
  export declare const ListEnterpriseWebhooksRequestBody: {
14
- type: t.UnionC<[t.Type<"bankAccount" | "accessToken" | "policyBalanceChange" | "reversal", "bankAccount" | "accessToken" | "policyBalanceChange" | "reversal", unknown>, t.UndefinedC]>;
14
+ type: t.UnionC<[t.Type<"bankAccount" | "accessToken" | "policyBalanceChange" | "reversal" | "mintOrder", "bankAccount" | "accessToken" | "policyBalanceChange" | "reversal" | "mintOrder", unknown>, t.UndefinedC]>;
15
15
  limit: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
16
16
  prevId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
17
17
  };
18
18
  export declare const ListEnterpriseWebhooksRequestBodyC: t.TypeC<{
19
- type: t.UnionC<[t.Type<"bankAccount" | "accessToken" | "policyBalanceChange" | "reversal", "bankAccount" | "accessToken" | "policyBalanceChange" | "reversal", unknown>, t.UndefinedC]>;
19
+ type: t.UnionC<[t.Type<"bankAccount" | "accessToken" | "policyBalanceChange" | "reversal" | "mintOrder", "bankAccount" | "accessToken" | "policyBalanceChange" | "reversal" | "mintOrder", unknown>, t.UndefinedC]>;
20
20
  limit: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
21
21
  prevId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
22
22
  }>;
@@ -26,6 +26,7 @@ export declare enum WebhookTypeEnum {
26
26
  "kycResult" = "kycResult",
27
27
  "policyBalanceChange" = "policyBalanceChange",
28
28
  "reversal" = "reversal",
29
+ "mintOrder" = "mintOrder",
29
30
  "transaction_finality_on_l1" = "transaction_finality_on_l1",
30
31
  "stuckTx" = "stuckTx",
31
32
  "tradeOrder" = "tradeOrder",
@@ -70,7 +71,8 @@ export declare enum EnterpriseWebhookTypeEnum {
70
71
  "bankAccount" = "bankAccount",
71
72
  "accessToken" = "accessToken",
72
73
  "policyBalanceChange" = "policyBalanceChange",
73
- "reversal" = "reversal"
74
+ "reversal" = "reversal",
75
+ "mintOrder" = "mintOrder"
74
76
  }
75
77
  export declare const EnterpriseWebhookType: t.KeyofC<typeof EnterpriseWebhookTypeEnum>;
76
78
  export type EnterpriseWebhookType = t.TypeOf<typeof EnterpriseWebhookType>;
@@ -53,6 +53,7 @@ var WebhookTypeEnum;
53
53
  WebhookTypeEnum["kycResult"] = "kycResult";
54
54
  WebhookTypeEnum["policyBalanceChange"] = "policyBalanceChange";
55
55
  WebhookTypeEnum["reversal"] = "reversal";
56
+ WebhookTypeEnum["mintOrder"] = "mintOrder";
56
57
  WebhookTypeEnum["transaction_finality_on_l1"] = "transaction_finality_on_l1";
57
58
  WebhookTypeEnum["stuckTx"] = "stuckTx";
58
59
  WebhookTypeEnum["tradeOrder"] = "tradeOrder";
@@ -98,6 +99,7 @@ var EnterpriseWebhookTypeEnum;
98
99
  EnterpriseWebhookTypeEnum["accessToken"] = "accessToken";
99
100
  EnterpriseWebhookTypeEnum["policyBalanceChange"] = "policyBalanceChange";
100
101
  EnterpriseWebhookTypeEnum["reversal"] = "reversal";
102
+ EnterpriseWebhookTypeEnum["mintOrder"] = "mintOrder";
101
103
  })(EnterpriseWebhookTypeEnum || (exports.EnterpriseWebhookTypeEnum = EnterpriseWebhookTypeEnum = {}));
102
104
  exports.EnterpriseWebhookType = t.keyof(EnterpriseWebhookTypeEnum, "EnterpriseWebhookType");
103
105
  var OrganizationWebhookTypeEnum;
@@ -1 +1 @@
1
- {"version":3,"file":"webhookType.js","sourceRoot":"","sources":["../../../../src/schema/webhook/webhookType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,IAAY,eAsEX;AAtED,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;IACnC,0CAAyB,CAAA;IAEzB,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;IAGrB,4CAA2B,CAAA;IAG3B,kDAAiC,CAAA;IAGjC,sDAAqC,CAAA;IAGrC,oDAAmC,CAAA;IAGnC,0DAAyC,CAAA;IAGzC,8EAA6D,CAAA;IAG7D,0DAAyC,CAAA;IAGzC,0DAAyC,CAAA;IAGzC,0DAAyC,CAAA;AAC3C,CAAC,EAtEW,eAAe,+BAAf,eAAe,QAsE1B;AAEY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AC/B,wEAA2C,CAAA;IAC3C,0DAA6B,CAAA;IAC7B,oDAAuB,CAAA;IACvB,wDAA2B,CAAA;IAG3B,sEAAyC,CAAA;IAGzC,sEAAyC,CAAA;AAC3C,CAAC,EAnBW,2BAA2B,2CAA3B,2BAA2B,QAmBtC;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": "6.51.0",
3
+ "version": "6.53.0",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -115,3 +115,25 @@ export const EddsaMPCv2SignatureShareRound3Input = t.intersection([
115
115
  export type EddsaMPCv2SignatureShareRound3Input = t.TypeOf<
116
116
  typeof EddsaMPCv2SignatureShareRound3Input
117
117
  >;
118
+
119
+ /**
120
+ * EdDSA MPCv2 — BitGo to User round 3
121
+ *
122
+ * BitGo returns its third signing message.
123
+ */
124
+ export const EddsaMPCv2SignatureShareRound3Output = t.intersection([
125
+ MPCv2SignatureShareBase,
126
+ t.type(
127
+ {
128
+ type: t.literal("round3Output"),
129
+ data: t.type({
130
+ msg3: EddsaMPCv2SignedMessage,
131
+ }),
132
+ },
133
+ "EddsaMPCv2SignatureShareRound3Output",
134
+ ),
135
+ ]);
136
+
137
+ export type EddsaMPCv2SignatureShareRound3Output = t.TypeOf<
138
+ typeof EddsaMPCv2SignatureShareRound3Output
139
+ >;
@@ -6,6 +6,7 @@ export const MPCv2SigningState = t.union([
6
6
  t.literal("round2Input"),
7
7
  t.literal("round2Output"),
8
8
  t.literal("round3Input"),
9
+ t.literal("round3Output"),
9
10
  ]);
10
11
 
11
12
  export type MPCv2SigningState = t.TypeOf<typeof MPCv2SigningState>;
@@ -38,6 +38,9 @@ export enum WebhookTypeEnum {
38
38
  // Webhook for reversal events (ACH reversals, fiat transaction reversals)
39
39
  "reversal" = "reversal",
40
40
 
41
+ // Webhook for stablecoin mint order lifecycle events (enterprise-scoped)
42
+ "mintOrder" = "mintOrder",
43
+
41
44
  // Webhook for l2 transaction finality on l1
42
45
  "transaction_finality_on_l1" = "transaction_finality_on_l1",
43
46
 
@@ -123,6 +126,7 @@ export enum EnterpriseWebhookTypeEnum {
123
126
  "accessToken" = "accessToken",
124
127
  "policyBalanceChange" = "policyBalanceChange",
125
128
  "reversal" = "reversal",
129
+ "mintOrder" = "mintOrder",
126
130
  }
127
131
  export const EnterpriseWebhookType = t.keyof(
128
132
  EnterpriseWebhookTypeEnum,