@pax2pay/model-banking 0.1.6 → 0.1.7

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/Treasury/index.ts CHANGED
@@ -9,7 +9,14 @@ export namespace Treasury {
9
9
  export type Balance = TreasuryBalance
10
10
  export type Fiat = TreasuryFiat
11
11
  export type Client = TreasuryClient
12
- export const Account = TreasuryAccount
13
12
  export const Balance = TreasuryBalance
14
13
  export const Client = TreasuryClient
14
+ export namespace Account {
15
+ export type Creatable = TreasuryAccount.Creatable
16
+ export const Creatable = TreasuryAccount.Creatable
17
+ export type Storable = TreasuryAccount.Storable
18
+ export const Storable = TreasuryAccount.Storable
19
+ export type Fetchable = TreasuryAccount.Fetchable
20
+ export const Fetchable = TreasuryAccount.Fetchable
21
+ }
15
22
  }
@@ -8,7 +8,14 @@ export declare namespace Treasury {
8
8
  type Balance = TreasuryBalance;
9
9
  type Fiat = TreasuryFiat;
10
10
  type Client = TreasuryClient;
11
- const Account: typeof TreasuryAccount;
12
11
  const Balance: typeof TreasuryBalance;
13
12
  const Client: typeof TreasuryClient;
13
+ namespace Account {
14
+ type Creatable = TreasuryAccount.Creatable;
15
+ const Creatable: typeof import("./Account/Creatable").Creatable;
16
+ type Storable = TreasuryAccount.Storable;
17
+ const Storable: typeof import("./Account/Storable").Storable;
18
+ type Fetchable = TreasuryAccount.Fetchable;
19
+ const Fetchable: typeof import("./Account/Fetchable").Fetchable;
20
+ }
14
21
  }
@@ -3,8 +3,13 @@ import { Balance as TreasuryBalance } from "./Balance";
3
3
  import { Client as TreasuryClient } from "./Client";
4
4
  export var Treasury;
5
5
  (function (Treasury) {
6
- Treasury.Account = TreasuryAccount;
7
6
  Treasury.Balance = TreasuryBalance;
8
7
  Treasury.Client = TreasuryClient;
8
+ let Account;
9
+ (function (Account) {
10
+ Account.Creatable = TreasuryAccount.Creatable;
11
+ Account.Storable = TreasuryAccount.Storable;
12
+ Account.Fetchable = TreasuryAccount.Fetchable;
13
+ })(Account = Treasury.Account || (Treasury.Account = {}));
9
14
  })(Treasury || (Treasury = {}));
10
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../","sources":["Treasury/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,WAAW,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,WAAW,CAAA;AACtD,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,UAAU,CAAA;AAInD,MAAM,KAAW,QAAQ,CAQxB;AARD,WAAiB,QAAQ;IAKX,gBAAO,GAAG,eAAe,CAAA;IACzB,gBAAO,GAAG,eAAe,CAAA;IACzB,eAAM,GAAG,cAAc,CAAA;AACrC,CAAC,EARgB,QAAQ,KAAR,QAAQ,QAQxB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"../","sources":["Treasury/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,WAAW,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,WAAW,CAAA;AACtD,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,UAAU,CAAA;AAInD,MAAM,KAAW,QAAQ,CAexB;AAfD,WAAiB,QAAQ;IAKX,gBAAO,GAAG,eAAe,CAAA;IACzB,eAAM,GAAG,cAAc,CAAA;IACpC,IAAiB,OAAO,CAOvB;IAPD,WAAiB,OAAO;QAEV,iBAAS,GAAG,eAAe,CAAC,SAAS,CAAA;QAErC,gBAAQ,GAAG,eAAe,CAAC,QAAQ,CAAA;QAEnC,iBAAS,GAAG,eAAe,CAAC,SAAS,CAAA;IACnD,CAAC,EAPgB,OAAO,GAAP,gBAAO,KAAP,gBAAO,QAOvB;AACF,CAAC,EAfgB,QAAQ,KAAR,QAAQ,QAexB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",