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,361 @@
|
|
|
1
|
+
openapi: 3.0.0
|
|
2
|
+
info:
|
|
3
|
+
title: Integration Action Log API
|
|
4
|
+
description: API for managing integration action logs
|
|
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: Integration Action Log
|
|
18
|
+
description: Operations related to integration action log management
|
|
19
|
+
|
|
20
|
+
paths:
|
|
21
|
+
/integration-action-log:
|
|
22
|
+
get:
|
|
23
|
+
tags:
|
|
24
|
+
- Integration Action Log
|
|
25
|
+
summary: Get all integration action log records
|
|
26
|
+
description: Retrieve a list of all integration action log 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 action log 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/IntegrationActionLog"
|
|
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
|
+
- Integration Action Log
|
|
98
|
+
summary: Create a new integration action log record
|
|
99
|
+
description: Create a new integration action log record with the provided data
|
|
100
|
+
requestBody:
|
|
101
|
+
required: true
|
|
102
|
+
content:
|
|
103
|
+
application/json:
|
|
104
|
+
schema:
|
|
105
|
+
$ref: "#/components/schemas/IntegrationActionLogInput"
|
|
106
|
+
responses:
|
|
107
|
+
"201":
|
|
108
|
+
description: Integration action log record 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/IntegrationActionLog"
|
|
119
|
+
"400":
|
|
120
|
+
description: Bad request
|
|
121
|
+
"401":
|
|
122
|
+
description: Unauthorized
|
|
123
|
+
"500":
|
|
124
|
+
description: Internal server error
|
|
125
|
+
|
|
126
|
+
/integration-action-log/{id}:
|
|
127
|
+
get:
|
|
128
|
+
tags:
|
|
129
|
+
- Integration Action Log
|
|
130
|
+
summary: Get integration action log record by ID
|
|
131
|
+
description: Retrieve a specific integration action log record by its ID
|
|
132
|
+
parameters:
|
|
133
|
+
- name: id
|
|
134
|
+
in: path
|
|
135
|
+
required: true
|
|
136
|
+
description: Integration action log record ID
|
|
137
|
+
schema:
|
|
138
|
+
type: string
|
|
139
|
+
responses:
|
|
140
|
+
"200":
|
|
141
|
+
description: Integration action log record 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/IntegrationActionLog"
|
|
152
|
+
"404":
|
|
153
|
+
description: Integration action log record not found
|
|
154
|
+
"401":
|
|
155
|
+
description: Unauthorized
|
|
156
|
+
"500":
|
|
157
|
+
description: Internal server error
|
|
158
|
+
put:
|
|
159
|
+
tags:
|
|
160
|
+
- Integration Action Log
|
|
161
|
+
summary: Update integration action log record
|
|
162
|
+
description: Update an existing integration action log record with new data
|
|
163
|
+
parameters:
|
|
164
|
+
- name: id
|
|
165
|
+
in: path
|
|
166
|
+
required: true
|
|
167
|
+
description: Integration action log record ID
|
|
168
|
+
schema:
|
|
169
|
+
type: string
|
|
170
|
+
requestBody:
|
|
171
|
+
required: true
|
|
172
|
+
content:
|
|
173
|
+
application/json:
|
|
174
|
+
schema:
|
|
175
|
+
$ref: "#/components/schemas/IntegrationActionLogInput"
|
|
176
|
+
responses:
|
|
177
|
+
"200":
|
|
178
|
+
description: Integration action log record 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/IntegrationActionLog"
|
|
189
|
+
"400":
|
|
190
|
+
description: Bad request
|
|
191
|
+
"404":
|
|
192
|
+
description: Integration action log record not found
|
|
193
|
+
"401":
|
|
194
|
+
description: Unauthorized
|
|
195
|
+
"500":
|
|
196
|
+
description: Internal server error
|
|
197
|
+
delete:
|
|
198
|
+
tags:
|
|
199
|
+
- Integration Action Log
|
|
200
|
+
summary: Delete integration action log record
|
|
201
|
+
description: Delete an existing integration action log record
|
|
202
|
+
parameters:
|
|
203
|
+
- name: id
|
|
204
|
+
in: path
|
|
205
|
+
required: true
|
|
206
|
+
description: Integration action log record ID
|
|
207
|
+
schema:
|
|
208
|
+
type: string
|
|
209
|
+
responses:
|
|
210
|
+
"200":
|
|
211
|
+
description: Integration action log record 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 action log record deleted successfully
|
|
223
|
+
"404":
|
|
224
|
+
description: Integration action log record not found
|
|
225
|
+
"401":
|
|
226
|
+
description: Unauthorized
|
|
227
|
+
"500":
|
|
228
|
+
description: Internal server error
|
|
229
|
+
|
|
230
|
+
components:
|
|
231
|
+
schemas:
|
|
232
|
+
IntegrationActionLog:
|
|
233
|
+
type: object
|
|
234
|
+
properties:
|
|
235
|
+
_id:
|
|
236
|
+
type: string
|
|
237
|
+
description: Unique identifier for the integration action log record
|
|
238
|
+
example: "60f7b1b3e4b0e8b3f8b3f8b3"
|
|
239
|
+
integrationId:
|
|
240
|
+
type: string
|
|
241
|
+
description: Integration identifier
|
|
242
|
+
example: "60f7b1b3e4b0e8b3f8b3f8b4"
|
|
243
|
+
actionType:
|
|
244
|
+
type: string
|
|
245
|
+
enum: [create, update, delete, sync, webhook]
|
|
246
|
+
description: Type of action performed
|
|
247
|
+
example: "create"
|
|
248
|
+
entityType:
|
|
249
|
+
type: string
|
|
250
|
+
description: Type of entity affected
|
|
251
|
+
example: "product"
|
|
252
|
+
entityId:
|
|
253
|
+
type: string
|
|
254
|
+
description: ID of the affected entity
|
|
255
|
+
example: "60f7b1b3e4b0e8b3f8b3f8b5"
|
|
256
|
+
status:
|
|
257
|
+
type: string
|
|
258
|
+
enum: [pending, success, failed, retrying]
|
|
259
|
+
description: Status of the action
|
|
260
|
+
example: "success"
|
|
261
|
+
payload:
|
|
262
|
+
type: object
|
|
263
|
+
additionalProperties: true
|
|
264
|
+
description: Action payload data
|
|
265
|
+
response:
|
|
266
|
+
type: object
|
|
267
|
+
additionalProperties: true
|
|
268
|
+
description: Response data from the action
|
|
269
|
+
errorMessage:
|
|
270
|
+
type: string
|
|
271
|
+
description: Error message if action failed
|
|
272
|
+
retryCount:
|
|
273
|
+
type: integer
|
|
274
|
+
minimum: 0
|
|
275
|
+
default: 0
|
|
276
|
+
description: Number of retry attempts
|
|
277
|
+
executionTime:
|
|
278
|
+
type: number
|
|
279
|
+
description: Execution time in milliseconds
|
|
280
|
+
metadata:
|
|
281
|
+
type: object
|
|
282
|
+
additionalProperties: true
|
|
283
|
+
description: Additional metadata
|
|
284
|
+
createdAt:
|
|
285
|
+
type: string
|
|
286
|
+
format: date-time
|
|
287
|
+
description: Record creation timestamp
|
|
288
|
+
example: "2023-01-15T08:00:00Z"
|
|
289
|
+
updatedAt:
|
|
290
|
+
type: string
|
|
291
|
+
format: date-time
|
|
292
|
+
description: Record last update timestamp
|
|
293
|
+
example: "2023-01-15T10:30:00Z"
|
|
294
|
+
required:
|
|
295
|
+
- integrationId
|
|
296
|
+
- actionType
|
|
297
|
+
- entityType
|
|
298
|
+
- status
|
|
299
|
+
|
|
300
|
+
IntegrationActionLogInput:
|
|
301
|
+
type: object
|
|
302
|
+
properties:
|
|
303
|
+
integrationId:
|
|
304
|
+
type: string
|
|
305
|
+
description: Integration identifier
|
|
306
|
+
example: "60f7b1b3e4b0e8b3f8b3f8b4"
|
|
307
|
+
actionType:
|
|
308
|
+
type: string
|
|
309
|
+
enum: [create, update, delete, sync, webhook]
|
|
310
|
+
description: Type of action performed
|
|
311
|
+
example: "create"
|
|
312
|
+
entityType:
|
|
313
|
+
type: string
|
|
314
|
+
description: Type of entity affected
|
|
315
|
+
example: "product"
|
|
316
|
+
entityId:
|
|
317
|
+
type: string
|
|
318
|
+
description: ID of the affected entity
|
|
319
|
+
example: "60f7b1b3e4b0e8b3f8b3f8b5"
|
|
320
|
+
status:
|
|
321
|
+
type: string
|
|
322
|
+
enum: [pending, success, failed, retrying]
|
|
323
|
+
description: Status of the action
|
|
324
|
+
example: "success"
|
|
325
|
+
payload:
|
|
326
|
+
type: object
|
|
327
|
+
additionalProperties: true
|
|
328
|
+
description: Action payload data
|
|
329
|
+
response:
|
|
330
|
+
type: object
|
|
331
|
+
additionalProperties: true
|
|
332
|
+
description: Response data from the action
|
|
333
|
+
errorMessage:
|
|
334
|
+
type: string
|
|
335
|
+
description: Error message if action failed
|
|
336
|
+
retryCount:
|
|
337
|
+
type: integer
|
|
338
|
+
minimum: 0
|
|
339
|
+
default: 0
|
|
340
|
+
description: Number of retry attempts
|
|
341
|
+
executionTime:
|
|
342
|
+
type: number
|
|
343
|
+
description: Execution time in milliseconds
|
|
344
|
+
metadata:
|
|
345
|
+
type: object
|
|
346
|
+
additionalProperties: true
|
|
347
|
+
description: Additional metadata
|
|
348
|
+
required:
|
|
349
|
+
- integrationId
|
|
350
|
+
- actionType
|
|
351
|
+
- entityType
|
|
352
|
+
- status
|
|
353
|
+
|
|
354
|
+
securitySchemes:
|
|
355
|
+
ApiKeyAuth:
|
|
356
|
+
type: apiKey
|
|
357
|
+
in: header
|
|
358
|
+
name: api-key
|
|
359
|
+
|
|
360
|
+
security:
|
|
361
|
+
- ApiKeyAuth: []
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
openapi: 3.0.3
|
|
2
|
+
info:
|
|
3
|
+
title: Repzo API - Integration App
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
description: OpenAPI specification for Repzo Integration App endpoints.
|
|
6
|
+
servers:
|
|
7
|
+
- url: https://sv.api.repzo.me
|
|
8
|
+
paths:
|
|
9
|
+
/integration-app:
|
|
10
|
+
get:
|
|
11
|
+
summary: Find integration apps
|
|
12
|
+
operationId: findIntegrationApps
|
|
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
|
+
status:
|
|
32
|
+
type: string
|
|
33
|
+
enum: [active, inactive, pending]
|
|
34
|
+
from_updatedAt:
|
|
35
|
+
type: number
|
|
36
|
+
from__id:
|
|
37
|
+
type: string
|
|
38
|
+
to__id:
|
|
39
|
+
type: string
|
|
40
|
+
sortBy:
|
|
41
|
+
type: array
|
|
42
|
+
items:
|
|
43
|
+
type: object
|
|
44
|
+
properties:
|
|
45
|
+
field:
|
|
46
|
+
type: string
|
|
47
|
+
enum: [_id, createdAt, updatedAt, name]
|
|
48
|
+
type:
|
|
49
|
+
type: string
|
|
50
|
+
enum: [asc, desc]
|
|
51
|
+
description: Query parameters for filtering integration apps
|
|
52
|
+
responses:
|
|
53
|
+
"200":
|
|
54
|
+
description: A list of integration apps
|
|
55
|
+
content:
|
|
56
|
+
application/json:
|
|
57
|
+
schema:
|
|
58
|
+
$ref: "#/components/schemas/IntegrationAppFindResult"
|
|
59
|
+
post:
|
|
60
|
+
summary: Create an integration app
|
|
61
|
+
operationId: createIntegrationApp
|
|
62
|
+
requestBody:
|
|
63
|
+
required: true
|
|
64
|
+
content:
|
|
65
|
+
application/json:
|
|
66
|
+
schema:
|
|
67
|
+
$ref: "#/components/schemas/IntegrationAppCreateBody"
|
|
68
|
+
responses:
|
|
69
|
+
"201":
|
|
70
|
+
description: Integration app created
|
|
71
|
+
content:
|
|
72
|
+
application/json:
|
|
73
|
+
schema:
|
|
74
|
+
$ref: "#/components/schemas/IntegrationAppCreateResult"
|
|
75
|
+
/integration-app/{id}:
|
|
76
|
+
get:
|
|
77
|
+
summary: Get an integration app by ID
|
|
78
|
+
operationId: getIntegrationApp
|
|
79
|
+
parameters:
|
|
80
|
+
- in: path
|
|
81
|
+
name: id
|
|
82
|
+
required: true
|
|
83
|
+
schema:
|
|
84
|
+
type: string
|
|
85
|
+
responses:
|
|
86
|
+
"200":
|
|
87
|
+
description: Integration app details
|
|
88
|
+
content:
|
|
89
|
+
application/json:
|
|
90
|
+
schema:
|
|
91
|
+
$ref: "#/components/schemas/IntegrationAppGetResult"
|
|
92
|
+
put:
|
|
93
|
+
summary: Update an integration app
|
|
94
|
+
operationId: updateIntegrationApp
|
|
95
|
+
parameters:
|
|
96
|
+
- in: path
|
|
97
|
+
name: id
|
|
98
|
+
required: true
|
|
99
|
+
schema:
|
|
100
|
+
type: string
|
|
101
|
+
requestBody:
|
|
102
|
+
required: true
|
|
103
|
+
content:
|
|
104
|
+
application/json:
|
|
105
|
+
schema:
|
|
106
|
+
$ref: "#/components/schemas/IntegrationAppUpdateBody"
|
|
107
|
+
responses:
|
|
108
|
+
"200":
|
|
109
|
+
description: Integration app updated
|
|
110
|
+
content:
|
|
111
|
+
application/json:
|
|
112
|
+
schema:
|
|
113
|
+
$ref: "#/components/schemas/IntegrationAppUpdateResult"
|
|
114
|
+
components:
|
|
115
|
+
schemas:
|
|
116
|
+
IntegrationAppFindResult:
|
|
117
|
+
type: object
|
|
118
|
+
description: Result of finding integration apps
|
|
119
|
+
properties:
|
|
120
|
+
data:
|
|
121
|
+
type: array
|
|
122
|
+
items:
|
|
123
|
+
$ref: "#/components/schemas/IntegrationAppSchema"
|
|
124
|
+
total_result:
|
|
125
|
+
type: number
|
|
126
|
+
description: Total number of integration apps
|
|
127
|
+
current_count:
|
|
128
|
+
type: number
|
|
129
|
+
description: Count of integration apps in current page
|
|
130
|
+
total_pages:
|
|
131
|
+
type: number
|
|
132
|
+
description: Total number of pages
|
|
133
|
+
current_page:
|
|
134
|
+
type: number
|
|
135
|
+
description: Current page number
|
|
136
|
+
per_page:
|
|
137
|
+
type: number
|
|
138
|
+
description: Number of integration apps per page
|
|
139
|
+
IntegrationAppSchema:
|
|
140
|
+
type: object
|
|
141
|
+
description: Integration app schema
|
|
142
|
+
properties:
|
|
143
|
+
_id:
|
|
144
|
+
type: string
|
|
145
|
+
description: Unique identifier for the integration app
|
|
146
|
+
name:
|
|
147
|
+
type: string
|
|
148
|
+
description: Name of the integration app
|
|
149
|
+
description:
|
|
150
|
+
type: string
|
|
151
|
+
description: Description of the integration app
|
|
152
|
+
category:
|
|
153
|
+
type: string
|
|
154
|
+
description: Category of the integration
|
|
155
|
+
version:
|
|
156
|
+
type: string
|
|
157
|
+
description: Version of the integration app
|
|
158
|
+
status:
|
|
159
|
+
type: string
|
|
160
|
+
enum: [active, inactive, pending]
|
|
161
|
+
description: Status of the integration app
|
|
162
|
+
available_app:
|
|
163
|
+
type: string
|
|
164
|
+
description: Available app reference
|
|
165
|
+
company_namespace:
|
|
166
|
+
type: string
|
|
167
|
+
description: Company namespace
|
|
168
|
+
config:
|
|
169
|
+
type: object
|
|
170
|
+
additionalProperties: true
|
|
171
|
+
description: Configuration settings for the integration
|
|
172
|
+
credentials:
|
|
173
|
+
type: object
|
|
174
|
+
additionalProperties: true
|
|
175
|
+
description: Credentials for the integration
|
|
176
|
+
endpoints:
|
|
177
|
+
type: object
|
|
178
|
+
additionalProperties: true
|
|
179
|
+
description: API endpoints configuration
|
|
180
|
+
webhooks:
|
|
181
|
+
type: object
|
|
182
|
+
additionalProperties: true
|
|
183
|
+
description: Webhook configuration
|
|
184
|
+
sync_settings:
|
|
185
|
+
type: object
|
|
186
|
+
additionalProperties: true
|
|
187
|
+
description: Synchronization settings
|
|
188
|
+
last_sync:
|
|
189
|
+
type: string
|
|
190
|
+
format: date-time
|
|
191
|
+
description: Last synchronization timestamp
|
|
192
|
+
error_count:
|
|
193
|
+
type: number
|
|
194
|
+
description: Number of errors encountered
|
|
195
|
+
success_count:
|
|
196
|
+
type: number
|
|
197
|
+
description: Number of successful operations
|
|
198
|
+
integration_meta:
|
|
199
|
+
type: object
|
|
200
|
+
additionalProperties: true
|
|
201
|
+
description: Integration metadata
|
|
202
|
+
createdAt:
|
|
203
|
+
type: string
|
|
204
|
+
format: date-time
|
|
205
|
+
description: Creation timestamp
|
|
206
|
+
updatedAt:
|
|
207
|
+
type: string
|
|
208
|
+
format: date-time
|
|
209
|
+
description: Last update timestamp
|
|
210
|
+
__v:
|
|
211
|
+
type: number
|
|
212
|
+
description: Version number
|
|
213
|
+
IntegrationAppCreateBody:
|
|
214
|
+
type: object
|
|
215
|
+
description: Body for creating an integration app
|
|
216
|
+
required:
|
|
217
|
+
- name
|
|
218
|
+
- available_app
|
|
219
|
+
- company_namespace
|
|
220
|
+
properties:
|
|
221
|
+
name:
|
|
222
|
+
type: string
|
|
223
|
+
description: Name of the integration app
|
|
224
|
+
description:
|
|
225
|
+
type: string
|
|
226
|
+
description: Description of the integration app
|
|
227
|
+
available_app:
|
|
228
|
+
type: string
|
|
229
|
+
description: Available app reference
|
|
230
|
+
company_namespace:
|
|
231
|
+
type: string
|
|
232
|
+
description: Company namespace
|
|
233
|
+
config:
|
|
234
|
+
type: object
|
|
235
|
+
additionalProperties: true
|
|
236
|
+
description: Configuration settings for the integration
|
|
237
|
+
credentials:
|
|
238
|
+
type: object
|
|
239
|
+
additionalProperties: true
|
|
240
|
+
description: Credentials for the integration
|
|
241
|
+
endpoints:
|
|
242
|
+
type: object
|
|
243
|
+
additionalProperties: true
|
|
244
|
+
description: API endpoints configuration
|
|
245
|
+
webhooks:
|
|
246
|
+
type: object
|
|
247
|
+
additionalProperties: true
|
|
248
|
+
description: Webhook configuration
|
|
249
|
+
sync_settings:
|
|
250
|
+
type: object
|
|
251
|
+
additionalProperties: true
|
|
252
|
+
description: Synchronization settings
|
|
253
|
+
integration_meta:
|
|
254
|
+
type: object
|
|
255
|
+
additionalProperties: true
|
|
256
|
+
description: Integration metadata
|
|
257
|
+
IntegrationAppCreateResult:
|
|
258
|
+
$ref: "#/components/schemas/IntegrationAppSchema"
|
|
259
|
+
description: Result of creating an integration app
|
|
260
|
+
IntegrationAppGetResult:
|
|
261
|
+
$ref: "#/components/schemas/IntegrationAppSchema"
|
|
262
|
+
description: Result of getting an integration app
|
|
263
|
+
IntegrationAppUpdateBody:
|
|
264
|
+
type: object
|
|
265
|
+
description: Body for updating an integration app
|
|
266
|
+
properties:
|
|
267
|
+
name:
|
|
268
|
+
type: string
|
|
269
|
+
description: Name of the integration app
|
|
270
|
+
description:
|
|
271
|
+
type: string
|
|
272
|
+
description: Description of the integration app
|
|
273
|
+
status:
|
|
274
|
+
type: string
|
|
275
|
+
enum: [active, inactive, pending]
|
|
276
|
+
description: Status of the integration app
|
|
277
|
+
config:
|
|
278
|
+
type: object
|
|
279
|
+
additionalProperties: true
|
|
280
|
+
description: Configuration settings for the integration
|
|
281
|
+
credentials:
|
|
282
|
+
type: object
|
|
283
|
+
additionalProperties: true
|
|
284
|
+
description: Credentials for the integration
|
|
285
|
+
endpoints:
|
|
286
|
+
type: object
|
|
287
|
+
additionalProperties: true
|
|
288
|
+
description: API endpoints configuration
|
|
289
|
+
webhooks:
|
|
290
|
+
type: object
|
|
291
|
+
additionalProperties: true
|
|
292
|
+
description: Webhook configuration
|
|
293
|
+
sync_settings:
|
|
294
|
+
type: object
|
|
295
|
+
additionalProperties: true
|
|
296
|
+
description: Synchronization settings
|
|
297
|
+
integration_meta:
|
|
298
|
+
type: object
|
|
299
|
+
additionalProperties: true
|
|
300
|
+
description: Integration metadata
|
|
301
|
+
IntegrationAppUpdateResult:
|
|
302
|
+
$ref: "#/components/schemas/IntegrationAppSchema"
|
|
303
|
+
description: Result of updating an integration app
|