@redotech/redo-api-schema 2.2.75 → 2.2.80
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 +28 -7
- package/lib/openapi.yaml +26 -1
- package/package.json +1 -1
package/lib/openapi.d.ts
CHANGED
|
@@ -17,6 +17,13 @@ export interface paths {
|
|
|
17
17
|
*/
|
|
18
18
|
get: operations["Invoice csv get"];
|
|
19
19
|
};
|
|
20
|
+
"/invoices/pending/items.csv": {
|
|
21
|
+
/**
|
|
22
|
+
* Get pending invoice
|
|
23
|
+
* @description Get an invoice as a CSV.
|
|
24
|
+
*/
|
|
25
|
+
get: operations["Invoice pending csv get"];
|
|
26
|
+
};
|
|
20
27
|
"/returns/{returnId}": {
|
|
21
28
|
/**
|
|
22
29
|
* Get return
|
|
@@ -880,6 +887,26 @@ export interface operations {
|
|
|
880
887
|
};
|
|
881
888
|
};
|
|
882
889
|
};
|
|
890
|
+
/**
|
|
891
|
+
* Get pending invoice
|
|
892
|
+
* @description Get an invoice as a CSV.
|
|
893
|
+
*/
|
|
894
|
+
"Invoice pending csv get": {
|
|
895
|
+
responses: {
|
|
896
|
+
/** @description Success */
|
|
897
|
+
200: {
|
|
898
|
+
content: {
|
|
899
|
+
"text/csv": string;
|
|
900
|
+
};
|
|
901
|
+
};
|
|
902
|
+
/** @description Error */
|
|
903
|
+
default: {
|
|
904
|
+
content: {
|
|
905
|
+
"application/problem+json": components["schemas"]["error.schema"];
|
|
906
|
+
};
|
|
907
|
+
};
|
|
908
|
+
};
|
|
909
|
+
};
|
|
883
910
|
/**
|
|
884
911
|
* Get return
|
|
885
912
|
* @description Get return.
|
|
@@ -1046,13 +1073,7 @@ export interface operations {
|
|
|
1046
1073
|
/** @description Success */
|
|
1047
1074
|
200: {
|
|
1048
1075
|
content: {
|
|
1049
|
-
"application/json":
|
|
1050
|
-
/**
|
|
1051
|
-
* Coverage Products
|
|
1052
|
-
* @description Coverage products.
|
|
1053
|
-
*/
|
|
1054
|
-
coverageProducts: components["schemas"]["coverage-product.schema"][];
|
|
1055
|
-
};
|
|
1076
|
+
"application/json": unknown[];
|
|
1056
1077
|
};
|
|
1057
1078
|
};
|
|
1058
1079
|
/** @description Error */
|
package/lib/openapi.yaml
CHANGED
|
@@ -916,6 +916,31 @@ info:
|
|
|
916
916
|
version: 2.2.1
|
|
917
917
|
openapi: 3.1.0
|
|
918
918
|
paths:
|
|
919
|
+
/invoices/pending/items.csv:
|
|
920
|
+
description: Return invoice CSV file.
|
|
921
|
+
get:
|
|
922
|
+
description: Get an invoice as a CSV.
|
|
923
|
+
operationId: Invoice pending csv get
|
|
924
|
+
responses:
|
|
925
|
+
'200':
|
|
926
|
+
content:
|
|
927
|
+
text/csv:
|
|
928
|
+
schema:
|
|
929
|
+
format: binary
|
|
930
|
+
type: string
|
|
931
|
+
description: Success
|
|
932
|
+
default:
|
|
933
|
+
content:
|
|
934
|
+
application/problem+json:
|
|
935
|
+
schema:
|
|
936
|
+
$ref: '#/components/schemas/error.schema'
|
|
937
|
+
description: Error
|
|
938
|
+
security:
|
|
939
|
+
- Bearer: []
|
|
940
|
+
summary: Get pending invoice
|
|
941
|
+
tags:
|
|
942
|
+
- Invoice
|
|
943
|
+
summary: Pending invoice
|
|
919
944
|
/invoices/{invoiceId}/items.csv:
|
|
920
945
|
description: Return invoice CSV file.
|
|
921
946
|
get:
|
|
@@ -1134,7 +1159,7 @@ paths:
|
|
|
1134
1159
|
type: array
|
|
1135
1160
|
required:
|
|
1136
1161
|
- coverageProducts
|
|
1137
|
-
type:
|
|
1162
|
+
type: array
|
|
1138
1163
|
description: Success
|
|
1139
1164
|
default:
|
|
1140
1165
|
content:
|
package/package.json
CHANGED