@emilgroup/payment-sdk 1.4.1-beta.30 → 1.4.1-beta.31

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 (87) hide show
  1. package/.openapi-generator/FILES +5 -15
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +34 -38
  4. package/api/bank-transaction-api.ts +73 -77
  5. package/api/{default-api.ts → health-check-api.ts} +21 -17
  6. package/api/payment-methods-api.ts +52 -70
  7. package/api/payment-reminders-api.ts +63 -49
  8. package/api/payments-api.ts +52 -70
  9. package/api/refunds-api.ts +76 -88
  10. package/api/tenant-bank-account-api.ts +79 -63
  11. package/api/webhooks-api.ts +16 -12
  12. package/api.ts +2 -2
  13. package/dist/api/bank-accounts-api.d.ts +37 -39
  14. package/dist/api/bank-accounts-api.js +18 -18
  15. package/dist/api/bank-transaction-api.d.ts +77 -79
  16. package/dist/api/bank-transaction-api.js +45 -45
  17. package/dist/api/health-check-api.d.ts +70 -0
  18. package/dist/api/{default-api.js → health-check-api.js} +30 -26
  19. package/dist/api/payment-methods-api.d.ts +49 -58
  20. package/dist/api/payment-methods-api.js +32 -42
  21. package/dist/api/payment-reminders-api.d.ts +55 -46
  22. package/dist/api/payment-reminders-api.js +40 -34
  23. package/dist/api/payments-api.d.ts +49 -58
  24. package/dist/api/payments-api.js +32 -42
  25. package/dist/api/refunds-api.d.ts +76 -76
  26. package/dist/api/refunds-api.js +51 -49
  27. package/dist/api/tenant-bank-account-api.d.ts +71 -61
  28. package/dist/api/tenant-bank-account-api.js +51 -45
  29. package/dist/api/webhooks-api.d.ts +16 -12
  30. package/dist/api/webhooks-api.js +14 -10
  31. package/dist/api.d.ts +1 -1
  32. package/dist/api.js +1 -1
  33. package/dist/models/{bank-transaction-response-class.d.ts → bank-transaction-class-without-expand-properties.d.ts} +20 -34
  34. package/dist/models/create-tenant-bank-account-response-class.d.ts +4 -4
  35. package/dist/models/get-tenant-bank-account-response-class.d.ts +4 -4
  36. package/dist/models/index.d.ts +4 -14
  37. package/dist/models/index.js +4 -14
  38. package/dist/models/list-tenant-bank-account-response-class.d.ts +5 -5
  39. package/dist/models/{tenant-bank-account-response-class.d.ts → tenant-bank-account-class-without-expand-properties.d.ts} +10 -10
  40. package/dist/models/tenant-bank-account-class.d.ts +73 -0
  41. package/dist/models/{get-bank-account-response-class.d.ts → update-tenant-bank-account-response-class.d.ts} +7 -7
  42. package/models/{bank-transaction-response-class.ts → bank-transaction-class-without-expand-properties.ts} +20 -34
  43. package/models/create-tenant-bank-account-response-class.ts +4 -4
  44. package/models/get-tenant-bank-account-response-class.ts +4 -4
  45. package/models/index.ts +4 -14
  46. package/models/list-tenant-bank-account-response-class.ts +5 -5
  47. package/models/{tenant-bank-account-response-class.ts → tenant-bank-account-class-without-expand-properties.ts} +10 -10
  48. package/models/tenant-bank-account-class.ts +79 -0
  49. package/models/{create-refund-response-class.ts → update-tenant-bank-account-response-class.ts} +7 -7
  50. package/package.json +1 -1
  51. package/dist/api/default-api.d.ts +0 -66
  52. package/dist/models/bank-account-class.d.ts +0 -73
  53. package/dist/models/create-refund-response-class.d.ts +0 -25
  54. package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
  55. package/dist/models/get-bank-transactions-response-class.js +0 -15
  56. package/dist/models/get-refund-response-class.d.ts +0 -25
  57. package/dist/models/get-refund-response-class.js +0 -15
  58. package/dist/models/get-request-dto.d.ts +0 -30
  59. package/dist/models/get-request-dto.js +0 -15
  60. package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
  61. package/dist/models/list-bank-transactions-response-class.js +0 -15
  62. package/dist/models/list-refunds-response-class.d.ts +0 -31
  63. package/dist/models/list-refunds-response-class.js +0 -15
  64. package/dist/models/primary-bank-account-response-class.d.ts +0 -42
  65. package/dist/models/primary-bank-account-response-class.js +0 -15
  66. package/dist/models/refund-class.d.ts +0 -105
  67. package/dist/models/refund-class.js +0 -29
  68. package/dist/models/tenant-bank-account-response-class.js +0 -15
  69. package/dist/models/transaction-class.d.ts +0 -54
  70. package/dist/models/transaction-class.js +0 -15
  71. package/dist/models/update-bank-account-response-class.d.ts +0 -25
  72. package/dist/models/update-bank-account-response-class.js +0 -15
  73. package/models/bank-account-class.ts +0 -79
  74. package/models/get-bank-account-response-class.ts +0 -31
  75. package/models/get-bank-transactions-response-class.ts +0 -31
  76. package/models/get-refund-response-class.ts +0 -31
  77. package/models/get-request-dto.ts +0 -36
  78. package/models/list-bank-transactions-response-class.ts +0 -37
  79. package/models/list-refunds-response-class.ts +0 -37
  80. package/models/primary-bank-account-response-class.ts +0 -48
  81. package/models/refund-class.ts +0 -115
  82. package/models/transaction-class.ts +0 -60
  83. package/models/update-bank-account-response-class.ts +0 -31
  84. /package/dist/models/{bank-account-class.js → bank-transaction-class-without-expand-properties.js} +0 -0
  85. /package/dist/models/{bank-transaction-response-class.js → tenant-bank-account-class-without-expand-properties.js} +0 -0
  86. /package/dist/models/{create-refund-response-class.js → tenant-bank-account-class.js} +0 -0
  87. /package/dist/models/{get-bank-account-response-class.js → update-tenant-bank-account-response-class.js} +0 -0
@@ -1,36 +0,0 @@
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 GetRequestDto
21
- */
22
- export interface GetRequestDto {
23
- /**
24
- * Unique identifier for the object.
25
- * @type {string}
26
- * @memberof GetRequestDto
27
- */
28
- 'code': string;
29
- /**
30
- * Fields to expand response by
31
- * @type {string}
32
- * @memberof GetRequestDto
33
- */
34
- 'expand': string;
35
- }
36
-
@@ -1,37 +0,0 @@
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
- import { BankTransactionResponseClass } from './bank-transaction-response-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface ListBankTransactionsResponseClass
22
- */
23
- export interface ListBankTransactionsResponseClass {
24
- /**
25
- * The list of bankTransactionss.
26
- * @type {Array<BankTransactionResponseClass>}
27
- * @memberof ListBankTransactionsResponseClass
28
- */
29
- 'items': Array<BankTransactionResponseClass>;
30
- /**
31
- * Next page token
32
- * @type {string}
33
- * @memberof ListBankTransactionsResponseClass
34
- */
35
- 'nextPageToken': string;
36
- }
37
-
@@ -1,37 +0,0 @@
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
- import { RefundClass } from './refund-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface ListRefundsResponseClass
22
- */
23
- export interface ListRefundsResponseClass {
24
- /**
25
- * The list of refundss.
26
- * @type {Array<RefundClass>}
27
- * @memberof ListRefundsResponseClass
28
- */
29
- 'items': Array<RefundClass>;
30
- /**
31
- * Next page token
32
- * @type {string}
33
- * @memberof ListRefundsResponseClass
34
- */
35
- 'nextPageToken': string;
36
- }
37
-
@@ -1,48 +0,0 @@
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 PrimaryBankAccountResponseClass
21
- */
22
- export interface PrimaryBankAccountResponseClass {
23
- /**
24
- * Partner code associated with primary bank account.
25
- * @type {string}
26
- * @memberof PrimaryBankAccountResponseClass
27
- */
28
- 'entityCode': string;
29
- /**
30
- * Primary bank account id
31
- * @type {number}
32
- * @memberof PrimaryBankAccountResponseClass
33
- */
34
- 'bankAccountId': number;
35
- /**
36
- * Time at which the object was created.
37
- * @type {string}
38
- * @memberof PrimaryBankAccountResponseClass
39
- */
40
- 'createdAt': string;
41
- /**
42
- * Time at which the object was updated.
43
- * @type {string}
44
- * @memberof PrimaryBankAccountResponseClass
45
- */
46
- 'updatedAt': string;
47
- }
48
-
@@ -1,115 +0,0 @@
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 RefundClass
21
- */
22
- export interface RefundClass {
23
- /**
24
- * Internal unique identifier for the object. You should not have to use this, use code instead.
25
- * @type {number}
26
- * @memberof RefundClass
27
- */
28
- 'id': number;
29
- /**
30
- * Unique identifier for the object.
31
- * @type {string}
32
- * @memberof RefundClass
33
- */
34
- 'code': string;
35
- /**
36
- * Payment Service Provider with which the payment/refund is done.
37
- * @type {string}
38
- * @memberof RefundClass
39
- */
40
- 'psp': string;
41
- /**
42
- * User account code associated with the payment.
43
- * @type {string}
44
- * @memberof RefundClass
45
- */
46
- 'accountCode': string;
47
- /**
48
- * Amount that was refunded in cents. 100 to refund 1€.
49
- * @type {number}
50
- * @memberof RefundClass
51
- */
52
- 'amount': number;
53
- /**
54
- * Invoice referenced in this refund. Usually, one refund is connected to one withdraw/termination/correction invoice .
55
- * @type {string}
56
- * @memberof RefundClass
57
- */
58
- 'invoiceCode': string;
59
- /**
60
- * Time at which the object was created.
61
- * @type {string}
62
- * @memberof RefundClass
63
- */
64
- 'createdAt': string;
65
- /**
66
- * Time at which the object was updated.
67
- * @type {string}
68
- * @memberof RefundClass
69
- */
70
- 'updatedAt': string;
71
- /**
72
- * Currency of the amount refunded.
73
- * @type {string}
74
- * @memberof RefundClass
75
- */
76
- 'currency': string;
77
- /**
78
- * Reason for the refund.
79
- * @type {string}
80
- * @memberof RefundClass
81
- */
82
- 'reason': RefundClassReasonEnum;
83
- /**
84
- * Status of the refund.
85
- * @type {string}
86
- * @memberof RefundClass
87
- */
88
- 'status': RefundClassStatusEnum;
89
- /**
90
- * Items that were refunded.
91
- * @type {Array<string>}
92
- * @memberof RefundClass
93
- */
94
- 'refundItems': Array<string>;
95
- }
96
-
97
- export const RefundClassReasonEnum = {
98
- PolicyWithdrawn: 'POLICY_WITHDRAWN',
99
- PolicyTerminated: 'POLICY_TERMINATED',
100
- PolicyCorrected: 'POLICY_CORRECTED',
101
- ManualRefund: 'MANUAL_REFUND'
102
- } as const;
103
-
104
- export type RefundClassReasonEnum = typeof RefundClassReasonEnum[keyof typeof RefundClassReasonEnum];
105
- export const RefundClassStatusEnum = {
106
- Pending: 'pending',
107
- Succeeded: 'succeeded',
108
- Failed: 'failed',
109
- Canceled: 'canceled',
110
- Refunded: 'refunded'
111
- } as const;
112
-
113
- export type RefundClassStatusEnum = typeof RefundClassStatusEnum[keyof typeof RefundClassStatusEnum];
114
-
115
-
@@ -1,60 +0,0 @@
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 TransactionClass
21
- */
22
- export interface TransactionClass {
23
- /**
24
- * Internal unique identifier for the object. You should not have to use this, use code instead.
25
- * @type {number}
26
- * @memberof TransactionClass
27
- */
28
- 'id': number;
29
- /**
30
- * Unique identifier for transaction.
31
- * @type {string}
32
- * @memberof TransactionClass
33
- */
34
- 'code': string;
35
- /**
36
- * Reference to the payment id.
37
- * @type {number}
38
- * @memberof TransactionClass
39
- */
40
- 'paymentId': number;
41
- /**
42
- * Webhook associated to that transaction. Webhooks
43
- * @type {number}
44
- * @memberof TransactionClass
45
- */
46
- 'webhookId': number;
47
- /**
48
- * Status of the transaction. Can be one of the following: \'succeeded\', \'pending\', \'failed\', \'disputed\'. }
49
- * @type {string}
50
- * @memberof TransactionClass
51
- */
52
- 'status': string;
53
- /**
54
- * Time at which the object was created.
55
- * @type {string}
56
- * @memberof TransactionClass
57
- */
58
- 'createdAt': string;
59
- }
60
-
@@ -1,31 +0,0 @@
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
- import { BankAccountClass } from './bank-account-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface UpdateBankAccountResponseClass
22
- */
23
- export interface UpdateBankAccountResponseClass {
24
- /**
25
- * Bank Account
26
- * @type {BankAccountClass}
27
- * @memberof UpdateBankAccountResponseClass
28
- */
29
- 'bankAccount': BankAccountClass;
30
- }
31
-