repzo 1.0.129 → 1.0.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/index.d.ts +759 -1549
- package/lib/index.js +1989 -3242
- package/lib/types/index.d.ts +12753 -13938
- package/package.json +1 -1
- package/src/index.ts +85 -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 +2 -0
- package/test.ts +0 -2
package/src/oas/product.yaml
CHANGED
|
@@ -17,12 +17,12 @@ paths:
|
|
|
17
17
|
type: object
|
|
18
18
|
description: Query parameters for filtering products
|
|
19
19
|
responses:
|
|
20
|
-
|
|
20
|
+
"200":
|
|
21
21
|
description: A list of products
|
|
22
22
|
content:
|
|
23
23
|
application/json:
|
|
24
24
|
schema:
|
|
25
|
-
$ref:
|
|
25
|
+
$ref: "#/components/schemas/ProductFindResult"
|
|
26
26
|
post:
|
|
27
27
|
summary: Create a product
|
|
28
28
|
operationId: createProduct
|
|
@@ -31,14 +31,14 @@ paths:
|
|
|
31
31
|
content:
|
|
32
32
|
application/json:
|
|
33
33
|
schema:
|
|
34
|
-
$ref:
|
|
34
|
+
$ref: "#/components/schemas/ProductCreateBody"
|
|
35
35
|
responses:
|
|
36
|
-
|
|
36
|
+
"201":
|
|
37
37
|
description: Product created
|
|
38
38
|
content:
|
|
39
39
|
application/json:
|
|
40
40
|
schema:
|
|
41
|
-
$ref:
|
|
41
|
+
$ref: "#/components/schemas/ProductCreateResult"
|
|
42
42
|
/product/{id}:
|
|
43
43
|
get:
|
|
44
44
|
summary: Get a product by ID
|
|
@@ -50,12 +50,12 @@ paths:
|
|
|
50
50
|
schema:
|
|
51
51
|
type: string
|
|
52
52
|
responses:
|
|
53
|
-
|
|
53
|
+
"200":
|
|
54
54
|
description: Product details
|
|
55
55
|
content:
|
|
56
56
|
application/json:
|
|
57
57
|
schema:
|
|
58
|
-
$ref:
|
|
58
|
+
$ref: "#/components/schemas/ProductGetResult"
|
|
59
59
|
put:
|
|
60
60
|
summary: Update a product
|
|
61
61
|
operationId: updateProduct
|
|
@@ -70,14 +70,14 @@ paths:
|
|
|
70
70
|
content:
|
|
71
71
|
application/json:
|
|
72
72
|
schema:
|
|
73
|
-
$ref:
|
|
73
|
+
$ref: "#/components/schemas/ProductUpdateBody"
|
|
74
74
|
responses:
|
|
75
|
-
|
|
75
|
+
"200":
|
|
76
76
|
description: Product updated
|
|
77
77
|
content:
|
|
78
78
|
application/json:
|
|
79
79
|
schema:
|
|
80
|
-
$ref:
|
|
80
|
+
$ref: "#/components/schemas/ProductUpdateResult"
|
|
81
81
|
delete:
|
|
82
82
|
summary: Remove a product
|
|
83
83
|
operationId: removeProduct
|
|
@@ -88,12 +88,12 @@ paths:
|
|
|
88
88
|
schema:
|
|
89
89
|
type: string
|
|
90
90
|
responses:
|
|
91
|
-
|
|
91
|
+
"200":
|
|
92
92
|
description: Product removed
|
|
93
93
|
content:
|
|
94
94
|
application/json:
|
|
95
95
|
schema:
|
|
96
|
-
$ref:
|
|
96
|
+
$ref: "#/components/schemas/ProductRemoveResult"
|
|
97
97
|
components:
|
|
98
98
|
schemas:
|
|
99
99
|
ProductFindResult:
|
|
@@ -103,7 +103,7 @@ components:
|
|
|
103
103
|
data:
|
|
104
104
|
type: array
|
|
105
105
|
items:
|
|
106
|
-
$ref:
|
|
106
|
+
$ref: "#/components/schemas/ProductSchema"
|
|
107
107
|
total_result:
|
|
108
108
|
type: number
|
|
109
109
|
description: Total number of products
|
|
@@ -368,13 +368,13 @@ components:
|
|
|
368
368
|
variants:
|
|
369
369
|
type: array
|
|
370
370
|
items:
|
|
371
|
-
$ref:
|
|
371
|
+
$ref: "#/components/schemas/VariantCreateBody"
|
|
372
372
|
description: List of variants for this product
|
|
373
373
|
ProductCreateResult:
|
|
374
|
-
$ref:
|
|
374
|
+
$ref: "#/components/schemas/ProductSchema"
|
|
375
375
|
description: Result of creating a product
|
|
376
376
|
ProductGetResult:
|
|
377
|
-
$ref:
|
|
377
|
+
$ref: "#/components/schemas/ProductSchema"
|
|
378
378
|
description: Result of getting a product
|
|
379
379
|
ProductUpdateBody:
|
|
380
380
|
type: object
|
|
@@ -500,7 +500,7 @@ components:
|
|
|
500
500
|
type: array
|
|
501
501
|
items:
|
|
502
502
|
allOf:
|
|
503
|
-
- $ref:
|
|
503
|
+
- $ref: "#/components/schemas/VariantCreateBody"
|
|
504
504
|
- type: object
|
|
505
505
|
properties:
|
|
506
506
|
_id:
|
|
@@ -508,10 +508,10 @@ components:
|
|
|
508
508
|
description: Unique identifier for the variant
|
|
509
509
|
description: List of variants for this product
|
|
510
510
|
ProductUpdateResult:
|
|
511
|
-
$ref:
|
|
511
|
+
$ref: "#/components/schemas/ProductSchema"
|
|
512
512
|
description: Result of updating a product
|
|
513
513
|
ProductRemoveResult:
|
|
514
|
-
$ref:
|
|
514
|
+
$ref: "#/components/schemas/ProductSchema"
|
|
515
515
|
description: Result of removing a product
|
|
516
516
|
VariantCreateBody:
|
|
517
517
|
type: object
|
package/src/oas/rep.yaml
CHANGED
|
@@ -75,12 +75,12 @@ paths:
|
|
|
75
75
|
type: boolean
|
|
76
76
|
description: Query parameters for filtering reps
|
|
77
77
|
responses:
|
|
78
|
-
|
|
78
|
+
"200":
|
|
79
79
|
description: A list of reps
|
|
80
80
|
content:
|
|
81
81
|
application/json:
|
|
82
82
|
schema:
|
|
83
|
-
$ref:
|
|
83
|
+
$ref: "#/components/schemas/RepFindResult"
|
|
84
84
|
post:
|
|
85
85
|
summary: Create a rep
|
|
86
86
|
operationId: createRep
|
|
@@ -89,14 +89,14 @@ paths:
|
|
|
89
89
|
content:
|
|
90
90
|
application/json:
|
|
91
91
|
schema:
|
|
92
|
-
$ref:
|
|
92
|
+
$ref: "#/components/schemas/RepCreateBody"
|
|
93
93
|
responses:
|
|
94
|
-
|
|
94
|
+
"201":
|
|
95
95
|
description: Rep created
|
|
96
96
|
content:
|
|
97
97
|
application/json:
|
|
98
98
|
schema:
|
|
99
|
-
$ref:
|
|
99
|
+
$ref: "#/components/schemas/RepCreateResult"
|
|
100
100
|
/rep/{id}:
|
|
101
101
|
get:
|
|
102
102
|
summary: Get a rep by ID
|
|
@@ -108,12 +108,12 @@ paths:
|
|
|
108
108
|
schema:
|
|
109
109
|
type: string
|
|
110
110
|
responses:
|
|
111
|
-
|
|
111
|
+
"200":
|
|
112
112
|
description: Rep details
|
|
113
113
|
content:
|
|
114
114
|
application/json:
|
|
115
115
|
schema:
|
|
116
|
-
$ref:
|
|
116
|
+
$ref: "#/components/schemas/RepGetResult"
|
|
117
117
|
put:
|
|
118
118
|
summary: Update a rep
|
|
119
119
|
operationId: updateRep
|
|
@@ -128,14 +128,14 @@ paths:
|
|
|
128
128
|
content:
|
|
129
129
|
application/json:
|
|
130
130
|
schema:
|
|
131
|
-
$ref:
|
|
131
|
+
$ref: "#/components/schemas/RepUpdateBody"
|
|
132
132
|
responses:
|
|
133
|
-
|
|
133
|
+
"200":
|
|
134
134
|
description: Rep updated
|
|
135
135
|
content:
|
|
136
136
|
application/json:
|
|
137
137
|
schema:
|
|
138
|
-
$ref:
|
|
138
|
+
$ref: "#/components/schemas/RepUpdateResult"
|
|
139
139
|
delete:
|
|
140
140
|
summary: Remove a rep
|
|
141
141
|
operationId: removeRep
|
|
@@ -146,12 +146,12 @@ paths:
|
|
|
146
146
|
schema:
|
|
147
147
|
type: string
|
|
148
148
|
responses:
|
|
149
|
-
|
|
149
|
+
"200":
|
|
150
150
|
description: Rep removed
|
|
151
151
|
content:
|
|
152
152
|
application/json:
|
|
153
153
|
schema:
|
|
154
|
-
$ref:
|
|
154
|
+
$ref: "#/components/schemas/RepRemoveResult"
|
|
155
155
|
components:
|
|
156
156
|
schemas:
|
|
157
157
|
RepFindResult:
|
|
@@ -161,7 +161,7 @@ components:
|
|
|
161
161
|
data:
|
|
162
162
|
type: array
|
|
163
163
|
items:
|
|
164
|
-
$ref:
|
|
164
|
+
$ref: "#/components/schemas/RepSchema"
|
|
165
165
|
total_result:
|
|
166
166
|
type: number
|
|
167
167
|
description: Total number of reps
|
|
@@ -329,10 +329,10 @@ components:
|
|
|
329
329
|
type: string
|
|
330
330
|
description: Company namespaces
|
|
331
331
|
RepCreateResult:
|
|
332
|
-
$ref:
|
|
332
|
+
$ref: "#/components/schemas/RepSchema"
|
|
333
333
|
description: Result of creating a rep
|
|
334
334
|
RepGetResult:
|
|
335
|
-
$ref:
|
|
335
|
+
$ref: "#/components/schemas/RepSchema"
|
|
336
336
|
description: Result of getting a rep
|
|
337
337
|
RepUpdateBody:
|
|
338
338
|
type: object
|
|
@@ -403,8 +403,8 @@ components:
|
|
|
403
403
|
type: number
|
|
404
404
|
description: Version number
|
|
405
405
|
RepUpdateResult:
|
|
406
|
-
$ref:
|
|
406
|
+
$ref: "#/components/schemas/RepSchema"
|
|
407
407
|
description: Result of updating a rep
|
|
408
408
|
RepRemoveResult:
|
|
409
|
-
$ref:
|
|
409
|
+
$ref: "#/components/schemas/RepSchema"
|
|
410
410
|
description: Result of removing a rep
|
|
@@ -57,12 +57,12 @@ paths:
|
|
|
57
57
|
enum: [asc, desc]
|
|
58
58
|
description: Query parameters for filtering return reasons
|
|
59
59
|
responses:
|
|
60
|
-
|
|
60
|
+
"200":
|
|
61
61
|
description: A list of return reasons
|
|
62
62
|
content:
|
|
63
63
|
application/json:
|
|
64
64
|
schema:
|
|
65
|
-
$ref:
|
|
65
|
+
$ref: "#/components/schemas/ReturnReasonFindResult"
|
|
66
66
|
post:
|
|
67
67
|
summary: Create a return reason
|
|
68
68
|
operationId: createReturnReason
|
|
@@ -71,14 +71,14 @@ paths:
|
|
|
71
71
|
content:
|
|
72
72
|
application/json:
|
|
73
73
|
schema:
|
|
74
|
-
$ref:
|
|
74
|
+
$ref: "#/components/schemas/ReturnReasonCreateBody"
|
|
75
75
|
responses:
|
|
76
|
-
|
|
76
|
+
"201":
|
|
77
77
|
description: Return reason created
|
|
78
78
|
content:
|
|
79
79
|
application/json:
|
|
80
80
|
schema:
|
|
81
|
-
$ref:
|
|
81
|
+
$ref: "#/components/schemas/ReturnReasonCreateResult"
|
|
82
82
|
/return-reason/{id}:
|
|
83
83
|
get:
|
|
84
84
|
summary: Get a return reason by ID
|
|
@@ -90,12 +90,12 @@ paths:
|
|
|
90
90
|
schema:
|
|
91
91
|
type: string
|
|
92
92
|
responses:
|
|
93
|
-
|
|
93
|
+
"200":
|
|
94
94
|
description: Return reason details
|
|
95
95
|
content:
|
|
96
96
|
application/json:
|
|
97
97
|
schema:
|
|
98
|
-
$ref:
|
|
98
|
+
$ref: "#/components/schemas/ReturnReasonGetResult"
|
|
99
99
|
put:
|
|
100
100
|
summary: Update a return reason
|
|
101
101
|
operationId: updateReturnReason
|
|
@@ -110,14 +110,14 @@ paths:
|
|
|
110
110
|
content:
|
|
111
111
|
application/json:
|
|
112
112
|
schema:
|
|
113
|
-
$ref:
|
|
113
|
+
$ref: "#/components/schemas/ReturnReasonUpdateBody"
|
|
114
114
|
responses:
|
|
115
|
-
|
|
115
|
+
"200":
|
|
116
116
|
description: Return reason updated
|
|
117
117
|
content:
|
|
118
118
|
application/json:
|
|
119
119
|
schema:
|
|
120
|
-
$ref:
|
|
120
|
+
$ref: "#/components/schemas/ReturnReasonUpdateResult"
|
|
121
121
|
delete:
|
|
122
122
|
summary: Remove a return reason
|
|
123
123
|
operationId: removeReturnReason
|
|
@@ -128,12 +128,12 @@ paths:
|
|
|
128
128
|
schema:
|
|
129
129
|
type: string
|
|
130
130
|
responses:
|
|
131
|
-
|
|
131
|
+
"200":
|
|
132
132
|
description: Return reason removed
|
|
133
133
|
content:
|
|
134
134
|
application/json:
|
|
135
135
|
schema:
|
|
136
|
-
$ref:
|
|
136
|
+
$ref: "#/components/schemas/ReturnReasonRemoveResult"
|
|
137
137
|
components:
|
|
138
138
|
schemas:
|
|
139
139
|
ReturnReasonFindResult:
|
|
@@ -143,7 +143,7 @@ components:
|
|
|
143
143
|
data:
|
|
144
144
|
type: array
|
|
145
145
|
items:
|
|
146
|
-
$ref:
|
|
146
|
+
$ref: "#/components/schemas/ReturnReasonSchema"
|
|
147
147
|
total_result:
|
|
148
148
|
type: number
|
|
149
149
|
description: Total number of return reasons
|
|
@@ -237,10 +237,10 @@ components:
|
|
|
237
237
|
type: string
|
|
238
238
|
description: Company namespaces
|
|
239
239
|
ReturnReasonCreateResult:
|
|
240
|
-
$ref:
|
|
240
|
+
$ref: "#/components/schemas/ReturnReasonSchema"
|
|
241
241
|
description: Result of creating a return reason
|
|
242
242
|
ReturnReasonGetResult:
|
|
243
|
-
$ref:
|
|
243
|
+
$ref: "#/components/schemas/ReturnReasonSchema"
|
|
244
244
|
description: Result of getting a return reason
|
|
245
245
|
ReturnReasonUpdateBody:
|
|
246
246
|
type: object
|
|
@@ -279,8 +279,8 @@ components:
|
|
|
279
279
|
type: number
|
|
280
280
|
description: Version number
|
|
281
281
|
ReturnReasonUpdateResult:
|
|
282
|
-
$ref:
|
|
282
|
+
$ref: "#/components/schemas/ReturnReasonSchema"
|
|
283
283
|
description: Result of updating a return reason
|
|
284
284
|
ReturnReasonRemoveResult:
|
|
285
|
-
$ref:
|
|
285
|
+
$ref: "#/components/schemas/ReturnReasonSchema"
|
|
286
286
|
description: Result of removing a return reason
|
package/src/oas/route.yaml
CHANGED
|
@@ -57,12 +57,12 @@ paths:
|
|
|
57
57
|
enum: [asc, desc]
|
|
58
58
|
description: Query parameters for filtering routes
|
|
59
59
|
responses:
|
|
60
|
-
|
|
60
|
+
"200":
|
|
61
61
|
description: A list of routes
|
|
62
62
|
content:
|
|
63
63
|
application/json:
|
|
64
64
|
schema:
|
|
65
|
-
$ref:
|
|
65
|
+
$ref: "#/components/schemas/RouteFindResult"
|
|
66
66
|
post:
|
|
67
67
|
summary: Create a route
|
|
68
68
|
operationId: createRoute
|
|
@@ -71,14 +71,14 @@ paths:
|
|
|
71
71
|
content:
|
|
72
72
|
application/json:
|
|
73
73
|
schema:
|
|
74
|
-
$ref:
|
|
74
|
+
$ref: "#/components/schemas/RouteCreateBody"
|
|
75
75
|
responses:
|
|
76
|
-
|
|
76
|
+
"201":
|
|
77
77
|
description: Route created
|
|
78
78
|
content:
|
|
79
79
|
application/json:
|
|
80
80
|
schema:
|
|
81
|
-
$ref:
|
|
81
|
+
$ref: "#/components/schemas/RouteCreateResult"
|
|
82
82
|
/route/{id}:
|
|
83
83
|
get:
|
|
84
84
|
summary: Get a route by ID
|
|
@@ -90,12 +90,12 @@ paths:
|
|
|
90
90
|
schema:
|
|
91
91
|
type: string
|
|
92
92
|
responses:
|
|
93
|
-
|
|
93
|
+
"200":
|
|
94
94
|
description: Route details
|
|
95
95
|
content:
|
|
96
96
|
application/json:
|
|
97
97
|
schema:
|
|
98
|
-
$ref:
|
|
98
|
+
$ref: "#/components/schemas/RouteGetResult"
|
|
99
99
|
put:
|
|
100
100
|
summary: Update a route
|
|
101
101
|
operationId: updateRoute
|
|
@@ -110,14 +110,14 @@ paths:
|
|
|
110
110
|
content:
|
|
111
111
|
application/json:
|
|
112
112
|
schema:
|
|
113
|
-
$ref:
|
|
113
|
+
$ref: "#/components/schemas/RouteUpdateBody"
|
|
114
114
|
responses:
|
|
115
|
-
|
|
115
|
+
"200":
|
|
116
116
|
description: Route updated
|
|
117
117
|
content:
|
|
118
118
|
application/json:
|
|
119
119
|
schema:
|
|
120
|
-
$ref:
|
|
120
|
+
$ref: "#/components/schemas/RouteUpdateResult"
|
|
121
121
|
delete:
|
|
122
122
|
summary: Remove a route
|
|
123
123
|
operationId: removeRoute
|
|
@@ -128,12 +128,12 @@ paths:
|
|
|
128
128
|
schema:
|
|
129
129
|
type: string
|
|
130
130
|
responses:
|
|
131
|
-
|
|
131
|
+
"200":
|
|
132
132
|
description: Route removed
|
|
133
133
|
content:
|
|
134
134
|
application/json:
|
|
135
135
|
schema:
|
|
136
|
-
$ref:
|
|
136
|
+
$ref: "#/components/schemas/RouteRemoveResult"
|
|
137
137
|
components:
|
|
138
138
|
schemas:
|
|
139
139
|
RouteFindResult:
|
|
@@ -143,7 +143,7 @@ components:
|
|
|
143
143
|
data:
|
|
144
144
|
type: array
|
|
145
145
|
items:
|
|
146
|
-
$ref:
|
|
146
|
+
$ref: "#/components/schemas/RouteSchema"
|
|
147
147
|
total_result:
|
|
148
148
|
type: number
|
|
149
149
|
description: Total number of routes
|
|
@@ -272,10 +272,10 @@ components:
|
|
|
272
272
|
type: string
|
|
273
273
|
description: Company namespaces
|
|
274
274
|
RouteCreateResult:
|
|
275
|
-
$ref:
|
|
275
|
+
$ref: "#/components/schemas/RouteSchema"
|
|
276
276
|
description: Result of creating a route
|
|
277
277
|
RouteGetResult:
|
|
278
|
-
$ref:
|
|
278
|
+
$ref: "#/components/schemas/RouteSchema"
|
|
279
279
|
description: Result of getting a route
|
|
280
280
|
RouteUpdateBody:
|
|
281
281
|
type: object
|
|
@@ -330,8 +330,8 @@ components:
|
|
|
330
330
|
type: number
|
|
331
331
|
description: Version number
|
|
332
332
|
RouteUpdateResult:
|
|
333
|
-
$ref:
|
|
333
|
+
$ref: "#/components/schemas/RouteSchema"
|
|
334
334
|
description: Result of updating a route
|
|
335
335
|
RouteRemoveResult:
|
|
336
|
-
$ref:
|
|
336
|
+
$ref: "#/components/schemas/RouteSchema"
|
|
337
337
|
description: Result of removing a route
|
package/src/oas/subcategory.yaml
CHANGED
|
@@ -78,12 +78,12 @@ paths:
|
|
|
78
78
|
enum: [asc, desc]
|
|
79
79
|
description: Query parameters for filtering subcategories
|
|
80
80
|
responses:
|
|
81
|
-
|
|
81
|
+
"200":
|
|
82
82
|
description: A list of subcategories
|
|
83
83
|
content:
|
|
84
84
|
application/json:
|
|
85
85
|
schema:
|
|
86
|
-
$ref:
|
|
86
|
+
$ref: "#/components/schemas/SubCategoryFindResult"
|
|
87
87
|
post:
|
|
88
88
|
summary: Create a subcategory
|
|
89
89
|
operationId: createSubCategory
|
|
@@ -92,14 +92,14 @@ paths:
|
|
|
92
92
|
content:
|
|
93
93
|
application/json:
|
|
94
94
|
schema:
|
|
95
|
-
$ref:
|
|
95
|
+
$ref: "#/components/schemas/SubCategoryCreateBody"
|
|
96
96
|
responses:
|
|
97
|
-
|
|
97
|
+
"201":
|
|
98
98
|
description: SubCategory created
|
|
99
99
|
content:
|
|
100
100
|
application/json:
|
|
101
101
|
schema:
|
|
102
|
-
$ref:
|
|
102
|
+
$ref: "#/components/schemas/SubCategoryCreateResult"
|
|
103
103
|
/product/sub-categories/{id}:
|
|
104
104
|
get:
|
|
105
105
|
summary: Get a subcategory by ID
|
|
@@ -121,12 +121,12 @@ paths:
|
|
|
121
121
|
type: string
|
|
122
122
|
enum: [parent_id]
|
|
123
123
|
responses:
|
|
124
|
-
|
|
124
|
+
"200":
|
|
125
125
|
description: SubCategory details
|
|
126
126
|
content:
|
|
127
127
|
application/json:
|
|
128
128
|
schema:
|
|
129
|
-
$ref:
|
|
129
|
+
$ref: "#/components/schemas/SubCategoryGetResult"
|
|
130
130
|
put:
|
|
131
131
|
summary: Update a subcategory
|
|
132
132
|
operationId: updateSubCategory
|
|
@@ -141,14 +141,14 @@ paths:
|
|
|
141
141
|
content:
|
|
142
142
|
application/json:
|
|
143
143
|
schema:
|
|
144
|
-
$ref:
|
|
144
|
+
$ref: "#/components/schemas/SubCategoryUpdateBody"
|
|
145
145
|
responses:
|
|
146
|
-
|
|
146
|
+
"200":
|
|
147
147
|
description: SubCategory updated
|
|
148
148
|
content:
|
|
149
149
|
application/json:
|
|
150
150
|
schema:
|
|
151
|
-
$ref:
|
|
151
|
+
$ref: "#/components/schemas/SubCategoryUpdateResult"
|
|
152
152
|
delete:
|
|
153
153
|
summary: Remove a subcategory
|
|
154
154
|
operationId: removeSubCategory
|
|
@@ -159,12 +159,12 @@ paths:
|
|
|
159
159
|
schema:
|
|
160
160
|
type: string
|
|
161
161
|
responses:
|
|
162
|
-
|
|
162
|
+
"200":
|
|
163
163
|
description: SubCategory removed
|
|
164
164
|
content:
|
|
165
165
|
application/json:
|
|
166
166
|
schema:
|
|
167
|
-
$ref:
|
|
167
|
+
$ref: "#/components/schemas/SubCategoryRemoveResult"
|
|
168
168
|
components:
|
|
169
169
|
schemas:
|
|
170
170
|
SubCategoryFindResult:
|
|
@@ -174,7 +174,7 @@ components:
|
|
|
174
174
|
data:
|
|
175
175
|
type: array
|
|
176
176
|
items:
|
|
177
|
-
$ref:
|
|
177
|
+
$ref: "#/components/schemas/SubCategorySchema"
|
|
178
178
|
total_result:
|
|
179
179
|
type: number
|
|
180
180
|
description: Total number of subcategories
|
|
@@ -297,10 +297,10 @@ components:
|
|
|
297
297
|
additionalProperties: true
|
|
298
298
|
description: Integration metadata
|
|
299
299
|
SubCategoryCreateResult:
|
|
300
|
-
$ref:
|
|
300
|
+
$ref: "#/components/schemas/SubCategorySchema"
|
|
301
301
|
description: Result of creating a subcategory
|
|
302
302
|
SubCategoryGetResult:
|
|
303
|
-
$ref:
|
|
303
|
+
$ref: "#/components/schemas/SubCategorySchema"
|
|
304
304
|
description: Result of getting a subcategory
|
|
305
305
|
SubCategoryUpdateBody:
|
|
306
306
|
type: object
|
|
@@ -348,8 +348,8 @@ components:
|
|
|
348
348
|
type: number
|
|
349
349
|
description: Version number
|
|
350
350
|
SubCategoryUpdateResult:
|
|
351
|
-
$ref:
|
|
351
|
+
$ref: "#/components/schemas/SubCategorySchema"
|
|
352
352
|
description: Result of updating a subcategory
|
|
353
353
|
SubCategoryRemoveResult:
|
|
354
|
-
$ref:
|
|
354
|
+
$ref: "#/components/schemas/SubCategorySchema"
|
|
355
355
|
description: Result of removing a subcategory
|