@pax2pay/model-banking 0.1.423 → 0.1.424

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.
Files changed (104) hide show
  1. package/dist/Account/Creatable.d.ts +3 -3
  2. package/dist/Account/History.d.ts +3 -3
  3. package/dist/Account/Status.d.ts +3 -3
  4. package/dist/Account/index.d.ts +3 -3
  5. package/dist/Acquirer/index.d.ts +1 -2
  6. package/dist/Amount.d.ts +2 -2
  7. package/dist/Amounts.d.ts +2 -2
  8. package/dist/Authorization/Creatable.d.ts +3 -3
  9. package/dist/Authorization/Exchange.d.ts +1 -2
  10. package/dist/Authorization/index.d.ts +1 -2
  11. package/dist/Balance.d.ts +1 -1
  12. package/dist/Balances.d.ts +2 -2
  13. package/dist/Card/Changeable.d.ts +4 -4
  14. package/dist/Card/Creatable.d.ts +2 -3
  15. package/dist/Card/Expiry.d.ts +1 -1
  16. package/dist/Card/Operation/Authorization.d.ts +2 -3
  17. package/dist/Card/Operation/Card.d.ts +2 -3
  18. package/dist/Card/Operation/index.d.ts +1 -1
  19. package/dist/Card/Preset.d.ts +2 -2
  20. package/dist/Card/Stack.d.ts +2 -2
  21. package/dist/Card/index.d.ts +2 -3
  22. package/dist/Counterbalance.d.ts +1 -1
  23. package/dist/Exchange.d.ts +363 -3
  24. package/dist/Identifier.d.ts +2 -2
  25. package/dist/Key/Roles.d.ts +1 -1
  26. package/dist/Label.d.ts +5 -5
  27. package/dist/Log/Entry.d.ts +2 -3
  28. package/dist/Log/Message/Configuration.d.ts +1 -2
  29. package/dist/Log/Message/Entry.d.ts +1 -2
  30. package/dist/Log/index.d.ts +1 -2
  31. package/dist/Merchant/index.d.ts +3 -3
  32. package/dist/Operation/Change.d.ts +9 -9
  33. package/dist/Operation/Changes.d.ts +2 -2
  34. package/dist/Operation/Creatable.d.ts +3 -3
  35. package/dist/Operation/Status.d.ts +2 -2
  36. package/dist/Operation/index.d.ts +3 -3
  37. package/dist/Organization/Changeable.d.ts +3 -3
  38. package/dist/Organization/Contact/Address/GB.d.ts +3 -3
  39. package/dist/Organization/Contact/Address/General.d.ts +3 -3
  40. package/dist/Organization/Contact/Address/SE.d.ts +3 -3
  41. package/dist/Organization/Contact/Address/index.d.ts +2 -2
  42. package/dist/Organization/Contact/Addresses.d.ts +3 -3
  43. package/dist/Organization/Contact/index.d.ts +2 -3
  44. package/dist/Organization/index.d.ts +3 -3
  45. package/dist/Rail/Address/Card.d.ts +4 -4
  46. package/dist/Rail/Address/Iban.d.ts +2 -3
  47. package/dist/Rail/Address/PaxGiro.d.ts +2 -3
  48. package/dist/Rail/Address/PaxgiroCredit.d.ts +1 -2
  49. package/dist/Rail/Address/Route.d.ts +2 -2
  50. package/dist/Rail/Address/Scan.d.ts +2 -3
  51. package/dist/Rail/Address/index.d.ts +1 -1
  52. package/dist/Rail/Address/internal.d.ts +3 -3
  53. package/dist/Realm.d.ts +2 -2
  54. package/dist/Rule/Base.d.ts +1 -1
  55. package/dist/Rule/Charge.d.ts +1 -2
  56. package/dist/Rule/Other.d.ts +1 -1
  57. package/dist/Rule/Reserve.d.ts +2 -3
  58. package/dist/Rule/Score.d.ts +1 -1
  59. package/dist/Rule/State/Authorization.d.ts +3 -3
  60. package/dist/Rule/State/Card.d.ts +3 -3
  61. package/dist/Rule/State/Partial.d.ts +3 -3
  62. package/dist/Settlement/Amount.d.ts +1 -2
  63. package/dist/Settlement/Batch.d.ts +1 -1
  64. package/dist/Settlement/Creatable.d.ts +3 -3
  65. package/dist/Settlement/Entry/Cancel.d.ts +6 -6
  66. package/dist/Settlement/Entry/Capture.d.ts +6 -6
  67. package/dist/Settlement/Entry/Creatable.d.ts +2 -2
  68. package/dist/Settlement/Entry/Refund.d.ts +6 -6
  69. package/dist/Settlement/Entry/Summary.d.ts +3 -3
  70. package/dist/Settlement/Entry/Unknown.d.ts +6 -6
  71. package/dist/Settlement/Entry/index.d.ts +2 -2
  72. package/dist/Settlement/Fee.d.ts +3 -3
  73. package/dist/Settlement/Status.d.ts +3 -3
  74. package/dist/Settlement/Total.d.ts +2 -3
  75. package/dist/Settlement/index.d.ts +3 -3
  76. package/dist/Supplier/index.d.ts +1 -1
  77. package/dist/Transaction/Creatable.d.ts +4 -4
  78. package/dist/Transaction/Incoming.d.ts +3 -3
  79. package/dist/Transaction/Note.d.ts +4 -5
  80. package/dist/Transaction/Reference.d.ts +2 -3
  81. package/dist/Transaction/Statistics.d.ts +1 -1
  82. package/dist/Transaction/index.d.ts +9 -9
  83. package/dist/Treasury/Account/Conditions.d.ts +2 -3
  84. package/dist/Treasury/Account/Fetchable.d.ts +1 -2
  85. package/dist/Treasury/Account/Storable.d.ts +1 -2
  86. package/dist/Treasury/Account/index.d.ts +1 -2
  87. package/dist/Treasury/Balance/index.d.ts +2 -2
  88. package/dist/Treasury/Snapshot/Fragment.d.ts +2 -2
  89. package/dist/Treasury/Snapshot/funding.d.ts +1 -1
  90. package/dist/Treasury/Transaction/Creatable.d.ts +1 -2
  91. package/dist/Treasury/Transaction/index.d.ts +1 -2
  92. package/dist/Warning/Base.d.ts +1 -2
  93. package/dist/Warning/Issue.d.ts +2 -3
  94. package/dist/Warning/Settlement/MissingFile.d.ts +1 -2
  95. package/dist/Warning/Settlement/NegativeAmount.d.ts +1 -2
  96. package/dist/Warning/Settlement/UnknownEntry.d.ts +1 -2
  97. package/dist/Warning/Snapshot/Counterbalance.d.ts +1 -2
  98. package/dist/Warning/Snapshot/MissingBuffer.d.ts +1 -2
  99. package/dist/Warning/Snapshot/MissingEmoney.d.ts +1 -2
  100. package/dist/Warning/Snapshot/MissingFiat.d.ts +1 -2
  101. package/dist/Warning/Snapshot/Overdraft.d.ts +1 -2
  102. package/dist/Warning/Snapshot/StaleFiat.d.ts +1 -2
  103. package/package.json +10 -10
  104. package/verifier/index.ts +2 -2
@@ -18,13 +18,13 @@ interface CardCounterpart {
18
18
  acquirer: Acquirer;
19
19
  }
20
20
  declare namespace CardCounterpart {
21
- const type: isly.object.ExtendableType<CardCounterpart>;
21
+ const type: import("isly/dist/cjs/object").IslyObject<CardCounterpart, object>;
22
22
  }
23
23
  export declare namespace Card {
24
24
  const currencies: readonly ["EUR", "GBP", "SEK", "USD"];
25
- const type: isly.object.ExtendableType<Card>;
26
- const is: isly.Type.IsFunction<Card>;
27
- const flaw: isly.Type.FlawFunction;
25
+ const type: import("isly/dist/cjs/object").IslyObject<Card, object>;
26
+ const is: (value: Card | any) => value is Card;
27
+ const flaw: (value: Card | any) => isly.Flaw;
28
28
  function from(card: ModelCard | Rule.State.Card): Card;
29
29
  const Counterpart: typeof CardCounterpart;
30
30
  type Counterpart = CardCounterpart;
@@ -1,4 +1,3 @@
1
- import { isly } from "isly";
2
1
  export interface Iban {
3
2
  type: "iban";
4
3
  iban: string;
@@ -8,6 +7,6 @@ export interface Iban {
8
7
  }
9
8
  export declare namespace Iban {
10
9
  const currencies: readonly ["EUR", "GBP", "SEK", "USD"];
11
- const type: isly.object.ExtendableType<Iban>;
12
- const is: isly.Type.IsFunction<Iban>;
10
+ const type: import("isly/dist/cjs/object").IslyObject<Iban, object>;
11
+ const is: (value: Iban | any) => value is Iban;
13
12
  }
@@ -1,11 +1,10 @@
1
1
  import { cryptly } from "cryptly";
2
- import { isly } from "isly";
3
2
  export interface PaxGiro {
4
3
  type: "paxgiro";
5
4
  identifier: cryptly.Identifier;
6
5
  }
7
6
  export declare namespace PaxGiro {
8
7
  const currencies: readonly ["EUR", "GBP", "SEK", "USD"];
9
- const type: isly.object.ExtendableType<PaxGiro>;
10
- const is: isly.Type.IsFunction<PaxGiro>;
8
+ const type: import("isly/dist/cjs/object").IslyObject<PaxGiro, object>;
9
+ const is: (value: PaxGiro | any) => value is PaxGiro;
11
10
  }
@@ -1,9 +1,8 @@
1
- import { isly } from "isly";
2
1
  export interface PaxgiroCredit {
3
2
  type: "paxgiro-credit";
4
3
  reference: string;
5
4
  justInTime?: boolean;
6
5
  }
7
6
  export declare namespace PaxgiroCredit {
8
- const type: isly.object.ExtendableType<PaxgiroCredit>;
7
+ const type: import("isly/dist/cjs/object").IslyObject<PaxgiroCredit, object>;
9
8
  }
@@ -6,7 +6,7 @@ export declare namespace Route {
6
6
  id: string;
7
7
  };
8
8
  namespace Account {
9
- const type: isly.object.ExtendableType<Account>;
9
+ const type: import("isly/dist/cjs/object").IslyObject<Account, object>;
10
10
  }
11
11
  type Service = {
12
12
  type: "service";
@@ -14,7 +14,7 @@ export declare namespace Route {
14
14
  configuration: string;
15
15
  };
16
16
  namespace Service {
17
- const type: isly.object.ExtendableType<Service>;
17
+ const type: import("isly/dist/cjs/object").IslyObject<Service, object>;
18
18
  }
19
19
  const type: isly.Type<Route>;
20
20
  function fromLegacy(route: string | Route): Route;
@@ -1,4 +1,3 @@
1
- import { isly } from "isly";
2
1
  import { Iban } from "./Iban";
3
2
  export interface Scan {
4
3
  type: "scan";
@@ -9,6 +8,6 @@ export interface Scan {
9
8
  export declare namespace Scan {
10
9
  const currencies: readonly ["GBP"];
11
10
  function fromIban(iban: Iban): Scan;
12
- const type: isly.object.ExtendableType<Scan>;
13
- const is: isly.Type.IsFunction<Scan>;
11
+ const type: import("isly/dist/cjs/object").IslyObject<Scan, object>;
12
+ const is: (value: Scan | any) => value is Scan;
14
13
  }
@@ -17,7 +17,7 @@ export declare namespace Address {
17
17
  function stringify(Address: Address): string;
18
18
  function beautify(Address: Address): string;
19
19
  const type: isly.Type<Address>;
20
- const is: isly.Type.IsFunction<Address>;
20
+ const is: (value: any | Address) => value is Address;
21
21
  export import PaxGiro = AddressPaxGiro;
22
22
  export import Iban = AddressIban;
23
23
  export import Scan = AddressScan;
@@ -10,8 +10,8 @@ export interface Internal {
10
10
  }
11
11
  export declare namespace Internal {
12
12
  const currencies: readonly ["EUR", "GBP", "SEK", "USD"];
13
- const type: isly.object.ExtendableType<Internal>;
14
- const is: isly.Type.IsFunction<Internal>;
15
- const flaw: isly.Type.FlawFunction;
13
+ const type: import("isly/dist/cjs/object").IslyObject<Internal, object>;
14
+ const is: (value: Internal | any) => value is Internal;
15
+ const flaw: (value: Internal | any) => isly.Flaw;
16
16
  function toLink(internal: Internal, realm: Realm): string;
17
17
  }
package/dist/Realm.d.ts CHANGED
@@ -5,8 +5,8 @@ export type Realm = typeof Realm.realms[number];
5
5
  export declare namespace Realm {
6
6
  const realms: readonly ["test", "testUK", "uk", "eea", "upcheck"];
7
7
  const type: isly.Type<Realm>;
8
- const is: isly.Type.IsFunction<"uk" | "test" | "testUK" | "eea" | "upcheck">;
9
- const flaw: isly.Type.FlawFunction;
8
+ const is: (value: any | ("uk" | "test" | "testUK" | "eea" | "upcheck")) => value is "uk" | "test" | "testUK" | "eea" | "upcheck";
9
+ const flaw: (value: ("uk" | "test" | "testUK" | "eea" | "upcheck") | any) => isly.Flaw;
10
10
  function toString(): string;
11
11
  const currency: Record<Realm, isoly.Currency>;
12
12
  const suppliers: Record<Realm, modelSupplier[]>;
@@ -21,5 +21,5 @@ export declare namespace Base {
21
21
  const values: readonly ["fincrime", "product", "customer"];
22
22
  const type: isly.Type<"product" | "fincrime" | "customer">;
23
23
  }
24
- const type: isly.object.ExtendableType<Base>;
24
+ const type: import("isly/dist/cjs/object").IslyObject<Base, object>;
25
25
  }
@@ -1,6 +1,5 @@
1
1
  import { isoly } from "isoly";
2
2
  import { selectively } from "selectively";
3
- import { isly } from "isly";
4
3
  import { Amount } from "../Amount";
5
4
  import { Exchange } from "../Exchange";
6
5
  import { Realm } from "../Realm";
@@ -26,7 +25,7 @@ export declare namespace Charge {
26
25
  };
27
26
  }
28
27
  namespace Api {
29
- const type: isly.object.ExtendableType<Api>;
28
+ const type: import("isly/dist/cjs/object").IslyObject<Api, Base>;
30
29
  }
31
30
  function fromApi(rule: Api, realm: Realm): Charge;
32
31
  function fromApi(rule: Api, currency: isoly.Currency): Charge;
@@ -12,7 +12,7 @@ export declare namespace Other {
12
12
  const values: readonly ["review", "reject", "flag"];
13
13
  const type: isly.Type<"reject" | "review" | "flag">;
14
14
  }
15
- const type: isly.object.ExtendableType<Other>;
15
+ const type: import("isly/dist/cjs/object").IslyObject<Other, Base>;
16
16
  function evaluate(rules: Other[], state: State, macros?: Record<string, selectively.Definition>): {
17
17
  outcomes: Record<Other.Action, Other[]>;
18
18
  notes: Note[];
@@ -1,6 +1,5 @@
1
1
  import { isoly } from "isoly";
2
2
  import { selectively } from "selectively";
3
- import { isly } from "isly";
4
3
  import { Amount } from "../Amount";
5
4
  import { Exchange } from "../Exchange";
6
5
  import { Realm } from "../Realm";
@@ -18,7 +17,7 @@ export declare namespace Reserve {
18
17
  namespace Action {
19
18
  const value = "reserve";
20
19
  }
21
- const type: isly.object.ExtendableType<Reserve>;
20
+ const type: import("isly/dist/cjs/object").IslyObject<Reserve, Base>;
22
21
  interface Api extends Base {
23
22
  action: Reserve.Action;
24
23
  reserve: {
@@ -27,7 +26,7 @@ export declare namespace Reserve {
27
26
  };
28
27
  }
29
28
  namespace Api {
30
- const type: isly.object.ExtendableType<Api>;
29
+ const type: import("isly/dist/cjs/object").IslyObject<Api, Base>;
31
30
  }
32
31
  function fromApi(rule: Api, realm: Realm): Reserve;
33
32
  function fromApi(rule: Api, currency: isoly.Currency): Reserve;
@@ -15,7 +15,7 @@ export declare namespace Score {
15
15
  }
16
16
  type Risk = number;
17
17
  const Risk: isly.Type<number>;
18
- const type: isly.object.ExtendableType<Score>;
18
+ const type: import("isly/dist/cjs/object").IslyObject<Score, Base>;
19
19
  function evaluate(rules: Score[], state: State, macros?: Record<string, selectively.Definition>): {
20
20
  outcomes: Score[];
21
21
  notes: Note[];
@@ -18,7 +18,7 @@ export declare namespace Authorization {
18
18
  function toTransaction(authorization: Authorization): Transaction.Creatable & {
19
19
  counterpart: Rail.Address.Card.Counterpart;
20
20
  };
21
- const type: isly.object.ExtendableType<Authorization>;
22
- const is: isly.Type.IsFunction<Authorization>;
23
- const flaw: isly.Type.FlawFunction;
21
+ const type: import("isly/dist/cjs/object").IslyObject<Authorization, Omit<AuthorizationCreatable, "amount">>;
22
+ const is: (value: Authorization | any) => value is Authorization;
23
+ const flaw: (value: Authorization | any) => isly.Flaw;
24
24
  }
@@ -30,7 +30,7 @@ export declare namespace Card {
30
30
  function from(card: ModelCard, statistics?: Statistics): Card;
31
31
  function check(card: Card, amount: number): TransactionStatus.Reason | undefined;
32
32
  function toAddress(card: Card): Rail.Address.Card;
33
- const type: isly.object.ExtendableType<Card>;
34
- const is: isly.Type.IsFunction<Card>;
35
- const flaw: isly.Type.FlawFunction;
33
+ const type: import("isly/dist/cjs/object").IslyObject<Card, Omit<ModelCard, "limit">>;
34
+ const is: (value: Card | any) => value is Card;
35
+ const flaw: (value: Card | any) => isly.Flaw;
36
36
  }
@@ -6,7 +6,7 @@ export interface Partial {
6
6
  card: Card;
7
7
  }
8
8
  export declare namespace Partial {
9
- const type: isly.object.ExtendableType<Partial>;
10
- const is: isly.Type.IsFunction<Partial>;
11
- const flaw: isly.Type.FlawFunction;
9
+ const type: import("isly/dist/cjs/object").IslyObject<Partial, object>;
10
+ const is: (value: Partial | any) => value is Partial;
11
+ const flaw: (value: Partial | any) => isly.Flaw;
12
12
  }
@@ -1,5 +1,4 @@
1
1
  import { isoly } from "isoly";
2
- import { isly } from "isly";
3
2
  export type Amount = {
4
3
  net: number;
5
4
  fee: {
@@ -7,6 +6,6 @@ export type Amount = {
7
6
  };
8
7
  };
9
8
  export declare namespace Amount {
10
- const type: isly.object.ExtendableType<Amount>;
9
+ const type: import("isly/dist/cjs/object").IslyObject<Amount, object>;
11
10
  function add(currency: isoly.Currency, addendee: Amount, addend: Partial<Amount>): Amount;
12
11
  }
@@ -2,5 +2,5 @@ import { isly } from "isly";
2
2
  export type Batch = string;
3
3
  export declare namespace Batch {
4
4
  const type: isly.Type<string>;
5
- const is: isly.Type.IsFunction<string>;
5
+ const is: (value: any | string) => value is string;
6
6
  }
@@ -9,7 +9,7 @@ export interface Creatable {
9
9
  batch: Batch;
10
10
  }
11
11
  export declare namespace Creatable {
12
- const type: isly.object.ExtendableType<Creatable>;
13
- const is: isly.Type.IsFunction<Creatable>;
14
- const flaw: isly.Type.FlawFunction;
12
+ const type: import("isly/dist/cjs/object").IslyObject<Creatable, object>;
13
+ const is: (value: Creatable | any) => value is Creatable;
14
+ const flaw: (value: Creatable | any) => isly.Flaw;
15
15
  }
@@ -17,11 +17,11 @@ export declare namespace Cancel {
17
17
  amount?: Amount;
18
18
  }
19
19
  namespace Creatable {
20
- const type: isly.object.ExtendableType<Creatable>;
21
- const is: isly.Type.IsFunction<Creatable>;
22
- const flaw: isly.Type.FlawFunction;
20
+ const type: import("isly/dist/cjs/object").IslyObject<Creatable, object>;
21
+ const is: (value: Creatable | any) => value is Creatable;
22
+ const flaw: (value: Creatable | any) => isly.Flaw;
23
23
  }
24
- const type: isly.object.ExtendableType<Cancel>;
25
- const is: isly.Type.IsFunction<Cancel>;
26
- const flaw: isly.Type.FlawFunction;
24
+ const type: import("isly/dist/cjs/object").IslyObject<Cancel, Creatable>;
25
+ const is: (value: Cancel | any) => value is Cancel;
26
+ const flaw: (value: Cancel | any) => isly.Flaw;
27
27
  }
@@ -18,11 +18,11 @@ export declare namespace Capture {
18
18
  amount: Amount;
19
19
  }
20
20
  namespace Creatable {
21
- const type: isly.object.ExtendableType<Creatable>;
22
- const is: isly.Type.IsFunction<Creatable>;
23
- const flaw: isly.Type.FlawFunction;
21
+ const type: import("isly/dist/cjs/object").IslyObject<Creatable, object>;
22
+ const is: (value: Creatable | any) => value is Creatable;
23
+ const flaw: (value: Creatable | any) => isly.Flaw;
24
24
  }
25
- const type: isly.object.ExtendableType<Capture>;
26
- const is: isly.Type.IsFunction<Capture>;
27
- const flaw: isly.Type.FlawFunction;
25
+ const type: import("isly/dist/cjs/object").IslyObject<Capture, Creatable>;
26
+ const is: (value: Capture | any) => value is Capture;
27
+ const flaw: (value: Capture | any) => isly.Flaw;
28
28
  }
@@ -6,6 +6,6 @@ import { Unknown as EntryUnknown } from "./Unknown";
6
6
  export type Creatable = EntryCancel.Creatable | EntryCapture.Creatable | EntryRefund.Creatable | EntryUnknown.Creatable;
7
7
  export declare namespace Creatable {
8
8
  const type: isly.Type<EntryCancel.Creatable | EntryCapture.Creatable | EntryRefund.Creatable | EntryUnknown.Creatable>;
9
- const is: isly.Type.IsFunction<EntryCancel.Creatable | EntryCapture.Creatable | EntryRefund.Creatable | EntryUnknown.Creatable>;
10
- const flaw: isly.Type.FlawFunction;
9
+ const is: (value: any | (EntryCancel.Creatable | EntryCapture.Creatable | EntryRefund.Creatable | EntryUnknown.Creatable)) => value is EntryCancel.Creatable | EntryCapture.Creatable | EntryRefund.Creatable | EntryUnknown.Creatable;
10
+ const flaw: (value: (EntryCancel.Creatable | EntryCapture.Creatable | EntryRefund.Creatable | EntryUnknown.Creatable) | any) => isly.Flaw;
11
11
  }
@@ -25,11 +25,11 @@ export declare namespace Refund {
25
25
  }
26
26
  function from(refund: Refund.Creatable, transaction: Transaction): Refund;
27
27
  namespace Creatable {
28
- const type: isly.object.ExtendableType<Creatable>;
29
- const is: isly.Type.IsFunction<Creatable>;
30
- const flaw: isly.Type.FlawFunction;
28
+ const type: import("isly/dist/cjs/object").IslyObject<Creatable, object>;
29
+ const is: (value: Creatable | any) => value is Creatable;
30
+ const flaw: (value: Creatable | any) => isly.Flaw;
31
31
  }
32
- const type: isly.object.ExtendableType<Refund>;
33
- const is: isly.Type.IsFunction<Refund>;
34
- const flaw: isly.Type.FlawFunction;
32
+ const type: import("isly/dist/cjs/object").IslyObject<Refund, Creatable>;
33
+ const is: (value: Refund | any) => value is Refund;
34
+ const flaw: (value: Refund | any) => isly.Flaw;
35
35
  }
@@ -6,7 +6,7 @@ export interface Summary {
6
6
  };
7
7
  }
8
8
  export declare namespace Summary {
9
- const type: isly.object.ExtendableType<Summary>;
10
- const is: isly.Type.IsFunction<Summary>;
11
- const flaw: isly.Type.FlawFunction;
9
+ const type: import("isly/dist/cjs/object").IslyObject<Summary, object>;
10
+ const is: (value: Summary | any) => value is Summary;
11
+ const flaw: (value: Summary | any) => isly.Flaw;
12
12
  }
@@ -13,12 +13,12 @@ export declare namespace Unknown {
13
13
  batch: Batch;
14
14
  }
15
15
  namespace Creatable {
16
- const type: isly.object.ExtendableType<Creatable>;
17
- const is: isly.Type.IsFunction<Unknown>;
18
- const flaw: isly.Type.FlawFunction;
16
+ const type: import("isly/dist/cjs/object").IslyObject<Creatable, object>;
17
+ const is: (value: Unknown | any) => value is Unknown;
18
+ const flaw: (value: Unknown | any) => isly.Flaw;
19
19
  }
20
20
  function from(creatable: Creatable): Unknown;
21
- const type: isly.object.ExtendableType<Unknown>;
22
- const is: isly.Type.IsFunction<Unknown>;
23
- const flaw: isly.Type.FlawFunction;
21
+ const type: import("isly/dist/cjs/object").IslyObject<Unknown, Creatable>;
22
+ const is: (value: Unknown | any) => value is Unknown;
23
+ const flaw: (value: Unknown | any) => isly.Flaw;
24
24
  }
@@ -36,6 +36,6 @@ export declare namespace Entry {
36
36
  const Creatable: typeof EntryCreatable;
37
37
  function from(creatable: Entry.Creatable, transaction: Transaction | gracely.Error | string): Entry;
38
38
  const type: isly.Type<Entry>;
39
- const is: isly.Type.IsFunction<Entry>;
40
- const flaw: isly.Type.FlawFunction;
39
+ const is: (value: any | Entry) => value is Entry;
40
+ const flaw: (value: Entry | any) => isly.Flaw;
41
41
  }
@@ -5,7 +5,7 @@ export interface Fee {
5
5
  }
6
6
  export declare namespace Fee {
7
7
  function add(addendee: Fee, addend: Fee): Fee;
8
- const type: isly.object.ExtendableType<Fee>;
9
- const is: isly.Type.IsFunction<Fee>;
10
- const flaw: isly.Type.FlawFunction;
8
+ const type: import("isly/dist/cjs/object").IslyObject<Fee, object>;
9
+ const is: (value: Fee | any) => value is Fee;
10
+ const flaw: (value: Fee | any) => isly.Flaw;
11
11
  }
@@ -6,7 +6,7 @@ export interface Status {
6
6
  export declare namespace Status {
7
7
  const values: readonly ["pending", "failed", "partial", "done"];
8
8
  type Values = typeof values[number];
9
- const type: isly.object.ExtendableType<Status>;
10
- const is: isly.Type.IsFunction<Status>;
11
- const flaw: isly.Type.FlawFunction;
9
+ const type: import("isly/dist/cjs/object").IslyObject<Status, object>;
10
+ const is: (value: Status | any) => value is Status;
11
+ const flaw: (value: Status | any) => isly.Flaw;
12
12
  }
@@ -1,5 +1,4 @@
1
1
  import { isoly } from "isoly";
2
- import { isly } from "isly";
3
2
  import { Amount } from "./Amount";
4
3
  export interface Total {
5
4
  expected: Amount;
@@ -18,8 +17,8 @@ export declare namespace Total {
18
17
  net: number;
19
18
  transactions: string[];
20
19
  };
21
- const Settled: isly.object.ExtendableType<Settled>;
22
- const type: isly.object.ExtendableType<Total>;
20
+ const Settled: import("isly/dist/cjs/object").IslyObject<Settled, object>;
21
+ const type: import("isly/dist/cjs/object").IslyObject<Total, object>;
23
22
  function create(): Total;
24
23
  function verify(total: Total, type: "outcome" | "settled"): boolean;
25
24
  function add(currency: isoly.Currency, addendee: Total, addend: Partial<Total>): Total;
@@ -46,8 +46,8 @@ export declare namespace Settlement {
46
46
  };
47
47
  export type MaybeOld = Settlement | OldSettlement;
48
48
  export function fromLegacy(settlement: MaybeOld): Settlement;
49
- export const type: isly.object.ExtendableType<Settlement>;
50
- export const is: isly.Type.IsFunction<Settlement>;
51
- export const flaw: isly.Type.FlawFunction;
49
+ export const type: import("isly/dist/cjs/object").IslyObject<Settlement, Creatable>;
50
+ export const is: (value: Settlement | any) => value is Settlement;
51
+ export const flaw: (value: Settlement | any) => isly.Flaw;
52
52
  export {};
53
53
  }
@@ -3,5 +3,5 @@ export type Supplier = typeof Supplier.names[number];
3
3
  export declare namespace Supplier {
4
4
  const names: readonly ["paxgiro", "clearbank", "paxgiroCredit"];
5
5
  const type: isly.Type<"paxgiro" | "clearbank" | "paxgiroCredit">;
6
- const is: isly.Type.IsFunction<"paxgiro" | "clearbank" | "paxgiroCredit">;
6
+ const is: (value: any | ("paxgiro" | "clearbank" | "paxgiroCredit")) => value is "paxgiro" | "clearbank" | "paxgiroCredit";
7
7
  }
@@ -11,8 +11,8 @@ export declare namespace Creatable {
11
11
  type Resolved = Creatable & {
12
12
  counterpart: Rail.Address;
13
13
  };
14
- const type: isly.object.ExtendableType<Creatable>;
15
- const is: isly.Type.IsFunction<Creatable>;
16
- const flaw: isly.Type.FlawFunction;
17
- const get: isly.Type.GetFunction<Creatable>;
14
+ const type: import("isly/dist/cjs/object").IslyObject<Creatable, object>;
15
+ const is: (value: Creatable | any) => value is Creatable;
16
+ const flaw: (value: Creatable | any) => isly.Flaw;
17
+ const get: (value: any) => Creatable | undefined;
18
18
  }
@@ -14,8 +14,8 @@ export interface Incoming {
14
14
  reference?: TransactionReference;
15
15
  }
16
16
  export declare namespace Incoming {
17
- const type: isly.object.ExtendableType<Incoming>;
18
- const is: isly.Type.IsFunction<Incoming>;
19
- const flaw: isly.Type.FlawFunction;
17
+ const type: import("isly/dist/cjs/object").IslyObject<Incoming, object>;
18
+ const is: (value: Incoming | any) => value is Incoming;
19
+ const flaw: (value: Incoming | any) => isly.Flaw;
20
20
  function fromRefund(entry: Settlement.Entry.Refund.Creatable, card: Rail.Address.Card): Incoming;
21
21
  }
@@ -1,5 +1,4 @@
1
1
  import { isoly } from "isoly";
2
- import { isly } from "isly";
3
2
  import type { Rule } from "../Rule";
4
3
  export interface Note extends Note.Creatable {
5
4
  author: string;
@@ -14,9 +13,9 @@ export declare namespace Note {
14
13
  rule?: Rule;
15
14
  }
16
15
  namespace Creatable {
17
- const type: isly.object.ExtendableType<Creatable>;
18
- const is: isly.Type.IsFunction<Creatable>;
16
+ const type: import("isly/dist/cjs/object").IslyObject<Creatable, object>;
17
+ const is: (value: Creatable | any) => value is Creatable;
19
18
  }
20
- const type: isly.object.ExtendableType<Note>;
21
- const is: isly.Type.IsFunction<Note>;
19
+ const type: import("isly/dist/cjs/object").IslyObject<Note, Creatable>;
20
+ const is: (value: Note | any) => value is Note;
22
21
  }
@@ -1,4 +1,3 @@
1
- import { isly } from "isly";
2
1
  import { Supplier } from "../Supplier";
3
2
  export interface Reference {
4
3
  supplier?: Supplier;
@@ -7,6 +6,6 @@ export interface Reference {
7
6
  endToEndId?: string;
8
7
  }
9
8
  export declare namespace Reference {
10
- const type: isly.object.ExtendableType<Reference>;
11
- const is: isly.Type.IsFunction<Reference>;
9
+ const type: import("isly/dist/cjs/object").IslyObject<Reference, object>;
10
+ const is: (value: Reference | any) => value is Reference;
12
11
  }
@@ -26,7 +26,7 @@ export declare namespace Statistics {
26
26
  extraRegion: any;
27
27
  }>;
28
28
  }
29
- const type: isly.object.ExtendableType<Transaction.Statistics>;
29
+ const type: import("isly/dist/cjs/object").IslyObject<Transaction.Statistics, object>;
30
30
  function append(statistics: Statistics, transaction: Transaction, domestic: isoly.CountryCode.Alpha2[], intraRegion: isoly.CountryCode.Alpha2[], currency: isoly.Currency): Statistics;
31
31
  function combine(accumulation: Statistics, incoming: Statistics, currency: isoly.Currency): Statistics;
32
32
  }
@@ -53,7 +53,7 @@ export declare namespace Transaction {
53
53
  total: number;
54
54
  };
55
55
  namespace Amount {
56
- const type: isly.object.ExtendableType<Amount>;
56
+ const type: import("isly/dist/cjs/object").IslyObject<Amount, object>;
57
57
  function fromState(state: Rule.State): Amount;
58
58
  function fromOperations(transaction: Transaction | Transaction.Creatable, operations: Operation[], state?: Rule.State): Amount;
59
59
  function change(currency: isoly.Currency, amount: Amount, change: number, type: Exclude<keyof Amount, "total">): Amount;
@@ -68,23 +68,23 @@ export declare namespace Transaction {
68
68
  export import Note = TransactionNote;
69
69
  export import Status = TransactionStatus;
70
70
  export import Statistics = TransactionStatistics;
71
- const type: isly.object.ExtendableType<Transaction>;
72
- const is: isly.Type.IsFunction<Transaction>;
73
- const flaw: isly.Type.FlawFunction;
74
- const get: isly.Type.GetFunction<Transaction>;
71
+ const type: import("isly/dist/cjs/object").IslyObject<Transaction, object>;
72
+ const is: (value: Transaction | any) => value is Transaction;
73
+ const flaw: (value: Transaction | any) => isly.Flaw;
74
+ const get: (value: any) => Transaction | undefined;
75
75
  interface Legacy extends Omit<Transaction, "amount"> {
76
76
  amount: number;
77
77
  }
78
78
  namespace Legacy {
79
- const type: isly.object.ExtendableType<Legacy>;
79
+ const type: import("isly/dist/cjs/object").IslyObject<Legacy, Omit<Transaction, "amount">>;
80
80
  }
81
81
  function fromLegacy(transaction: Transaction | Legacy): Transaction;
82
82
  function toLegacy(transaction: Transaction | Legacy): Legacy;
83
83
  type Event = Omit<Transaction, "state">;
84
84
  namespace Event {
85
- const type: isly.object.ExtendableType<Omit<Transaction, "state">>;
86
- const is: isly.Type.IsFunction<Omit<Transaction, "state">>;
87
- const get: isly.Type.GetFunction<Omit<Transaction, "state">>;
85
+ const type: import("isly/dist/cjs/object").IslyObject<Omit<Transaction, "state">, object>;
86
+ const is: (value: Omit<Transaction, "state"> | any) => value is Omit<Transaction, "state">;
87
+ const get: (value: any) => Omit<Transaction, "state"> | undefined;
88
88
  function from(transaction: Transaction): Event;
89
89
  }
90
90
  function fromCreatable(creatable: Creatable.Resolved, id: string, state: Rule.State.Evaluated, account: {
@@ -1,9 +1,8 @@
1
- import { isly } from "isly";
2
1
  import { Amounts } from "../../Amounts";
3
2
  export interface Conditions {
4
3
  minimum?: Amounts;
5
4
  }
6
5
  export declare namespace Conditions {
7
- const type: isly.object.ExtendableType<Conditions>;
8
- const is: isly.Type.IsFunction<Conditions>;
6
+ const type: import("isly/dist/cjs/object").IslyObject<Conditions, object>;
7
+ const is: (value: Conditions | any) => value is Conditions;
9
8
  }
@@ -1,5 +1,4 @@
1
1
  import { isoly } from "isoly";
2
- import { isly } from "isly";
3
2
  import { Rail } from "../../Rail";
4
3
  import { Supplier } from "../../Supplier";
5
4
  import { Balance } from "../Balance";
@@ -14,5 +13,5 @@ export interface Fetchable {
14
13
  balance: Balance;
15
14
  }
16
15
  export declare namespace Fetchable {
17
- const type: isly.object.ExtendableType<Fetchable>;
16
+ const type: import("isly/dist/cjs/object").IslyObject<Fetchable, object>;
18
17
  }
@@ -1,5 +1,4 @@
1
1
  import { isoly } from "isoly";
2
- import { isly } from "isly";
3
2
  import { Realm } from "../../Realm";
4
3
  import { Supplier } from "../../Supplier";
5
4
  import { Category } from "./Category";
@@ -14,5 +13,5 @@ export interface Storable {
14
13
  conditions?: Conditions;
15
14
  }
16
15
  export declare namespace Storable {
17
- const type: isly.object.ExtendableType<Storable>;
16
+ const type: import("isly/dist/cjs/object").IslyObject<Storable, object>;
18
17
  }
@@ -1,5 +1,4 @@
1
1
  import { isoly } from "isoly";
2
- import { isly } from "isly";
3
2
  import { Rail } from "../../Rail";
4
3
  import { Realm } from "../../Realm";
5
4
  import { Supplier } from "../../Supplier";
@@ -25,7 +24,7 @@ export interface Account {
25
24
  balance: Balance;
26
25
  }
27
26
  export declare namespace Account {
28
- const type: isly.object.ExtendableType<Account>;
27
+ const type: import("isly/dist/cjs/object").IslyObject<Account, object>;
29
28
  type Listable = Account & {
30
29
  transactions: Transaction[];
31
30
  };