@emilgroup/payment-sdk 1.14.1-beta.45 → 1.14.1-beta.47
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/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/payment-sdk@1.14.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk@1.14.1-beta.47 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk@1.14.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk@1.14.1-beta.47
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
|
@@ -51,4 +51,24 @@ export interface BillingAddressDto {
|
|
|
51
51
|
* @memberof BillingAddressDto
|
|
52
52
|
*/
|
|
53
53
|
'city': string;
|
|
54
|
+
/**
|
|
55
|
+
* Country for billing address
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof BillingAddressDto
|
|
58
|
+
*/
|
|
59
|
+
'country'?: BillingAddressDtoCountryEnum;
|
|
54
60
|
}
|
|
61
|
+
export declare const BillingAddressDtoCountryEnum: {
|
|
62
|
+
readonly De: "DE";
|
|
63
|
+
readonly Us: "US";
|
|
64
|
+
readonly Gb: "GB";
|
|
65
|
+
readonly Ch: "CH";
|
|
66
|
+
readonly Pl: "PL";
|
|
67
|
+
readonly Au: "AU";
|
|
68
|
+
readonly Ca: "CA";
|
|
69
|
+
readonly Dk: "DK";
|
|
70
|
+
readonly Hu: "HU";
|
|
71
|
+
readonly No: "NO";
|
|
72
|
+
readonly Se: "SE";
|
|
73
|
+
};
|
|
74
|
+
export type BillingAddressDtoCountryEnum = typeof BillingAddressDtoCountryEnum[keyof typeof BillingAddressDtoCountryEnum];
|
|
@@ -13,3 +13,17 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.BillingAddressDtoCountryEnum = void 0;
|
|
17
|
+
exports.BillingAddressDtoCountryEnum = {
|
|
18
|
+
De: 'DE',
|
|
19
|
+
Us: 'US',
|
|
20
|
+
Gb: 'GB',
|
|
21
|
+
Ch: 'CH',
|
|
22
|
+
Pl: 'PL',
|
|
23
|
+
Au: 'AU',
|
|
24
|
+
Ca: 'CA',
|
|
25
|
+
Dk: 'DK',
|
|
26
|
+
Hu: 'HU',
|
|
27
|
+
No: 'NO',
|
|
28
|
+
Se: 'SE'
|
|
29
|
+
};
|
|
@@ -56,5 +56,28 @@ export interface BillingAddressDto {
|
|
|
56
56
|
* @memberof BillingAddressDto
|
|
57
57
|
*/
|
|
58
58
|
'city': string;
|
|
59
|
+
/**
|
|
60
|
+
* Country for billing address
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof BillingAddressDto
|
|
63
|
+
*/
|
|
64
|
+
'country'?: BillingAddressDtoCountryEnum;
|
|
59
65
|
}
|
|
60
66
|
|
|
67
|
+
export const BillingAddressDtoCountryEnum = {
|
|
68
|
+
De: 'DE',
|
|
69
|
+
Us: 'US',
|
|
70
|
+
Gb: 'GB',
|
|
71
|
+
Ch: 'CH',
|
|
72
|
+
Pl: 'PL',
|
|
73
|
+
Au: 'AU',
|
|
74
|
+
Ca: 'CA',
|
|
75
|
+
Dk: 'DK',
|
|
76
|
+
Hu: 'HU',
|
|
77
|
+
No: 'NO',
|
|
78
|
+
Se: 'SE'
|
|
79
|
+
} as const;
|
|
80
|
+
|
|
81
|
+
export type BillingAddressDtoCountryEnum = typeof BillingAddressDtoCountryEnum[keyof typeof BillingAddressDtoCountryEnum];
|
|
82
|
+
|
|
83
|
+
|