@pax2pay/model-banking 0.1.391 → 0.1.392
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.
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { isoly } from "isoly"
|
|
2
2
|
import { isly } from "isly"
|
|
3
|
-
import { Stack } from "../../Card/Stack"
|
|
4
|
-
import { Batch } from "../../Settlement/Batch"
|
|
5
3
|
import { Identifier } from "../../Settlement/Identifier"
|
|
6
4
|
import { Totals } from "../../Settlement/Totals"
|
|
7
5
|
import { Base } from "../Base"
|
|
@@ -9,6 +7,7 @@ import { Base } from "../Base"
|
|
|
9
7
|
export interface MissingFile extends Base {
|
|
10
8
|
type: "missing-file"
|
|
11
9
|
resource: Identifier
|
|
10
|
+
cycle?: string
|
|
12
11
|
totals?: Totals
|
|
13
12
|
}
|
|
14
13
|
|
|
@@ -16,13 +15,15 @@ export namespace MissingFile {
|
|
|
16
15
|
export const type = Base.type.extend<MissingFile>({
|
|
17
16
|
type: isly.string("missing-file"),
|
|
18
17
|
resource: Identifier.type,
|
|
18
|
+
cycle: isly.string().optional(),
|
|
19
19
|
totals: Totals.type.optional(),
|
|
20
20
|
})
|
|
21
|
-
export function create(
|
|
21
|
+
export function create(id: string, cycle: string, date: isoly.Date): MissingFile {
|
|
22
22
|
return {
|
|
23
23
|
type: "missing-file",
|
|
24
|
-
resource:
|
|
25
|
-
|
|
24
|
+
resource: id,
|
|
25
|
+
cycle,
|
|
26
|
+
date,
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
}
|
package/dist/Rail/index.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ import { Address as RailAddress } from "./Address";
|
|
|
3
3
|
export type Rail = typeof Rail.rails[number];
|
|
4
4
|
export declare namespace Rail {
|
|
5
5
|
const rails: readonly ["internal", "paxgiro", "paxgiro-credit", "mastercard", "diners", "fasterpayments", "chaps", "bacs", "transfer", "credit"];
|
|
6
|
-
const type: isly.Type<"paxgiro" | "internal" | "
|
|
6
|
+
const type: isly.Type<"paxgiro" | "internal" | "paxgiro-credit" | "mastercard" | "diners" | "fasterpayments" | "chaps" | "bacs" | "transfer" | "credit">;
|
|
7
7
|
export import Address = RailAddress;
|
|
8
8
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { isoly } from "isoly";
|
|
2
2
|
import { isly } from "isly";
|
|
3
|
-
import { Stack } from "../../Card/Stack";
|
|
4
3
|
import { Identifier } from "../../Settlement/Identifier";
|
|
5
4
|
import { Totals } from "../../Settlement/Totals";
|
|
6
5
|
import { Base } from "../Base";
|
|
7
6
|
export interface MissingFile extends Base {
|
|
8
7
|
type: "missing-file";
|
|
9
8
|
resource: Identifier;
|
|
9
|
+
cycle?: string;
|
|
10
10
|
totals?: Totals;
|
|
11
11
|
}
|
|
12
12
|
export declare namespace MissingFile {
|
|
13
13
|
const type: isly.object.ExtendableType<MissingFile>;
|
|
14
|
-
function create(
|
|
14
|
+
function create(id: string, cycle: string, date: isoly.Date): MissingFile;
|
|
15
15
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { isoly } from "isoly";
|
|
2
1
|
import { isly } from "isly";
|
|
3
2
|
import { Identifier } from "../../Settlement/Identifier";
|
|
4
3
|
import { Totals } from "../../Settlement/Totals";
|
|
@@ -8,13 +7,15 @@ export var MissingFile;
|
|
|
8
7
|
MissingFile.type = Base.type.extend({
|
|
9
8
|
type: isly.string("missing-file"),
|
|
10
9
|
resource: Identifier.type,
|
|
10
|
+
cycle: isly.string().optional(),
|
|
11
11
|
totals: Totals.type.optional(),
|
|
12
12
|
});
|
|
13
|
-
function create(
|
|
13
|
+
function create(id, cycle, date) {
|
|
14
14
|
return {
|
|
15
15
|
type: "missing-file",
|
|
16
|
-
resource:
|
|
17
|
-
|
|
16
|
+
resource: id,
|
|
17
|
+
cycle,
|
|
18
|
+
date,
|
|
18
19
|
};
|
|
19
20
|
}
|
|
20
21
|
MissingFile.create = create;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MissingFile.js","sourceRoot":"../","sources":["Warning/Settlement/MissingFile.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MissingFile.js","sourceRoot":"../","sources":["Warning/Settlement/MissingFile.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAS9B,MAAM,KAAW,WAAW,CAe3B;AAfD,WAAiB,WAAW;IACd,gBAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAc;QACjD,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC;QACjC,QAAQ,EAAE,UAAU,CAAC,IAAI;QACzB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC/B,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE;KAC9B,CAAC,CAAA;IACF,SAAgB,MAAM,CAAC,EAAU,EAAE,KAAa,EAAE,IAAgB;QACjE,OAAO;YACN,IAAI,EAAE,cAAc;YACpB,QAAQ,EAAE,EAAE;YACZ,KAAK;YACL,IAAI;SACJ,CAAA;IACF,CAAC;IAPe,kBAAM,SAOrB,CAAA;AACF,CAAC,EAfgB,WAAW,KAAX,WAAW,QAe3B"}
|