@redotech/redo-api-schema 2.2.77 → 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 +27 -0
- package/lib/openapi.yaml +25 -0
- 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.
|
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:
|
package/package.json
CHANGED