@emilgroup/customer-sdk-node 1.47.1-beta.8 → 1.47.1-beta.9
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 +2 -2
- package/dist/models/shared-create-payment-method-request-dto.d.ts +11 -6
- package/dist/models/shared-create-payment-method-request-dto.js +5 -0
- package/dist/models/shared-payment-method-response-class.d.ts +6 -1
- package/dist/models/shared-payment-method-response-class.js +5 -0
- package/models/shared-create-payment-method-request-dto.ts +14 -6
- package/models/shared-payment-method-response-class.ts +9 -1
- package/package.json +1 -1
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/customer-sdk-node@1.47.1-beta.
|
|
20
|
+
npm install @emilgroup/customer-sdk-node@1.47.1-beta.9 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/customer-sdk-node@1.47.1-beta.
|
|
24
|
+
yarn add @emilgroup/customer-sdk-node@1.47.1-beta.9
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CustomersApi`.
|
|
@@ -19,17 +19,17 @@ import { SharedEisSepaDebitDto } from './shared-eis-sepa-debit-dto';
|
|
|
19
19
|
*/
|
|
20
20
|
export interface SharedCreatePaymentMethodRequestDto {
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {
|
|
22
|
+
* Payment method type
|
|
23
|
+
* @type {string}
|
|
24
24
|
* @memberof SharedCreatePaymentMethodRequestDto
|
|
25
25
|
*/
|
|
26
|
-
'
|
|
26
|
+
'type': SharedCreatePaymentMethodRequestDtoTypeEnum;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {
|
|
28
|
+
* Indicator if payment method was created in booking funnel
|
|
29
|
+
* @type {boolean}
|
|
30
30
|
* @memberof SharedCreatePaymentMethodRequestDto
|
|
31
31
|
*/
|
|
32
|
-
'
|
|
32
|
+
'isPaymentMethodCreatedInBf'?: boolean;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @type {SepaDto}
|
|
@@ -49,3 +49,8 @@ export interface SharedCreatePaymentMethodRequestDto {
|
|
|
49
49
|
*/
|
|
50
50
|
'eisSepaDebit'?: SharedEisSepaDebitDto;
|
|
51
51
|
}
|
|
52
|
+
export declare const SharedCreatePaymentMethodRequestDtoTypeEnum: {
|
|
53
|
+
readonly Sepa: "sepa";
|
|
54
|
+
readonly Invoice: "invoice";
|
|
55
|
+
};
|
|
56
|
+
export type SharedCreatePaymentMethodRequestDtoTypeEnum = typeof SharedCreatePaymentMethodRequestDtoTypeEnum[keyof typeof SharedCreatePaymentMethodRequestDtoTypeEnum];
|
|
@@ -13,3 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SharedCreatePaymentMethodRequestDtoTypeEnum = void 0;
|
|
17
|
+
exports.SharedCreatePaymentMethodRequestDtoTypeEnum = {
|
|
18
|
+
Sepa: 'sepa',
|
|
19
|
+
Invoice: 'invoice'
|
|
20
|
+
};
|
|
@@ -23,7 +23,7 @@ export interface SharedPaymentMethodResponseClass {
|
|
|
23
23
|
* @type {string}
|
|
24
24
|
* @memberof SharedPaymentMethodResponseClass
|
|
25
25
|
*/
|
|
26
|
-
'type':
|
|
26
|
+
'type': SharedPaymentMethodResponseClassTypeEnum;
|
|
27
27
|
/**
|
|
28
28
|
* SEPA debit payment details
|
|
29
29
|
* @type {SharedSepaResponseClass}
|
|
@@ -49,3 +49,8 @@ export interface SharedPaymentMethodResponseClass {
|
|
|
49
49
|
*/
|
|
50
50
|
'isPaymentMethodCreatedInBf'?: boolean;
|
|
51
51
|
}
|
|
52
|
+
export declare const SharedPaymentMethodResponseClassTypeEnum: {
|
|
53
|
+
readonly Sepa: "sepa";
|
|
54
|
+
readonly Invoice: "invoice";
|
|
55
|
+
};
|
|
56
|
+
export type SharedPaymentMethodResponseClassTypeEnum = typeof SharedPaymentMethodResponseClassTypeEnum[keyof typeof SharedPaymentMethodResponseClassTypeEnum];
|
|
@@ -13,3 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SharedPaymentMethodResponseClassTypeEnum = void 0;
|
|
17
|
+
exports.SharedPaymentMethodResponseClassTypeEnum = {
|
|
18
|
+
Sepa: 'sepa',
|
|
19
|
+
Invoice: 'invoice'
|
|
20
|
+
};
|
|
@@ -24,17 +24,17 @@ import { SharedEisSepaDebitDto } from './shared-eis-sepa-debit-dto';
|
|
|
24
24
|
*/
|
|
25
25
|
export interface SharedCreatePaymentMethodRequestDto {
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {
|
|
27
|
+
* Payment method type
|
|
28
|
+
* @type {string}
|
|
29
29
|
* @memberof SharedCreatePaymentMethodRequestDto
|
|
30
30
|
*/
|
|
31
|
-
'
|
|
31
|
+
'type': SharedCreatePaymentMethodRequestDtoTypeEnum;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {
|
|
33
|
+
* Indicator if payment method was created in booking funnel
|
|
34
|
+
* @type {boolean}
|
|
35
35
|
* @memberof SharedCreatePaymentMethodRequestDto
|
|
36
36
|
*/
|
|
37
|
-
'
|
|
37
|
+
'isPaymentMethodCreatedInBf'?: boolean;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {SepaDto}
|
|
@@ -55,3 +55,11 @@ export interface SharedCreatePaymentMethodRequestDto {
|
|
|
55
55
|
'eisSepaDebit'?: SharedEisSepaDebitDto;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
+
export const SharedCreatePaymentMethodRequestDtoTypeEnum = {
|
|
59
|
+
Sepa: 'sepa',
|
|
60
|
+
Invoice: 'invoice'
|
|
61
|
+
} as const;
|
|
62
|
+
|
|
63
|
+
export type SharedCreatePaymentMethodRequestDtoTypeEnum = typeof SharedCreatePaymentMethodRequestDtoTypeEnum[keyof typeof SharedCreatePaymentMethodRequestDtoTypeEnum];
|
|
64
|
+
|
|
65
|
+
|
|
@@ -28,7 +28,7 @@ export interface SharedPaymentMethodResponseClass {
|
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof SharedPaymentMethodResponseClass
|
|
30
30
|
*/
|
|
31
|
-
'type':
|
|
31
|
+
'type': SharedPaymentMethodResponseClassTypeEnum;
|
|
32
32
|
/**
|
|
33
33
|
* SEPA debit payment details
|
|
34
34
|
* @type {SharedSepaResponseClass}
|
|
@@ -55,3 +55,11 @@ export interface SharedPaymentMethodResponseClass {
|
|
|
55
55
|
'isPaymentMethodCreatedInBf'?: boolean;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
+
export const SharedPaymentMethodResponseClassTypeEnum = {
|
|
59
|
+
Sepa: 'sepa',
|
|
60
|
+
Invoice: 'invoice'
|
|
61
|
+
} as const;
|
|
62
|
+
|
|
63
|
+
export type SharedPaymentMethodResponseClassTypeEnum = typeof SharedPaymentMethodResponseClassTypeEnum[keyof typeof SharedPaymentMethodResponseClassTypeEnum];
|
|
64
|
+
|
|
65
|
+
|