@bitgo/public-types 6.43.0 → 6.44.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.
@@ -11,12 +11,12 @@ export declare const AddOrganizationWebhookRequestBodyC: t.TypeC<{
11
11
  }>;
12
12
  export type AddOrganizationWebhookRequestBody = t.TypeOf<typeof AddOrganizationWebhookRequestBodyC>;
13
13
  export declare const ListOrganizationWebhooksRequestBody: {
14
- type: t.UnionC<[t.Type<"txRequest" | "txRequestTransaction" | "transfer" | "pendingapproval" | "bankAccount" | "userKycState" | "enterpriseKycState" | "identityStatus" | "idvStatus" | "accessToken" | "reversal" | "tradeOrder", "txRequest" | "txRequestTransaction" | "transfer" | "pendingapproval" | "bankAccount" | "userKycState" | "enterpriseKycState" | "identityStatus" | "idvStatus" | "accessToken" | "reversal" | "tradeOrder", unknown>, t.UndefinedC]>;
14
+ type: t.UnionC<[t.Type<"txRequest" | "txRequestTransaction" | "transfer" | "pendingapproval" | "bankAccount" | "userKycState" | "enterpriseKycState" | "identityStatus" | "idvStatus" | "accessToken" | "reversal" | "tradeOrder" | "whitelistApproved" | "whitelistRejected", "txRequest" | "txRequestTransaction" | "transfer" | "pendingapproval" | "bankAccount" | "userKycState" | "enterpriseKycState" | "identityStatus" | "idvStatus" | "accessToken" | "reversal" | "tradeOrder" | "whitelistApproved" | "whitelistRejected", 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 ListOrganizationWebhooksRequestBodyC: t.TypeC<{
19
- type: t.UnionC<[t.Type<"txRequest" | "txRequestTransaction" | "transfer" | "pendingapproval" | "bankAccount" | "userKycState" | "enterpriseKycState" | "identityStatus" | "idvStatus" | "accessToken" | "reversal" | "tradeOrder", "txRequest" | "txRequestTransaction" | "transfer" | "pendingapproval" | "bankAccount" | "userKycState" | "enterpriseKycState" | "identityStatus" | "idvStatus" | "accessToken" | "reversal" | "tradeOrder", unknown>, t.UndefinedC]>;
19
+ type: t.UnionC<[t.Type<"txRequest" | "txRequestTransaction" | "transfer" | "pendingapproval" | "bankAccount" | "userKycState" | "enterpriseKycState" | "identityStatus" | "idvStatus" | "accessToken" | "reversal" | "tradeOrder" | "whitelistApproved" | "whitelistRejected", "txRequest" | "txRequestTransaction" | "transfer" | "pendingapproval" | "bankAccount" | "userKycState" | "enterpriseKycState" | "identityStatus" | "idvStatus" | "accessToken" | "reversal" | "tradeOrder" | "whitelistApproved" | "whitelistRejected", 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
  }>;
@@ -33,7 +33,9 @@ export declare enum WebhookTypeEnum {
33
33
  "twoStepTransfer" = "twoStepTransfer",
34
34
  "twoStepDeposit" = "twoStepDeposit",
35
35
  "twoStepWithdrawal" = "twoStepWithdrawal",
36
- "pendingDecryption" = "pendingDecryption"
36
+ "pendingDecryption" = "pendingDecryption",
37
+ "whitelistApproved" = "whitelistApproved",
38
+ "whitelistRejected" = "whitelistRejected"
37
39
  }
38
40
  export declare const WebhookType: t.KeyofC<typeof WebhookTypeEnum>;
39
41
  export type WebhookType = t.TypeOf<typeof WebhookType>;
@@ -82,7 +84,9 @@ export declare enum OrganizationWebhookTypeEnum {
82
84
  "enterpriseKycState" = "enterpriseKycState",
83
85
  "accessToken" = "accessToken",
84
86
  "reversal" = "reversal",
85
- "tradeOrder" = "tradeOrder"
87
+ "tradeOrder" = "tradeOrder",
88
+ "whitelistApproved" = "whitelistApproved",
89
+ "whitelistRejected" = "whitelistRejected"
86
90
  }
87
91
  export declare const OrganizationWebhookType: t.KeyofC<typeof OrganizationWebhookTypeEnum>;
88
92
  export type OrganizationWebhookType = t.TypeOf<typeof OrganizationWebhookType>;
@@ -61,6 +61,8 @@ var WebhookTypeEnum;
61
61
  WebhookTypeEnum["twoStepDeposit"] = "twoStepDeposit";
62
62
  WebhookTypeEnum["twoStepWithdrawal"] = "twoStepWithdrawal";
63
63
  WebhookTypeEnum["pendingDecryption"] = "pendingDecryption";
64
+ WebhookTypeEnum["whitelistApproved"] = "whitelistApproved";
65
+ WebhookTypeEnum["whitelistRejected"] = "whitelistRejected";
64
66
  })(WebhookTypeEnum || (exports.WebhookTypeEnum = WebhookTypeEnum = {}));
65
67
  exports.WebhookType = t.keyof(WebhookTypeEnum, "WebhookType");
66
68
  var WalletWebhookTypeEnum;
@@ -110,6 +112,8 @@ var OrganizationWebhookTypeEnum;
110
112
  OrganizationWebhookTypeEnum["accessToken"] = "accessToken";
111
113
  OrganizationWebhookTypeEnum["reversal"] = "reversal";
112
114
  OrganizationWebhookTypeEnum["tradeOrder"] = "tradeOrder";
115
+ OrganizationWebhookTypeEnum["whitelistApproved"] = "whitelistApproved";
116
+ OrganizationWebhookTypeEnum["whitelistRejected"] = "whitelistRejected";
113
117
  })(OrganizationWebhookTypeEnum || (exports.OrganizationWebhookTypeEnum = OrganizationWebhookTypeEnum = {}));
114
118
  exports.OrganizationWebhookType = t.keyof(OrganizationWebhookTypeEnum, "OrganizationWebhookType");
115
119
  //# sourceMappingURL=webhookType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"webhookType.js","sourceRoot":"","sources":["../../../../src/schema/webhook/webhookType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,IAAY,eA6DX;AA7DD,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,oD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EAA6C,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,2BAmBX;AAnBD,WAAY,2BAA2B;IACrC,oDAAuB,CAAA;IACvB,sDAAyB,CAAA;IACzB,kEAAqC,CAAA;IACrC,4EAA+C,CAAA;IAC/C,0DAA6B,CAAA;IAC7B,gEAAmC,CAAA;IACnC,sDAAyB,CAAA;IACzB,4DAA+B,CAAA;IAC/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.43.0",
3
+ "version": "6.44.0",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -61,6 +61,12 @@ export enum WebhookTypeEnum {
61
61
 
62
62
  /** ERC-7984 confidential transfer pending decryption (wallet-scoped). */
63
63
  "pendingDecryption" = "pendingDecryption",
64
+
65
+ /** Travel Rule whitelist entry approved. */
66
+ "whitelistApproved" = "whitelistApproved",
67
+
68
+ /** Travel Rule whitelist entry rejected. */
69
+ "whitelistRejected" = "whitelistRejected",
64
70
  }
65
71
 
66
72
  export const WebhookType = t.keyof(WebhookTypeEnum, "WebhookType");
@@ -131,6 +137,12 @@ export enum OrganizationWebhookTypeEnum {
131
137
  "accessToken" = "accessToken",
132
138
  "reversal" = "reversal",
133
139
  "tradeOrder" = "tradeOrder",
140
+
141
+ /** Travel Rule whitelist entry approved. */
142
+ "whitelistApproved" = "whitelistApproved",
143
+
144
+ /** Travel Rule whitelist entry rejected. */
145
+ "whitelistRejected" = "whitelistRejected",
134
146
  }
135
147
  export const OrganizationWebhookType = t.keyof(
136
148
  OrganizationWebhookTypeEnum,