feat(dashboard,types): add credit lines + loyalty changes (#11885)

* feat(dashboard,types): add credit lines + loyalty changes

* chore: fix types

* chore: fix specs

* chore: use correct plugin name

* chore: use new currency input

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
Riqwan Thamir
2025-06-12 20:12:03 +02:00
committed by GitHub
co-authored by Oli Juhl
parent 65f9333501
commit 44d1d18689
21 changed files with 883 additions and 113 deletions
@@ -3783,6 +3783,78 @@
"orders": {
"type": "object",
"properties": {
"giftCardsStoreCreditLines": {
"type": "string"
},
"creditLines": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"total": {
"type": "string"
},
"creditOrDebit": {
"type": "string"
},
"createCreditLine": {
"type": "string"
},
"createCreditLineSuccess": {
"type": "string"
},
"createCreditLineError": {
"type": "string"
},
"createCreditLineDescription": {
"type": "string"
},
"operation": {
"type": "string"
},
"credit": {
"type": "string"
},
"debit": {
"type": "string"
},
"debitDescription": {
"type": "string"
},
"creditDescription": {
"type": "string"
}
}
},
"balanceSettlement": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"settlementType": {
"type": "string"
},
"settlementTypes": {
"type": "object",
"properties": {
"paymentMethod": {
"type": "string"
},
"paymentMethodDescription": {
"type": "string"
},
"creditLine": {
"type": "string"
},
"creditLineDescription": {
"type": "string"
}
}
}
}
},
"domain": {
"type": "string"
},
@@ -3954,6 +4026,9 @@
"totalPaidByCustomer": {
"type": "string"
},
"totalStoreCreditRefunds": {
"type": "string"
},
"capture": {
"type": "string"
},
@@ -4055,6 +4130,7 @@
"title",
"isReadyToBeCaptured",
"totalPaidByCustomer",
"totalStoreCreditRefunds",
"capture",
"capture_short",
"refund",
@@ -10601,6 +10677,12 @@
"amount": {
"type": "string"
},
"reference": {
"type": "string"
},
"reference_id": {
"type": "string"
},
"refundAmount": {
"type": "string"
},
@@ -10859,6 +10941,9 @@
"paidTotal": {
"type": "string"
},
"creditTotal": {
"type": "string"
},
"totalExclTax": {
"type": "string"
},