@pax2pay/client 0.3.78 → 0.3.79
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,9 +1,10 @@
|
|
|
1
|
+
import { Currency } from "isoly";
|
|
1
2
|
import { ProviderCode } from "./ProviderCode";
|
|
2
3
|
export interface AccountCreationRequest {
|
|
3
4
|
providerAccountId?: string;
|
|
4
5
|
providerCode: ProviderCode;
|
|
5
6
|
friendlyName?: string;
|
|
6
|
-
currency:
|
|
7
|
+
currency: Currency;
|
|
7
8
|
specificCustomerId?: string;
|
|
8
9
|
realm?: string;
|
|
9
10
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Currency } from "isoly";
|
|
1
2
|
import { ProviderCode } from "./ProviderCode";
|
|
2
3
|
export var AccountCreationRequest;
|
|
3
4
|
(function (AccountCreationRequest) {
|
|
@@ -8,7 +9,7 @@ export var AccountCreationRequest;
|
|
|
8
9
|
(value.friendlyName == undefined || typeof value.friendlyName == "string") &&
|
|
9
10
|
(value.realm == undefined || typeof value.realm == "string") &&
|
|
10
11
|
(value.specificCustomerId == undefined || typeof value.specificCustomerId == "string") &&
|
|
11
|
-
|
|
12
|
+
Currency.is(value.currency));
|
|
12
13
|
}
|
|
13
14
|
AccountCreationRequest.is = is;
|
|
14
15
|
})(AccountCreationRequest || (AccountCreationRequest = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountCreationRequest.js","sourceRoot":"../","sources":["model/AccountCreationRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAa7C,MAAM,KAAW,sBAAsB,CAYtC;AAZD,WAAiB,sBAAsB;IACtC,SAAgB,EAAE,CAAC,KAAmC;QACrD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,iBAAiB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,iBAAiB,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AZgB,sBAAsB,KAAtB,sBAAsB,QAYtC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Currency } from "isoly"
|
|
1
2
|
import { ProviderCode } from "./ProviderCode"
|
|
2
3
|
|
|
3
4
|
/**
|
|
@@ -7,7 +8,7 @@ export interface AccountCreationRequest {
|
|
|
7
8
|
providerAccountId?: string
|
|
8
9
|
providerCode: ProviderCode
|
|
9
10
|
friendlyName?: string
|
|
10
|
-
currency:
|
|
11
|
+
currency: Currency
|
|
11
12
|
specificCustomerId?: string
|
|
12
13
|
realm?: string
|
|
13
14
|
}
|
|
@@ -20,7 +21,7 @@ export namespace AccountCreationRequest {
|
|
|
20
21
|
(value.friendlyName == undefined || typeof value.friendlyName == "string") &&
|
|
21
22
|
(value.realm == undefined || typeof value.realm == "string") &&
|
|
22
23
|
(value.specificCustomerId == undefined || typeof value.specificCustomerId == "string") &&
|
|
23
|
-
|
|
24
|
+
Currency.is(value.currency)
|
|
24
25
|
)
|
|
25
26
|
}
|
|
26
27
|
}
|