@redotech/redo-api-schema 2.2.63 → 2.2.70
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 +2 -7
- package/lib/openapi.yaml +8 -6
- package/package.json +1 -1
package/lib/openapi.d.ts
CHANGED
|
@@ -69,11 +69,6 @@ export interface paths {
|
|
|
69
69
|
* @description Get a list of invoices.
|
|
70
70
|
*/
|
|
71
71
|
get: operations["Invoice list"];
|
|
72
|
-
parameters: {
|
|
73
|
-
path: {
|
|
74
|
-
storeId: components["parameters"]["store-id.param"];
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
72
|
};
|
|
78
73
|
"/stores/{storeId}/returns": {
|
|
79
74
|
/**
|
|
@@ -349,7 +344,7 @@ export interface components {
|
|
|
349
344
|
* @description ID of the location where the item was be fulfilled.
|
|
350
345
|
* @example 123
|
|
351
346
|
*/
|
|
352
|
-
fulfillmentLocationId: string |
|
|
347
|
+
fulfillmentLocationId: string | null;
|
|
353
348
|
/**
|
|
354
349
|
* ID
|
|
355
350
|
* @description Line item ID
|
|
@@ -953,7 +948,7 @@ export interface operations {
|
|
|
953
948
|
200: {
|
|
954
949
|
content: {
|
|
955
950
|
"application/json": {
|
|
956
|
-
|
|
951
|
+
invoices: components["schemas"]["invoice.schema"][];
|
|
957
952
|
};
|
|
958
953
|
};
|
|
959
954
|
};
|
package/lib/openapi.yaml
CHANGED
|
@@ -304,7 +304,7 @@ components:
|
|
|
304
304
|
example: '123'
|
|
305
305
|
type:
|
|
306
306
|
- string
|
|
307
|
-
- null
|
|
307
|
+
- 'null'
|
|
308
308
|
id:
|
|
309
309
|
description: Line item ID
|
|
310
310
|
title: ID
|
|
@@ -1005,16 +1005,20 @@ paths:
|
|
|
1005
1005
|
get:
|
|
1006
1006
|
description: Get a list of invoices.
|
|
1007
1007
|
operationId: Invoice list
|
|
1008
|
+
parameters:
|
|
1009
|
+
- $ref: '#/components/parameters/store-id.param'
|
|
1008
1010
|
responses:
|
|
1009
1011
|
'200':
|
|
1010
1012
|
content:
|
|
1011
1013
|
application/json:
|
|
1012
1014
|
schema:
|
|
1013
1015
|
properties:
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
+
invoices:
|
|
1017
|
+
items:
|
|
1018
|
+
$ref: '#/components/schemas/invoice.schema'
|
|
1019
|
+
type: array
|
|
1016
1020
|
required:
|
|
1017
|
-
-
|
|
1021
|
+
- invoices
|
|
1018
1022
|
type: object
|
|
1019
1023
|
description: Success
|
|
1020
1024
|
default:
|
|
@@ -1028,8 +1032,6 @@ paths:
|
|
|
1028
1032
|
summary: Get invoice
|
|
1029
1033
|
tags:
|
|
1030
1034
|
- Invoice
|
|
1031
|
-
parameters:
|
|
1032
|
-
- $ref: '#/components/parameters/store-id.param'
|
|
1033
1035
|
summary: Invoice
|
|
1034
1036
|
/stores/{storeId}/returns:
|
|
1035
1037
|
description: List of returns for store.
|
package/package.json
CHANGED