fix(types,order,medusa): Create credit lines + hooks (#11569)

what:

- api/workflows to create credit lines
- hooks to enable extending credit lines
This commit is contained in:
Riqwan Thamir
2025-03-17 15:20:59 +00:00
committed by GitHub
parent 0625f76cd4
commit cb6249320e
31 changed files with 630 additions and 111 deletions
@@ -3140,18 +3140,18 @@ moduleIntegrationTestRunner<ICartModuleService>({
},
],
credit_lines: [],
credit_lines_subtotal: 0,
credit_lines_tax_total: 0,
credit_lines_total: 0,
raw_credit_lines_subtotal: {
credit_line_subtotal: 0,
credit_line_tax_total: 0,
credit_line_total: 0,
raw_credit_line_subtotal: {
precision: 20,
value: "0",
},
raw_credit_lines_tax_total: {
raw_credit_line_tax_total: {
precision: 20,
value: "0",
},
raw_credit_lines_total: {
raw_credit_line_total: {
precision: 20,
value: "0",
},