repzo 1.0.155 → 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/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
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
openapi: 3.0.3
|
|
2
|
+
info:
|
|
3
|
+
title: Repzo API - Storecheck Template
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
description: OpenAPI specification for Repzo Storecheck Template endpoints.
|
|
6
|
+
servers:
|
|
7
|
+
- url: https://sv.api.repzo.me
|
|
8
|
+
paths:
|
|
9
|
+
/storecheck-template:
|
|
10
|
+
get:
|
|
11
|
+
summary: Find storecheck templates
|
|
12
|
+
operationId: findStorecheckTemplates
|
|
13
|
+
parameters:
|
|
14
|
+
- in: query
|
|
15
|
+
name: params
|
|
16
|
+
schema:
|
|
17
|
+
type: object
|
|
18
|
+
properties:
|
|
19
|
+
_id:
|
|
20
|
+
oneOf:
|
|
21
|
+
- type: array
|
|
22
|
+
items:
|
|
23
|
+
type: string
|
|
24
|
+
- type: string
|
|
25
|
+
search:
|
|
26
|
+
type: string
|
|
27
|
+
name:
|
|
28
|
+
type: string
|
|
29
|
+
category:
|
|
30
|
+
type: string
|
|
31
|
+
disabled:
|
|
32
|
+
type: boolean
|
|
33
|
+
from_updatedAt:
|
|
34
|
+
type: number
|
|
35
|
+
from__id:
|
|
36
|
+
type: string
|
|
37
|
+
to__id:
|
|
38
|
+
type: string
|
|
39
|
+
sortBy:
|
|
40
|
+
type: array
|
|
41
|
+
items:
|
|
42
|
+
type: object
|
|
43
|
+
properties:
|
|
44
|
+
field:
|
|
45
|
+
type: string
|
|
46
|
+
enum: [_id, createdAt, updatedAt, name]
|
|
47
|
+
type:
|
|
48
|
+
type: string
|
|
49
|
+
enum: [asc, desc]
|
|
50
|
+
description: Query parameters for filtering storecheck templates
|
|
51
|
+
responses:
|
|
52
|
+
"200":
|
|
53
|
+
description: A list of storecheck templates
|
|
54
|
+
content:
|
|
55
|
+
application/json:
|
|
56
|
+
schema:
|
|
57
|
+
$ref: "#/components/schemas/StorecheckTemplateFindResult"
|
|
58
|
+
post:
|
|
59
|
+
summary: Create a storecheck template
|
|
60
|
+
operationId: createStorecheckTemplate
|
|
61
|
+
requestBody:
|
|
62
|
+
required: true
|
|
63
|
+
content:
|
|
64
|
+
application/json:
|
|
65
|
+
schema:
|
|
66
|
+
$ref: "#/components/schemas/StorecheckTemplateCreateBody"
|
|
67
|
+
responses:
|
|
68
|
+
"201":
|
|
69
|
+
description: Storecheck template created
|
|
70
|
+
content:
|
|
71
|
+
application/json:
|
|
72
|
+
schema:
|
|
73
|
+
$ref: "#/components/schemas/StorecheckTemplateCreateResult"
|
|
74
|
+
/storecheck-template/{id}:
|
|
75
|
+
get:
|
|
76
|
+
summary: Get a storecheck template by ID
|
|
77
|
+
operationId: getStorecheckTemplate
|
|
78
|
+
parameters:
|
|
79
|
+
- in: path
|
|
80
|
+
name: id
|
|
81
|
+
required: true
|
|
82
|
+
schema:
|
|
83
|
+
type: string
|
|
84
|
+
responses:
|
|
85
|
+
"200":
|
|
86
|
+
description: Storecheck template details
|
|
87
|
+
content:
|
|
88
|
+
application/json:
|
|
89
|
+
schema:
|
|
90
|
+
$ref: "#/components/schemas/StorecheckTemplateGetResult"
|
|
91
|
+
put:
|
|
92
|
+
summary: Update a storecheck template
|
|
93
|
+
operationId: updateStorecheckTemplate
|
|
94
|
+
parameters:
|
|
95
|
+
- in: path
|
|
96
|
+
name: id
|
|
97
|
+
required: true
|
|
98
|
+
schema:
|
|
99
|
+
type: string
|
|
100
|
+
requestBody:
|
|
101
|
+
required: true
|
|
102
|
+
content:
|
|
103
|
+
application/json:
|
|
104
|
+
schema:
|
|
105
|
+
$ref: "#/components/schemas/StorecheckTemplateUpdateBody"
|
|
106
|
+
responses:
|
|
107
|
+
"200":
|
|
108
|
+
description: Storecheck template updated
|
|
109
|
+
content:
|
|
110
|
+
application/json:
|
|
111
|
+
schema:
|
|
112
|
+
$ref: "#/components/schemas/StorecheckTemplateUpdateResult"
|
|
113
|
+
delete:
|
|
114
|
+
summary: Remove a storecheck template
|
|
115
|
+
operationId: removeStorecheckTemplate
|
|
116
|
+
parameters:
|
|
117
|
+
- in: path
|
|
118
|
+
name: id
|
|
119
|
+
required: true
|
|
120
|
+
schema:
|
|
121
|
+
type: string
|
|
122
|
+
responses:
|
|
123
|
+
"200":
|
|
124
|
+
description: Storecheck template removed
|
|
125
|
+
content:
|
|
126
|
+
application/json:
|
|
127
|
+
schema:
|
|
128
|
+
$ref: "#/components/schemas/StorecheckTemplateRemoveResult"
|
|
129
|
+
components:
|
|
130
|
+
schemas:
|
|
131
|
+
StorecheckTemplateFindResult:
|
|
132
|
+
type: object
|
|
133
|
+
description: Result of finding storecheck templates
|
|
134
|
+
properties:
|
|
135
|
+
data:
|
|
136
|
+
type: array
|
|
137
|
+
items:
|
|
138
|
+
$ref: "#/components/schemas/StorecheckTemplateSchema"
|
|
139
|
+
total_result:
|
|
140
|
+
type: number
|
|
141
|
+
description: Total number of storecheck templates
|
|
142
|
+
current_count:
|
|
143
|
+
type: number
|
|
144
|
+
description: Count of storecheck templates in current page
|
|
145
|
+
total_pages:
|
|
146
|
+
type: number
|
|
147
|
+
description: Total number of pages
|
|
148
|
+
current_page:
|
|
149
|
+
type: number
|
|
150
|
+
description: Current page number
|
|
151
|
+
per_page:
|
|
152
|
+
type: number
|
|
153
|
+
description: Number of storecheck templates per page
|
|
154
|
+
StorecheckTemplateSchema:
|
|
155
|
+
type: object
|
|
156
|
+
description: Storecheck template schema
|
|
157
|
+
properties:
|
|
158
|
+
_id:
|
|
159
|
+
type: string
|
|
160
|
+
description: Unique identifier for the storecheck template
|
|
161
|
+
name:
|
|
162
|
+
type: string
|
|
163
|
+
description: Name of the storecheck template
|
|
164
|
+
description:
|
|
165
|
+
type: string
|
|
166
|
+
description: Description of the template
|
|
167
|
+
category:
|
|
168
|
+
type: string
|
|
169
|
+
description: Category of the storecheck
|
|
170
|
+
sections:
|
|
171
|
+
type: array
|
|
172
|
+
items:
|
|
173
|
+
type: object
|
|
174
|
+
properties:
|
|
175
|
+
title:
|
|
176
|
+
type: string
|
|
177
|
+
description: Section title
|
|
178
|
+
questions:
|
|
179
|
+
type: array
|
|
180
|
+
items:
|
|
181
|
+
type: object
|
|
182
|
+
properties:
|
|
183
|
+
id:
|
|
184
|
+
type: string
|
|
185
|
+
description: Question ID
|
|
186
|
+
text:
|
|
187
|
+
type: string
|
|
188
|
+
description: Question text
|
|
189
|
+
type:
|
|
190
|
+
type: string
|
|
191
|
+
enum:
|
|
192
|
+
[
|
|
193
|
+
text,
|
|
194
|
+
number,
|
|
195
|
+
boolean,
|
|
196
|
+
multiple_choice,
|
|
197
|
+
photo,
|
|
198
|
+
signature,
|
|
199
|
+
]
|
|
200
|
+
description: Question type
|
|
201
|
+
required:
|
|
202
|
+
type: boolean
|
|
203
|
+
description: Whether question is required
|
|
204
|
+
options:
|
|
205
|
+
type: array
|
|
206
|
+
items:
|
|
207
|
+
type: string
|
|
208
|
+
description: Options for multiple choice questions
|
|
209
|
+
description: Questions in this section
|
|
210
|
+
description: Template sections and questions
|
|
211
|
+
targets:
|
|
212
|
+
type: array
|
|
213
|
+
items:
|
|
214
|
+
type: string
|
|
215
|
+
description: Target entities (clients, routes, etc.)
|
|
216
|
+
frequency:
|
|
217
|
+
type: string
|
|
218
|
+
enum: [daily, weekly, monthly, quarterly, yearly, custom]
|
|
219
|
+
description: Frequency of storecheck execution
|
|
220
|
+
validFrom:
|
|
221
|
+
type: string
|
|
222
|
+
format: date-time
|
|
223
|
+
description: Start date of template validity
|
|
224
|
+
validTo:
|
|
225
|
+
type: string
|
|
226
|
+
format: date-time
|
|
227
|
+
description: End date of template validity
|
|
228
|
+
disabled:
|
|
229
|
+
type: boolean
|
|
230
|
+
description: Whether the template is disabled
|
|
231
|
+
integration_meta:
|
|
232
|
+
type: object
|
|
233
|
+
additionalProperties: true
|
|
234
|
+
description: Integration metadata
|
|
235
|
+
company_namespace:
|
|
236
|
+
type: array
|
|
237
|
+
items:
|
|
238
|
+
type: string
|
|
239
|
+
description: Company namespaces
|
|
240
|
+
createdAt:
|
|
241
|
+
type: string
|
|
242
|
+
format: date-time
|
|
243
|
+
description: Creation timestamp
|
|
244
|
+
updatedAt:
|
|
245
|
+
type: string
|
|
246
|
+
format: date-time
|
|
247
|
+
description: Last update timestamp
|
|
248
|
+
__v:
|
|
249
|
+
type: number
|
|
250
|
+
description: Version number
|
|
251
|
+
StorecheckTemplateCreateBody:
|
|
252
|
+
type: object
|
|
253
|
+
description: Body for creating a storecheck template
|
|
254
|
+
required:
|
|
255
|
+
- name
|
|
256
|
+
- sections
|
|
257
|
+
properties:
|
|
258
|
+
name:
|
|
259
|
+
type: string
|
|
260
|
+
description: Name of the storecheck template
|
|
261
|
+
description:
|
|
262
|
+
type: string
|
|
263
|
+
description: Description of the template
|
|
264
|
+
category:
|
|
265
|
+
type: string
|
|
266
|
+
description: Category of the storecheck
|
|
267
|
+
sections:
|
|
268
|
+
type: array
|
|
269
|
+
items:
|
|
270
|
+
type: object
|
|
271
|
+
properties:
|
|
272
|
+
title:
|
|
273
|
+
type: string
|
|
274
|
+
description: Section title
|
|
275
|
+
questions:
|
|
276
|
+
type: array
|
|
277
|
+
items:
|
|
278
|
+
type: object
|
|
279
|
+
properties:
|
|
280
|
+
text:
|
|
281
|
+
type: string
|
|
282
|
+
description: Question text
|
|
283
|
+
type:
|
|
284
|
+
type: string
|
|
285
|
+
enum:
|
|
286
|
+
[
|
|
287
|
+
text,
|
|
288
|
+
number,
|
|
289
|
+
boolean,
|
|
290
|
+
multiple_choice,
|
|
291
|
+
photo,
|
|
292
|
+
signature,
|
|
293
|
+
]
|
|
294
|
+
description: Question type
|
|
295
|
+
required:
|
|
296
|
+
type: boolean
|
|
297
|
+
description: Whether question is required
|
|
298
|
+
options:
|
|
299
|
+
type: array
|
|
300
|
+
items:
|
|
301
|
+
type: string
|
|
302
|
+
description: Options for multiple choice questions
|
|
303
|
+
description: Questions in this section
|
|
304
|
+
description: Template sections and questions
|
|
305
|
+
targets:
|
|
306
|
+
type: array
|
|
307
|
+
items:
|
|
308
|
+
type: string
|
|
309
|
+
description: Target entities (clients, routes, etc.)
|
|
310
|
+
frequency:
|
|
311
|
+
type: string
|
|
312
|
+
enum: [daily, weekly, monthly, quarterly, yearly, custom]
|
|
313
|
+
description: Frequency of storecheck execution
|
|
314
|
+
validFrom:
|
|
315
|
+
type: string
|
|
316
|
+
format: date-time
|
|
317
|
+
description: Start date of template validity
|
|
318
|
+
validTo:
|
|
319
|
+
type: string
|
|
320
|
+
format: date-time
|
|
321
|
+
description: End date of template validity
|
|
322
|
+
integration_meta:
|
|
323
|
+
type: object
|
|
324
|
+
additionalProperties: true
|
|
325
|
+
description: Integration metadata
|
|
326
|
+
StorecheckTemplateCreateResult:
|
|
327
|
+
$ref: "#/components/schemas/StorecheckTemplateSchema"
|
|
328
|
+
description: Result of creating a storecheck template
|
|
329
|
+
StorecheckTemplateGetResult:
|
|
330
|
+
$ref: "#/components/schemas/StorecheckTemplateSchema"
|
|
331
|
+
description: Result of getting a storecheck template
|
|
332
|
+
StorecheckTemplateUpdateBody:
|
|
333
|
+
type: object
|
|
334
|
+
description: Body for updating a storecheck template
|
|
335
|
+
properties:
|
|
336
|
+
name:
|
|
337
|
+
type: string
|
|
338
|
+
description: Name of the storecheck template
|
|
339
|
+
description:
|
|
340
|
+
type: string
|
|
341
|
+
description: Description of the template
|
|
342
|
+
category:
|
|
343
|
+
type: string
|
|
344
|
+
description: Category of the storecheck
|
|
345
|
+
sections:
|
|
346
|
+
type: array
|
|
347
|
+
items:
|
|
348
|
+
type: object
|
|
349
|
+
properties:
|
|
350
|
+
title:
|
|
351
|
+
type: string
|
|
352
|
+
description: Section title
|
|
353
|
+
questions:
|
|
354
|
+
type: array
|
|
355
|
+
items:
|
|
356
|
+
type: object
|
|
357
|
+
properties:
|
|
358
|
+
id:
|
|
359
|
+
type: string
|
|
360
|
+
description: Question ID
|
|
361
|
+
text:
|
|
362
|
+
type: string
|
|
363
|
+
description: Question text
|
|
364
|
+
type:
|
|
365
|
+
type: string
|
|
366
|
+
enum:
|
|
367
|
+
[
|
|
368
|
+
text,
|
|
369
|
+
number,
|
|
370
|
+
boolean,
|
|
371
|
+
multiple_choice,
|
|
372
|
+
photo,
|
|
373
|
+
signature,
|
|
374
|
+
]
|
|
375
|
+
description: Question type
|
|
376
|
+
required:
|
|
377
|
+
type: boolean
|
|
378
|
+
description: Whether question is required
|
|
379
|
+
options:
|
|
380
|
+
type: array
|
|
381
|
+
items:
|
|
382
|
+
type: string
|
|
383
|
+
description: Options for multiple choice questions
|
|
384
|
+
description: Questions in this section
|
|
385
|
+
description: Template sections and questions
|
|
386
|
+
targets:
|
|
387
|
+
type: array
|
|
388
|
+
items:
|
|
389
|
+
type: string
|
|
390
|
+
description: Target entities (clients, routes, etc.)
|
|
391
|
+
frequency:
|
|
392
|
+
type: string
|
|
393
|
+
enum: [daily, weekly, monthly, quarterly, yearly, custom]
|
|
394
|
+
description: Frequency of storecheck execution
|
|
395
|
+
validFrom:
|
|
396
|
+
type: string
|
|
397
|
+
format: date-time
|
|
398
|
+
description: Start date of template validity
|
|
399
|
+
validTo:
|
|
400
|
+
type: string
|
|
401
|
+
format: date-time
|
|
402
|
+
description: End date of template validity
|
|
403
|
+
disabled:
|
|
404
|
+
type: boolean
|
|
405
|
+
description: Whether the template is disabled
|
|
406
|
+
integration_meta:
|
|
407
|
+
type: object
|
|
408
|
+
additionalProperties: true
|
|
409
|
+
description: Integration metadata
|
|
410
|
+
StorecheckTemplateUpdateResult:
|
|
411
|
+
$ref: "#/components/schemas/StorecheckTemplateSchema"
|
|
412
|
+
description: Result of updating a storecheck template
|
|
413
|
+
StorecheckTemplateRemoveResult:
|
|
414
|
+
$ref: "#/components/schemas/StorecheckTemplateSchema"
|
|
415
|
+
description: Result of removing a storecheck template
|