@bitgo/public-types 6.39.0 → 6.39.1
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/cantonEndInvestorOnboardingAcceptIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingAcceptIntent.js +3 -0
- package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingAcceptIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingOfferIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingOfferIntent.js +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingOfferIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingRejectIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingRejectIntent.js +3 -0
- package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingRejectIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +5 -0
- package/dist/src/schema/transactionRequest/transactionRequest.d.ts +10 -0
- package/package.json +1 -1
- package/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingAcceptIntent.ts +4 -0
- package/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingOfferIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingRejectIntent.ts +4 -0
package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingAcceptIntent.d.ts
CHANGED
|
@@ -79,5 +79,7 @@ export declare const CantonEndInvestorOnboardingAcceptIntent: t.IntersectionC<[t
|
|
|
79
79
|
}>]>, t.TypeC<{
|
|
80
80
|
intentType: t.LiteralC<"cantonEndInvestorOnboardingAccept">;
|
|
81
81
|
txRequestId: t.StringC;
|
|
82
|
+
}>, t.PartialC<{
|
|
83
|
+
participantPartyId: t.StringC;
|
|
82
84
|
}>]>;
|
|
83
85
|
export type CantonEndInvestorOnboardingAcceptIntent = t.TypeOf<typeof CantonEndInvestorOnboardingAcceptIntent>;
|
package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingAcceptIntent.js
CHANGED
|
@@ -33,5 +33,8 @@ exports.CantonEndInvestorOnboardingAcceptIntent = t.intersection([
|
|
|
33
33
|
intentType: intentType_1.intentTypes.cantonEndInvestorOnboardingAccept,
|
|
34
34
|
txRequestId: t.string,
|
|
35
35
|
}),
|
|
36
|
+
t.partial({
|
|
37
|
+
participantPartyId: t.string,
|
|
38
|
+
}),
|
|
36
39
|
]);
|
|
37
40
|
//# sourceMappingURL=cantonEndInvestorOnboardingAcceptIntent.js.map
|
package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingAcceptIntent.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cantonEndInvestorOnboardingAcceptIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonEndInvestorOnboardingAcceptIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;
|
|
1
|
+
{"version":3,"file":"cantonEndInvestorOnboardingAcceptIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonEndInvestorOnboardingAcceptIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAY9B,QAAA,uCAAuC,GAAG,CAAC,CAAC,YAAY,CAAC;IACpE,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,iCAAiC;QACzD,WAAW,EAAE,CAAC,CAAC,MAAM;KACtB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,kBAAkB,EAAE,CAAC,CAAC,MAAM;KAC7B,CAAC;CACH,CAAC,CAAC"}
|
package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingOfferIntent.d.ts
CHANGED
|
@@ -80,6 +80,7 @@ export declare const CantonEndInvestorOnboardingOfferIntent: t.IntersectionC<[t.
|
|
|
80
80
|
intentType: t.LiteralC<"cantonEndInvestorOnboardingOffer">;
|
|
81
81
|
endInvestorPartyId: t.StringC;
|
|
82
82
|
}>, t.PartialC<{
|
|
83
|
+
participantPartyId: t.StringC;
|
|
83
84
|
comment: t.StringC;
|
|
84
85
|
}>]>;
|
|
85
86
|
export type CantonEndInvestorOnboardingOfferIntent = t.TypeOf<typeof CantonEndInvestorOnboardingOfferIntent>;
|
package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingOfferIntent.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cantonEndInvestorOnboardingOfferIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonEndInvestorOnboardingOfferIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;
|
|
1
|
+
{"version":3,"file":"cantonEndInvestorOnboardingOfferIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonEndInvestorOnboardingOfferIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAa9B,QAAA,sCAAsC,GAAG,CAAC,CAAC,YAAY,CAAC;IACnE,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,gCAAgC;QACxD,kBAAkB,EAAE,CAAC,CAAC,MAAM;KAC7B,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,kBAAkB,EAAE,CAAC,CAAC,MAAM;QAC5B,OAAO,EAAE,CAAC,CAAC,MAAM;KAClB,CAAC;CACH,CAAC,CAAC"}
|
package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingRejectIntent.d.ts
CHANGED
|
@@ -80,5 +80,7 @@ export declare const CantonEndInvestorOnboardingRejectIntent: t.IntersectionC<[t
|
|
|
80
80
|
intentType: t.LiteralC<"cantonEndInvestorOnboardingReject">;
|
|
81
81
|
txRequestId: t.StringC;
|
|
82
82
|
reason: t.StringC;
|
|
83
|
+
}>, t.PartialC<{
|
|
84
|
+
participantPartyId: t.StringC;
|
|
83
85
|
}>]>;
|
|
84
86
|
export type CantonEndInvestorOnboardingRejectIntent = t.TypeOf<typeof CantonEndInvestorOnboardingRejectIntent>;
|
package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingRejectIntent.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cantonEndInvestorOnboardingRejectIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonEndInvestorOnboardingRejectIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;
|
|
1
|
+
{"version":3,"file":"cantonEndInvestorOnboardingRejectIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonEndInvestorOnboardingRejectIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAa9B,QAAA,uCAAuC,GAAG,CAAC,CAAC,YAAY,CAAC;IACpE,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,iCAAiC;QACzD,WAAW,EAAE,CAAC,CAAC,MAAM;QACrB,MAAM,EAAE,CAAC,CAAC,MAAM;KACjB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,kBAAkB,EAAE,CAAC,CAAC,MAAM;KAC7B,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -2564,6 +2564,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
2564
2564
|
intentType: t.LiteralC<"cantonEndInvestorOnboardingOffer">;
|
|
2565
2565
|
endInvestorPartyId: t.StringC;
|
|
2566
2566
|
}>, t.PartialC<{
|
|
2567
|
+
participantPartyId: t.StringC;
|
|
2567
2568
|
comment: t.StringC;
|
|
2568
2569
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
2569
2570
|
intentType: t.KeyofC<{
|
|
@@ -2645,6 +2646,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
2645
2646
|
}>]>, t.TypeC<{
|
|
2646
2647
|
intentType: t.LiteralC<"cantonEndInvestorOnboardingAccept">;
|
|
2647
2648
|
txRequestId: t.StringC;
|
|
2649
|
+
}>, t.PartialC<{
|
|
2650
|
+
participantPartyId: t.StringC;
|
|
2648
2651
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
2649
2652
|
intentType: t.KeyofC<{
|
|
2650
2653
|
payment: t.LiteralC<"payment">;
|
|
@@ -2726,6 +2729,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
2726
2729
|
intentType: t.LiteralC<"cantonEndInvestorOnboardingReject">;
|
|
2727
2730
|
txRequestId: t.StringC;
|
|
2728
2731
|
reason: t.StringC;
|
|
2732
|
+
}>, t.PartialC<{
|
|
2733
|
+
participantPartyId: t.StringC;
|
|
2729
2734
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
2730
2735
|
intentType: t.KeyofC<{
|
|
2731
2736
|
payment: t.LiteralC<"payment">;
|
|
@@ -2662,6 +2662,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
2662
2662
|
intentType: t.LiteralC<"cantonEndInvestorOnboardingOffer">;
|
|
2663
2663
|
endInvestorPartyId: t.StringC;
|
|
2664
2664
|
}>, t.PartialC<{
|
|
2665
|
+
participantPartyId: t.StringC;
|
|
2665
2666
|
comment: t.StringC;
|
|
2666
2667
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
2667
2668
|
intentType: t.KeyofC<{
|
|
@@ -2743,6 +2744,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
2743
2744
|
}>]>, t.TypeC<{
|
|
2744
2745
|
intentType: t.LiteralC<"cantonEndInvestorOnboardingAccept">;
|
|
2745
2746
|
txRequestId: t.StringC;
|
|
2747
|
+
}>, t.PartialC<{
|
|
2748
|
+
participantPartyId: t.StringC;
|
|
2746
2749
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
2747
2750
|
intentType: t.KeyofC<{
|
|
2748
2751
|
payment: t.LiteralC<"payment">;
|
|
@@ -2824,6 +2827,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
2824
2827
|
intentType: t.LiteralC<"cantonEndInvestorOnboardingReject">;
|
|
2825
2828
|
txRequestId: t.StringC;
|
|
2826
2829
|
reason: t.StringC;
|
|
2830
|
+
}>, t.PartialC<{
|
|
2831
|
+
participantPartyId: t.StringC;
|
|
2827
2832
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
2828
2833
|
intentType: t.KeyofC<{
|
|
2829
2834
|
payment: t.LiteralC<"payment">;
|
|
@@ -17998,6 +18003,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
17998
18003
|
intentType: t.LiteralC<"cantonEndInvestorOnboardingOffer">;
|
|
17999
18004
|
endInvestorPartyId: t.StringC;
|
|
18000
18005
|
}>, t.PartialC<{
|
|
18006
|
+
participantPartyId: t.StringC;
|
|
18001
18007
|
comment: t.StringC;
|
|
18002
18008
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
18003
18009
|
intentType: t.KeyofC<{
|
|
@@ -18079,6 +18085,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18079
18085
|
}>]>, t.TypeC<{
|
|
18080
18086
|
intentType: t.LiteralC<"cantonEndInvestorOnboardingAccept">;
|
|
18081
18087
|
txRequestId: t.StringC;
|
|
18088
|
+
}>, t.PartialC<{
|
|
18089
|
+
participantPartyId: t.StringC;
|
|
18082
18090
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
18083
18091
|
intentType: t.KeyofC<{
|
|
18084
18092
|
payment: t.LiteralC<"payment">;
|
|
@@ -18160,6 +18168,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18160
18168
|
intentType: t.LiteralC<"cantonEndInvestorOnboardingReject">;
|
|
18161
18169
|
txRequestId: t.StringC;
|
|
18162
18170
|
reason: t.StringC;
|
|
18171
|
+
}>, t.PartialC<{
|
|
18172
|
+
participantPartyId: t.StringC;
|
|
18163
18173
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
18164
18174
|
intentType: t.KeyofC<{
|
|
18165
18175
|
payment: t.LiteralC<"payment">;
|
package/package.json
CHANGED
|
@@ -10,6 +10,7 @@ import { intentTypes } from "./intentType";
|
|
|
10
10
|
*
|
|
11
11
|
* @param {String} intentType - The type of intent (always set to cantonEndInvestorOnboardingAccept)
|
|
12
12
|
* @param {string} txRequestId - The txRequestId of the corresponding onboarding offer
|
|
13
|
+
* @param {string} [participantPartyId] - The Canton party ID of the participant involved in the onboarding
|
|
13
14
|
*/
|
|
14
15
|
export const CantonEndInvestorOnboardingAcceptIntent = t.intersection([
|
|
15
16
|
BaseIntent,
|
|
@@ -17,6 +18,9 @@ export const CantonEndInvestorOnboardingAcceptIntent = t.intersection([
|
|
|
17
18
|
intentType: intentTypes.cantonEndInvestorOnboardingAccept,
|
|
18
19
|
txRequestId: t.string,
|
|
19
20
|
}),
|
|
21
|
+
t.partial({
|
|
22
|
+
participantPartyId: t.string,
|
|
23
|
+
}),
|
|
20
24
|
]);
|
|
21
25
|
|
|
22
26
|
export type CantonEndInvestorOnboardingAcceptIntent = t.TypeOf<
|
|
@@ -10,6 +10,7 @@ import { intentTypes } from "./intentType";
|
|
|
10
10
|
*
|
|
11
11
|
* @param {String} intentType - The type of intent (always set to cantonEndInvestorOnboardingOffer)
|
|
12
12
|
* @param {string} endInvestorPartyId - The Canton party ID of the end investor to onboard
|
|
13
|
+
* @param {string} [participantPartyId] - The Canton party ID of the participant making the offer
|
|
13
14
|
* @param {string} [comment] - Optional human-readable comment
|
|
14
15
|
*/
|
|
15
16
|
export const CantonEndInvestorOnboardingOfferIntent = t.intersection([
|
|
@@ -19,6 +20,7 @@ export const CantonEndInvestorOnboardingOfferIntent = t.intersection([
|
|
|
19
20
|
endInvestorPartyId: t.string,
|
|
20
21
|
}),
|
|
21
22
|
t.partial({
|
|
23
|
+
participantPartyId: t.string,
|
|
22
24
|
comment: t.string,
|
|
23
25
|
}),
|
|
24
26
|
]);
|
|
@@ -11,6 +11,7 @@ import { intentTypes } from "./intentType";
|
|
|
11
11
|
* @param {String} intentType - The type of intent (always set to cantonEndInvestorOnboardingReject)
|
|
12
12
|
* @param {string} txRequestId - The txRequestId of the corresponding onboarding offer
|
|
13
13
|
* @param {string} reason - The reason for rejecting the onboarding offer
|
|
14
|
+
* @param {string} [participantPartyId] - The Canton party ID of the participant involved in the onboarding
|
|
14
15
|
*/
|
|
15
16
|
export const CantonEndInvestorOnboardingRejectIntent = t.intersection([
|
|
16
17
|
BaseIntent,
|
|
@@ -19,6 +20,9 @@ export const CantonEndInvestorOnboardingRejectIntent = t.intersection([
|
|
|
19
20
|
txRequestId: t.string,
|
|
20
21
|
reason: t.string,
|
|
21
22
|
}),
|
|
23
|
+
t.partial({
|
|
24
|
+
participantPartyId: t.string,
|
|
25
|
+
}),
|
|
22
26
|
]);
|
|
23
27
|
|
|
24
28
|
export type CantonEndInvestorOnboardingRejectIntent = t.TypeOf<
|