@emilgroup/payment-sdk-node 1.5.0 → 1.7.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.
Files changed (110) hide show
  1. package/README.md +2 -2
  2. package/api/payments-api.ts +18 -16
  3. package/base.ts +1 -0
  4. package/models/create-payment-request-dto.ts +18 -0
  5. package/models/initiate-payment-setup-request-dto.ts +6 -0
  6. package/models/payment-class.ts +12 -0
  7. package/models/validate-pspconfig-request-dto.ts +2 -1
  8. package/package.json +2 -2
  9. package/dist/api/bank-accounts-api.d.ts +0 -197
  10. package/dist/api/bank-accounts-api.js +0 -351
  11. package/dist/api/default-api.d.ts +0 -66
  12. package/dist/api/default-api.js +0 -200
  13. package/dist/api/payment-methods-api.d.ts +0 -327
  14. package/dist/api/payment-methods-api.js +0 -551
  15. package/dist/api/payment-reminders-api.d.ts +0 -317
  16. package/dist/api/payment-reminders-api.js +0 -542
  17. package/dist/api/payment-service-providers-api.d.ts +0 -93
  18. package/dist/api/payment-service-providers-api.js +0 -224
  19. package/dist/api/payment-setup-api.d.ts +0 -146
  20. package/dist/api/payment-setup-api.js +0 -313
  21. package/dist/api/payments-api.d.ts +0 -281
  22. package/dist/api/payments-api.js +0 -463
  23. package/dist/api/webhooks-api.d.ts +0 -91
  24. package/dist/api/webhooks-api.js +0 -213
  25. package/dist/api.d.ts +0 -19
  26. package/dist/api.js +0 -37
  27. package/dist/base.d.ts +0 -77
  28. package/dist/base.js +0 -393
  29. package/dist/common.d.ts +0 -92
  30. package/dist/common.js +0 -277
  31. package/dist/configuration.d.ts +0 -90
  32. package/dist/configuration.js +0 -44
  33. package/dist/index.d.ts +0 -15
  34. package/dist/index.js +0 -36
  35. package/dist/models/bank-account-class.d.ts +0 -54
  36. package/dist/models/bank-account-class.js +0 -15
  37. package/dist/models/billing-profile-dto.d.ts +0 -38
  38. package/dist/models/billing-profile-dto.js +0 -15
  39. package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
  40. package/dist/models/billing-profile-limited-response-dto.js +0 -15
  41. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  42. package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
  43. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  44. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  45. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  46. package/dist/models/complete-payment-setup-response-class.js +0 -15
  47. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  48. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  49. package/dist/models/create-bank-account-request-dto.d.ts +0 -30
  50. package/dist/models/create-bank-account-request-dto.js +0 -15
  51. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  52. package/dist/models/create-payment-method-response-class.js +0 -15
  53. package/dist/models/create-payment-reminder-request-dto.d.ts +0 -63
  54. package/dist/models/create-payment-reminder-request-dto.js +0 -24
  55. package/dist/models/create-payment-request-dto.d.ts +0 -54
  56. package/dist/models/create-payment-request-dto.js +0 -15
  57. package/dist/models/create-payment-response-class.d.ts +0 -25
  58. package/dist/models/create-payment-response-class.js +0 -15
  59. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  60. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  61. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +0 -30
  62. package/dist/models/deactivate-payment-reminder-request-dto.js +0 -21
  63. package/dist/models/get-payment-method-response-class.d.ts +0 -25
  64. package/dist/models/get-payment-method-response-class.js +0 -15
  65. package/dist/models/get-payment-response-class.d.ts +0 -25
  66. package/dist/models/get-payment-response-class.js +0 -15
  67. package/dist/models/get-request-dto.d.ts +0 -30
  68. package/dist/models/get-request-dto.js +0 -15
  69. package/dist/models/index.d.ts +0 -37
  70. package/dist/models/index.js +0 -53
  71. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  72. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  73. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  74. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  75. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -38
  76. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  77. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  78. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  79. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  80. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  81. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  82. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  83. package/dist/models/inline-response200.d.ts +0 -54
  84. package/dist/models/inline-response200.js +0 -15
  85. package/dist/models/inline-response503.d.ts +0 -54
  86. package/dist/models/inline-response503.js +0 -15
  87. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  88. package/dist/models/list-bank-accounts-response-class.js +0 -15
  89. package/dist/models/list-payment-methods-response-class.d.ts +0 -31
  90. package/dist/models/list-payment-methods-response-class.js +0 -15
  91. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  92. package/dist/models/list-payment-reminders-response-class.js +0 -15
  93. package/dist/models/list-payments-response-class.d.ts +0 -31
  94. package/dist/models/list-payments-response-class.js +0 -15
  95. package/dist/models/payment-class.d.ts +0 -85
  96. package/dist/models/payment-class.js +0 -15
  97. package/dist/models/payment-method-class.d.ts +0 -60
  98. package/dist/models/payment-method-class.js +0 -15
  99. package/dist/models/payment-reminder-class.d.ts +0 -108
  100. package/dist/models/payment-reminder-class.js +0 -32
  101. package/dist/models/sepa-direct-dto.d.ts +0 -24
  102. package/dist/models/sepa-direct-dto.js +0 -15
  103. package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
  104. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  105. package/dist/models/transaction-class.d.ts +0 -54
  106. package/dist/models/transaction-class.js +0 -15
  107. package/dist/models/validate-pspconfig-request-dto.d.ts +0 -42
  108. package/dist/models/validate-pspconfig-request-dto.js +0 -21
  109. package/dist/models/validate-pspconfig-response-class.d.ts +0 -24
  110. package/dist/models/validate-pspconfig-response-class.js +0 -15
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Emil Payment Service
6
- * 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.
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,54 +0,0 @@
1
- /**
2
- * Emil Payment Service
3
- * 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.
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface TransactionClass
16
- */
17
- export interface TransactionClass {
18
- /**
19
- * Internal unique identifier for the object. You should not have to use this, use code instead.
20
- * @type {number}
21
- * @memberof TransactionClass
22
- */
23
- 'id': number;
24
- /**
25
- * Unique identifier for transaction.
26
- * @type {string}
27
- * @memberof TransactionClass
28
- */
29
- 'code': string;
30
- /**
31
- * Reference to the payment id.
32
- * @type {number}
33
- * @memberof TransactionClass
34
- */
35
- 'paymentId': number;
36
- /**
37
- * Webhook associated to that transaction. Webhooks
38
- * @type {number}
39
- * @memberof TransactionClass
40
- */
41
- 'webhookId': number;
42
- /**
43
- * Status of the transaction. Can be one of the following: \'succeeded\', \'pending\', \'failed\', \'disputed\'. }
44
- * @type {string}
45
- * @memberof TransactionClass
46
- */
47
- 'status': string;
48
- /**
49
- * Time at which the object was created.
50
- * @type {string}
51
- * @memberof TransactionClass
52
- */
53
- 'createdAt': string;
54
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Emil Payment Service
6
- * 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.
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,42 +0,0 @@
1
- /**
2
- * Emil Payment Service
3
- * 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.
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface ValidatePSPConfigRequestDto
16
- */
17
- export interface ValidatePSPConfigRequestDto {
18
- /**
19
- * Payment service provider type.
20
- * @type {string}
21
- * @memberof ValidatePSPConfigRequestDto
22
- */
23
- 'type': ValidatePSPConfigRequestDtoTypeEnum;
24
- /**
25
- * Map containing various necessary keys to properly use the payment service provider. In the form of <api key name, api key value>.
26
- * @type {object}
27
- * @memberof ValidatePSPConfigRequestDto
28
- */
29
- 'apiKeys': object;
30
- /**
31
- * List of payment methods that should be accepted by the payment service provider.
32
- * @type {Array<string>}
33
- * @memberof ValidatePSPConfigRequestDto
34
- */
35
- 'paymentMethods': Array<string>;
36
- }
37
- export declare const ValidatePSPConfigRequestDtoTypeEnum: {
38
- readonly Braintree: "braintree";
39
- readonly Stripe: "stripe";
40
- readonly B4u: "b4u";
41
- };
42
- export type ValidatePSPConfigRequestDtoTypeEnum = typeof ValidatePSPConfigRequestDtoTypeEnum[keyof typeof ValidatePSPConfigRequestDtoTypeEnum];
@@ -1,21 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Emil Payment Service
6
- * 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.
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ValidatePSPConfigRequestDtoTypeEnum = void 0;
17
- exports.ValidatePSPConfigRequestDtoTypeEnum = {
18
- Braintree: 'braintree',
19
- Stripe: 'stripe',
20
- B4u: 'b4u'
21
- };
@@ -1,24 +0,0 @@
1
- /**
2
- * Emil Payment Service
3
- * 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.
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface ValidatePSPConfigResponseClass
16
- */
17
- export interface ValidatePSPConfigResponseClass {
18
- /**
19
- * Returns if configuration is valid or not.
20
- * @type {boolean}
21
- * @memberof ValidatePSPConfigResponseClass
22
- */
23
- 'valid': boolean;
24
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Emil Payment Service
6
- * 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.
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });