repzo 1.0.130 → 1.0.132
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/index.d.ts +65 -2
- package/lib/index.js +295 -167
- package/lib/types/index.d.ts +406 -3
- package/package.json +1 -1
- package/src/index.ts +250 -83
- package/src/oas/brand.yaml +17 -17
- package/src/oas/category.yaml +17 -17
- package/src/oas/client.yaml +17 -17
- package/src/oas/measureunit-family.yaml +18 -18
- package/src/oas/measureunit.yaml +24 -24
- package/src/oas/media.yaml +151 -24
- package/src/oas/pricelist-item.yaml +20 -20
- package/src/oas/pricelist.yaml +17 -17
- package/src/oas/product-group.yaml +17 -17
- package/src/oas/product.yaml +19 -19
- package/src/oas/rep.yaml +17 -17
- package/src/oas/return-reason.yaml +17 -17
- package/src/oas/route.yaml +17 -17
- package/src/oas/subcategory.yaml +17 -17
- package/src/oas/tag.yaml +17 -17
- package/src/oas/tax.yaml +17 -17
- package/src/oas/team.yaml +17 -17
- package/src/oas/variant.yaml +17 -17
- package/src/oas/warehouse.yaml +17 -17
- package/src/types/index.ts +389 -6
- package/test.ts +0 -2
package/src/oas/tag.yaml
CHANGED
|
@@ -51,12 +51,12 @@ paths:
|
|
|
51
51
|
enum: [asc, desc]
|
|
52
52
|
description: Query parameters for filtering tags
|
|
53
53
|
responses:
|
|
54
|
-
|
|
54
|
+
"200":
|
|
55
55
|
description: A list of tags
|
|
56
56
|
content:
|
|
57
57
|
application/json:
|
|
58
58
|
schema:
|
|
59
|
-
$ref:
|
|
59
|
+
$ref: "#/components/schemas/TagFindResult"
|
|
60
60
|
post:
|
|
61
61
|
summary: Create a tag
|
|
62
62
|
operationId: createTag
|
|
@@ -65,14 +65,14 @@ paths:
|
|
|
65
65
|
content:
|
|
66
66
|
application/json:
|
|
67
67
|
schema:
|
|
68
|
-
$ref:
|
|
68
|
+
$ref: "#/components/schemas/TagCreateBody"
|
|
69
69
|
responses:
|
|
70
|
-
|
|
70
|
+
"201":
|
|
71
71
|
description: Tag created
|
|
72
72
|
content:
|
|
73
73
|
application/json:
|
|
74
74
|
schema:
|
|
75
|
-
$ref:
|
|
75
|
+
$ref: "#/components/schemas/TagCreateResult"
|
|
76
76
|
/tag/{id}:
|
|
77
77
|
get:
|
|
78
78
|
summary: Get a tag by ID
|
|
@@ -84,12 +84,12 @@ paths:
|
|
|
84
84
|
schema:
|
|
85
85
|
type: string
|
|
86
86
|
responses:
|
|
87
|
-
|
|
87
|
+
"200":
|
|
88
88
|
description: Tag details
|
|
89
89
|
content:
|
|
90
90
|
application/json:
|
|
91
91
|
schema:
|
|
92
|
-
$ref:
|
|
92
|
+
$ref: "#/components/schemas/TagGetResult"
|
|
93
93
|
put:
|
|
94
94
|
summary: Update a tag
|
|
95
95
|
operationId: updateTag
|
|
@@ -104,14 +104,14 @@ paths:
|
|
|
104
104
|
content:
|
|
105
105
|
application/json:
|
|
106
106
|
schema:
|
|
107
|
-
$ref:
|
|
107
|
+
$ref: "#/components/schemas/TagUpdateBody"
|
|
108
108
|
responses:
|
|
109
|
-
|
|
109
|
+
"200":
|
|
110
110
|
description: Tag updated
|
|
111
111
|
content:
|
|
112
112
|
application/json:
|
|
113
113
|
schema:
|
|
114
|
-
$ref:
|
|
114
|
+
$ref: "#/components/schemas/TagUpdateResult"
|
|
115
115
|
delete:
|
|
116
116
|
summary: Remove a tag
|
|
117
117
|
operationId: removeTag
|
|
@@ -122,12 +122,12 @@ paths:
|
|
|
122
122
|
schema:
|
|
123
123
|
type: string
|
|
124
124
|
responses:
|
|
125
|
-
|
|
125
|
+
"200":
|
|
126
126
|
description: Tag removed
|
|
127
127
|
content:
|
|
128
128
|
application/json:
|
|
129
129
|
schema:
|
|
130
|
-
$ref:
|
|
130
|
+
$ref: "#/components/schemas/TagRemoveResult"
|
|
131
131
|
components:
|
|
132
132
|
schemas:
|
|
133
133
|
TagFindResult:
|
|
@@ -137,7 +137,7 @@ components:
|
|
|
137
137
|
data:
|
|
138
138
|
type: array
|
|
139
139
|
items:
|
|
140
|
-
$ref:
|
|
140
|
+
$ref: "#/components/schemas/TagSchema"
|
|
141
141
|
total_result:
|
|
142
142
|
type: number
|
|
143
143
|
description: Total number of tags
|
|
@@ -226,10 +226,10 @@ components:
|
|
|
226
226
|
type: string
|
|
227
227
|
description: Company namespaces
|
|
228
228
|
TagCreateResult:
|
|
229
|
-
$ref:
|
|
229
|
+
$ref: "#/components/schemas/TagSchema"
|
|
230
230
|
description: Result of creating a tag
|
|
231
231
|
TagGetResult:
|
|
232
|
-
$ref:
|
|
232
|
+
$ref: "#/components/schemas/TagSchema"
|
|
233
233
|
description: Result of getting a tag
|
|
234
234
|
TagUpdateBody:
|
|
235
235
|
type: object
|
|
@@ -265,8 +265,8 @@ components:
|
|
|
265
265
|
type: number
|
|
266
266
|
description: Version number
|
|
267
267
|
TagUpdateResult:
|
|
268
|
-
$ref:
|
|
268
|
+
$ref: "#/components/schemas/TagSchema"
|
|
269
269
|
description: Result of updating a tag
|
|
270
270
|
TagRemoveResult:
|
|
271
|
-
$ref:
|
|
271
|
+
$ref: "#/components/schemas/TagSchema"
|
|
272
272
|
description: Result of removing a tag
|
package/src/oas/tax.yaml
CHANGED
|
@@ -60,12 +60,12 @@ paths:
|
|
|
60
60
|
enum: [asc, desc]
|
|
61
61
|
description: Query parameters for filtering taxes
|
|
62
62
|
responses:
|
|
63
|
-
|
|
63
|
+
"200":
|
|
64
64
|
description: A list of taxes
|
|
65
65
|
content:
|
|
66
66
|
application/json:
|
|
67
67
|
schema:
|
|
68
|
-
$ref:
|
|
68
|
+
$ref: "#/components/schemas/TaxFindResult"
|
|
69
69
|
post:
|
|
70
70
|
summary: Create a tax
|
|
71
71
|
operationId: createTax
|
|
@@ -74,14 +74,14 @@ paths:
|
|
|
74
74
|
content:
|
|
75
75
|
application/json:
|
|
76
76
|
schema:
|
|
77
|
-
$ref:
|
|
77
|
+
$ref: "#/components/schemas/TaxCreateBody"
|
|
78
78
|
responses:
|
|
79
|
-
|
|
79
|
+
"201":
|
|
80
80
|
description: Tax created
|
|
81
81
|
content:
|
|
82
82
|
application/json:
|
|
83
83
|
schema:
|
|
84
|
-
$ref:
|
|
84
|
+
$ref: "#/components/schemas/TaxCreateResult"
|
|
85
85
|
/tax/{id}:
|
|
86
86
|
get:
|
|
87
87
|
summary: Get a tax by ID
|
|
@@ -93,12 +93,12 @@ paths:
|
|
|
93
93
|
schema:
|
|
94
94
|
type: string
|
|
95
95
|
responses:
|
|
96
|
-
|
|
96
|
+
"200":
|
|
97
97
|
description: Tax details
|
|
98
98
|
content:
|
|
99
99
|
application/json:
|
|
100
100
|
schema:
|
|
101
|
-
$ref:
|
|
101
|
+
$ref: "#/components/schemas/TaxGetResult"
|
|
102
102
|
put:
|
|
103
103
|
summary: Update a tax
|
|
104
104
|
operationId: updateTax
|
|
@@ -113,14 +113,14 @@ paths:
|
|
|
113
113
|
content:
|
|
114
114
|
application/json:
|
|
115
115
|
schema:
|
|
116
|
-
$ref:
|
|
116
|
+
$ref: "#/components/schemas/TaxUpdateBody"
|
|
117
117
|
responses:
|
|
118
|
-
|
|
118
|
+
"200":
|
|
119
119
|
description: Tax updated
|
|
120
120
|
content:
|
|
121
121
|
application/json:
|
|
122
122
|
schema:
|
|
123
|
-
$ref:
|
|
123
|
+
$ref: "#/components/schemas/TaxUpdateResult"
|
|
124
124
|
delete:
|
|
125
125
|
summary: Remove a tax
|
|
126
126
|
operationId: removeTax
|
|
@@ -131,12 +131,12 @@ paths:
|
|
|
131
131
|
schema:
|
|
132
132
|
type: string
|
|
133
133
|
responses:
|
|
134
|
-
|
|
134
|
+
"200":
|
|
135
135
|
description: Tax removed
|
|
136
136
|
content:
|
|
137
137
|
application/json:
|
|
138
138
|
schema:
|
|
139
|
-
$ref:
|
|
139
|
+
$ref: "#/components/schemas/TaxRemoveResult"
|
|
140
140
|
components:
|
|
141
141
|
schemas:
|
|
142
142
|
TaxFindResult:
|
|
@@ -146,7 +146,7 @@ components:
|
|
|
146
146
|
data:
|
|
147
147
|
type: array
|
|
148
148
|
items:
|
|
149
|
-
$ref:
|
|
149
|
+
$ref: "#/components/schemas/TaxSchema"
|
|
150
150
|
total_result:
|
|
151
151
|
type: number
|
|
152
152
|
description: Total number of taxes
|
|
@@ -250,10 +250,10 @@ components:
|
|
|
250
250
|
type: string
|
|
251
251
|
description: Company namespaces
|
|
252
252
|
TaxCreateResult:
|
|
253
|
-
$ref:
|
|
253
|
+
$ref: "#/components/schemas/TaxSchema"
|
|
254
254
|
description: Result of creating a tax
|
|
255
255
|
TaxGetResult:
|
|
256
|
-
$ref:
|
|
256
|
+
$ref: "#/components/schemas/TaxSchema"
|
|
257
257
|
description: Result of getting a tax
|
|
258
258
|
TaxUpdateBody:
|
|
259
259
|
type: object
|
|
@@ -296,8 +296,8 @@ components:
|
|
|
296
296
|
type: number
|
|
297
297
|
description: Version number
|
|
298
298
|
TaxUpdateResult:
|
|
299
|
-
$ref:
|
|
299
|
+
$ref: "#/components/schemas/TaxSchema"
|
|
300
300
|
description: Result of updating a tax
|
|
301
301
|
TaxRemoveResult:
|
|
302
|
-
$ref:
|
|
302
|
+
$ref: "#/components/schemas/TaxSchema"
|
|
303
303
|
description: Result of removing a tax
|
package/src/oas/team.yaml
CHANGED
|
@@ -53,12 +53,12 @@ paths:
|
|
|
53
53
|
enum: [asc, desc]
|
|
54
54
|
description: Query parameters for filtering teams
|
|
55
55
|
responses:
|
|
56
|
-
|
|
56
|
+
"200":
|
|
57
57
|
description: A list of teams
|
|
58
58
|
content:
|
|
59
59
|
application/json:
|
|
60
60
|
schema:
|
|
61
|
-
$ref:
|
|
61
|
+
$ref: "#/components/schemas/TeamFindResult"
|
|
62
62
|
post:
|
|
63
63
|
summary: Create a team
|
|
64
64
|
operationId: createTeam
|
|
@@ -67,14 +67,14 @@ paths:
|
|
|
67
67
|
content:
|
|
68
68
|
application/json:
|
|
69
69
|
schema:
|
|
70
|
-
$ref:
|
|
70
|
+
$ref: "#/components/schemas/TeamCreateBody"
|
|
71
71
|
responses:
|
|
72
|
-
|
|
72
|
+
"201":
|
|
73
73
|
description: Team created
|
|
74
74
|
content:
|
|
75
75
|
application/json:
|
|
76
76
|
schema:
|
|
77
|
-
$ref:
|
|
77
|
+
$ref: "#/components/schemas/TeamCreateResult"
|
|
78
78
|
/team/{id}:
|
|
79
79
|
get:
|
|
80
80
|
summary: Get a team by ID
|
|
@@ -86,12 +86,12 @@ paths:
|
|
|
86
86
|
schema:
|
|
87
87
|
type: string
|
|
88
88
|
responses:
|
|
89
|
-
|
|
89
|
+
"200":
|
|
90
90
|
description: Team details
|
|
91
91
|
content:
|
|
92
92
|
application/json:
|
|
93
93
|
schema:
|
|
94
|
-
$ref:
|
|
94
|
+
$ref: "#/components/schemas/TeamGetResult"
|
|
95
95
|
put:
|
|
96
96
|
summary: Update a team
|
|
97
97
|
operationId: updateTeam
|
|
@@ -106,14 +106,14 @@ paths:
|
|
|
106
106
|
content:
|
|
107
107
|
application/json:
|
|
108
108
|
schema:
|
|
109
|
-
$ref:
|
|
109
|
+
$ref: "#/components/schemas/TeamUpdateBody"
|
|
110
110
|
responses:
|
|
111
|
-
|
|
111
|
+
"200":
|
|
112
112
|
description: Team updated
|
|
113
113
|
content:
|
|
114
114
|
application/json:
|
|
115
115
|
schema:
|
|
116
|
-
$ref:
|
|
116
|
+
$ref: "#/components/schemas/TeamUpdateResult"
|
|
117
117
|
delete:
|
|
118
118
|
summary: Remove a team
|
|
119
119
|
operationId: removeTeam
|
|
@@ -124,12 +124,12 @@ paths:
|
|
|
124
124
|
schema:
|
|
125
125
|
type: string
|
|
126
126
|
responses:
|
|
127
|
-
|
|
127
|
+
"200":
|
|
128
128
|
description: Team removed
|
|
129
129
|
content:
|
|
130
130
|
application/json:
|
|
131
131
|
schema:
|
|
132
|
-
$ref:
|
|
132
|
+
$ref: "#/components/schemas/TeamRemoveResult"
|
|
133
133
|
components:
|
|
134
134
|
schemas:
|
|
135
135
|
TeamFindResult:
|
|
@@ -139,7 +139,7 @@ components:
|
|
|
139
139
|
data:
|
|
140
140
|
type: array
|
|
141
141
|
items:
|
|
142
|
-
$ref:
|
|
142
|
+
$ref: "#/components/schemas/TeamSchema"
|
|
143
143
|
total_result:
|
|
144
144
|
type: number
|
|
145
145
|
description: Total number of teams
|
|
@@ -219,11 +219,11 @@ components:
|
|
|
219
219
|
type: boolean
|
|
220
220
|
description: Whether the team is disabled
|
|
221
221
|
TeamCreateResult:
|
|
222
|
-
$ref:
|
|
222
|
+
$ref: "#/components/schemas/TeamSchema"
|
|
223
223
|
description: Result of creating a team
|
|
224
224
|
TeamGetResult:
|
|
225
225
|
allOf:
|
|
226
|
-
- $ref:
|
|
226
|
+
- $ref: "#/components/schemas/TeamSchema"
|
|
227
227
|
- type: object
|
|
228
228
|
properties:
|
|
229
229
|
admins:
|
|
@@ -261,8 +261,8 @@ components:
|
|
|
261
261
|
type: number
|
|
262
262
|
description: Version number
|
|
263
263
|
TeamUpdateResult:
|
|
264
|
-
$ref:
|
|
264
|
+
$ref: "#/components/schemas/TeamSchema"
|
|
265
265
|
description: Result of updating a team
|
|
266
266
|
TeamRemoveResult:
|
|
267
|
-
$ref:
|
|
267
|
+
$ref: "#/components/schemas/TeamSchema"
|
|
268
268
|
description: Result of removing a team
|
package/src/oas/variant.yaml
CHANGED
|
@@ -17,12 +17,12 @@ paths:
|
|
|
17
17
|
type: object
|
|
18
18
|
description: Query parameters for filtering variants
|
|
19
19
|
responses:
|
|
20
|
-
|
|
20
|
+
"200":
|
|
21
21
|
description: A list of variants
|
|
22
22
|
content:
|
|
23
23
|
application/json:
|
|
24
24
|
schema:
|
|
25
|
-
$ref:
|
|
25
|
+
$ref: "#/components/schemas/VariantFindResult"
|
|
26
26
|
post:
|
|
27
27
|
summary: Create a variant
|
|
28
28
|
operationId: createVariant
|
|
@@ -31,14 +31,14 @@ paths:
|
|
|
31
31
|
content:
|
|
32
32
|
application/json:
|
|
33
33
|
schema:
|
|
34
|
-
$ref:
|
|
34
|
+
$ref: "#/components/schemas/VariantCreateBody"
|
|
35
35
|
responses:
|
|
36
|
-
|
|
36
|
+
"201":
|
|
37
37
|
description: Variant created
|
|
38
38
|
content:
|
|
39
39
|
application/json:
|
|
40
40
|
schema:
|
|
41
|
-
$ref:
|
|
41
|
+
$ref: "#/components/schemas/VariantCreateResult"
|
|
42
42
|
/variant/{id}:
|
|
43
43
|
get:
|
|
44
44
|
summary: Get a variant by ID
|
|
@@ -50,12 +50,12 @@ paths:
|
|
|
50
50
|
schema:
|
|
51
51
|
type: string
|
|
52
52
|
responses:
|
|
53
|
-
|
|
53
|
+
"200":
|
|
54
54
|
description: Variant details
|
|
55
55
|
content:
|
|
56
56
|
application/json:
|
|
57
57
|
schema:
|
|
58
|
-
$ref:
|
|
58
|
+
$ref: "#/components/schemas/VariantGetResult"
|
|
59
59
|
put:
|
|
60
60
|
summary: Update a variant
|
|
61
61
|
operationId: updateVariant
|
|
@@ -70,14 +70,14 @@ paths:
|
|
|
70
70
|
content:
|
|
71
71
|
application/json:
|
|
72
72
|
schema:
|
|
73
|
-
$ref:
|
|
73
|
+
$ref: "#/components/schemas/VariantUpdateBody"
|
|
74
74
|
responses:
|
|
75
|
-
|
|
75
|
+
"200":
|
|
76
76
|
description: Variant updated
|
|
77
77
|
content:
|
|
78
78
|
application/json:
|
|
79
79
|
schema:
|
|
80
|
-
$ref:
|
|
80
|
+
$ref: "#/components/schemas/VariantUpdateResult"
|
|
81
81
|
delete:
|
|
82
82
|
summary: Remove a variant
|
|
83
83
|
operationId: removeVariant
|
|
@@ -88,12 +88,12 @@ paths:
|
|
|
88
88
|
schema:
|
|
89
89
|
type: string
|
|
90
90
|
responses:
|
|
91
|
-
|
|
91
|
+
"200":
|
|
92
92
|
description: Variant removed
|
|
93
93
|
content:
|
|
94
94
|
application/json:
|
|
95
95
|
schema:
|
|
96
|
-
$ref:
|
|
96
|
+
$ref: "#/components/schemas/VariantRemoveResult"
|
|
97
97
|
components:
|
|
98
98
|
schemas:
|
|
99
99
|
VariantFindResult:
|
|
@@ -103,7 +103,7 @@ components:
|
|
|
103
103
|
data:
|
|
104
104
|
type: array
|
|
105
105
|
items:
|
|
106
|
-
$ref:
|
|
106
|
+
$ref: "#/components/schemas/VariantSchema"
|
|
107
107
|
total_result:
|
|
108
108
|
type: number
|
|
109
109
|
description: Total number of variants
|
|
@@ -284,9 +284,9 @@ components:
|
|
|
284
284
|
type: object
|
|
285
285
|
description: Result of creating a variant
|
|
286
286
|
properties:
|
|
287
|
-
$ref:
|
|
287
|
+
$ref: "#/components/schemas/VariantSchema"
|
|
288
288
|
VariantGetResult:
|
|
289
|
-
$ref:
|
|
289
|
+
$ref: "#/components/schemas/VariantSchema"
|
|
290
290
|
description: Result of getting a variant
|
|
291
291
|
VariantUpdateBody:
|
|
292
292
|
type: object
|
|
@@ -366,8 +366,8 @@ components:
|
|
|
366
366
|
type: number
|
|
367
367
|
description: Version number
|
|
368
368
|
VariantUpdateResult:
|
|
369
|
-
$ref:
|
|
369
|
+
$ref: "#/components/schemas/VariantSchema"
|
|
370
370
|
description: Result of updating a variant
|
|
371
371
|
VariantRemoveResult:
|
|
372
|
-
$ref:
|
|
372
|
+
$ref: "#/components/schemas/VariantSchema"
|
|
373
373
|
description: Result of removing a variant
|
package/src/oas/warehouse.yaml
CHANGED
|
@@ -51,12 +51,12 @@ paths:
|
|
|
51
51
|
enum: [asc, desc]
|
|
52
52
|
description: Query parameters for filtering warehouses
|
|
53
53
|
responses:
|
|
54
|
-
|
|
54
|
+
"200":
|
|
55
55
|
description: A list of warehouses
|
|
56
56
|
content:
|
|
57
57
|
application/json:
|
|
58
58
|
schema:
|
|
59
|
-
$ref:
|
|
59
|
+
$ref: "#/components/schemas/WarehouseFindResult"
|
|
60
60
|
post:
|
|
61
61
|
summary: Create a warehouse
|
|
62
62
|
operationId: createWarehouse
|
|
@@ -65,14 +65,14 @@ paths:
|
|
|
65
65
|
content:
|
|
66
66
|
application/json:
|
|
67
67
|
schema:
|
|
68
|
-
$ref:
|
|
68
|
+
$ref: "#/components/schemas/WarehouseCreateBody"
|
|
69
69
|
responses:
|
|
70
|
-
|
|
70
|
+
"201":
|
|
71
71
|
description: Warehouse created
|
|
72
72
|
content:
|
|
73
73
|
application/json:
|
|
74
74
|
schema:
|
|
75
|
-
$ref:
|
|
75
|
+
$ref: "#/components/schemas/WarehouseCreateResult"
|
|
76
76
|
/warehouse/{id}:
|
|
77
77
|
get:
|
|
78
78
|
summary: Get a warehouse by ID
|
|
@@ -84,12 +84,12 @@ paths:
|
|
|
84
84
|
schema:
|
|
85
85
|
type: string
|
|
86
86
|
responses:
|
|
87
|
-
|
|
87
|
+
"200":
|
|
88
88
|
description: Warehouse details
|
|
89
89
|
content:
|
|
90
90
|
application/json:
|
|
91
91
|
schema:
|
|
92
|
-
$ref:
|
|
92
|
+
$ref: "#/components/schemas/WarehouseGetResult"
|
|
93
93
|
put:
|
|
94
94
|
summary: Update a warehouse
|
|
95
95
|
operationId: updateWarehouse
|
|
@@ -104,14 +104,14 @@ paths:
|
|
|
104
104
|
content:
|
|
105
105
|
application/json:
|
|
106
106
|
schema:
|
|
107
|
-
$ref:
|
|
107
|
+
$ref: "#/components/schemas/WarehouseUpdateBody"
|
|
108
108
|
responses:
|
|
109
|
-
|
|
109
|
+
"200":
|
|
110
110
|
description: Warehouse updated
|
|
111
111
|
content:
|
|
112
112
|
application/json:
|
|
113
113
|
schema:
|
|
114
|
-
$ref:
|
|
114
|
+
$ref: "#/components/schemas/WarehouseUpdateResult"
|
|
115
115
|
delete:
|
|
116
116
|
summary: Remove a warehouse
|
|
117
117
|
operationId: removeWarehouse
|
|
@@ -122,12 +122,12 @@ paths:
|
|
|
122
122
|
schema:
|
|
123
123
|
type: string
|
|
124
124
|
responses:
|
|
125
|
-
|
|
125
|
+
"200":
|
|
126
126
|
description: Warehouse removed
|
|
127
127
|
content:
|
|
128
128
|
application/json:
|
|
129
129
|
schema:
|
|
130
|
-
$ref:
|
|
130
|
+
$ref: "#/components/schemas/WarehouseRemoveResult"
|
|
131
131
|
components:
|
|
132
132
|
schemas:
|
|
133
133
|
WarehouseFindResult:
|
|
@@ -137,7 +137,7 @@ components:
|
|
|
137
137
|
data:
|
|
138
138
|
type: array
|
|
139
139
|
items:
|
|
140
|
-
$ref:
|
|
140
|
+
$ref: "#/components/schemas/WarehouseSchema"
|
|
141
141
|
total_result:
|
|
142
142
|
type: number
|
|
143
143
|
description: Total number of warehouses
|
|
@@ -252,10 +252,10 @@ components:
|
|
|
252
252
|
type: string
|
|
253
253
|
description: Company namespaces
|
|
254
254
|
WarehouseCreateResult:
|
|
255
|
-
$ref:
|
|
255
|
+
$ref: "#/components/schemas/WarehouseSchema"
|
|
256
256
|
description: Result of creating a warehouse
|
|
257
257
|
WarehouseGetResult:
|
|
258
|
-
$ref:
|
|
258
|
+
$ref: "#/components/schemas/WarehouseSchema"
|
|
259
259
|
description: Result of getting a warehouse
|
|
260
260
|
WarehouseUpdateBody:
|
|
261
261
|
type: object
|
|
@@ -304,8 +304,8 @@ components:
|
|
|
304
304
|
type: number
|
|
305
305
|
description: Version number
|
|
306
306
|
WarehouseUpdateResult:
|
|
307
|
-
$ref:
|
|
307
|
+
$ref: "#/components/schemas/WarehouseSchema"
|
|
308
308
|
description: Result of updating a warehouse
|
|
309
309
|
WarehouseRemoveResult:
|
|
310
|
-
$ref:
|
|
310
|
+
$ref: "#/components/schemas/WarehouseSchema"
|
|
311
311
|
description: Result of removing a warehouse
|