@bitgo/public-types
Advanced tools
Comparing version 2.11.0 to 2.12.0
@@ -14,2 +14,3 @@ import * as t from "io-ts"; | ||
walletId: t.StringC; | ||
enterpriseId: t.StringC; | ||
userId: t.StringC; | ||
@@ -16,0 +17,0 @@ type: t.KeyofC<typeof import("./webhookType").WebhookTypeEnum>; |
@@ -47,2 +47,3 @@ "use strict"; | ||
walletId: t.string, | ||
enterpriseId: t.string, | ||
userId: t.string, | ||
@@ -49,0 +50,0 @@ type: webhookType_1.WebhookType, |
@@ -32,7 +32,11 @@ import * as t from "io-ts"; | ||
"lowFee" = "lowFee", | ||
"wireWithdrawal" = "wireWithdrawal", | ||
"bankAccount" = "bankAccount" | ||
"wireWithdrawal" = "wireWithdrawal" | ||
} | ||
export declare const WalletWebhookType: t.KeyofC<typeof WalletWebhookTypeEnum>; | ||
export type WalletWebhookType = t.TypeOf<typeof WalletWebhookType>; | ||
export declare enum EnterpriseWebhookTypeEnum { | ||
"bankAccount" = "bankAccount" | ||
} | ||
export declare const EnterpriseWebhookType: t.KeyofC<typeof EnterpriseWebhookTypeEnum>; | ||
export type EnterpriseWebhookType = t.TypeOf<typeof EnterpriseWebhookType>; | ||
//# sourceMappingURL=webhookType.d.ts.map |
@@ -26,3 +26,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.WalletWebhookType = exports.WalletWebhookTypeEnum = exports.WebhookType = exports.WebhookTypeEnum = void 0; | ||
exports.EnterpriseWebhookType = exports.EnterpriseWebhookTypeEnum = exports.WalletWebhookType = exports.WalletWebhookTypeEnum = exports.WebhookType = exports.WebhookTypeEnum = void 0; | ||
const t = __importStar(require("io-ts")); | ||
@@ -61,5 +61,9 @@ var WebhookTypeEnum; | ||
WalletWebhookTypeEnum["wireWithdrawal"] = "wireWithdrawal"; | ||
WalletWebhookTypeEnum["bankAccount"] = "bankAccount"; | ||
})(WalletWebhookTypeEnum || (exports.WalletWebhookTypeEnum = WalletWebhookTypeEnum = {})); | ||
exports.WalletWebhookType = t.keyof(WalletWebhookTypeEnum, "WalletWebhookType"); | ||
var EnterpriseWebhookTypeEnum; | ||
(function (EnterpriseWebhookTypeEnum) { | ||
EnterpriseWebhookTypeEnum["bankAccount"] = "bankAccount"; | ||
})(EnterpriseWebhookTypeEnum || (exports.EnterpriseWebhookTypeEnum = EnterpriseWebhookTypeEnum = {})); | ||
exports.EnterpriseWebhookType = t.keyof(EnterpriseWebhookTypeEnum, "EnterpriseWebhookType"); | ||
//# sourceMappingURL=webhookType.js.map |
{ | ||
"name": "@bitgo/public-types", | ||
"version": "2.11.0", | ||
"version": "2.12.0", | ||
"description": "Collection of types exposed externally as part of the BitGo public API", | ||
@@ -5,0 +5,0 @@ "license": "UNLICENSED", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
149059
134
2448