repzo 1.0.154 → 1.0.156
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/changelog.md +1 -0
- package/lib/index.d.ts +18 -0
- package/lib/index.js +38 -0
- package/lib/types/index.d.ts +462 -198
- package/lib/types/index.js +2 -1
- package/package.json +2 -2
- package/src/index.ts +4890 -0
- package/src/oas/activity-ai-sales-order.yaml +623 -0
- package/src/oas/activity-feedback-v2.yaml +753 -0
- package/src/oas/activity-feedback.yaml +645 -0
- package/src/oas/activity-storecheck.yaml +379 -0
- package/src/oas/adjust-account.yaml +241 -0
- package/src/oas/adjust-inventory.yaml +133 -0
- package/src/oas/approval-request.yaml +211 -0
- package/src/oas/approvals.yaml +176 -0
- package/src/oas/asset-part-receival.yaml +591 -0
- package/src/oas/asset-part-transfer.yaml +618 -0
- package/src/oas/asset-part-type.yaml +383 -0
- package/src/oas/asset-part-unit.yaml +722 -0
- package/src/oas/asset-part.yaml +485 -0
- package/src/oas/asset-type.yaml +180 -0
- package/src/oas/asset-unit.yaml +705 -0
- package/src/oas/asset.yaml +204 -0
- package/src/oas/banks.yaml +168 -0
- package/src/oas/bankslists.yaml +168 -0
- package/src/oas/brand.yaml +246 -0
- package/src/oas/category.yaml +285 -0
- package/src/oas/checks.yaml +247 -0
- package/src/oas/client-channel.yaml +480 -0
- package/src/oas/client-contact.yaml +665 -0
- package/src/oas/client-location.yaml +687 -0
- package/src/oas/client.yaml +669 -0
- package/src/oas/contract-installment.yaml +740 -0
- package/src/oas/contract.yaml +210 -0
- package/src/oas/custom-list-item.yaml +168 -0
- package/src/oas/custom-list.yaml +168 -0
- package/src/oas/custom-status.yaml +168 -0
- package/src/oas/day.yaml +246 -0
- package/src/oas/feedback-options.yaml +802 -0
- package/src/oas/fullinvoices.yaml +584 -0
- package/src/oas/integration-action-log.yaml +361 -0
- package/src/oas/integration-app.yaml +303 -0
- package/src/oas/integration-command-log.yaml +381 -0
- package/src/oas/inventory-adjustment-reason.yaml +165 -0
- package/src/oas/inventory.yaml +64 -0
- package/src/oas/mail-unsubscribe.yaml +463 -0
- package/src/oas/measureunit-family.yaml +354 -0
- package/src/oas/measureunit.yaml +366 -0
- package/src/oas/media-storage.yaml +329 -0
- package/src/oas/media.yaml +472 -0
- package/src/oas/msl-products.yaml +180 -0
- package/src/oas/msl.yaml +186 -0
- package/src/oas/ocr-invoice-job-group.yaml +528 -0
- package/src/oas/ocr-invoice-job-page.yaml +602 -0
- package/src/oas/ocr-invoice-job-template.yaml +628 -0
- package/src/oas/ocr-invoice-job.yaml +603 -0
- package/src/oas/patch-action.yaml +421 -0
- package/src/oas/payment-terms.yaml +235 -0
- package/src/oas/payments.yaml +536 -0
- package/src/oas/pricelist-item.yaml +369 -0
- package/src/oas/pricelist.yaml +287 -0
- package/src/oas/product-group.yaml +278 -0
- package/src/oas/product-modifiers-group.yaml +524 -0
- package/src/oas/product.yaml +578 -0
- package/src/oas/proforma.yaml +180 -0
- package/src/oas/quick-convert-to-pdf.yaml +95 -0
- package/src/oas/receiving-material.yaml +336 -0
- package/src/oas/refund.yaml +281 -0
- package/src/oas/rep-balance-summary.yaml +135 -0
- package/src/oas/rep.yaml +1824 -0
- package/src/oas/return-asset-part-unit.yaml +573 -0
- package/src/oas/return-reason.yaml +286 -0
- package/src/oas/route.yaml +337 -0
- package/src/oas/safe-invoice-serial-counter.yaml +525 -0
- package/src/oas/settings.yaml +123 -0
- package/src/oas/settlement.yaml +505 -0
- package/src/oas/speciality.yaml +447 -0
- package/src/oas/store-asset-part-unit.yaml +658 -0
- package/src/oas/storecheck-template.yaml +415 -0
- package/src/oas/subcategory.yaml +355 -0
- package/src/oas/supplier.yaml +183 -0
- package/src/oas/svix-integration.yaml +335 -0
- package/src/oas/tag.yaml +272 -0
- package/src/oas/tax.yaml +303 -0
- package/src/oas/team.yaml +268 -0
- package/src/oas/transfer.yaml +347 -0
- package/src/oas/update-integration-meta.yaml +387 -0
- package/src/oas/variant.yaml +569 -0
- package/src/oas/visit.yaml +174 -0
- package/src/oas/warehouse.yaml +311 -0
- package/src/oas/workorder-category.yaml +751 -0
- package/src/oas/workorder-portal-link.yaml +811 -0
- package/src/oas/workorder-portal.yaml +650 -0
- package/src/oas/workorder-request.yaml +193 -0
- package/src/oas/workorder.yaml +204 -0
- package/src/types/index.ts +1175 -223
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
openapi: 3.0.3
|
|
2
|
+
info:
|
|
3
|
+
title: Repzo API - SubCategory
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
description: OpenAPI specification for Repzo SubCategory endpoints.
|
|
6
|
+
servers:
|
|
7
|
+
- url: https://sv.api.repzo.me
|
|
8
|
+
paths:
|
|
9
|
+
/product/sub-categories:
|
|
10
|
+
get:
|
|
11
|
+
summary: Find subcategories
|
|
12
|
+
operationId: findSubCategories
|
|
13
|
+
parameters:
|
|
14
|
+
- in: query
|
|
15
|
+
name: params
|
|
16
|
+
schema:
|
|
17
|
+
type: object
|
|
18
|
+
properties:
|
|
19
|
+
populatedKeys:
|
|
20
|
+
type: array
|
|
21
|
+
items:
|
|
22
|
+
type: string
|
|
23
|
+
enum: [parent_id]
|
|
24
|
+
_id:
|
|
25
|
+
type: array
|
|
26
|
+
items:
|
|
27
|
+
type: string
|
|
28
|
+
search:
|
|
29
|
+
type: string
|
|
30
|
+
name:
|
|
31
|
+
oneOf:
|
|
32
|
+
- type: array
|
|
33
|
+
items:
|
|
34
|
+
type: string
|
|
35
|
+
- type: string
|
|
36
|
+
local_name:
|
|
37
|
+
oneOf:
|
|
38
|
+
- type: array
|
|
39
|
+
items:
|
|
40
|
+
type: string
|
|
41
|
+
- type: string
|
|
42
|
+
parent_id:
|
|
43
|
+
oneOf:
|
|
44
|
+
- type: array
|
|
45
|
+
items:
|
|
46
|
+
type: string
|
|
47
|
+
- type: string
|
|
48
|
+
disabled:
|
|
49
|
+
type: boolean
|
|
50
|
+
position:
|
|
51
|
+
oneOf:
|
|
52
|
+
- type: array
|
|
53
|
+
items:
|
|
54
|
+
type: number
|
|
55
|
+
- type: number
|
|
56
|
+
from_updatedAt:
|
|
57
|
+
type: number
|
|
58
|
+
createdAt:
|
|
59
|
+
type: number
|
|
60
|
+
updatedAt:
|
|
61
|
+
type: number
|
|
62
|
+
withProduct:
|
|
63
|
+
type: boolean
|
|
64
|
+
from__id:
|
|
65
|
+
type: string
|
|
66
|
+
to__id:
|
|
67
|
+
type: string
|
|
68
|
+
sortBy:
|
|
69
|
+
type: array
|
|
70
|
+
items:
|
|
71
|
+
type: object
|
|
72
|
+
properties:
|
|
73
|
+
field:
|
|
74
|
+
type: string
|
|
75
|
+
enum: [_id]
|
|
76
|
+
type:
|
|
77
|
+
type: string
|
|
78
|
+
enum: [asc, desc]
|
|
79
|
+
description: Query parameters for filtering subcategories
|
|
80
|
+
responses:
|
|
81
|
+
"200":
|
|
82
|
+
description: A list of subcategories
|
|
83
|
+
content:
|
|
84
|
+
application/json:
|
|
85
|
+
schema:
|
|
86
|
+
$ref: "#/components/schemas/SubCategoryFindResult"
|
|
87
|
+
post:
|
|
88
|
+
summary: Create a subcategory
|
|
89
|
+
operationId: createSubCategory
|
|
90
|
+
requestBody:
|
|
91
|
+
required: true
|
|
92
|
+
content:
|
|
93
|
+
application/json:
|
|
94
|
+
schema:
|
|
95
|
+
$ref: "#/components/schemas/SubCategoryCreateBody"
|
|
96
|
+
responses:
|
|
97
|
+
"201":
|
|
98
|
+
description: SubCategory created
|
|
99
|
+
content:
|
|
100
|
+
application/json:
|
|
101
|
+
schema:
|
|
102
|
+
$ref: "#/components/schemas/SubCategoryCreateResult"
|
|
103
|
+
/product/sub-categories/{id}:
|
|
104
|
+
get:
|
|
105
|
+
summary: Get a subcategory by ID
|
|
106
|
+
operationId: getSubCategory
|
|
107
|
+
parameters:
|
|
108
|
+
- in: path
|
|
109
|
+
name: id
|
|
110
|
+
required: true
|
|
111
|
+
schema:
|
|
112
|
+
type: string
|
|
113
|
+
- in: query
|
|
114
|
+
name: params
|
|
115
|
+
schema:
|
|
116
|
+
type: object
|
|
117
|
+
properties:
|
|
118
|
+
populatedKeys:
|
|
119
|
+
type: array
|
|
120
|
+
items:
|
|
121
|
+
type: string
|
|
122
|
+
enum: [parent_id]
|
|
123
|
+
responses:
|
|
124
|
+
"200":
|
|
125
|
+
description: SubCategory details
|
|
126
|
+
content:
|
|
127
|
+
application/json:
|
|
128
|
+
schema:
|
|
129
|
+
$ref: "#/components/schemas/SubCategoryGetResult"
|
|
130
|
+
put:
|
|
131
|
+
summary: Update a subcategory
|
|
132
|
+
operationId: updateSubCategory
|
|
133
|
+
parameters:
|
|
134
|
+
- in: path
|
|
135
|
+
name: id
|
|
136
|
+
required: true
|
|
137
|
+
schema:
|
|
138
|
+
type: string
|
|
139
|
+
requestBody:
|
|
140
|
+
required: true
|
|
141
|
+
content:
|
|
142
|
+
application/json:
|
|
143
|
+
schema:
|
|
144
|
+
$ref: "#/components/schemas/SubCategoryUpdateBody"
|
|
145
|
+
responses:
|
|
146
|
+
"200":
|
|
147
|
+
description: SubCategory updated
|
|
148
|
+
content:
|
|
149
|
+
application/json:
|
|
150
|
+
schema:
|
|
151
|
+
$ref: "#/components/schemas/SubCategoryUpdateResult"
|
|
152
|
+
delete:
|
|
153
|
+
summary: Remove a subcategory
|
|
154
|
+
operationId: removeSubCategory
|
|
155
|
+
parameters:
|
|
156
|
+
- in: path
|
|
157
|
+
name: id
|
|
158
|
+
required: true
|
|
159
|
+
schema:
|
|
160
|
+
type: string
|
|
161
|
+
responses:
|
|
162
|
+
"200":
|
|
163
|
+
description: SubCategory removed
|
|
164
|
+
content:
|
|
165
|
+
application/json:
|
|
166
|
+
schema:
|
|
167
|
+
$ref: "#/components/schemas/SubCategoryRemoveResult"
|
|
168
|
+
components:
|
|
169
|
+
schemas:
|
|
170
|
+
SubCategoryFindResult:
|
|
171
|
+
type: object
|
|
172
|
+
description: Result of finding subcategories
|
|
173
|
+
properties:
|
|
174
|
+
data:
|
|
175
|
+
type: array
|
|
176
|
+
items:
|
|
177
|
+
$ref: "#/components/schemas/SubCategorySchema"
|
|
178
|
+
total_result:
|
|
179
|
+
type: number
|
|
180
|
+
description: Total number of subcategories
|
|
181
|
+
current_count:
|
|
182
|
+
type: number
|
|
183
|
+
description: Count of subcategories in current page
|
|
184
|
+
total_pages:
|
|
185
|
+
type: number
|
|
186
|
+
description: Total number of pages
|
|
187
|
+
current_page:
|
|
188
|
+
type: number
|
|
189
|
+
description: Current page number
|
|
190
|
+
per_page:
|
|
191
|
+
type: number
|
|
192
|
+
description: Number of subcategories per page
|
|
193
|
+
first_page_url:
|
|
194
|
+
type: string
|
|
195
|
+
description: URL for the first page
|
|
196
|
+
last_page_url:
|
|
197
|
+
type: string
|
|
198
|
+
description: URL for the last page
|
|
199
|
+
next_page_url:
|
|
200
|
+
type: string
|
|
201
|
+
nullable: true
|
|
202
|
+
description: URL for the next page
|
|
203
|
+
prev_page_url:
|
|
204
|
+
type: string
|
|
205
|
+
nullable: true
|
|
206
|
+
description: URL for the previous page
|
|
207
|
+
path:
|
|
208
|
+
type: string
|
|
209
|
+
description: Base URL path
|
|
210
|
+
SubCategorySchema:
|
|
211
|
+
type: object
|
|
212
|
+
description: SubCategory schema
|
|
213
|
+
properties:
|
|
214
|
+
_id:
|
|
215
|
+
type: string
|
|
216
|
+
description: Unique identifier for the subcategory
|
|
217
|
+
name:
|
|
218
|
+
type: string
|
|
219
|
+
description: Name of the subcategory
|
|
220
|
+
parent_id:
|
|
221
|
+
oneOf:
|
|
222
|
+
- type: string
|
|
223
|
+
description: ID of the parent category
|
|
224
|
+
- type: object
|
|
225
|
+
properties:
|
|
226
|
+
_id:
|
|
227
|
+
type: string
|
|
228
|
+
description: ID of the parent category
|
|
229
|
+
name:
|
|
230
|
+
type: string
|
|
231
|
+
description: Name of the parent category
|
|
232
|
+
description: Parent category object when populated
|
|
233
|
+
local_name:
|
|
234
|
+
type: string
|
|
235
|
+
description: Localized name of the subcategory
|
|
236
|
+
disabled:
|
|
237
|
+
type: boolean
|
|
238
|
+
description: Whether the subcategory is disabled
|
|
239
|
+
photo:
|
|
240
|
+
type: string
|
|
241
|
+
description: Photo URL of the subcategory
|
|
242
|
+
position:
|
|
243
|
+
type: number
|
|
244
|
+
description: Position of the subcategory
|
|
245
|
+
integration_meta:
|
|
246
|
+
type: object
|
|
247
|
+
additionalProperties: true
|
|
248
|
+
description: Integration metadata
|
|
249
|
+
company_namespace:
|
|
250
|
+
type: array
|
|
251
|
+
items:
|
|
252
|
+
type: string
|
|
253
|
+
description: Company namespaces
|
|
254
|
+
createdAt:
|
|
255
|
+
type: string
|
|
256
|
+
format: date-time
|
|
257
|
+
description: Creation timestamp
|
|
258
|
+
updatedAt:
|
|
259
|
+
type: string
|
|
260
|
+
format: date-time
|
|
261
|
+
description: Last update timestamp
|
|
262
|
+
__v:
|
|
263
|
+
type: number
|
|
264
|
+
description: Version number
|
|
265
|
+
SubCategoryCreateBody:
|
|
266
|
+
type: object
|
|
267
|
+
description: Body for creating a subcategory
|
|
268
|
+
required:
|
|
269
|
+
- name
|
|
270
|
+
- parent_id
|
|
271
|
+
properties:
|
|
272
|
+
name:
|
|
273
|
+
type: string
|
|
274
|
+
description: Name of the subcategory
|
|
275
|
+
parent_id:
|
|
276
|
+
type: string
|
|
277
|
+
description: ID of the parent category
|
|
278
|
+
local_name:
|
|
279
|
+
type: string
|
|
280
|
+
description: Localized name of the subcategory
|
|
281
|
+
disabled:
|
|
282
|
+
type: boolean
|
|
283
|
+
description: Whether the subcategory is disabled
|
|
284
|
+
photo:
|
|
285
|
+
type: string
|
|
286
|
+
description: Photo URL of the subcategory
|
|
287
|
+
position:
|
|
288
|
+
type: number
|
|
289
|
+
description: Position of the subcategory
|
|
290
|
+
company_namespace:
|
|
291
|
+
type: array
|
|
292
|
+
items:
|
|
293
|
+
type: string
|
|
294
|
+
description: Company namespaces
|
|
295
|
+
integration_meta:
|
|
296
|
+
type: object
|
|
297
|
+
additionalProperties: true
|
|
298
|
+
description: Integration metadata
|
|
299
|
+
SubCategoryCreateResult:
|
|
300
|
+
$ref: "#/components/schemas/SubCategorySchema"
|
|
301
|
+
description: Result of creating a subcategory
|
|
302
|
+
SubCategoryGetResult:
|
|
303
|
+
$ref: "#/components/schemas/SubCategorySchema"
|
|
304
|
+
description: Result of getting a subcategory
|
|
305
|
+
SubCategoryUpdateBody:
|
|
306
|
+
type: object
|
|
307
|
+
description: Body for updating a subcategory
|
|
308
|
+
properties:
|
|
309
|
+
name:
|
|
310
|
+
type: string
|
|
311
|
+
description: Name of the subcategory
|
|
312
|
+
parent_id:
|
|
313
|
+
type: string
|
|
314
|
+
description: ID of the parent category
|
|
315
|
+
local_name:
|
|
316
|
+
type: string
|
|
317
|
+
description: Localized name of the subcategory
|
|
318
|
+
disabled:
|
|
319
|
+
type: boolean
|
|
320
|
+
description: Whether the subcategory is disabled
|
|
321
|
+
photo:
|
|
322
|
+
type: string
|
|
323
|
+
description: Photo URL of the subcategory
|
|
324
|
+
position:
|
|
325
|
+
type: number
|
|
326
|
+
description: Position of the subcategory
|
|
327
|
+
company_namespace:
|
|
328
|
+
type: array
|
|
329
|
+
items:
|
|
330
|
+
type: string
|
|
331
|
+
description: Company namespaces
|
|
332
|
+
integration_meta:
|
|
333
|
+
type: object
|
|
334
|
+
additionalProperties: true
|
|
335
|
+
description: Integration metadata
|
|
336
|
+
_id:
|
|
337
|
+
type: string
|
|
338
|
+
description: Unique identifier for the subcategory
|
|
339
|
+
createdAt:
|
|
340
|
+
type: string
|
|
341
|
+
format: date-time
|
|
342
|
+
description: Creation timestamp
|
|
343
|
+
updatedAt:
|
|
344
|
+
type: string
|
|
345
|
+
format: date-time
|
|
346
|
+
description: Last update timestamp
|
|
347
|
+
__v:
|
|
348
|
+
type: number
|
|
349
|
+
description: Version number
|
|
350
|
+
SubCategoryUpdateResult:
|
|
351
|
+
$ref: "#/components/schemas/SubCategorySchema"
|
|
352
|
+
description: Result of updating a subcategory
|
|
353
|
+
SubCategoryRemoveResult:
|
|
354
|
+
$ref: "#/components/schemas/SubCategorySchema"
|
|
355
|
+
description: Result of removing a subcategory
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
openapi: 3.0.3
|
|
2
|
+
info:
|
|
3
|
+
title: Repzo API - Supplier
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
description: OpenAPI specification for Repzo Supplier endpoints.
|
|
6
|
+
servers:
|
|
7
|
+
- url: https://sv.api.repzo.me
|
|
8
|
+
paths:
|
|
9
|
+
/supplier:
|
|
10
|
+
get:
|
|
11
|
+
summary: Find suppliers
|
|
12
|
+
operationId: findSuppliers
|
|
13
|
+
parameters:
|
|
14
|
+
- in: query
|
|
15
|
+
name: params
|
|
16
|
+
schema:
|
|
17
|
+
type: object
|
|
18
|
+
description: Query parameters for filtering suppliers
|
|
19
|
+
responses:
|
|
20
|
+
"200":
|
|
21
|
+
description: A list of suppliers
|
|
22
|
+
content:
|
|
23
|
+
application/json:
|
|
24
|
+
schema:
|
|
25
|
+
$ref: "#/components/schemas/SupplierFindResult"
|
|
26
|
+
post:
|
|
27
|
+
summary: Create a supplier
|
|
28
|
+
operationId: createSupplier
|
|
29
|
+
requestBody:
|
|
30
|
+
required: true
|
|
31
|
+
content:
|
|
32
|
+
application/json:
|
|
33
|
+
schema:
|
|
34
|
+
$ref: "#/components/schemas/SupplierCreateBody"
|
|
35
|
+
responses:
|
|
36
|
+
"201":
|
|
37
|
+
description: Supplier created
|
|
38
|
+
content:
|
|
39
|
+
application/json:
|
|
40
|
+
schema:
|
|
41
|
+
$ref: "#/components/schemas/SupplierCreateResult"
|
|
42
|
+
/supplier/{id}:
|
|
43
|
+
get:
|
|
44
|
+
summary: Get a supplier by ID
|
|
45
|
+
operationId: getSupplier
|
|
46
|
+
parameters:
|
|
47
|
+
- in: path
|
|
48
|
+
name: id
|
|
49
|
+
required: true
|
|
50
|
+
schema:
|
|
51
|
+
type: string
|
|
52
|
+
responses:
|
|
53
|
+
"200":
|
|
54
|
+
description: Supplier details
|
|
55
|
+
content:
|
|
56
|
+
application/json:
|
|
57
|
+
schema:
|
|
58
|
+
$ref: "#/components/schemas/SupplierGetResult"
|
|
59
|
+
put:
|
|
60
|
+
summary: Update a supplier
|
|
61
|
+
operationId: updateSupplier
|
|
62
|
+
parameters:
|
|
63
|
+
- in: path
|
|
64
|
+
name: id
|
|
65
|
+
required: true
|
|
66
|
+
schema:
|
|
67
|
+
type: string
|
|
68
|
+
requestBody:
|
|
69
|
+
required: true
|
|
70
|
+
content:
|
|
71
|
+
application/json:
|
|
72
|
+
schema:
|
|
73
|
+
$ref: "#/components/schemas/SupplierUpdateBody"
|
|
74
|
+
responses:
|
|
75
|
+
"200":
|
|
76
|
+
description: Supplier updated
|
|
77
|
+
content:
|
|
78
|
+
application/json:
|
|
79
|
+
schema:
|
|
80
|
+
$ref: "#/components/schemas/SupplierUpdateResult"
|
|
81
|
+
delete:
|
|
82
|
+
summary: Remove a supplier
|
|
83
|
+
operationId: removeSupplier
|
|
84
|
+
parameters:
|
|
85
|
+
- in: path
|
|
86
|
+
name: id
|
|
87
|
+
required: true
|
|
88
|
+
schema:
|
|
89
|
+
type: string
|
|
90
|
+
responses:
|
|
91
|
+
"200":
|
|
92
|
+
description: Supplier removed
|
|
93
|
+
content:
|
|
94
|
+
application/json:
|
|
95
|
+
schema:
|
|
96
|
+
$ref: "#/components/schemas/SupplierRemoveResult"
|
|
97
|
+
components:
|
|
98
|
+
schemas:
|
|
99
|
+
SupplierFindResult:
|
|
100
|
+
type: object
|
|
101
|
+
properties:
|
|
102
|
+
data:
|
|
103
|
+
type: array
|
|
104
|
+
items:
|
|
105
|
+
$ref: "#/components/schemas/Supplier"
|
|
106
|
+
meta:
|
|
107
|
+
type: object
|
|
108
|
+
SupplierCreateBody:
|
|
109
|
+
type: object
|
|
110
|
+
properties:
|
|
111
|
+
name:
|
|
112
|
+
type: string
|
|
113
|
+
email:
|
|
114
|
+
type: string
|
|
115
|
+
format: email
|
|
116
|
+
phone:
|
|
117
|
+
type: string
|
|
118
|
+
address:
|
|
119
|
+
type: object
|
|
120
|
+
integration_meta:
|
|
121
|
+
type: object
|
|
122
|
+
disabled:
|
|
123
|
+
type: boolean
|
|
124
|
+
SupplierCreateResult:
|
|
125
|
+
type: object
|
|
126
|
+
properties:
|
|
127
|
+
data:
|
|
128
|
+
$ref: "#/components/schemas/Supplier"
|
|
129
|
+
SupplierGetResult:
|
|
130
|
+
type: object
|
|
131
|
+
properties:
|
|
132
|
+
data:
|
|
133
|
+
$ref: "#/components/schemas/Supplier"
|
|
134
|
+
SupplierUpdateBody:
|
|
135
|
+
type: object
|
|
136
|
+
properties:
|
|
137
|
+
name:
|
|
138
|
+
type: string
|
|
139
|
+
email:
|
|
140
|
+
type: string
|
|
141
|
+
format: email
|
|
142
|
+
phone:
|
|
143
|
+
type: string
|
|
144
|
+
address:
|
|
145
|
+
type: object
|
|
146
|
+
integration_meta:
|
|
147
|
+
type: object
|
|
148
|
+
disabled:
|
|
149
|
+
type: boolean
|
|
150
|
+
SupplierUpdateResult:
|
|
151
|
+
type: object
|
|
152
|
+
properties:
|
|
153
|
+
data:
|
|
154
|
+
$ref: "#/components/schemas/Supplier"
|
|
155
|
+
SupplierRemoveResult:
|
|
156
|
+
type: object
|
|
157
|
+
properties:
|
|
158
|
+
success:
|
|
159
|
+
type: boolean
|
|
160
|
+
Supplier:
|
|
161
|
+
type: object
|
|
162
|
+
properties:
|
|
163
|
+
_id:
|
|
164
|
+
type: string
|
|
165
|
+
name:
|
|
166
|
+
type: string
|
|
167
|
+
email:
|
|
168
|
+
type: string
|
|
169
|
+
format: email
|
|
170
|
+
phone:
|
|
171
|
+
type: string
|
|
172
|
+
address:
|
|
173
|
+
type: object
|
|
174
|
+
integration_meta:
|
|
175
|
+
type: object
|
|
176
|
+
disabled:
|
|
177
|
+
type: boolean
|
|
178
|
+
createdAt:
|
|
179
|
+
type: string
|
|
180
|
+
format: date-time
|
|
181
|
+
updatedAt:
|
|
182
|
+
type: string
|
|
183
|
+
format: date-time
|