@pax2pay/client 0.3.117 → 0.3.118

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.
Files changed (45) hide show
  1. package/dist/model/AbstractPaymentResponse.d.ts +2 -3
  2. package/dist/model/BasePaymentResponse.d.ts +2 -2
  3. package/dist/model/CardDeliveryRequest.d.ts +2 -3
  4. package/dist/model/CardDeliveryResponse.d.ts +2 -3
  5. package/dist/model/CardOperation.d.ts +2 -3
  6. package/dist/model/CardResponseV2.d.ts +2 -3
  7. package/dist/model/CardResponseV3.d.ts +2 -3
  8. package/dist/model/CardType.d.ts +2 -3
  9. package/dist/model/CardTypeProfileStatus.d.ts +1 -1
  10. package/dist/model/CardTypeSpecification.d.ts +2 -3
  11. package/dist/model/CardTypeSpecificationFlag.d.ts +1 -1
  12. package/dist/model/FundingAccountResponseV2Basic.d.ts +2 -3
  13. package/dist/model/FundingLimitRequest.d.ts +2 -3
  14. package/dist/model/Inclusion.d.ts +1 -1
  15. package/dist/model/InvokingSystem.d.ts +1 -1
  16. package/dist/model/MerchantRequest.d.ts +2 -3
  17. package/dist/model/MerchantResponse.d.ts +2 -3
  18. package/dist/model/MerchantType.d.ts +1 -1
  19. package/dist/model/OrganisationCreateRequest.d.ts +2 -3
  20. package/dist/model/OrganisationRequest.d.ts +2 -3
  21. package/dist/model/OrganisationResponse.d.ts +2 -3
  22. package/dist/model/OrganisationStatus.d.ts +1 -1
  23. package/dist/model/PaymentAccountState.d.ts +1 -1
  24. package/dist/model/PaymentAmountScheduleRequest.d.ts +2 -3
  25. package/dist/model/PaymentAmountScheduleResponse.d.ts +2 -3
  26. package/dist/model/PaymentCardCreateRequest.d.ts +2 -3
  27. package/dist/model/PaymentCardUsage.d.ts +1 -1
  28. package/dist/model/PaymentDeliveryRequest.d.ts +2 -3
  29. package/dist/model/PaymentDeliveryResponse.d.ts +2 -3
  30. package/dist/model/PaymentDeliveryState.d.ts +1 -1
  31. package/dist/model/PaymentRequest.d.ts +2 -3
  32. package/dist/model/PaymentResponse.d.ts +2 -3
  33. package/dist/model/PaymentSearch.d.ts +2 -3
  34. package/dist/model/PaymentStatus.d.ts +1 -1
  35. package/dist/model/PaymentTransferCreateRequest.d.ts +2 -3
  36. package/dist/model/ProviderCode.d.ts +1 -1
  37. package/dist/model/Range.d.ts +2 -3
  38. package/dist/model/SecurityConfig.d.ts +2 -3
  39. package/dist/model/SummaryCardResponseV3.d.ts +2 -3
  40. package/dist/model/SummaryMerchantResponse.d.ts +2 -3
  41. package/dist/model/TransferResponseV3.d.ts +2 -3
  42. package/dist/model/TransferSearch.d.ts +2 -3
  43. package/dist/model/UpdateAccountRequest.d.ts +2 -3
  44. package/dist/model/UserStatus.d.ts +1 -1
  45. package/package.json +2 -2
@@ -1,5 +1,4 @@
1
1
  import { Currency, DateTime } from "isoly";
2
- import { isly } from "isly";
3
2
  import { BookingInfoResponse } from "./BookingInfoResponse";
4
3
  import { PaymentAmountScheduleResponse } from "./PaymentAmountScheduleResponse";
5
4
  import { PaymentStatus } from "./PaymentStatus";
@@ -20,6 +19,6 @@ export interface AbstractPaymentResponse {
20
19
  createdOn: DateTime;
21
20
  }
22
21
  export declare namespace AbstractPaymentResponse {
23
- const type: isly.object.ExtendableType<AbstractPaymentResponse>;
24
- const is: isly.Type.IsFunction<AbstractPaymentResponse>;
22
+ const type: import("isly/dist/cjs/object").IslyObject<AbstractPaymentResponse, object>;
23
+ const is: (value: AbstractPaymentResponse | any) => value is AbstractPaymentResponse;
25
24
  }
@@ -6,6 +6,6 @@ export interface BasePaymentResponse extends AbstractPaymentResponse {
6
6
  delivery?: PaymentDeliveryResponse;
7
7
  }
8
8
  export declare namespace BasePaymentResponse {
9
- const type: import("isly/dist/cjs/object").object.ExtendableType<BasePaymentResponse>;
10
- const is: import("isly/dist/cjs/Type").Type.IsFunction<BasePaymentResponse>;
9
+ const type: import("isly/dist/cjs/object").IslyObject<BasePaymentResponse, AbstractPaymentResponse>;
10
+ const is: (value: BasePaymentResponse | any) => value is BasePaymentResponse;
11
11
  }
@@ -1,11 +1,10 @@
1
1
  import * as isoly from "isoly";
2
- import { isly } from "isly";
3
2
  export interface CardDeliveryRequest {
4
3
  to: string;
5
4
  message: string;
6
5
  linkExpiry: isoly.Date;
7
6
  }
8
7
  export declare namespace CardDeliveryRequest {
9
- const type: isly.object.ExtendableType<CardDeliveryRequest>;
10
- const is: isly.Type.IsFunction<CardDeliveryRequest>;
8
+ const type: import("isly/dist/cjs/object").IslyObject<CardDeliveryRequest, object>;
9
+ const is: (value: CardDeliveryRequest | any) => value is CardDeliveryRequest;
11
10
  }
@@ -1,5 +1,4 @@
1
1
  import { Date, DateTime } from "isoly";
2
- import { isly } from "isly";
3
2
  import { DeliveryStatus } from "./DeliveryStatus";
4
3
  export interface CardDeliveryResponse {
5
4
  type: "EMAIL";
@@ -11,6 +10,6 @@ export interface CardDeliveryResponse {
11
10
  statusText?: string;
12
11
  }
13
12
  export declare namespace CardDeliveryResponse {
14
- const type: isly.object.ExtendableType<CardDeliveryResponse>;
15
- const is: isly.Type.IsFunction<CardDeliveryResponse>;
13
+ const type: import("isly/dist/cjs/object").IslyObject<CardDeliveryResponse, object>;
14
+ const is: (value: CardDeliveryResponse | any) => value is CardDeliveryResponse;
16
15
  }
@@ -1,10 +1,9 @@
1
1
  import { DateTime } from "isoly";
2
- import { isly } from "isly";
3
2
  export interface CardOperation {
4
3
  type: string;
5
4
  timestamp: DateTime;
6
5
  }
7
6
  export declare namespace CardOperation {
8
- const type: isly.object.ExtendableType<CardOperation>;
9
- const is: isly.Type.IsFunction<CardOperation>;
7
+ const type: import("isly/dist/cjs/object").IslyObject<CardOperation, object>;
8
+ const is: (value: CardOperation | any) => value is CardOperation;
10
9
  }
@@ -1,5 +1,4 @@
1
1
  import { Currency, Date } from "isoly";
2
- import { isly } from "isly";
3
2
  import { AccountState } from "./AccountState";
4
3
  import { BookingInfoResponse } from "./BookingInfoResponse";
5
4
  import { CardDeliveryResponse } from "./CardDeliveryResponse";
@@ -38,6 +37,6 @@ export interface CardResponseV2 {
38
37
  merchantRestriction?: MerchantResponse;
39
38
  }
40
39
  export declare namespace CardResponseV2 {
41
- const type: isly.object.ExtendableType<CardResponseV2>;
42
- const is: isly.Type.IsFunction<CardResponseV2>;
40
+ const type: import("isly/dist/cjs/object").IslyObject<CardResponseV2, object>;
41
+ const is: (value: CardResponseV2 | any) => value is CardResponseV2;
43
42
  }
@@ -1,5 +1,4 @@
1
1
  import { Date } from "isoly";
2
- import { isly } from "isly";
3
2
  import { PaymentCardUsage } from "./PaymentCardUsage";
4
3
  import { SummaryCardResponseV3 } from "./SummaryCardResponseV3";
5
4
  import { YearMonth } from "./YearMonth";
@@ -15,6 +14,6 @@ export interface CardResponseV3 extends SummaryCardResponseV3 {
15
14
  activationDate: Date;
16
15
  }
17
16
  export declare namespace CardResponseV3 {
18
- const type: isly.object.ExtendableType<CardResponseV3>;
19
- const is: isly.Type.IsFunction<CardResponseV3>;
17
+ const type: import("isly/dist/cjs/object").IslyObject<CardResponseV3, SummaryCardResponseV3>;
18
+ const is: (value: CardResponseV3 | any) => value is CardResponseV3;
20
19
  }
@@ -1,5 +1,4 @@
1
1
  import { Currency } from "isoly";
2
- import { isly } from "isly";
3
2
  import { ProviderCode } from "./ProviderCode";
4
3
  export interface CardType {
5
4
  providerCode: ProviderCode;
@@ -9,6 +8,6 @@ export interface CardType {
9
8
  currencies?: Currency[];
10
9
  }
11
10
  export declare namespace CardType {
12
- const type: isly.object.ExtendableType<CardType>;
13
- const is: isly.Type.IsFunction<CardType>;
11
+ const type: import("isly/dist/cjs/object").IslyObject<CardType, object>;
12
+ const is: (value: CardType | any) => value is CardType;
14
13
  }
@@ -3,5 +3,5 @@ export type CardTypeProfileStatus = typeof CardTypeProfileStatus.values[number];
3
3
  export declare namespace CardTypeProfileStatus {
4
4
  const values: readonly ["ACTIVE", "DELETED", "DEPRECATED"];
5
5
  const type: isly.Type<"ACTIVE" | "DELETED" | "DEPRECATED">;
6
- const is: isly.Type.IsFunction<"ACTIVE" | "DELETED" | "DEPRECATED">;
6
+ const is: (value: any | ("ACTIVE" | "DELETED" | "DEPRECATED")) => value is "ACTIVE" | "DELETED" | "DEPRECATED";
7
7
  }
@@ -1,4 +1,3 @@
1
- import { isly } from "isly";
2
1
  import { CardTypeSpecificationFlag } from "./CardTypeSpecificationFlag";
3
2
  import { ProviderCode } from "./ProviderCode";
4
3
  export interface CardTypeSpecification {
@@ -11,6 +10,6 @@ export interface CardTypeSpecification {
11
10
  providerCode?: ProviderCode;
12
11
  }
13
12
  export declare namespace CardTypeSpecification {
14
- const type: isly.object.ExtendableType<CardTypeSpecification>;
15
- const is: isly.Type.IsFunction<CardTypeSpecification>;
13
+ const type: import("isly/dist/cjs/object").IslyObject<CardTypeSpecification, object>;
14
+ const is: (value: CardTypeSpecification | any) => value is CardTypeSpecification;
16
15
  }
@@ -3,5 +3,5 @@ export type CardTypeSpecificationFlag = typeof CardTypeSpecificationFlag.types[n
3
3
  export declare namespace CardTypeSpecificationFlag {
4
4
  const types: readonly ["CORPORATE", "BUSINESS", "CONSUMER"];
5
5
  const type: isly.Type<"CORPORATE" | "BUSINESS" | "CONSUMER">;
6
- const is: isly.Type.IsFunction<"CORPORATE" | "BUSINESS" | "CONSUMER">;
6
+ const is: (value: any | ("CORPORATE" | "BUSINESS" | "CONSUMER")) => value is "CORPORATE" | "BUSINESS" | "CONSUMER";
7
7
  }
@@ -1,5 +1,4 @@
1
1
  import { Currency } from "isoly";
2
- import { isly } from "isly";
3
2
  import { AccountState } from "./AccountState";
4
3
  import { ProviderCode } from "./ProviderCode";
5
4
  export interface FundingAccountResponseV2Basic {
@@ -12,6 +11,6 @@ export interface FundingAccountResponseV2Basic {
12
11
  balance: number;
13
12
  }
14
13
  export declare namespace FundingAccountResponseV2Basic {
15
- const type: isly.object.ExtendableType<FundingAccountResponseV2Basic>;
16
- const is: isly.Type.IsFunction<FundingAccountResponseV2Basic>;
14
+ const type: import("isly/dist/cjs/object").IslyObject<FundingAccountResponseV2Basic, object>;
15
+ const is: (value: FundingAccountResponseV2Basic | any) => value is FundingAccountResponseV2Basic;
17
16
  }
@@ -1,9 +1,8 @@
1
- import { isly } from "isly";
2
1
  export interface FundingLimitRequest {
3
2
  email: string[];
4
3
  limit: number;
5
4
  }
6
5
  export declare namespace FundingLimitRequest {
7
- const type: isly.object.ExtendableType<FundingLimitRequest>;
8
- const is: isly.Type.IsFunction<FundingLimitRequest>;
6
+ const type: import("isly/dist/cjs/object").IslyObject<FundingLimitRequest, object>;
7
+ const is: (value: FundingLimitRequest | any) => value is FundingLimitRequest;
9
8
  }
@@ -3,5 +3,5 @@ export type Inclusion = typeof Inclusion.values[number];
3
3
  export declare namespace Inclusion {
4
4
  const values: readonly ["INCLUDE", "EXCLUDE", "ONLY"];
5
5
  const type: isly.Type<"INCLUDE" | "EXCLUDE" | "ONLY">;
6
- const is: isly.Type.IsFunction<"INCLUDE" | "EXCLUDE" | "ONLY">;
6
+ const is: (value: any | ("INCLUDE" | "EXCLUDE" | "ONLY")) => value is "INCLUDE" | "EXCLUDE" | "ONLY";
7
7
  }
@@ -3,5 +3,5 @@ export type InvokingSystem = typeof InvokingSystem.types[number];
3
3
  export declare namespace InvokingSystem {
4
4
  const types: readonly ["PORTAL", "PORTAL_2", "REST_API", "FAB", "REST_API_PORTAL", "REST_API_EXTERNAL", "SOAP_API_FAB", "SOAP_API_EXTERNAL", "CRON", "UNKNOWN", "UNDEFINED"];
5
5
  const type: isly.Type<"UNKNOWN" | "PORTAL" | "PORTAL_2" | "REST_API" | "FAB" | "REST_API_PORTAL" | "REST_API_EXTERNAL" | "SOAP_API_FAB" | "SOAP_API_EXTERNAL" | "CRON" | "UNDEFINED">;
6
- const is: isly.Type.IsFunction<"UNKNOWN" | "PORTAL" | "PORTAL_2" | "REST_API" | "FAB" | "REST_API_PORTAL" | "REST_API_EXTERNAL" | "SOAP_API_FAB" | "SOAP_API_EXTERNAL" | "CRON" | "UNDEFINED">;
6
+ const is: (value: any | ("UNKNOWN" | "PORTAL" | "PORTAL_2" | "REST_API" | "FAB" | "REST_API_PORTAL" | "REST_API_EXTERNAL" | "SOAP_API_FAB" | "SOAP_API_EXTERNAL" | "CRON" | "UNDEFINED")) => value is "UNKNOWN" | "PORTAL" | "PORTAL_2" | "REST_API" | "FAB" | "REST_API_PORTAL" | "REST_API_EXTERNAL" | "SOAP_API_FAB" | "SOAP_API_EXTERNAL" | "CRON" | "UNDEFINED";
7
7
  }
@@ -1,4 +1,3 @@
1
- import { isly } from "isly";
2
1
  import { MerchantType } from "./MerchantType";
3
2
  export interface MerchantRequest {
4
3
  id?: string;
@@ -7,6 +6,6 @@ export interface MerchantRequest {
7
6
  type?: MerchantType;
8
7
  }
9
8
  export declare namespace MerchantRequest {
10
- const type: isly.object.ExtendableType<MerchantRequest>;
11
- const is: isly.Type.IsFunction<MerchantRequest>;
9
+ const type: import("isly/dist/cjs/object").IslyObject<MerchantRequest, object>;
10
+ const is: (value: MerchantRequest | any) => value is MerchantRequest;
12
11
  }
@@ -1,5 +1,4 @@
1
1
  import { Currency } from "isoly";
2
- import { isly } from "isly";
3
2
  import { BeneficiaryResponse } from "./BeneficiaryResponse";
4
3
  import { MerchantType } from "./MerchantType";
5
4
  export interface MerchantResponse {
@@ -11,6 +10,6 @@ export interface MerchantResponse {
11
10
  beneficiaries?: Partial<Record<Currency, BeneficiaryResponse>>;
12
11
  }
13
12
  export declare namespace MerchantResponse {
14
- const type: isly.object.ExtendableType<MerchantResponse>;
15
- const is: isly.Type.IsFunction<MerchantResponse>;
13
+ const type: import("isly/dist/cjs/object").IslyObject<MerchantResponse, object>;
14
+ const is: (value: MerchantResponse | any) => value is MerchantResponse;
16
15
  }
@@ -3,5 +3,5 @@ export type MerchantType = typeof MerchantType.types[number];
3
3
  export declare namespace MerchantType {
4
4
  const types: readonly ["flight", "hotel"];
5
5
  const type: isly.Type<"flight" | "hotel">;
6
- const is: isly.Type.IsFunction<"flight" | "hotel">;
6
+ const is: (value: any | ("flight" | "hotel")) => value is "flight" | "hotel";
7
7
  }
@@ -1,9 +1,8 @@
1
- import { isly } from "isly";
2
1
  import { OrganisationRequest } from "./OrganisationRequest";
3
2
  export interface OrganisationCreateRequest extends OrganisationRequest {
4
3
  code: string;
5
4
  }
6
5
  export declare namespace OrganisationCreateRequest {
7
- const type: isly.object.ExtendableType<OrganisationCreateRequest>;
8
- const is: isly.Type.IsFunction<OrganisationCreateRequest>;
6
+ const type: import("isly/dist/cjs/object").IslyObject<OrganisationCreateRequest, OrganisationRequest>;
7
+ const is: (value: OrganisationCreateRequest | any) => value is OrganisationCreateRequest;
9
8
  }
@@ -1,10 +1,9 @@
1
- import { isly } from "isly";
2
1
  import { OrganisationStatus } from "./OrganisationStatus";
3
2
  export interface OrganisationRequest {
4
3
  name: string;
5
4
  status: OrganisationStatus;
6
5
  }
7
6
  export declare namespace OrganisationRequest {
8
- const type: isly.object.ExtendableType<OrganisationRequest>;
9
- const is: isly.Type.IsFunction<OrganisationRequest>;
7
+ const type: import("isly/dist/cjs/object").IslyObject<OrganisationRequest, object>;
8
+ const is: (value: OrganisationRequest | any) => value is OrganisationRequest;
10
9
  }
@@ -1,4 +1,3 @@
1
- import { isly } from "isly";
2
1
  import { OrganisationStatus } from "./OrganisationStatus";
3
2
  export interface OrganisationResponse {
4
3
  code: string;
@@ -6,6 +5,6 @@ export interface OrganisationResponse {
6
5
  status: OrganisationStatus;
7
6
  }
8
7
  export declare namespace OrganisationResponse {
9
- const type: isly.object.ExtendableType<OrganisationResponse>;
10
- const is: isly.Type.IsFunction<OrganisationResponse>;
8
+ const type: import("isly/dist/cjs/object").IslyObject<OrganisationResponse, object>;
9
+ const is: (value: OrganisationResponse | any) => value is OrganisationResponse;
11
10
  }
@@ -3,5 +3,5 @@ export type OrganisationStatus = typeof OrganisationStatus.values[number];
3
3
  export declare namespace OrganisationStatus {
4
4
  const values: readonly ["ACTIVE", "INACTIVE", "DELETED"];
5
5
  const type: isly.Type<"ACTIVE" | "INACTIVE" | "DELETED">;
6
- const is: isly.Type.IsFunction<"ACTIVE" | "INACTIVE" | "DELETED">;
6
+ const is: (value: any | ("ACTIVE" | "INACTIVE" | "DELETED")) => value is "ACTIVE" | "INACTIVE" | "DELETED";
7
7
  }
@@ -2,5 +2,5 @@ import { isly } from "isly";
2
2
  export type PaymentAccountState = "active" | "inactive" | "deleted" | "expired" | "pending" | "approved" | "declined";
3
3
  export declare namespace PaymentAccountState {
4
4
  const type: isly.Type<"active" | "inactive" | "pending" | "expired" | "deleted" | "approved" | "declined">;
5
- const is: isly.Type.IsFunction<"active" | "inactive" | "pending" | "expired" | "deleted" | "approved" | "declined">;
5
+ const is: (value: any | ("active" | "inactive" | "pending" | "expired" | "deleted" | "approved" | "declined")) => value is "active" | "inactive" | "pending" | "expired" | "deleted" | "approved" | "declined";
6
6
  }
@@ -1,10 +1,9 @@
1
1
  import { Date } from "isoly";
2
- import { isly } from "isly";
3
2
  export interface PaymentAmountScheduleRequest {
4
3
  amount: number;
5
4
  date: Date;
6
5
  }
7
6
  export declare namespace PaymentAmountScheduleRequest {
8
- const type: isly.object.ExtendableType<PaymentAmountScheduleRequest>;
9
- const is: isly.Type.IsFunction<PaymentAmountScheduleRequest>;
7
+ const type: import("isly/dist/cjs/object").IslyObject<PaymentAmountScheduleRequest, object>;
8
+ const is: (value: PaymentAmountScheduleRequest | any) => value is PaymentAmountScheduleRequest;
10
9
  }
@@ -1,10 +1,9 @@
1
1
  import { Date } from "isoly";
2
- import { isly } from "isly";
3
2
  export interface PaymentAmountScheduleResponse {
4
3
  amount: number;
5
4
  date: Date;
6
5
  }
7
6
  export declare namespace PaymentAmountScheduleResponse {
8
- const type: isly.object.ExtendableType<PaymentAmountScheduleResponse>;
9
- const is: isly.Type.IsFunction<PaymentAmountScheduleResponse>;
7
+ const type: import("isly/dist/cjs/object").IslyObject<PaymentAmountScheduleResponse, object>;
8
+ const is: (value: PaymentAmountScheduleResponse | any) => value is PaymentAmountScheduleResponse;
10
9
  }
@@ -1,4 +1,3 @@
1
- import { isly } from "isly";
2
1
  import { PaymentCardUsage } from "./PaymentCardUsage";
3
2
  export interface PaymentCardCreateRequest {
4
3
  cardType: string;
@@ -6,6 +5,6 @@ export interface PaymentCardCreateRequest {
6
5
  usage?: PaymentCardUsage;
7
6
  }
8
7
  export declare namespace PaymentCardCreateRequest {
9
- const type: isly.object.ExtendableType<PaymentCardCreateRequest>;
10
- const is: isly.Type.IsFunction<PaymentCardCreateRequest>;
8
+ const type: import("isly/dist/cjs/object").IslyObject<PaymentCardCreateRequest, object>;
9
+ const is: (value: PaymentCardCreateRequest | any) => value is PaymentCardCreateRequest;
11
10
  }
@@ -2,5 +2,5 @@ import { isly } from "isly";
2
2
  export type PaymentCardUsage = "single" | "multiple" | "single allow test auth";
3
3
  export declare namespace PaymentCardUsage {
4
4
  const type: isly.Type<"multiple" | "single" | "single allow test auth">;
5
- const is: isly.Type.IsFunction<"multiple" | "single" | "single allow test auth">;
5
+ const is: (value: any | ("multiple" | "single" | "single allow test auth")) => value is "multiple" | "single" | "single allow test auth";
6
6
  }
@@ -1,5 +1,4 @@
1
1
  import { Date } from "isoly";
2
- import { isly } from "isly";
3
2
  export interface PaymentDeliveryRequest {
4
3
  type?: string;
5
4
  to: string;
@@ -7,6 +6,6 @@ export interface PaymentDeliveryRequest {
7
6
  lapses: Date;
8
7
  }
9
8
  export declare namespace PaymentDeliveryRequest {
10
- const type: isly.object.ExtendableType<PaymentDeliveryRequest>;
11
- const is: isly.Type.IsFunction<PaymentDeliveryRequest>;
9
+ const type: import("isly/dist/cjs/object").IslyObject<PaymentDeliveryRequest, object>;
10
+ const is: (value: PaymentDeliveryRequest | any) => value is PaymentDeliveryRequest;
12
11
  }
@@ -1,5 +1,4 @@
1
1
  import { Date, DateTime } from "isoly";
2
- import { isly } from "isly";
3
2
  import { PaymentDeliveryState } from "./PaymentDeliveryState";
4
3
  export interface PaymentDeliveryResponse {
5
4
  type: string;
@@ -11,6 +10,6 @@ export interface PaymentDeliveryResponse {
11
10
  reason?: string;
12
11
  }
13
12
  export declare namespace PaymentDeliveryResponse {
14
- const type: isly.object.ExtendableType<PaymentDeliveryResponse>;
15
- const is: isly.Type.IsFunction<PaymentDeliveryResponse>;
13
+ const type: import("isly/dist/cjs/object").IslyObject<PaymentDeliveryResponse, object>;
14
+ const is: (value: PaymentDeliveryResponse | any) => value is PaymentDeliveryResponse;
16
15
  }
@@ -2,5 +2,5 @@ import { isly } from "isly";
2
2
  export type PaymentDeliveryState = "success" | "failure" | "todo" | "pending" | "card declined";
3
3
  export declare namespace PaymentDeliveryState {
4
4
  const type: isly.Type<"pending" | "success" | "failure" | "todo" | "card declined">;
5
- const is: isly.Type.IsFunction<"pending" | "success" | "failure" | "todo" | "card declined">;
5
+ const is: (value: any | ("pending" | "success" | "failure" | "todo" | "card declined")) => value is "pending" | "success" | "failure" | "todo" | "card declined";
6
6
  }
@@ -1,5 +1,4 @@
1
1
  import { Currency } from "isoly";
2
- import { isly } from "isly";
3
2
  import { BookingInfoRequest } from "./BookingInfoRequest";
4
3
  import { MerchantRequest } from "./MerchantRequest";
5
4
  import { PaymentAmountScheduleResponse } from "./PaymentAmountScheduleResponse";
@@ -19,6 +18,6 @@ export interface PaymentRequest {
19
18
  schedule?: PaymentAmountScheduleResponse[];
20
19
  }
21
20
  export declare namespace PaymentRequest {
22
- const type: isly.object.ExtendableType<PaymentRequest>;
23
- const is: isly.Type.IsFunction<PaymentRequest>;
21
+ const type: import("isly/dist/cjs/object").IslyObject<PaymentRequest, object>;
22
+ const is: (value: PaymentRequest | any) => value is PaymentRequest;
24
23
  }
@@ -1,4 +1,3 @@
1
- import { isly } from "isly";
2
1
  import { BasePaymentResponse } from "./BasePaymentResponse";
3
2
  import { CardResponseV3 } from "./CardResponseV3";
4
3
  import { TransferResponseV3 } from "./TransferResponseV3";
@@ -7,6 +6,6 @@ export interface PaymentResponse extends BasePaymentResponse {
7
6
  transfer?: TransferResponseV3;
8
7
  }
9
8
  export declare namespace PaymentResponse {
10
- const type: isly.object.ExtendableType<PaymentResponse>;
11
- const is: isly.Type.IsFunction<PaymentResponse>;
9
+ const type: import("isly/dist/cjs/object").IslyObject<PaymentResponse, BasePaymentResponse>;
10
+ const is: (value: PaymentResponse | any) => value is PaymentResponse;
12
11
  }
@@ -1,4 +1,3 @@
1
- import { isly } from "isly";
2
1
  import { PaymentStatus } from "./PaymentStatus";
3
2
  import { ProviderCode } from "./ProviderCode";
4
3
  export interface PaymentSearch {
@@ -10,6 +9,6 @@ export interface PaymentSearch {
10
9
  providerCode?: ProviderCode[];
11
10
  }
12
11
  export declare namespace PaymentSearch {
13
- const type: isly.object.ExtendableType<PaymentSearch>;
14
- const is: isly.Type.IsFunction<PaymentSearch>;
12
+ const type: import("isly/dist/cjs/object").IslyObject<PaymentSearch, object>;
13
+ const is: (value: PaymentSearch | any) => value is PaymentSearch;
15
14
  }
@@ -3,5 +3,5 @@ export type PaymentStatus = typeof PaymentStatus.values[number];
3
3
  export declare namespace PaymentStatus {
4
4
  const values: readonly ["active", "completed", "rejected", "frozen", "closed", "expired", "pending", "approved", "declined"];
5
5
  const type: isly.Type<"frozen" | "active" | "closed" | "pending" | "expired" | "completed" | "rejected" | "approved" | "declined">;
6
- const is: isly.Type.IsFunction<"frozen" | "active" | "closed" | "pending" | "expired" | "completed" | "rejected" | "approved" | "declined">;
6
+ const is: (value: any | ("frozen" | "active" | "closed" | "pending" | "expired" | "completed" | "rejected" | "approved" | "declined")) => value is "frozen" | "active" | "closed" | "pending" | "expired" | "completed" | "rejected" | "approved" | "declined";
7
7
  }
@@ -1,9 +1,8 @@
1
- import { isly } from "isly";
2
1
  export interface PaymentTransferCreateRequest {
3
2
  beneficiary?: string;
4
3
  reference?: string;
5
4
  }
6
5
  export declare namespace PaymentTransferCreateRequest {
7
- const type: isly.object.ExtendableType<PaymentTransferCreateRequest>;
8
- const is: isly.Type.IsFunction<PaymentTransferCreateRequest>;
6
+ const type: import("isly/dist/cjs/object").IslyObject<PaymentTransferCreateRequest, object>;
7
+ const is: (value: PaymentTransferCreateRequest | any) => value is PaymentTransferCreateRequest;
9
8
  }
@@ -3,5 +3,5 @@ export type ProviderCode = typeof ProviderCode.types[number];
3
3
  export declare namespace ProviderCode {
4
4
  const types: readonly ["conferma", "ixaris", "wex", "fake", "lodged", "modulr", "unknown", "pax2pay"];
5
5
  const type: isly.Type<"unknown" | "conferma" | "ixaris" | "wex" | "fake" | "lodged" | "modulr" | "pax2pay">;
6
- const is: isly.Type.IsFunction<"unknown" | "conferma" | "ixaris" | "wex" | "fake" | "lodged" | "modulr" | "pax2pay">;
6
+ const is: (value: any | ("unknown" | "conferma" | "ixaris" | "wex" | "fake" | "lodged" | "modulr" | "pax2pay")) => value is "unknown" | "conferma" | "ixaris" | "wex" | "fake" | "lodged" | "modulr" | "pax2pay";
7
7
  }
@@ -1,9 +1,8 @@
1
- import { isly } from "isly";
2
1
  export interface Range<T> {
3
2
  start?: T;
4
3
  end?: T;
5
4
  }
6
5
  export declare namespace Range {
7
- const type: isly.object.ExtendableType<Range<any>>;
8
- const is: isly.Type.IsFunction<Range<any>>;
6
+ const type: import("isly/dist/cjs/object").IslyObject<Range<any>, object>;
7
+ const is: (value: Range<any> | any) => value is Range<any>;
9
8
  }
@@ -1,9 +1,8 @@
1
- import { isly } from "isly";
2
1
  export interface SecurityConfig {
3
2
  enforce2fa?: boolean;
4
3
  passwordExpirationDays?: number;
5
4
  }
6
5
  export declare namespace SecurityConfig {
7
- const type: isly.object.ExtendableType<SecurityConfig>;
8
- const is: isly.Type.IsFunction<SecurityConfig>;
6
+ const type: import("isly/dist/cjs/object").IslyObject<SecurityConfig, object>;
7
+ const is: (value: SecurityConfig | any) => value is SecurityConfig;
9
8
  }
@@ -1,4 +1,3 @@
1
- import { isly } from "isly";
2
1
  import { ProviderCode } from "./ProviderCode";
3
2
  export interface SummaryCardResponseV3 {
4
3
  id: string;
@@ -8,6 +7,6 @@ export interface SummaryCardResponseV3 {
8
7
  pan: string;
9
8
  }
10
9
  export declare namespace SummaryCardResponseV3 {
11
- const type: isly.object.ExtendableType<SummaryCardResponseV3>;
12
- const is: isly.Type.IsFunction<SummaryCardResponseV3>;
10
+ const type: import("isly/dist/cjs/object").IslyObject<SummaryCardResponseV3, object>;
11
+ const is: (value: SummaryCardResponseV3 | any) => value is SummaryCardResponseV3;
13
12
  }
@@ -1,8 +1,7 @@
1
- import { isly } from "isly";
2
1
  export interface SummaryMerchantResponse {
3
2
  name: string;
4
3
  }
5
4
  export declare namespace SummaryMerchantResponse {
6
- const type: isly.object.ExtendableType<SummaryMerchantResponse>;
7
- const is: isly.Type.IsFunction<SummaryMerchantResponse>;
5
+ const type: import("isly/dist/cjs/object").IslyObject<SummaryMerchantResponse, object>;
6
+ const is: (value: SummaryMerchantResponse | any) => value is SummaryMerchantResponse;
8
7
  }
@@ -1,10 +1,9 @@
1
- import { isly } from "isly";
2
1
  export interface TransferResponseV3 {
3
2
  beneficiary?: string;
4
3
  reference: string;
5
4
  providerTransferId: string;
6
5
  }
7
6
  export declare namespace TransferResponseV3 {
8
- const type: isly.object.ExtendableType<TransferResponseV3>;
9
- const is: isly.Type.IsFunction<TransferResponseV3>;
7
+ const type: import("isly/dist/cjs/object").IslyObject<TransferResponseV3, object>;
8
+ const is: (value: TransferResponseV3 | any) => value is TransferResponseV3;
10
9
  }
@@ -1,5 +1,4 @@
1
1
  import * as isoly from "isoly";
2
- import { isly } from "isly";
3
2
  import { ProviderCode } from "./ProviderCode";
4
3
  import { Range } from "./Range";
5
4
  import { TransferStatus } from "./TransferStatus";
@@ -13,6 +12,6 @@ export interface TransferSearch {
13
12
  sourceProviderAccountId?: string;
14
13
  }
15
14
  export declare namespace TransferSearch {
16
- const type: isly.object.ExtendableType<TransferSearch>;
17
- const is: isly.Type.IsFunction<TransferSearch>;
15
+ const type: import("isly/dist/cjs/object").IslyObject<TransferSearch, object>;
16
+ const is: (value: TransferSearch | any) => value is TransferSearch;
18
17
  }
@@ -1,4 +1,3 @@
1
- import { isly } from "isly";
2
1
  import { AccountState } from "./AccountState";
3
2
  import { FundingLimitRequest } from "./FundingLimitRequest";
4
3
  export interface UpdateAccountRequest {
@@ -7,6 +6,6 @@ export interface UpdateAccountRequest {
7
6
  fundingLimit?: FundingLimitRequest;
8
7
  }
9
8
  export declare namespace UpdateAccountRequest {
10
- const type: isly.object.ExtendableType<UpdateAccountRequest>;
11
- const is: isly.Type.IsFunction<UpdateAccountRequest>;
9
+ const type: import("isly/dist/cjs/object").IslyObject<UpdateAccountRequest, object>;
10
+ const is: (value: UpdateAccountRequest | any) => value is UpdateAccountRequest;
12
11
  }
@@ -3,5 +3,5 @@ export type UserStatus = typeof UserStatus.types[number];
3
3
  export declare namespace UserStatus {
4
4
  const types: readonly ["ACTIVE", "INACTIVE", "DELETED", "PASSWORD_EXPIRED"];
5
5
  const type: isly.Type<"ACTIVE" | "INACTIVE" | "DELETED" | "PASSWORD_EXPIRED">;
6
- const is: isly.Type.IsFunction<"ACTIVE" | "INACTIVE" | "DELETED" | "PASSWORD_EXPIRED">;
6
+ const is: (value: any | ("ACTIVE" | "INACTIVE" | "DELETED" | "PASSWORD_EXPIRED")) => value is "ACTIVE" | "INACTIVE" | "DELETED" | "PASSWORD_EXPIRED";
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/client",
3
- "version": "0.3.117",
3
+ "version": "0.3.118",
4
4
  "description": "Client library for the Pax2Pay API",
5
5
  "author": "Pax2Pay Ltd.",
6
6
  "license": "MIT",
@@ -71,7 +71,7 @@
71
71
  },
72
72
  "dependencies": {
73
73
  "isoly": "^0.1.16",
74
- "isly": "^0.1.13",
74
+ "isly": "^0.1.20",
75
75
  "isomorphic-fetch": "^3.0.0",
76
76
  "math-exact": "^1.0.5"
77
77
  },