@emilgroup/payment-sdk-node 1.6.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 (109) hide show
  1. package/README.md +2 -2
  2. package/api/payments-api.ts +18 -16
  3. package/models/create-payment-request-dto.ts +18 -0
  4. package/models/initiate-payment-setup-request-dto.ts +6 -0
  5. package/models/payment-class.ts +12 -0
  6. package/models/validate-pspconfig-request-dto.ts +2 -1
  7. package/package.json +2 -2
  8. package/dist/api/bank-accounts-api.d.ts +0 -197
  9. package/dist/api/bank-accounts-api.js +0 -351
  10. package/dist/api/default-api.d.ts +0 -66
  11. package/dist/api/default-api.js +0 -200
  12. package/dist/api/payment-methods-api.d.ts +0 -327
  13. package/dist/api/payment-methods-api.js +0 -551
  14. package/dist/api/payment-reminders-api.d.ts +0 -317
  15. package/dist/api/payment-reminders-api.js +0 -542
  16. package/dist/api/payment-service-providers-api.d.ts +0 -93
  17. package/dist/api/payment-service-providers-api.js +0 -224
  18. package/dist/api/payment-setup-api.d.ts +0 -146
  19. package/dist/api/payment-setup-api.js +0 -313
  20. package/dist/api/payments-api.d.ts +0 -281
  21. package/dist/api/payments-api.js +0 -463
  22. package/dist/api/webhooks-api.d.ts +0 -91
  23. package/dist/api/webhooks-api.js +0 -213
  24. package/dist/api.d.ts +0 -19
  25. package/dist/api.js +0 -37
  26. package/dist/base.d.ts +0 -78
  27. package/dist/base.js +0 -394
  28. package/dist/common.d.ts +0 -92
  29. package/dist/common.js +0 -277
  30. package/dist/configuration.d.ts +0 -90
  31. package/dist/configuration.js +0 -44
  32. package/dist/index.d.ts +0 -15
  33. package/dist/index.js +0 -36
  34. package/dist/models/bank-account-class.d.ts +0 -54
  35. package/dist/models/bank-account-class.js +0 -15
  36. package/dist/models/billing-profile-dto.d.ts +0 -38
  37. package/dist/models/billing-profile-dto.js +0 -15
  38. package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
  39. package/dist/models/billing-profile-limited-response-dto.js +0 -15
  40. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  41. package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
  42. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  43. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  44. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  45. package/dist/models/complete-payment-setup-response-class.js +0 -15
  46. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  47. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  48. package/dist/models/create-bank-account-request-dto.d.ts +0 -30
  49. package/dist/models/create-bank-account-request-dto.js +0 -15
  50. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  51. package/dist/models/create-payment-method-response-class.js +0 -15
  52. package/dist/models/create-payment-reminder-request-dto.d.ts +0 -63
  53. package/dist/models/create-payment-reminder-request-dto.js +0 -24
  54. package/dist/models/create-payment-request-dto.d.ts +0 -54
  55. package/dist/models/create-payment-request-dto.js +0 -15
  56. package/dist/models/create-payment-response-class.d.ts +0 -25
  57. package/dist/models/create-payment-response-class.js +0 -15
  58. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  59. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  60. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +0 -30
  61. package/dist/models/deactivate-payment-reminder-request-dto.js +0 -21
  62. package/dist/models/get-payment-method-response-class.d.ts +0 -25
  63. package/dist/models/get-payment-method-response-class.js +0 -15
  64. package/dist/models/get-payment-response-class.d.ts +0 -25
  65. package/dist/models/get-payment-response-class.js +0 -15
  66. package/dist/models/get-request-dto.d.ts +0 -30
  67. package/dist/models/get-request-dto.js +0 -15
  68. package/dist/models/index.d.ts +0 -37
  69. package/dist/models/index.js +0 -53
  70. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  71. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  72. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  73. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  74. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -38
  75. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  76. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  77. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  78. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  79. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  80. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  81. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  82. package/dist/models/inline-response200.d.ts +0 -54
  83. package/dist/models/inline-response200.js +0 -15
  84. package/dist/models/inline-response503.d.ts +0 -54
  85. package/dist/models/inline-response503.js +0 -15
  86. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  87. package/dist/models/list-bank-accounts-response-class.js +0 -15
  88. package/dist/models/list-payment-methods-response-class.d.ts +0 -31
  89. package/dist/models/list-payment-methods-response-class.js +0 -15
  90. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  91. package/dist/models/list-payment-reminders-response-class.js +0 -15
  92. package/dist/models/list-payments-response-class.d.ts +0 -31
  93. package/dist/models/list-payments-response-class.js +0 -15
  94. package/dist/models/payment-class.d.ts +0 -85
  95. package/dist/models/payment-class.js +0 -15
  96. package/dist/models/payment-method-class.d.ts +0 -60
  97. package/dist/models/payment-method-class.js +0 -15
  98. package/dist/models/payment-reminder-class.d.ts +0 -108
  99. package/dist/models/payment-reminder-class.js +0 -32
  100. package/dist/models/sepa-direct-dto.d.ts +0 -24
  101. package/dist/models/sepa-direct-dto.js +0 -15
  102. package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
  103. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  104. package/dist/models/transaction-class.d.ts +0 -54
  105. package/dist/models/transaction-class.js +0 -15
  106. package/dist/models/validate-pspconfig-request-dto.d.ts +0 -42
  107. package/dist/models/validate-pspconfig-request-dto.js +0 -21
  108. package/dist/models/validate-pspconfig-response-class.d.ts +0 -24
  109. 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 });