@emilgroup/payment-sdk 1.13.1-beta.6 → 1.13.1-beta.60

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.
Files changed (82) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +55 -13
  4. package/api/bank-transaction-api.ts +49 -21
  5. package/api/payment-methods-api.ts +59 -17
  6. package/api/payment-reminders-api.ts +55 -13
  7. package/api/payments-api.ts +59 -17
  8. package/api/refunds-api.ts +45 -17
  9. package/api/tenant-bank-account-api.ts +45 -17
  10. package/base.ts +52 -3
  11. package/dist/api/bank-accounts-api.d.ts +35 -8
  12. package/dist/api/bank-accounts-api.js +29 -11
  13. package/dist/api/bank-transaction-api.d.ts +32 -14
  14. package/dist/api/bank-transaction-api.js +27 -15
  15. package/dist/api/payment-methods-api.d.ts +39 -12
  16. package/dist/api/payment-methods-api.js +32 -14
  17. package/dist/api/payment-reminders-api.d.ts +35 -8
  18. package/dist/api/payment-reminders-api.js +29 -11
  19. package/dist/api/payments-api.d.ts +39 -12
  20. package/dist/api/payments-api.js +32 -14
  21. package/dist/api/refunds-api.d.ts +28 -10
  22. package/dist/api/refunds-api.js +24 -12
  23. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  24. package/dist/api/tenant-bank-account-api.js +24 -12
  25. package/dist/base.d.ts +10 -1
  26. package/dist/base.js +46 -2
  27. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +0 -14
  28. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +1 -0
  29. package/dist/models/complete-adyen-payment-setup-request-dto.js +2 -1
  30. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  31. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  32. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  33. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +1 -0
  34. package/dist/models/complete-stripe-payment-setup-request-dto.js +2 -1
  35. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  36. package/dist/models/create-bank-order-request-dto.js +28 -0
  37. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  38. package/dist/models/create-payment-request-dto.d.ts +7 -1
  39. package/dist/models/create-psp-payment-method-request-dto.d.ts +14 -1
  40. package/dist/models/create-psp-payment-method-request-dto.js +2 -1
  41. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  42. package/dist/models/index.d.ts +4 -0
  43. package/dist/models/index.js +4 -0
  44. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  45. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  46. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  47. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  48. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  49. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  50. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  51. package/dist/models/payment-class.d.ts +7 -1
  52. package/dist/models/payment-method-class.d.ts +6 -0
  53. package/dist/models/payment-reminder-class.d.ts +7 -1
  54. package/dist/models/refund-class.d.ts +7 -1
  55. package/dist/models/unlinked-bank-transaction-response-class.d.ts +0 -14
  56. package/dist/models/update-bank-order-request-dto.d.ts +56 -0
  57. package/dist/models/update-bank-order-request-dto.js +23 -0
  58. package/models/bank-transaction-class-without-expand-properties.ts +0 -14
  59. package/models/complete-adyen-payment-setup-request-dto.ts +2 -1
  60. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  61. package/models/complete-payment-setup-request-dto.ts +7 -0
  62. package/models/complete-stripe-payment-setup-request-dto.ts +2 -1
  63. package/models/create-bank-order-request-dto.ts +84 -0
  64. package/models/create-payment-reminder-request-dto.ts +7 -1
  65. package/models/create-payment-request-dto.ts +7 -1
  66. package/models/create-psp-payment-method-request-dto.ts +15 -2
  67. package/models/deactivated-payment-reminder-class.ts +7 -1
  68. package/models/index.ts +4 -0
  69. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  70. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  71. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  72. package/models/initiate-payment-setup-request-dto.ts +3 -2
  73. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  74. package/models/payment-class-without-expand-properties.ts +7 -1
  75. package/models/payment-class.ts +7 -1
  76. package/models/payment-method-class.ts +6 -0
  77. package/models/payment-reminder-class.ts +7 -1
  78. package/models/refund-class.ts +7 -1
  79. package/models/unlinked-bank-transaction-response-class.ts +0 -14
  80. package/models/update-bank-order-request-dto.ts +65 -0
  81. package/package.json +1 -1
  82. package/tsconfig.json +1 -0
@@ -13,8 +13,6 @@
13
13
  */
14
14
 
15
15
 
16
- import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
17
- import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
18
16
 
19
17
  /**
20
18
  *
@@ -136,17 +134,5 @@ export interface BankTransactionClassWithoutExpandProperties {
136
134
  * @memberof BankTransactionClassWithoutExpandProperties
137
135
  */
138
136
  'updatedBy': string;
139
- /**
140
- * The match suggestions for invoices
141
- * @type {Array<InvoiceMatchSuggestionClass>}
142
- * @memberof BankTransactionClassWithoutExpandProperties
143
- */
144
- 'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
145
- /**
146
- * The progress of the suggestion generation
147
- * @type {SuggestionGenerationProgressClass}
148
- * @memberof BankTransactionClassWithoutExpandProperties
149
- */
150
- 'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
151
137
  }
152
138
 
@@ -98,7 +98,8 @@ export const CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = {
98
98
  SamsungPay: 'samsung_pay',
99
99
  Venmo: 'venmo',
100
100
  Masterpass: 'masterpass',
101
- B4u: 'b4u'
101
+ B4u: 'b4u',
102
+ Invoice: 'invoice'
102
103
  } as const;
103
104
 
104
105
  export type CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = typeof CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum[keyof typeof CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum];
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CompleteEisPaymentSetupRequestDto
21
+ */
22
+ export interface CompleteEisPaymentSetupRequestDto {
23
+ /**
24
+ * Unique identifier of the account that this object belongs to.
25
+ * @type {string}
26
+ * @memberof CompleteEisPaymentSetupRequestDto
27
+ */
28
+ 'accountCode'?: string;
29
+ /**
30
+ * Unique identifier of the partner that this object belongs to.
31
+ * @type {string}
32
+ * @memberof CompleteEisPaymentSetupRequestDto
33
+ */
34
+ 'partnerCode'?: string;
35
+ /**
36
+ * Unique identifier of the lead that this object belongs to.
37
+ * @type {string}
38
+ * @memberof CompleteEisPaymentSetupRequestDto
39
+ */
40
+ 'leadCode'?: string;
41
+ }
42
+
@@ -15,6 +15,7 @@
15
15
 
16
16
  import { CompleteAdyenPaymentSetupRequestDto } from './complete-adyen-payment-setup-request-dto';
17
17
  import { CompleteBraintreePaymentSetupRequestDto } from './complete-braintree-payment-setup-request-dto';
18
+ import { CompleteEisPaymentSetupRequestDto } from './complete-eis-payment-setup-request-dto';
18
19
  import { CompleteStripePaymentSetupRequestDto } from './complete-stripe-payment-setup-request-dto';
19
20
 
20
21
  /**
@@ -47,5 +48,11 @@ export interface CompletePaymentSetupRequestDto {
47
48
  * @memberof CompletePaymentSetupRequestDto
48
49
  */
49
50
  'adyen'?: CompleteAdyenPaymentSetupRequestDto;
51
+ /**
52
+ *
53
+ * @type {CompleteEisPaymentSetupRequestDto}
54
+ * @memberof CompletePaymentSetupRequestDto
55
+ */
56
+ 'eis'?: CompleteEisPaymentSetupRequestDto;
50
57
  }
51
58
 
@@ -97,7 +97,8 @@ export const CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum = {
97
97
  SamsungPay: 'samsung_pay',
98
98
  Venmo: 'venmo',
99
99
  Masterpass: 'masterpass',
100
- B4u: 'b4u'
100
+ B4u: 'b4u',
101
+ Invoice: 'invoice'
101
102
  } as const;
102
103
 
103
104
  export type CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum = typeof CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum[keyof typeof CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum];
@@ -0,0 +1,84 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CreateBankOrderRequestDto
21
+ */
22
+ export interface CreateBankOrderRequestDto {
23
+ /**
24
+ * Bank order type.
25
+ * @type {string}
26
+ * @memberof CreateBankOrderRequestDto
27
+ */
28
+ 'type': CreateBankOrderRequestDtoTypeEnum;
29
+ /**
30
+ * Status associated with bank order.
31
+ * @type {string}
32
+ * @memberof CreateBankOrderRequestDto
33
+ */
34
+ 'status': CreateBankOrderRequestDtoStatusEnum;
35
+ /**
36
+ * Bank order description.
37
+ * @type {string}
38
+ * @memberof CreateBankOrderRequestDto
39
+ */
40
+ 'description'?: string;
41
+ /**
42
+ * Financial account code associated with the bank order.
43
+ * @type {string}
44
+ * @memberof CreateBankOrderRequestDto
45
+ */
46
+ 'financialAccountCode': string;
47
+ /**
48
+ * List of invoice IDs associated with bank order.
49
+ * @type {Array<number>}
50
+ * @memberof CreateBankOrderRequestDto
51
+ */
52
+ 'invoiceIds': Array<number>;
53
+ /**
54
+ * Day of execution of bank order.
55
+ * @type {string}
56
+ * @memberof CreateBankOrderRequestDto
57
+ */
58
+ 'executionDate': string;
59
+ /**
60
+ * Latest due date.
61
+ * @type {string}
62
+ * @memberof CreateBankOrderRequestDto
63
+ */
64
+ 'dueDate': string;
65
+ }
66
+
67
+ export const CreateBankOrderRequestDtoTypeEnum = {
68
+ DirectDebit: 'direct_debit',
69
+ PremiumPayment: 'premium_payment',
70
+ ClaimPayment: 'claim_payment'
71
+ } as const;
72
+
73
+ export type CreateBankOrderRequestDtoTypeEnum = typeof CreateBankOrderRequestDtoTypeEnum[keyof typeof CreateBankOrderRequestDtoTypeEnum];
74
+ export const CreateBankOrderRequestDtoStatusEnum = {
75
+ Open: 'open',
76
+ Draft: 'draft',
77
+ Closed: 'closed',
78
+ Accepted: 'accepted',
79
+ Processing: 'processing'
80
+ } as const;
81
+
82
+ export type CreateBankOrderRequestDtoStatusEnum = typeof CreateBankOrderRequestDtoStatusEnum[keyof typeof CreateBankOrderRequestDtoStatusEnum];
83
+
84
+
@@ -37,7 +37,13 @@ export interface CreatePaymentReminderRequestDto {
37
37
  * @type {string}
38
38
  * @memberof CreatePaymentReminderRequestDto
39
39
  */
40
- 'accountCode': string;
40
+ 'accountCode'?: string;
41
+ /**
42
+ * Code referencing the partner for which this reminder is created.
43
+ * @type {string}
44
+ * @memberof CreatePaymentReminderRequestDto
45
+ */
46
+ 'partnerCode'?: string;
41
47
  /**
42
48
  * The type of invoice is used to determine the proper workflow.
43
49
  * @type {string}
@@ -25,7 +25,13 @@ export interface CreatePaymentRequestDto {
25
25
  * @type {string}
26
26
  * @memberof CreatePaymentRequestDto
27
27
  */
28
- 'accountCode': string;
28
+ 'accountCode'?: string;
29
+ /**
30
+ * Partner code associated to that payment.
31
+ * @type {string}
32
+ * @memberof CreatePaymentRequestDto
33
+ */
34
+ 'partnerCode'?: string;
29
35
  /**
30
36
  * Amount to be paid in cents. 100 to charge 1€.
31
37
  * @type {number}
@@ -33,7 +33,13 @@ export interface CreatePspPaymentMethodRequestDto {
33
33
  * @type {string}
34
34
  * @memberof CreatePspPaymentMethodRequestDto
35
35
  */
36
- 'accountCode': string;
36
+ 'accountCode'?: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof CreatePspPaymentMethodRequestDto
41
+ */
42
+ 'partnerCode'?: string;
37
43
  /**
38
44
  *
39
45
  * @type {SepaDirectDto}
@@ -52,6 +58,12 @@ export interface CreatePspPaymentMethodRequestDto {
52
58
  * @memberof CreatePspPaymentMethodRequestDto
53
59
  */
54
60
  'productSlug'?: string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof CreatePspPaymentMethodRequestDto
65
+ */
66
+ 'leadCode'?: string;
55
67
  }
56
68
 
57
69
  export const CreatePspPaymentMethodRequestDtoTypeEnum = {
@@ -68,7 +80,8 @@ export const CreatePspPaymentMethodRequestDtoTypeEnum = {
68
80
  SamsungPay: 'samsung_pay',
69
81
  Venmo: 'venmo',
70
82
  Masterpass: 'masterpass',
71
- B4u: 'b4u'
83
+ B4u: 'b4u',
84
+ Invoice: 'invoice'
72
85
  } as const;
73
86
 
74
87
  export type CreatePspPaymentMethodRequestDtoTypeEnum = typeof CreatePspPaymentMethodRequestDtoTypeEnum[keyof typeof CreatePspPaymentMethodRequestDtoTypeEnum];
@@ -43,7 +43,13 @@ export interface DeactivatedPaymentReminderClass {
43
43
  * @type {string}
44
44
  * @memberof DeactivatedPaymentReminderClass
45
45
  */
46
- 'accountCode': string;
46
+ 'accountCode'?: string;
47
+ /**
48
+ * Unique identifier of related partner.
49
+ * @type {string}
50
+ * @memberof DeactivatedPaymentReminderClass
51
+ */
52
+ 'partnerCode'?: string;
47
53
  /**
48
54
  * Type of the invoice
49
55
  * @type {string}
package/models/index.ts CHANGED
@@ -7,11 +7,13 @@ export * from './billing-profile-limited-response-dto';
7
7
  export * from './card-details-dto';
8
8
  export * from './complete-adyen-payment-setup-request-dto';
9
9
  export * from './complete-braintree-payment-setup-request-dto';
10
+ export * from './complete-eis-payment-setup-request-dto';
10
11
  export * from './complete-payment-setup-request-dto';
11
12
  export * from './complete-payment-setup-response-class';
12
13
  export * from './complete-stripe-payment-setup-request-dto';
13
14
  export * from './create-bank-account-request-dto';
14
15
  export * from './create-bank-account-response-class';
16
+ export * from './create-bank-order-request-dto';
15
17
  export * from './create-payment-method-response-class';
16
18
  export * from './create-payment-reminder-request-dto';
17
19
  export * from './create-payment-reminder-response-class';
@@ -38,6 +40,7 @@ export * from './initiate-adyen-payment-setup-request-dto';
38
40
  export * from './initiate-adyen-payment-setup-response-class';
39
41
  export * from './initiate-braintree-payment-setup-request-dto';
40
42
  export * from './initiate-braintree-payment-setup-response-class';
43
+ export * from './initiate-eis-payment-setup-request-dto';
41
44
  export * from './initiate-payment-setup-request-dto';
42
45
  export * from './initiate-payment-setup-response-class';
43
46
  export * from './initiate-stripe-payment-setup-request-dto';
@@ -74,6 +77,7 @@ export * from './unlinked-bank-transaction-response-class';
74
77
  export * from './update-bank-account-request-dto';
75
78
  export * from './update-bank-account-request-dto-rest';
76
79
  export * from './update-bank-account-response-class';
80
+ export * from './update-bank-order-request-dto';
77
81
  export * from './update-tenant-bank-account-response-class';
78
82
  export * from './update-tenant-bank-account-rest-request-dto';
79
83
  export * from './validate-pspconfig-request-dto';
@@ -32,5 +32,11 @@ export interface InitiateAdyenPaymentSetupRequestDto {
32
32
  * @memberof InitiateAdyenPaymentSetupRequestDto
33
33
  */
34
34
  'accountCode'?: string;
35
+ /**
36
+ * Unique identifier of the partner that this object belongs to.
37
+ * @type {string}
38
+ * @memberof InitiateAdyenPaymentSetupRequestDto
39
+ */
40
+ 'partnerCode'?: string;
35
41
  }
36
42
 
@@ -32,5 +32,11 @@ export interface InitiateBraintreePaymentSetupRequestDto {
32
32
  * @memberof InitiateBraintreePaymentSetupRequestDto
33
33
  */
34
34
  'accountCode'?: string;
35
+ /**
36
+ * Unique identifier of the partner that this object belongs to.
37
+ * @type {string}
38
+ * @memberof InitiateBraintreePaymentSetupRequestDto
39
+ */
40
+ 'partnerCode'?: string;
35
41
  }
36
42
 
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface InitiateEisPaymentSetupRequestDto
21
+ */
22
+ export interface InitiateEisPaymentSetupRequestDto {
23
+ /**
24
+ * Unique identifier of the lead that this object belongs to.
25
+ * @type {string}
26
+ * @memberof InitiateEisPaymentSetupRequestDto
27
+ */
28
+ 'leadCode'?: string;
29
+ /**
30
+ * Unique identifier of the account that this object belongs to.
31
+ * @type {string}
32
+ * @memberof InitiateEisPaymentSetupRequestDto
33
+ */
34
+ 'accountCode'?: string;
35
+ /**
36
+ * Unique identifier of the partner that this object belongs to.
37
+ * @type {string}
38
+ * @memberof InitiateEisPaymentSetupRequestDto
39
+ */
40
+ 'partnerCode'?: string;
41
+ }
42
+
@@ -15,6 +15,7 @@
15
15
 
16
16
  import { InitiateAdyenPaymentSetupRequestDto } from './initiate-adyen-payment-setup-request-dto';
17
17
  import { InitiateBraintreePaymentSetupRequestDto } from './initiate-braintree-payment-setup-request-dto';
18
+ import { InitiateEisPaymentSetupRequestDto } from './initiate-eis-payment-setup-request-dto';
18
19
  import { InitiateStripePaymentSetupRequestDto } from './initiate-stripe-payment-setup-request-dto';
19
20
 
20
21
  /**
@@ -43,10 +44,10 @@ export interface InitiatePaymentSetupRequestDto {
43
44
  'b4u'?: object;
44
45
  /**
45
46
  *
46
- * @type {object}
47
+ * @type {InitiateEisPaymentSetupRequestDto}
47
48
  * @memberof InitiatePaymentSetupRequestDto
48
49
  */
49
- 'eis'?: object;
50
+ 'eis'?: InitiateEisPaymentSetupRequestDto;
50
51
  /**
51
52
  *
52
53
  * @type {InitiateAdyenPaymentSetupRequestDto}
@@ -32,5 +32,11 @@ export interface InitiateStripePaymentSetupRequestDto {
32
32
  * @memberof InitiateStripePaymentSetupRequestDto
33
33
  */
34
34
  'accountCode'?: string;
35
+ /**
36
+ * Unique identifier of the partner that this object belongs to.
37
+ * @type {string}
38
+ * @memberof InitiateStripePaymentSetupRequestDto
39
+ */
40
+ 'partnerCode'?: string;
35
41
  }
36
42
 
@@ -43,7 +43,13 @@ export interface PaymentClassWithoutExpandProperties {
43
43
  * @type {string}
44
44
  * @memberof PaymentClassWithoutExpandProperties
45
45
  */
46
- 'accountCode': string;
46
+ 'accountCode'?: string;
47
+ /**
48
+ * Partner code associated to that payment.
49
+ * @type {string}
50
+ * @memberof PaymentClassWithoutExpandProperties
51
+ */
52
+ 'partnerCode'?: string;
47
53
  /**
48
54
  * Amount to be paid in cents. 100 to charge 1€.
49
55
  * @type {number}
@@ -44,7 +44,13 @@ export interface PaymentClass {
44
44
  * @type {string}
45
45
  * @memberof PaymentClass
46
46
  */
47
- 'accountCode': string;
47
+ 'accountCode'?: string;
48
+ /**
49
+ * Partner code associated to that payment.
50
+ * @type {string}
51
+ * @memberof PaymentClass
52
+ */
53
+ 'partnerCode'?: string;
48
54
  /**
49
55
  * Amount to be paid in cents. 100 to charge 1€.
50
56
  * @type {number}
@@ -80,6 +80,12 @@ export interface PaymentMethodClass {
80
80
  * @memberof PaymentMethodClass
81
81
  */
82
82
  'details'?: object;
83
+ /**
84
+ * The account PSP customer associated to this payment method.
85
+ * @type {object}
86
+ * @memberof PaymentMethodClass
87
+ */
88
+ 'accountPspCustomer'?: object;
83
89
  /**
84
90
  * Optional field contain extra information
85
91
  * @type {object}
@@ -43,7 +43,13 @@ export interface PaymentReminderClass {
43
43
  * @type {string}
44
44
  * @memberof PaymentReminderClass
45
45
  */
46
- 'accountCode': string;
46
+ 'accountCode'?: string;
47
+ /**
48
+ * Unique identifier of related partner.
49
+ * @type {string}
50
+ * @memberof PaymentReminderClass
51
+ */
52
+ 'partnerCode'?: string;
47
53
  /**
48
54
  * Type of the invoice
49
55
  * @type {string}
@@ -44,7 +44,13 @@ export interface RefundClass {
44
44
  * @type {string}
45
45
  * @memberof RefundClass
46
46
  */
47
- 'accountCode': string;
47
+ 'accountCode'?: string;
48
+ /**
49
+ * Partner code associated with the payment.
50
+ * @type {string}
51
+ * @memberof RefundClass
52
+ */
53
+ 'partnerCode'?: string;
48
54
  /**
49
55
  * Amount that was refunded in cents. 100 to refund 1€.
50
56
  * @type {number}
@@ -13,8 +13,6 @@
13
13
  */
14
14
 
15
15
 
16
- import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
17
- import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
18
16
 
19
17
  /**
20
18
  *
@@ -118,17 +116,5 @@ export interface UnlinkedBankTransactionResponseClass {
118
116
  * @memberof UnlinkedBankTransactionResponseClass
119
117
  */
120
118
  'updatedBy': string;
121
- /**
122
- * The match suggestions for invoices
123
- * @type {Array<InvoiceMatchSuggestionClass>}
124
- * @memberof UnlinkedBankTransactionResponseClass
125
- */
126
- 'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
127
- /**
128
- * The progress of the suggestion generation
129
- * @type {SuggestionGenerationProgressClass}
130
- * @memberof UnlinkedBankTransactionResponseClass
131
- */
132
- 'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
133
119
  }
134
120
 
@@ -0,0 +1,65 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface UpdateBankOrderRequestDto
21
+ */
22
+ export interface UpdateBankOrderRequestDto {
23
+ /**
24
+ * Bank order status
25
+ * @type {string}
26
+ * @memberof UpdateBankOrderRequestDto
27
+ */
28
+ 'status': UpdateBankOrderRequestDtoStatusEnum;
29
+ /**
30
+ * Bank order description.
31
+ * @type {string}
32
+ * @memberof UpdateBankOrderRequestDto
33
+ */
34
+ 'description'?: string;
35
+ /**
36
+ * List of invoice IDs associated with bank order.
37
+ * @type {Array<number>}
38
+ * @memberof UpdateBankOrderRequestDto
39
+ */
40
+ 'invoiceIds': Array<number>;
41
+ /**
42
+ * Day of execution of bank order.
43
+ * @type {string}
44
+ * @memberof UpdateBankOrderRequestDto
45
+ */
46
+ 'executionDate': string;
47
+ /**
48
+ * Latest due date.
49
+ * @type {string}
50
+ * @memberof UpdateBankOrderRequestDto
51
+ */
52
+ 'dueDate': string;
53
+ }
54
+
55
+ export const UpdateBankOrderRequestDtoStatusEnum = {
56
+ Open: 'open',
57
+ Draft: 'draft',
58
+ Closed: 'closed',
59
+ Accepted: 'accepted',
60
+ Processing: 'processing'
61
+ } as const;
62
+
63
+ export type UpdateBankOrderRequestDtoStatusEnum = typeof UpdateBankOrderRequestDtoStatusEnum[keyof typeof UpdateBankOrderRequestDtoStatusEnum];
64
+
65
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.13.1-beta.6",
3
+ "version": "1.13.1-beta.60",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
package/tsconfig.json CHANGED
@@ -5,6 +5,7 @@
5
5
  "module": "CommonJS",
6
6
  "noImplicitAny": true,
7
7
  "esModuleInterop": true,
8
+ "noImplicitOverride": true,
8
9
  "outDir": "dist",
9
10
  "rootDir": ".",
10
11
  "lib": [