@pax2pay/model-banking 0.1.83 → 0.1.84

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,5 @@
1
1
  import * as cryptly from "cryptly"
2
+ import { Changeable as OrganizationChangeable } from "./Changeable"
2
3
  import { Creatable as OrganizationCreatable } from "./Creatable"
3
4
  import { Rule as OrganizationRule } from "./Rule"
4
5
 
@@ -19,6 +20,8 @@ export namespace Organization {
19
20
 
20
21
  export type Creatable = OrganizationCreatable
21
22
  export const Creatable = OrganizationCreatable
23
+ export type Changeable = OrganizationChangeable
24
+ export const Changeable = OrganizationChangeable
22
25
  export type Rule = OrganizationRule
23
26
  export const Rule = OrganizationRule
24
27
  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,5 @@
1
1
  import * as cryptly from "cryptly";
2
+ import { Changeable as OrganizationChangeable } from "./Changeable";
2
3
  import { Creatable as OrganizationCreatable } from "./Creatable";
3
4
  import { Rule as OrganizationRule } from "./Rule";
4
5
  export interface Organization extends OrganizationCreatable {
@@ -10,6 +11,8 @@ export declare namespace Organization {
10
11
  function isIdentifier(value: cryptly.Identifier | any): value is cryptly.Identifier;
11
12
  type Creatable = OrganizationCreatable;
12
13
  const Creatable: typeof OrganizationCreatable;
14
+ type Changeable = OrganizationChangeable;
15
+ const Changeable: typeof OrganizationChangeable;
13
16
  type Rule = OrganizationRule;
14
17
  const Rule: typeof OrganizationRule;
15
18
  namespace Rule {
@@ -1,4 +1,5 @@
1
1
  import * as cryptly from "cryptly";
2
+ import { Changeable as OrganizationChangeable } from "./Changeable";
2
3
  import { Creatable as OrganizationCreatable } from "./Creatable";
3
4
  import { Rule as OrganizationRule } from "./Rule";
4
5
  export var Organization;
@@ -16,6 +17,7 @@ export var Organization;
16
17
  }
17
18
  Organization.isIdentifier = isIdentifier;
18
19
  Organization.Creatable = OrganizationCreatable;
20
+ Organization.Changeable = OrganizationChangeable;
19
21
  Organization.Rule = OrganizationRule;
20
22
  })(Organization || (Organization = {}));
21
23
  //# 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,EAlBgB,YAAY,KAAZ,YAAY,QAkB5B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"../","sources":["Organization/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,UAAU,IAAI,sBAAsB,EAAE,MAAM,cAAc,CAAA;AACnE,OAAO,EAAE,SAAS,IAAI,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAChE,OAAO,EAAE,IAAI,IAAI,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAMjD,MAAM,KAAW,YAAY,CAoB5B;AApBD,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,uBAAU,GAAG,sBAAsB,CAAA;IAEnC,iBAAI,GAAG,gBAAgB,CAAA;AAIrC,CAAC,EApBgB,YAAY,KAAZ,YAAY,QAoB5B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.1.83",
3
+ "version": "0.1.84",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",