mirror of
https://github.com/valitydev/dashboard.git
synced 2024-11-06 02:25:23 +00:00
IMP-185: Add new user interaction webhook & Add deposit description (#178)
This commit is contained in:
parent
68bc1f9952
commit
31b1198cf8
20
package-lock.json
generated
20
package-lock.json
generated
@ -29,9 +29,9 @@
|
||||
"@vality/swag-api-keys-v2": "0.1.2-f0ece04.0",
|
||||
"@vality/swag-claim-management": "0.1.1-6b6711b.0",
|
||||
"@vality/swag-organizations": "1.0.1-de0cd06.0",
|
||||
"@vality/swag-payments": "0.1.3-77c86a5.0",
|
||||
"@vality/swag-payments": "0.1.3-5dc6d9f.0",
|
||||
"@vality/swag-url-shortener": "0.1.0",
|
||||
"@vality/swag-wallet": "0.1.3-e6d0c88.0",
|
||||
"@vality/swag-wallet": "0.1.3-3b8984e.0",
|
||||
"angular-file": "^3.0.1",
|
||||
"apexcharts": "^3.19.2",
|
||||
"css-element-queries": "1.2.3",
|
||||
@ -7289,15 +7289,15 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@vality/swag-payments": {
|
||||
"version": "0.1.3-77c86a5.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/swag-payments/-/swag-payments-0.1.3-77c86a5.0.tgz",
|
||||
"integrity": "sha512-OczSabXIdvYMQ1vteq3r3e1rv5mk8+ZAEvsKS/AzMz3nAUY0OWBhVG1pjtZuIqlHckNG/Yx0QrhdkjVlMKGyxg==",
|
||||
"version": "0.1.3-5dc6d9f.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/swag-payments/-/swag-payments-0.1.3-5dc6d9f.0.tgz",
|
||||
"integrity": "sha512-xi1qe33CV31qq5A+BhKekxnXgGvdlNowRipnPxvvFG9HoT3a+rH315NwO5RHTzC0PLGSK650c3sZvCASjAuzHQ==",
|
||||
"dependencies": {
|
||||
"tslib": "^2.3.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@angular/common": "^17.0.0",
|
||||
"@angular/core": "^17.0.0"
|
||||
"@angular/common": "^17.2.0",
|
||||
"@angular/core": "^17.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@vality/swag-url-shortener": {
|
||||
@ -7313,9 +7313,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@vality/swag-wallet": {
|
||||
"version": "0.1.3-e6d0c88.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/swag-wallet/-/swag-wallet-0.1.3-e6d0c88.0.tgz",
|
||||
"integrity": "sha512-Oh+w9pNwktWOdnO4evS+2vmLElxKvNexXNaezzsNmus6u+Osz6xc6ZV8hGc4hCLJ6cPw1MVtKpgcWCbPUDkAHw==",
|
||||
"version": "0.1.3-3b8984e.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/swag-wallet/-/swag-wallet-0.1.3-3b8984e.0.tgz",
|
||||
"integrity": "sha512-IIbH9mrGIM9zPNRrwpYQt/FIqnHry/AQFyHnu7yhSe0zpEGgXb0U+ZlmwCFd7fm4Fn7YO2LgMs+ZkFx5J6vg9Q==",
|
||||
"dependencies": {
|
||||
"tslib": "^2.3.0"
|
||||
},
|
||||
|
@ -46,9 +46,9 @@
|
||||
"@vality/swag-api-keys-v2": "0.1.2-f0ece04.0",
|
||||
"@vality/swag-claim-management": "0.1.1-6b6711b.0",
|
||||
"@vality/swag-organizations": "1.0.1-de0cd06.0",
|
||||
"@vality/swag-payments": "0.1.3-77c86a5.0",
|
||||
"@vality/swag-payments": "0.1.3-5dc6d9f.0",
|
||||
"@vality/swag-url-shortener": "0.1.0",
|
||||
"@vality/swag-wallet": "0.1.3-e6d0c88.0",
|
||||
"@vality/swag-wallet": "0.1.3-3b8984e.0",
|
||||
"angular-file": "^3.0.1",
|
||||
"apexcharts": "^3.19.2",
|
||||
"css-element-queries": "1.2.3",
|
||||
|
@ -75,6 +75,16 @@ export class PaymentsDictionaryService {
|
||||
null,
|
||||
'dictionary',
|
||||
),
|
||||
PaymentUserInteractionRequested: this.t.translate(
|
||||
'payments.invoicesTopicEventType.PaymentUserInteractionRequested',
|
||||
null,
|
||||
'dictionary',
|
||||
),
|
||||
PaymentUserInteractionCompleted: this.t.translate(
|
||||
'payments.invoicesTopicEventType.PaymentUserInteractionCompleted',
|
||||
null,
|
||||
'dictionary',
|
||||
),
|
||||
/* eslint-enable @typescript-eslint/naming-convention */
|
||||
}));
|
||||
|
||||
|
@ -20,6 +20,9 @@
|
||||
<dsh-details-item [title]="t('wallet')">
|
||||
{{ deposit.wallet | walletDetails }}
|
||||
</dsh-details-item>
|
||||
<dsh-details-item *ngIf="deposit.desc" [title]="t('desc')">
|
||||
{{ deposit.desc }}
|
||||
</dsh-details-item>
|
||||
<dsh-details-item *ngIf="deposit.failure" [title]="t('error')">
|
||||
<!-- t(errors.failed) -->
|
||||
{{ t('errors.' + deposit.failure.code) }}
|
||||
|
@ -137,7 +137,9 @@
|
||||
"PaymentRefundFailed": "PaymentRefundFailed (payment refund failed)",
|
||||
"PaymentRefundSucceeded": "PaymentRefundSucceeded (payment refund was successful)",
|
||||
"PaymentRefunded": "PaymentRefundSucceeded (payment successfully refunded)",
|
||||
"PaymentStarted": "PaymentStarted (payment created)"
|
||||
"PaymentStarted": "PaymentStarted (payment created)",
|
||||
"PaymentUserInteractionCompleted": "PaymentUserInteractionCompleted (payment user interaction completed)",
|
||||
"PaymentUserInteractionRequested": "PaymentUserInteractionRequested (payment user interaction requested)"
|
||||
},
|
||||
"paymentStatus": {
|
||||
"cancelled": "Cancelled",
|
||||
|
@ -137,7 +137,9 @@
|
||||
"PaymentRefundFailed": "PaymentRefundFailed (возврат платежа завершился неудачей)",
|
||||
"PaymentRefundSucceeded": "PaymentRefundSucceeded (возврат платежа прошел успешно)",
|
||||
"PaymentRefunded": "PaymentRefunded (платеж успешно возвращен)",
|
||||
"PaymentStarted": "PaymentStarted (создан платеж)"
|
||||
"PaymentStarted": "PaymentStarted (создан платеж)",
|
||||
"PaymentUserInteractionCompleted": "PaymentUserInteractionCompleted (взаимодействие с пользователем по оплате завершено)",
|
||||
"PaymentUserInteractionRequested": "PaymentUserInteractionRequested (запрошено взаимодействие с пользователем по оплате)"
|
||||
},
|
||||
"paymentStatus": {
|
||||
"cancelled": "Отменен",
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"depositDetails": {
|
||||
"desc": "Description",
|
||||
"error": "Error",
|
||||
"errors": {
|
||||
"failed": "Deposit operation failed"
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"depositDetails": {
|
||||
"desc": "Описание",
|
||||
"error": "Ошибка",
|
||||
"errors": {
|
||||
"failed": "Ошибка при пополнении"
|
||||
|
Loading…
Reference in New Issue
Block a user