@redotech/redo-api-schema 2.2.126 → 2.2.131
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.
- package/lib/openapi.d.ts +26 -9
- package/lib/openapi.yaml +36 -12
- package/package.json +1 -1
package/lib/openapi.d.ts
CHANGED
|
@@ -748,18 +748,35 @@ export interface components {
|
|
|
748
748
|
* Return status
|
|
749
749
|
* @description Return status.
|
|
750
750
|
*
|
|
751
|
-
* *
|
|
752
|
-
* * open: Return has been approved is awaiting shipment.
|
|
753
|
-
* * transit: Return shipment is in transit.
|
|
754
|
-
* * delivered: Return shipment has been delievered and awaiting processing.
|
|
751
|
+
* * complete: The return has been completed successfully.
|
|
752
|
+
* * open: Return has been approved and is awaiting shipment.
|
|
755
753
|
* * flagged: A problem with return processing requires merchant action.
|
|
756
|
-
* *
|
|
757
|
-
* *
|
|
754
|
+
* * rejected: The return has been rejected.
|
|
755
|
+
* * deleted: The return has been reset.
|
|
758
756
|
*
|
|
759
757
|
* @example open
|
|
760
758
|
* @enum {string}
|
|
761
759
|
*/
|
|
762
|
-
"return-status.schema": "
|
|
760
|
+
"return-status-update.schema": "complete" | "open" | "flagged" | "rejected" | "deleted";
|
|
761
|
+
/**
|
|
762
|
+
* Return status
|
|
763
|
+
* @description Return status.
|
|
764
|
+
*
|
|
765
|
+
* * open: Return has been approved and is awaiting shipment.
|
|
766
|
+
* * in_transit: Return shipment is in transit.
|
|
767
|
+
* * delivered: Return shipment has been delivered and awaiting processing.
|
|
768
|
+
* * needs_review: Return requires review before further action.
|
|
769
|
+
* * in_review: Return is currently being reviewed.
|
|
770
|
+
* * complete: The return has been completed successfully.
|
|
771
|
+
* * rejected: The return has been rejected.
|
|
772
|
+
* * flagged: A problem with return processing requires merchant action.
|
|
773
|
+
* * pre_shipment: Return requires pre-shipment merchant authorization.
|
|
774
|
+
* * deleted: The return has been deleted (Reset).
|
|
775
|
+
*
|
|
776
|
+
* @example open
|
|
777
|
+
* @enum {string}
|
|
778
|
+
*/
|
|
779
|
+
"return-status.schema": "open" | "in_transit" | "delivered" | "needs_review" | "in_review" | "complete" | "rejected" | "flagged" | "pre_shipment" | "deleted";
|
|
763
780
|
/**
|
|
764
781
|
* Shipment Document Type
|
|
765
782
|
* @description Type of shipping document.
|
|
@@ -1265,7 +1282,7 @@ export interface operations {
|
|
|
1265
1282
|
requestBody: {
|
|
1266
1283
|
content: {
|
|
1267
1284
|
"application/json": {
|
|
1268
|
-
status: components["schemas"]["return-status.schema"];
|
|
1285
|
+
status: components["schemas"]["return-status-update.schema"];
|
|
1269
1286
|
};
|
|
1270
1287
|
};
|
|
1271
1288
|
};
|
|
@@ -1692,7 +1709,7 @@ export interface operations {
|
|
|
1692
1709
|
requestBody: {
|
|
1693
1710
|
content: {
|
|
1694
1711
|
"application/json": {
|
|
1695
|
-
webhook
|
|
1712
|
+
webhook: components["schemas"]["webhook-update.schema"];
|
|
1696
1713
|
};
|
|
1697
1714
|
};
|
|
1698
1715
|
};
|
package/lib/openapi.yaml
CHANGED
|
@@ -755,25 +755,49 @@ components:
|
|
|
755
755
|
- updatedAt
|
|
756
756
|
title: Return
|
|
757
757
|
type: object
|
|
758
|
+
return-status-update.schema:
|
|
759
|
+
description: |
|
|
760
|
+
Return status.
|
|
761
|
+
|
|
762
|
+
* complete: The return has been completed successfully.
|
|
763
|
+
* open: Return has been approved and is awaiting shipment.
|
|
764
|
+
* flagged: A problem with return processing requires merchant action.
|
|
765
|
+
* rejected: The return has been rejected.
|
|
766
|
+
* deleted: The return has been reset.
|
|
767
|
+
enum:
|
|
768
|
+
- complete
|
|
769
|
+
- open
|
|
770
|
+
- flagged
|
|
771
|
+
- rejected
|
|
772
|
+
- deleted
|
|
773
|
+
example: open
|
|
774
|
+
title: Return status
|
|
775
|
+
type: string
|
|
758
776
|
return-status.schema:
|
|
759
777
|
description: |
|
|
760
778
|
Return status.
|
|
761
779
|
|
|
762
|
-
*
|
|
763
|
-
*
|
|
764
|
-
*
|
|
765
|
-
*
|
|
780
|
+
* open: Return has been approved and is awaiting shipment.
|
|
781
|
+
* in_transit: Return shipment is in transit.
|
|
782
|
+
* delivered: Return shipment has been delivered and awaiting processing.
|
|
783
|
+
* needs_review: Return requires review before further action.
|
|
784
|
+
* in_review: Return is currently being reviewed.
|
|
785
|
+
* complete: The return has been completed successfully.
|
|
786
|
+
* rejected: The return has been rejected.
|
|
766
787
|
* flagged: A problem with return processing requires merchant action.
|
|
767
|
-
*
|
|
768
|
-
*
|
|
788
|
+
* pre_shipment: Return requires pre-shipment merchant authorization.
|
|
789
|
+
* deleted: The return has been deleted (Reset).
|
|
769
790
|
enum:
|
|
770
|
-
- manual_review
|
|
771
791
|
- open
|
|
772
|
-
-
|
|
792
|
+
- in_transit
|
|
773
793
|
- delivered
|
|
794
|
+
- needs_review
|
|
795
|
+
- in_review
|
|
796
|
+
- complete
|
|
797
|
+
- rejected
|
|
774
798
|
- flagged
|
|
775
|
-
-
|
|
776
|
-
-
|
|
799
|
+
- pre_shipment
|
|
800
|
+
- deleted
|
|
777
801
|
example: open
|
|
778
802
|
title: Return status
|
|
779
803
|
type: string
|
|
@@ -1359,7 +1383,7 @@ paths:
|
|
|
1359
1383
|
schema:
|
|
1360
1384
|
properties:
|
|
1361
1385
|
status:
|
|
1362
|
-
$ref: '#/components/schemas/return-status.schema'
|
|
1386
|
+
$ref: '#/components/schemas/return-status-update.schema'
|
|
1363
1387
|
required:
|
|
1364
1388
|
- status
|
|
1365
1389
|
type: object
|
|
@@ -1864,7 +1888,7 @@ paths:
|
|
|
1864
1888
|
webhook:
|
|
1865
1889
|
$ref: '#/components/schemas/webhook-update.schema'
|
|
1866
1890
|
required:
|
|
1867
|
-
-
|
|
1891
|
+
- webhook
|
|
1868
1892
|
type: object
|
|
1869
1893
|
required: true
|
|
1870
1894
|
responses:
|
package/package.json
CHANGED