@pax2pay/client 0.3.32 → 0.3.34

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 @@
1
+ export declare type BalanceType = "ACTUAL" | "AVAILABLE" | "STANDARD";
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BalanceType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BalanceType.js","sourceRoot":"../","sources":["model/Report/BalanceType.ts"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
+ import { BalanceType as ReportBalanceType } from "./BalanceType";
1
2
  import { Reconciliation as ReportReconciliation } from "./Reconciliation";
2
3
  import { ReconciliationItem as ReportReconciliationItem } from "./ReconciliationItem";
3
4
  import { Statement as ReportStatement } from "./Statement";
@@ -16,4 +17,5 @@ export declare namespace Report {
16
17
  type StatementType = ReportStatementType;
17
18
  type ItemStatus = ReportItemStatus;
18
19
  type TransactionType = ReportTransactionType;
20
+ type BalanceType = ReportBalanceType;
19
21
  }
@@ -1,5 +1,6 @@
1
1
  import * as isoly from "isoly";
2
2
  import { ProviderCode } from "./ProviderCode";
3
+ import { BalanceType } from "./Report/BalanceType";
3
4
  export interface StatementReportRequest {
4
5
  providerCode: ProviderCode;
5
6
  providerAccountId: string;
@@ -7,7 +8,7 @@ export interface StatementReportRequest {
7
8
  start: isoly.DateTime;
8
9
  end: isoly.DateTime;
9
10
  };
10
- balanceType?: "AVAILABLE" | "ACTUAL" | "STANDARD";
11
+ balanceType?: BalanceType;
11
12
  type?: "summary" | "full";
12
13
  subType?: "SETTLED" | "PENDING";
13
14
  }
@@ -1,12 +1,14 @@
1
1
  import * as isoly from "isoly";
2
2
  import { ProviderCode } from "./ProviderCode";
3
+ import { BalanceType } from "./Report/BalanceType";
3
4
  export interface StatementSummaryReportRequest {
4
5
  providerCode: ProviderCode;
5
6
  providerAccountId: string;
6
- balanceType: "ACTUAL" | "AVAILABLE" | "STANDARD";
7
+ balanceType?: BalanceType;
7
8
  dateRange?: {
8
9
  start?: isoly.Date;
9
10
  end?: isoly.Date;
10
11
  };
12
+ subType?: "SETTLED" | "PENDING";
11
13
  period: "DAILY" | "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
12
14
  }
@@ -0,0 +1 @@
1
+ export type BalanceType = "ACTUAL" | "AVAILABLE" | "STANDARD"
@@ -1,3 +1,4 @@
1
+ import { BalanceType as ReportBalanceType } from "./BalanceType"
1
2
  import { Reconciliation as ReportReconciliation } from "./Reconciliation"
2
3
  import { ReconciliationItem as ReportReconciliationItem } from "./ReconciliationItem"
3
4
  import { Statement as ReportStatement } from "./Statement"
@@ -17,4 +18,5 @@ export namespace Report {
17
18
  export type StatementType = ReportStatementType
18
19
  export type ItemStatus = ReportItemStatus
19
20
  export type TransactionType = ReportTransactionType
21
+ export type BalanceType = ReportBalanceType
20
22
  }
@@ -1,6 +1,6 @@
1
1
  import * as isoly from "isoly"
2
2
  import { ProviderCode } from "./ProviderCode"
3
-
3
+ import { BalanceType } from "./Report/BalanceType"
4
4
  export interface StatementReportRequest {
5
5
  providerCode: ProviderCode
6
6
  providerAccountId: string
@@ -8,7 +8,7 @@ export interface StatementReportRequest {
8
8
  start: isoly.DateTime
9
9
  end: isoly.DateTime
10
10
  }
11
- balanceType?: "AVAILABLE" | "ACTUAL" | "STANDARD"
11
+ balanceType?: BalanceType
12
12
  type?: "summary" | "full"
13
13
  subType?: "SETTLED" | "PENDING"
14
14
  }
@@ -1,12 +1,15 @@
1
1
  import * as isoly from "isoly"
2
2
  import { ProviderCode } from "./ProviderCode"
3
+ import { BalanceType } from "./Report/BalanceType"
4
+
3
5
  export interface StatementSummaryReportRequest {
4
6
  providerCode: ProviderCode
5
7
  providerAccountId: string
6
- balanceType: "ACTUAL" | "AVAILABLE" | "STANDARD"
8
+ balanceType?: BalanceType
7
9
  dateRange?: {
8
10
  start?: isoly.Date
9
11
  end?: isoly.Date
10
12
  }
13
+ subType?: "SETTLED" | "PENDING"
11
14
  period: "DAILY" | "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY"
12
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/client",
3
- "version": "0.3.32",
3
+ "version": "0.3.34",
4
4
  "description": "Client library for the Pax2Pay API",
5
5
  "author": "Pax2Pay Ltd.",
6
6
  "license": "MIT",