@pax2pay/client 0.3.159 → 0.3.160

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,9 +1,10 @@
1
1
  import { isly } from "isly";
2
+ import { AbstractPaymentOperation } from "./AbstractPaymentOperation";
2
3
  import { GenericPaymentOperation } from "./GenericPaymentOperation";
3
4
  import { ProviderCardTransactionOperation } from "./ProviderCardTransactionOperation";
4
5
  import { ProviderTransferTransactionOperation } from "./ProviderTransferTransactionOperation";
5
- export type PaymentOperation = GenericPaymentOperation | ProviderTransferTransactionOperation | ProviderCardTransactionOperation;
6
+ export type PaymentOperation = AbstractPaymentOperation | GenericPaymentOperation | ProviderTransferTransactionOperation | ProviderCardTransactionOperation;
6
7
  export declare namespace PaymentOperation {
7
- const type: isly.Type<GenericPaymentOperation | ProviderCardTransactionOperation | ProviderTransferTransactionOperation>;
8
- const is: (value: any | (GenericPaymentOperation | ProviderCardTransactionOperation | ProviderTransferTransactionOperation)) => value is GenericPaymentOperation | ProviderCardTransactionOperation | ProviderTransferTransactionOperation;
8
+ const type: isly.Type<AbstractPaymentOperation | GenericPaymentOperation | ProviderCardTransactionOperation | ProviderTransferTransactionOperation>;
9
+ const is: (value: any | (AbstractPaymentOperation | GenericPaymentOperation | ProviderCardTransactionOperation | ProviderTransferTransactionOperation)) => value is AbstractPaymentOperation | GenericPaymentOperation | ProviderCardTransactionOperation | ProviderTransferTransactionOperation;
9
10
  }
@@ -1,10 +1,11 @@
1
1
  import { isly } from "isly";
2
+ import { AbstractPaymentOperation } from "./AbstractPaymentOperation";
2
3
  import { GenericPaymentOperation } from "./GenericPaymentOperation";
3
4
  import { ProviderCardTransactionOperation } from "./ProviderCardTransactionOperation";
4
5
  import { ProviderTransferTransactionOperation } from "./ProviderTransferTransactionOperation";
5
6
  export var PaymentOperation;
6
7
  (function (PaymentOperation) {
7
- PaymentOperation.type = isly.union(GenericPaymentOperation.type, ProviderTransferTransactionOperation.type, ProviderCardTransactionOperation.type);
8
+ PaymentOperation.type = isly.union(AbstractPaymentOperation.type, GenericPaymentOperation.type, ProviderTransferTransactionOperation.type, ProviderCardTransactionOperation.type);
8
9
  PaymentOperation.is = PaymentOperation.type.is;
9
10
  })(PaymentOperation || (PaymentOperation = {}));
10
11
  //# sourceMappingURL=PaymentOperation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentOperation.js","sourceRoot":"../","sources":["model/PaymentOperation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAA;AACrF,OAAO,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAA;AAO7F,MAAM,KAAW,gBAAgB,CAOhC;AAPD,WAAiB,gBAAgB;IACnB,qBAAI,GAAG,IAAI,CAAC,KAAK,CAC7B,uBAAuB,CAAC,IAAI,EAC5B,oCAAoC,CAAC,IAAI,EACzC,gCAAgC,CAAC,IAAI,CACrC,CAAA;IACY,mBAAE,GAAG,iBAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAPgB,gBAAgB,KAAhB,gBAAgB,QAOhC"}
1
+ {"version":3,"file":"PaymentOperation.js","sourceRoot":"../","sources":["model/PaymentOperation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAA;AACrF,OAAO,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAA;AAQ7F,MAAM,KAAW,gBAAgB,CAQhC;AARD,WAAiB,gBAAgB;IACnB,qBAAI,GAAG,IAAI,CAAC,KAAK,CAC7B,wBAAwB,CAAC,IAAI,EAC7B,uBAAuB,CAAC,IAAI,EAC5B,oCAAoC,CAAC,IAAI,EACzC,gCAAgC,CAAC,IAAI,CACrC,CAAA;IACY,mBAAE,GAAG,iBAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EARgB,gBAAgB,KAAhB,gBAAgB,QAQhC"}
@@ -1,15 +1,18 @@
1
1
  import { isly } from "isly"
2
+ import { AbstractPaymentOperation } from "./AbstractPaymentOperation"
2
3
  import { GenericPaymentOperation } from "./GenericPaymentOperation"
3
4
  import { ProviderCardTransactionOperation } from "./ProviderCardTransactionOperation"
4
5
  import { ProviderTransferTransactionOperation } from "./ProviderTransferTransactionOperation"
5
6
 
6
7
  export type PaymentOperation =
8
+ | AbstractPaymentOperation
7
9
  | GenericPaymentOperation
8
10
  | ProviderTransferTransactionOperation
9
11
  | ProviderCardTransactionOperation
10
12
 
11
13
  export namespace PaymentOperation {
12
14
  export const type = isly.union(
15
+ AbstractPaymentOperation.type,
13
16
  GenericPaymentOperation.type,
14
17
  ProviderTransferTransactionOperation.type,
15
18
  ProviderCardTransactionOperation.type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/client",
3
- "version": "0.3.159",
3
+ "version": "0.3.160",
4
4
  "description": "Client library for the Pax2Pay API",
5
5
  "author": "Pax2Pay Ltd.",
6
6
  "license": "MIT",