@celigo/api-specs 0.2.136 → 0.2.138
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/api.yml +5 -15
- package/dist/asynchelper.yml +5 -15
- package/dist/connection.yml +5 -15
- package/dist/ediprofile.yml +24 -8
- package/dist/editransaction.yml +0 -3
- package/dist/enduser.yml +5 -15
- package/dist/export.yml +9 -17
- package/dist/filedefinition.yml +61 -78
- package/dist/guardrail.yml +5 -15
- package/dist/iclient.yml +5 -15
- package/dist/import.yml +5 -15
- package/dist/integration.yml +77 -38
- package/dist/lookupcache.yml +21 -5
- package/dist/marketplace.yml +2 -2
- package/dist/mcp-server.yml +5 -15
- package/dist/recyclebin.yml +15 -1
- package/dist/template.yml +36 -8
- package/dist/tool.yml +9 -17
- package/dist/tradingpartnerconnector.yml +24 -8
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/api.yml
CHANGED
|
@@ -4724,21 +4724,11 @@ components:
|
|
|
4724
4724
|
format: objectId
|
|
4725
4725
|
x-celigo-refModel: connectors
|
|
4726
4726
|
readOnly: true
|
|
4727
|
-
description:
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
that defines the structure, behavior, and templates for this resource.
|
|
4733
|
-
|
|
4734
|
-
The integration app is the published template that can be installed
|
|
4735
|
-
multiple times across different accounts, with each installation creating
|
|
4736
|
-
a separate integration instance (referenced by _integrationId).
|
|
4737
|
-
|
|
4738
|
-
This reference enables:
|
|
4739
|
-
- Identifying the source integration app for this resource
|
|
4740
|
-
- Determining which template version is being used
|
|
4741
|
-
- Linking to documentation, support, and marketplace information
|
|
4727
|
+
description: |-
|
|
4728
|
+
Integration App (connector) that defines this resource. Present only on resources an
|
|
4729
|
+
Integration App owns. The app locks parts of these documents, and a PUT that changes a
|
|
4730
|
+
locked field answers 200 but keeps the stored value, so read the document back to confirm
|
|
4731
|
+
a change.
|
|
4742
4732
|
examples:
|
|
4743
4733
|
- 5e8d43a1b9e5a80011a35f1b
|
|
4744
4734
|
x-celigo-ai-guidance:
|
package/dist/asynchelper.yml
CHANGED
|
@@ -3482,21 +3482,11 @@ components:
|
|
|
3482
3482
|
format: objectId
|
|
3483
3483
|
x-celigo-refModel: connectors
|
|
3484
3484
|
readOnly: true
|
|
3485
|
-
description:
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
that defines the structure, behavior, and templates for this resource.
|
|
3491
|
-
|
|
3492
|
-
The integration app is the published template that can be installed
|
|
3493
|
-
multiple times across different accounts, with each installation creating
|
|
3494
|
-
a separate integration instance (referenced by _integrationId).
|
|
3495
|
-
|
|
3496
|
-
This reference enables:
|
|
3497
|
-
- Identifying the source integration app for this resource
|
|
3498
|
-
- Determining which template version is being used
|
|
3499
|
-
- Linking to documentation, support, and marketplace information
|
|
3485
|
+
description: |-
|
|
3486
|
+
Integration App (connector) that defines this resource. Present only on resources an
|
|
3487
|
+
Integration App owns. The app locks parts of these documents, and a PUT that changes a
|
|
3488
|
+
locked field answers 200 but keeps the stored value, so read the document back to confirm
|
|
3489
|
+
a change.
|
|
3500
3490
|
examples:
|
|
3501
3491
|
- 5e8d43a1b9e5a80011a35f1b
|
|
3502
3492
|
x-celigo-ai-guidance:
|
package/dist/connection.yml
CHANGED
|
@@ -3836,21 +3836,11 @@ components:
|
|
|
3836
3836
|
format: objectId
|
|
3837
3837
|
x-celigo-refModel: connectors
|
|
3838
3838
|
readOnly: true
|
|
3839
|
-
description:
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
that defines the structure, behavior, and templates for this resource.
|
|
3845
|
-
|
|
3846
|
-
The integration app is the published template that can be installed
|
|
3847
|
-
multiple times across different accounts, with each installation creating
|
|
3848
|
-
a separate integration instance (referenced by _integrationId).
|
|
3849
|
-
|
|
3850
|
-
This reference enables:
|
|
3851
|
-
- Identifying the source integration app for this resource
|
|
3852
|
-
- Determining which template version is being used
|
|
3853
|
-
- Linking to documentation, support, and marketplace information
|
|
3839
|
+
description: |-
|
|
3840
|
+
Integration App (connector) that defines this resource. Present only on resources an
|
|
3841
|
+
Integration App owns. The app locks parts of these documents, and a PUT that changes a
|
|
3842
|
+
locked field answers 200 but keeps the stored value, so read the document back to confirm
|
|
3843
|
+
a change.
|
|
3854
3844
|
examples:
|
|
3855
3845
|
- 5e8d43a1b9e5a80011a35f1b
|
|
3856
3846
|
x-celigo-ai-guidance:
|
package/dist/ediprofile.yml
CHANGED
|
@@ -409,13 +409,19 @@ components:
|
|
|
409
409
|
- edifact
|
|
410
410
|
tpInterchangeId:
|
|
411
411
|
type: string
|
|
412
|
-
description:
|
|
412
|
+
description: |-
|
|
413
|
+
Trading partner's interchange identifier: the sender ID on files the partner sends and the
|
|
414
|
+
receiver ID on files you send (X12 ISA06 and ISA08 respectively; the UNB sender and
|
|
415
|
+
recipient in EDIFACT).
|
|
413
416
|
examples:
|
|
414
417
|
- ACMECORP
|
|
415
418
|
- '5412345678901'
|
|
416
419
|
myInterchangeId:
|
|
417
420
|
type: string
|
|
418
|
-
description:
|
|
421
|
+
description: |-
|
|
422
|
+
Your interchange identifier: the receiver ID on files the partner sends and the sender ID
|
|
423
|
+
on files you send (X12 ISA08 and ISA06 respectively; the UNB recipient and sender in
|
|
424
|
+
EDIFACT).
|
|
419
425
|
examples:
|
|
420
426
|
- MYCOMPANY
|
|
421
427
|
- '1234567890123'
|
|
@@ -453,9 +459,12 @@ components:
|
|
|
453
459
|
- '00'
|
|
454
460
|
isa02:
|
|
455
461
|
type: string
|
|
456
|
-
description:
|
|
462
|
+
description: |-
|
|
463
|
+
X12 ISA02 — Authorization Information. When parsing, an inbound file's ISA02 must match
|
|
464
|
+
this value after trimming (`data_mismatch` otherwise), so a blank ISA02 matches `""` and
|
|
465
|
+
not ten spaces.
|
|
457
466
|
examples:
|
|
458
|
-
- '
|
|
467
|
+
- ''
|
|
459
468
|
isa03:
|
|
460
469
|
type: string
|
|
461
470
|
enum:
|
|
@@ -469,9 +478,12 @@ components:
|
|
|
469
478
|
- '00'
|
|
470
479
|
isa04:
|
|
471
480
|
type: string
|
|
472
|
-
description:
|
|
481
|
+
description: |-
|
|
482
|
+
X12 ISA04 — Security Information. When parsing, an inbound file's ISA04 must match this
|
|
483
|
+
value after trimming (`data_mismatch` otherwise), so a blank ISA04 matches `""` and not
|
|
484
|
+
ten spaces.
|
|
473
485
|
examples:
|
|
474
|
-
- '
|
|
486
|
+
- ''
|
|
475
487
|
tpIdQualifier:
|
|
476
488
|
type: string
|
|
477
489
|
description: |
|
|
@@ -539,12 +551,16 @@ components:
|
|
|
539
551
|
- ':'
|
|
540
552
|
tpGroupId:
|
|
541
553
|
type: string
|
|
542
|
-
description:
|
|
554
|
+
description: |-
|
|
555
|
+
Trading partner's X12 application code: GS02 (sender) on files the partner sends and GS03
|
|
556
|
+
(receiver) on files you send.
|
|
543
557
|
examples:
|
|
544
558
|
- ACME
|
|
545
559
|
myGroupId:
|
|
546
560
|
type: string
|
|
547
|
-
description:
|
|
561
|
+
description: |-
|
|
562
|
+
Your X12 application code: GS03 (receiver) on files the partner sends and GS02 (sender) on
|
|
563
|
+
files you send.
|
|
548
564
|
examples:
|
|
549
565
|
- MYAPP
|
|
550
566
|
gs07:
|
package/dist/editransaction.yml
CHANGED
package/dist/enduser.yml
CHANGED
|
@@ -1936,21 +1936,11 @@ components:
|
|
|
1936
1936
|
format: objectId
|
|
1937
1937
|
x-celigo-refModel: connectors
|
|
1938
1938
|
readOnly: true
|
|
1939
|
-
description:
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
that defines the structure, behavior, and templates for this resource.
|
|
1945
|
-
|
|
1946
|
-
The integration app is the published template that can be installed
|
|
1947
|
-
multiple times across different accounts, with each installation creating
|
|
1948
|
-
a separate integration instance (referenced by _integrationId).
|
|
1949
|
-
|
|
1950
|
-
This reference enables:
|
|
1951
|
-
- Identifying the source integration app for this resource
|
|
1952
|
-
- Determining which template version is being used
|
|
1953
|
-
- Linking to documentation, support, and marketplace information
|
|
1939
|
+
description: |-
|
|
1940
|
+
Integration App (connector) that defines this resource. Present only on resources an
|
|
1941
|
+
Integration App owns. The app locks parts of these documents, and a PUT that changes a
|
|
1942
|
+
locked field answers 200 but keeps the stored value, so read the document back to confirm
|
|
1943
|
+
a change.
|
|
1954
1944
|
examples:
|
|
1955
1945
|
- 5e8d43a1b9e5a80011a35f1b
|
|
1956
1946
|
x-celigo-ai-guidance:
|
package/dist/export.yml
CHANGED
|
@@ -16385,8 +16385,10 @@ components:
|
|
|
16385
16385
|
description: |-
|
|
16386
16386
|
EDI profile this export uses to parse incoming X12 or EDIFACT documents into structured
|
|
16387
16387
|
JSON — it supplies the envelope qualifiers, delimiters, version, and validation rules.
|
|
16388
|
-
Set it when the export parses or validates EDI files
|
|
16389
|
-
|
|
16388
|
+
Set it when the export parses or validates EDI files (a save with a `delimited/x12` file
|
|
16389
|
+
definition at `version` `"2"` and no profile fails with 422 `missing_ediProfile`); omit
|
|
16390
|
+
it otherwise. Accepted on the file-reading exports — FTP, AS2, S3 and HTTP file mode
|
|
16391
|
+
(`http.type: "file"`).
|
|
16390
16392
|
x-celigo-ai-guidance:
|
|
16391
16393
|
- 'An HTTP export accepts this field only in file mode (`http.type: "file"`, the folder mode of file-provider connectors such as Google Drive, Box, Dropbox, Azure Blob, Google Cloud Storage and Celigo Storage). On a REST/records HTTP export the save is rejected with `not_supported`: "EDIProfile can only be associated with the export of type FTP, AS2, S3 or HTTP file."'
|
|
16392
16394
|
examples:
|
|
@@ -16571,21 +16573,11 @@ components:
|
|
|
16571
16573
|
format: objectId
|
|
16572
16574
|
x-celigo-refModel: connectors
|
|
16573
16575
|
readOnly: true
|
|
16574
|
-
description:
|
|
16575
|
-
|
|
16576
|
-
|
|
16577
|
-
|
|
16578
|
-
|
|
16579
|
-
that defines the structure, behavior, and templates for this resource.
|
|
16580
|
-
|
|
16581
|
-
The integration app is the published template that can be installed
|
|
16582
|
-
multiple times across different accounts, with each installation creating
|
|
16583
|
-
a separate integration instance (referenced by _integrationId).
|
|
16584
|
-
|
|
16585
|
-
This reference enables:
|
|
16586
|
-
- Identifying the source integration app for this resource
|
|
16587
|
-
- Determining which template version is being used
|
|
16588
|
-
- Linking to documentation, support, and marketplace information
|
|
16576
|
+
description: |-
|
|
16577
|
+
Integration App (connector) that defines this resource. Present only on resources an
|
|
16578
|
+
Integration App owns. The app locks parts of these documents, and a PUT that changes a
|
|
16579
|
+
locked field answers 200 but keeps the stored value, so read the document back to confirm
|
|
16580
|
+
a change.
|
|
16589
16581
|
examples:
|
|
16590
16582
|
- 5e8d43a1b9e5a80011a35f1b
|
|
16591
16583
|
x-celigo-ai-guidance:
|
package/dist/filedefinition.yml
CHANGED
|
@@ -460,9 +460,9 @@ components:
|
|
|
460
460
|
- **Delimited (CSV / TSV)** — one element per column. `name` is
|
|
461
461
|
the human label; `value` is the column id used to address the
|
|
462
462
|
field downstream (e.g. `orderId`, `customerName`).
|
|
463
|
-
- **Fixed-width** —
|
|
464
|
-
|
|
465
|
-
|
|
463
|
+
- **Fixed-width** — one element per column, gaps included, each
|
|
464
|
+
with a `length`. Columns are read in element order;
|
|
465
|
+
`startPosition` doesn't move a column.
|
|
466
466
|
- **EDI X12 / EDIFACT** — element values follow the segmentNN
|
|
467
467
|
convention (`ISA01`, `BEG03`, `UNB02`). Segment-element
|
|
468
468
|
definitions whose value comes from the trading-partner profile
|
|
@@ -489,7 +489,9 @@ components:
|
|
|
489
489
|
descriptive text such as `Authorization Information
|
|
490
490
|
Qualifier`; for delimited data columns, the output key (the
|
|
491
491
|
parser uses `name` as the field key in each parsed
|
|
492
|
-
record); for the row-type marker, equals `value
|
|
492
|
+
record); for the row-type marker, equals `value` (in a
|
|
493
|
+
container's child rule, a marker whose `name` differs from
|
|
494
|
+
its `value` parses to an empty record without an error).
|
|
493
495
|
examples:
|
|
494
496
|
- Order ID
|
|
495
497
|
- Authorization Information Qualifier
|
|
@@ -657,28 +659,30 @@ components:
|
|
|
657
659
|
type: integer
|
|
658
660
|
minimum: 1
|
|
659
661
|
description: |
|
|
660
|
-
|
|
661
|
-
`length`
|
|
662
|
-
|
|
663
|
-
|
|
662
|
+
Doesn't place the column: fixed-width columns are read in
|
|
663
|
+
element order, each `length` characters wide, so a definition
|
|
664
|
+
that skips columns misreads them without an error. Describe a
|
|
665
|
+
gap with a placeholder element of the gap's width instead.
|
|
664
666
|
length:
|
|
665
667
|
type: integer
|
|
666
668
|
minimum: 1
|
|
667
669
|
description: |
|
|
668
|
-
Fixed-width: column width in characters.
|
|
669
|
-
|
|
670
|
+
Fixed-width: column width in characters. Every fixed-width
|
|
671
|
+
element needs one; the parser refuses an element without it
|
|
672
|
+
(`Every fixed width element must provide a "length" property
|
|
673
|
+
between 1 and 512.`).
|
|
670
674
|
start:
|
|
671
675
|
type: integer
|
|
672
676
|
description: |
|
|
673
|
-
Legacy fixed-width start offset
|
|
674
|
-
|
|
675
|
-
`
|
|
677
|
+
Legacy fixed-width start offset, paired with `end`. It doesn't
|
|
678
|
+
replace `length`: an element with `start`/`end` and no
|
|
679
|
+
`length` is refused.
|
|
676
680
|
end:
|
|
677
681
|
type: integer
|
|
678
682
|
description: |
|
|
679
|
-
Legacy fixed-width end offset
|
|
680
|
-
|
|
681
|
-
`
|
|
683
|
+
Legacy fixed-width end offset, paired with `start`. It doesn't
|
|
684
|
+
replace `length`: an element with `start`/`end` and no
|
|
685
|
+
`length` is refused.
|
|
682
686
|
CompositeValue:
|
|
683
687
|
type: object
|
|
684
688
|
additionalProperties: true
|
|
@@ -735,11 +739,11 @@ components:
|
|
|
735
739
|
- **Branch rule** — has `children` (and optionally `elements`).
|
|
736
740
|
Used to nest loops / sub-segments. EDI envelopes always nest
|
|
737
741
|
their inner segments under `children`.
|
|
738
|
-
- **Container rule** — sets `container: true`.
|
|
739
|
-
|
|
740
|
-
`
|
|
741
|
-
`
|
|
742
|
-
|
|
742
|
+
- **Container rule** — sets `container: true`. A loop wrapper
|
|
743
|
+
that produces no row of its own: a group `name`, a
|
|
744
|
+
`maxOccurrence` above `1` and no `elements`, with the repeated
|
|
745
|
+
row's rule under `children`. It is the only shape that repeats
|
|
746
|
+
rows (see `container`).
|
|
743
747
|
|
|
744
748
|
**Envelopes and `closeRule`**
|
|
745
749
|
|
|
@@ -782,7 +786,9 @@ components:
|
|
|
782
786
|
`name` and `value` set to the segment id (e.g.
|
|
783
787
|
`{"name": "ISA", "value": "ISA"}`) followed by one element
|
|
784
788
|
per segment-element (`ISA01`, `ISA02`, ...). Delimited
|
|
785
|
-
rules use one element per column.
|
|
789
|
+
rules use one element per column. Omit the key on a rule
|
|
790
|
+
with no elements of its own, such as a container wrapper: an
|
|
791
|
+
empty `elements` array fails the parse.
|
|
786
792
|
items:
|
|
787
793
|
$ref: '#/components/schemas/Element'
|
|
788
794
|
children:
|
|
@@ -822,13 +828,16 @@ components:
|
|
|
822
828
|
type: boolean
|
|
823
829
|
description: |
|
|
824
830
|
Marks this rule as a pure loop wrapper that does not emit a
|
|
825
|
-
row of its own
|
|
826
|
-
|
|
827
|
-
`
|
|
831
|
+
row of its own, and is the only way rows repeat: give the
|
|
832
|
+
wrapper a group `name`, a `maxOccurrence` above `1` and no
|
|
833
|
+
`elements`, and put the repeated row's rule under its
|
|
834
|
+
`children` (for EDI, the `ST` or `UNH` rule with its elements,
|
|
835
|
+
children and `closeRule`). Parsed rows come back as an array
|
|
836
|
+
under the wrapper's `name`; `container: true` on a rule with
|
|
837
|
+
its own `elements` isn't honored as a loop.
|
|
828
838
|
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
`container: true` paired with `maxOccurrence <= 1` with
|
|
839
|
+
The parser rejects `container: true` paired with
|
|
840
|
+
`maxOccurrence <= 1` with
|
|
832
841
|
`Invalid rules: maxOccurences should be greater than '1',
|
|
833
842
|
when the container is 'true'`.
|
|
834
843
|
default: false
|
|
@@ -840,10 +849,10 @@ components:
|
|
|
840
849
|
minimum: 1
|
|
841
850
|
description: |
|
|
842
851
|
Upper bound on how many times this rule may repeat at its
|
|
843
|
-
current position.
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
852
|
+
current position. Rows repeat only under a `container`
|
|
853
|
+
wrapper, so larger values such as `1000` go on the wrapper of
|
|
854
|
+
an `ST` transaction set or a line-item loop; EDI envelopes use
|
|
855
|
+
`1` (one ISA per file, one GS per group).
|
|
847
856
|
|
|
848
857
|
Required to be greater than `1` when `container` is
|
|
849
858
|
`true`.
|
|
@@ -972,14 +981,15 @@ components:
|
|
|
972
981
|
description: EDI document type for acknowledgement documents.
|
|
973
982
|
globalId:
|
|
974
983
|
type: string
|
|
975
|
-
description:
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
984
|
+
description: |-
|
|
985
|
+
Entry in the platform's registry of standard EDI document definitions that this
|
|
986
|
+
definition is built from. On an EDI-licensed account an X12 or EDIFACT create without
|
|
987
|
+
it fails with 422 `global_id_not_provided`, and one naming an id the registry doesn't
|
|
988
|
+
have fails with 422 `invalid_global_id`. No public route lists the registry, so copy the
|
|
989
|
+
`globalId` of an existing definition for the same standard document. Immutable after
|
|
990
|
+
creation.
|
|
981
991
|
examples:
|
|
982
|
-
-
|
|
992
|
+
- Generic-4010-850-PurchaseOrder
|
|
983
993
|
rules:
|
|
984
994
|
type: array
|
|
985
995
|
x-celigo-agent:
|
|
@@ -991,12 +1001,14 @@ components:
|
|
|
991
1001
|
`format` (delimited, EDI X12/EDIFACT, and fixed-width): the first
|
|
992
1002
|
element is the file's root rule, EDI envelopes nest through
|
|
993
1003
|
`Rule.children`, and openers pair with trailers via
|
|
994
|
-
`Rule.closeRule`. Fixed-width rules
|
|
995
|
-
each element
|
|
1004
|
+
`Rule.closeRule`. Fixed-width rules list every column in order,
|
|
1005
|
+
each element with its `length`.
|
|
996
1006
|
|
|
997
1007
|
The cleared / "no rules configured" form is an empty array `[]`.
|
|
998
1008
|
The serialized rules tree must not exceed 20 KB once attached to
|
|
999
|
-
the parent file definition document.
|
|
1009
|
+
the parent file definition document. A save doesn't parse a sample,
|
|
1010
|
+
so a tree that saves can still fail or drop rows when parsed; test
|
|
1011
|
+
it against a sample with `POST /v1/processors/structuredFileParser`.
|
|
1000
1012
|
items:
|
|
1001
1013
|
$ref: '#/components/schemas/Rule'
|
|
1002
1014
|
fixed:
|
|
@@ -1101,43 +1113,14 @@ components:
|
|
|
1101
1113
|
- ext-filedef-12345
|
|
1102
1114
|
x-celigo-ai-guidance:
|
|
1103
1115
|
- |-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
columns. For EDI (X12 / EDIFACT) the array still has one root
|
|
1108
|
-
rule, but that rule's ``children`` build the
|
|
1109
|
-
envelope → group → transaction → segment hierarchy.
|
|
1116
|
+
`rules` is an ordered array of `Rule` nodes for every `format`, fixed-width included. For
|
|
1117
|
+
EDI (X12 / EDIFACT) the root rule's `children` build the envelope → group → transaction →
|
|
1118
|
+
segment hierarchy.
|
|
1110
1119
|
- |-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
## SHAPE — VARIES BY ``format``
|
|
1116
|
-
|
|
1117
|
-
Two valid top-level shapes, selected by the parent file definition's
|
|
1118
|
-
``format``:
|
|
1119
|
-
|
|
1120
|
-
- **Array of ``Rule``** — used by every delimited variant
|
|
1121
|
-
(``delimited``, ``delimited/x12``, ``delimited/edifact``, etc.).
|
|
1122
|
-
The first element is the file's root rule; for EDI, deeper
|
|
1123
|
-
envelopes nest through ``Rule.children``.
|
|
1124
|
-
|
|
1125
|
-
- **Single ``Rule`` object** — used by ``format: "fixed"`` (fixed-
|
|
1126
|
-
width). The whole file is described by one rule whose
|
|
1127
|
-
``elements`` enumerate the columns by ``startPosition`` /
|
|
1128
|
-
``length``.
|
|
1129
|
-
|
|
1130
|
-
The ``oneOf`` below documents both shapes. Tooling that consumes
|
|
1131
|
-
this spec to drive UI rendering or generation should branch on
|
|
1132
|
-
``format`` to decide which arm applies — there is no
|
|
1133
|
-
discriminator field on the rules tree itself.
|
|
1134
|
-
|
|
1135
|
-
## EMPTY / CLEARED FORM
|
|
1136
|
-
|
|
1137
|
-
A cleared rules tree is ``[]`` for delimited / EDI and ``{}`` for
|
|
1138
|
-
fixed-width. Both empty forms are accepted by the parser as
|
|
1139
|
-
"no rules configured" and round-trip cleanly through the
|
|
1140
|
-
structuredFileParser.
|
|
1120
|
+
Rows repeat only under an elements-less `container: true` rule (a group `name`,
|
|
1121
|
+
`maxOccurrence` above 1, no `elements`) whose child rule carries the row's elements. A
|
|
1122
|
+
row-marker rule with no such container above it matches only the first row, and the parser
|
|
1123
|
+
drops the rest without an error.
|
|
1141
1124
|
ResourceResponse:
|
|
1142
1125
|
type: object
|
|
1143
1126
|
description: Response
|
package/dist/guardrail.yml
CHANGED
|
@@ -516,21 +516,11 @@ components:
|
|
|
516
516
|
format: objectId
|
|
517
517
|
x-celigo-refModel: connectors
|
|
518
518
|
readOnly: true
|
|
519
|
-
description:
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
that defines the structure, behavior, and templates for this resource.
|
|
525
|
-
|
|
526
|
-
The integration app is the published template that can be installed
|
|
527
|
-
multiple times across different accounts, with each installation creating
|
|
528
|
-
a separate integration instance (referenced by _integrationId).
|
|
529
|
-
|
|
530
|
-
This reference enables:
|
|
531
|
-
- Identifying the source integration app for this resource
|
|
532
|
-
- Determining which template version is being used
|
|
533
|
-
- Linking to documentation, support, and marketplace information
|
|
519
|
+
description: |-
|
|
520
|
+
Integration App (connector) that defines this resource. Present only on resources an
|
|
521
|
+
Integration App owns. The app locks parts of these documents, and a PUT that changes a
|
|
522
|
+
locked field answers 200 but keeps the stored value, so read the document back to confirm
|
|
523
|
+
a change.
|
|
534
524
|
examples:
|
|
535
525
|
- 5e8d43a1b9e5a80011a35f1b
|
|
536
526
|
x-celigo-ai-guidance:
|
package/dist/iclient.yml
CHANGED
|
@@ -4317,21 +4317,11 @@ components:
|
|
|
4317
4317
|
format: objectId
|
|
4318
4318
|
x-celigo-refModel: connectors
|
|
4319
4319
|
readOnly: true
|
|
4320
|
-
description:
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
that defines the structure, behavior, and templates for this resource.
|
|
4326
|
-
|
|
4327
|
-
The integration app is the published template that can be installed
|
|
4328
|
-
multiple times across different accounts, with each installation creating
|
|
4329
|
-
a separate integration instance (referenced by _integrationId).
|
|
4330
|
-
|
|
4331
|
-
This reference enables:
|
|
4332
|
-
- Identifying the source integration app for this resource
|
|
4333
|
-
- Determining which template version is being used
|
|
4334
|
-
- Linking to documentation, support, and marketplace information
|
|
4320
|
+
description: |-
|
|
4321
|
+
Integration App (connector) that defines this resource. Present only on resources an
|
|
4322
|
+
Integration App owns. The app locks parts of these documents, and a PUT that changes a
|
|
4323
|
+
locked field answers 200 but keeps the stored value, so read the document back to confirm
|
|
4324
|
+
a change.
|
|
4335
4325
|
examples:
|
|
4336
4326
|
- 5e8d43a1b9e5a80011a35f1b
|
|
4337
4327
|
x-celigo-ai-guidance:
|
package/dist/import.yml
CHANGED
|
@@ -16774,21 +16774,11 @@ components:
|
|
|
16774
16774
|
format: objectId
|
|
16775
16775
|
x-celigo-refModel: connectors
|
|
16776
16776
|
readOnly: true
|
|
16777
|
-
description:
|
|
16778
|
-
|
|
16779
|
-
|
|
16780
|
-
|
|
16781
|
-
|
|
16782
|
-
that defines the structure, behavior, and templates for this resource.
|
|
16783
|
-
|
|
16784
|
-
The integration app is the published template that can be installed
|
|
16785
|
-
multiple times across different accounts, with each installation creating
|
|
16786
|
-
a separate integration instance (referenced by _integrationId).
|
|
16787
|
-
|
|
16788
|
-
This reference enables:
|
|
16789
|
-
- Identifying the source integration app for this resource
|
|
16790
|
-
- Determining which template version is being used
|
|
16791
|
-
- Linking to documentation, support, and marketplace information
|
|
16777
|
+
description: |-
|
|
16778
|
+
Integration App (connector) that defines this resource. Present only on resources an
|
|
16779
|
+
Integration App owns. The app locks parts of these documents, and a PUT that changes a
|
|
16780
|
+
locked field answers 200 but keeps the stored value, so read the document back to confirm
|
|
16781
|
+
a change.
|
|
16792
16782
|
examples:
|
|
16793
16783
|
- 5e8d43a1b9e5a80011a35f1b
|
|
16794
16784
|
x-celigo-ai-guidance:
|
package/dist/integration.yml
CHANGED
|
@@ -29,9 +29,10 @@ tags:
|
|
|
29
29
|
`install`, `installSteps`) also appear on a standard integration created by the
|
|
30
30
|
UI's clone-and-install, so they do not by themselves mean Integration App.
|
|
31
31
|
|
|
32
|
-
Integrations support **Integration Lifecycle Management (ILM)**:
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
Integrations support **Integration Lifecycle Management (ILM)**: revisions (snapshot,
|
|
33
|
+
pull, revert) promote changes between an integration and its lifecycle-linked clones,
|
|
34
|
+
and carry every resource the integration contains. Only the UI's clone-and-install
|
|
35
|
+
links a clone; `POST /v1/integrations/{_id}/clone` makes a standalone copy.
|
|
35
36
|
|
|
36
37
|
## Integration schema
|
|
37
38
|
|
|
@@ -339,7 +340,8 @@ paths:
|
|
|
339
340
|
- Integrations
|
|
340
341
|
description: |-
|
|
341
342
|
Deletes an integration. The integration is soft-deleted and retained in the
|
|
342
|
-
recycle bin for 30 days before permanent removal.
|
|
343
|
+
recycle bin for 30 days before permanent removal. Delete the APIs and Tools it
|
|
344
|
+
contains, and remove its aliases that point at lookup caches, first.
|
|
343
345
|
parameters:
|
|
344
346
|
- name: _id
|
|
345
347
|
in: path
|
|
@@ -359,14 +361,28 @@ paths:
|
|
|
359
361
|
'404':
|
|
360
362
|
$ref: '#/components/responses/404-not-found'
|
|
361
363
|
'422':
|
|
362
|
-
|
|
364
|
+
description: |-
|
|
365
|
+
The integration still contains resources that must be deleted first, APIs and Tools
|
|
366
|
+
among them (`dependencies_not_deleted`, one entry per blocking resource), or one of its
|
|
367
|
+
`aliases[]` still points at a lookup cache.
|
|
368
|
+
content:
|
|
369
|
+
application/json:
|
|
370
|
+
schema:
|
|
371
|
+
$ref: '#/components/schemas/Error'
|
|
372
|
+
examples:
|
|
373
|
+
lookup_cache_alias:
|
|
374
|
+
value:
|
|
375
|
+
errors:
|
|
376
|
+
- message: integration 6842261335b64c0bcb308e4f owns alias "customeridcache" pointing to lookupcache 68680d7111d1437fbcbce534. Alias must be deleted before this resource can be deleted.
|
|
363
377
|
/v1/integrations/{_id}/clone:
|
|
364
378
|
post:
|
|
365
379
|
x-internal: false
|
|
366
380
|
summary: Clone an integration
|
|
367
381
|
description: |
|
|
368
|
-
Creates a copy of an existing integration
|
|
369
|
-
|
|
382
|
+
Creates a standalone copy of an existing integration: the copy records its source in
|
|
383
|
+
`_sourceId` but isn't lifecycle-linked to it, so a pull between the two finds no changes.
|
|
384
|
+
When the source has registered connections, remap each one via `connectionMap`; mapped
|
|
385
|
+
connections are reused, not cloned.
|
|
370
386
|
operationId: cloneIntegration
|
|
371
387
|
tags:
|
|
372
388
|
- Integrations
|
|
@@ -416,6 +432,28 @@ paths:
|
|
|
416
432
|
$ref: '#/components/responses/401-unauthorized'
|
|
417
433
|
'404':
|
|
418
434
|
$ref: '#/components/responses/404-not-found'
|
|
435
|
+
'422':
|
|
436
|
+
description: |-
|
|
437
|
+
A `connectionMap` key is missing or isn't one of the source's registered connections, or a
|
|
438
|
+
value isn't a connection in the target environment (`invalid_connectionId`). Nothing is
|
|
439
|
+
created.
|
|
440
|
+
content:
|
|
441
|
+
application/json:
|
|
442
|
+
schema:
|
|
443
|
+
$ref: '#/components/schemas/Error'
|
|
444
|
+
examples:
|
|
445
|
+
missing_key:
|
|
446
|
+
summary: A registered connection is missing from connectionMap
|
|
447
|
+
value:
|
|
448
|
+
errors:
|
|
449
|
+
- code: invalid_connectionId
|
|
450
|
+
message: 'The _connectionId provided for the key ''6553ebdeda62bb22e7fa81ff'': '''' is invalid.'
|
|
451
|
+
unknown_key:
|
|
452
|
+
summary: A key that isn't one of the source's registered connections
|
|
453
|
+
value:
|
|
454
|
+
errors:
|
|
455
|
+
- code: invalid_connectionId
|
|
456
|
+
message: The key '64a1234567890abcdef12399' in connectionMap doesn't match with any of the _id's of the connection documents.
|
|
419
457
|
/v1/integrations/{_id}/clone/preview:
|
|
420
458
|
get:
|
|
421
459
|
x-internal: false
|
|
@@ -678,7 +716,7 @@ paths:
|
|
|
678
716
|
operationId: getIntegrationRevisionDiff
|
|
679
717
|
tags:
|
|
680
718
|
- Integrations
|
|
681
|
-
summary: Diff a
|
|
719
|
+
summary: Diff a pull or revert revision
|
|
682
720
|
description: |-
|
|
683
721
|
Returns the before/after diff for a pull or revert revision. The diff is materialized on `pull`
|
|
684
722
|
and `revert` revisions and is retained on their `completed` state -- available for both
|
|
@@ -710,7 +748,7 @@ paths:
|
|
|
710
748
|
- 6a28d2af6d42eb08f8e863e7
|
|
711
749
|
responses:
|
|
712
750
|
'200':
|
|
713
|
-
description: Diff envelope for the
|
|
751
|
+
description: Diff envelope for the revision.
|
|
714
752
|
content:
|
|
715
753
|
application/json:
|
|
716
754
|
schema:
|
|
@@ -1815,8 +1853,12 @@ paths:
|
|
|
1815
1853
|
cache does not already have one: `alias` is a slug of the cache name
|
|
1816
1854
|
(lowercased, whitespace and special characters stripped, `_2`/`_3`/…
|
|
1817
1855
|
appended on collision) and `_lookupCacheId` points at the cache. Scripts
|
|
1818
|
-
and hooks use the alias as a stable handle for the cache, and
|
|
1819
|
-
|
|
1856
|
+
and hooks use the alias as a stable handle for the cache, and the
|
|
1857
|
+
`{{getLookupCacheData}}` Handlebars helper reads the cache only through
|
|
1858
|
+
it: the alias is matched case-sensitively, and a cache `_id` in its place
|
|
1859
|
+
fails with `alias "…" not found in integration/flow aliases.`.
|
|
1860
|
+
Deregistering or deleting the cache, and deleting the integration, are
|
|
1861
|
+
blocked until the alias is removed.
|
|
1820
1862
|
parameters:
|
|
1821
1863
|
- name: _id
|
|
1822
1864
|
in: path
|
|
@@ -1932,7 +1974,10 @@ paths:
|
|
|
1932
1974
|
of the cache name (lowercased, whitespace and special characters stripped,
|
|
1933
1975
|
`_2`/`_3`/… appended on collision) and `_lookupCacheId` points at the
|
|
1934
1976
|
cache. Scripts and hooks use the alias as a stable handle for the cache,
|
|
1935
|
-
and
|
|
1977
|
+
and the `{{getLookupCacheData}}` Handlebars helper reads the cache only
|
|
1978
|
+
through it (matched case-sensitively; a cache `_id` is not accepted).
|
|
1979
|
+
Deregistering or deleting the cache, and deleting the integration, are
|
|
1980
|
+
blocked until the alias is removed.
|
|
1936
1981
|
parameters:
|
|
1937
1982
|
- name: _id
|
|
1938
1983
|
in: path
|
|
@@ -3524,7 +3569,12 @@ components:
|
|
|
3524
3569
|
examples:
|
|
3525
3570
|
- install
|
|
3526
3571
|
settings:
|
|
3527
|
-
description:
|
|
3572
|
+
description: |-
|
|
3573
|
+
Integration App settings object for this integration. An Integration App can also keep
|
|
3574
|
+
its settings fields here, each with its current value: `settings.general` and
|
|
3575
|
+
`settings.sections[]` (tabs, then nested `sections[]`, then `fields[]`; a flow entry's own
|
|
3576
|
+
fields sit in its `settings[]`). When `settings.supportsMultiStore` is true, each
|
|
3577
|
+
`settings.sections[]` entry is a store and its own `sections[]` are the tabs.
|
|
3528
3578
|
allOf:
|
|
3529
3579
|
- description: |-
|
|
3530
3580
|
Integration App settings object for this integration.
|
|
@@ -4212,12 +4262,12 @@ components:
|
|
|
4212
4262
|
_sourceId:
|
|
4213
4263
|
type: string
|
|
4214
4264
|
format: objectId
|
|
4265
|
+
x-celigo-refModel: integrations
|
|
4215
4266
|
examples:
|
|
4216
4267
|
- 6842261335b64c0bcb308e4f
|
|
4217
4268
|
description: |-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
Typically system-managed; omit in normal create/update payloads.
|
|
4269
|
+
Integration this one was cloned from. Set on every clone, standalone copies included, so
|
|
4270
|
+
it doesn't by itself mean the two are lifecycle-linked. Omit in create and update payloads.
|
|
4221
4271
|
sampleIntegration:
|
|
4222
4272
|
type: boolean
|
|
4223
4273
|
description: |-
|
|
@@ -4521,8 +4571,11 @@ components:
|
|
|
4521
4571
|
Keys are source connection _ids on the original integration; values
|
|
4522
4572
|
are target connection _ids in the destination environment.
|
|
4523
4573
|
Required when the source integration has registered connections — omitting it or
|
|
4524
|
-
sending an empty map fails with 400 `invalid_connectionMap`.
|
|
4525
|
-
|
|
4574
|
+
sending an empty map fails with 400 `invalid_connectionMap`. Every registered
|
|
4575
|
+
connection must be a key, mapped to a connection in the target environment: a missing or
|
|
4576
|
+
unknown key, or a value that isn't a connection there, fails with 422
|
|
4577
|
+
`invalid_connectionId`. Map a connection to itself to reuse it in the clone; omit the map
|
|
4578
|
+
when the source has none.
|
|
4526
4579
|
additionalProperties:
|
|
4527
4580
|
type: string
|
|
4528
4581
|
example:
|
|
@@ -4760,13 +4813,13 @@ components:
|
|
|
4760
4813
|
RevisionDiffResponse:
|
|
4761
4814
|
type: object
|
|
4762
4815
|
description: |-
|
|
4763
|
-
Structured before/after diff for a
|
|
4764
|
-
|
|
4765
|
-
|
|
4816
|
+
Structured before/after diff for a `pull` or `revert` revision, available on an `inprogress`
|
|
4817
|
+
one once its install steps have materialized and kept once it is `completed`. Snapshot,
|
|
4818
|
+
`canceled` and `failed` revisions have none and return HTTP 400 `invalid_revision_state`.
|
|
4766
4819
|
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4820
|
+
A `{before, after}` envelope: each side maps resource type to resource id to that resource's
|
|
4821
|
+
snapshot. Treated as an opaque envelope here; specific field layout is not guaranteed stable
|
|
4822
|
+
across platform versions.
|
|
4770
4823
|
additionalProperties: true
|
|
4771
4824
|
RevisionError:
|
|
4772
4825
|
type: object
|
|
@@ -5457,19 +5510,5 @@ components:
|
|
|
5457
5510
|
errors:
|
|
5458
5511
|
- code: not_found
|
|
5459
5512
|
message: The requested resource was not found.
|
|
5460
|
-
422-dependency-conflict:
|
|
5461
|
-
description: |-
|
|
5462
|
-
The resource has dependents that must be deleted first. Each entry
|
|
5463
|
-
in the `errors` array names one blocking resource.
|
|
5464
|
-
content:
|
|
5465
|
-
application/json:
|
|
5466
|
-
schema:
|
|
5467
|
-
$ref: '#/components/schemas/Error'
|
|
5468
|
-
examples:
|
|
5469
|
-
default:
|
|
5470
|
-
value:
|
|
5471
|
-
errors:
|
|
5472
|
-
- code: dependencies_not_deleted
|
|
5473
|
-
message: export 6902d88c10b42b2eaac9b2a1 must be deleted before you can delete connection 6398ddf316be761fb16a6523
|
|
5474
5513
|
x-enable-proxy: true
|
|
5475
5514
|
x-internal: false
|
package/dist/lookupcache.yml
CHANGED
|
@@ -10,7 +10,9 @@ info:
|
|
|
10
10
|
and cross-reference resolution.
|
|
11
11
|
|
|
12
12
|
Each lookup cache:
|
|
13
|
-
-
|
|
13
|
+
- Is account-level: an integration uses it once registered there
|
|
14
|
+
(`PUT /v1/integrations/{_id}/lookupcaches/register`), which also adds an alias to the
|
|
15
|
+
integration's `aliases[]`
|
|
14
16
|
- Has a maximum size of 50 MB per cache
|
|
15
17
|
- Is subject to a per-environment aggregate limit of 1 GB
|
|
16
18
|
- Can optionally include its data when used in templates and cloning
|
|
@@ -119,8 +121,8 @@ paths:
|
|
|
119
121
|
x-internal: false
|
|
120
122
|
summary: Create a lookup cache
|
|
121
123
|
description: |-
|
|
122
|
-
Creates a new empty lookup cache.
|
|
123
|
-
|
|
124
|
+
Creates a new empty lookup cache. Populate it afterwards via
|
|
125
|
+
`POST /v1/lookupcaches/{_id}/data`.
|
|
124
126
|
operationId: createLookupCache
|
|
125
127
|
tags:
|
|
126
128
|
- Lookup Caches
|
|
@@ -354,6 +356,19 @@ paths:
|
|
|
354
356
|
$ref: '#/components/responses/401-unauthorized'
|
|
355
357
|
'404':
|
|
356
358
|
$ref: '#/components/responses/404-not-found'
|
|
359
|
+
'422':
|
|
360
|
+
description: |-
|
|
361
|
+
An integration's `aliases[]` still points at the cache. Registering a cache adds such an
|
|
362
|
+
alias, so remove it from that integration's `aliases`, then delete again.
|
|
363
|
+
content:
|
|
364
|
+
application/json:
|
|
365
|
+
schema:
|
|
366
|
+
$ref: '#/components/schemas/Error'
|
|
367
|
+
examples:
|
|
368
|
+
alias_referenced:
|
|
369
|
+
value:
|
|
370
|
+
errors:
|
|
371
|
+
- message: lookupcache 69c2eb25365fb658aa39c642 is referenced by an alias on integration 6842261335b64c0bcb308e4f. Alias must be deleted before resource can be deleted.
|
|
357
372
|
/v1/lookupcaches/{_id}/clone/preview:
|
|
358
373
|
get:
|
|
359
374
|
x-internal: false
|
|
@@ -418,8 +433,9 @@ paths:
|
|
|
418
433
|
read-then-write per key. Values may be null, numbers, booleans,
|
|
419
434
|
strings, or objects — arrays at the top level are rejected (wrap them in an
|
|
420
435
|
object). One invalid entry fails the entire batch and nothing in it is written:
|
|
421
|
-
a bad value returns `400 invalid_value`,
|
|
422
|
-
key returns `400 cache_dynamodb_invalid_key
|
|
436
|
+
a bad value returns `400 invalid_value`, an empty, missing, or over-length
|
|
437
|
+
key returns `400 cache_dynamodb_invalid_key`, and a key that appears twice in
|
|
438
|
+
the batch returns 400 "Duplicate keys found in the request".
|
|
423
439
|
|
|
424
440
|
The service rejects batches larger than ~1000 entries or ~5 MB of JSON.
|
|
425
441
|
Callers uploading more than that should split their payload; the Celigo CLI
|
package/dist/marketplace.yml
CHANGED
|
@@ -238,8 +238,8 @@ paths:
|
|
|
238
238
|
description: |-
|
|
239
239
|
No template matched the id. Most commonly: the id belongs to a
|
|
240
240
|
Connector (Integration App) rather than a Template — Connectors are
|
|
241
|
-
installed via
|
|
242
|
-
preview endpoint.
|
|
241
|
+
installed via `POST /v1/connectors/{_id}/install`, available only to
|
|
242
|
+
Celigo Partners, not through this preview endpoint.
|
|
243
243
|
content:
|
|
244
244
|
application/json:
|
|
245
245
|
schema:
|
package/dist/mcp-server.yml
CHANGED
|
@@ -3761,21 +3761,11 @@ components:
|
|
|
3761
3761
|
format: objectId
|
|
3762
3762
|
x-celigo-refModel: connectors
|
|
3763
3763
|
readOnly: true
|
|
3764
|
-
description:
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
that defines the structure, behavior, and templates for this resource.
|
|
3770
|
-
|
|
3771
|
-
The integration app is the published template that can be installed
|
|
3772
|
-
multiple times across different accounts, with each installation creating
|
|
3773
|
-
a separate integration instance (referenced by _integrationId).
|
|
3774
|
-
|
|
3775
|
-
This reference enables:
|
|
3776
|
-
- Identifying the source integration app for this resource
|
|
3777
|
-
- Determining which template version is being used
|
|
3778
|
-
- Linking to documentation, support, and marketplace information
|
|
3764
|
+
description: |-
|
|
3765
|
+
Integration App (connector) that defines this resource. Present only on resources an
|
|
3766
|
+
Integration App owns. The app locks parts of these documents, and a PUT that changes a
|
|
3767
|
+
locked field answers 200 but keeps the stored value, so read the document back to confirm
|
|
3768
|
+
a change.
|
|
3779
3769
|
examples:
|
|
3780
3770
|
- 5e8d43a1b9e5a80011a35f1b
|
|
3781
3771
|
x-celigo-ai-guidance:
|
package/dist/recyclebin.yml
CHANGED
|
@@ -416,7 +416,10 @@ paths:
|
|
|
416
416
|
description: |-
|
|
417
417
|
Permanently purges a resource from the recycle bin. This action
|
|
418
418
|
cannot be undone — the resource data is irrecoverably removed.
|
|
419
|
-
Resources are auto-purged after 30 days.
|
|
419
|
+
Resources are auto-purged after 30 days. A purge removes only the
|
|
420
|
+
named resource: purge the bin entries that still reference it first
|
|
421
|
+
(a deleted flow references its integration and the exports and imports
|
|
422
|
+
it used).
|
|
420
423
|
parameters:
|
|
421
424
|
- $ref: '#/components/parameters/ResourceType'
|
|
422
425
|
- name: _id
|
|
@@ -449,6 +452,17 @@ paths:
|
|
|
449
452
|
message: Recycle Bin operations are not supported for the given model at this time
|
|
450
453
|
'404':
|
|
451
454
|
$ref: '#/components/responses/404-not-found'
|
|
455
|
+
'422':
|
|
456
|
+
description: |-
|
|
457
|
+
Another recycle-bin entry still references the resource. Purge that
|
|
458
|
+
entry first, then retry.
|
|
459
|
+
content:
|
|
460
|
+
application/json:
|
|
461
|
+
schema:
|
|
462
|
+
$ref: '#/components/schemas/Error'
|
|
463
|
+
example:
|
|
464
|
+
errors:
|
|
465
|
+
- message: 'this document is referenced by Flow : 60a2c4e6f321d800129a1a3c'
|
|
452
466
|
/v1/recycleBinTTL/{resourceType}/{_id}/doCascadeRestore:
|
|
453
467
|
post:
|
|
454
468
|
x-internal: false
|
package/dist/template.yml
CHANGED
|
@@ -329,6 +329,11 @@ paths:
|
|
|
329
329
|
whose `type` is `mcpserver` is rejected before anything is created —
|
|
330
330
|
install it with `POST /v1/mcpservers/template/{_templateId}` instead.
|
|
331
331
|
Check `type` on the `GET /v1/templates/{_id}/preview` response first.
|
|
332
|
+
|
|
333
|
+
This one-shot install doesn't run a template's own install steps. A
|
|
334
|
+
template whose preview `Integration` object lists `installSteps` is
|
|
335
|
+
refused with nothing created; install it from the integrator.io
|
|
336
|
+
marketplace, whose installer runs those steps.
|
|
332
337
|
parameters:
|
|
333
338
|
- name: _id
|
|
334
339
|
in: path
|
|
@@ -371,19 +376,36 @@ paths:
|
|
|
371
376
|
61f92026dd053843b5d72350: 64a1234567890abcdef12345
|
|
372
377
|
61f92026dd053843b5d72351: 64a1234567890abcdef12346
|
|
373
378
|
responses:
|
|
374
|
-
'
|
|
375
|
-
description: Template installed
|
|
379
|
+
'201':
|
|
380
|
+
description: Template installed. Returns one entry per resource the install created.
|
|
376
381
|
content:
|
|
377
382
|
application/json:
|
|
378
383
|
schema:
|
|
379
|
-
type:
|
|
380
|
-
description: The created integration
|
|
381
|
-
|
|
384
|
+
type: array
|
|
385
|
+
description: The resources the install created, the new integration among them.
|
|
386
|
+
items:
|
|
387
|
+
type: object
|
|
388
|
+
properties:
|
|
389
|
+
model:
|
|
390
|
+
type: string
|
|
391
|
+
description: Resource type of the created document (`Integration`, `Flow`, `Export`, `Import`, ...).
|
|
392
|
+
_id:
|
|
393
|
+
type: string
|
|
394
|
+
format: objectId
|
|
395
|
+
description: Id of the created document.
|
|
396
|
+
additionalProperties: true
|
|
382
397
|
examples:
|
|
383
398
|
installed:
|
|
384
|
-
summary: Integration created from the template
|
|
399
|
+
summary: Integration, flow, export and import created from the template
|
|
385
400
|
value:
|
|
386
|
-
|
|
401
|
+
- model: Integration
|
|
402
|
+
_id: 6405b9d73496e05ff253d587
|
|
403
|
+
- model: Flow
|
|
404
|
+
_id: 6405b9d83496e05ff253d58c
|
|
405
|
+
- model: Export
|
|
406
|
+
_id: 6405b9d83496e05ff253d590
|
|
407
|
+
- model: Import
|
|
408
|
+
_id: 6405b9d83496e05ff253d594
|
|
387
409
|
'400':
|
|
388
410
|
description: |-
|
|
389
411
|
Missing or empty `connectionMap`, or the template is an MCP server
|
|
@@ -424,7 +446,8 @@ paths:
|
|
|
424
446
|
'422':
|
|
425
447
|
description: |-
|
|
426
448
|
Connection IDs in `connectionMap` do not match the template's
|
|
427
|
-
expected connection IDs
|
|
449
|
+
expected connection IDs, or the template has its own install steps
|
|
450
|
+
(a `template_zip` step this install doesn't run). Nothing is created.
|
|
428
451
|
content:
|
|
429
452
|
application/json:
|
|
430
453
|
schema:
|
|
@@ -435,6 +458,11 @@ paths:
|
|
|
435
458
|
errors:
|
|
436
459
|
- code: invalid_connectionId
|
|
437
460
|
message: Invalid connection ID in connectionMap.
|
|
461
|
+
templateInstallSteps:
|
|
462
|
+
summary: Template with its own install steps
|
|
463
|
+
value:
|
|
464
|
+
errors:
|
|
465
|
+
- message: 'Failed to create Integration due to: Install step is invalid: invalid templateZip.'
|
|
438
466
|
/v1/integrations/template/preview:
|
|
439
467
|
get:
|
|
440
468
|
x-internal: false
|
package/dist/tool.yml
CHANGED
|
@@ -7146,21 +7146,11 @@ components:
|
|
|
7146
7146
|
format: objectId
|
|
7147
7147
|
x-celigo-refModel: connectors
|
|
7148
7148
|
readOnly: true
|
|
7149
|
-
description:
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
that defines the structure, behavior, and templates for this resource.
|
|
7155
|
-
|
|
7156
|
-
The integration app is the published template that can be installed
|
|
7157
|
-
multiple times across different accounts, with each installation creating
|
|
7158
|
-
a separate integration instance (referenced by _integrationId).
|
|
7159
|
-
|
|
7160
|
-
This reference enables:
|
|
7161
|
-
- Identifying the source integration app for this resource
|
|
7162
|
-
- Determining which template version is being used
|
|
7163
|
-
- Linking to documentation, support, and marketplace information
|
|
7149
|
+
description: |-
|
|
7150
|
+
Integration App (connector) that defines this resource. Present only on resources an
|
|
7151
|
+
Integration App owns. The app locks parts of these documents, and a PUT that changes a
|
|
7152
|
+
locked field answers 200 but keeps the stored value, so read the document back to confirm
|
|
7153
|
+
a change.
|
|
7164
7154
|
examples:
|
|
7165
7155
|
- 5e8d43a1b9e5a80011a35f1b
|
|
7166
7156
|
x-celigo-ai-guidance:
|
|
@@ -37376,8 +37366,10 @@ components:
|
|
|
37376
37366
|
description: |-
|
|
37377
37367
|
EDI profile this export uses to parse incoming X12 or EDIFACT documents into structured
|
|
37378
37368
|
JSON — it supplies the envelope qualifiers, delimiters, version, and validation rules.
|
|
37379
|
-
Set it when the export parses or validates EDI files
|
|
37380
|
-
|
|
37369
|
+
Set it when the export parses or validates EDI files (a save with a `delimited/x12` file
|
|
37370
|
+
definition at `version` `"2"` and no profile fails with 422 `missing_ediProfile`); omit
|
|
37371
|
+
it otherwise. Accepted on the file-reading exports — FTP, AS2, S3 and HTTP file mode
|
|
37372
|
+
(`http.type: "file"`).
|
|
37381
37373
|
x-celigo-ai-guidance:
|
|
37382
37374
|
- 'An HTTP export accepts this field only in file mode (`http.type: "file"`, the folder mode of file-provider connectors such as Google Drive, Box, Dropbox, Azure Blob, Google Cloud Storage and Celigo Storage). On a REST/records HTTP export the save is rejected with `not_supported`: "EDIProfile can only be associated with the export of type FTP, AS2, S3 or HTTP file."'
|
|
37383
37375
|
examples:
|
|
@@ -899,7 +899,8 @@ components:
|
|
|
899
899
|
- |-
|
|
900
900
|
A field that is automatically set to a predefined value during trading partner onboarding.
|
|
901
901
|
The `path` identifies which field on the target resource to set,
|
|
902
|
-
and `values` provides the value(s) to assign
|
|
902
|
+
and `values` provides the value(s) to assign, except the template stand-ins named on the
|
|
903
|
+
section's `preConfiguredFields` and `supportedBy.connection.preConfiguredFields`.
|
|
903
904
|
properties:
|
|
904
905
|
_id:
|
|
905
906
|
type: string
|
|
@@ -954,9 +955,15 @@ components:
|
|
|
954
955
|
- 6a2a623c715132b80ae5d06c
|
|
955
956
|
path:
|
|
956
957
|
type: string
|
|
957
|
-
description:
|
|
958
|
+
description: |-
|
|
959
|
+
Dot-notation path of the field on the target resource, or the field's form label: EDI
|
|
960
|
+
profile sections commonly name fields by label (for example the trading partner
|
|
961
|
+
interchange ID), so map a label to its profile field before checking it.
|
|
958
962
|
x-celigo-ai-guidance:
|
|
959
|
-
-
|
|
963
|
+
- |-
|
|
964
|
+
The field the user must set, as a dot-notation path on the target resource or as the
|
|
965
|
+
field's form label (common in EDI profile sections). Map a label to its profile field,
|
|
966
|
+
such as the trading partner interchange ID to `tpInterchangeId`, before checking it.
|
|
960
967
|
examples:
|
|
961
968
|
- name
|
|
962
969
|
- ftp.username
|
|
@@ -1042,12 +1049,17 @@ components:
|
|
|
1042
1049
|
$ref: '#/components/schemas/Filter'
|
|
1043
1050
|
preConfiguredFields:
|
|
1044
1051
|
type: array
|
|
1045
|
-
description:
|
|
1052
|
+
description: |-
|
|
1053
|
+
Fields set to predefined values during onboarding. In an EDI profile section, a value for
|
|
1054
|
+
your own identity (`myInterchangeId`, `myGroupId`) or a placeholder partner ID such as
|
|
1055
|
+
`XXXXXXXXXXXXXXX` is a template stand-in, not a real value; the real IDs are among the
|
|
1056
|
+
fields the user must set.
|
|
1046
1057
|
x-celigo-ai-guidance:
|
|
1047
1058
|
- |-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1059
|
+
Fields set to predefined values when a trading partner resource is created from this
|
|
1060
|
+
connector. In an EDI profile section, never apply an own-identity value
|
|
1061
|
+
(`myInterchangeId`, `myGroupId`) or a placeholder partner ID such as `XXXXXXXXXXXXXXX`:
|
|
1062
|
+
they are template stand-ins, and the real IDs come from the user and the partner.
|
|
1051
1063
|
items:
|
|
1052
1064
|
$ref: '#/components/schemas/PreConfiguredField'
|
|
1053
1065
|
fieldsUserMustSet:
|
|
@@ -1165,7 +1177,11 @@ components:
|
|
|
1165
1177
|
$ref: '#/components/schemas/Filter'
|
|
1166
1178
|
preConfiguredFields:
|
|
1167
1179
|
type: array
|
|
1168
|
-
description:
|
|
1180
|
+
description: |-
|
|
1181
|
+
Fields automatically set on the connection during onboarding. Apart from the transport
|
|
1182
|
+
`type`, treat them as template stand-ins (published connectors carry values such as a
|
|
1183
|
+
placeholder AS2 partner ID and a staging AS2 URI), not the partner's real settings; the
|
|
1184
|
+
partner's host and identity are in `fieldsUserMustSet`.
|
|
1169
1185
|
items:
|
|
1170
1186
|
$ref: '#/components/schemas/PreConfiguredField'
|
|
1171
1187
|
fieldsUserMustSet:
|
package/package.json
CHANGED