@bitgo/public-types 2.11.0 → 2.13.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.
@@ -0,0 +1,13 @@
1
+ import * as t from "io-ts";
2
+ export declare const AddEnterpriseWebhookRequestBody: {
3
+ type: t.KeyofC<typeof import("./webhookType").EnterpriseWebhookTypeEnum>;
4
+ url: import("io-ts-types").NonEmptyStringC;
5
+ label: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
6
+ };
7
+ export declare const AddEnterpriseWebhookRequestBodyC: t.TypeC<{
8
+ type: t.KeyofC<typeof import("./webhookType").EnterpriseWebhookTypeEnum>;
9
+ url: import("io-ts-types").NonEmptyStringC;
10
+ label: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
11
+ }>;
12
+ export type AddEnterpriseWebhookRequestBody = t.TypeOf<typeof AddEnterpriseWebhookRequestBodyC>;
13
+ //# sourceMappingURL=addEnterpriseWebhookRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addEnterpriseWebhookRequest.d.ts","sourceRoot":"","sources":["../../../../src/schema/webhook/addEnterpriseWebhookRequest.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,eAAO,MAAM,+BAA+B;;;;CAI3C,CAAC;AACF,eAAO,MAAM,gCAAgC;;;;EAE3C,CAAC;AAEH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CACpD,OAAO,gCAAgC,CACxC,CAAC"}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.AddEnterpriseWebhookRequestBodyC = exports.AddEnterpriseWebhookRequestBody = void 0;
27
+ const webhookType_1 = require("./webhookType");
28
+ const io_ts_types_1 = require("io-ts-types");
29
+ const utils_1 = require("../../utils");
30
+ const t = __importStar(require("io-ts"));
31
+ exports.AddEnterpriseWebhookRequestBody = {
32
+ type: webhookType_1.EnterpriseWebhookType,
33
+ url: io_ts_types_1.NonEmptyString,
34
+ label: (0, utils_1.Optional)(t.string),
35
+ };
36
+ exports.AddEnterpriseWebhookRequestBodyC = t.type({
37
+ ...exports.AddEnterpriseWebhookRequestBody,
38
+ });
39
+ //# sourceMappingURL=addEnterpriseWebhookRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addEnterpriseWebhookRequest.js","sourceRoot":"","sources":["../../../../src/schema/webhook/addEnterpriseWebhookRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAsD;AACtD,6CAA6C;AAC7C,uCAAuC;AACvC,yCAA2B;AAEd,QAAA,+BAA+B,GAAG;IAC7C,IAAI,EAAE,mCAAqB;IAC3B,GAAG,EAAE,4BAAc;IACnB,KAAK,EAAE,IAAA,gBAAQ,EAAC,CAAC,CAAC,MAAM,CAAC;CAC1B,CAAC;AACW,QAAA,gCAAgC,GAAG,CAAC,CAAC,IAAI,CAAC;IACrD,GAAG,uCAA+B;CACnC,CAAC,CAAC"}
@@ -1,6 +1,8 @@
1
+ export * from "./addEnterpriseWebhookRequest";
1
2
  export * from "./addWalletWebhookRequest";
2
3
  export * from "./webhook";
3
4
  export * from "./webhookNotification";
5
+ export * from "./webhookScope";
4
6
  export * from "./webhookState";
5
7
  export * from "./webhookType";
6
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schema/webhook/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schema/webhook/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC"}
@@ -14,9 +14,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./addEnterpriseWebhookRequest"), exports);
17
18
  __exportStar(require("./addWalletWebhookRequest"), exports);
18
19
  __exportStar(require("./webhook"), exports);
19
20
  __exportStar(require("./webhookNotification"), exports);
21
+ __exportStar(require("./webhookScope"), exports);
20
22
  __exportStar(require("./webhookState"), exports);
21
23
  __exportStar(require("./webhookType"), exports);
22
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schema/webhook/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,4CAA0B;AAC1B,wDAAsC;AACtC,iDAA+B;AAC/B,gDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schema/webhook/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,4DAA0C;AAC1C,4CAA0B;AAC1B,wDAAsC;AACtC,iDAA+B;AAC/B,iDAA+B;AAC/B,gDAA8B"}
@@ -11,6 +11,9 @@ export declare const Webhook: t.IntersectionC<[t.TypeC<{
11
11
  }>, t.PartialC<{
12
12
  label: t.StringC;
13
13
  walletId: t.StringC;
14
+ enterpriseId: t.StringC;
15
+ organizationId: t.StringC;
16
+ scope: t.KeyofC<typeof import("./webhookScope").WebhookScopeEnum>;
14
17
  userId: t.StringC;
15
18
  type: t.KeyofC<typeof import("./webhookType").WebhookTypeEnum>;
16
19
  numConfirmations: t.NumberC;
@@ -1 +1 @@
1
- {"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../../../../src/schema/webhook/webhook.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAO3B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAuBlB,CAAC"}
1
+ {"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../../../../src/schema/webhook/webhook.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAQ3B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0BlB,CAAC"}
@@ -30,6 +30,7 @@ const transactionRequestState_1 = require("../transactionRequest/transactionRequ
30
30
  const transactionState_1 = require("../transactionRequest/transactionState");
31
31
  const webhookState_1 = require("./webhookState");
32
32
  const webhookType_1 = require("./webhookType");
33
+ const webhookScope_1 = require("./webhookScope");
33
34
  exports.Webhook = t.intersection([
34
35
  t.type({
35
36
  id: t.string,
@@ -44,6 +45,9 @@ exports.Webhook = t.intersection([
44
45
  t.partial({
45
46
  label: t.string,
46
47
  walletId: t.string,
48
+ enterpriseId: t.string,
49
+ organizationId: t.string,
50
+ scope: webhookScope_1.WebhookScope,
47
51
  userId: t.string,
48
52
  type: webhookType_1.WebhookType,
49
53
  numConfirmations: t.number,
@@ -1 +1 @@
1
- {"version":3,"file":"webhook.js","sourceRoot":"","sources":["../../../../src/schema/webhook/webhook.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAAgD;AAChD,2FAAwF;AACxF,6EAA0E;AAC1E,iDAA8C;AAC9C,+CAA4C;AAE/B,QAAA,OAAO,GAAG,CAAC,CAAC,YAAY,CAAC;IACpC,CAAC,CAAC,IAAI,CAAC;QACL,EAAE,EAAE,CAAC,CAAC,MAAM;QACZ,OAAO,EAAE,+BAAiB;QAC1B,IAAI,EAAE,CAAC,CAAC,MAAM;QACd,GAAG,EAAE,CAAC,CAAC,MAAM;QACb,OAAO,EAAE,CAAC,CAAC,MAAM;QACjB,KAAK,EAAE,2BAAY;QACnB,wBAAwB,EAAE,CAAC,CAAC,MAAM;QAClC,qBAAqB,EAAE,CAAC,CAAC,OAAO;KACjC,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,KAAK,EAAE,CAAC,CAAC,MAAM;QACf,QAAQ,EAAE,CAAC,CAAC,MAAM;QAClB,MAAM,EAAE,CAAC,CAAC,MAAM;QAChB,IAAI,EAAE,yBAAW;QACjB,gBAAgB,EAAE,CAAC,CAAC,MAAM;QAC1B,WAAW,EAAE,+BAAiB;QAC9B,YAAY,EAAE,+BAAiB;QAC/B,QAAQ,EAAE,CAAC,CAAC,OAAO;QACnB,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,iDAAuB,CAAC;QACjD,0BAA0B,EAAE,CAAC,CAAC,KAAK,CAAC,mCAAgB,CAAC;KACtD,CAAC;CACH,CAAC,CAAC"}
1
+ {"version":3,"file":"webhook.js","sourceRoot":"","sources":["../../../../src/schema/webhook/webhook.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAAgD;AAChD,2FAAwF;AACxF,6EAA0E;AAC1E,iDAA8C;AAC9C,+CAA4C;AAC5C,iDAA8C;AAEjC,QAAA,OAAO,GAAG,CAAC,CAAC,YAAY,CAAC;IACpC,CAAC,CAAC,IAAI,CAAC;QACL,EAAE,EAAE,CAAC,CAAC,MAAM;QACZ,OAAO,EAAE,+BAAiB;QAC1B,IAAI,EAAE,CAAC,CAAC,MAAM;QACd,GAAG,EAAE,CAAC,CAAC,MAAM;QACb,OAAO,EAAE,CAAC,CAAC,MAAM;QACjB,KAAK,EAAE,2BAAY;QACnB,wBAAwB,EAAE,CAAC,CAAC,MAAM;QAClC,qBAAqB,EAAE,CAAC,CAAC,OAAO;KACjC,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,KAAK,EAAE,CAAC,CAAC,MAAM;QACf,QAAQ,EAAE,CAAC,CAAC,MAAM;QAClB,YAAY,EAAE,CAAC,CAAC,MAAM;QACtB,cAAc,EAAE,CAAC,CAAC,MAAM;QACxB,KAAK,EAAE,2BAAY;QACnB,MAAM,EAAE,CAAC,CAAC,MAAM;QAChB,IAAI,EAAE,yBAAW;QACjB,gBAAgB,EAAE,CAAC,CAAC,MAAM;QAC1B,WAAW,EAAE,+BAAiB;QAC9B,YAAY,EAAE,+BAAiB;QAC/B,QAAQ,EAAE,CAAC,CAAC,OAAO;QACnB,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,iDAAuB,CAAC;QACjD,0BAA0B,EAAE,CAAC,CAAC,KAAK,CAAC,mCAAgB,CAAC;KACtD,CAAC;CACH,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import * as t from "io-ts";
2
+ export declare enum WebhookScopeEnum {
3
+ "wallet" = "wallet",
4
+ "enterprise" = "enterprise",
5
+ "organization" = "organization"
6
+ }
7
+ export declare const WebhookScope: t.KeyofC<typeof WebhookScopeEnum>;
8
+ export type WebhookScope = t.TypeOf<typeof WebhookScope>;
9
+ //# sourceMappingURL=webhookScope.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhookScope.d.ts","sourceRoot":"","sources":["../../../../src/schema/webhook/webhookScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,oBAAY,gBAAgB;IAC1B,QAAQ,WAAW;IACnB,YAAY,eAAe;IAC3B,cAAc,iBAAiB;CAChC;AAED,eAAO,MAAM,YAAY,mCAA4C,CAAC;AACtE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,YAAY,CAAC,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.WebhookScope = exports.WebhookScopeEnum = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ var WebhookScopeEnum;
29
+ (function (WebhookScopeEnum) {
30
+ WebhookScopeEnum["wallet"] = "wallet";
31
+ WebhookScopeEnum["enterprise"] = "enterprise";
32
+ WebhookScopeEnum["organization"] = "organization";
33
+ })(WebhookScopeEnum || (exports.WebhookScopeEnum = WebhookScopeEnum = {}));
34
+ exports.WebhookScope = t.keyof(WebhookScopeEnum, "WebhookScope");
35
+ //# sourceMappingURL=webhookScope.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhookScope.js","sourceRoot":"","sources":["../../../../src/schema/webhook/webhookScope.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,qCAAmB,CAAA;IACnB,6CAA2B,CAAA;IAC3B,iDAA+B,CAAA;AACjC,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAEY,QAAA,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC"}
@@ -29,9 +29,13 @@ export declare enum WalletWebhookTypeEnum {
29
29
  "admin" = "admin",
30
30
  "address_confirmation" = "address_confirmation",
31
31
  "lowFee" = "lowFee",
32
- "wireWithdrawal" = "wireWithdrawal",
33
- "bankAccount" = "bankAccount"
32
+ "wireWithdrawal" = "wireWithdrawal"
34
33
  }
35
34
  export declare const WalletWebhookType: t.KeyofC<typeof WalletWebhookTypeEnum>;
36
35
  export type WalletWebhookType = t.TypeOf<typeof WalletWebhookType>;
36
+ export declare enum EnterpriseWebhookTypeEnum {
37
+ "bankAccount" = "bankAccount"
38
+ }
39
+ export declare const EnterpriseWebhookType: t.KeyofC<typeof EnterpriseWebhookTypeEnum>;
40
+ export type EnterpriseWebhookType = t.TypeOf<typeof EnterpriseWebhookType>;
37
41
  //# sourceMappingURL=webhookType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"webhookType.d.ts","sourceRoot":"","sources":["../../../../src/schema/webhook/webhookType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,oBAAY,eAAe;IAEzB,WAAW,cAAc;IAEzB,sBAAsB,yBAAyB;IAC/C,UAAU,aAAa;IACvB,aAAa,gBAAgB;IAC7B,oBAAoB,uBAAuB;IAC3C,mBAAmB,sBAAsB;IACzC,iBAAiB,oBAAoB;IACrC,OAAO,UAAU;IACjB,OAAO,UAAU;IACjB,sBAAsB,yBAAyB;IAC/C,QAAQ,WAAW;IAGnB,qBAAqB,wBAAwB;IAE7C,gBAAgB,mBAAmB;IACnC,aAAa,gBAAgB;CAC9B;AAED,eAAO,MAAM,WAAW,kCAA0C,CAAC;AACnE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,WAAW,CAAC,CAAC;AAEvD,oBAAY,qBAAqB;IAC/B,WAAW,cAAc;IACzB,sBAAsB,yBAAyB;IAC/C,UAAU,aAAa;IACvB,aAAa,gBAAgB;IAC7B,oBAAoB,uBAAuB;IAC3C,mBAAmB,sBAAsB;IACzC,iBAAiB,oBAAoB;IACrC,OAAO,UAAU;IACjB,OAAO,UAAU;IACjB,sBAAsB,yBAAyB;IAC/C,QAAQ,WAAW;IACnB,gBAAgB,mBAAmB;IACnC,aAAa,gBAAgB;CAC9B;AAED,eAAO,MAAM,iBAAiB,wCAG7B,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
1
+ {"version":3,"file":"webhookType.d.ts","sourceRoot":"","sources":["../../../../src/schema/webhook/webhookType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,oBAAY,eAAe;IAEzB,WAAW,cAAc;IAEzB,sBAAsB,yBAAyB;IAC/C,UAAU,aAAa;IACvB,aAAa,gBAAgB;IAC7B,oBAAoB,uBAAuB;IAC3C,mBAAmB,sBAAsB;IACzC,iBAAiB,oBAAoB;IACrC,OAAO,UAAU;IACjB,OAAO,UAAU;IACjB,sBAAsB,yBAAyB;IAC/C,QAAQ,WAAW;IAGnB,qBAAqB,wBAAwB;IAE7C,gBAAgB,mBAAmB;IACnC,aAAa,gBAAgB;CAC9B;AAED,eAAO,MAAM,WAAW,kCAA0C,CAAC;AACnE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,WAAW,CAAC,CAAC;AAEvD,oBAAY,qBAAqB;IAC/B,WAAW,cAAc;IACzB,sBAAsB,yBAAyB;IAC/C,UAAU,aAAa;IACvB,aAAa,gBAAgB;IAC7B,oBAAoB,uBAAuB;IAC3C,mBAAmB,sBAAsB;IACzC,iBAAiB,oBAAoB;IACrC,OAAO,UAAU;IACjB,OAAO,UAAU;IACjB,sBAAsB,yBAAyB;IAC/C,QAAQ,WAAW;IACnB,gBAAgB,mBAAmB;CACpC;AAED,eAAO,MAAM,iBAAiB,wCAG7B,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEnE,oBAAY,yBAAyB;IACnC,aAAa,gBAAgB;CAC9B;AACD,eAAO,MAAM,qBAAqB,4CAGjC,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
@@ -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.WalletWebhookType = exports.WalletWebhookTypeEnum = exports.WebhookType = exports.WebhookTypeEnum = void 0;
26
+ exports.EnterpriseWebhookType = exports.EnterpriseWebhookTypeEnum = exports.WalletWebhookType = exports.WalletWebhookTypeEnum = exports.WebhookType = exports.WebhookTypeEnum = void 0;
27
27
  const t = __importStar(require("io-ts"));
28
28
  var WebhookTypeEnum;
29
29
  (function (WebhookTypeEnum) {
@@ -57,7 +57,11 @@ var WalletWebhookTypeEnum;
57
57
  WalletWebhookTypeEnum["address_confirmation"] = "address_confirmation";
58
58
  WalletWebhookTypeEnum["lowFee"] = "lowFee";
59
59
  WalletWebhookTypeEnum["wireWithdrawal"] = "wireWithdrawal";
60
- WalletWebhookTypeEnum["bankAccount"] = "bankAccount";
61
60
  })(WalletWebhookTypeEnum || (exports.WalletWebhookTypeEnum = WalletWebhookTypeEnum = {}));
62
61
  exports.WalletWebhookType = t.keyof(WalletWebhookTypeEnum, "WalletWebhookType");
62
+ var EnterpriseWebhookTypeEnum;
63
+ (function (EnterpriseWebhookTypeEnum) {
64
+ EnterpriseWebhookTypeEnum["bankAccount"] = "bankAccount";
65
+ })(EnterpriseWebhookTypeEnum || (exports.EnterpriseWebhookTypeEnum = EnterpriseWebhookTypeEnum = {}));
66
+ exports.EnterpriseWebhookType = t.keyof(EnterpriseWebhookTypeEnum, "EnterpriseWebhookType");
63
67
  //# 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,eAoBX;AApBD,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;IAGnB,8DAA6C,CAAA;IAE7C,oDAAmC,CAAA;IACnC,8CAA6B,CAAA;AAC/B,CAAC,EApBW,eAAe,+BAAf,eAAe,QAoB1B;AAEY,QAAA,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,eAAe,EAAE,aAAa,CAAC,CAAC;AAGnE,IAAY,qBAcX;AAdD,WAAY,qBAAqB;IAC/B,gDAAyB,CAAA;IACzB,sEAA+C,CAAA;IAC/C,8CAAuB,CAAA;IACvB,oDAA6B,CAAA;IAC7B,kEAA2C,CAAA;IAC3C,gEAAyC,CAAA;IACzC,4DAAqC,CAAA;IACrC,wCAAiB,CAAA;IACjB,wCAAiB,CAAA;IACjB,sEAA+C,CAAA;IAC/C,0CAAmB,CAAA;IACnB,0DAAmC,CAAA;IACnC,oDAA6B,CAAA;AAC/B,CAAC,EAdW,qBAAqB,qCAArB,qBAAqB,QAchC;AAEY,QAAA,iBAAiB,GAAG,CAAC,CAAC,KAAK,CACtC,qBAAqB,EACrB,mBAAmB,CACpB,CAAC"}
1
+ {"version":3,"file":"webhookType.js","sourceRoot":"","sources":["../../../../src/schema/webhook/webhookType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,IAAY,eAoBX;AApBD,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;IAGnB,8DAA6C,CAAA;IAE7C,oDAAmC,CAAA;IACnC,8CAA6B,CAAA;AAC/B,CAAC,EApBW,eAAe,+BAAf,eAAe,QAoB1B;AAEY,QAAA,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,eAAe,EAAE,aAAa,CAAC,CAAC;AAGnE,IAAY,qBAaX;AAbD,WAAY,qBAAqB;IAC/B,gDAAyB,CAAA;IACzB,sEAA+C,CAAA;IAC/C,8CAAuB,CAAA;IACvB,oDAA6B,CAAA;IAC7B,kEAA2C,CAAA;IAC3C,gEAAyC,CAAA;IACzC,4DAAqC,CAAA;IACrC,wCAAiB,CAAA;IACjB,wCAAiB,CAAA;IACjB,sEAA+C,CAAA;IAC/C,0CAAmB,CAAA;IACnB,0DAAmC,CAAA;AACrC,CAAC,EAbW,qBAAqB,qCAArB,qBAAqB,QAahC;AAEY,QAAA,iBAAiB,GAAG,CAAC,CAAC,KAAK,CACtC,qBAAqB,EACrB,mBAAmB,CACpB,CAAC;AAGF,IAAY,yBAEX;AAFD,WAAY,yBAAyB;IACnC,wDAA6B,CAAA;AAC/B,CAAC,EAFW,yBAAyB,yCAAzB,yBAAyB,QAEpC;AACY,QAAA,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAC1C,yBAAyB,EACzB,uBAAuB,CACxB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "2.11.0",
3
+ "version": "2.13.0",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",