@pax2pay/model-banking 0.1.83 → 0.1.85

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,16 @@
1
+ import { isly } from "isly"
2
+ import { Contact } from "./Contact"
3
+
4
+ export interface Changeable {
5
+ name?: string
6
+ contact?: Contact
7
+ }
8
+
9
+ export namespace Changeable {
10
+ export const type = isly.object<Changeable>({
11
+ name: isly.string().optional(),
12
+ contact: Contact.type.optional(),
13
+ })
14
+ export const is = type.is
15
+ export const flaw = type.flaw
16
+ }
@@ -1,4 +1,6 @@
1
1
  import * as cryptly from "cryptly"
2
+ import { Changeable as OrganizationChangeable } from "./Changeable"
3
+ import { Contact as OrganizationContact } from "./Contact"
2
4
  import { Creatable as OrganizationCreatable } from "./Creatable"
3
5
  import { Rule as OrganizationRule } from "./Rule"
4
6
 
@@ -19,6 +21,10 @@ export namespace Organization {
19
21
 
20
22
  export type Creatable = OrganizationCreatable
21
23
  export const Creatable = OrganizationCreatable
24
+ export type Changeable = OrganizationChangeable
25
+ export const Changeable = OrganizationChangeable
26
+ export type Contact = OrganizationContact
27
+ export const Contact = OrganizationContact
22
28
  export type Rule = OrganizationRule
23
29
  export const Rule = OrganizationRule
24
30
  export namespace Rule {
@@ -0,0 +1,11 @@
1
+ import { isly } from "isly";
2
+ import { Contact } from "./Contact";
3
+ export interface Changeable {
4
+ name?: string;
5
+ contact?: Contact;
6
+ }
7
+ export declare namespace Changeable {
8
+ const type: isly.object.ExtendableType<Changeable>;
9
+ const is: isly.Type.IsFunction<Changeable>;
10
+ const flaw: isly.Type.FlawFunction;
11
+ }
@@ -0,0 +1,12 @@
1
+ import { isly } from "isly";
2
+ import { Contact } from "./Contact";
3
+ export var Changeable;
4
+ (function (Changeable) {
5
+ Changeable.type = isly.object({
6
+ name: isly.string().optional(),
7
+ contact: Contact.type.optional(),
8
+ });
9
+ Changeable.is = Changeable.type.is;
10
+ Changeable.flaw = Changeable.type.flaw;
11
+ })(Changeable || (Changeable = {}));
12
+ //# sourceMappingURL=Changeable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Changeable.js","sourceRoot":"../","sources":["Organization/Changeable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAOnC,MAAM,KAAW,UAAU,CAO1B;AAPD,WAAiB,UAAU;IACb,eAAI,GAAG,IAAI,CAAC,MAAM,CAAa;QAC3C,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC9B,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE;KAChC,CAAC,CAAA;IACW,aAAE,GAAG,WAAA,IAAI,CAAC,EAAE,CAAA;IACZ,eAAI,GAAG,WAAA,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC,EAPgB,UAAU,KAAV,UAAU,QAO1B"}
@@ -1,4 +1,6 @@
1
1
  import * as cryptly from "cryptly";
2
+ import { Changeable as OrganizationChangeable } from "./Changeable";
3
+ import { Contact as OrganizationContact } from "./Contact";
2
4
  import { Creatable as OrganizationCreatable } from "./Creatable";
3
5
  import { Rule as OrganizationRule } from "./Rule";
4
6
  export interface Organization extends OrganizationCreatable {
@@ -10,6 +12,10 @@ export declare namespace Organization {
10
12
  function isIdentifier(value: cryptly.Identifier | any): value is cryptly.Identifier;
11
13
  type Creatable = OrganizationCreatable;
12
14
  const Creatable: typeof OrganizationCreatable;
15
+ type Changeable = OrganizationChangeable;
16
+ const Changeable: typeof OrganizationChangeable;
17
+ type Contact = OrganizationContact;
18
+ const Contact: typeof OrganizationContact;
13
19
  type Rule = OrganizationRule;
14
20
  const Rule: typeof OrganizationRule;
15
21
  namespace Rule {
@@ -1,4 +1,6 @@
1
1
  import * as cryptly from "cryptly";
2
+ import { Changeable as OrganizationChangeable } from "./Changeable";
3
+ import { Contact as OrganizationContact } from "./Contact";
2
4
  import { Creatable as OrganizationCreatable } from "./Creatable";
3
5
  import { Rule as OrganizationRule } from "./Rule";
4
6
  export var Organization;
@@ -16,6 +18,8 @@ export var Organization;
16
18
  }
17
19
  Organization.isIdentifier = isIdentifier;
18
20
  Organization.Creatable = OrganizationCreatable;
21
+ Organization.Changeable = OrganizationChangeable;
22
+ Organization.Contact = OrganizationContact;
19
23
  Organization.Rule = OrganizationRule;
20
24
  })(Organization || (Organization = {}));
21
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../","sources":["Organization/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,SAAS,IAAI,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAChE,OAAO,EAAE,IAAI,IAAI,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAMjD,MAAM,KAAW,YAAY,CAkB5B;AAlBD,WAAiB,YAAY;IAC5B,SAAgB,EAAE,CAAC,KAAyB;QAC3C,OAAO,KAAK,IAAI,qBAAqB,CAAC,EAAE,CAAC,EAAE,GAAG,KAAK,EAAE,CAAC,IAAI,OAAO,KAAK,CAAC,EAAE,IAAI,QAAQ,CAAA;IACtF,CAAC;IAFe,eAAE,KAEjB,CAAA;IACD,SAAgB,aAAa,CAAC,YAAuB;QACpD,OAAO,EAAE,GAAG,YAAY,EAAE,EAAE,EAAE,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAA;IAC/D,CAAC;IAFe,0BAAa,gBAE5B,CAAA;IACD,SAAgB,YAAY,CAAC,KAA+B;QAC3D,OAAO,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;IACvC,CAAC;IAFe,yBAAY,eAE3B,CAAA;IAGY,sBAAS,GAAG,qBAAqB,CAAA;IAEjC,iBAAI,GAAG,gBAAgB,CAAA;AAIrC,CAAC,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ay/model-banking",
3
- "version": "0.1.83",
3
+ "version": "0.1.85",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",