@pax2pay/client 0.6.14 → 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"}
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/client",
3
- "version": "0.6.14",
3
+ "version": "0.6.15",
4
4
  "description": "Client library for the Pax2Pay API",
5
5
  "author": "Pax2Pay Ltd.",
6
6
  "license": "MIT",