@emilgroup/payment-sdk 1.8.0 → 1.8.1-beta.0

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.8.0 --save
20
+ npm install @emilgroup/payment-sdk@1.8.1-beta.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk@1.8.0
24
+ yarn add @emilgroup/payment-sdk@1.8.1-beta.0
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -40,11 +40,11 @@ export interface BankTransactionClassWithoutExpandProperties {
40
40
  */
41
41
  'bankAccountNumber': string;
42
42
  /**
43
- * Reference number derived from the MT940 swift Insturctions
43
+ * Reference number derived from the MT940 or CAMT file
44
44
  * @type {string}
45
45
  * @memberof BankTransactionClassWithoutExpandProperties
46
46
  */
47
- 'swiftMessageReference'?: string;
47
+ 'messageReference'?: string;
48
48
  /**
49
49
  * Currency of the transaction.
50
50
  * @type {string}
@@ -105,6 +105,12 @@ export interface BankTransactionClassWithoutExpandProperties {
105
105
  * @memberof BankTransactionClassWithoutExpandProperties
106
106
  */
107
107
  'isLinked': boolean;
108
+ /**
109
+ * The file format of the bank transaction
110
+ * @type {string}
111
+ * @memberof BankTransactionClassWithoutExpandProperties
112
+ */
113
+ 'importedFrom': string;
108
114
  /**
109
115
  * Time at which the object was created.
110
116
  * @type {string}
@@ -42,11 +42,11 @@ export interface BankTransactionClass {
42
42
  */
43
43
  'bankAccountNumber': string;
44
44
  /**
45
- * Reference number derived from the MT940 swift Insturctions
45
+ * Reference number derived from the MT940 or CAMT file
46
46
  * @type {string}
47
47
  * @memberof BankTransactionClass
48
48
  */
49
- 'swiftMessageReference'?: string;
49
+ 'messageReference'?: string;
50
50
  /**
51
51
  * Currency of the transaction.
52
52
  * @type {string}
@@ -119,6 +119,12 @@ export interface BankTransactionClass {
119
119
  * @memberof BankTransactionClass
120
120
  */
121
121
  'linkedTransaction'?: SharedTransactionClass;
122
+ /**
123
+ * The file format of the bank transaction
124
+ * @type {string}
125
+ * @memberof BankTransactionClass
126
+ */
127
+ 'importedFrom': string;
122
128
  /**
123
129
  * Time at which the object was created.
124
130
  * @type {string}
@@ -29,6 +29,18 @@ export interface CompleteAdyenPaymentSetupRequestDto {
29
29
  * @memberof CompleteAdyenPaymentSetupRequestDto
30
30
  */
31
31
  'paymentMethodType': CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum;
32
+ /**
33
+ * Card details.
34
+ * @type {CardDetailsDto}
35
+ * @memberof CompleteAdyenPaymentSetupRequestDto
36
+ */
37
+ 'cardDetails'?: CardDetailsDto;
38
+ /**
39
+ * SEPA direct details.
40
+ * @type {SepaDirectDto}
41
+ * @memberof CompleteAdyenPaymentSetupRequestDto
42
+ */
43
+ 'sepaDetails'?: SepaDirectDto;
32
44
  /**
33
45
  * Unique identifier of the lead that this object belongs to.
34
46
  * @type {string}
@@ -65,18 +77,6 @@ export interface CompleteAdyenPaymentSetupRequestDto {
65
77
  * @memberof CompleteAdyenPaymentSetupRequestDto
66
78
  */
67
79
  'email': string;
68
- /**
69
- *
70
- * @type {CardDetailsDto}
71
- * @memberof CompleteAdyenPaymentSetupRequestDto
72
- */
73
- 'cardDetails'?: CardDetailsDto;
74
- /**
75
- *
76
- * @type {SepaDirectDto}
77
- * @memberof CompleteAdyenPaymentSetupRequestDto
78
- */
79
- 'sepaDetails'?: SepaDirectDto;
80
80
  }
81
81
  export declare const CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum: {
82
82
  readonly Paypal: "paypal";
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { SepaDirectDto } from './sepa-direct-dto';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -57,6 +58,24 @@ export interface CompleteStripePaymentSetupRequestDto {
57
58
  * @memberof CompleteStripePaymentSetupRequestDto
58
59
  */
59
60
  'paymentMethodType': CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum;
61
+ /**
62
+ * The account\'s type.
63
+ * @type {string}
64
+ * @memberof CompleteStripePaymentSetupRequestDto
65
+ */
66
+ 'accountType'?: string;
67
+ /**
68
+ * The account\'s company name.
69
+ * @type {string}
70
+ * @memberof CompleteStripePaymentSetupRequestDto
71
+ */
72
+ 'companyName'?: string;
73
+ /**
74
+ * SEPA direct details
75
+ * @type {SepaDirectDto}
76
+ * @memberof CompleteStripePaymentSetupRequestDto
77
+ */
78
+ 'sepaDetails'?: SepaDirectDto;
60
79
  }
61
80
  export declare const CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum: {
62
81
  readonly Paypal: "paypal";
@@ -69,6 +69,12 @@ export interface PaymentMethodClass {
69
69
  * @memberof PaymentMethodClass
70
70
  */
71
71
  'productSlug'?: string;
72
+ /**
73
+ * Payment data details. Stored only for some payment method types.
74
+ * @type {object}
75
+ * @memberof PaymentMethodClass
76
+ */
77
+ 'details'?: object;
72
78
  /**
73
79
  * Optional field contain extra information
74
80
  * @type {object}
@@ -40,11 +40,11 @@ export interface UnlinkedBankTransactionResponseClass {
40
40
  */
41
41
  'bankAccountNumber': string;
42
42
  /**
43
- * Reference number derived from the MT940 swift Insturctions
43
+ * Reference number derived from the MT940 or CAMT file
44
44
  * @type {string}
45
45
  * @memberof UnlinkedBankTransactionResponseClass
46
46
  */
47
- 'swiftMessageReference'?: string;
47
+ 'messageReference'?: string;
48
48
  /**
49
49
  * Currency of the transaction.
50
50
  * @type {string}
@@ -87,6 +87,12 @@ export interface UnlinkedBankTransactionResponseClass {
87
87
  * @memberof UnlinkedBankTransactionResponseClass
88
88
  */
89
89
  'isLinked': boolean;
90
+ /**
91
+ * The file format of the bank transaction
92
+ * @type {string}
93
+ * @memberof UnlinkedBankTransactionResponseClass
94
+ */
95
+ 'importedFrom': string;
90
96
  /**
91
97
  * Time at which the object was created.
92
98
  * @type {string}
@@ -45,11 +45,11 @@ export interface BankTransactionClassWithoutExpandProperties {
45
45
  */
46
46
  'bankAccountNumber': string;
47
47
  /**
48
- * Reference number derived from the MT940 swift Insturctions
48
+ * Reference number derived from the MT940 or CAMT file
49
49
  * @type {string}
50
50
  * @memberof BankTransactionClassWithoutExpandProperties
51
51
  */
52
- 'swiftMessageReference'?: string;
52
+ 'messageReference'?: string;
53
53
  /**
54
54
  * Currency of the transaction.
55
55
  * @type {string}
@@ -110,6 +110,12 @@ export interface BankTransactionClassWithoutExpandProperties {
110
110
  * @memberof BankTransactionClassWithoutExpandProperties
111
111
  */
112
112
  'isLinked': boolean;
113
+ /**
114
+ * The file format of the bank transaction
115
+ * @type {string}
116
+ * @memberof BankTransactionClassWithoutExpandProperties
117
+ */
118
+ 'importedFrom': string;
113
119
  /**
114
120
  * Time at which the object was created.
115
121
  * @type {string}
@@ -47,11 +47,11 @@ export interface BankTransactionClass {
47
47
  */
48
48
  'bankAccountNumber': string;
49
49
  /**
50
- * Reference number derived from the MT940 swift Insturctions
50
+ * Reference number derived from the MT940 or CAMT file
51
51
  * @type {string}
52
52
  * @memberof BankTransactionClass
53
53
  */
54
- 'swiftMessageReference'?: string;
54
+ 'messageReference'?: string;
55
55
  /**
56
56
  * Currency of the transaction.
57
57
  * @type {string}
@@ -124,6 +124,12 @@ export interface BankTransactionClass {
124
124
  * @memberof BankTransactionClass
125
125
  */
126
126
  'linkedTransaction'?: SharedTransactionClass;
127
+ /**
128
+ * The file format of the bank transaction
129
+ * @type {string}
130
+ * @memberof BankTransactionClass
131
+ */
132
+ 'importedFrom': string;
127
133
  /**
128
134
  * Time at which the object was created.
129
135
  * @type {string}
@@ -34,6 +34,18 @@ export interface CompleteAdyenPaymentSetupRequestDto {
34
34
  * @memberof CompleteAdyenPaymentSetupRequestDto
35
35
  */
36
36
  'paymentMethodType': CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum;
37
+ /**
38
+ * Card details.
39
+ * @type {CardDetailsDto}
40
+ * @memberof CompleteAdyenPaymentSetupRequestDto
41
+ */
42
+ 'cardDetails'?: CardDetailsDto;
43
+ /**
44
+ * SEPA direct details.
45
+ * @type {SepaDirectDto}
46
+ * @memberof CompleteAdyenPaymentSetupRequestDto
47
+ */
48
+ 'sepaDetails'?: SepaDirectDto;
37
49
  /**
38
50
  * Unique identifier of the lead that this object belongs to.
39
51
  * @type {string}
@@ -70,18 +82,6 @@ export interface CompleteAdyenPaymentSetupRequestDto {
70
82
  * @memberof CompleteAdyenPaymentSetupRequestDto
71
83
  */
72
84
  'email': string;
73
- /**
74
- *
75
- * @type {CardDetailsDto}
76
- * @memberof CompleteAdyenPaymentSetupRequestDto
77
- */
78
- 'cardDetails'?: CardDetailsDto;
79
- /**
80
- *
81
- * @type {SepaDirectDto}
82
- * @memberof CompleteAdyenPaymentSetupRequestDto
83
- */
84
- 'sepaDetails'?: SepaDirectDto;
85
85
  }
86
86
 
87
87
  export const CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = {
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { SepaDirectDto } from './sepa-direct-dto';
16
17
 
17
18
  /**
18
19
  *
@@ -62,6 +63,24 @@ export interface CompleteStripePaymentSetupRequestDto {
62
63
  * @memberof CompleteStripePaymentSetupRequestDto
63
64
  */
64
65
  'paymentMethodType': CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum;
66
+ /**
67
+ * The account\'s type.
68
+ * @type {string}
69
+ * @memberof CompleteStripePaymentSetupRequestDto
70
+ */
71
+ 'accountType'?: string;
72
+ /**
73
+ * The account\'s company name.
74
+ * @type {string}
75
+ * @memberof CompleteStripePaymentSetupRequestDto
76
+ */
77
+ 'companyName'?: string;
78
+ /**
79
+ * SEPA direct details
80
+ * @type {SepaDirectDto}
81
+ * @memberof CompleteStripePaymentSetupRequestDto
82
+ */
83
+ 'sepaDetails'?: SepaDirectDto;
65
84
  }
66
85
 
67
86
  export const CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum = {
@@ -74,6 +74,12 @@ export interface PaymentMethodClass {
74
74
  * @memberof PaymentMethodClass
75
75
  */
76
76
  'productSlug'?: string;
77
+ /**
78
+ * Payment data details. Stored only for some payment method types.
79
+ * @type {object}
80
+ * @memberof PaymentMethodClass
81
+ */
82
+ 'details'?: object;
77
83
  /**
78
84
  * Optional field contain extra information
79
85
  * @type {object}
@@ -45,11 +45,11 @@ export interface UnlinkedBankTransactionResponseClass {
45
45
  */
46
46
  'bankAccountNumber': string;
47
47
  /**
48
- * Reference number derived from the MT940 swift Insturctions
48
+ * Reference number derived from the MT940 or CAMT file
49
49
  * @type {string}
50
50
  * @memberof UnlinkedBankTransactionResponseClass
51
51
  */
52
- 'swiftMessageReference'?: string;
52
+ 'messageReference'?: string;
53
53
  /**
54
54
  * Currency of the transaction.
55
55
  * @type {string}
@@ -92,6 +92,12 @@ export interface UnlinkedBankTransactionResponseClass {
92
92
  * @memberof UnlinkedBankTransactionResponseClass
93
93
  */
94
94
  'isLinked': boolean;
95
+ /**
96
+ * The file format of the bank transaction
97
+ * @type {string}
98
+ * @memberof UnlinkedBankTransactionResponseClass
99
+ */
100
+ 'importedFrom': string;
95
101
  /**
96
102
  * Time at which the object was created.
97
103
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.8.0",
3
+ "version": "1.8.1-beta.0",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [