@bitgo/public-types 6.52.0 → 6.54.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/mpcv2/signing/eddsaSigningRound.d.ts +17 -5
- package/dist/src/schema/mpcv2/signing/eddsaSigningRound.js +10 -1
- package/dist/src/schema/mpcv2/signing/eddsaSigningRound.js.map +1 -1
- package/dist/src/schema/mpcv2/signing/mpcv2SigningState.d.ts +1 -1
- package/dist/src/schema/mpcv2/signing/mpcv2SigningState.js +1 -0
- package/dist/src/schema/mpcv2/signing/mpcv2SigningState.js.map +1 -1
- package/dist/src/schema/mpcv2/signing/signingRound.d.ts +6 -6
- package/dist/src/schema/webhook/webhookType.d.ts +2 -0
- package/dist/src/schema/webhook/webhookType.js +2 -0
- package/dist/src/schema/webhook/webhookType.js.map +1 -1
- package/package.json +1 -1
- package/src/schema/mpcv2/signing/eddsaSigningRound.ts +22 -0
- package/src/schema/mpcv2/signing/mpcv2SigningState.ts +1 -0
- package/src/schema/webhook/webhookType.ts +6 -0
|
@@ -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,CAAC,OAAO,CAAC,cAAc,CAAC;QAC/B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,gCAAuB;SAC9B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C<"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>;
|
|
@@ -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;
|
|
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<{
|
|
@@ -35,6 +35,7 @@ export declare enum WebhookTypeEnum {
|
|
|
35
35
|
"twoStepDeposit" = "twoStepDeposit",
|
|
36
36
|
"twoStepWithdrawal" = "twoStepWithdrawal",
|
|
37
37
|
"endInvestorOnboardingInvite" = "endInvestorOnboardingInvite",
|
|
38
|
+
"endInvestorOnboardingAccepted" = "endInvestorOnboardingAccepted",
|
|
38
39
|
"pendingDecryption" = "pendingDecryption",
|
|
39
40
|
"whitelistApproved" = "whitelistApproved",
|
|
40
41
|
"whitelistRejected" = "whitelistRejected"
|
|
@@ -63,6 +64,7 @@ export declare enum WalletWebhookTypeEnum {
|
|
|
63
64
|
"twoStepDeposit" = "twoStepDeposit",
|
|
64
65
|
"twoStepWithdrawal" = "twoStepWithdrawal",
|
|
65
66
|
"endInvestorOnboardingInvite" = "endInvestorOnboardingInvite",
|
|
67
|
+
"endInvestorOnboardingAccepted" = "endInvestorOnboardingAccepted",
|
|
66
68
|
"pendingDecryption" = "pendingDecryption"
|
|
67
69
|
}
|
|
68
70
|
export declare const WalletWebhookType: t.KeyofC<typeof WalletWebhookTypeEnum>;
|
|
@@ -62,6 +62,7 @@ var WebhookTypeEnum;
|
|
|
62
62
|
WebhookTypeEnum["twoStepDeposit"] = "twoStepDeposit";
|
|
63
63
|
WebhookTypeEnum["twoStepWithdrawal"] = "twoStepWithdrawal";
|
|
64
64
|
WebhookTypeEnum["endInvestorOnboardingInvite"] = "endInvestorOnboardingInvite";
|
|
65
|
+
WebhookTypeEnum["endInvestorOnboardingAccepted"] = "endInvestorOnboardingAccepted";
|
|
65
66
|
WebhookTypeEnum["pendingDecryption"] = "pendingDecryption";
|
|
66
67
|
WebhookTypeEnum["whitelistApproved"] = "whitelistApproved";
|
|
67
68
|
WebhookTypeEnum["whitelistRejected"] = "whitelistRejected";
|
|
@@ -90,6 +91,7 @@ var WalletWebhookTypeEnum;
|
|
|
90
91
|
WalletWebhookTypeEnum["twoStepDeposit"] = "twoStepDeposit";
|
|
91
92
|
WalletWebhookTypeEnum["twoStepWithdrawal"] = "twoStepWithdrawal";
|
|
92
93
|
WalletWebhookTypeEnum["endInvestorOnboardingInvite"] = "endInvestorOnboardingInvite";
|
|
94
|
+
WalletWebhookTypeEnum["endInvestorOnboardingAccepted"] = "endInvestorOnboardingAccepted";
|
|
93
95
|
WalletWebhookTypeEnum["pendingDecryption"] = "pendingDecryption";
|
|
94
96
|
})(WalletWebhookTypeEnum || (exports.WalletWebhookTypeEnum = WalletWebhookTypeEnum = {}));
|
|
95
97
|
exports.WalletWebhookType = t.keyof(WalletWebhookTypeEnum, "WalletWebhookType");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhookType.js","sourceRoot":"","sources":["../../../../src/schema/webhook/webhookType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,IAAY,
|
|
1
|
+
{"version":3,"file":"webhookType.js","sourceRoot":"","sources":["../../../../src/schema/webhook/webhookType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,IAAY,eA4EX;AA5ED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Input = 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
|
+
>;
|
|
@@ -65,6 +65,9 @@ export enum WebhookTypeEnum {
|
|
|
65
65
|
/** Canton end-investor-onboarding invite received (wallet-scoped). */
|
|
66
66
|
"endInvestorOnboardingInvite" = "endInvestorOnboardingInvite",
|
|
67
67
|
|
|
68
|
+
/** Canton end-investor-onboarding accepted by the end investor (wallet-scoped). */
|
|
69
|
+
"endInvestorOnboardingAccepted" = "endInvestorOnboardingAccepted",
|
|
70
|
+
|
|
68
71
|
/** ERC-7984 confidential transfer pending decryption (wallet-scoped). */
|
|
69
72
|
"pendingDecryption" = "pendingDecryption",
|
|
70
73
|
|
|
@@ -111,6 +114,9 @@ export enum WalletWebhookTypeEnum {
|
|
|
111
114
|
/** Canton end-investor-onboarding invite received. */
|
|
112
115
|
"endInvestorOnboardingInvite" = "endInvestorOnboardingInvite",
|
|
113
116
|
|
|
117
|
+
/** Canton end-investor-onboarding accepted by the end investor. */
|
|
118
|
+
"endInvestorOnboardingAccepted" = "endInvestorOnboardingAccepted",
|
|
119
|
+
|
|
114
120
|
/** ERC-7984 confidential transfer pending decryption. */
|
|
115
121
|
"pendingDecryption" = "pendingDecryption",
|
|
116
122
|
}
|