@emilgroup/payment-sdk 1.22.1-beta.7 → 1.22.1-beta.72

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 (90) hide show
  1. package/README.md +2 -2
  2. package/api/bank-accounts-api.ts +24 -12
  3. package/api/bank-orders-api.ts +28 -18
  4. package/api/bank-transaction-api.ts +24 -12
  5. package/api/billing-addresses-api.ts +20 -10
  6. package/api/credit-allocation-api.ts +12 -6
  7. package/api/exceeding-credits-api.ts +12 -6
  8. package/api/ibanvalidator-api.ts +4 -2
  9. package/api/payment-methods-api.ts +12 -6
  10. package/api/payment-receipts-api.ts +20 -10
  11. package/api/payment-reminders-api.ts +16 -8
  12. package/api/payment-requests-api.ts +32 -22
  13. package/api/payment-setup-api.ts +8 -4
  14. package/api/payments-api.ts +24 -12
  15. package/api/payout-methods-api.ts +24 -12
  16. package/api/policy-payment-methods-api.ts +12 -6
  17. package/api/refunds-api.ts +12 -6
  18. package/api/tenant-bank-account-api.ts +20 -10
  19. package/base.ts +174 -41
  20. package/common.ts +3 -2
  21. package/configuration.ts +20 -0
  22. package/dist/api/bank-accounts-api.d.ts +6 -6
  23. package/dist/api/bank-accounts-api.js +36 -22
  24. package/dist/api/bank-orders-api.d.ts +13 -13
  25. package/dist/api/bank-orders-api.js +35 -24
  26. package/dist/api/bank-transaction-api.d.ts +6 -6
  27. package/dist/api/bank-transaction-api.js +36 -22
  28. package/dist/api/billing-addresses-api.d.ts +5 -5
  29. package/dist/api/billing-addresses-api.js +32 -19
  30. package/dist/api/credit-allocation-api.d.ts +3 -3
  31. package/dist/api/credit-allocation-api.js +18 -11
  32. package/dist/api/exceeding-credits-api.d.ts +3 -3
  33. package/dist/api/exceeding-credits-api.js +18 -11
  34. package/dist/api/health-check-api.d.ts +1 -1
  35. package/dist/api/ibanvalidator-api.d.ts +1 -1
  36. package/dist/api/ibanvalidator-api.js +7 -4
  37. package/dist/api/payment-methods-api.d.ts +3 -3
  38. package/dist/api/payment-methods-api.js +18 -11
  39. package/dist/api/payment-receipts-api.d.ts +5 -5
  40. package/dist/api/payment-receipts-api.js +29 -18
  41. package/dist/api/payment-reminders-api.d.ts +4 -4
  42. package/dist/api/payment-reminders-api.js +25 -15
  43. package/dist/api/payment-requests-api.d.ts +17 -17
  44. package/dist/api/payment-requests-api.js +38 -27
  45. package/dist/api/payment-setup-api.d.ts +2 -2
  46. package/dist/api/payment-setup-api.js +14 -8
  47. package/dist/api/payments-api.d.ts +4 -4
  48. package/dist/api/payments-api.js +28 -18
  49. package/dist/api/payout-methods-api.d.ts +6 -6
  50. package/dist/api/payout-methods-api.js +36 -22
  51. package/dist/api/policy-payment-methods-api.d.ts +3 -3
  52. package/dist/api/policy-payment-methods-api.js +18 -11
  53. package/dist/api/refunds-api.d.ts +3 -3
  54. package/dist/api/refunds-api.js +15 -10
  55. package/dist/api/tenant-bank-account-api.d.ts +5 -5
  56. package/dist/api/tenant-bank-account-api.js +29 -18
  57. package/dist/api/webhooks-api.d.ts +2 -2
  58. package/dist/base.d.ts +24 -0
  59. package/dist/base.js +178 -59
  60. package/dist/common.d.ts +1 -1
  61. package/dist/common.js +1 -0
  62. package/dist/configuration.d.ts +17 -0
  63. package/dist/configuration.js +2 -0
  64. package/dist/models/bank-order-entity.d.ts +1 -0
  65. package/dist/models/bank-order-entity.js +1 -0
  66. package/dist/models/create-bank-order-request-dto.d.ts +3 -2
  67. package/dist/models/create-bank-order-request-dto.js +1 -0
  68. package/dist/models/create-payment-order-dto.d.ts +1 -1
  69. package/dist/models/create-payment-receipt-request-dto.d.ts +1 -1
  70. package/dist/models/create-payment-request-dto.d.ts +1 -1
  71. package/dist/models/payment-class-without-expand-properties.d.ts +1 -1
  72. package/dist/models/payment-class.d.ts +1 -1
  73. package/dist/models/payment-receipt-class.d.ts +1 -1
  74. package/dist/models/payment-request-class.d.ts +18 -0
  75. package/dist/models/shared-transaction-class.d.ts +6 -0
  76. package/dist/models/transaction-entity.d.ts +6 -0
  77. package/dist/models/update-bank-order-request-dto.d.ts +2 -2
  78. package/models/bank-order-entity.ts +1 -0
  79. package/models/create-bank-order-request-dto.ts +3 -2
  80. package/models/create-payment-order-dto.ts +1 -1
  81. package/models/create-payment-receipt-request-dto.ts +1 -1
  82. package/models/create-payment-request-dto.ts +1 -1
  83. package/models/payment-class-without-expand-properties.ts +1 -1
  84. package/models/payment-class.ts +1 -1
  85. package/models/payment-receipt-class.ts +1 -1
  86. package/models/payment-request-class.ts +18 -0
  87. package/models/shared-transaction-class.ts +6 -0
  88. package/models/transaction-entity.ts +6 -0
  89. package/models/update-bank-order-request-dto.ts +2 -2
  90. package/package.json +2 -2
@@ -81,7 +81,7 @@ export interface PaymentClassWithoutExpandProperties {
81
81
  */
82
82
  'productSlug'?: string;
83
83
  /**
84
- * Time at which the payment was actually received.
84
+ * The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
85
85
  * @type {string}
86
86
  * @memberof PaymentClassWithoutExpandProperties
87
87
  */
@@ -88,7 +88,7 @@ export interface PaymentClass {
88
88
  */
89
89
  'productSlug'?: string;
90
90
  /**
91
- * Time at which the payment was actually received.
91
+ * The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
92
92
  * @type {string}
93
93
  * @memberof PaymentClass
94
94
  */
@@ -51,7 +51,7 @@ export interface PaymentReceiptClass {
51
51
  */
52
52
  'direction': PaymentReceiptClassDirectionEnum;
53
53
  /**
54
- * Date the payment was confirmed
54
+ * The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
55
55
  * @type {string}
56
56
  * @memberof PaymentReceiptClass
57
57
  */
@@ -111,6 +111,24 @@ export interface PaymentRequestClass {
111
111
  * @memberof PaymentRequestClass
112
112
  */
113
113
  'partnerCode': string;
114
+ /**
115
+ * Code of the bank order that contains this payment request. Absent while the request is in no bank order.
116
+ * @type {string}
117
+ * @memberof PaymentRequestClass
118
+ */
119
+ 'bankOrderCode'?: string;
120
+ /**
121
+ * Order number of the bank order that contains this payment request.
122
+ * @type {string}
123
+ * @memberof PaymentRequestClass
124
+ */
125
+ 'bankOrderNumber'?: string;
126
+ /**
127
+ * Whether the request can be added to a bank order. Claim payouts: the partner has an active payout method. Refunds: the policy\'s active payment method is EIS SEPA with an IBAN.
128
+ * @type {boolean}
129
+ * @memberof PaymentRequestClass
130
+ */
131
+ 'recipientHasBankDetails'?: boolean;
114
132
  /**
115
133
  * Code of the payment method used for this payment request.
116
134
  * @type {string}
@@ -74,5 +74,11 @@ export interface SharedTransactionClass {
74
74
  * @memberof SharedTransactionClass
75
75
  */
76
76
  'updatedBy': string;
77
+ /**
78
+ * Code of the bank transaction this transaction was matched from. Absent for payments that did not come from a bank transaction.
79
+ * @type {string}
80
+ * @memberof SharedTransactionClass
81
+ */
82
+ 'bankTransactionCode'?: string;
77
83
  }
78
84
 
@@ -76,6 +76,12 @@ export interface TransactionEntity {
76
76
  * @memberof TransactionEntity
77
77
  */
78
78
  'bankTransactionId'?: number;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof TransactionEntity
83
+ */
84
+ 'bankTransactionCode'?: string;
79
85
  /**
80
86
  *
81
87
  * @type {string}
@@ -51,11 +51,11 @@ export interface UpdateBankOrderRequestDto {
51
51
  */
52
52
  'executionDate': string;
53
53
  /**
54
- * Latest due date.
54
+ * Latest due date. Required for \'direct_debit\' and \'commission_payment\' orders; optional for \'claim_payment\' and \'refund_payment\', where the execution date is stored in its place (a sent value is still checked against the execution date).
55
55
  * @type {string}
56
56
  * @memberof UpdateBankOrderRequestDto
57
57
  */
58
- 'dueDate': string;
58
+ 'dueDate'?: string;
59
59
  }
60
60
 
61
61
  export const UpdateBankOrderRequestDtoStatusEnum = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.22.1-beta.7",
3
+ "version": "1.22.1-beta.72",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,7 +18,7 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "1.18.0"
21
+ "axios": "1.20.0"
22
22
  },
23
23
  "devDependencies": {
24
24