@celigo/api-specs 0.2.2 → 0.2.3-IO-168454-EPIC-fb
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/README.md +71 -80
- package/dist/account.yml +201 -3
- package/dist/agent.yml +7 -0
- package/dist/ai-agent.yml +587 -122
- package/dist/api.yml +5954 -127
- package/dist/apim.yml +0 -4
- package/dist/asynchelper.yml +117 -22
- package/dist/audit.yml +41 -2
- package/dist/bartendertemplate.yml +508 -0
- package/dist/connection.yml +1166 -125
- package/dist/ediprofile.yml +7 -0
- package/dist/editransaction.yml +250 -14
- package/dist/enduser.yml +5778 -35
- package/dist/export.yml +1028 -983
- package/dist/filedefinition.yml +37 -0
- package/dist/filedefinitionrules.yml +722 -0
- package/dist/fileserver.yml +1316 -0
- package/dist/filestorage.yml +712 -330
- package/dist/flow.yml +359 -98
- package/dist/guardrail.yml +280 -489
- package/dist/httpconnectorendpoint.yml +602 -126
- package/dist/httpconnectorresource.yml +1160 -84
- package/dist/iclient.yml +131 -76
- package/dist/import.yml +1937 -236
- package/dist/integration.yml +1024 -42
- package/dist/job.yml +180 -92
- package/dist/lookupcache.yml +7 -0
- package/dist/marketplace.yml +285 -105
- package/dist/mcp-server.yml +6745 -68
- package/dist/notification.yml +33 -8
- package/dist/processor.yml +8 -3
- package/dist/recyclebin.yml +32 -2
- package/dist/script.yml +7 -0
- package/dist/stack.yml +642 -5
- package/dist/storagequery.yml +865 -0
- package/dist/subscription.yml +254 -58
- package/dist/sync.yml +383 -72
- package/dist/template.yml +39 -1
- package/dist/tool.yml +6135 -2240
- package/dist/topic.yml +1783 -0
- package/dist/tradingpartnerconnector.yml +10 -0
- package/dist/user.yml +238 -32
- package/package.json +13 -1
- package/schemas.json +2346 -1885
package/dist/ediprofile.yml
CHANGED
|
@@ -770,6 +770,13 @@ components:
|
|
|
770
770
|
description: Display name of the dependent resource.
|
|
771
771
|
examples:
|
|
772
772
|
- Import Orders to NetSuite
|
|
773
|
+
type:
|
|
774
|
+
type: string
|
|
775
|
+
description: |-
|
|
776
|
+
Sub-type of the dependent resource when its collection distinguishes one, such as
|
|
777
|
+
`stream` for a listener export. Only present for resource types that carry a `type`.
|
|
778
|
+
examples:
|
|
779
|
+
- stream
|
|
773
780
|
paths:
|
|
774
781
|
type: array
|
|
775
782
|
description: |-
|
package/dist/editransaction.yml
CHANGED
|
@@ -209,6 +209,9 @@ paths:
|
|
|
209
209
|
fileType: X12
|
|
210
210
|
documentType: '850'
|
|
211
211
|
documentNumber: PO03302026A
|
|
212
|
+
referenceDocumentNumber:
|
|
213
|
+
- PO PO03302026A
|
|
214
|
+
lifecycleStatus: PO received
|
|
212
215
|
direction: Inbound
|
|
213
216
|
faStatus: inProgress
|
|
214
217
|
sandbox: false
|
|
@@ -267,6 +270,145 @@ paths:
|
|
|
267
270
|
message: please provide a valid date range
|
|
268
271
|
'401':
|
|
269
272
|
$ref: '#/components/responses/401-unauthorized'
|
|
273
|
+
/v1/ediTransactions/signedURL:
|
|
274
|
+
get:
|
|
275
|
+
x-internal: false
|
|
276
|
+
operationId: getEdiTransactionsSignedUrl
|
|
277
|
+
tags:
|
|
278
|
+
- EDI Transactions
|
|
279
|
+
summary: Get signed URL to download EDI transactions CSV
|
|
280
|
+
description: |-
|
|
281
|
+
Exports EDI transaction-log records matching a `lastModified` date window
|
|
282
|
+
to a CSV file and returns a short-lived pre-signed S3 URL for downloading
|
|
283
|
+
it — the API equivalent of the B2B Manager dashboard's transaction
|
|
284
|
+
download.
|
|
285
|
+
|
|
286
|
+
When `startDate` and `endDate` are both omitted, the export covers the
|
|
287
|
+
last 24 hours. When the window matches more records than the server-side
|
|
288
|
+
export cap, the request fails with `exceeded_max_ediTransactions` —
|
|
289
|
+
narrow the window and retry.
|
|
290
|
+
|
|
291
|
+
CSV columns for X12 exports: Doc no., Doc type, FA status, File type,
|
|
292
|
+
Direction, Processed, ISA no., GS no., ST no., ISA sender, ISA receiver,
|
|
293
|
+
GS sender, GS receiver, FA details, MDN status. EDIFACT exports replace
|
|
294
|
+
FA status with ACK status and the ISA/GS/ST columns with UNB no.,
|
|
295
|
+
UNH no., UNB sender, UNB receiver. The Processed timestamp is rendered
|
|
296
|
+
in the account owner's timezone preference.
|
|
297
|
+
|
|
298
|
+
The signed URL expires 15 minutes after generation (S3
|
|
299
|
+
`X-Amz-Expires=900`) — fetch it promptly and do not persist it. To browse
|
|
300
|
+
transaction records via the API instead, use
|
|
301
|
+
`POST /v1/ediTransactions/query`.
|
|
302
|
+
parameters:
|
|
303
|
+
- name: fileType
|
|
304
|
+
in: query
|
|
305
|
+
required: false
|
|
306
|
+
schema:
|
|
307
|
+
type: string
|
|
308
|
+
enum:
|
|
309
|
+
- X12
|
|
310
|
+
- EDIFACT
|
|
311
|
+
x-enumDescriptions:
|
|
312
|
+
X12: Export the ANSI X12 transaction log.
|
|
313
|
+
EDIFACT: Export the UN/EDIFACT transaction log.
|
|
314
|
+
description: |-
|
|
315
|
+
Which transaction log to export. Defaults to `X12` when omitted —
|
|
316
|
+
pass `fileType=EDIFACT` explicitly to export EDIFACT records. The
|
|
317
|
+
two logs produce different CSV columns.
|
|
318
|
+
- name: startDate
|
|
319
|
+
in: query
|
|
320
|
+
required: false
|
|
321
|
+
schema:
|
|
322
|
+
type: integer
|
|
323
|
+
format: int64
|
|
324
|
+
examples:
|
|
325
|
+
- 1742774400000
|
|
326
|
+
description: |-
|
|
327
|
+
Lower bound of the `lastModified` window, as epoch milliseconds
|
|
328
|
+
(non-numeric values are rejected). When both `startDate` and
|
|
329
|
+
`endDate` are omitted, the window defaults to the last 24 hours.
|
|
330
|
+
- name: endDate
|
|
331
|
+
in: query
|
|
332
|
+
required: false
|
|
333
|
+
schema:
|
|
334
|
+
type: integer
|
|
335
|
+
format: int64
|
|
336
|
+
examples:
|
|
337
|
+
- 1745452800000
|
|
338
|
+
description: |-
|
|
339
|
+
Upper bound of the `lastModified` window, as epoch milliseconds
|
|
340
|
+
(non-numeric values are rejected). Must be greater than `startDate`.
|
|
341
|
+
Defaults to the current time when only `startDate` is provided —
|
|
342
|
+
sending `endDate` without `startDate` fails with
|
|
343
|
+
`start_time_or_end_time_missing`.
|
|
344
|
+
responses:
|
|
345
|
+
'200':
|
|
346
|
+
description: |-
|
|
347
|
+
Signed URL for the generated CSV export. Returned even when zero
|
|
348
|
+
records match the window — the CSV then contains only the header
|
|
349
|
+
row.
|
|
350
|
+
content:
|
|
351
|
+
application/json:
|
|
352
|
+
schema:
|
|
353
|
+
$ref: '#/components/schemas/EDITransactionsSignedUrlResponse'
|
|
354
|
+
examples:
|
|
355
|
+
default:
|
|
356
|
+
summary: Signed URL for the CSV export
|
|
357
|
+
value:
|
|
358
|
+
url: https://integrator-userdata-delete-30.s3.us-east-1.amazonaws.com/ediTransactions/5e58483b68b52e5827d56a86/TransactionSummary_20260614_20260713_5e58483b68b52e5827d56a86.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=ASIAEXAMPLE%2F20260713%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260713T120000Z&X-Amz-Expires=900&X-Amz-Security-Token=EXAMPLE-STS-TOKEN&X-Amz-SignedHeaders=host&X-Amz-Signature=7d0e5a9d2f4b6c8e1a3f7b0c5e9a2d4f8b1c3e7a0d5f2b9c4e6a8d1f3b7c0e5a
|
|
359
|
+
'400':
|
|
360
|
+
description: |-
|
|
361
|
+
The request failed validation, or the date window matches more
|
|
362
|
+
records than the server-side export cap.
|
|
363
|
+
content:
|
|
364
|
+
application/json:
|
|
365
|
+
schema:
|
|
366
|
+
$ref: '#/components/schemas/Error'
|
|
367
|
+
examples:
|
|
368
|
+
end_date_without_start_date:
|
|
369
|
+
summary: endDate sent without startDate
|
|
370
|
+
value:
|
|
371
|
+
errors:
|
|
372
|
+
- code: start_time_or_end_time_missing
|
|
373
|
+
message: start time or end time missing
|
|
374
|
+
invalid_start_or_end_time:
|
|
375
|
+
summary: Non-numeric startDate or endDate
|
|
376
|
+
value:
|
|
377
|
+
errors:
|
|
378
|
+
- code: invalid_start_time_or_end_time
|
|
379
|
+
message: please provide a valid start time or end time
|
|
380
|
+
invalid_date_range:
|
|
381
|
+
summary: startDate is not before endDate
|
|
382
|
+
value:
|
|
383
|
+
errors:
|
|
384
|
+
- code: invalid_date_range
|
|
385
|
+
message: please provide a valid date range
|
|
386
|
+
invalid_filetype:
|
|
387
|
+
summary: fileType is not X12 or EDIFACT
|
|
388
|
+
value:
|
|
389
|
+
errors:
|
|
390
|
+
- code: invalid_filetype
|
|
391
|
+
message: 'fileType is invalid. fileType should be one of the following: X12, EDIFACT'
|
|
392
|
+
too_many_records:
|
|
393
|
+
summary: Window matches more records than the export cap
|
|
394
|
+
value:
|
|
395
|
+
errors:
|
|
396
|
+
- code: exceeded_max_ediTransactions
|
|
397
|
+
message: Too many records found. Please narrow your search criteria for more precise results.
|
|
398
|
+
'401':
|
|
399
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
400
|
+
'422':
|
|
401
|
+
description: The account's subscription does not include a B2B / EDI license.
|
|
402
|
+
content:
|
|
403
|
+
application/json:
|
|
404
|
+
schema:
|
|
405
|
+
$ref: '#/components/schemas/Error'
|
|
406
|
+
examples:
|
|
407
|
+
no_edi_license:
|
|
408
|
+
value:
|
|
409
|
+
errors:
|
|
410
|
+
- code: edi_subscription_required
|
|
411
|
+
message: EDI is a premium feature that is not included in your account's current subscription plan. Please upgrade your account to get access to B2B Manager.
|
|
270
412
|
/v1/ediTransactions/{_ediTransactionId}/faDetails:
|
|
271
413
|
get:
|
|
272
414
|
x-internal: false
|
|
@@ -667,9 +809,10 @@ components:
|
|
|
667
809
|
sender/receiver IDs and control numbers — see individual field
|
|
668
810
|
descriptions.
|
|
669
811
|
|
|
670
|
-
Transaction records are retained for
|
|
671
|
-
|
|
672
|
-
|
|
812
|
+
Transaction records are retained for the account's data retention period
|
|
813
|
+
(`dataRetentionPeriod` on account settings: 30, 60, 90 or 180 days after
|
|
814
|
+
last modification; the license sets the ceiling) and then expire; expired
|
|
815
|
+
transactions no longer appear in query results. Unlike most resources, these records
|
|
673
816
|
are not soft-deleted into the recycle bin, and `createdAt` / `deletedAt`
|
|
674
817
|
are not returned.
|
|
675
818
|
properties:
|
|
@@ -686,7 +829,10 @@ components:
|
|
|
686
829
|
readOnly: true
|
|
687
830
|
description: |-
|
|
688
831
|
Timestamp when the record was last updated (e.g. by an faStatus
|
|
689
|
-
change). Also restarts the retention window
|
|
832
|
+
change). Also restarts the retention window — the record is kept for
|
|
833
|
+
the account's `dataRetentionPeriod` (30, 60, 90 or 180 days) after
|
|
834
|
+
this timestamp, so a record can outlive the raw file behind it, whose
|
|
835
|
+
period counts from when the file was stored.
|
|
690
836
|
examples:
|
|
691
837
|
- '2026-04-15T14:30:15.123Z'
|
|
692
838
|
_userId:
|
|
@@ -721,7 +867,9 @@ components:
|
|
|
721
867
|
description: |-
|
|
722
868
|
Job ID of the flow run that processed the functional acknowledgement
|
|
723
869
|
(997 / CONTRL) for this transaction. Present only once an FA has been
|
|
724
|
-
received and processed.
|
|
870
|
+
received and processed. Use this job — not `_flowJobId` — with
|
|
871
|
+
`POST /v1/jobs/{_faFlowJobId}/files/signedURL` (body
|
|
872
|
+
`{ "fileIds": ["<faS3Key>"] }`) to download the FA file.
|
|
725
873
|
x-celigo-refModel: jobs
|
|
726
874
|
examples:
|
|
727
875
|
- 6a05fdbf0f139ef519238dd7
|
|
@@ -756,6 +904,71 @@ components:
|
|
|
756
904
|
documents. May also be an empty string.
|
|
757
905
|
examples:
|
|
758
906
|
- PO03302026A
|
|
907
|
+
referenceDocumentNumber:
|
|
908
|
+
type: array
|
|
909
|
+
description: |-
|
|
910
|
+
Business documents this one refers back to, each as an upper-cased
|
|
911
|
+
`<qualifier> <number>` string — for example the purchase order an
|
|
912
|
+
856 ASN or 810 invoice fulfils. Links the documents of one order
|
|
913
|
+
lifecycle together. Present only when the file definition extracted
|
|
914
|
+
at least one reference.
|
|
915
|
+
items:
|
|
916
|
+
type: string
|
|
917
|
+
examples:
|
|
918
|
+
- - PO RV850-100001
|
|
919
|
+
lifecycleStatus:
|
|
920
|
+
type: string
|
|
921
|
+
enum:
|
|
922
|
+
- PO received
|
|
923
|
+
- PO sent
|
|
924
|
+
- PO Ack received
|
|
925
|
+
- PO Ack sent
|
|
926
|
+
- PO change req received
|
|
927
|
+
- PO change req sent
|
|
928
|
+
- ASN received
|
|
929
|
+
- ASN sent
|
|
930
|
+
- Invoice received
|
|
931
|
+
- Invoice sent
|
|
932
|
+
- Payment received
|
|
933
|
+
- Payment sent
|
|
934
|
+
x-enumDescriptions:
|
|
935
|
+
PO received: Inbound 850 or ORDERS — a purchase order arrived from the trading partner
|
|
936
|
+
PO sent: Outbound 850 or ORDERS — a purchase order was sent to the trading partner
|
|
937
|
+
PO Ack received: Inbound 855 or ORDRSP — the partner acknowledged a purchase order
|
|
938
|
+
PO Ack sent: Outbound 855 or ORDRSP — a purchase-order acknowledgement was sent
|
|
939
|
+
PO change req received: Inbound 860 or ORDCHG — the partner requested a purchase-order change
|
|
940
|
+
PO change req sent: Outbound 860 or ORDCHG — a purchase-order change request was sent
|
|
941
|
+
ASN received: Inbound 856 or DESADV — an advance ship notice arrived
|
|
942
|
+
ASN sent: Outbound 856 or DESADV — an advance ship notice was sent
|
|
943
|
+
Invoice received: Inbound 810 or INVOIC — an invoice arrived
|
|
944
|
+
Invoice sent: Outbound 810 or INVOIC — an invoice was sent
|
|
945
|
+
Payment received: Inbound 820 — a payment or remittance advice arrived
|
|
946
|
+
Payment sent: Outbound 820 — a payment or remittance advice was sent
|
|
947
|
+
description: |-
|
|
948
|
+
Order-lifecycle step this document represents, derived from
|
|
949
|
+
`documentType` and `direction`. Absent when the document type is
|
|
950
|
+
outside the order cycle (functional acknowledgements, inventory and
|
|
951
|
+
status documents) and on records that predate lifecycle tracking.
|
|
952
|
+
examples:
|
|
953
|
+
- PO received
|
|
954
|
+
tradingPartnerName:
|
|
955
|
+
type: string
|
|
956
|
+
description: |-
|
|
957
|
+
Display name of the trading partner the document was exchanged with.
|
|
958
|
+
Present only when the flow resolved the partner; drives the partner
|
|
959
|
+
filter of the B2B Manager dashboard.
|
|
960
|
+
examples:
|
|
961
|
+
- Best Buy
|
|
962
|
+
partnerPairKey:
|
|
963
|
+
type: string
|
|
964
|
+
description: |-
|
|
965
|
+
Upper-cased key identifying the trading-partner pair that exchanged
|
|
966
|
+
the document, shared by every document of that pair so an order
|
|
967
|
+
lifecycle can be followed across documents together with
|
|
968
|
+
`referenceDocumentNumber`. Present only when the flow resolved the
|
|
969
|
+
partner.
|
|
970
|
+
examples:
|
|
971
|
+
- ACME:BESTBUY
|
|
759
972
|
direction:
|
|
760
973
|
type: string
|
|
761
974
|
enum:
|
|
@@ -806,8 +1019,13 @@ components:
|
|
|
806
1019
|
Opaque file identifier for the stored functional-acknowledgement
|
|
807
1020
|
(997 / CONTRL) file. Present only once an FA has been received.
|
|
808
1021
|
One acknowledgement file can cover many transactions, which then
|
|
809
|
-
share the same `faS3Key`.
|
|
810
|
-
`
|
|
1022
|
+
share the same `faS3Key`. To download the FA file, combine with
|
|
1023
|
+
`_faFlowJobId` (the FA-processing flow run — not `_flowJobId`) and
|
|
1024
|
+
call `POST /v1/jobs/{_faFlowJobId}/files/signedURL` with body
|
|
1025
|
+
`{ "fileIds": ["<faS3Key>"] }`. For parsed FA failure details, use
|
|
1026
|
+
`GET /v1/ediTransactions/{_ediTransactionId}/faDetails?fileType=<X12|EDIFACT>`
|
|
1027
|
+
— pass the transaction's own `fileType`; the route answers 404 without it
|
|
1028
|
+
(available only for transactions with a rejected FA status).
|
|
811
1029
|
examples:
|
|
812
1030
|
- 9a7c3e14b2af45d8bc0e6090c5be6afa
|
|
813
1031
|
mdnStatus:
|
|
@@ -1047,13 +1265,13 @@ components:
|
|
|
1047
1265
|
- rejected
|
|
1048
1266
|
- failed
|
|
1049
1267
|
x-enumDescriptions:
|
|
1050
|
-
inProgress:
|
|
1051
|
-
notApplicable:
|
|
1052
|
-
notReceived:
|
|
1053
|
-
accepted:
|
|
1054
|
-
acceptedWithErrors:
|
|
1055
|
-
rejected:
|
|
1056
|
-
failed:
|
|
1268
|
+
inProgress: Awaiting functional acknowledgment from the trading partner.
|
|
1269
|
+
notApplicable: No functional acknowledgment expected — the document is itself an FA, or the trading partner does not require one.
|
|
1270
|
+
notReceived: Functional acknowledgment expected but not yet received.
|
|
1271
|
+
accepted: Functional acknowledgment received and transaction was accepted.
|
|
1272
|
+
acceptedWithErrors: Functional acknowledgment received with errors but transaction was accepted.
|
|
1273
|
+
rejected: Functional acknowledgment received and transaction was rejected.
|
|
1274
|
+
failed: Functional acknowledgment processing failed.
|
|
1057
1275
|
description: |-
|
|
1058
1276
|
Filter by functional acknowledgment status. Pass an array of one or
|
|
1059
1277
|
more values to match. Must be an array, not a bare string. Omit to
|
|
@@ -1118,6 +1336,24 @@ components:
|
|
|
1118
1336
|
description: |-
|
|
1119
1337
|
Opaque cursor string. Pass as `pageToken` in the next request
|
|
1120
1338
|
body to retrieve the next page.
|
|
1339
|
+
EDITransactionsSignedUrlResponse:
|
|
1340
|
+
type: object
|
|
1341
|
+
description: |-
|
|
1342
|
+
Location of the CSV export generated from the matching EDI transaction
|
|
1343
|
+
records.
|
|
1344
|
+
properties:
|
|
1345
|
+
url:
|
|
1346
|
+
type: string
|
|
1347
|
+
format: uri
|
|
1348
|
+
description: |-
|
|
1349
|
+
Pre-signed S3 URL that streams the CSV export when fetched with a
|
|
1350
|
+
plain GET (no auth headers needed). Expires 15 minutes after
|
|
1351
|
+
generation (S3 `X-Amz-Expires=900`) — fetch it promptly, do not
|
|
1352
|
+
persist it.
|
|
1353
|
+
examples:
|
|
1354
|
+
- https://integrator-userdata-delete-30.s3.us-east-1.amazonaws.com/ediTransactions/5e58483b68b52e5827d56a86/TransactionSummary_20260614_20260713_5e58483b68b52e5827d56a86.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=4f9b2c1e8a3d7f0b5c6e9a2d4f8b1c3e7a0d5f2b9c4e6a8d1f3b7c0e5a9d2f4b
|
|
1355
|
+
required:
|
|
1356
|
+
- url
|
|
1121
1357
|
EDITransactionMdnResponse:
|
|
1122
1358
|
type: object
|
|
1123
1359
|
description: |-
|