@pax2pay/client 0.6.13 → 0.6.15

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.
@@ -2,14 +2,12 @@ import { ConfirmationOfPayeeAccountType } from "./ConfirmationOfPayeeAccountType
2
2
  import { ConfirmationOfPayeeResponseStatus } from "./ConfirmationOfPayeeResponseStatus";
3
3
  export interface ConfirmationOfPayeeResponse {
4
4
  status: ConfirmationOfPayeeResponseStatus;
5
- message?: string;
6
5
  nameSuggestion?: string;
7
6
  description?: string;
8
- acceptedStatus?: ConfirmationOfPayeeResponseStatus;
7
+ accepted?: boolean;
9
8
  acceptedByUser?: string;
10
9
  accountType?: ConfirmationOfPayeeAccountType;
11
10
  secondaryAccountId?: string;
12
- sourceAccountId?: string;
13
11
  acceptId?: string;
14
12
  }
15
13
  export declare namespace ConfirmationOfPayeeResponse {
@@ -5,14 +5,12 @@ export var ConfirmationOfPayeeResponse;
5
5
  (function (ConfirmationOfPayeeResponse) {
6
6
  ConfirmationOfPayeeResponse.type = isly.object({
7
7
  status: ConfirmationOfPayeeResponseStatus.type,
8
- message: isly.string().optional(),
9
8
  nameSuggestion: isly.string().optional(),
10
9
  description: isly.string().optional(),
11
- acceptedStatus: ConfirmationOfPayeeResponseStatus.type.optional(),
10
+ accepted: isly.boolean().optional(),
12
11
  acceptedByUser: isly.string().optional(),
13
12
  accountType: ConfirmationOfPayeeAccountType.type.optional(),
14
13
  secondaryAccountId: isly.string().optional(),
15
- sourceAccountId: isly.string().optional(),
16
14
  acceptId: isly.string().optional(),
17
15
  });
18
16
  ConfirmationOfPayeeResponse.is = ConfirmationOfPayeeResponse.type.is;
@@ -1 +1 @@
1
- {"version":3,"file":"ConfirmationOfPayeeResponse.js","sourceRoot":"../","sources":["model/ConfirmationOfPayeeResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,8BAA8B,EAAE,MAAM,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8B;QAC5D,MAAM,EAAE,iCAAiC,CAAC,IAAI;QAC9C,cAAc,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACxC,WAAW,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACrC,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QACnC,cAAc,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACxC,WAAW,EAAE,8BAA8B,CAAC,IAAI,CAAC,QAAQ,EAAE;QAC3D,kBAAkB,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5C,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAClC,CAAC,CAAA;IACW,8BAAE,GAAG,4BAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAZgB,2BAA2B,KAA3B,2BAA2B,QAY3C"}
@@ -1,7 +1,7 @@
1
1
  import { isly } from "isly";
2
2
  export type ConfirmationOfPayeeResponseStatus = typeof ConfirmationOfPayeeResponseStatus.values[number];
3
3
  export declare namespace ConfirmationOfPayeeResponseStatus {
4
- const values: readonly ["confirmed", "close match", "no match", "not supported", "accepted", "blocked"];
5
- const type: isly.Type<"blocked" | "confirmed" | "close match" | "no match" | "not supported" | "accepted">;
6
- const is: (value: any | ("blocked" | "confirmed" | "close match" | "no match" | "not supported" | "accepted")) => value is "blocked" | "confirmed" | "close match" | "no match" | "not supported" | "accepted";
4
+ const values: readonly ["confirmed", "close match", "no match", "not supported", "blocked"];
5
+ const type: isly.Type<"blocked" | "confirmed" | "close match" | "no match" | "not supported">;
6
+ const is: (value: any | ("blocked" | "confirmed" | "close match" | "no match" | "not supported")) => value is "blocked" | "confirmed" | "close match" | "no match" | "not supported";
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { isly } from "isly";
2
2
  export var ConfirmationOfPayeeResponseStatus;
3
3
  (function (ConfirmationOfPayeeResponseStatus) {
4
- ConfirmationOfPayeeResponseStatus.values = ["confirmed", "close match", "no match", "not supported", "accepted", "blocked"];
4
+ ConfirmationOfPayeeResponseStatus.values = ["confirmed", "close match", "no match", "not supported", "blocked"];
5
5
  ConfirmationOfPayeeResponseStatus.type = isly.string(ConfirmationOfPayeeResponseStatus.values);
6
6
  ConfirmationOfPayeeResponseStatus.is = ConfirmationOfPayeeResponseStatus.type.is;
7
7
  })(ConfirmationOfPayeeResponseStatus || (ConfirmationOfPayeeResponseStatus = {}));
@@ -1 +1 @@
1
- {"version":3,"file":"ConfirmationOfPayeeResponseStatus.js","sourceRoot":"../","sources":["model/ConfirmationOfPayeeResponseStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAI3B,MAAM,KAAW,iCAAiC,CAIjD;AAJD,WAAiB,iCAAiC;IACpC,wCAAM,GAAG,CAAC,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,eAAe,EAAE,UAAU,EAAE,SAAS,CAAU,CAAA;IAClG,sCAAI,GAAG,IAAI,CAAC,MAAM,CAAC,kCAAA,MAAM,CAAC,CAAA;IAC1B,oCAAE,GAAG,kCAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAJgB,iCAAiC,KAAjC,iCAAiC,QAIjD"}
1
+ {"version":3,"file":"ConfirmationOfPayeeResponseStatus.js","sourceRoot":"../","sources":["model/ConfirmationOfPayeeResponseStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAI3B,MAAM,KAAW,iCAAiC,CAIjD;AAJD,WAAiB,iCAAiC;IACpC,wCAAM,GAAG,CAAC,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,eAAe,EAAE,SAAS,CAAU,CAAA;IACtF,sCAAI,GAAG,IAAI,CAAC,MAAM,CAAC,kCAAA,MAAM,CAAC,CAAA;IAC1B,oCAAE,GAAG,kCAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAJgB,iCAAiC,KAAjC,iCAAiC,QAIjD"}
@@ -2,6 +2,18 @@ import { isly } from "isly";
2
2
  export type PaymentOperationType = typeof PaymentOperationType.types[number];
3
3
  export declare namespace PaymentOperationType {
4
4
  const types: readonly ["approved authorisation", "declined authorisation", "reversal", "reversal declined", "settlement", "refund", "authorisation fee", "settlement fee", "reversal fee", "refund fee", "faster payments", "BACS", "CHAPS", "direct debit", "SEPA instant", "SEPA", "provider internal", "SWIFT", "chargeback", "created", "limit change", "purchase", "closed", "frozen", "thawed", "approval pending", "expired", "approved", "declined", "transfer"];
5
+ namespace TransferTransaction {
6
+ const type: string[];
7
+ }
8
+ namespace CardTransaction {
9
+ const type: string[];
10
+ }
11
+ namespace Transfer {
12
+ const type: string[];
13
+ }
14
+ namespace Card {
15
+ const type: string[];
16
+ }
5
17
  const type: isly.Type<"frozen" | "closed" | "expired" | "approved authorisation" | "declined authorisation" | "reversal" | "reversal declined" | "settlement" | "refund" | "authorisation fee" | "settlement fee" | "reversal fee" | "refund fee" | "faster payments" | "BACS" | "CHAPS" | "direct debit" | "SEPA instant" | "SEPA" | "provider internal" | "SWIFT" | "chargeback" | "created" | "limit change" | "purchase" | "thawed" | "approval pending" | "approved" | "declined" | "transfer">;
6
18
  const is: (value: any | ("frozen" | "closed" | "expired" | "approved authorisation" | "declined authorisation" | "reversal" | "reversal declined" | "settlement" | "refund" | "authorisation fee" | "settlement fee" | "reversal fee" | "refund fee" | "faster payments" | "BACS" | "CHAPS" | "direct debit" | "SEPA instant" | "SEPA" | "provider internal" | "SWIFT" | "chargeback" | "created" | "limit change" | "purchase" | "thawed" | "approval pending" | "approved" | "declined" | "transfer")) => value is "frozen" | "closed" | "expired" | "approved authorisation" | "declined authorisation" | "reversal" | "reversal declined" | "settlement" | "refund" | "authorisation fee" | "settlement fee" | "reversal fee" | "refund fee" | "faster payments" | "BACS" | "CHAPS" | "direct debit" | "SEPA instant" | "SEPA" | "provider internal" | "SWIFT" | "chargeback" | "created" | "limit change" | "purchase" | "thawed" | "approval pending" | "approved" | "declined" | "transfer";
7
19
  function toDisplay(value: PaymentOperationType): string;
@@ -33,6 +33,54 @@ export var PaymentOperationType;
33
33
  "declined",
34
34
  "transfer",
35
35
  ];
36
+ let TransferTransaction;
37
+ (function (TransferTransaction) {
38
+ TransferTransaction.type = [
39
+ "BACS",
40
+ "CHAPS",
41
+ "direct debit",
42
+ "faster payments",
43
+ "SEPA",
44
+ "SEPA instant",
45
+ "provider internal",
46
+ "SWIFT",
47
+ "chargeback",
48
+ ];
49
+ })(TransferTransaction = PaymentOperationType.TransferTransaction || (PaymentOperationType.TransferTransaction = {}));
50
+ let CardTransaction;
51
+ (function (CardTransaction) {
52
+ CardTransaction.type = [
53
+ "approved authorisation",
54
+ "declined authorisation",
55
+ "reversal",
56
+ "reversal declined",
57
+ "settlement",
58
+ "refund",
59
+ "authorisation fee",
60
+ "settlement fee",
61
+ "reversal fee",
62
+ "refund fee",
63
+ ];
64
+ })(CardTransaction = PaymentOperationType.CardTransaction || (PaymentOperationType.CardTransaction = {}));
65
+ let Transfer;
66
+ (function (Transfer) {
67
+ Transfer.type = ["transfer"];
68
+ })(Transfer = PaymentOperationType.Transfer || (PaymentOperationType.Transfer = {}));
69
+ let Card;
70
+ (function (Card) {
71
+ Card.type = [
72
+ "created",
73
+ "limit change",
74
+ "purchase",
75
+ "closed",
76
+ "frozen",
77
+ "thawed",
78
+ "approval pending",
79
+ "expired",
80
+ "approved",
81
+ "declined",
82
+ ];
83
+ })(Card = PaymentOperationType.Card || (PaymentOperationType.Card = {}));
36
84
  PaymentOperationType.type = isly.string(PaymentOperationType.types);
37
85
  PaymentOperationType.is = PaymentOperationType.type.is;
38
86
  function toDisplay(value) {
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentOperationType.js","sourceRoot":"../","sources":["model/PaymentOperationType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;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I,GAAG;YACnB,SAAS;YACT,cAAc;YACd,UAAU;YACV,QAAQ;YACR,QAAQ;YACR,QAAQ;YACR,kBAAkB;YAClB,SAAS;YACT,UAAU;YACV,UAAU;SACV,CAAA;IACF,CAAC,EAbgB,IAAI,GAAJ,yBAAI,KAAJ,yBAAI,QAapB;IACY,yBAAI,GAAG,IAAI,CAAC,MAAM,CAAC,qBAAA,KAAK,CAAC,CAAA;IACzB,uBAAE,GAAG,qBAAA,IAAI,CAAC,EAAE,CAAA;IACzB,SAAgB,SAAS,CAAC,KAA2B;QACpD,IAAI,KAAK,IAAI,cAAc;YAC1B,OAAO,cAAc,CAAA;QACtB,IAAI,KAAK,IAAI,YAAY;YACxB,OAAO,YAAY,CAAA;QACpB,IAAI,KAAK,IAAI,QAAQ;YACpB,OAAO,UAAU,CAAA;QAClB,IAAI,KAAK,IAAI,cAAc;YAC1B,OAAO,cAAc,CAAA;QACtB,IAAI,KAAK,IAAI,iBAAiB;YAC7B,OAAO,iBAAiB,CAAA;QACzB,IAAI,KAAK,IAAI,cAAc;YAC1B,OAAO,cAAc,CAAA;QACtB,IAAI,KAAK,IAAI,mBAAmB;YAC/B,OAAO,mBAAmB,CAAA;QAC3B,IAAI,KAAK,IAAI,YAAY;YACxB,OAAO,YAAY,CAAA;QACpB,OAAO,KAAK,CAAA;IACb,CAAC;IAlBe,8BAAS,YAkBxB,CAAA;AACF,CAAC,EAlGgB,oBAAoB,KAApB,oBAAoB,QAkGpC"}
@@ -4,27 +4,23 @@ import { ConfirmationOfPayeeResponseStatus } from "./ConfirmationOfPayeeResponse
4
4
 
5
5
  export interface ConfirmationOfPayeeResponse {
6
6
  status: ConfirmationOfPayeeResponseStatus
7
- message?: string
8
7
  nameSuggestion?: string
9
8
  description?: string
10
- acceptedStatus?: ConfirmationOfPayeeResponseStatus
9
+ accepted?: boolean
11
10
  acceptedByUser?: string
12
11
  accountType?: ConfirmationOfPayeeAccountType
13
12
  secondaryAccountId?: string
14
- sourceAccountId?: string
15
13
  acceptId?: string
16
14
  }
17
15
  export namespace ConfirmationOfPayeeResponse {
18
16
  export const type = isly.object<ConfirmationOfPayeeResponse>({
19
17
  status: ConfirmationOfPayeeResponseStatus.type,
20
- message: isly.string().optional(),
21
18
  nameSuggestion: isly.string().optional(),
22
19
  description: isly.string().optional(),
23
- acceptedStatus: ConfirmationOfPayeeResponseStatus.type.optional(),
20
+ accepted: isly.boolean().optional(),
24
21
  acceptedByUser: isly.string().optional(),
25
22
  accountType: ConfirmationOfPayeeAccountType.type.optional(),
26
23
  secondaryAccountId: isly.string().optional(),
27
- sourceAccountId: isly.string().optional(),
28
24
  acceptId: isly.string().optional(),
29
25
  })
30
26
  export const is = type.is
@@ -3,7 +3,7 @@ import { isly } from "isly"
3
3
  export type ConfirmationOfPayeeResponseStatus = typeof ConfirmationOfPayeeResponseStatus.values[number]
4
4
 
5
5
  export namespace ConfirmationOfPayeeResponseStatus {
6
- export const values = ["confirmed", "close match", "no match", "not supported", "accepted", "blocked"] as const
6
+ export const values = ["confirmed", "close match", "no match", "not supported", "blocked"] as const
7
7
  export const type = isly.string(values)
8
8
  export const is = type.is
9
9
  }
@@ -35,6 +35,50 @@ export namespace PaymentOperationType {
35
35
  "declined",
36
36
  "transfer",
37
37
  ] as const
38
+ export namespace TransferTransaction {
39
+ export const type = [
40
+ "BACS",
41
+ "CHAPS",
42
+ "direct debit",
43
+ "faster payments",
44
+ "SEPA",
45
+ "SEPA instant",
46
+ "provider internal",
47
+ "SWIFT",
48
+ "chargeback",
49
+ ]
50
+ }
51
+ export namespace CardTransaction {
52
+ export const type = [
53
+ "approved authorisation",
54
+ "declined authorisation",
55
+ "reversal",
56
+ "reversal declined",
57
+ "settlement",
58
+ "refund",
59
+ "authorisation fee",
60
+ "settlement fee",
61
+ "reversal fee",
62
+ "refund fee",
63
+ ]
64
+ }
65
+ export namespace Transfer {
66
+ export const type = ["transfer"]
67
+ }
68
+ export namespace Card {
69
+ export const type = [
70
+ "created",
71
+ "limit change",
72
+ "purchase",
73
+ "closed",
74
+ "frozen",
75
+ "thawed",
76
+ "approval pending",
77
+ "expired",
78
+ "approved",
79
+ "declined",
80
+ ]
81
+ }
38
82
  export const type = isly.string(types)
39
83
  export const is = type.is
40
84
  export function toDisplay(value: PaymentOperationType): string {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/client",
3
- "version": "0.6.13",
3
+ "version": "0.6.15",
4
4
  "description": "Client library for the Pax2Pay API",
5
5
  "author": "Pax2Pay Ltd.",
6
6
  "license": "MIT",