@pax2pay/client 0.3.13 → 0.3.14

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,11 +1,16 @@
1
+ import { Currency } from "isoly";
1
2
  import { CardDeliveryEmailConfig } from "./CardDeliveryEmailConfig";
2
3
  import { CardTypesConfig } from "./CardTypesConfig";
3
4
  import { FundingAccountInboundTransferNotificationConfig } from "./FundingAccountInboundTransferNotificationConfig";
4
5
  import { FundingLimitConfig } from "./FundingLimitConfig";
6
+ import { ProviderCode } from "./ProviderCode";
5
7
  export interface OrganisationConfig {
6
8
  showDefaultRolesets?: boolean;
7
9
  defaultModulrUsage?: "SINGLE_USE" | "SINGLE_USE_ALLOW_TEST_AUTH" | "MULTIPLE_USE";
8
10
  defaultExpiryMonthDelta?: number;
11
+ defaultExpiryMonthDeltaPerCurrency?: Partial<Record<Currency, number>>;
12
+ defaultPortalCardType?: Partial<Record<ProviderCode, string>>;
13
+ defaultPortalFundingAccount?: Partial<Record<ProviderCode, string>>;
9
14
  cardTypes?: CardTypesConfig;
10
15
  inboundTransferConfig?: FundingAccountInboundTransferNotificationConfig;
11
16
  fundingLimitConfig?: FundingLimitConfig;
@@ -1,7 +1,9 @@
1
+ import { Currency } from "isoly"
1
2
  import { CardDeliveryEmailConfig } from "./CardDeliveryEmailConfig"
2
3
  import { CardTypesConfig } from "./CardTypesConfig"
3
4
  import { FundingAccountInboundTransferNotificationConfig } from "./FundingAccountInboundTransferNotificationConfig"
4
5
  import { FundingLimitConfig } from "./FundingLimitConfig"
6
+ import { ProviderCode } from "./ProviderCode"
5
7
  /**
6
8
  * Organisation config, optional
7
9
  */
@@ -9,6 +11,9 @@ export interface OrganisationConfig {
9
11
  showDefaultRolesets?: boolean
10
12
  defaultModulrUsage?: "SINGLE_USE" | "SINGLE_USE_ALLOW_TEST_AUTH" | "MULTIPLE_USE"
11
13
  defaultExpiryMonthDelta?: number
14
+ defaultExpiryMonthDeltaPerCurrency?: Partial<Record<Currency, number>>
15
+ defaultPortalCardType?: Partial<Record<ProviderCode, string>>
16
+ defaultPortalFundingAccount?: Partial<Record<ProviderCode, string>>
12
17
  cardTypes?: CardTypesConfig
13
18
  inboundTransferConfig?: FundingAccountInboundTransferNotificationConfig
14
19
  fundingLimitConfig?: FundingLimitConfig
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/client",
3
- "version": "0.3.13",
3
+ "version": "0.3.14",
4
4
  "description": "Client library for the Pax2Pay API",
5
5
  "author": "Pax2Pay Ltd.",
6
6
  "license": "MIT",