repzo 1.0.155 → 1.0.157
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 +1 -2
- package/lib/index.js +1 -1
- package/lib/types/index.d.ts +2 -2
- 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 +2 -1
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
openapi: 3.0.0
|
|
2
|
+
info:
|
|
3
|
+
title: Update Integration Meta API
|
|
4
|
+
description: API for managing integration metadata updates
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
contact:
|
|
7
|
+
name: Repzo
|
|
8
|
+
url: https://repzo.com
|
|
9
|
+
|
|
10
|
+
servers:
|
|
11
|
+
- url: https://sv.api.repzo.me
|
|
12
|
+
description: Production server
|
|
13
|
+
- url: https://staging.sv.api.repzo.me
|
|
14
|
+
description: Staging server
|
|
15
|
+
|
|
16
|
+
tags:
|
|
17
|
+
- name: Update Integration Meta
|
|
18
|
+
description: Operations related to updating integration metadata
|
|
19
|
+
|
|
20
|
+
paths:
|
|
21
|
+
/update-integration-meta:
|
|
22
|
+
get:
|
|
23
|
+
tags:
|
|
24
|
+
- Update Integration Meta
|
|
25
|
+
summary: Get all integration meta update records
|
|
26
|
+
description: Retrieve a list of all integration metadata update records with optional filtering and pagination
|
|
27
|
+
parameters:
|
|
28
|
+
- name: limit
|
|
29
|
+
in: query
|
|
30
|
+
description: Maximum number of records to return
|
|
31
|
+
required: false
|
|
32
|
+
schema:
|
|
33
|
+
type: integer
|
|
34
|
+
minimum: 1
|
|
35
|
+
maximum: 100
|
|
36
|
+
default: 50
|
|
37
|
+
- name: offset
|
|
38
|
+
in: query
|
|
39
|
+
description: Number of records to skip for pagination
|
|
40
|
+
required: false
|
|
41
|
+
schema:
|
|
42
|
+
type: integer
|
|
43
|
+
minimum: 0
|
|
44
|
+
default: 0
|
|
45
|
+
- name: sort
|
|
46
|
+
in: query
|
|
47
|
+
description: Field to sort by
|
|
48
|
+
required: false
|
|
49
|
+
schema:
|
|
50
|
+
type: string
|
|
51
|
+
- name: order
|
|
52
|
+
in: query
|
|
53
|
+
description: Sort order (asc or desc)
|
|
54
|
+
required: false
|
|
55
|
+
schema:
|
|
56
|
+
type: string
|
|
57
|
+
enum: [asc, desc]
|
|
58
|
+
default: desc
|
|
59
|
+
- name: filter
|
|
60
|
+
in: query
|
|
61
|
+
description: Filter conditions in JSON format
|
|
62
|
+
required: false
|
|
63
|
+
schema:
|
|
64
|
+
type: string
|
|
65
|
+
- name: search
|
|
66
|
+
in: query
|
|
67
|
+
description: Search term for text fields
|
|
68
|
+
required: false
|
|
69
|
+
schema:
|
|
70
|
+
type: string
|
|
71
|
+
responses:
|
|
72
|
+
"200":
|
|
73
|
+
description: List of integration meta update records retrieved successfully
|
|
74
|
+
content:
|
|
75
|
+
application/json:
|
|
76
|
+
schema:
|
|
77
|
+
type: object
|
|
78
|
+
properties:
|
|
79
|
+
success:
|
|
80
|
+
type: boolean
|
|
81
|
+
example: true
|
|
82
|
+
data:
|
|
83
|
+
type: array
|
|
84
|
+
items:
|
|
85
|
+
$ref: "#/components/schemas/UpdateIntegrationMeta"
|
|
86
|
+
total:
|
|
87
|
+
type: integer
|
|
88
|
+
description: Total number of records
|
|
89
|
+
"400":
|
|
90
|
+
description: Bad request
|
|
91
|
+
"401":
|
|
92
|
+
description: Unauthorized
|
|
93
|
+
"500":
|
|
94
|
+
description: Internal server error
|
|
95
|
+
post:
|
|
96
|
+
tags:
|
|
97
|
+
- Update Integration Meta
|
|
98
|
+
summary: Create a new integration meta update
|
|
99
|
+
description: Create a new integration metadata update with the provided data
|
|
100
|
+
requestBody:
|
|
101
|
+
required: true
|
|
102
|
+
content:
|
|
103
|
+
application/json:
|
|
104
|
+
schema:
|
|
105
|
+
$ref: "#/components/schemas/UpdateIntegrationMetaInput"
|
|
106
|
+
responses:
|
|
107
|
+
"201":
|
|
108
|
+
description: Integration meta update created successfully
|
|
109
|
+
content:
|
|
110
|
+
application/json:
|
|
111
|
+
schema:
|
|
112
|
+
type: object
|
|
113
|
+
properties:
|
|
114
|
+
success:
|
|
115
|
+
type: boolean
|
|
116
|
+
example: true
|
|
117
|
+
data:
|
|
118
|
+
$ref: "#/components/schemas/UpdateIntegrationMeta"
|
|
119
|
+
"400":
|
|
120
|
+
description: Bad request
|
|
121
|
+
"401":
|
|
122
|
+
description: Unauthorized
|
|
123
|
+
"500":
|
|
124
|
+
description: Internal server error
|
|
125
|
+
|
|
126
|
+
/update-integration-meta/{id}:
|
|
127
|
+
get:
|
|
128
|
+
tags:
|
|
129
|
+
- Update Integration Meta
|
|
130
|
+
summary: Get integration meta update by ID
|
|
131
|
+
description: Retrieve a specific integration metadata update by its ID
|
|
132
|
+
parameters:
|
|
133
|
+
- name: id
|
|
134
|
+
in: path
|
|
135
|
+
required: true
|
|
136
|
+
description: Integration meta update ID
|
|
137
|
+
schema:
|
|
138
|
+
type: string
|
|
139
|
+
responses:
|
|
140
|
+
"200":
|
|
141
|
+
description: Integration meta update retrieved successfully
|
|
142
|
+
content:
|
|
143
|
+
application/json:
|
|
144
|
+
schema:
|
|
145
|
+
type: object
|
|
146
|
+
properties:
|
|
147
|
+
success:
|
|
148
|
+
type: boolean
|
|
149
|
+
example: true
|
|
150
|
+
data:
|
|
151
|
+
$ref: "#/components/schemas/UpdateIntegrationMeta"
|
|
152
|
+
"404":
|
|
153
|
+
description: Integration meta update not found
|
|
154
|
+
"401":
|
|
155
|
+
description: Unauthorized
|
|
156
|
+
"500":
|
|
157
|
+
description: Internal server error
|
|
158
|
+
put:
|
|
159
|
+
tags:
|
|
160
|
+
- Update Integration Meta
|
|
161
|
+
summary: Update integration meta update
|
|
162
|
+
description: Update an existing integration metadata update with new data
|
|
163
|
+
parameters:
|
|
164
|
+
- name: id
|
|
165
|
+
in: path
|
|
166
|
+
required: true
|
|
167
|
+
description: Integration meta update ID
|
|
168
|
+
schema:
|
|
169
|
+
type: string
|
|
170
|
+
requestBody:
|
|
171
|
+
required: true
|
|
172
|
+
content:
|
|
173
|
+
application/json:
|
|
174
|
+
schema:
|
|
175
|
+
$ref: "#/components/schemas/UpdateIntegrationMetaInput"
|
|
176
|
+
responses:
|
|
177
|
+
"200":
|
|
178
|
+
description: Integration meta update updated successfully
|
|
179
|
+
content:
|
|
180
|
+
application/json:
|
|
181
|
+
schema:
|
|
182
|
+
type: object
|
|
183
|
+
properties:
|
|
184
|
+
success:
|
|
185
|
+
type: boolean
|
|
186
|
+
example: true
|
|
187
|
+
data:
|
|
188
|
+
$ref: "#/components/schemas/UpdateIntegrationMeta"
|
|
189
|
+
"400":
|
|
190
|
+
description: Bad request
|
|
191
|
+
"404":
|
|
192
|
+
description: Integration meta update not found
|
|
193
|
+
"401":
|
|
194
|
+
description: Unauthorized
|
|
195
|
+
"500":
|
|
196
|
+
description: Internal server error
|
|
197
|
+
delete:
|
|
198
|
+
tags:
|
|
199
|
+
- Update Integration Meta
|
|
200
|
+
summary: Delete integration meta update
|
|
201
|
+
description: Delete an existing integration metadata update
|
|
202
|
+
parameters:
|
|
203
|
+
- name: id
|
|
204
|
+
in: path
|
|
205
|
+
required: true
|
|
206
|
+
description: Integration meta update ID
|
|
207
|
+
schema:
|
|
208
|
+
type: string
|
|
209
|
+
responses:
|
|
210
|
+
"200":
|
|
211
|
+
description: Integration meta update deleted successfully
|
|
212
|
+
content:
|
|
213
|
+
application/json:
|
|
214
|
+
schema:
|
|
215
|
+
type: object
|
|
216
|
+
properties:
|
|
217
|
+
success:
|
|
218
|
+
type: boolean
|
|
219
|
+
example: true
|
|
220
|
+
message:
|
|
221
|
+
type: string
|
|
222
|
+
example: Integration meta update deleted successfully
|
|
223
|
+
"404":
|
|
224
|
+
description: Integration meta update not found
|
|
225
|
+
"401":
|
|
226
|
+
description: Unauthorized
|
|
227
|
+
"500":
|
|
228
|
+
description: Internal server error
|
|
229
|
+
|
|
230
|
+
/update-integration-meta/apply/{id}:
|
|
231
|
+
post:
|
|
232
|
+
tags:
|
|
233
|
+
- Update Integration Meta
|
|
234
|
+
summary: Apply integration meta update
|
|
235
|
+
description: Apply a specific integration metadata update
|
|
236
|
+
parameters:
|
|
237
|
+
- name: id
|
|
238
|
+
in: path
|
|
239
|
+
required: true
|
|
240
|
+
description: Integration meta update ID
|
|
241
|
+
schema:
|
|
242
|
+
type: string
|
|
243
|
+
responses:
|
|
244
|
+
"200":
|
|
245
|
+
description: Integration meta update applied successfully
|
|
246
|
+
content:
|
|
247
|
+
application/json:
|
|
248
|
+
schema:
|
|
249
|
+
type: object
|
|
250
|
+
properties:
|
|
251
|
+
success:
|
|
252
|
+
type: boolean
|
|
253
|
+
example: true
|
|
254
|
+
data:
|
|
255
|
+
type: object
|
|
256
|
+
properties:
|
|
257
|
+
appliedAt:
|
|
258
|
+
type: string
|
|
259
|
+
format: date-time
|
|
260
|
+
affectedIntegrations:
|
|
261
|
+
type: integer
|
|
262
|
+
"404":
|
|
263
|
+
description: Integration meta update not found
|
|
264
|
+
"401":
|
|
265
|
+
description: Unauthorized
|
|
266
|
+
"500":
|
|
267
|
+
description: Internal server error
|
|
268
|
+
|
|
269
|
+
components:
|
|
270
|
+
schemas:
|
|
271
|
+
UpdateIntegrationMeta:
|
|
272
|
+
type: object
|
|
273
|
+
properties:
|
|
274
|
+
_id:
|
|
275
|
+
type: string
|
|
276
|
+
description: Unique identifier for the integration meta update
|
|
277
|
+
example: "60f7b1b3e4b0e8b3f8b3f8b3"
|
|
278
|
+
name:
|
|
279
|
+
type: string
|
|
280
|
+
description: Name of the meta update
|
|
281
|
+
example: "Update API Version"
|
|
282
|
+
description:
|
|
283
|
+
type: string
|
|
284
|
+
description: Description of the meta update
|
|
285
|
+
targetIntegrations:
|
|
286
|
+
type: array
|
|
287
|
+
items:
|
|
288
|
+
type: string
|
|
289
|
+
description: List of integration IDs to update
|
|
290
|
+
metaUpdates:
|
|
291
|
+
type: object
|
|
292
|
+
additionalProperties: true
|
|
293
|
+
description: Metadata fields to update
|
|
294
|
+
example:
|
|
295
|
+
apiVersion: "v2.0"
|
|
296
|
+
timeout: 30000
|
|
297
|
+
retryCount: 3
|
|
298
|
+
conditions:
|
|
299
|
+
type: object
|
|
300
|
+
additionalProperties: true
|
|
301
|
+
description: Conditions for applying the update
|
|
302
|
+
status:
|
|
303
|
+
type: string
|
|
304
|
+
enum: [draft, ready, applied, failed, cancelled]
|
|
305
|
+
default: draft
|
|
306
|
+
description: Status of the meta update
|
|
307
|
+
appliedAt:
|
|
308
|
+
type: string
|
|
309
|
+
format: date-time
|
|
310
|
+
description: When the update was applied
|
|
311
|
+
appliedBy:
|
|
312
|
+
type: string
|
|
313
|
+
description: User who applied the update
|
|
314
|
+
affectedCount:
|
|
315
|
+
type: integer
|
|
316
|
+
minimum: 0
|
|
317
|
+
description: Number of integrations affected
|
|
318
|
+
rollbackData:
|
|
319
|
+
type: object
|
|
320
|
+
additionalProperties: true
|
|
321
|
+
description: Data needed for rollback
|
|
322
|
+
metadata:
|
|
323
|
+
type: object
|
|
324
|
+
additionalProperties: true
|
|
325
|
+
description: Additional metadata
|
|
326
|
+
createdAt:
|
|
327
|
+
type: string
|
|
328
|
+
format: date-time
|
|
329
|
+
description: Record creation timestamp
|
|
330
|
+
example: "2023-01-15T08:00:00Z"
|
|
331
|
+
updatedAt:
|
|
332
|
+
type: string
|
|
333
|
+
format: date-time
|
|
334
|
+
description: Record last update timestamp
|
|
335
|
+
example: "2023-01-15T10:30:00Z"
|
|
336
|
+
required:
|
|
337
|
+
- name
|
|
338
|
+
- metaUpdates
|
|
339
|
+
|
|
340
|
+
UpdateIntegrationMetaInput:
|
|
341
|
+
type: object
|
|
342
|
+
properties:
|
|
343
|
+
name:
|
|
344
|
+
type: string
|
|
345
|
+
description: Name of the meta update
|
|
346
|
+
example: "Update API Version"
|
|
347
|
+
description:
|
|
348
|
+
type: string
|
|
349
|
+
description: Description of the meta update
|
|
350
|
+
targetIntegrations:
|
|
351
|
+
type: array
|
|
352
|
+
items:
|
|
353
|
+
type: string
|
|
354
|
+
description: List of integration IDs to update
|
|
355
|
+
metaUpdates:
|
|
356
|
+
type: object
|
|
357
|
+
additionalProperties: true
|
|
358
|
+
description: Metadata fields to update
|
|
359
|
+
example:
|
|
360
|
+
apiVersion: "v2.0"
|
|
361
|
+
timeout: 30000
|
|
362
|
+
retryCount: 3
|
|
363
|
+
conditions:
|
|
364
|
+
type: object
|
|
365
|
+
additionalProperties: true
|
|
366
|
+
description: Conditions for applying the update
|
|
367
|
+
status:
|
|
368
|
+
type: string
|
|
369
|
+
enum: [draft, ready, applied, failed, cancelled]
|
|
370
|
+
default: draft
|
|
371
|
+
description: Status of the meta update
|
|
372
|
+
metadata:
|
|
373
|
+
type: object
|
|
374
|
+
additionalProperties: true
|
|
375
|
+
description: Additional metadata
|
|
376
|
+
required:
|
|
377
|
+
- name
|
|
378
|
+
- metaUpdates
|
|
379
|
+
|
|
380
|
+
securitySchemes:
|
|
381
|
+
ApiKeyAuth:
|
|
382
|
+
type: apiKey
|
|
383
|
+
in: header
|
|
384
|
+
name: api-key
|
|
385
|
+
|
|
386
|
+
security:
|
|
387
|
+
- ApiKeyAuth: []
|