@pax2pay/client 0.9.14 → 0.9.16
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.
- package/Client/Configuration/index.ts +17 -14
- package/dist/Client/Configuration/index.d.ts +6 -6
- package/dist/Client/Configuration/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/model/{ApprovalNotificationConfig.d.ts → Config/ApprovalNotification.d.ts} +3 -3
- package/dist/model/Config/ApprovalNotification.js +10 -0
- package/dist/model/Config/ApprovalNotification.js.map +1 -0
- package/dist/model/Config/CardDeliveryEmail.d.ts +9 -0
- package/dist/model/Config/CardDeliveryEmail.js +11 -0
- package/dist/model/Config/CardDeliveryEmail.js.map +1 -0
- package/dist/model/{CardTypesConfig.d.ts → Config/CardTypes.d.ts} +4 -4
- package/dist/model/{CardTypesConfig.js → Config/CardTypes.js} +6 -6
- package/dist/model/Config/CardTypes.js.map +1 -0
- package/dist/model/Config/ForcedSettlementNotification.d.ts +8 -0
- package/dist/model/Config/ForcedSettlementNotification.js +10 -0
- package/dist/model/Config/ForcedSettlementNotification.js.map +1 -0
- package/dist/model/Config/FraudEmail.d.ts +8 -0
- package/dist/model/Config/FraudEmail.js +10 -0
- package/dist/model/Config/FraudEmail.js.map +1 -0
- package/dist/model/Config/FundingAccountInboundTransferNotification.d.ts +8 -0
- package/dist/model/Config/FundingAccountInboundTransferNotification.js +10 -0
- package/dist/model/Config/FundingAccountInboundTransferNotification.js.map +1 -0
- package/dist/model/Config/FundingLimit/Limit.js.map +1 -0
- package/dist/model/Config/FundingLimit/index.d.ts +12 -0
- package/dist/model/Config/FundingLimit/index.js +14 -0
- package/dist/model/Config/FundingLimit/index.js.map +1 -0
- package/dist/model/Config/InternalOrganisation.d.ts +14 -0
- package/dist/model/Config/InternalOrganisation.js +16 -0
- package/dist/model/Config/InternalOrganisation.js.map +1 -0
- package/dist/model/Config/Notice/FundingLimit/Configuration.d.ts +10 -0
- package/dist/model/Config/Notice/FundingLimit/Configuration.js +12 -0
- package/dist/model/Config/Notice/FundingLimit/Configuration.js.map +1 -0
- package/dist/model/Config/Notice/FundingLimit/NoticeTriggerType.d.ts +7 -0
- package/dist/model/Config/Notice/FundingLimit/NoticeTriggerType.js +8 -0
- package/dist/model/Config/Notice/FundingLimit/NoticeTriggerType.js.map +1 -0
- package/dist/model/Config/Notice/FundingLimit/index.d.ts +12 -0
- package/dist/model/Config/Notice/FundingLimit/index.js +13 -0
- package/dist/model/Config/Notice/FundingLimit/index.js.map +1 -0
- package/dist/model/Config/Notice/Target/Configuration.d.ts +9 -0
- package/dist/model/Config/Notice/Target/Configuration.js +14 -0
- package/dist/model/Config/Notice/Target/Configuration.js.map +1 -0
- package/dist/model/Config/Notice/Target/Type.d.ts +7 -0
- package/dist/model/Config/Notice/Target/Type.js +8 -0
- package/dist/model/Config/Notice/Target/Type.js.map +1 -0
- package/dist/model/Config/Notice/Target/index.d.ts +25 -0
- package/dist/model/Config/Notice/Target/index.js +26 -0
- package/dist/model/Config/Notice/Target/index.js.map +1 -0
- package/dist/model/Config/Notice/Type.d.ts +7 -0
- package/dist/model/Config/Notice/Type.js +8 -0
- package/dist/model/Config/Notice/Type.js.map +1 -0
- package/dist/model/Config/Notice/index.d.ts +24 -0
- package/dist/model/Config/Notice/index.js +28 -0
- package/dist/model/Config/Notice/index.js.map +1 -0
- package/dist/model/Config/Organisation.d.ts +38 -0
- package/dist/model/Config/Organisation.js +41 -0
- package/dist/model/Config/Organisation.js.map +1 -0
- package/dist/model/Config/Security.d.ts +8 -0
- package/dist/model/Config/Security.js +10 -0
- package/dist/model/Config/Security.js.map +1 -0
- package/dist/model/{SsoProviderType.d.ts → Config/SsoProvider/Type.d.ts} +2 -2
- package/dist/model/Config/SsoProvider/Type.js +8 -0
- package/dist/model/Config/SsoProvider/Type.js.map +1 -0
- package/dist/model/Config/SsoProvider/index.d.ts +13 -0
- package/dist/model/Config/SsoProvider/index.js +15 -0
- package/dist/model/Config/SsoProvider/index.js.map +1 -0
- package/dist/model/Config/User.d.ts +8 -0
- package/dist/model/Config/User.js +10 -0
- package/dist/model/Config/User.js.map +1 -0
- package/dist/model/Config/index.d.ts +28 -0
- package/dist/model/Config/index.js +30 -0
- package/dist/model/Config/index.js.map +1 -0
- package/dist/model/OmnisetupRequest.d.ts +3 -4
- package/dist/model/OmnisetupRequest.js +3 -4
- package/dist/model/OmnisetupRequest.js.map +1 -1
- package/dist/model/OmnisetupResponse.d.ts +3 -4
- package/dist/model/OrganisationResponseV2.d.ts +3 -4
- package/dist/model/OrganisationResponseV2.js +3 -4
- package/dist/model/OrganisationResponseV2.js.map +1 -1
- package/dist/model/index.d.ts +2 -19
- package/dist/model/index.js +2 -14
- package/dist/model/index.js.map +1 -1
- package/index.ts +2 -36
- package/model/{ApprovalNotificationConfig.ts → Config/ApprovalNotification.ts} +4 -3
- package/model/{CardDeliveryEmailConfig.ts → Config/CardDeliveryEmail.ts} +4 -3
- package/model/{CardTypesConfig.ts → Config/CardTypes.ts} +6 -7
- package/model/Config/ForcedSettlementNotification.ts +14 -0
- package/model/{FraudEmailConfig.ts → Config/FraudEmail.ts} +4 -3
- package/model/{FundingAccountInboundTransferNotificationConfig.ts → Config/FundingAccountInboundTransferNotification.ts} +4 -3
- package/model/Config/FundingLimit/index.ts +19 -0
- package/model/Config/InternalOrganisation.ts +23 -0
- package/model/Config/Notice/FundingLimit/Configuration.ts +16 -0
- package/model/Config/Notice/FundingLimit/NoticeTriggerType.ts +9 -0
- package/model/Config/Notice/FundingLimit/index.ts +17 -0
- package/model/Config/Notice/Target/Configuration.ts +19 -0
- package/model/Config/Notice/Target/Type.ts +8 -0
- package/model/Config/Notice/Target/index.ts +35 -0
- package/model/Config/Notice/Type.ts +10 -0
- package/model/Config/Notice/index.ts +34 -0
- package/model/Config/Organisation.ts +65 -0
- package/model/{SecurityConfig.ts → Config/Security.ts} +4 -3
- package/model/{SsoProviderType.ts → Config/SsoProvider/Type.ts} +3 -2
- package/model/{SsoProviderConfig.ts → Config/SsoProvider/index.ts} +7 -3
- package/model/Config/User.ts +12 -0
- package/model/Config/index.ts +30 -0
- package/model/OmnisetupRequest.ts +5 -6
- package/model/OmnisetupResponse.ts +3 -4
- package/model/OrganisationResponseV2.ts +5 -6
- package/model/index.ts +2 -36
- package/package.json +1 -1
- package/dist/model/AllowedMccConfig.d.ts +0 -8
- package/dist/model/AllowedMccConfig.js +0 -10
- package/dist/model/AllowedMccConfig.js.map +0 -1
- package/dist/model/ApprovalNotificationConfig.js +0 -10
- package/dist/model/ApprovalNotificationConfig.js.map +0 -1
- package/dist/model/CardDeliveryEmailConfig.d.ts +0 -9
- package/dist/model/CardDeliveryEmailConfig.js +0 -11
- package/dist/model/CardDeliveryEmailConfig.js.map +0 -1
- package/dist/model/CardTypesConfig.js.map +0 -1
- package/dist/model/ConfigMatchesRequest.d.ts +0 -3
- package/dist/model/ConfigMatchesRequest.js +0 -2
- package/dist/model/ConfigMatchesRequest.js.map +0 -1
- package/dist/model/ConfigMatchesResponse.d.ts +0 -4
- package/dist/model/ConfigMatchesResponse.js +0 -2
- package/dist/model/ConfigMatchesResponse.js.map +0 -1
- package/dist/model/ConfigTypesResponse.d.ts +0 -3
- package/dist/model/ConfigTypesResponse.js +0 -2
- package/dist/model/ConfigTypesResponse.js.map +0 -1
- package/dist/model/ForcedSettlementNotificationConfig.d.ts +0 -8
- package/dist/model/ForcedSettlementNotificationConfig.js +0 -10
- package/dist/model/ForcedSettlementNotificationConfig.js.map +0 -1
- package/dist/model/FraudEmailConfig.d.ts +0 -8
- package/dist/model/FraudEmailConfig.js +0 -10
- package/dist/model/FraudEmailConfig.js.map +0 -1
- package/dist/model/FundingAccountInboundTransferNotificationConfig.d.ts +0 -8
- package/dist/model/FundingAccountInboundTransferNotificationConfig.js +0 -10
- package/dist/model/FundingAccountInboundTransferNotificationConfig.js.map +0 -1
- package/dist/model/FundingLimitConfig.d.ts +0 -10
- package/dist/model/FundingLimitConfig.js +0 -12
- package/dist/model/FundingLimitConfig.js.map +0 -1
- package/dist/model/InternalOrganisationConfig.d.ts +0 -16
- package/dist/model/InternalOrganisationConfig.js +0 -18
- package/dist/model/InternalOrganisationConfig.js.map +0 -1
- package/dist/model/Limit.js.map +0 -1
- package/dist/model/OrganisationConfig.d.ts +0 -36
- package/dist/model/OrganisationConfig.js +0 -39
- package/dist/model/OrganisationConfig.js.map +0 -1
- package/dist/model/Payload.d.ts +0 -6
- package/dist/model/Payload.js +0 -2
- package/dist/model/Payload.js.map +0 -1
- package/dist/model/SecurityConfig.d.ts +0 -8
- package/dist/model/SecurityConfig.js +0 -10
- package/dist/model/SecurityConfig.js.map +0 -1
- package/dist/model/SsoProviderConfig.d.ts +0 -11
- package/dist/model/SsoProviderConfig.js +0 -13
- package/dist/model/SsoProviderConfig.js.map +0 -1
- package/dist/model/SsoProviderType.js +0 -8
- package/dist/model/SsoProviderType.js.map +0 -1
- package/dist/model/UserConfig.d.ts +0 -6
- package/dist/model/UserConfig.js +0 -2
- package/dist/model/UserConfig.js.map +0 -1
- package/model/AllowedMccConfig.ts +0 -14
- package/model/ConfigMatchesRequest.ts +0 -3
- package/model/ConfigMatchesResponse.ts +0 -4
- package/model/ConfigTypesResponse.ts +0 -3
- package/model/ForcedSettlementNotificationConfig.ts +0 -13
- package/model/FundingLimitConfig.ts +0 -15
- package/model/InternalOrganisationConfig.ts +0 -25
- package/model/OrganisationConfig.ts +0 -60
- package/model/Payload.ts +0 -10
- package/model/UserConfig.ts +0 -7
- /package/dist/model/{Limit.d.ts → Config/FundingLimit/Limit.d.ts} +0 -0
- /package/dist/model/{Limit.js → Config/FundingLimit/Limit.js} +0 -0
- /package/model/{Limit.ts → Config/FundingLimit/Limit.ts} +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
import { FundingLimit } from "."
|
|
3
|
+
import { NoticeTriggerType } from "./NoticeTriggerType"
|
|
4
|
+
|
|
5
|
+
export interface Configuration {
|
|
6
|
+
accounts: FundingLimit[]
|
|
7
|
+
type?: NoticeTriggerType
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export namespace Configuration {
|
|
11
|
+
export const type = isly.object<Configuration>({
|
|
12
|
+
accounts: FundingLimit.type.array(),
|
|
13
|
+
type: NoticeTriggerType.type.optional(),
|
|
14
|
+
})
|
|
15
|
+
export const is = type.is
|
|
16
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
|
|
3
|
+
export type NoticeTriggerType = typeof NoticeTriggerType.values[number]
|
|
4
|
+
|
|
5
|
+
export namespace NoticeTriggerType {
|
|
6
|
+
export const values = ["ON_THRESHOLD", "TIMED_ONLY", "ON_THRESHOLD_AND_TIMED"] as const
|
|
7
|
+
export const type = isly.string(values)
|
|
8
|
+
export const is = type.is
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Currency } from "isoly"
|
|
2
|
+
import { isly } from "isly"
|
|
3
|
+
import { Configuration as FConfiguration } from "./Configuration"
|
|
4
|
+
export interface FundingLimit {
|
|
5
|
+
accountId: string
|
|
6
|
+
threshold: number
|
|
7
|
+
currency?: Currency
|
|
8
|
+
}
|
|
9
|
+
export namespace FundingLimit {
|
|
10
|
+
export const type = isly.object<FundingLimit>({
|
|
11
|
+
accountId: isly.string(),
|
|
12
|
+
threshold: isly.number(),
|
|
13
|
+
currency: isly.string<Currency>().optional(),
|
|
14
|
+
})
|
|
15
|
+
export const is = type.is
|
|
16
|
+
export import Configuration = FConfiguration
|
|
17
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
import { Type } from "./Type"
|
|
3
|
+
|
|
4
|
+
export interface Configuration {
|
|
5
|
+
type: Type
|
|
6
|
+
value?: string
|
|
7
|
+
emails?: string[]
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export namespace Configuration {
|
|
11
|
+
export const type = isly.object<Configuration>({
|
|
12
|
+
type: Type.type,
|
|
13
|
+
value: isly.string().optional(),
|
|
14
|
+
emails: isly
|
|
15
|
+
.string(/\S+@\S+\.\S+/)
|
|
16
|
+
.array()
|
|
17
|
+
.optional(),
|
|
18
|
+
})
|
|
19
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
import { Configuration as TConfguration } from "./Configuration"
|
|
3
|
+
import { Type as TargetType } from "./Type"
|
|
4
|
+
// ConfigurableNoticeTarget
|
|
5
|
+
export type Target = Target.Organisation | Target.User
|
|
6
|
+
|
|
7
|
+
export namespace Target {
|
|
8
|
+
// OrganisationConfigurableNoticeTarget
|
|
9
|
+
export interface Organisation {
|
|
10
|
+
type: "ORGANISATION"
|
|
11
|
+
}
|
|
12
|
+
export namespace Organisation {
|
|
13
|
+
export const type = isly.object<Organisation>({
|
|
14
|
+
type: isly.string("ORGANISATION"),
|
|
15
|
+
})
|
|
16
|
+
export const is = type.is
|
|
17
|
+
}
|
|
18
|
+
// UserConfigurableNoticeTarget
|
|
19
|
+
export interface User {
|
|
20
|
+
type: "USER"
|
|
21
|
+
username: string
|
|
22
|
+
}
|
|
23
|
+
export namespace User {
|
|
24
|
+
export const type = isly.object<User>({
|
|
25
|
+
type: isly.string("USER"),
|
|
26
|
+
username: isly.string(),
|
|
27
|
+
})
|
|
28
|
+
export const is = type.is
|
|
29
|
+
}
|
|
30
|
+
export const type = isly.union<Target>(Organisation.type, User.type)
|
|
31
|
+
export const is = type.is
|
|
32
|
+
|
|
33
|
+
export import Configuration = TConfguration
|
|
34
|
+
export import Type = TargetType
|
|
35
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
import { Configuration as FConfiguration } from "./FundingLimit/Configuration"
|
|
3
|
+
import { Target as NTarget } from "./Target"
|
|
4
|
+
import { Type as NType } from "./Type"
|
|
5
|
+
|
|
6
|
+
export namespace Notice {
|
|
7
|
+
export interface Base<T extends Type = Type, C = any> {
|
|
8
|
+
type: T
|
|
9
|
+
configuration?: C
|
|
10
|
+
targets?: Target[]
|
|
11
|
+
}
|
|
12
|
+
export namespace Base {
|
|
13
|
+
export const type = isly.object<Notice.Base>({
|
|
14
|
+
type: NType.type,
|
|
15
|
+
configuration: isly.any().optional(),
|
|
16
|
+
targets: isly.array(NTarget.type).optional(),
|
|
17
|
+
})
|
|
18
|
+
export const is = type.is
|
|
19
|
+
}
|
|
20
|
+
// FundingLimitNoticeConfiguration
|
|
21
|
+
export type FundingLimit = Notice.Base<"FUNDING_LIMIT", FConfiguration>
|
|
22
|
+
export import Target = NTarget
|
|
23
|
+
export import Type = NType
|
|
24
|
+
export namespace FundingLimit {
|
|
25
|
+
export const type = Notice.Base.type.extend<FundingLimit>({
|
|
26
|
+
type: isly.string("FUNDING_LIMIT"),
|
|
27
|
+
configuration: FConfiguration.type.optional(),
|
|
28
|
+
})
|
|
29
|
+
export import Configuration = FConfiguration
|
|
30
|
+
}
|
|
31
|
+
export const type = isly.union<Notice>(FundingLimit.type)
|
|
32
|
+
}
|
|
33
|
+
// NoticeConfiguration
|
|
34
|
+
export type Notice = Notice.FundingLimit
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Currency } from "isoly"
|
|
2
|
+
import { isly } from "isly"
|
|
3
|
+
import { ProviderCode } from "../ProviderCode"
|
|
4
|
+
import { Usage } from "../Usage"
|
|
5
|
+
import { ApprovalNotification } from "./ApprovalNotification"
|
|
6
|
+
import { CardDeliveryEmail } from "./CardDeliveryEmail"
|
|
7
|
+
import { CardTypes } from "./CardTypes"
|
|
8
|
+
import { ForcedSettlementNotification } from "./ForcedSettlementNotification"
|
|
9
|
+
import { FraudEmail } from "./FraudEmail"
|
|
10
|
+
import { FundingAccountInboundTransferNotification } from "./FundingAccountInboundTransferNotification"
|
|
11
|
+
import { FundingLimit } from "./FundingLimit"
|
|
12
|
+
import { Notice } from "./Notice"
|
|
13
|
+
import { Security } from "./Security"
|
|
14
|
+
import { SsoProvider } from "./SsoProvider"
|
|
15
|
+
/**
|
|
16
|
+
* Organisation config, optional
|
|
17
|
+
*/
|
|
18
|
+
// OrganisationConfig
|
|
19
|
+
export interface Organisation {
|
|
20
|
+
showDefaultRolesets?: boolean
|
|
21
|
+
defaultModulrUsage?: Usage
|
|
22
|
+
defaultExpiryMonthDelta?: number
|
|
23
|
+
defaultExpiryMonthDeltaPerCurrency?: Partial<Record<Currency, number>>
|
|
24
|
+
defaultPortalCardType?: Partial<Record<ProviderCode, string>>
|
|
25
|
+
defaultPortalFundingAccount?: Partial<Record<ProviderCode, string>>
|
|
26
|
+
cardTypes?: CardTypes
|
|
27
|
+
inboundTransferConfig?: FundingAccountInboundTransferNotification
|
|
28
|
+
approvalNotificationConfig?: ApprovalNotification
|
|
29
|
+
fundingLimitConfig?: FundingLimit
|
|
30
|
+
cardDeliveryEmailConfig?: CardDeliveryEmail
|
|
31
|
+
portalHideMultipleUseOption?: boolean
|
|
32
|
+
securityConfig?: Security
|
|
33
|
+
fraudEmailConfig?: FraudEmail
|
|
34
|
+
sso?: Partial<Record<SsoProvider.Type, SsoProvider>>
|
|
35
|
+
forcedSettlementNotificationConfig?: ForcedSettlementNotification
|
|
36
|
+
noticeConfigurations?: Notice[]
|
|
37
|
+
portalMetadataFormatOrdering?: string[]
|
|
38
|
+
noticeTargetConfigurations?: Notice.Target.Configuration[]
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export namespace Organisation {
|
|
42
|
+
const currencyType = isly.fromIs<Currency>("Currency", Currency.is)
|
|
43
|
+
export const type = isly.object<Organisation>({
|
|
44
|
+
showDefaultRolesets: isly.boolean().optional(),
|
|
45
|
+
defaultModulrUsage: Usage.type.optional(),
|
|
46
|
+
defaultExpiryMonthDelta: isly.number().optional(),
|
|
47
|
+
defaultExpiryMonthDeltaPerCurrency: isly.record(currencyType, isly.number()).optional(),
|
|
48
|
+
defaultPortalCardType: isly.record(ProviderCode.type, isly.string()).optional(),
|
|
49
|
+
defaultPortalFundingAccount: isly.record(ProviderCode.type, isly.string()).optional(),
|
|
50
|
+
cardTypes: CardTypes.type.optional(),
|
|
51
|
+
inboundTransferConfig: FundingAccountInboundTransferNotification.type.optional(),
|
|
52
|
+
approvalNotificationConfig: ApprovalNotification.type.optional(),
|
|
53
|
+
fundingLimitConfig: FundingLimit.type.optional(),
|
|
54
|
+
cardDeliveryEmailConfig: CardDeliveryEmail.type.optional(),
|
|
55
|
+
portalHideMultipleUseOption: isly.boolean().optional(),
|
|
56
|
+
securityConfig: Security.type.optional(),
|
|
57
|
+
fraudEmailConfig: FraudEmail.type.optional(),
|
|
58
|
+
sso: isly.record(SsoProvider.Type.type, SsoProvider.type).optional(),
|
|
59
|
+
forcedSettlementNotificationConfig: ForcedSettlementNotification.type.optional(),
|
|
60
|
+
noticeConfigurations: isly.array(Notice.type).optional(),
|
|
61
|
+
portalMetadataFormatOrdering: isly.string().array().optional(),
|
|
62
|
+
noticeTargetConfigurations: Notice.Target.Configuration.type.array().optional(),
|
|
63
|
+
})
|
|
64
|
+
export const is = type.is
|
|
65
|
+
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { isly } from "isly"
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// OrganisationSecurityConfig
|
|
4
|
+
export interface Security {
|
|
4
5
|
enforce2fa?: boolean
|
|
5
6
|
passwordExpirationDays?: number
|
|
6
7
|
}
|
|
7
|
-
export namespace
|
|
8
|
-
export const type = isly.object<
|
|
8
|
+
export namespace Security {
|
|
9
|
+
export const type = isly.object<Security>({
|
|
9
10
|
enforce2fa: isly.boolean().optional(),
|
|
10
11
|
passwordExpirationDays: isly.number().optional(),
|
|
11
12
|
})
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { isly } from "isly"
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// SsoProviderType
|
|
4
|
+
export type Type = typeof Type.values[number]
|
|
4
5
|
|
|
5
|
-
export namespace
|
|
6
|
+
export namespace Type {
|
|
6
7
|
export const values = ["GOOGLE"] as const
|
|
7
8
|
export const type = isly.string(values)
|
|
8
9
|
export const is = type.is
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { isly } from "isly"
|
|
2
|
+
import { Type as SsoProviderType } from "./Type"
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
// SsoProviderConfig
|
|
5
|
+
export interface SsoProvider {
|
|
4
6
|
enabled?: boolean
|
|
5
7
|
domains?: string[]
|
|
6
8
|
allowPasswordLogin?: boolean
|
|
7
9
|
allowEmailEditing?: boolean
|
|
8
10
|
require2fa?: boolean
|
|
9
11
|
}
|
|
10
|
-
export namespace
|
|
11
|
-
export const type = isly.object<
|
|
12
|
+
export namespace SsoProvider {
|
|
13
|
+
export const type = isly.object<SsoProvider>({
|
|
12
14
|
enabled: isly.boolean().optional(),
|
|
13
15
|
domains: isly.string().array().optional(),
|
|
14
16
|
allowPasswordLogin: isly.boolean().optional(),
|
|
@@ -16,4 +18,6 @@ export namespace SsoProviderConfig {
|
|
|
16
18
|
require2fa: isly.boolean().optional(),
|
|
17
19
|
})
|
|
18
20
|
export const is = type.is
|
|
21
|
+
|
|
22
|
+
export import Type = SsoProviderType
|
|
19
23
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
import { CardTypes } from "./CardTypes"
|
|
3
|
+
|
|
4
|
+
export interface User {
|
|
5
|
+
cardTypes?: CardTypes
|
|
6
|
+
}
|
|
7
|
+
export namespace User {
|
|
8
|
+
export const type = isly.object<User>({
|
|
9
|
+
cardTypes: CardTypes.type.optional(),
|
|
10
|
+
})
|
|
11
|
+
export const is = type.is
|
|
12
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ApprovalNotification as TApprovalNotification } from "./ApprovalNotification"
|
|
2
|
+
import { CardDeliveryEmail as TCardDeliveryEmail } from "./CardDeliveryEmail"
|
|
3
|
+
import { CardTypes as CCardTypes } from "./CardTypes"
|
|
4
|
+
import { ForcedSettlementNotification as CForcedSettlementNotification } from "./ForcedSettlementNotification"
|
|
5
|
+
import { FraudEmail as CFraudEmail } from "./FraudEmail"
|
|
6
|
+
import { FundingAccountInboundTransferNotification as CFundingAccountInboundTransferNotification } from "./FundingAccountInboundTransferNotification"
|
|
7
|
+
import { FundingLimit as TFundingLimit } from "./FundingLimit"
|
|
8
|
+
import { InternalOrganisation as CInternalOrganisation } from "./InternalOrganisation"
|
|
9
|
+
import { Notice as CNotice } from "./Notice"
|
|
10
|
+
import { Organisation as COrganisation } from "./Organisation"
|
|
11
|
+
import { Security as CSecurity } from "./Security"
|
|
12
|
+
import { SsoProvider as CSsoProvider } from "./SsoProvider"
|
|
13
|
+
import { User as CUser } from "./User"
|
|
14
|
+
|
|
15
|
+
export namespace Config {
|
|
16
|
+
export import Organisation = COrganisation
|
|
17
|
+
export import InternalOrganisation = CInternalOrganisation
|
|
18
|
+
export import User = CUser
|
|
19
|
+
|
|
20
|
+
export import ApprovalNotification = TApprovalNotification
|
|
21
|
+
export import CardDeliveryEmail = TCardDeliveryEmail
|
|
22
|
+
export import CardTypes = CCardTypes
|
|
23
|
+
export import ForcedSettlementNotification = CForcedSettlementNotification
|
|
24
|
+
export import FraudEmail = CFraudEmail
|
|
25
|
+
export import FundingAccountInboundTransferNotification = CFundingAccountInboundTransferNotification
|
|
26
|
+
export import FundingLimit = TFundingLimit
|
|
27
|
+
export import SsoProvider = CSsoProvider
|
|
28
|
+
export import Security = CSecurity
|
|
29
|
+
export import Notice = CNotice
|
|
30
|
+
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Config } from "./Config"
|
|
2
2
|
import { OmnisetupFlags } from "./OmnisetupFlags"
|
|
3
3
|
import { OmnisetupProviderRequest } from "./OmnisetupProviderRequest"
|
|
4
|
-
import { OrganisationConfig } from "./OrganisationConfig"
|
|
5
4
|
import { OrganisationCreateRequest } from "./OrganisationCreateRequest"
|
|
6
5
|
import { UserRequest } from "./UserRequest"
|
|
7
6
|
|
|
@@ -10,8 +9,8 @@ export interface OmnisetupRequest {
|
|
|
10
9
|
organisation: OrganisationCreateRequest
|
|
11
10
|
users: UserRequest[]
|
|
12
11
|
providers: OmnisetupProviderRequest[]
|
|
13
|
-
organisationConfig?:
|
|
14
|
-
internalOrganisationConfig?:
|
|
12
|
+
organisationConfig?: Config.Organisation
|
|
13
|
+
internalOrganisationConfig?: Config.InternalOrganisation
|
|
15
14
|
sharedRolesets?: string[]
|
|
16
15
|
}
|
|
17
16
|
|
|
@@ -25,9 +24,9 @@ export namespace OmnisetupRequest {
|
|
|
25
24
|
value.users.every((user: any) => UserRequest.is(user)) &&
|
|
26
25
|
Array.isArray(value.providers) &&
|
|
27
26
|
value.providers.every((item: any) => OmnisetupProviderRequest.is(item)) &&
|
|
28
|
-
(value.organisationConfig == undefined ||
|
|
27
|
+
(value.organisationConfig == undefined || Config.Organisation.is(value.organisationConfig)) &&
|
|
29
28
|
(value.internalOrganisationConfig == undefined ||
|
|
30
|
-
|
|
29
|
+
Config.InternalOrganisation.is(value.internalOrganisationConfig)) &&
|
|
31
30
|
(value.sharedRolesets == undefined ||
|
|
32
31
|
(Array.isArray(value.sharedRolesets) && value.sharedRolesets.every((item: any) => typeof item == "string")))
|
|
33
32
|
)
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { AccountResponse } from "./AccountResponse"
|
|
2
2
|
import { CardTypeResponse } from "./CardTypeResponse"
|
|
3
|
+
import { Config } from "./Config"
|
|
3
4
|
import { CredentialResponse } from "./CredentialResponse"
|
|
4
5
|
import { InsertCardOptionRequest } from "./InsertCardOptionRequest"
|
|
5
|
-
import { InternalOrganisationConfig } from "./InternalOrganisationConfig"
|
|
6
|
-
import { OrganisationConfig } from "./OrganisationConfig"
|
|
7
6
|
import { OrganisationResponse } from "./OrganisationResponse"
|
|
8
7
|
import { SupplierResponse } from "./SupplierResponse"
|
|
9
8
|
import { UserResponse } from "./UserResponse"
|
|
@@ -11,8 +10,8 @@ import { UserResponse } from "./UserResponse"
|
|
|
11
10
|
export interface OmnisetupResponse {
|
|
12
11
|
messages: string[]
|
|
13
12
|
organisation: OrganisationResponse
|
|
14
|
-
organisationConfig?:
|
|
15
|
-
internalOrganisationConfig?:
|
|
13
|
+
organisationConfig?: Config.Organisation
|
|
14
|
+
internalOrganisationConfig?: Config.InternalOrganisation
|
|
16
15
|
users: UserResponse
|
|
17
16
|
suppliers: SupplierResponse[]
|
|
18
17
|
credentials: CredentialResponse[]
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { DateTime } from "isoly"
|
|
2
2
|
import { isly } from "isly"
|
|
3
3
|
import { CardTypeInformation } from "./CardTypeInformation"
|
|
4
|
-
import {
|
|
5
|
-
import { OrganisationConfig } from "./OrganisationConfig"
|
|
4
|
+
import { Config } from "./Config"
|
|
6
5
|
import { OrganisationFlag } from "./OrganisationFlag"
|
|
7
6
|
import { OrganisationRealm } from "./OrganisationRealm"
|
|
8
7
|
import { OrganisationStatusV2 } from "./OrganisationStatusV2"
|
|
@@ -14,8 +13,8 @@ export interface OrganisationResponseV2 {
|
|
|
14
13
|
status: OrganisationStatusV2
|
|
15
14
|
realm?: OrganisationRealm | OrganisationRealm[]
|
|
16
15
|
credentials?: Partial<Record<ProviderCode, Record<string, any>>>
|
|
17
|
-
organisationConfig?:
|
|
18
|
-
internalOrganisationConfig?:
|
|
16
|
+
organisationConfig?: Config.Organisation
|
|
17
|
+
internalOrganisationConfig?: Config.InternalOrganisation
|
|
19
18
|
cardTypes?: Partial<Record<ProviderCode, CardTypeInformation>>
|
|
20
19
|
createdOn: DateTime
|
|
21
20
|
channelPartners?: OrganisationFlag[]
|
|
@@ -28,8 +27,8 @@ export namespace OrganisationResponseV2 {
|
|
|
28
27
|
status: OrganisationStatusV2.type,
|
|
29
28
|
realm: isly.union(OrganisationRealm.type, isly.array(OrganisationRealm.type)).optional(),
|
|
30
29
|
credentials: isly.record(ProviderCode.type, isly.any()).optional(),
|
|
31
|
-
organisationConfig: isly.fromIs("
|
|
32
|
-
internalOrganisationConfig: isly.fromIs("
|
|
30
|
+
organisationConfig: isly.fromIs("Config.Organisation", Config.Organisation.is).optional(),
|
|
31
|
+
internalOrganisationConfig: isly.fromIs("Config.InternalOrganisation", Config.InternalOrganisation.is).optional(),
|
|
33
32
|
cardTypes: isly.record(ProviderCode.type, isly.fromIs("CardTypeInformation", CardTypeInformation.is)).optional(),
|
|
34
33
|
createdOn: isly.fromIs("DateTime", DateTime.is),
|
|
35
34
|
channelPartners: isly.array(OrganisationFlag.type).optional(),
|
package/model/index.ts
CHANGED
|
@@ -13,7 +13,6 @@ import { AccountSummary } from "./AccountSummary"
|
|
|
13
13
|
import { AccountType } from "./AccountType"
|
|
14
14
|
import { AddressInfo } from "./AddressInfo"
|
|
15
15
|
import { AgentBookingInfo } from "./AgentBookingInfo"
|
|
16
|
-
import { AllowedMccConfig } from "./AllowedMccConfig"
|
|
17
16
|
import { AmendCardRequest } from "./AmendCardRequest"
|
|
18
17
|
import { AmountPair } from "./AmountPair"
|
|
19
18
|
import { ApiKeyCreateRequest } from "./ApiKeyCreateRequest"
|
|
@@ -34,7 +33,6 @@ import { BookingInfoResponse } from "./BookingInfoResponse"
|
|
|
34
33
|
import { BookingInfoType } from "./BookingInfoType"
|
|
35
34
|
import { CardAmendmentScheduledTaskRequest } from "./CardAmendmentScheduledTaskRequest"
|
|
36
35
|
import { CardAmendmentScheduledTaskResponse } from "./CardAmendmentScheduledTaskResponse"
|
|
37
|
-
import { CardDeliveryEmailConfig } from "./CardDeliveryEmailConfig"
|
|
38
36
|
import { CardDeliveryRequest } from "./CardDeliveryRequest"
|
|
39
37
|
import { CardDeliveryResponse } from "./CardDeliveryResponse"
|
|
40
38
|
import { CardForm } from "./CardForm"
|
|
@@ -57,7 +55,6 @@ import { CardTypeDefinition } from "./CardTypeDefinition"
|
|
|
57
55
|
import { CardTypeInformation } from "./CardTypeInformation"
|
|
58
56
|
import { CardTypeRequestAvailabilityType } from "./CardTypeRequestAvailabilityType"
|
|
59
57
|
import { CardTypeResponse } from "./CardTypeResponse"
|
|
60
|
-
import { CardTypesConfig } from "./CardTypesConfig"
|
|
61
58
|
import { CardTypeSearchRequest } from "./CardTypeSearchRequest"
|
|
62
59
|
import { CardTypeSpecification } from "./CardTypeSpecification"
|
|
63
60
|
import { CardTypeFlag } from "./CardTypeSpecificationFlag"
|
|
@@ -67,9 +64,7 @@ import { CategoryFundingAccountAccessRequest } from "./CategoryFundingAccountAcc
|
|
|
67
64
|
import { CategoryLimitResponse } from "./CategoryLimitResponse"
|
|
68
65
|
import { CategoryResponse } from "./CategoryResponse"
|
|
69
66
|
import { CategoryStatus } from "./CategoryStatus"
|
|
70
|
-
import {
|
|
71
|
-
import { ConfigMatchesResponse } from "./ConfigMatchesResponse"
|
|
72
|
-
import { ConfigTypesResponse } from "./ConfigTypesResponse"
|
|
67
|
+
import { Config } from "./Config"
|
|
73
68
|
import { ConfirmationOfPayeeAccountType } from "./ConfirmationOfPayeeAccountType"
|
|
74
69
|
import { ConfirmationOfPayeeRequest } from "./ConfirmationOfPayeeRequest"
|
|
75
70
|
import { ConfirmationOfPayeeResponse } from "./ConfirmationOfPayeeResponse"
|
|
@@ -109,17 +104,13 @@ import { FiveFieldsBookingInfoResponse } from "./FiveFieldsBookingInfoResponse"
|
|
|
109
104
|
import { FlightBookingInfoRequest } from "./FlightBookingInfoRequest"
|
|
110
105
|
import { FlightBookingInfoResponse } from "./FlightBookingInfoResponse"
|
|
111
106
|
import { FlightInfo } from "./FlightInfo"
|
|
112
|
-
import { ForcedSettlementNotificationConfig } from "./ForcedSettlementNotificationConfig"
|
|
113
|
-
import { FraudEmailConfig } from "./FraudEmailConfig"
|
|
114
107
|
import { FundingAccountIdentifierType } from "./FundingAccountIdentifierType"
|
|
115
|
-
import { FundingAccountInboundTransferNotificationConfig } from "./FundingAccountInboundTransferNotificationConfig"
|
|
116
108
|
import { FundingAccountResponseV2Basic } from "./FundingAccountResponseV2Basic"
|
|
117
109
|
import { FundingAccountResponseV2Full } from "./FundingAccountResponseV2Full"
|
|
118
110
|
import { FundingAccountSearchRequest } from "./FundingAccountSearchRequest"
|
|
119
111
|
import { FundingAccountSearchResponse } from "./FundingAccountSearchResponse"
|
|
120
112
|
import { FundingAccountSummaryResponse } from "./FundingAccountSummaryResponse"
|
|
121
113
|
import { FundingAccountTransferDestinationResponse } from "./FundingAccountTransferDestinationResponse"
|
|
122
|
-
import { FundingLimitConfig } from "./FundingLimitConfig"
|
|
123
114
|
import { FundingLimitRequest } from "./FundingLimitRequest"
|
|
124
115
|
import { FundingLimitResponse } from "./FundingLimitResponse"
|
|
125
116
|
import { FutureTransactionPrognosisAmountPair } from "./FutureTransactionPrognosisAmountPair"
|
|
@@ -131,12 +122,10 @@ import { Inclusion } from "./Inclusion"
|
|
|
131
122
|
import { InsertCardOptionRequest } from "./InsertCardOptionRequest"
|
|
132
123
|
import { InsertCardRequest } from "./InsertCardRequest"
|
|
133
124
|
import { InternalBalanceLimit } from "./InternalBalanceLimit"
|
|
134
|
-
import { InternalOrganisationConfig } from "./InternalOrganisationConfig"
|
|
135
125
|
import { InvoiceBookingInfoRequest } from "./InvoiceBookingInfoRequest"
|
|
136
126
|
import { InvoiceBookingInfoResponse } from "./InvoiceBookingInfoResponse"
|
|
137
127
|
import { InvokingSystem } from "./InvokingSystem"
|
|
138
128
|
import { Issue } from "./Issue"
|
|
139
|
-
import { Limit } from "./Limit"
|
|
140
129
|
import { LoginRequest } from "./LoginRequest"
|
|
141
130
|
import { LoginResponse } from "./LoginResponse"
|
|
142
131
|
import { MerchantDetails } from "./MerchantDetails"
|
|
@@ -154,7 +143,6 @@ import { OmnisetupFlags } from "./OmnisetupFlags"
|
|
|
154
143
|
import { OmnisetupProviderRequest } from "./OmnisetupProviderRequest"
|
|
155
144
|
import { OmnisetupRequest } from "./OmnisetupRequest"
|
|
156
145
|
import { OmnisetupResponse } from "./OmnisetupResponse"
|
|
157
|
-
import { OrganisationConfig } from "./OrganisationConfig"
|
|
158
146
|
import { OrganisationCreateRequest } from "./OrganisationCreateRequest"
|
|
159
147
|
import { OrganisationFlag } from "./OrganisationFlag"
|
|
160
148
|
import { OrganisationRealm } from "./OrganisationRealm"
|
|
@@ -170,7 +158,6 @@ import { PasswordResetResponse } from "./PasswordResetResponse"
|
|
|
170
158
|
import { PasswordValidateRequest } from "./PasswordValidateRequest"
|
|
171
159
|
import { PasswordValidateResponse } from "./PasswordValidateResponse"
|
|
172
160
|
import { PaxpayFeature } from "./PaxpayFeature"
|
|
173
|
-
import { Payload } from "./Payload"
|
|
174
161
|
import { PaymentAccountState } from "./PaymentAccountState"
|
|
175
162
|
import { PaymentAmountScheduleRequest } from "./PaymentAmountScheduleRequest"
|
|
176
163
|
import { PaymentAmountScheduleResponse } from "./PaymentAmountScheduleResponse"
|
|
@@ -215,13 +202,10 @@ import { ScheduleEntry } from "./ScheduleEntry"
|
|
|
215
202
|
import { Scheme } from "./Scheme"
|
|
216
203
|
import { SearchBeneficiaryRequest } from "./SearchBeneficiaryRequest"
|
|
217
204
|
import { SearchRolesetsRequest } from "./SearchRolesetsRequest"
|
|
218
|
-
import { SecurityConfig } from "./SecurityConfig"
|
|
219
205
|
import { Segment } from "./Segment"
|
|
220
206
|
import { SetAvailableCardTypesRequest } from "./SetAvailableCardTypesRequest"
|
|
221
207
|
import { SftpReportFileDestination } from "./SftpReportFileDestination"
|
|
222
208
|
import { SsoLoginRequest } from "./SsoLoginRequest"
|
|
223
|
-
import { SsoProviderConfig } from "./SsoProviderConfig"
|
|
224
|
-
import { SsoProviderType } from "./SsoProviderType"
|
|
225
209
|
import { StatementReportRequest } from "./StatementReportRequest"
|
|
226
210
|
import { StatementReportResponse } from "./StatementReportResponse"
|
|
227
211
|
import { StatementReportResponseRow } from "./StatementReportResponseRow"
|
|
@@ -264,7 +248,6 @@ import { UpdateMerchantRequest } from "./UpdateMerchantRequest"
|
|
|
264
248
|
import { UpdateRolesetRequest } from "./UpdateRolesetRequest"
|
|
265
249
|
import { Usage } from "./Usage"
|
|
266
250
|
import { UserChangeRequest } from "./UserChangeRequest"
|
|
267
|
-
import { UserConfig } from "./UserConfig"
|
|
268
251
|
import { UserLimitsDeleteRequest } from "./UserLimitsDeleteRequest"
|
|
269
252
|
import { UserLimitsRequest } from "./UserLimitsRequest"
|
|
270
253
|
import { UserLimitsResponse } from "./UserLimitsResponse"
|
|
@@ -292,7 +275,6 @@ export {
|
|
|
292
275
|
AccountType,
|
|
293
276
|
AddressInfo,
|
|
294
277
|
AgentBookingInfo,
|
|
295
|
-
AllowedMccConfig,
|
|
296
278
|
AmendCardRequest,
|
|
297
279
|
AmountPair,
|
|
298
280
|
ApiKeyCreateRequest,
|
|
@@ -311,7 +293,6 @@ export {
|
|
|
311
293
|
BookingInfoRequest,
|
|
312
294
|
BookingInfoResponse,
|
|
313
295
|
BookingInfoType,
|
|
314
|
-
CardDeliveryEmailConfig,
|
|
315
296
|
CardAmendmentScheduledTaskRequest,
|
|
316
297
|
CardAmendmentScheduledTaskResponse,
|
|
317
298
|
CardDeliveryRequest,
|
|
@@ -337,7 +318,6 @@ export {
|
|
|
337
318
|
CardTypeInformation,
|
|
338
319
|
CardTypesResponse,
|
|
339
320
|
CardTypeResponse,
|
|
340
|
-
CardTypesConfig,
|
|
341
321
|
CardTypeSearchRequest,
|
|
342
322
|
CardTypeSpecification,
|
|
343
323
|
CardTypeFlag,
|
|
@@ -346,9 +326,7 @@ export {
|
|
|
346
326
|
CategoryLimitResponse,
|
|
347
327
|
CategoryResponse,
|
|
348
328
|
CategoryStatus,
|
|
349
|
-
|
|
350
|
-
ConfigMatchesResponse,
|
|
351
|
-
ConfigTypesResponse,
|
|
329
|
+
Config,
|
|
352
330
|
ConfirmationOfPayeeAccountType,
|
|
353
331
|
ConfirmationOfPayeeRequest,
|
|
354
332
|
ConfirmationOfPayeeResponse,
|
|
@@ -388,17 +366,13 @@ export {
|
|
|
388
366
|
FlightBookingInfoRequest,
|
|
389
367
|
FlightBookingInfoResponse,
|
|
390
368
|
FlightInfo,
|
|
391
|
-
ForcedSettlementNotificationConfig,
|
|
392
|
-
FraudEmailConfig,
|
|
393
369
|
FundingAccountIdentifierType,
|
|
394
|
-
FundingAccountInboundTransferNotificationConfig,
|
|
395
370
|
FundingAccountResponseV2Basic,
|
|
396
371
|
FundingAccountResponseV2Full,
|
|
397
372
|
FundingAccountSearchRequest,
|
|
398
373
|
FundingAccountSearchResponse,
|
|
399
374
|
FundingAccountSummaryResponse,
|
|
400
375
|
FundingAccountTransferDestinationResponse,
|
|
401
|
-
FundingLimitConfig,
|
|
402
376
|
FundingLimitRequest,
|
|
403
377
|
FundingLimitResponse,
|
|
404
378
|
FutureTransactionPrognosisAmountPair,
|
|
@@ -410,12 +384,10 @@ export {
|
|
|
410
384
|
InsertCardOptionRequest,
|
|
411
385
|
InsertCardRequest,
|
|
412
386
|
InternalBalanceLimit,
|
|
413
|
-
InternalOrganisationConfig,
|
|
414
387
|
InvoiceBookingInfoRequest,
|
|
415
388
|
InvoiceBookingInfoResponse,
|
|
416
389
|
InvokingSystem,
|
|
417
390
|
Issue,
|
|
418
|
-
Limit,
|
|
419
391
|
LoginRequest,
|
|
420
392
|
LoginResponse,
|
|
421
393
|
MerchantDetails,
|
|
@@ -433,7 +405,6 @@ export {
|
|
|
433
405
|
OmnisetupProviderRequest,
|
|
434
406
|
OmnisetupRequest,
|
|
435
407
|
OmnisetupResponse,
|
|
436
|
-
OrganisationConfig,
|
|
437
408
|
OrganisationCreateRequest,
|
|
438
409
|
OrganisationFlag,
|
|
439
410
|
OrganisationRealm,
|
|
@@ -449,7 +420,6 @@ export {
|
|
|
449
420
|
PasswordValidateRequest,
|
|
450
421
|
PasswordValidateResponse,
|
|
451
422
|
PaxpayFeature,
|
|
452
|
-
Payload,
|
|
453
423
|
PaymentAccountState,
|
|
454
424
|
PaymentAmountScheduleRequest,
|
|
455
425
|
PaymentAmountScheduleResponse,
|
|
@@ -493,13 +463,10 @@ export {
|
|
|
493
463
|
Scheme,
|
|
494
464
|
ScheduledTaskRequest,
|
|
495
465
|
SearchRolesetsRequest,
|
|
496
|
-
SecurityConfig,
|
|
497
466
|
SetAvailableCardTypesRequest,
|
|
498
467
|
SftpReportFileDestination,
|
|
499
468
|
Segment,
|
|
500
469
|
SsoLoginRequest,
|
|
501
|
-
SsoProviderConfig,
|
|
502
|
-
SsoProviderType,
|
|
503
470
|
SearchBeneficiaryRequest,
|
|
504
471
|
StatementReportRequest,
|
|
505
472
|
StatementReportResponse,
|
|
@@ -543,7 +510,6 @@ export {
|
|
|
543
510
|
UpdateRolesetRequest,
|
|
544
511
|
Usage,
|
|
545
512
|
UserChangeRequest,
|
|
546
|
-
UserConfig,
|
|
547
513
|
UserLimitsDeleteRequest,
|
|
548
514
|
UserLimitsRequest,
|
|
549
515
|
UserLimitsResponse,
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface AllowedMccConfig {
|
|
2
|
-
allowedMccs: string[];
|
|
3
|
-
allowedRanges: string[];
|
|
4
|
-
}
|
|
5
|
-
export declare namespace AllowedMccConfig {
|
|
6
|
-
const type: import("isly/dist/types/object").IslyObject<AllowedMccConfig, object>;
|
|
7
|
-
const is: (value: AllowedMccConfig | any) => value is AllowedMccConfig;
|
|
8
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { isly } from "isly";
|
|
2
|
-
export var AllowedMccConfig;
|
|
3
|
-
(function (AllowedMccConfig) {
|
|
4
|
-
AllowedMccConfig.type = isly.object({
|
|
5
|
-
allowedMccs: isly.string().array(),
|
|
6
|
-
allowedRanges: isly.string().array(),
|
|
7
|
-
});
|
|
8
|
-
AllowedMccConfig.is = AllowedMccConfig.type.is;
|
|
9
|
-
})(AllowedMccConfig || (AllowedMccConfig = {}));
|
|
10
|
-
//# sourceMappingURL=AllowedMccConfig.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AllowedMccConfig.js","sourceRoot":"../","sources":["model/AllowedMccConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAO3B,MAAM,KAAW,gBAAgB,CAMhC;AAND,WAAiB,gBAAgB;IACnB,qBAAI,GAAG,IAAI,CAAC,MAAM,CAAmB;QACjD,WAAW,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;QAClC,aAAa,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;KACpC,CAAC,CAAA;IACW,mBAAE,GAAG,iBAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EANgB,gBAAgB,KAAhB,gBAAgB,QAMhC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { isly } from "isly";
|
|
2
|
-
export var ApprovalNotificationConfig;
|
|
3
|
-
(function (ApprovalNotificationConfig) {
|
|
4
|
-
ApprovalNotificationConfig.type = isly.object({
|
|
5
|
-
enabled: isly.boolean(),
|
|
6
|
-
sendToAllValidApprovers: isly.boolean().optional(),
|
|
7
|
-
additionalEmails: isly.string().array().optional(),
|
|
8
|
-
});
|
|
9
|
-
})(ApprovalNotificationConfig || (ApprovalNotificationConfig = {}));
|
|
10
|
-
//# sourceMappingURL=ApprovalNotificationConfig.js.map
|