@pax2pay/client 0.10.27 → 0.10.28

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,6 +1,7 @@
1
1
  import { Currency, DateTime } from "isoly";
2
2
  import { MetadataResponse } from "./MetadataResponse";
3
3
  import { PaymentAmountScheduleResponse } from "./PaymentAmountScheduleResponse";
4
+ import { PaymentMethodType } from "./PaymentMethodType";
4
5
  import { PaymentStatus } from "./PaymentStatus";
5
6
  import { SummaryMerchantResponse } from "./SummaryMerchantResponse";
6
7
  export interface AbstractPaymentResponse {
@@ -13,7 +14,7 @@ export interface AbstractPaymentResponse {
13
14
  currency: Currency;
14
15
  state: PaymentStatus;
15
16
  merchant?: SummaryMerchantResponse;
16
- method: "card" | "transfer";
17
+ method: PaymentMethodType;
17
18
  meta?: MetadataResponse;
18
19
  createdBy: string;
19
20
  createdOn: DateTime;
@@ -2,6 +2,7 @@ import { Currency } from "isoly";
2
2
  import { isly } from "isly";
3
3
  import { MetadataResponse } from "./MetadataResponse";
4
4
  import { PaymentAmountScheduleResponse } from "./PaymentAmountScheduleResponse";
5
+ import { PaymentMethodType } from "./PaymentMethodType";
5
6
  import { PaymentStatus } from "./PaymentStatus";
6
7
  import { SummaryMerchantResponse } from "./SummaryMerchantResponse";
7
8
  export var AbstractPaymentResponse;
@@ -16,7 +17,7 @@ export var AbstractPaymentResponse;
16
17
  currency: isly.fromIs("Currency", Currency.is),
17
18
  state: PaymentStatus.type,
18
19
  merchant: SummaryMerchantResponse.type.optional(),
19
- method: isly.string(["card", "transfer"]),
20
+ method: PaymentMethodType.type,
20
21
  meta: MetadataResponse.type.optional(),
21
22
  createdBy: isly.string(),
22
23
  createdOn: isly.string(),
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractPaymentResponse.js","sourceRoot":"../","sources":["model/AbstractPaymentResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAY,MAAM,OAAO,CAAA;AAC1C,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BAAuB,KAAvB,uBAAuB,QAiBvC"}
@@ -2,6 +2,7 @@ import { Currency, DateTime } from "isoly"
2
2
  import { isly } from "isly"
3
3
  import { MetadataResponse } from "./MetadataResponse"
4
4
  import { PaymentAmountScheduleResponse } from "./PaymentAmountScheduleResponse"
5
+ import { PaymentMethodType } from "./PaymentMethodType"
5
6
  import { PaymentStatus } from "./PaymentStatus"
6
7
  import { SummaryMerchantResponse } from "./SummaryMerchantResponse"
7
8
 
@@ -15,7 +16,7 @@ export interface AbstractPaymentResponse {
15
16
  currency: Currency
16
17
  state: PaymentStatus
17
18
  merchant?: SummaryMerchantResponse
18
- method: "card" | "transfer"
19
+ method: PaymentMethodType
19
20
  meta?: MetadataResponse
20
21
  createdBy: string
21
22
  createdOn: DateTime
@@ -31,7 +32,7 @@ export namespace AbstractPaymentResponse {
31
32
  currency: isly.fromIs("Currency", Currency.is),
32
33
  state: PaymentStatus.type,
33
34
  merchant: SummaryMerchantResponse.type.optional(),
34
- method: isly.string(["card", "transfer"]),
35
+ method: PaymentMethodType.type,
35
36
  meta: MetadataResponse.type.optional(),
36
37
  createdBy: isly.string(),
37
38
  createdOn: isly.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/client",
3
- "version": "0.10.27",
3
+ "version": "0.10.28",
4
4
  "description": "Client library for the Pax2Pay API",
5
5
  "author": "Pax2Pay Ltd.",
6
6
  "license": "MIT",