@celigo/api-specs 0.2.260 → 0.2.262

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/flow.yml CHANGED
@@ -55,6 +55,16 @@ paths:
55
55
  type: string
56
56
  format: objectId
57
57
  x-celigo-refModel: flows
58
+ - name: mergeInstance
59
+ in: query
60
+ description: |-
61
+ When true, returns each instance merged with its abstract flow, exactly as
62
+ `GET /v1/flows/{_id}?mergeInstance=true` returns it. Works only with
63
+ `_abstractFlowId`; without it the request is rejected with 400 `missing_query_param`,
64
+ whatever other filters are set.
65
+ schema:
66
+ type: boolean
67
+ default: false
58
68
  - name: externalId
59
69
  in: query
60
70
  description: Filter to flows matching this exact external identifier.
@@ -295,7 +305,8 @@ paths:
295
305
  the response merges the abstract flow's configuration into the instance.
296
306
  Without this, instance flows return a sparse object containing only
297
307
  `_abstractFlowId`, `overrides`, and instance-level fields — no
298
- `pageGenerators` or `routers`.
308
+ `pageGenerators` or `routers`. The merged object omits `overrides` and a `PUT` of it
309
+ fails with 422 `flow_instance_invalid_fields`, so edit an instance from the unmerged read.
299
310
  schema:
300
311
  type: boolean
301
312
  default: false
@@ -781,10 +792,19 @@ paths:
781
792
  instead of requiring per-resource PUTs.
782
793
 
783
794
  The replacement connection must exist and be of the same adaptor type as the original. If the
784
- types do not match, the request is rejected with a 422.
795
+ types do not match, the request is rejected with a 422. Adaptor type is the only compatibility
796
+ check: two HTTP connections bound to different connectors (Google Drive and Google Sheets, for
797
+ example), or a connector-bound and a plain HTTP connection, swap without error. Only the
798
+ connection reference changes; each step keeps its relative URIs and other settings as authored.
785
799
 
786
800
  Use `GET /v1/flows/{_id}/descendants` to verify which resources use a given connection
787
801
  before replacing.
802
+ x-celigo-ai-guidance:
803
+ - |-
804
+ Use this call when the new connection reaches the same API (credential rotation, sandbox to
805
+ production). When it reaches a different API — another connector, or connector-bound to plain
806
+ HTTP — change each step's relative URI and endpoint together with its connection instead:
807
+ this call returns 204 and leaves the paths authored for the old API in place.
788
808
  parameters:
789
809
  - name: _id
790
810
  in: path
@@ -840,6 +860,11 @@ paths:
840
860
  Flow-level preconditions enforced by the platform:
841
861
  - The flow must not be `disabled`.
842
862
  - The flow must be in an enabled integration (when part of one).
863
+ - The flow must not be abstract (`isAbstract`): an abstract flow is refused with
864
+ `422 abstract_flow_run_not_allowed` whether or not it is disabled. Run one of its instances.
865
+ - An instance counts as disabled while its abstract flow is disabled, whatever its own
866
+ `disabled` says, and is refused with `422 invalid_flow` like any disabled flow. Its
867
+ merged read (`GET /v1/flows/{_id}?mergeInstance=true`) shows `disabled: true` in that state.
843
868
 
844
869
 
845
870
  To trace a run end-to-end, arm debug logging before calling this, then use the returned
@@ -3776,6 +3801,8 @@ paths:
3776
3801
  synchronously. Unlike `POST /v1/flows/{_id}/run` (which queues an
3777
3802
  asynchronous production job), a test run executes inline against the
3778
3803
  flow's current configuration and records the per-step stages it produced.
3804
+ The body's `_exportId` picks the page generator the run starts from, and
3805
+ the flow can be enabled or disabled.
3779
3806
 
3780
3807
  Test runs are kept in a **separate history** from production runs — the
3781
3808
  `flowJob` and `childJobs` returned here are test artifacts, not records
@@ -3805,6 +3832,27 @@ paths:
3805
3832
  type: string
3806
3833
  format: objectId
3807
3834
  x-celigo-refModel: flows
3835
+ requestBody:
3836
+ required: true
3837
+ content:
3838
+ application/json:
3839
+ schema:
3840
+ type: object
3841
+ required:
3842
+ - _exportId
3843
+ properties:
3844
+ _exportId:
3845
+ type: string
3846
+ format: objectId
3847
+ x-celigo-refModel: exports
3848
+ description: |-
3849
+ Page generator the test run starts from — the `_exportId` of one of the
3850
+ flow's `pageGenerators`. A missing id, or any id that is not one of them,
3851
+ fails with 400 `missing_pageGenerator_doc`.
3852
+ examples:
3853
+ default:
3854
+ value:
3855
+ _exportId: 69d462d5b9c28ea0b7f82522
3808
3856
  responses:
3809
3857
  '200':
3810
3858
  description: |-
@@ -3873,7 +3921,20 @@ paths:
3873
3921
  numPagesGenerated: 1
3874
3922
  _expOrImpId: 69d462d5b9c28ea0b7f82522
3875
3923
  '400':
3876
- $ref: '#/components/responses/400-bad-request'
3924
+ description: |-
3925
+ Bad request — notably a body whose `_exportId` is missing or is not one of
3926
+ the flow's page generators (`missing_pageGenerator_doc`).
3927
+ content:
3928
+ application/json:
3929
+ schema:
3930
+ $ref: '#/components/schemas/Error'
3931
+ examples:
3932
+ missing_page_generator:
3933
+ summary: '`_exportId` missing, or not one of the flow''s page generators'
3934
+ value:
3935
+ errors:
3936
+ - code: missing_pageGenerator_doc
3937
+ message: The page generator corresponding to the _exportId 6a2e23bbcf5b64ca6b93b799 is not found.
3877
3938
  '401':
3878
3939
  $ref: '#/components/responses/401-unauthorized'
3879
3940
  '404':
@@ -5522,13 +5583,13 @@ components:
5522
5583
  properties:
5523
5584
  dateField:
5524
5585
  type: string
5525
- description: Overrides the delta date field on the abstract flow's export — the record timestamp field(s) compared against the last successful run time to identify changed records. Accepts a single field or multiple comma-separated fields.
5586
+ description: Overrides the delta date field on the abstract flow's export — the record timestamp field(s) compared against the flow's checkpoint, `{{lastExportDateTime}}`, to identify changed records. Accepts a single field or multiple comma-separated fields.
5526
5587
  dateFormat:
5527
5588
  type: string
5528
5589
  description: Overrides the moment.js format string applied to the delta cutoff timestamp; ISO 8601 is used when unset.
5529
5590
  startDate:
5530
5591
  type: string
5531
- description: Overrides the fixed start timestamp used for the delta window on the abstract flow's export, in place of the last successful run time.
5592
+ description: Overrides the abstract flow's export `delta.startDate` -- the lower bound of the first run, and of every run until one exports records; later runs start from the flow's checkpoint.
5532
5593
  lagOffset:
5533
5594
  type: integer
5534
5595
  description: Overrides the abstract flow's export `delta.lagOffset` -- milliseconds taken off both ends of a delta window once the flow has a checkpoint, so records reach a run that much later. While the value stays the same, windows don't overlap; raising it re-reads the added span once, and lowering it skips the removed span. Never negative (once the flow has a checkpoint, that moves the window into the future and skips records).
@@ -6237,7 +6298,8 @@ components:
6237
6298
 
6238
6299
  Constraints: top-level `pageProcessors` are not allowed (use `routers` — a linear chain
6239
6300
  sits in one pass-through router with neither routing field set), cannot reference another
6240
- abstract flow, cannot be a "run next" target, and cannot be unset while instances exist.
6301
+ abstract flow, cannot be a "run next" target, and cannot be unset or deleted while
6302
+ instances exist — delete the instances first.
6241
6303
  examples:
6242
6304
  - true
6243
6305
  - false
@@ -6254,6 +6316,8 @@ components:
6254
6316
  customize it only through `overrides`.
6255
6317
  Do not set `pageGenerators`, `pageProcessors`, `routers`,
6256
6318
  or `runPageGeneratorsInParallel` on the instance — they are inherited from the abstract flow.
6319
+ A create or PUT that carries `pageGenerators` or `routers` fails with 422
6320
+ `flow_instance_invalid_fields`.
6257
6321
  examples:
6258
6322
  - 60a2c4e6f321d800129a1a3c
6259
6323
  overrides:
package/dist/import.yml CHANGED
@@ -185,6 +185,20 @@ paths:
185
185
  x-celigo-refModel: imports
186
186
  examples:
187
187
  - 5f8d43a1b9e5a80011a35f2c
188
+ - name: mergeInstanceFlowId
189
+ in: query
190
+ description: |-
191
+ Instance flow whose overrides to apply: the response is this import with that instance's
192
+ `overrides.imports[]` entry for it (such as `_connectionId` or `filter`) in place of the
193
+ stored values, every field the override leaves out inherited, and nothing saved. A flow
194
+ that is not an instance, or an instance whose abstract flow does not use this import, is
195
+ rejected with 400 `invalid_request`; an unknown flow id returns 404.
196
+ schema:
197
+ type: string
198
+ format: objectId
199
+ x-celigo-refModel: flows
200
+ examples:
201
+ - 6a0fd84629f7fd19fd68feac
188
202
  responses:
189
203
  '200':
190
204
  description: Import retrieved successfully
@@ -211,6 +225,26 @@ paths:
211
225
  apiIdentifier: if0626b560
212
226
  createdAt: '2026-06-09T17:32:41.218Z'
213
227
  lastModified: '2026-06-09T17:32:41.296Z'
228
+ merged_for_instance:
229
+ summary: Read with mergeInstanceFlowId — the instance overrides _connectionId
230
+ value:
231
+ _id: 5f8d43a1b9e5a80011a35f2c
232
+ name: Shopify Customer Import
233
+ _connectionId: 6a0fc7eb7202049b32ea45c1
234
+ adaptorType: HTTPImport
235
+ http:
236
+ relativeURI:
237
+ - /customers.json
238
+ method:
239
+ - POST
240
+ requestMediaType: json
241
+ successMediaType: json
242
+ sendPostMappedData: true
243
+ apiIdentifier: if0626b560
244
+ createdAt: '2026-06-09T17:32:41.218Z'
245
+ lastModified: '2026-06-09T17:32:41.296Z'
246
+ '400':
247
+ $ref: '#/components/responses/400-bad-request'
214
248
  '401':
215
249
  $ref: '#/components/responses/401-unauthorized'
216
250
  '404':
@@ -489,6 +523,8 @@ paths:
489
523
  description: |
490
524
  Replaces the connection used by an import in a flow and cancels any related running jobs.
491
525
  This is useful when migrating flows between environments or updating to newer connection versions.
526
+ Only `_connectionId` changes: the import's relative URIs and other settings stay as authored,
527
+ also when the new connection is bound to a different HTTP connector.
492
528
  operationId: replaceConnectionOnImport
493
529
  tags:
494
530
  - Imports
@@ -22,6 +22,7 @@ info:
22
22
  - Can proxy **upstream MCP servers** (`upstreamMcpConnections[]`, attached through `mcp`-type connections) and whitelist which of their tools, prompts, and resources it exposes
23
23
  - Lists the **connections** each end user must supply their own credentials for (`connections[]`); only entries with `requiresEndUserCredentials: true` are kept
24
24
  - Can be pinned to a **network policy** (`_networkPolicyId`) that restricts which IP ranges may reach it
25
+ - Carries **request-log capture** settings (`logging.mode`, `logging.debugUntil`); a new server starts at `basic`
25
26
  servers:
26
27
  - url: https://api.integrator.io
27
28
  description: Production (US / default region)
@@ -129,6 +130,8 @@ paths:
129
130
  _resourceIds: []
130
131
  upstreamMcpConnections: []
131
132
  policies: []
133
+ logging:
134
+ mode: basic
132
135
  oauth:
133
136
  useCeligoOauth: true
134
137
  createdAt: '2026-04-24T16:52:05.607Z'
@@ -202,7 +205,7 @@ paths:
202
205
  $ref: '#/components/schemas/MCPServer'
203
206
  examples:
204
207
  created:
205
- summary: Created from the minimal request (disabled by default, empty arrays)
208
+ summary: Created from the minimal request (empty arrays, basic logging)
206
209
  value:
207
210
  _id: 69eb9fb5b4fc023618e490b8
208
211
  _userId: 624cb0346309dc3a543733a2
@@ -218,6 +221,8 @@ paths:
218
221
  permissionSets: []
219
222
  upstreamMcpConnections: []
220
223
  policies: []
224
+ logging:
225
+ mode: basic
221
226
  createdAt: '2026-04-24T16:52:05.607Z'
222
227
  lastModified: '2026-04-24T16:52:05.607Z'
223
228
  enabledItemCount: 0
@@ -442,6 +447,8 @@ paths:
442
447
  resources: []
443
448
  _networkPolicyId: 6ab1ebbfb9e4547494ff7558
444
449
  policies: []
450
+ logging:
451
+ mode: basic
445
452
  oauth:
446
453
  useCeligoOauth: true
447
454
  createdAt: '2026-04-24T16:52:05.607Z'
@@ -464,10 +471,12 @@ paths:
464
471
  that required end-user credentials invalidates the end users' `mcpChild`
465
472
  connections for it unless another server still requires them. Three fields work the other
466
473
  way round: `upstreamMcpConnections`, `_networkPolicyId` and `logging` keep their
467
- stored value when omitted — send `[]` or `null` to clear the first two
468
- — and a PUT that includes `upstreamMcpConnections` re-approves the
469
- current upstream definitions. A `logging.mode` the account cannot use
470
- is rejected the same way as on PATCH (422 `payload_storage_required`).
474
+ stored value when omitted — send `[]`, `null`, and `{}` or `null`
475
+ respectively to clear them — and a PUT that includes
476
+ `upstreamMcpConnections` re-approves the current upstream definitions.
477
+ A `logging.mode` the account cannot use is rejected the same way as on
478
+ PATCH (422 `payload_storage_required`), and so is a `logging.debugUntil`
479
+ in the past (422 `invalid_date`).
471
480
  `_templateId` is ignored. `relativeURI`
472
481
  can be changed but must remain unique per account.
473
482
  operationId: updateMcpServer
@@ -595,6 +604,8 @@ paths:
595
604
  _resourceIds: []
596
605
  upstreamMcpConnections: []
597
606
  policies: []
607
+ logging:
608
+ mode: basic
598
609
  oauth:
599
610
  useCeligoOauth: true
600
611
  createdAt: '2026-04-24T16:52:05.607Z'
@@ -632,10 +643,14 @@ paths:
632
643
  `/logging/mode` takes `replace` with one of the request-log modes;
633
644
  `/logging/debugUntil` takes `replace` with a future date-time to start a
634
645
  debug window and `remove` to end it early (a `remove` with no window set
635
- is accepted and changes nothing). Payload storage must be enabled for
636
- the account for `standard`, `detailed` and a debug window — 422
637
- `payload_storage_required` for the two modes, 422 `not_allowed` for the
638
- window; `basic` and `noLogging` need no payload storage — and a mode
646
+ is accepted and changes nothing); `add` works on both paths too, and
647
+ `remove /logging/mode` leaves the server with no stored mode. A
648
+ `debugUntil` in the past is 422 `invalid_date`, one further ahead than
649
+ the license's `logging.maxDebugDuration` is 422 `not_allowed`, and one
650
+ that is not a date-time is 422 `invalid_field`. Payload storage must be
651
+ enabled for the account for `standard`, `detailed` and a debug window —
652
+ 422 `payload_storage_required` for the two modes, 422 `not_allowed` for
653
+ the window; `basic` and `noLogging` need no payload storage — and a mode
639
654
  outside the set, in any other spelling, is 422 `invalid_logging_mode`.
640
655
  Under `/policies`, `add`, `replace`, and `remove` work on the whole
641
656
  array, `add` works at `/policies/-` or an index, and `replace` works at
@@ -763,8 +778,8 @@ paths:
763
778
  description: |-
764
779
  The patch names a path outside the whitelist, an invalid
765
780
  `_networkPolicyId`, an invalid policy, a request-log mode or debug
766
- window the account cannot use, or would enable a server with
767
- nothing enabled.
781
+ window the account cannot use, a debug window in the past or beyond
782
+ the license's limit, or would enable a server with nothing enabled.
768
783
  content:
769
784
  application/json:
770
785
  schema:
@@ -794,6 +809,20 @@ paths:
794
809
  - field: logging.debugUntil
795
810
  code: not_allowed
796
811
  message: The McpServer logging mode cannot be set to debug as payload storage is not enabled.
812
+ debug_window_in_the_past:
813
+ summary: A debugUntil that is not in the future
814
+ value:
815
+ errors:
816
+ - field: logging.debugUntil
817
+ code: invalid_date
818
+ message: Debug logging end time must be in the future.
819
+ debug_window_beyond_license:
820
+ summary: A debugUntil further ahead than the license's logging.maxDebugDuration
821
+ value:
822
+ errors:
823
+ - field: logging.debugUntil
824
+ code: not_allowed
825
+ message: As per your license, you can only set debug duration up to 72.0 hours. Please contact celigo support to upgrade your license.
797
826
  enablement:
798
827
  value:
799
828
  errors:
@@ -4547,10 +4576,20 @@ components:
4547
4576
  servers are created with `{"mode": "basic"}`. Changed with
4548
4577
  `PATCH /v1/mcpservers/{_id}` on the `/logging/mode` and
4549
4578
  `/logging/debugUntil` paths, or by sending the object on PUT;
4550
- omitted on PUT, the stored value is kept. A change applies to the
4579
+ omitted on PUT, the stored value is kept, while `logging: {}` or
4580
+ `null` on PUT (or PATCH `remove /logging/mode`) clears it, after
4581
+ which the field is absent from responses and requests are recorded
4582
+ as entries only. A change applies to the
4551
4583
  requests that follow it, not to entries already recorded. While
4552
4584
  payload storage is off for the account, requests are recorded as
4553
4585
  entries only whatever the stored mode.
4586
+ x-celigo-ai-guidance:
4587
+ - |-
4588
+ Leave logging out of a create: the server stores mode basic. To change it
4589
+ later, PATCH replace /logging/mode — the whole /logging object is not a
4590
+ whitelisted path. While payload storage is off for the account, standard
4591
+ and detailed fail with 422 "payload_storage_required" and any debugUntil
4592
+ with 422 "not_allowed"; noLogging and basic save without it.
4554
4593
  properties:
4555
4594
  mode:
4556
4595
  type: string
@@ -4584,13 +4623,17 @@ components:
4584
4623
  While this timestamp is in the future, every request is captured
4585
4624
  with full payloads and execution detail regardless of `mode`;
4586
4625
  once it passes, the stored `mode` applies again without any
4587
- further write. Set it to a future time; it needs payload storage
4588
- enabled for the account (422 `not_allowed` otherwise). The UI
4589
- offers windows up to the plan's debug allowance, and a window
4590
- longer than a new plan allows is cleared by the platform when
4591
- the plan changes. Clear an active window with a PATCH `remove` —
4592
- removing it when none is set is accepted and changes nothing.
4593
- Absent from responses when no window is set.
4626
+ further write (the past value stays in responses until removed
4627
+ or replaced). The value must lie in the future (422
4628
+ `invalid_date`), at most the license's `logging.maxDebugDuration`
4629
+ minutes ahead (422 `not_allowed`, "As per your license, you can
4630
+ only set debug duration up to N hours"), and be a date-time (422
4631
+ `invalid_field`); payload storage must be on for the account
4632
+ (422 `not_allowed`, "…as payload storage is not enabled"). A
4633
+ window longer than a new plan allows is cleared by the platform
4634
+ when the plan changes. Clear an active window with a PATCH
4635
+ `remove` — removing it when none is set is accepted and changes
4636
+ nothing. Absent from responses when no window has been set.
4594
4637
  examples:
4595
4638
  - '2026-10-27T09:30:00.000Z'
4596
4639
  oauth:
@@ -5157,8 +5200,9 @@ components:
5157
5200
  PGP keys and options for the file transports — `ftp`, `s3`, the on-premise file system and the
5158
5201
  cloud file-provider connections such as Box, Dropbox, Google Drive, Azure Blob Storage and
5159
5202
  Celigo file storage. `publicKey` encrypts the files the connection's imports write,
5160
- record-generated files and transferred (blob) files alike; `privateKey` with its `passphrase`
5161
- decrypts the files its exports read and signs encrypted output. Supply at least one of the two.
5203
+ record-generated files and transferred (blob) files alike; `privateKey` (with `passphrase` when
5204
+ the key is protected) decrypts the files its exports read and signs encrypted output. Supply at
5205
+ least one of the two.
5162
5206
  properties:
5163
5207
  publicKey:
5164
5208
  type: string
@@ -5187,7 +5231,10 @@ components:
5187
5231
  passphrase:
5188
5232
  type: string
5189
5233
  writeOnly: true
5190
- description: Passphrase that unlocks `privateKey` (encrypted at rest; returned masked as `"******"`). Set this whenever `privateKey` is provided.
5234
+ description: |-
5235
+ Passphrase that unlocks `privateKey` (encrypted at rest; returned masked as `"******"`). Set it
5236
+ when the private key is passphrase-protected; a connection with a private key and no
5237
+ passphrase saves.
5191
5238
  compressionAlgorithm:
5192
5239
  type: string
5193
5240
  enum:
@@ -5201,12 +5248,6 @@ components:
5201
5248
  type: boolean
5202
5249
  default: true
5203
5250
  description: When true, produces ASCII-armored (text) PGP output. Set to false only when the recipient requires binary PGP output.
5204
- if:
5205
- required:
5206
- - privateKey
5207
- then:
5208
- required:
5209
- - passphrase
5210
5251
  SSL:
5211
5252
  type: object
5212
5253
  description: |-
@@ -5447,13 +5488,17 @@ components:
5447
5488
  offline:
5448
5489
  type: boolean
5449
5490
  description: |-
5450
- When true, the connection has been taken offline and is skipped during flow execution.
5451
- It is set by the connection test a create or `PUT` runs: the result arrives in the
5452
- write's response or, when the target is slow to answer, shortly afterwards (the audit
5453
- log records a `system` change; `lastModified` doesn't move), so read it again a few
5454
- seconds after the write. On an `http` connection the write runs the test only when
5455
- `http.ping` is configured, and an `http` connection that was never tested has no
5456
- `offline` key.
5491
+ When true, the connection has been taken offline: a flow run requested while its
5492
+ export's connection is offline is accepted, but its job waits `queued` and starts by
5493
+ itself once the connection is back online. The connection test a create or `PUT` runs
5494
+ sets the flag: the result arrives in the write's response or, when the target is slow
5495
+ to answer, shortly afterwards (the audit log records a `system` change; `lastModified`
5496
+ doesn't move), so read it again a few seconds after the write. On an `http` connection
5497
+ the write runs the test only when `http.ping` is configured, and an `http` connection
5498
+ that was never tested has no `offline` key. A run also takes an `http` connection
5499
+ offline when a request gets its authentication-failure status (see
5500
+ `http.auth.failStatusCode`), recorded in the audit log as a `system` update of
5501
+ `offline`; a `PUT` whose test passes brings it back online (live-verified 2026-10-25).
5457
5502
  readOnly: true
5458
5503
  needsAuthorization:
5459
5504
  type: boolean
@@ -7287,7 +7332,11 @@ components:
7287
7332
  description: |
7288
7333
  HTTP status code that indicates an authentication failure (e.g., 401, 403).
7289
7334
  When this status code is received, the system triggers re-authentication
7290
- before retrying the request.
7335
+ before retrying the request. On a `token` connection without token refresh, a run
7336
+ whose request gets this status (401 when unset) fails that step with error code
7337
+ `401`, whatever the status was (the message carries it, e.g. `{"status":403}`), and
7338
+ takes the connection offline (see `offline`); a 403 or 500 while this is unset fails
7339
+ the step and leaves the connection online (live-verified 2026-10-25).
7291
7340
  examples:
7292
7341
  - 401
7293
7342
  failPath:
@@ -660,7 +660,11 @@ paths:
660
660
  fixed: Fixed-width columns padded to defined lengths.
661
661
  delimited:
662
662
  type: object
663
- description: Required when `format` starts with `delimited`.
663
+ description: |-
664
+ Required when `format` starts with `delimited`. For a `version` `"2"`
665
+ X12 or EDIFACT definition the parse reads the element, component and
666
+ segment separators from the ISA or UNB segment at the start of `data`
667
+ and uses them over these values for this call.
664
668
  properties:
665
669
  rowSuffix:
666
670
  type: string
@@ -807,7 +811,9 @@ paths:
807
811
  '401':
808
812
  $ref: '#/components/responses/401-unauthorized'
809
813
  '422':
810
- description: File definition validation error or missing required segment.
814
+ description: |-
815
+ File definition validation error, missing required segment, or an EDI envelope
816
+ whose delimiters could not be read.
811
817
  content:
812
818
  application/json:
813
819
  schema:
@@ -821,13 +827,31 @@ paths:
821
827
  type: string
822
828
  description: |-
823
829
  Error code. Common values: `file_definition_error`,
824
- `missing_row`, `WRONG_MAX_OCCURRENCE`.
830
+ `missing_row`, `WRONG_MAX_OCCURRENCE`, `edi_error` (a mandatory
831
+ envelope segment is missing), and `delimiter_detect_failed` (a
832
+ version `"2"` X12 definition fed an interchange whose ISA is not
833
+ the fixed 106-character form and does not use the saved
834
+ delimiters either).
835
+ name:
836
+ type: string
837
+ description: Title of the failure; present on `delimiter_detect_failed`.
825
838
  resolved:
826
839
  type: boolean
827
840
  occurredAt:
828
841
  type: integer
829
842
  path:
830
843
  type: string
844
+ examples:
845
+ delimiter_detect_failed:
846
+ summary: Unpadded ISA that uses neither detectable nor saved delimiters
847
+ value:
848
+ code: delimiter_detect_failed
849
+ message: Could not read delimiters from the EDI envelope, and the file definition delimiters did not produce an ISA header.
850
+ source: resource
851
+ name: Delimiter detection failed
852
+ resolved: false
853
+ occurredAt: 1794017548333
854
+ path: processor.structuredFileParser
831
855
  /v1/processors/structuredFileGenerator:
832
856
  post:
833
857
  x-internal: false
package/dist/tool.yml CHANGED
@@ -7586,8 +7586,9 @@ components:
7586
7586
  PGP keys and options for the file transports — `ftp`, `s3`, the on-premise file system and the
7587
7587
  cloud file-provider connections such as Box, Dropbox, Google Drive, Azure Blob Storage and
7588
7588
  Celigo file storage. `publicKey` encrypts the files the connection's imports write,
7589
- record-generated files and transferred (blob) files alike; `privateKey` with its `passphrase`
7590
- decrypts the files its exports read and signs encrypted output. Supply at least one of the two.
7589
+ record-generated files and transferred (blob) files alike; `privateKey` (with `passphrase` when
7590
+ the key is protected) decrypts the files its exports read and signs encrypted output. Supply at
7591
+ least one of the two.
7591
7592
  properties:
7592
7593
  publicKey:
7593
7594
  type: string
@@ -7616,7 +7617,10 @@ components:
7616
7617
  passphrase:
7617
7618
  type: string
7618
7619
  writeOnly: true
7619
- description: Passphrase that unlocks `privateKey` (encrypted at rest; returned masked as `"******"`). Set this whenever `privateKey` is provided.
7620
+ description: |-
7621
+ Passphrase that unlocks `privateKey` (encrypted at rest; returned masked as `"******"`). Set it
7622
+ when the private key is passphrase-protected; a connection with a private key and no
7623
+ passphrase saves.
7620
7624
  compressionAlgorithm:
7621
7625
  type: string
7622
7626
  enum:
@@ -7630,12 +7634,6 @@ components:
7630
7634
  type: boolean
7631
7635
  default: true
7632
7636
  description: When true, produces ASCII-armored (text) PGP output. Set to false only when the recipient requires binary PGP output.
7633
- if:
7634
- required:
7635
- - privateKey
7636
- then:
7637
- required:
7638
- - passphrase
7639
7637
  SSL:
7640
7638
  type: object
7641
7639
  description: |-
@@ -7819,13 +7817,17 @@ components:
7819
7817
  offline:
7820
7818
  type: boolean
7821
7819
  description: |-
7822
- When true, the connection has been taken offline and is skipped during flow execution.
7823
- It is set by the connection test a create or `PUT` runs: the result arrives in the
7824
- write's response or, when the target is slow to answer, shortly afterwards (the audit
7825
- log records a `system` change; `lastModified` doesn't move), so read it again a few
7826
- seconds after the write. On an `http` connection the write runs the test only when
7827
- `http.ping` is configured, and an `http` connection that was never tested has no
7828
- `offline` key.
7820
+ When true, the connection has been taken offline: a flow run requested while its
7821
+ export's connection is offline is accepted, but its job waits `queued` and starts by
7822
+ itself once the connection is back online. The connection test a create or `PUT` runs
7823
+ sets the flag: the result arrives in the write's response or, when the target is slow
7824
+ to answer, shortly afterwards (the audit log records a `system` change; `lastModified`
7825
+ doesn't move), so read it again a few seconds after the write. On an `http` connection
7826
+ the write runs the test only when `http.ping` is configured, and an `http` connection
7827
+ that was never tested has no `offline` key. A run also takes an `http` connection
7828
+ offline when a request gets its authentication-failure status (see
7829
+ `http.auth.failStatusCode`), recorded in the audit log as a `system` update of
7830
+ `offline`; a `PUT` whose test passes brings it back online (live-verified 2026-10-25).
7829
7831
  readOnly: true
7830
7832
  needsAuthorization:
7831
7833
  type: boolean
@@ -9659,7 +9661,11 @@ components:
9659
9661
  description: |
9660
9662
  HTTP status code that indicates an authentication failure (e.g., 401, 403).
9661
9663
  When this status code is received, the system triggers re-authentication
9662
- before retrying the request.
9664
+ before retrying the request. On a `token` connection without token refresh, a run
9665
+ whose request gets this status (401 when unset) fails that step with error code
9666
+ `401`, whatever the status was (the message carries it, e.g. `{"status":403}`), and
9667
+ takes the connection offline (see `offline`); a 403 or 500 while this is unset fails
9668
+ the step and leaves the connection online (live-verified 2026-10-25).
9663
9669
  examples:
9664
9670
  - 401
9665
9671
  failPath:
@@ -27933,7 +27939,7 @@ components:
27933
27939
  never exported
27934
27940
 
27935
27941
  3. Error handling and recovery:
27936
- - If an export fails, the next run uses the last successful timestamp
27942
+ - If an export fails, the next run reuses the last checkpoint
27937
27943
  - Records created/modified during a failed run will be included in the next run
27938
27944
  - A run that exports nothing leaves the checkpoint where it was, so after a stretch of
27939
27945
  empty runs the next run that finds records reaches back to the last run that exported
@@ -27955,8 +27961,8 @@ components:
27955
27961
  - http
27956
27962
  x-celigo-ui-override: Required by the export form when the export type is "delta" (delta.dateField is required:true, visibleWhen type=delta). Encoded to mirror the form so builders produce connectable configurations.
27957
27963
  description: |-
27958
- Record timestamp field(s) compared against the last successful run time to identify
27959
- changed records. Accepts a single field or multiple comma-separated fields, processed
27964
+ Record timestamp field(s) compared against the flow's checkpoint, {{lastExportDateTime}},
27965
+ to identify changed records. Accepts a single field or multiple comma-separated fields, processed
27960
27966
  sequentially — useful when different operations update different timestamp fields.
27961
27967
  If the flow's own downstream steps update the exported records, add export criteria
27962
27968
  that exclude already-processed records (or use a creation-time field for process-once
@@ -27972,8 +27978,8 @@ components:
27972
27978
  - |-
27973
27979
  ## FIELD BEHAVIOR
27974
27980
 
27975
- This field determines which record timestamp(s) are compared against the last successful run time
27976
- to identify changed records. Key characteristics:
27981
+ This field determines which record timestamp(s) are compared against the flow's checkpoint
27982
+ (``{{lastExportDateTime}}``) to identify changed records. Key characteristics:
27977
27983
 
27978
27984
  - REQUIRED for most adapter types (except HTTP and REST where this field is not supported)
27979
27985
  - Can reference a single field or multiple comma-separated fields