@pax2pay/client 0.9.5 → 0.9.6

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,5 +1,5 @@
1
- import { DestinationType } from "../DestinationType";
2
1
  import { DownloadFileFormat } from "../DownloadFileFormat";
2
+ import { ReportFileDestination } from "./ReportFileDestination";
3
3
  import { ReportSubscriptionFrequencyRequest } from "./ReportSubscriptionFrequencyRequest";
4
4
  import { ReportType } from "./ReportType";
5
5
  export interface ReportSubscriptionRequest {
@@ -8,7 +8,7 @@ export interface ReportSubscriptionRequest {
8
8
  fileFormat: DownloadFileFormat;
9
9
  request?: Record<string, any>;
10
10
  frequency: ReportSubscriptionFrequencyRequest;
11
- destination: DestinationType;
11
+ destination: ReportFileDestination;
12
12
  }
13
13
  export declare namespace ReportSubscriptionRequest {
14
14
  const type: import("isly/dist/cjs/object").IslyObject<ReportSubscriptionRequest, object>;
@@ -1,6 +1,6 @@
1
1
  import { isly } from "isly";
2
- import { DestinationType } from "../DestinationType";
3
2
  import { DownloadFileFormat } from "../DownloadFileFormat";
3
+ import { ReportFileDestination } from "./ReportFileDestination";
4
4
  import { ReportSubscriptionFrequencyRequest } from "./ReportSubscriptionFrequencyRequest";
5
5
  import { ReportType } from "./ReportType";
6
6
  export var ReportSubscriptionRequest;
@@ -11,7 +11,7 @@ export var ReportSubscriptionRequest;
11
11
  fileFormat: DownloadFileFormat.type,
12
12
  request: isly.record(isly.string(), isly.any()).optional(),
13
13
  frequency: isly.fromIs("ReportSubscriptionFrequencyRequest", ReportSubscriptionFrequencyRequest.is),
14
- destination: DestinationType.type,
14
+ destination: isly.fromIs("ReportFileDestination", ReportFileDestination.is),
15
15
  });
16
16
  ReportSubscriptionRequest.is = ReportSubscriptionRequest.type.is;
17
17
  })(ReportSubscriptionRequest || (ReportSubscriptionRequest = {}));
@@ -1 +1 @@
1
- {"version":3,"file":"ReportSubscriptionRequest.js","sourceRoot":"../","sources":["model/Report/ReportSubscriptionRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAC1D,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAA;AACzF,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AASzC,MAAM,KAAW,yBAAyB,CAUzC;AAVD,WAAiB,yBAAyB;IAC5B,8BAAI,GAAG,IAAI,CAAC,MAAM,CAA4B;QAC1D,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC9B,UAAU,EAAE,UAAU,CAAC,IAAI;QAC3B,UAAU,EAAE,kBAAkB,CAAC,IAAI;QACnC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC1D,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,oCAAoC,EAAE,kCAAkC,CAAC,EAAE,CAAC;QACnG,WAAW,EAAE,eAAe,CAAC,IAAI;KACjC,CAAC,CAAA;IACW,4BAAE,GAAG,0BAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAVgB,yBAAyB,KAAzB,yBAAyB,QAUzC"}
1
+ {"version":3,"file":"ReportSubscriptionRequest.js","sourceRoot":"../","sources":["model/Report/ReportSubscriptionRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAA;AACzF,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AASzC,MAAM,KAAW,yBAAyB,CAUzC;AAVD,WAAiB,yBAAyB;IAC5B,8BAAI,GAAG,IAAI,CAAC,MAAM,CAA4B;QAC1D,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC9B,UAAU,EAAE,UAAU,CAAC,IAAI;QAC3B,UAAU,EAAE,kBAAkB,CAAC,IAAI;QACnC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC1D,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,oCAAoC,EAAE,kCAAkC,CAAC,EAAE,CAAC;QACnG,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,uBAAuB,EAAE,qBAAqB,CAAC,EAAE,CAAC;KAC3E,CAAC,CAAA;IACW,4BAAE,GAAG,0BAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAVgB,yBAAyB,KAAzB,yBAAyB,QAUzC"}
@@ -4,7 +4,7 @@ export interface SftpReportFileDestination {
4
4
  port?: number;
5
5
  password?: string;
6
6
  privateKey?: string;
7
- fingerPrint?: string;
7
+ fingerprint?: string;
8
8
  path: string;
9
9
  }
10
10
  export declare namespace SftpReportFileDestination {
@@ -7,7 +7,7 @@ export var SftpReportFileDestination;
7
7
  port: isly.number("integer").optional(),
8
8
  password: isly.string().optional(),
9
9
  privateKey: isly.string().optional(),
10
- fingerPrint: isly.string().optional(),
10
+ fingerprint: isly.string().optional(),
11
11
  path: isly.string(),
12
12
  });
13
13
  SftpReportFileDestination.is = SftpReportFileDestination.type.is;
@@ -1,6 +1,6 @@
1
1
  import { isly } from "isly"
2
- import { DestinationType } from "../DestinationType"
3
2
  import { DownloadFileFormat } from "../DownloadFileFormat"
3
+ import { ReportFileDestination } from "./ReportFileDestination"
4
4
  import { ReportSubscriptionFrequencyRequest } from "./ReportSubscriptionFrequencyRequest"
5
5
  import { ReportType } from "./ReportType"
6
6
  export interface ReportSubscriptionRequest {
@@ -9,7 +9,7 @@ export interface ReportSubscriptionRequest {
9
9
  fileFormat: DownloadFileFormat
10
10
  request?: Record<string, any>
11
11
  frequency: ReportSubscriptionFrequencyRequest
12
- destination: DestinationType
12
+ destination: ReportFileDestination
13
13
  }
14
14
  export namespace ReportSubscriptionRequest {
15
15
  export const type = isly.object<ReportSubscriptionRequest>({
@@ -18,7 +18,7 @@ export namespace ReportSubscriptionRequest {
18
18
  fileFormat: DownloadFileFormat.type,
19
19
  request: isly.record(isly.string(), isly.any()).optional(),
20
20
  frequency: isly.fromIs("ReportSubscriptionFrequencyRequest", ReportSubscriptionFrequencyRequest.is),
21
- destination: DestinationType.type,
21
+ destination: isly.fromIs("ReportFileDestination", ReportFileDestination.is),
22
22
  })
23
23
  export const is = type.is
24
24
  }
@@ -6,7 +6,7 @@ export interface SftpReportFileDestination {
6
6
  port?: number
7
7
  password?: string
8
8
  privateKey?: string
9
- fingerPrint?: string
9
+ fingerprint?: string
10
10
  path: string
11
11
  }
12
12
  export namespace SftpReportFileDestination {
@@ -16,7 +16,7 @@ export namespace SftpReportFileDestination {
16
16
  port: isly.number("integer").optional(),
17
17
  password: isly.string().optional(),
18
18
  privateKey: isly.string().optional(),
19
- fingerPrint: isly.string().optional(),
19
+ fingerprint: isly.string().optional(),
20
20
  path: isly.string(),
21
21
  })
22
22
  export const is = type.is
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/client",
3
- "version": "0.9.5",
3
+ "version": "0.9.6",
4
4
  "description": "Client library for the Pax2Pay API",
5
5
  "author": "Pax2Pay Ltd.",
6
6
  "license": "MIT",