feat(admin, js-sdk, types): update order forms (#10418)
* feat: edit shipping, billing and email forms * feat: timeline history, update change model, update tests * fix: address comments * fix: invalidation, translation schema, update label * fix: old/new
This commit is contained in:
1 parent
a5263083fa
commit
340769595a
27 files changed
+1202
-63
No files matched your search
@@ -4146,6 +4146,65 @@
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"edit": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"email": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"requestSuccess": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"title",
|
||||
"requestSuccess"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"shippingAddress": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"requestSuccess": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"title",
|
||||
"requestSuccess"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"billingAddress": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"requestSuccess": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"title",
|
||||
"requestSuccess"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"email",
|
||||
"shippingAddress",
|
||||
"billingAddress"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"returns": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -5364,6 +5423,26 @@
|
||||
"declined"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"update_order": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"shipping_address": {
|
||||
"type": "string"
|
||||
},
|
||||
"billing_address": {
|
||||
"type": "string"
|
||||
},
|
||||
"email": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"shipping_address",
|
||||
"billing_address",
|
||||
"email"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -5377,7 +5456,8 @@
|
||||
"claim",
|
||||
"exchange",
|
||||
"edit",
|
||||
"transfer"
|
||||
"transfer",
|
||||
"update_order"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -5426,6 +5506,7 @@
|
||||
"transfer",
|
||||
"payment",
|
||||
"edits",
|
||||
"edit",
|
||||
"returns",
|
||||
"claims",
|
||||
"exchanges",
|
||||
@@ -10849,6 +10930,12 @@
|
||||
},
|
||||
"removed": {
|
||||
"type": "string"
|
||||
},
|
||||
"from": {
|
||||
"type": "string"
|
||||
},
|
||||
"to": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -10857,7 +10944,9 @@
|
||||
"available",
|
||||
"inStock",
|
||||
"added",
|
||||
"removed"
|
||||
"removed",
|
||||
"from",
|
||||
"to"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
@@ -10951,6 +11040,9 @@
|
||||
"subtitle": {
|
||||
"type": "string"
|
||||
},
|
||||
"by": {
|
||||
"type": "string"
|
||||
},
|
||||
"item": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -11360,6 +11452,7 @@
|
||||
"discountable",
|
||||
"handle",
|
||||
"subtitle",
|
||||
"by",
|
||||
"item",
|
||||
"qty",
|
||||
"limit",
|
||||
|
||||
@@ -1002,6 +1002,20 @@
|
||||
"quantityLowerThanFulfillment": "Cannot set quantity to be less then or equal to fulfilled quantity"
|
||||
}
|
||||
},
|
||||
"edit": {
|
||||
"email": {
|
||||
"title": "Edit email",
|
||||
"requestSuccess": "Order email updated to {{email}}."
|
||||
},
|
||||
"shippingAddress": {
|
||||
"title": "Edit shipping address",
|
||||
"requestSuccess": "Order shipping address updated."
|
||||
},
|
||||
"billingAddress": {
|
||||
"title": "Edit billing address",
|
||||
"requestSuccess": "Order billing address updated."
|
||||
}
|
||||
},
|
||||
"returns": {
|
||||
"create": "Create Return",
|
||||
"confirm": "Confirm Return",
|
||||
@@ -1301,6 +1315,11 @@
|
||||
"requested": "Order transfer #{{transferId}} requested",
|
||||
"confirmed": "Order transfer #{{transferId}} confirmed",
|
||||
"declined": "Order transfer #{{transferId}} declined"
|
||||
},
|
||||
"update_order": {
|
||||
"shipping_address": "Shipping address updated",
|
||||
"billing_address": "Billing address updated",
|
||||
"email": "Email updated"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2598,7 +2617,9 @@
|
||||
"available": "Available",
|
||||
"inStock": "In stock",
|
||||
"added": "Added",
|
||||
"removed": "Removed"
|
||||
"removed": "Removed",
|
||||
"from": "From",
|
||||
"to": "To"
|
||||
},
|
||||
"fields": {
|
||||
"amount": "Amount",
|
||||
@@ -2630,6 +2651,7 @@
|
||||
"discountable": "Discountable",
|
||||
"handle": "Handle",
|
||||
"subtitle": "Subtitle",
|
||||
"by": "By",
|
||||
"item": "Item",
|
||||
"qty": "qty.",
|
||||
"limit": "Limit",
|
||||
|
||||
Reference in new issue
Block a user