@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 @@
|
|
|
1
|
+
{"version":3,"file":"Type.js","sourceRoot":"../","sources":["model/Config/Notice/Target/Type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAG3B,MAAM,KAAW,IAAI,CAIpB;AAJD,WAAiB,IAAI;IACP,WAAM,GAAG,CAAC,cAAc,EAAE,MAAM,CAAU,CAAA;IAC1C,SAAI,GAAG,IAAI,CAAC,MAAM,CAAC,KAAA,MAAM,CAAC,CAAA;IAC1B,OAAE,GAAG,KAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAJgB,IAAI,KAAJ,IAAI,QAIpB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
import { Configuration as TConfguration } from "./Configuration";
|
|
3
|
+
import { Type as TargetType } from "./Type";
|
|
4
|
+
export type Target = Target.Organisation | Target.User;
|
|
5
|
+
export declare namespace Target {
|
|
6
|
+
interface Organisation {
|
|
7
|
+
type: "ORGANISATION";
|
|
8
|
+
}
|
|
9
|
+
namespace Organisation {
|
|
10
|
+
const type: import("isly/dist/types/object").IslyObject<Organisation, object>;
|
|
11
|
+
const is: (value: Organisation | any) => value is Organisation;
|
|
12
|
+
}
|
|
13
|
+
interface User {
|
|
14
|
+
type: "USER";
|
|
15
|
+
username: string;
|
|
16
|
+
}
|
|
17
|
+
namespace User {
|
|
18
|
+
const type: import("isly/dist/types/object").IslyObject<User, object>;
|
|
19
|
+
const is: (value: User | any) => value is User;
|
|
20
|
+
}
|
|
21
|
+
const type: isly.Type<Target>;
|
|
22
|
+
const is: (value: any | Target) => value is Target;
|
|
23
|
+
export import Configuration = TConfguration;
|
|
24
|
+
export import Type = TargetType;
|
|
25
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
import { Configuration as TConfguration } from "./Configuration";
|
|
3
|
+
import { Type as TargetType } from "./Type";
|
|
4
|
+
export var Target;
|
|
5
|
+
(function (Target) {
|
|
6
|
+
let Organisation;
|
|
7
|
+
(function (Organisation) {
|
|
8
|
+
Organisation.type = isly.object({
|
|
9
|
+
type: isly.string("ORGANISATION"),
|
|
10
|
+
});
|
|
11
|
+
Organisation.is = Organisation.type.is;
|
|
12
|
+
})(Organisation = Target.Organisation || (Target.Organisation = {}));
|
|
13
|
+
let User;
|
|
14
|
+
(function (User) {
|
|
15
|
+
User.type = isly.object({
|
|
16
|
+
type: isly.string("USER"),
|
|
17
|
+
username: isly.string(),
|
|
18
|
+
});
|
|
19
|
+
User.is = User.type.is;
|
|
20
|
+
})(User = Target.User || (Target.User = {}));
|
|
21
|
+
Target.type = isly.union(Organisation.type, User.type);
|
|
22
|
+
Target.is = Target.type.is;
|
|
23
|
+
Target.Configuration = TConfguration;
|
|
24
|
+
Target.Type = TargetType;
|
|
25
|
+
})(Target || (Target = {}));
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["model/Config/Notice/Target/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,aAAa,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAChE,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,QAAQ,CAAA;AAI3C,MAAM,KAAW,MAAM,CA4BtB;AA5BD,WAAiB,MAAM;IAKtB,IAAiB,YAAY,CAK5B;IALD,WAAiB,YAAY;QACf,iBAAI,GAAG,IAAI,CAAC,MAAM,CAAe;YAC7C,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC;SACjC,CAAC,CAAA;QACW,eAAE,GAAG,aAAA,IAAI,CAAC,EAAE,CAAA;IAC1B,CAAC,EALgB,YAAY,GAAZ,mBAAY,KAAZ,mBAAY,QAK5B;IAMD,IAAiB,IAAI,CAMpB;IAND,WAAiB,IAAI;QACP,SAAI,GAAG,IAAI,CAAC,MAAM,CAAO;YACrC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC;YACzB,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE;SACvB,CAAC,CAAA;QACW,OAAE,GAAG,KAAA,IAAI,CAAC,EAAE,CAAA;IAC1B,CAAC,EANgB,IAAI,GAAJ,WAAI,KAAJ,WAAI,QAMpB;IACY,WAAI,GAAG,IAAI,CAAC,KAAK,CAAS,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;IACvD,SAAE,GAAG,OAAA,IAAI,CAAC,EAAE,CAAA;IAEX,oBAAa,GAAG,aAAa,CAAA;IAC7B,WAAI,GAAG,UAAU,CAAA;AAChC,CAAC,EA5BgB,MAAM,KAAN,MAAM,QA4BtB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export type Type = typeof Type.values[number];
|
|
3
|
+
export declare namespace Type {
|
|
4
|
+
const values: readonly ["FUNDING_LIMIT"];
|
|
5
|
+
const type: isly.Type<"FUNDING_LIMIT">;
|
|
6
|
+
const is: (value: any | "FUNDING_LIMIT") => value is "FUNDING_LIMIT";
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Type.js","sourceRoot":"../","sources":["model/Config/Notice/Type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAK3B,MAAM,KAAW,IAAI,CAIpB;AAJD,WAAiB,IAAI;IACP,WAAM,GAAG,CAAC,eAAe,CAAU,CAAA;IACnC,SAAI,GAAG,IAAI,CAAC,MAAM,CAAC,KAAA,MAAM,CAAC,CAAA;IAC1B,OAAE,GAAG,KAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAJgB,IAAI,KAAJ,IAAI,QAIpB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
export declare namespace Notice {
|
|
6
|
+
interface Base<T extends Type = Type, C = any> {
|
|
7
|
+
type: T;
|
|
8
|
+
configuration?: C;
|
|
9
|
+
targets?: Target[];
|
|
10
|
+
}
|
|
11
|
+
namespace Base {
|
|
12
|
+
const type: import("isly/dist/types/object").IslyObject<Base<"FUNDING_LIMIT", any>, object>;
|
|
13
|
+
const is: (value: Base<"FUNDING_LIMIT", any> | any) => value is Base<"FUNDING_LIMIT", any>;
|
|
14
|
+
}
|
|
15
|
+
type FundingLimit = Notice.Base<"FUNDING_LIMIT", FConfiguration>;
|
|
16
|
+
export import Target = NTarget;
|
|
17
|
+
export import Type = NType;
|
|
18
|
+
namespace FundingLimit {
|
|
19
|
+
const type: import("isly/dist/types/object").IslyObject<FundingLimit, Base<"FUNDING_LIMIT", any>>;
|
|
20
|
+
export import Configuration = FConfiguration;
|
|
21
|
+
}
|
|
22
|
+
const type: isly.Type<FundingLimit>;
|
|
23
|
+
}
|
|
24
|
+
export type Notice = Notice.FundingLimit;
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
export var Notice;
|
|
6
|
+
(function (Notice) {
|
|
7
|
+
let Base;
|
|
8
|
+
(function (Base) {
|
|
9
|
+
Base.type = isly.object({
|
|
10
|
+
type: NType.type,
|
|
11
|
+
configuration: isly.any().optional(),
|
|
12
|
+
targets: isly.array(NTarget.type).optional(),
|
|
13
|
+
});
|
|
14
|
+
Base.is = Base.type.is;
|
|
15
|
+
})(Base = Notice.Base || (Notice.Base = {}));
|
|
16
|
+
Notice.Target = NTarget;
|
|
17
|
+
Notice.Type = NType;
|
|
18
|
+
let FundingLimit;
|
|
19
|
+
(function (FundingLimit) {
|
|
20
|
+
FundingLimit.type = Notice.Base.type.extend({
|
|
21
|
+
type: isly.string("FUNDING_LIMIT"),
|
|
22
|
+
configuration: FConfiguration.type.optional(),
|
|
23
|
+
});
|
|
24
|
+
FundingLimit.Configuration = FConfiguration;
|
|
25
|
+
})(FundingLimit = Notice.FundingLimit || (Notice.FundingLimit = {}));
|
|
26
|
+
Notice.type = isly.union(FundingLimit.type);
|
|
27
|
+
})(Notice || (Notice = {}));
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["model/Config/Notice/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,aAAa,IAAI,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAC9E,OAAO,EAAE,MAAM,IAAI,OAAO,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,IAAI,IAAI,KAAK,EAAE,MAAM,QAAQ,CAAA;AAEtC,MAAM,KAAW,MAAM,CA0BtB;AA1BD,WAAiB,MAAM;IAMtB,IAAiB,IAAI,CAOpB;IAPD,WAAiB,IAAI;QACP,SAAI,GAAG,IAAI,CAAC,MAAM,CAAc;YAC5C,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,aAAa,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;YACpC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;SAC5C,CAAC,CAAA;QACW,OAAE,GAAG,KAAA,IAAI,CAAC,EAAE,CAAA;IAC1B,CAAC,EAPgB,IAAI,GAAJ,WAAI,KAAJ,WAAI,QAOpB;IAGa,aAAM,GAAG,OAAO,CAAA;IAChB,WAAI,GAAG,KAAK,CAAA;IAC1B,IAAiB,YAAY,CAM5B;IAND,WAAiB,YAAY;QACf,iBAAI,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAe;YACzD,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC;YAClC,aAAa,EAAE,cAAc,CAAC,IAAI,CAAC,QAAQ,EAAE;SAC7C,CAAC,CAAA;QACY,0BAAa,GAAG,cAAc,CAAA;IAC7C,CAAC,EANgB,YAAY,GAAZ,mBAAY,KAAZ,mBAAY,QAM5B;IACY,WAAI,GAAG,IAAI,CAAC,KAAK,CAAS,YAAY,CAAC,IAAI,CAAC,CAAA;AAC1D,CAAC,EA1BgB,MAAM,KAAN,MAAM,QA0BtB"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Currency } from "isoly";
|
|
2
|
+
import { ProviderCode } from "../ProviderCode";
|
|
3
|
+
import { Usage } from "../Usage";
|
|
4
|
+
import { ApprovalNotification } from "./ApprovalNotification";
|
|
5
|
+
import { CardDeliveryEmail } from "./CardDeliveryEmail";
|
|
6
|
+
import { CardTypes } from "./CardTypes";
|
|
7
|
+
import { ForcedSettlementNotification } from "./ForcedSettlementNotification";
|
|
8
|
+
import { FraudEmail } from "./FraudEmail";
|
|
9
|
+
import { FundingAccountInboundTransferNotification } from "./FundingAccountInboundTransferNotification";
|
|
10
|
+
import { FundingLimit } from "./FundingLimit";
|
|
11
|
+
import { Notice } from "./Notice";
|
|
12
|
+
import { Security } from "./Security";
|
|
13
|
+
import { SsoProvider } from "./SsoProvider";
|
|
14
|
+
export interface Organisation {
|
|
15
|
+
showDefaultRolesets?: boolean;
|
|
16
|
+
defaultModulrUsage?: Usage;
|
|
17
|
+
defaultExpiryMonthDelta?: number;
|
|
18
|
+
defaultExpiryMonthDeltaPerCurrency?: Partial<Record<Currency, number>>;
|
|
19
|
+
defaultPortalCardType?: Partial<Record<ProviderCode, string>>;
|
|
20
|
+
defaultPortalFundingAccount?: Partial<Record<ProviderCode, string>>;
|
|
21
|
+
cardTypes?: CardTypes;
|
|
22
|
+
inboundTransferConfig?: FundingAccountInboundTransferNotification;
|
|
23
|
+
approvalNotificationConfig?: ApprovalNotification;
|
|
24
|
+
fundingLimitConfig?: FundingLimit;
|
|
25
|
+
cardDeliveryEmailConfig?: CardDeliveryEmail;
|
|
26
|
+
portalHideMultipleUseOption?: boolean;
|
|
27
|
+
securityConfig?: Security;
|
|
28
|
+
fraudEmailConfig?: FraudEmail;
|
|
29
|
+
sso?: Partial<Record<SsoProvider.Type, SsoProvider>>;
|
|
30
|
+
forcedSettlementNotificationConfig?: ForcedSettlementNotification;
|
|
31
|
+
noticeConfigurations?: Notice[];
|
|
32
|
+
portalMetadataFormatOrdering?: string[];
|
|
33
|
+
noticeTargetConfigurations?: Notice.Target.Configuration[];
|
|
34
|
+
}
|
|
35
|
+
export declare namespace Organisation {
|
|
36
|
+
const type: import("isly/dist/types/object").IslyObject<Organisation, object>;
|
|
37
|
+
const is: (value: Organisation | any) => value is Organisation;
|
|
38
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
export var Organisation;
|
|
16
|
+
(function (Organisation) {
|
|
17
|
+
const currencyType = isly.fromIs("Currency", Currency.is);
|
|
18
|
+
Organisation.type = isly.object({
|
|
19
|
+
showDefaultRolesets: isly.boolean().optional(),
|
|
20
|
+
defaultModulrUsage: Usage.type.optional(),
|
|
21
|
+
defaultExpiryMonthDelta: isly.number().optional(),
|
|
22
|
+
defaultExpiryMonthDeltaPerCurrency: isly.record(currencyType, isly.number()).optional(),
|
|
23
|
+
defaultPortalCardType: isly.record(ProviderCode.type, isly.string()).optional(),
|
|
24
|
+
defaultPortalFundingAccount: isly.record(ProviderCode.type, isly.string()).optional(),
|
|
25
|
+
cardTypes: CardTypes.type.optional(),
|
|
26
|
+
inboundTransferConfig: FundingAccountInboundTransferNotification.type.optional(),
|
|
27
|
+
approvalNotificationConfig: ApprovalNotification.type.optional(),
|
|
28
|
+
fundingLimitConfig: FundingLimit.type.optional(),
|
|
29
|
+
cardDeliveryEmailConfig: CardDeliveryEmail.type.optional(),
|
|
30
|
+
portalHideMultipleUseOption: isly.boolean().optional(),
|
|
31
|
+
securityConfig: Security.type.optional(),
|
|
32
|
+
fraudEmailConfig: FraudEmail.type.optional(),
|
|
33
|
+
sso: isly.record(SsoProvider.Type.type, SsoProvider.type).optional(),
|
|
34
|
+
forcedSettlementNotificationConfig: ForcedSettlementNotification.type.optional(),
|
|
35
|
+
noticeConfigurations: isly.array(Notice.type).optional(),
|
|
36
|
+
portalMetadataFormatOrdering: isly.string().array().optional(),
|
|
37
|
+
noticeTargetConfigurations: Notice.Target.Configuration.type.array().optional(),
|
|
38
|
+
});
|
|
39
|
+
Organisation.is = Organisation.type.is;
|
|
40
|
+
})(Organisation || (Organisation = {}));
|
|
41
|
+
//# sourceMappingURL=Organisation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Organisation.js","sourceRoot":"../","sources":["model/Config/Organisation.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface Security {
|
|
2
|
+
enforce2fa?: boolean;
|
|
3
|
+
passwordExpirationDays?: number;
|
|
4
|
+
}
|
|
5
|
+
export declare namespace Security {
|
|
6
|
+
const type: import("isly/dist/types/object").IslyObject<Security, object>;
|
|
7
|
+
const is: (value: Security | any) => value is Security;
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export var Security;
|
|
3
|
+
(function (Security) {
|
|
4
|
+
Security.type = isly.object({
|
|
5
|
+
enforce2fa: isly.boolean().optional(),
|
|
6
|
+
passwordExpirationDays: isly.number().optional(),
|
|
7
|
+
});
|
|
8
|
+
Security.is = Security.type.is;
|
|
9
|
+
})(Security || (Security = {}));
|
|
10
|
+
//# sourceMappingURL=Security.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Security.js","sourceRoot":"../","sources":["model/Config/Security.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAO3B,MAAM,KAAW,QAAQ,CAMxB;AAND,WAAiB,QAAQ;IACX,aAAI,GAAG,IAAI,CAAC,MAAM,CAAW;QACzC,UAAU,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QACrC,sBAAsB,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAChD,CAAC,CAAA;IACW,WAAE,GAAG,SAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EANgB,QAAQ,KAAR,QAAQ,QAMxB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isly } from "isly";
|
|
2
|
-
export type
|
|
3
|
-
export declare namespace
|
|
2
|
+
export type Type = typeof Type.values[number];
|
|
3
|
+
export declare namespace Type {
|
|
4
4
|
const values: readonly ["GOOGLE"];
|
|
5
5
|
const type: isly.Type<"GOOGLE">;
|
|
6
6
|
const is: (value: any | "GOOGLE") => value is "GOOGLE";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Type.js","sourceRoot":"../","sources":["model/Config/SsoProvider/Type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAK3B,MAAM,KAAW,IAAI,CAIpB;AAJD,WAAiB,IAAI;IACP,WAAM,GAAG,CAAC,QAAQ,CAAU,CAAA;IAC5B,SAAI,GAAG,IAAI,CAAC,MAAM,CAAC,KAAA,MAAM,CAAC,CAAA;IAC1B,OAAE,GAAG,KAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAJgB,IAAI,KAAJ,IAAI,QAIpB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Type as SsoProviderType } from "./Type";
|
|
2
|
+
export interface SsoProvider {
|
|
3
|
+
enabled?: boolean;
|
|
4
|
+
domains?: string[];
|
|
5
|
+
allowPasswordLogin?: boolean;
|
|
6
|
+
allowEmailEditing?: boolean;
|
|
7
|
+
require2fa?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare namespace SsoProvider {
|
|
10
|
+
const type: import("isly/dist/types/object").IslyObject<SsoProvider, object>;
|
|
11
|
+
const is: (value: SsoProvider | any) => value is SsoProvider;
|
|
12
|
+
export import Type = SsoProviderType;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
import { Type as SsoProviderType } from "./Type";
|
|
3
|
+
export var SsoProvider;
|
|
4
|
+
(function (SsoProvider) {
|
|
5
|
+
SsoProvider.type = isly.object({
|
|
6
|
+
enabled: isly.boolean().optional(),
|
|
7
|
+
domains: isly.string().array().optional(),
|
|
8
|
+
allowPasswordLogin: isly.boolean().optional(),
|
|
9
|
+
allowEmailEditing: isly.boolean().optional(),
|
|
10
|
+
require2fa: isly.boolean().optional(),
|
|
11
|
+
});
|
|
12
|
+
SsoProvider.is = SsoProvider.type.is;
|
|
13
|
+
SsoProvider.Type = SsoProviderType;
|
|
14
|
+
})(SsoProvider || (SsoProvider = {}));
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["model/Config/SsoProvider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,IAAI,IAAI,eAAe,EAAE,MAAM,QAAQ,CAAA;AAUhD,MAAM,KAAW,WAAW,CAW3B;AAXD,WAAiB,WAAW;IACd,gBAAI,GAAG,IAAI,CAAC,MAAM,CAAc;QAC5C,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QAClC,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;QACzC,kBAAkB,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QAC7C,iBAAiB,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QAC5C,UAAU,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;KACrC,CAAC,CAAA;IACW,cAAE,GAAG,YAAA,IAAI,CAAC,EAAE,CAAA;IAEX,gBAAI,GAAG,eAAe,CAAA;AACrC,CAAC,EAXgB,WAAW,KAAX,WAAW,QAW3B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
import { CardTypes } from "./CardTypes";
|
|
3
|
+
export var User;
|
|
4
|
+
(function (User) {
|
|
5
|
+
User.type = isly.object({
|
|
6
|
+
cardTypes: CardTypes.type.optional(),
|
|
7
|
+
});
|
|
8
|
+
User.is = User.type.is;
|
|
9
|
+
})(User || (User = {}));
|
|
10
|
+
//# sourceMappingURL=User.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"User.js","sourceRoot":"../","sources":["model/Config/User.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAKvC,MAAM,KAAW,IAAI,CAKpB;AALD,WAAiB,IAAI;IACP,SAAI,GAAG,IAAI,CAAC,MAAM,CAAO;QACrC,SAAS,EAAE,SAAS,CAAC,IAAI,CAAC,QAAQ,EAAE;KACpC,CAAC,CAAA;IACW,OAAE,GAAG,KAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EALgB,IAAI,KAAJ,IAAI,QAKpB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
export declare namespace Config {
|
|
15
|
+
export import Organisation = COrganisation;
|
|
16
|
+
export import InternalOrganisation = CInternalOrganisation;
|
|
17
|
+
export import User = CUser;
|
|
18
|
+
export import ApprovalNotification = TApprovalNotification;
|
|
19
|
+
export import CardDeliveryEmail = TCardDeliveryEmail;
|
|
20
|
+
export import CardTypes = CCardTypes;
|
|
21
|
+
export import ForcedSettlementNotification = CForcedSettlementNotification;
|
|
22
|
+
export import FraudEmail = CFraudEmail;
|
|
23
|
+
export import FundingAccountInboundTransferNotification = CFundingAccountInboundTransferNotification;
|
|
24
|
+
export import FundingLimit = TFundingLimit;
|
|
25
|
+
export import SsoProvider = CSsoProvider;
|
|
26
|
+
export import Security = CSecurity;
|
|
27
|
+
export import Notice = CNotice;
|
|
28
|
+
}
|
|
@@ -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
|
+
export var Config;
|
|
15
|
+
(function (Config) {
|
|
16
|
+
Config.Organisation = COrganisation;
|
|
17
|
+
Config.InternalOrganisation = CInternalOrganisation;
|
|
18
|
+
Config.User = CUser;
|
|
19
|
+
Config.ApprovalNotification = TApprovalNotification;
|
|
20
|
+
Config.CardDeliveryEmail = TCardDeliveryEmail;
|
|
21
|
+
Config.CardTypes = CCardTypes;
|
|
22
|
+
Config.ForcedSettlementNotification = CForcedSettlementNotification;
|
|
23
|
+
Config.FraudEmail = CFraudEmail;
|
|
24
|
+
Config.FundingAccountInboundTransferNotification = CFundingAccountInboundTransferNotification;
|
|
25
|
+
Config.FundingLimit = TFundingLimit;
|
|
26
|
+
Config.SsoProvider = CSsoProvider;
|
|
27
|
+
Config.Security = CSecurity;
|
|
28
|
+
Config.Notice = CNotice;
|
|
29
|
+
})(Config || (Config = {}));
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["model/Config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,IAAI,qBAAqB,EAAE,MAAM,wBAAwB,CAAA;AACtF,OAAO,EAAE,iBAAiB,IAAI,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAC7E,OAAO,EAAE,SAAS,IAAI,UAAU,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EAAE,4BAA4B,IAAI,6BAA6B,EAAE,MAAM,gCAAgC,CAAA;AAC9G,OAAO,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,cAAc,CAAA;AACxD,OAAO,EAAE,yCAAyC,IAAI,0CAA0C,EAAE,MAAM,6CAA6C,CAAA;AACrJ,OAAO,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAC9D,OAAO,EAAE,oBAAoB,IAAI,qBAAqB,EAAE,MAAM,wBAAwB,CAAA;AACtF,OAAO,EAAE,MAAM,IAAI,OAAO,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAC9D,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,EAAE,WAAW,IAAI,YAAY,EAAE,MAAM,eAAe,CAAA;AAC3D,OAAO,EAAE,IAAI,IAAI,KAAK,EAAE,MAAM,QAAQ,CAAA;AAEtC,MAAM,KAAW,MAAM,CAetB;AAfD,WAAiB,MAAM;IACR,mBAAY,GAAG,aAAa,CAAA;IAC5B,2BAAoB,GAAG,qBAAqB,CAAA;IAC5C,WAAI,GAAG,KAAK,CAAA;IAEZ,2BAAoB,GAAG,qBAAqB,CAAA;IAC5C,wBAAiB,GAAG,kBAAkB,CAAA;IACtC,gBAAS,GAAG,UAAU,CAAA;IACtB,mCAA4B,GAAG,6BAA6B,CAAA;IAC5D,iBAAU,GAAG,WAAW,CAAA;IACxB,gDAAyC,GAAG,0CAA0C,CAAA;IACtF,mBAAY,GAAG,aAAa,CAAA;IAC5B,kBAAW,GAAG,YAAY,CAAA;IAC1B,eAAQ,GAAG,SAAS,CAAA;IACpB,aAAM,GAAG,OAAO,CAAA;AAC/B,CAAC,EAfgB,MAAM,KAAN,MAAM,QAetB"}
|
|
@@ -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
|
export interface OmnisetupRequest {
|
|
@@ -9,8 +8,8 @@ export interface OmnisetupRequest {
|
|
|
9
8
|
organisation: OrganisationCreateRequest;
|
|
10
9
|
users: UserRequest[];
|
|
11
10
|
providers: OmnisetupProviderRequest[];
|
|
12
|
-
organisationConfig?:
|
|
13
|
-
internalOrganisationConfig?:
|
|
11
|
+
organisationConfig?: Config.Organisation;
|
|
12
|
+
internalOrganisationConfig?: Config.InternalOrganisation;
|
|
14
13
|
sharedRolesets?: string[];
|
|
15
14
|
}
|
|
16
15
|
export declare namespace OmnisetupRequest {
|
|
@@ -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
|
export var OmnisetupRequest;
|
|
@@ -14,9 +13,9 @@ export var OmnisetupRequest;
|
|
|
14
13
|
value.users.every((user) => UserRequest.is(user)) &&
|
|
15
14
|
Array.isArray(value.providers) &&
|
|
16
15
|
value.providers.every((item) => OmnisetupProviderRequest.is(item)) &&
|
|
17
|
-
(value.organisationConfig == undefined ||
|
|
16
|
+
(value.organisationConfig == undefined || Config.Organisation.is(value.organisationConfig)) &&
|
|
18
17
|
(value.internalOrganisationConfig == undefined ||
|
|
19
|
-
|
|
18
|
+
Config.InternalOrganisation.is(value.internalOrganisationConfig)) &&
|
|
20
19
|
(value.sharedRolesets == undefined ||
|
|
21
20
|
(Array.isArray(value.sharedRolesets) && value.sharedRolesets.every((item) => typeof item == "string"))));
|
|
22
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OmnisetupRequest.js","sourceRoot":"../","sources":["model/OmnisetupRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"OmnisetupRequest.js","sourceRoot":"../","sources":["model/OmnisetupRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAY3C,MAAM,KAAW,gBAAgB,CAiBhC;AAjBD,WAAiB,gBAAgB;IAChC,SAAgB,EAAE,CAAC,KAA6B;QAC/C,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,KAAK,IAAI,SAAS,IAAI,cAAc,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YAC5D,yBAAyB,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;YAChD,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC;YAC1B,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;YACtD,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC;YAC9B,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,wBAAwB,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;YACvE,CAAC,KAAK,CAAC,kBAAkB,IAAI,SAAS,IAAI,MAAM,CAAC,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;YAC3F,CAAC,KAAK,CAAC,0BAA0B,IAAI,SAAS;gBAC7C,MAAM,CAAC,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC;YAClE,CAAC,KAAK,CAAC,cAAc,IAAI,SAAS;gBACjC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,IAAI,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,OAAO,IAAI,IAAI,QAAQ,CAAC,CAAC,CAAC,CAC7G,CAAA;IACF,CAAC;IAfe,mBAAE,KAejB,CAAA;AACF,CAAC,EAjBgB,gBAAgB,KAAhB,gBAAgB,QAiBhC"}
|
|
@@ -1,17 +1,16 @@
|
|
|
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";
|
|
10
9
|
export interface OmnisetupResponse {
|
|
11
10
|
messages: string[];
|
|
12
11
|
organisation: OrganisationResponse;
|
|
13
|
-
organisationConfig?:
|
|
14
|
-
internalOrganisationConfig?:
|
|
12
|
+
organisationConfig?: Config.Organisation;
|
|
13
|
+
internalOrganisationConfig?: Config.InternalOrganisation;
|
|
15
14
|
users: UserResponse;
|
|
16
15
|
suppliers: SupplierResponse[];
|
|
17
16
|
credentials: CredentialResponse[];
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { DateTime } from "isoly";
|
|
2
2
|
import { CardTypeInformation } from "./CardTypeInformation";
|
|
3
|
-
import {
|
|
4
|
-
import { OrganisationConfig } from "./OrganisationConfig";
|
|
3
|
+
import { Config } from "./Config";
|
|
5
4
|
import { OrganisationFlag } from "./OrganisationFlag";
|
|
6
5
|
import { OrganisationRealm } from "./OrganisationRealm";
|
|
7
6
|
import { OrganisationStatusV2 } from "./OrganisationStatusV2";
|
|
@@ -12,8 +11,8 @@ export interface OrganisationResponseV2 {
|
|
|
12
11
|
status: OrganisationStatusV2;
|
|
13
12
|
realm?: OrganisationRealm | OrganisationRealm[];
|
|
14
13
|
credentials?: Partial<Record<ProviderCode, Record<string, any>>>;
|
|
15
|
-
organisationConfig?:
|
|
16
|
-
internalOrganisationConfig?:
|
|
14
|
+
organisationConfig?: Config.Organisation;
|
|
15
|
+
internalOrganisationConfig?: Config.InternalOrganisation;
|
|
17
16
|
cardTypes?: Partial<Record<ProviderCode, CardTypeInformation>>;
|
|
18
17
|
createdOn: DateTime;
|
|
19
18
|
channelPartners?: OrganisationFlag[];
|
|
@@ -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";
|
|
@@ -15,8 +14,8 @@ export var OrganisationResponseV2;
|
|
|
15
14
|
status: OrganisationStatusV2.type,
|
|
16
15
|
realm: isly.union(OrganisationRealm.type, isly.array(OrganisationRealm.type)).optional(),
|
|
17
16
|
credentials: isly.record(ProviderCode.type, isly.any()).optional(),
|
|
18
|
-
organisationConfig: isly.fromIs("
|
|
19
|
-
internalOrganisationConfig: isly.fromIs("
|
|
17
|
+
organisationConfig: isly.fromIs("Config.Organisation", Config.Organisation.is).optional(),
|
|
18
|
+
internalOrganisationConfig: isly.fromIs("Config.InternalOrganisation", Config.InternalOrganisation.is).optional(),
|
|
20
19
|
cardTypes: isly.record(ProviderCode.type, isly.fromIs("CardTypeInformation", CardTypeInformation.is)).optional(),
|
|
21
20
|
createdOn: isly.fromIs("DateTime", DateTime.is),
|
|
22
21
|
channelPartners: isly.array(OrganisationFlag.type).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrganisationResponseV2.js","sourceRoot":"../","sources":["model/OrganisationResponseV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"OrganisationResponseV2.js","sourceRoot":"../","sources":["model/OrganisationResponseV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAe7C,MAAM,KAAW,sBAAsB,CActC;AAdD,WAAiB,sBAAsB;IACzB,2BAAI,GAAG,IAAI,CAAC,MAAM,CAAyB;QACvD,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,MAAM,EAAE,oBAAoB,CAAC,IAAI;QACjC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,EAAE;QACxF,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;QAClE,kBAAkB,EAAE,IAAI,CAAC,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;QACzF,0BAA0B,EAAE,IAAI,CAAC,MAAM,CAAC,6BAA6B,EAAE,MAAM,CAAC,oBAAoB,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;QACjH,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,qBAAqB,EAAE,mBAAmB,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;QAChH,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,EAAE,CAAC;QAC/C,eAAe,EAAE,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;KAC7D,CAAC,CAAA;IACW,yBAAE,GAAG,uBAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAdgB,sBAAsB,KAAtB,sBAAsB,QActC"}
|