@celigo/api-specs 0.2.257 → 0.2.258
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/dist/audit.yml +16 -0
- package/dist/editransaction.yml +177 -38
- package/dist/processor.yml +112 -6
- package/dist/recyclebin.yml +6 -0
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/audit.yml
CHANGED
|
@@ -85,6 +85,7 @@ paths:
|
|
|
85
85
|
enum:
|
|
86
86
|
- accesstoken
|
|
87
87
|
- agent
|
|
88
|
+
- agentgroup
|
|
88
89
|
- alert
|
|
89
90
|
- api
|
|
90
91
|
- ashare
|
|
@@ -122,6 +123,7 @@ paths:
|
|
|
122
123
|
x-enumDescriptions:
|
|
123
124
|
accesstoken: API access token resource.
|
|
124
125
|
agent: On-premise agent resource.
|
|
126
|
+
agentgroup: On-premise agent group resource. Its audit has no descendants.
|
|
125
127
|
alert: Proactive alert resource.
|
|
126
128
|
api: Custom API endpoint resource.
|
|
127
129
|
ashare: Workspace user access record (account share) resource.
|
|
@@ -526,6 +528,7 @@ paths:
|
|
|
526
528
|
enum:
|
|
527
529
|
- accesstoken
|
|
528
530
|
- agent
|
|
531
|
+
- agentgroup
|
|
529
532
|
- alert
|
|
530
533
|
- api
|
|
531
534
|
- ashare
|
|
@@ -560,6 +563,7 @@ paths:
|
|
|
560
563
|
x-enumDescriptions:
|
|
561
564
|
accesstoken: API access token resource.
|
|
562
565
|
agent: On-premise agent resource.
|
|
566
|
+
agentgroup: On-premise agent group resource. Its audit has no descendants.
|
|
563
567
|
alert: Proactive alert resource.
|
|
564
568
|
api: Custom API endpoint resource.
|
|
565
569
|
ashare: Workspace user access record (account share) resource.
|
|
@@ -773,6 +777,7 @@ paths:
|
|
|
773
777
|
enum:
|
|
774
778
|
- accesstokens
|
|
775
779
|
- agents
|
|
780
|
+
- agentgroups
|
|
776
781
|
- alerts
|
|
777
782
|
- apis
|
|
778
783
|
- asynchelpers
|
|
@@ -802,6 +807,7 @@ paths:
|
|
|
802
807
|
x-enumDescriptions:
|
|
803
808
|
accesstokens: API access token resources.
|
|
804
809
|
agents: On-premise agent resources.
|
|
810
|
+
agentgroups: On-premise agent group resources. The audit covers only the group itself.
|
|
805
811
|
alerts: Proactive alert resources.
|
|
806
812
|
apis: Custom API endpoint resources.
|
|
807
813
|
asynchelpers: Async helper resources.
|
|
@@ -993,6 +999,7 @@ paths:
|
|
|
993
999
|
enum:
|
|
994
1000
|
- accesstokens
|
|
995
1001
|
- agents
|
|
1002
|
+
- agentgroups
|
|
996
1003
|
- alerts
|
|
997
1004
|
- apis
|
|
998
1005
|
- asynchelpers
|
|
@@ -1022,6 +1029,7 @@ paths:
|
|
|
1022
1029
|
x-enumDescriptions:
|
|
1023
1030
|
accesstokens: API access token resources.
|
|
1024
1031
|
agents: On-premise agent resources.
|
|
1032
|
+
agentgroups: On-premise agent group resources. The audit covers only the group itself.
|
|
1025
1033
|
alerts: Proactive alert resources.
|
|
1026
1034
|
apis: Custom API endpoint resources.
|
|
1027
1035
|
asynchelpers: Async helper resources.
|
|
@@ -1216,6 +1224,7 @@ paths:
|
|
|
1216
1224
|
enum:
|
|
1217
1225
|
- accesstokens
|
|
1218
1226
|
- agents
|
|
1227
|
+
- agentgroups
|
|
1219
1228
|
- alerts
|
|
1220
1229
|
- apis
|
|
1221
1230
|
- asynchelpers
|
|
@@ -1243,6 +1252,7 @@ paths:
|
|
|
1243
1252
|
x-enumDescriptions:
|
|
1244
1253
|
accesstokens: API access token resources.
|
|
1245
1254
|
agents: On-premise agent resources.
|
|
1255
|
+
agentgroups: On-premise agent group resources. The audit covers only the group itself.
|
|
1246
1256
|
alerts: Proactive alert resources.
|
|
1247
1257
|
apis: Custom API endpoint resources.
|
|
1248
1258
|
asynchelpers: Async helper resources.
|
|
@@ -1441,6 +1451,7 @@ components:
|
|
|
1441
1451
|
enum:
|
|
1442
1452
|
- accesstoken
|
|
1443
1453
|
- agent
|
|
1454
|
+
- agentgroup
|
|
1444
1455
|
- alert
|
|
1445
1456
|
- api
|
|
1446
1457
|
- ashare
|
|
@@ -1478,6 +1489,7 @@ components:
|
|
|
1478
1489
|
x-enumDescriptions:
|
|
1479
1490
|
accesstoken: API access token resource.
|
|
1480
1491
|
agent: On-premise agent resource.
|
|
1492
|
+
agentgroup: On-premise agent group resource. Its audit has no descendants.
|
|
1481
1493
|
alert: Proactive alert resource.
|
|
1482
1494
|
api: Custom API endpoint resource.
|
|
1483
1495
|
ashare: Workspace user access record (account share) resource.
|
|
@@ -1659,6 +1671,7 @@ components:
|
|
|
1659
1671
|
enum:
|
|
1660
1672
|
- accesstoken
|
|
1661
1673
|
- agent
|
|
1674
|
+
- agentgroup
|
|
1662
1675
|
- alert
|
|
1663
1676
|
- api
|
|
1664
1677
|
- ashare
|
|
@@ -1694,6 +1707,7 @@ components:
|
|
|
1694
1707
|
x-enumDescriptions:
|
|
1695
1708
|
accesstoken: API access token resource.
|
|
1696
1709
|
agent: On-premise agent resource.
|
|
1710
|
+
agentgroup: On-premise agent group resource. Its audit has no descendants.
|
|
1697
1711
|
alert: Proactive alert resource.
|
|
1698
1712
|
api: Custom API endpoint resource.
|
|
1699
1713
|
ashare: Workspace user access record (account share) resource.
|
|
@@ -1887,6 +1901,7 @@ components:
|
|
|
1887
1901
|
enum:
|
|
1888
1902
|
- accesstoken
|
|
1889
1903
|
- agent
|
|
1904
|
+
- agentgroup
|
|
1890
1905
|
- alert
|
|
1891
1906
|
- api
|
|
1892
1907
|
- ashare
|
|
@@ -1922,6 +1937,7 @@ components:
|
|
|
1922
1937
|
x-enumDescriptions:
|
|
1923
1938
|
accesstoken: API access token resource.
|
|
1924
1939
|
agent: On-premise agent resource.
|
|
1940
|
+
agentgroup: On-premise agent group resource. Its audit has no descendants.
|
|
1925
1941
|
alert: Proactive alert resource.
|
|
1926
1942
|
api: Custom API endpoint resource.
|
|
1927
1943
|
ashare: Workspace user access record (account share) resource.
|
package/dist/editransaction.yml
CHANGED
|
@@ -42,11 +42,14 @@ paths:
|
|
|
42
42
|
Partially updates one or more EDI transaction records. Commonly used
|
|
43
43
|
to update the `faStatus` field (functional acknowledgment status).
|
|
44
44
|
|
|
45
|
-
The endpoint is lenient
|
|
46
|
-
|
|
47
|
-
response is `200` with
|
|
48
|
-
|
|
49
|
-
`
|
|
45
|
+
The endpoint is lenient about records it can't match — when the
|
|
46
|
+
`ediTransactions` array is empty, missing, or holds well-formed IDs
|
|
47
|
+
that match no record, the response is `200` with
|
|
48
|
+
`{"ediTransactions": []}` rather than a 400. A malformed `_id` on an
|
|
49
|
+
`accepted` or `rejected` entry is not skipped: it fails the whole
|
|
50
|
+
request with 400 `invalid_edi_transaction_id`. Callers should always
|
|
51
|
+
supply `fileType` and a non-empty `ediTransactions` array for
|
|
52
|
+
meaningful results.
|
|
50
53
|
requestBody:
|
|
51
54
|
required: true
|
|
52
55
|
content:
|
|
@@ -66,6 +69,7 @@ paths:
|
|
|
66
69
|
properties:
|
|
67
70
|
_id:
|
|
68
71
|
type: string
|
|
72
|
+
format: objectId
|
|
69
73
|
description: EDI transaction ID to update.
|
|
70
74
|
examples:
|
|
71
75
|
- 69ca6b7a42f275a91eab88bd
|
|
@@ -127,9 +131,36 @@ paths:
|
|
|
127
131
|
value:
|
|
128
132
|
ediTransactions: []
|
|
129
133
|
'400':
|
|
130
|
-
|
|
134
|
+
description: |-
|
|
135
|
+
An `ediTransactions` entry is not an object, or an entry whose
|
|
136
|
+
`faStatus` is `accepted` or `rejected` has an `_id` that is missing
|
|
137
|
+
or is not a 24-character hex object ID.
|
|
138
|
+
content:
|
|
139
|
+
application/json:
|
|
140
|
+
schema:
|
|
141
|
+
$ref: '#/components/schemas/Error'
|
|
142
|
+
examples:
|
|
143
|
+
invalid_id:
|
|
144
|
+
summary: Malformed transaction ID
|
|
145
|
+
value:
|
|
146
|
+
errors:
|
|
147
|
+
- code: invalid_edi_transaction_id
|
|
148
|
+
message: ediTransactions contains an invalid _id
|
|
131
149
|
'401':
|
|
132
150
|
$ref: '#/components/responses/401-unauthorized'
|
|
151
|
+
'422':
|
|
152
|
+
description: The update failed — for example, `fileType` is not `X12` or `EDIFACT`.
|
|
153
|
+
content:
|
|
154
|
+
application/json:
|
|
155
|
+
schema:
|
|
156
|
+
$ref: '#/components/schemas/Error'
|
|
157
|
+
examples:
|
|
158
|
+
update_failed:
|
|
159
|
+
summary: Unsupported fileType
|
|
160
|
+
value:
|
|
161
|
+
errors:
|
|
162
|
+
- code: edi_update_failed
|
|
163
|
+
message: Unable to update EDI Transactions. Contact Celigo Support to resolve the error.
|
|
133
164
|
/v1/ediTransactions/query:
|
|
134
165
|
post:
|
|
135
166
|
x-internal: false
|
|
@@ -187,6 +218,13 @@ paths:
|
|
|
187
218
|
- failed
|
|
188
219
|
limit: 100
|
|
189
220
|
startDate: 1742774400000
|
|
221
|
+
edifact_by_sender:
|
|
222
|
+
summary: EDIFACT transactions from one trading partner (by UNB sender ID)
|
|
223
|
+
value:
|
|
224
|
+
fileType: EDIFACT
|
|
225
|
+
unbSenderId: '3017581483'
|
|
226
|
+
limit: 100
|
|
227
|
+
startDate: 1742774400000
|
|
190
228
|
sorted_by_partner:
|
|
191
229
|
summary: Sorted by trading partner name, Z to A
|
|
192
230
|
value:
|
|
@@ -439,7 +477,10 @@ paths:
|
|
|
439
477
|
partnerPairKey: 'ACMEFOODS :CELIGOTEST '
|
|
440
478
|
lastModified: '2026-11-02T13:26:29.963Z'
|
|
441
479
|
'400':
|
|
442
|
-
description:
|
|
480
|
+
description: |-
|
|
481
|
+
The request body failed validation. A second search field is refused
|
|
482
|
+
with `invalid_searchapi_body`, whose message names the X12 sender and
|
|
483
|
+
receiver fields by their record names (`isaSenderId`, `isaReceiverId`).
|
|
443
484
|
content:
|
|
444
485
|
application/json:
|
|
445
486
|
schema:
|
|
@@ -460,6 +501,42 @@ paths:
|
|
|
460
501
|
errors:
|
|
461
502
|
- code: invalid_date_range
|
|
462
503
|
message: please provide a valid date range
|
|
504
|
+
start_time_or_end_time_missing:
|
|
505
|
+
summary: endDate sent without startDate
|
|
506
|
+
value:
|
|
507
|
+
errors:
|
|
508
|
+
- code: start_time_or_end_time_missing
|
|
509
|
+
message: start time or end time missing
|
|
510
|
+
invalid_searchapi_body:
|
|
511
|
+
summary: Two search fields in one call
|
|
512
|
+
value:
|
|
513
|
+
errors:
|
|
514
|
+
- code: invalid_searchapi_body
|
|
515
|
+
message: Invalid search api body provided, only one field out of documentNumber, isaSenderId, isaReceiverId is required
|
|
516
|
+
invalid_search_param_for_X12:
|
|
517
|
+
summary: An EDIFACT sender field without fileType EDIFACT
|
|
518
|
+
value:
|
|
519
|
+
errors:
|
|
520
|
+
- code: invalid_search_param_for_X12
|
|
521
|
+
message: invalid search param unbSenderId for filetype X12
|
|
522
|
+
invalid_searchapi_body_length:
|
|
523
|
+
summary: Search value shorter than three characters
|
|
524
|
+
value:
|
|
525
|
+
errors:
|
|
526
|
+
- code: invalid_searchapi_body_length
|
|
527
|
+
message: Invalid search api body provided, the search query string length should not be less than 3
|
|
528
|
+
invalid_searchapi_pattern:
|
|
529
|
+
summary: A * before the end of the search value
|
|
530
|
+
value:
|
|
531
|
+
errors:
|
|
532
|
+
- code: invalid_searchapi_pattern
|
|
533
|
+
message: Invalid search api body provided, "*" is only expected at the end of the string
|
|
534
|
+
invalid_searchapi_limit:
|
|
535
|
+
summary: A search value ending in * with limit above 100
|
|
536
|
+
value:
|
|
537
|
+
errors:
|
|
538
|
+
- code: invalid_searchapi_limit
|
|
539
|
+
message: Invalid search api body provided, the limit provided should not be more than 100
|
|
463
540
|
unsupported_sort_field:
|
|
464
541
|
value:
|
|
465
542
|
errors:
|
|
@@ -506,6 +583,11 @@ paths:
|
|
|
506
583
|
errors:
|
|
507
584
|
- code: invalid_fa_status
|
|
508
585
|
message: 'Invalid fa status, only accepted values: notReceived,accepted,acceptedWithErrors,rejected,failed,notApplicable'
|
|
586
|
+
invalid_page_token:
|
|
587
|
+
value:
|
|
588
|
+
errors:
|
|
589
|
+
- code: invalid_page_token
|
|
590
|
+
message: Invalid request, page token is not valid
|
|
509
591
|
'401':
|
|
510
592
|
$ref: '#/components/responses/401-unauthorized'
|
|
511
593
|
'404':
|
|
@@ -2338,15 +2420,60 @@ components:
|
|
|
2338
2420
|
type: object
|
|
2339
2421
|
description: |-
|
|
2340
2422
|
Filter for `POST /v1/ediTransactions/query`. All fields are optional.
|
|
2341
|
-
Results are narrowed by `fileType`, `
|
|
2342
|
-
|
|
2343
|
-
`
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2423
|
+
Results are narrowed by `fileType`, `faStatus`, the `startDate`/`endDate`
|
|
2424
|
+
window, at most one search field — `documentNumber`, or
|
|
2425
|
+
`interchangeSenderId`/`interchangeReceiverId` for X12, or
|
|
2426
|
+
`unbSenderId`/`unbReceiverId` for EDIFACT — and the dashboard's `filters`
|
|
2427
|
+
object, which the server applies in full. A search value needs at least
|
|
2428
|
+
three characters and takes `*` only as its last character; a value ending
|
|
2429
|
+
in `*` also needs three characters before it and a `limit` of 100 or less.
|
|
2430
|
+
The top-level `direction`, `documentType`, and `_integrationId` are
|
|
2431
|
+
accepted but not applied server-side (filter on those client-side, or use
|
|
2432
|
+
`filters`). Records come back newest-first by `lastModified` unless
|
|
2433
|
+
`sortBy` or `order` is set, and are cursor-paginated via `pageToken`.
|
|
2434
|
+
`view: lifecycle` with `mode` returns the documents grouped by order
|
|
2435
|
+
lifecycle instead of flat rows.
|
|
2436
|
+
if:
|
|
2437
|
+
properties:
|
|
2438
|
+
fileType:
|
|
2439
|
+
const: EDIFACT
|
|
2440
|
+
required:
|
|
2441
|
+
- fileType
|
|
2442
|
+
then:
|
|
2443
|
+
not:
|
|
2444
|
+
anyOf:
|
|
2445
|
+
- required:
|
|
2446
|
+
- interchangeSenderId
|
|
2447
|
+
- required:
|
|
2448
|
+
- interchangeReceiverId
|
|
2449
|
+
- required:
|
|
2450
|
+
- documentNumber
|
|
2451
|
+
- unbSenderId
|
|
2452
|
+
- required:
|
|
2453
|
+
- documentNumber
|
|
2454
|
+
- unbReceiverId
|
|
2455
|
+
- required:
|
|
2456
|
+
- unbSenderId
|
|
2457
|
+
- unbReceiverId
|
|
2458
|
+
else:
|
|
2459
|
+
not:
|
|
2460
|
+
anyOf:
|
|
2461
|
+
- required:
|
|
2462
|
+
- unbSenderId
|
|
2463
|
+
- required:
|
|
2464
|
+
- unbReceiverId
|
|
2465
|
+
- required:
|
|
2466
|
+
- documentNumber
|
|
2467
|
+
- interchangeSenderId
|
|
2468
|
+
- required:
|
|
2469
|
+
- documentNumber
|
|
2470
|
+
- interchangeReceiverId
|
|
2471
|
+
- required:
|
|
2472
|
+
- interchangeSenderId
|
|
2473
|
+
- interchangeReceiverId
|
|
2474
|
+
dependentRequired:
|
|
2475
|
+
endDate:
|
|
2476
|
+
- startDate
|
|
2350
2477
|
properties:
|
|
2351
2478
|
fileType:
|
|
2352
2479
|
type: string
|
|
@@ -2361,18 +2488,40 @@ components:
|
|
|
2361
2488
|
`fileType: EDIFACT` explicitly to query EDIFACT records.
|
|
2362
2489
|
interchangeSenderId:
|
|
2363
2490
|
type: string
|
|
2491
|
+
pattern: ^[^*]{3,}\*?$
|
|
2364
2492
|
description: |-
|
|
2365
|
-
|
|
2366
|
-
`
|
|
2493
|
+
X12 only. Searches the record's `isaSenderId` (ISA06). Refused with
|
|
2494
|
+
`fileType: EDIFACT` (`invalid_search_param_for_EDIFACT`) — use
|
|
2495
|
+
`unbSenderId` there.
|
|
2367
2496
|
examples:
|
|
2368
2497
|
- '1234567890'
|
|
2369
2498
|
interchangeReceiverId:
|
|
2370
2499
|
type: string
|
|
2500
|
+
pattern: ^[^*]{3,}\*?$
|
|
2371
2501
|
description: |-
|
|
2372
|
-
|
|
2373
|
-
`
|
|
2502
|
+
X12 only. Searches the record's `isaReceiverId` (ISA08). Refused with
|
|
2503
|
+
`fileType: EDIFACT` (`invalid_search_param_for_EDIFACT`) — use
|
|
2504
|
+
`unbReceiverId` there.
|
|
2374
2505
|
examples:
|
|
2375
2506
|
- CELIGOLABZ
|
|
2507
|
+
unbSenderId:
|
|
2508
|
+
type: string
|
|
2509
|
+
pattern: ^[^*]{3,}\*?$
|
|
2510
|
+
description: |-
|
|
2511
|
+
EDIFACT only. Searches the record's `unbSenderId` (UNB02). Send it with
|
|
2512
|
+
`fileType: EDIFACT`; under X12, the default, it is refused
|
|
2513
|
+
(`invalid_search_param_for_X12`).
|
|
2514
|
+
examples:
|
|
2515
|
+
- '3017581483'
|
|
2516
|
+
unbReceiverId:
|
|
2517
|
+
type: string
|
|
2518
|
+
pattern: ^[^*]{3,}\*?$
|
|
2519
|
+
description: |-
|
|
2520
|
+
EDIFACT only. Searches the record's `unbReceiverId` (UNB03). Send it
|
|
2521
|
+
with `fileType: EDIFACT`; under X12, the default, it is refused
|
|
2522
|
+
(`invalid_search_param_for_X12`).
|
|
2523
|
+
examples:
|
|
2524
|
+
- '7177587895'
|
|
2376
2525
|
direction:
|
|
2377
2526
|
type: string
|
|
2378
2527
|
enum:
|
|
@@ -2397,10 +2546,11 @@ components:
|
|
|
2397
2546
|
- '850'
|
|
2398
2547
|
documentNumber:
|
|
2399
2548
|
type: string
|
|
2549
|
+
pattern: ^[^*]{3,}\*?$
|
|
2400
2550
|
description: |-
|
|
2401
|
-
Business document number to
|
|
2402
|
-
|
|
2403
|
-
|
|
2551
|
+
Business document number to search for — the `documentNumber` field
|
|
2552
|
+
extracted from the transaction set (e.g. a purchase-order number from
|
|
2553
|
+
an 850's BEG03). Works for either file type.
|
|
2404
2554
|
examples:
|
|
2405
2555
|
- PO03302026A
|
|
2406
2556
|
_integrationId:
|
|
@@ -2455,7 +2605,8 @@ components:
|
|
|
2455
2605
|
format: int64
|
|
2456
2606
|
description: |-
|
|
2457
2607
|
Upper bound of the `lastModified` window, as epoch milliseconds.
|
|
2458
|
-
Must be greater than `startDate
|
|
2608
|
+
Must be greater than `startDate` and needs it: `endDate` alone is
|
|
2609
|
+
refused with `start_time_or_end_time_missing`.
|
|
2459
2610
|
examples:
|
|
2460
2611
|
- 1745452800000
|
|
2461
2612
|
limit:
|
|
@@ -2493,7 +2644,8 @@ components:
|
|
|
2493
2644
|
description: |-
|
|
2494
2645
|
Opaque cursor from a previous response's `pageToken.next`. Pass
|
|
2495
2646
|
this value to retrieve the next page of results; omit it on the
|
|
2496
|
-
first call.
|
|
2647
|
+
first call. A corrupted or truncated value fails with
|
|
2648
|
+
`invalid_page_token`. On a dual-view request send an object carrying both
|
|
2497
2649
|
windows' cursors — one missing either key fails with
|
|
2498
2650
|
`invalid_query_dual_page_token`. A cursor fixes its own sort, so
|
|
2499
2651
|
`sortBy` and `order` are ignored beside it.
|
|
@@ -3445,19 +3597,6 @@ components:
|
|
|
3445
3597
|
- mdnTimestamp
|
|
3446
3598
|
- mdnDisposition
|
|
3447
3599
|
responses:
|
|
3448
|
-
400-bad-request:
|
|
3449
|
-
description: |
|
|
3450
|
-
Bad request. The server could not understand the request because of malformed syntax or invalid parameters.
|
|
3451
|
-
content:
|
|
3452
|
-
application/json:
|
|
3453
|
-
schema:
|
|
3454
|
-
$ref: '#/components/schemas/Error'
|
|
3455
|
-
examples:
|
|
3456
|
-
default:
|
|
3457
|
-
value:
|
|
3458
|
-
errors:
|
|
3459
|
-
- code: invalid_request
|
|
3460
|
-
message: The request body failed validation.
|
|
3461
3600
|
401-unauthorized:
|
|
3462
3601
|
description: |-
|
|
3463
3602
|
Unauthorized. The request lacks a valid bearer token, or the provided token
|
package/dist/processor.yml
CHANGED
|
@@ -1189,10 +1189,11 @@ paths:
|
|
|
1189
1189
|
`null`, and a field under a null object fails the record before anything is sent. Check a
|
|
1190
1190
|
nullable field with an import preview, not here.
|
|
1191
1191
|
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1192
|
+
A helper that doesn't exist is refused with 422 once it is called with arguments or as a
|
|
1193
|
+
block; with neither, the name is read as a field and renders that field's value, or nothing.
|
|
1194
|
+
`GET /v1/processors` lists helpers under the handlebars entry's `helperFunctions`, but that
|
|
1195
|
+
list is not complete: `eq` and `truncateWords`, for example, render although it omits them,
|
|
1196
|
+
so render a doubtful helper once here before relying on it.
|
|
1196
1197
|
|
|
1197
1198
|
By default `lookup` doesn't resolve here: each call renders a placeholder such as
|
|
1198
1199
|
`{$ASYNCID$0$0$}`, Handlebars' own `{{lookup object key}}` form included, and the placeholder
|
|
@@ -1380,11 +1381,116 @@ paths:
|
|
|
1380
1381
|
description: |-
|
|
1381
1382
|
The template could not be rendered, for example because it calls a helper that does not
|
|
1382
1383
|
exist ('Missing helper: "first"') or, with `rules.strict`, reads a path the data doesn't
|
|
1383
|
-
carry ('"poNumber" not defined in the model').
|
|
1384
|
+
carry ('"poNumber" not defined in the model'). The body depends on what failed: a template
|
|
1385
|
+
that fails to render answers one flat error object (`code`, `message`, `source`, `path`)
|
|
1386
|
+
rather than the usual `errors` array; a static lookup that fails under `options` answers
|
|
1387
|
+
`statusCode` plus an `errors` array; an `http` connection sent without `options.fieldPath`
|
|
1388
|
+
answers an empty `{}`.
|
|
1384
1389
|
content:
|
|
1385
1390
|
application/json:
|
|
1386
1391
|
schema:
|
|
1387
|
-
|
|
1392
|
+
type: object
|
|
1393
|
+
properties:
|
|
1394
|
+
code:
|
|
1395
|
+
type: string
|
|
1396
|
+
enum:
|
|
1397
|
+
- cannot_evaluate_handlebars
|
|
1398
|
+
x-enumDescriptions:
|
|
1399
|
+
cannot_evaluate_handlebars: The template engine stopped before producing a result.
|
|
1400
|
+
description: |-
|
|
1401
|
+
Present when the template fails to render, whether a helper is missing, a block
|
|
1402
|
+
names a helper that doesn't exist, or a strict render reads a path the data
|
|
1403
|
+
doesn't carry.
|
|
1404
|
+
message:
|
|
1405
|
+
type: string
|
|
1406
|
+
description: |-
|
|
1407
|
+
Present when the template fails to render; what failed, as the template engine
|
|
1408
|
+
reports it.
|
|
1409
|
+
examples:
|
|
1410
|
+
- 'Missing helper: "first"'
|
|
1411
|
+
- Unable to read "call" from undefined
|
|
1412
|
+
source:
|
|
1413
|
+
type: string
|
|
1414
|
+
description: |-
|
|
1415
|
+
Present when the template fails to render; the layer that raised the error,
|
|
1416
|
+
`resource` for the template itself.
|
|
1417
|
+
examples:
|
|
1418
|
+
- resource
|
|
1419
|
+
path:
|
|
1420
|
+
type: string
|
|
1421
|
+
description: Present when the template fails to render; the processor that raised the error.
|
|
1422
|
+
examples:
|
|
1423
|
+
- processor.handlebars
|
|
1424
|
+
statusCode:
|
|
1425
|
+
type: integer
|
|
1426
|
+
description: Present when a static lookup fails; repeats the HTTP status.
|
|
1427
|
+
examples:
|
|
1428
|
+
- 422
|
|
1429
|
+
errors:
|
|
1430
|
+
type: array
|
|
1431
|
+
description: |-
|
|
1432
|
+
Present when a static lookup fails; one entry per failure, in the usual error
|
|
1433
|
+
envelope shape.
|
|
1434
|
+
items:
|
|
1435
|
+
type: object
|
|
1436
|
+
properties:
|
|
1437
|
+
code:
|
|
1438
|
+
type: string
|
|
1439
|
+
enum:
|
|
1440
|
+
- cannot_evaluate_static_lookup
|
|
1441
|
+
- lookup_not_found
|
|
1442
|
+
- lookup_data_not_defined
|
|
1443
|
+
x-enumDescriptions:
|
|
1444
|
+
cannot_evaluate_static_lookup: The key is not in the lookup's `map` and the lookup sets `allowFailures` false.
|
|
1445
|
+
lookup_not_found: The template names a lookup the import doesn't define.
|
|
1446
|
+
lookup_data_not_defined: The key the template passes is missing, empty or the number `0`.
|
|
1447
|
+
description: |-
|
|
1448
|
+
Which part of the lookup failed. Fix the template's key or the import's
|
|
1449
|
+
`http.lookups` entry accordingly; `lookup_not_found` also covers Handlebars'
|
|
1450
|
+
own `{{lookup object key}}` form, which this route reads as a lookup name.
|
|
1451
|
+
message:
|
|
1452
|
+
type: string
|
|
1453
|
+
description: What failed, naming the lookup and, for an unresolved key, the key.
|
|
1454
|
+
examples:
|
|
1455
|
+
- 'Cannot evaluate the static lookup: "statusMap" using searchKey: "9".'
|
|
1456
|
+
source:
|
|
1457
|
+
type: string
|
|
1458
|
+
description: |-
|
|
1459
|
+
Layer that raised the failure: `lookup` when the lookup ran and couldn't
|
|
1460
|
+
resolve the key, `resource` when the import defines no lookup by that name.
|
|
1461
|
+
examples:
|
|
1462
|
+
- lookup
|
|
1463
|
+
examples:
|
|
1464
|
+
missing_helper:
|
|
1465
|
+
summary: A helper that doesn't exist, called with an argument
|
|
1466
|
+
value:
|
|
1467
|
+
code: cannot_evaluate_handlebars
|
|
1468
|
+
message: 'Missing helper: "first"'
|
|
1469
|
+
source: resource
|
|
1470
|
+
path: processor.handlebars
|
|
1471
|
+
strict_path:
|
|
1472
|
+
summary: A strict render reads a path the data doesn't carry
|
|
1473
|
+
value:
|
|
1474
|
+
code: cannot_evaluate_handlebars
|
|
1475
|
+
message: '"poNumber" not defined in the model. - 1:2'
|
|
1476
|
+
source: resource
|
|
1477
|
+
path: processor.handlebars
|
|
1478
|
+
static_lookup_key_not_in_map:
|
|
1479
|
+
summary: Static lookup key not in the map, allowFailures false
|
|
1480
|
+
value:
|
|
1481
|
+
statusCode: 422
|
|
1482
|
+
errors:
|
|
1483
|
+
- code: cannot_evaluate_static_lookup
|
|
1484
|
+
message: 'Cannot evaluate the static lookup: "statusMap" using searchKey: "9".'
|
|
1485
|
+
source: lookup
|
|
1486
|
+
lookup_not_found:
|
|
1487
|
+
summary: Template names a lookup the import doesn't define
|
|
1488
|
+
value:
|
|
1489
|
+
statusCode: 422
|
|
1490
|
+
errors:
|
|
1491
|
+
- code: lookup_not_found
|
|
1492
|
+
message: Lookup "nosuchMap" was not found on this import.
|
|
1493
|
+
source: resource
|
|
1388
1494
|
components:
|
|
1389
1495
|
securitySchemes:
|
|
1390
1496
|
bearerAuth:
|
package/dist/recyclebin.yml
CHANGED
|
@@ -544,6 +544,7 @@ components:
|
|
|
544
544
|
- McpServer
|
|
545
545
|
- EDIProfile
|
|
546
546
|
- Agent
|
|
547
|
+
- AgentGroup
|
|
547
548
|
- Topic
|
|
548
549
|
- NetworkPolicy
|
|
549
550
|
- Group
|
|
@@ -566,6 +567,7 @@ components:
|
|
|
566
567
|
McpServer: An MCP server endpoint exposing tools and APIs to external AI agents.
|
|
567
568
|
EDIProfile: A trading partner profile for EDI document exchange (X12/EDIFACT).
|
|
568
569
|
Agent: An on-premise agent that proxies API traffic to systems behind a firewall.
|
|
570
|
+
AgentGroup: An ordered set of on-premise agents that a connection can bind instead of one agent.
|
|
569
571
|
Topic: An Event Streams topic that buffers published messages for exports.
|
|
570
572
|
NetworkPolicy: An IP allow/deny list applied to sign-ins, access tokens, and MCP servers.
|
|
571
573
|
Group: An end-user group that bundles roles and resource grants.
|
|
@@ -737,6 +739,7 @@ components:
|
|
|
737
739
|
- mcpservers
|
|
738
740
|
- ediprofiles
|
|
739
741
|
- agents
|
|
742
|
+
- agentgroups
|
|
740
743
|
- topics
|
|
741
744
|
- networkpolicies
|
|
742
745
|
- groups
|
|
@@ -759,6 +762,7 @@ components:
|
|
|
759
762
|
mcpservers: MCP server endpoints for external AI agents.
|
|
760
763
|
ediprofiles: Trading partner profiles for EDI document exchange.
|
|
761
764
|
agents: On-premise agents proxying traffic behind firewalls.
|
|
765
|
+
agentgroups: Ordered sets of on-premise agents that a connection can bind instead of one agent.
|
|
762
766
|
topics: Event Streams topics that buffer published messages.
|
|
763
767
|
networkpolicies: IP allow/deny lists applied to sign-ins, tokens, and MCP servers.
|
|
764
768
|
groups: End-user groups that bundle roles and resource grants.
|
|
@@ -788,6 +792,7 @@ components:
|
|
|
788
792
|
- mcpservers
|
|
789
793
|
- ediprofiles
|
|
790
794
|
- agents
|
|
795
|
+
- agentgroups
|
|
791
796
|
- topics
|
|
792
797
|
- networkpolicies
|
|
793
798
|
- groups
|
|
@@ -809,6 +814,7 @@ components:
|
|
|
809
814
|
mcpservers: MCP server and its dependents.
|
|
810
815
|
ediprofiles: EDI profile and its dependents.
|
|
811
816
|
agents: On-premise agent and its dependents.
|
|
817
|
+
agentgroups: On-premise agent group (restored on its own; groups have no recycle-bin dependents).
|
|
812
818
|
topics: Event Streams topic (restored on its own; topics have no recycle-bin dependents).
|
|
813
819
|
networkpolicies: Network policy (restored on its own; policies have no recycle-bin dependents).
|
|
814
820
|
groups: End-user group (restored on its own).
|
package/package.json
CHANGED