@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/api.yml CHANGED
@@ -8260,8 +8260,9 @@ components:
8260
8260
  PGP keys and options for the file transports — `ftp`, `s3`, the on-premise file system and the
8261
8261
  cloud file-provider connections such as Box, Dropbox, Google Drive, Azure Blob Storage and
8262
8262
  Celigo file storage. `publicKey` encrypts the files the connection's imports write,
8263
- record-generated files and transferred (blob) files alike; `privateKey` with its `passphrase`
8264
- decrypts the files its exports read and signs encrypted output. Supply at least one of the two.
8263
+ record-generated files and transferred (blob) files alike; `privateKey` (with `passphrase` when
8264
+ the key is protected) decrypts the files its exports read and signs encrypted output. Supply at
8265
+ least one of the two.
8265
8266
  properties:
8266
8267
  publicKey:
8267
8268
  type: string
@@ -8290,7 +8291,10 @@ components:
8290
8291
  passphrase:
8291
8292
  type: string
8292
8293
  writeOnly: true
8293
- description: Passphrase that unlocks `privateKey` (encrypted at rest; returned masked as `"******"`). Set this whenever `privateKey` is provided.
8294
+ description: |-
8295
+ Passphrase that unlocks `privateKey` (encrypted at rest; returned masked as `"******"`). Set it
8296
+ when the private key is passphrase-protected; a connection with a private key and no
8297
+ passphrase saves.
8294
8298
  compressionAlgorithm:
8295
8299
  type: string
8296
8300
  enum:
@@ -8304,12 +8308,6 @@ components:
8304
8308
  type: boolean
8305
8309
  default: true
8306
8310
  description: When true, produces ASCII-armored (text) PGP output. Set to false only when the recipient requires binary PGP output.
8307
- if:
8308
- required:
8309
- - privateKey
8310
- then:
8311
- required:
8312
- - passphrase
8313
8311
  SSL:
8314
8312
  type: object
8315
8313
  description: |-
@@ -8550,13 +8548,17 @@ components:
8550
8548
  offline:
8551
8549
  type: boolean
8552
8550
  description: |-
8553
- When true, the connection has been taken offline and is skipped during flow execution.
8554
- It is set by the connection test a create or `PUT` runs: the result arrives in the
8555
- write's response or, when the target is slow to answer, shortly afterwards (the audit
8556
- log records a `system` change; `lastModified` doesn't move), so read it again a few
8557
- seconds after the write. On an `http` connection the write runs the test only when
8558
- `http.ping` is configured, and an `http` connection that was never tested has no
8559
- `offline` key.
8551
+ When true, the connection has been taken offline: a flow run requested while its
8552
+ export's connection is offline is accepted, but its job waits `queued` and starts by
8553
+ itself once the connection is back online. The connection test a create or `PUT` runs
8554
+ sets the flag: the result arrives in the write's response or, when the target is slow
8555
+ to answer, shortly afterwards (the audit log records a `system` change; `lastModified`
8556
+ doesn't move), so read it again a few seconds after the write. On an `http` connection
8557
+ the write runs the test only when `http.ping` is configured, and an `http` connection
8558
+ that was never tested has no `offline` key. A run also takes an `http` connection
8559
+ offline when a request gets its authentication-failure status (see
8560
+ `http.auth.failStatusCode`), recorded in the audit log as a `system` update of
8561
+ `offline`; a `PUT` whose test passes brings it back online (live-verified 2026-10-25).
8560
8562
  readOnly: true
8561
8563
  needsAuthorization:
8562
8564
  type: boolean
@@ -10390,7 +10392,11 @@ components:
10390
10392
  description: |
10391
10393
  HTTP status code that indicates an authentication failure (e.g., 401, 403).
10392
10394
  When this status code is received, the system triggers re-authentication
10393
- before retrying the request.
10395
+ before retrying the request. On a `token` connection without token refresh, a run
10396
+ whose request gets this status (401 when unset) fails that step with error code
10397
+ `401`, whatever the status was (the message carries it, e.g. `{"status":403}`), and
10398
+ takes the connection offline (see `offline`); a 403 or 500 while this is unset fails
10399
+ the step and leaves the connection online (live-verified 2026-10-25).
10394
10400
  examples:
10395
10401
  - 401
10396
10402
  failPath:
package/dist/audit.yml CHANGED
@@ -131,7 +131,7 @@ paths:
131
131
  connection: Connection resource for authenticating to external systems.
132
132
  dataset: Dataset resource for data storage.
133
133
  ediprofile: EDI profile resource for trading partner interchange configuration.
134
- environment: Environment variable resource.
134
+ environment: Environment resource (ids from `GET /v1/environments`).
135
135
  export: Export resource for reading data from a source system.
136
136
  file: Celigo Storage file resource.
137
137
  filedefinition: File definition resource for parsing structured files.
@@ -571,7 +571,7 @@ paths:
571
571
  connection: Connection resource for authenticating to external systems.
572
572
  dataset: Dataset resource for data storage.
573
573
  ediprofile: EDI profile resource for trading partner interchange configuration.
574
- environment: Environment variable resource.
574
+ environment: Environment resource (ids from `GET /v1/environments`).
575
575
  export: Export resource for reading data from a source system.
576
576
  file: Celigo Storage file resource.
577
577
  filedefinition: File definition resource for parsing structured files.
@@ -767,6 +767,12 @@ paths:
767
767
  imports, and connections, and querying a flow returns changes to the flow, its exports
768
768
  and imports, their connections, and the scripts those steps reference.
769
769
 
770
+ Users, environments, and notifications have no descendants, so their history is
771
+ the record's own entries. A user's history covers changes to that user, such as
772
+ the invite, access-level and MFA changes, and the removal; sign-ins and sign-outs
773
+ carry no `_resourceId`, so only the account-wide log (`GET /v1/audit`) returns
774
+ them.
775
+
770
776
  For account-wide searches, use `GET /v1/audit` instead.
771
777
  parameters:
772
778
  - name: resourceType
@@ -783,6 +789,7 @@ paths:
783
789
  - asynchelpers
784
790
  - connections
785
791
  - ediprofiles
792
+ - environments
786
793
  - exports
787
794
  - filedefinitions
788
795
  - flows
@@ -794,6 +801,7 @@ paths:
794
801
  - lookupcaches
795
802
  - mcpservers
796
803
  - networkpolicies
804
+ - notifications
797
805
  - revisions
798
806
  - roles
799
807
  - scripts
@@ -802,6 +810,7 @@ paths:
802
810
  - syncs
803
811
  - tools
804
812
  - topics
813
+ - users
805
814
  examples:
806
815
  - integrations
807
816
  x-enumDescriptions:
@@ -813,6 +822,7 @@ paths:
813
822
  asynchelpers: Async helper resources.
814
823
  connections: Connection resources.
815
824
  ediprofiles: EDI profile resources.
825
+ environments: Environment resources.
816
826
  exports: Export resources.
817
827
  filedefinitions: File definition resources.
818
828
  flows: Flow resources.
@@ -824,6 +834,7 @@ paths:
824
834
  lookupcaches: Lookup cache resources.
825
835
  mcpservers: MCP server resources.
826
836
  networkpolicies: Network policy resources.
837
+ notifications: Notification subscription resources.
827
838
  revisions: Revision snapshot resources.
828
839
  roles: End-user role resources.
829
840
  scripts: Script resources.
@@ -832,6 +843,7 @@ paths:
832
843
  syncs: Sync resources.
833
844
  tools: Tool resources.
834
845
  topics: Event Streams topic resources.
846
+ users: Account users, addressed by the user's id (`sharedWithUser._id` from `GET /v1/ashares`), not the share record's `_id`.
835
847
  description: Plural resource type.
836
848
  - name: _id
837
849
  in: path
@@ -1005,6 +1017,7 @@ paths:
1005
1017
  - asynchelpers
1006
1018
  - connections
1007
1019
  - ediprofiles
1020
+ - environments
1008
1021
  - exports
1009
1022
  - filedefinitions
1010
1023
  - flows
@@ -1016,6 +1029,7 @@ paths:
1016
1029
  - lookupcaches
1017
1030
  - mcpservers
1018
1031
  - networkpolicies
1032
+ - notifications
1019
1033
  - revisions
1020
1034
  - roles
1021
1035
  - scripts
@@ -1024,6 +1038,7 @@ paths:
1024
1038
  - syncs
1025
1039
  - tools
1026
1040
  - topics
1041
+ - users
1027
1042
  examples:
1028
1043
  - integrations
1029
1044
  x-enumDescriptions:
@@ -1035,6 +1050,7 @@ paths:
1035
1050
  asynchelpers: Async helper resources.
1036
1051
  connections: Connection resources.
1037
1052
  ediprofiles: EDI profile resources.
1053
+ environments: Environment resources.
1038
1054
  exports: Export resources.
1039
1055
  filedefinitions: File definition resources.
1040
1056
  flows: Flow resources.
@@ -1046,6 +1062,7 @@ paths:
1046
1062
  lookupcaches: Lookup cache resources.
1047
1063
  mcpservers: MCP server resources.
1048
1064
  networkpolicies: Network policy resources.
1065
+ notifications: Notification subscription resources.
1049
1066
  revisions: Revision snapshot resources.
1050
1067
  roles: End-user role resources.
1051
1068
  scripts: Script resources.
@@ -1054,6 +1071,7 @@ paths:
1054
1071
  syncs: Sync resources.
1055
1072
  tools: Tool resources.
1056
1073
  topics: Event Streams topic resources.
1074
+ users: Account users, addressed by the user's id (`sharedWithUser._id` from `GET /v1/ashares`), not the share record's `_id`.
1057
1075
  description: Plural resource type.
1058
1076
  - name: _id
1059
1077
  in: path
@@ -1230,6 +1248,7 @@ paths:
1230
1248
  - asynchelpers
1231
1249
  - connections
1232
1250
  - ediprofiles
1251
+ - environments
1233
1252
  - exports
1234
1253
  - filedefinitions
1235
1254
  - flows
@@ -1241,6 +1260,7 @@ paths:
1241
1260
  - lookupcaches
1242
1261
  - mcpservers
1243
1262
  - networkpolicies
1263
+ - notifications
1244
1264
  - revisions
1245
1265
  - roles
1246
1266
  - scripts
@@ -1249,6 +1269,7 @@ paths:
1249
1269
  - syncs
1250
1270
  - tools
1251
1271
  - topics
1272
+ - users
1252
1273
  x-enumDescriptions:
1253
1274
  accesstokens: API access token resources.
1254
1275
  agents: On-premise agent resources.
@@ -1258,6 +1279,7 @@ paths:
1258
1279
  asynchelpers: Async helper resources.
1259
1280
  connections: Connection resources.
1260
1281
  ediprofiles: EDI profile resources.
1282
+ environments: Environment resources.
1261
1283
  exports: Export resources.
1262
1284
  filedefinitions: File definition resources.
1263
1285
  flows: Flow resources.
@@ -1269,6 +1291,7 @@ paths:
1269
1291
  lookupcaches: Lookup cache resources.
1270
1292
  mcpservers: MCP server resources.
1271
1293
  networkpolicies: Network policy resources.
1294
+ notifications: Notification subscription resources.
1272
1295
  revisions: Revision snapshot resources.
1273
1296
  roles: End-user role resources.
1274
1297
  scripts: Script resources.
@@ -1277,6 +1300,7 @@ paths:
1277
1300
  syncs: Sync resources.
1278
1301
  tools: Tool resources.
1279
1302
  topics: Event Streams topic resources.
1303
+ users: Account users, addressed by the user's id (`sharedWithUser._id` from `GET /v1/ashares`), not the share record's `_id`.
1280
1304
  description: Plural resource type.
1281
1305
  requestBody:
1282
1306
  required: true
@@ -1497,7 +1521,7 @@ components:
1497
1521
  connection: Connection resource for authenticating to external systems.
1498
1522
  dataset: Dataset resource for data storage.
1499
1523
  ediprofile: EDI profile resource for trading partner interchange configuration.
1500
- environment: Environment variable resource.
1524
+ environment: Environment resource; `_resourceId` is an id from `GET /v1/environments`.
1501
1525
  export: Export resource for reading data from a source system.
1502
1526
  file: Celigo Storage file resource.
1503
1527
  filedefinition: File definition resource for parsing structured files.
@@ -1715,7 +1739,7 @@ components:
1715
1739
  connection: Connection resource for authenticating to external systems.
1716
1740
  dataset: Dataset resource for data storage.
1717
1741
  ediprofile: EDI profile resource for trading partner interchange configuration.
1718
- environment: Environment variable resource.
1742
+ environment: Environment resource (ids from `GET /v1/environments`).
1719
1743
  export: Export resource for reading data from a source system.
1720
1744
  file: Celigo Storage file resource.
1721
1745
  filedefinition: File definition resource for parsing structured files.
@@ -1945,7 +1969,7 @@ components:
1945
1969
  connection: Connection resource for authenticating to external systems.
1946
1970
  dataset: Dataset resource for data storage.
1947
1971
  ediprofile: EDI profile resource for trading partner interchange configuration.
1948
- environment: Environment variable resource.
1972
+ environment: Environment resource (ids from `GET /v1/environments`).
1949
1973
  export: Export resource for reading data from a source system.
1950
1974
  file: Celigo Storage file resource.
1951
1975
  filedefinition: File definition resource for parsing structured files.
@@ -3984,8 +3984,9 @@ components:
3984
3984
  PGP keys and options for the file transports — `ftp`, `s3`, the on-premise file system and the
3985
3985
  cloud file-provider connections such as Box, Dropbox, Google Drive, Azure Blob Storage and
3986
3986
  Celigo file storage. `publicKey` encrypts the files the connection's imports write,
3987
- record-generated files and transferred (blob) files alike; `privateKey` with its `passphrase`
3988
- decrypts the files its exports read and signs encrypted output. Supply at least one of the two.
3987
+ record-generated files and transferred (blob) files alike; `privateKey` (with `passphrase` when
3988
+ the key is protected) decrypts the files its exports read and signs encrypted output. Supply at
3989
+ least one of the two.
3989
3990
  properties:
3990
3991
  publicKey:
3991
3992
  type: string
@@ -4014,7 +4015,10 @@ components:
4014
4015
  passphrase:
4015
4016
  type: string
4016
4017
  writeOnly: true
4017
- description: Passphrase that unlocks `privateKey` (encrypted at rest; returned masked as `"******"`). Set this whenever `privateKey` is provided.
4018
+ description: |-
4019
+ Passphrase that unlocks `privateKey` (encrypted at rest; returned masked as `"******"`). Set it
4020
+ when the private key is passphrase-protected; a connection with a private key and no
4021
+ passphrase saves.
4018
4022
  compressionAlgorithm:
4019
4023
  type: string
4020
4024
  enum:
@@ -4028,12 +4032,6 @@ components:
4028
4032
  type: boolean
4029
4033
  default: true
4030
4034
  description: When true, produces ASCII-armored (text) PGP output. Set to false only when the recipient requires binary PGP output.
4031
- if:
4032
- required:
4033
- - privateKey
4034
- then:
4035
- required:
4036
- - passphrase
4037
4035
  SSL:
4038
4036
  type: object
4039
4037
  description: |-
@@ -4274,13 +4272,17 @@ components:
4274
4272
  offline:
4275
4273
  type: boolean
4276
4274
  description: |-
4277
- When true, the connection has been taken offline and is skipped during flow execution.
4278
- It is set by the connection test a create or `PUT` runs: the result arrives in the
4279
- write's response or, when the target is slow to answer, shortly afterwards (the audit
4280
- log records a `system` change; `lastModified` doesn't move), so read it again a few
4281
- seconds after the write. On an `http` connection the write runs the test only when
4282
- `http.ping` is configured, and an `http` connection that was never tested has no
4283
- `offline` key.
4275
+ When true, the connection has been taken offline: a flow run requested while its
4276
+ export's connection is offline is accepted, but its job waits `queued` and starts by
4277
+ itself once the connection is back online. The connection test a create or `PUT` runs
4278
+ sets the flag: the result arrives in the write's response or, when the target is slow
4279
+ to answer, shortly afterwards (the audit log records a `system` change; `lastModified`
4280
+ doesn't move), so read it again a few seconds after the write. On an `http` connection
4281
+ the write runs the test only when `http.ping` is configured, and an `http` connection
4282
+ that was never tested has no `offline` key. A run also takes an `http` connection
4283
+ offline when a request gets its authentication-failure status (see
4284
+ `http.auth.failStatusCode`), recorded in the audit log as a `system` update of
4285
+ `offline`; a `PUT` whose test passes brings it back online (live-verified 2026-10-25).
4284
4286
  readOnly: true
4285
4287
  needsAuthorization:
4286
4288
  type: boolean
@@ -6114,7 +6116,11 @@ components:
6114
6116
  description: |
6115
6117
  HTTP status code that indicates an authentication failure (e.g., 401, 403).
6116
6118
  When this status code is received, the system triggers re-authentication
6117
- before retrying the request.
6119
+ before retrying the request. On a `token` connection without token refresh, a run
6120
+ whose request gets this status (401 when unset) fails that step with error code
6121
+ `401`, whatever the status was (the message carries it, e.g. `{"status":403}`), and
6122
+ takes the connection offline (see `offline`); a 403 or 500 while this is unset fails
6123
+ the step and leaves the connection online (live-verified 2026-10-25).
6118
6124
  examples:
6119
6125
  - 401
6120
6126
  failPath:
package/dist/enduser.yml CHANGED
@@ -2026,8 +2026,9 @@ components:
2026
2026
  PGP keys and options for the file transports — `ftp`, `s3`, the on-premise file system and the
2027
2027
  cloud file-provider connections such as Box, Dropbox, Google Drive, Azure Blob Storage and
2028
2028
  Celigo file storage. `publicKey` encrypts the files the connection's imports write,
2029
- record-generated files and transferred (blob) files alike; `privateKey` with its `passphrase`
2030
- decrypts the files its exports read and signs encrypted output. Supply at least one of the two.
2029
+ record-generated files and transferred (blob) files alike; `privateKey` (with `passphrase` when
2030
+ the key is protected) decrypts the files its exports read and signs encrypted output. Supply at
2031
+ least one of the two.
2031
2032
  properties:
2032
2033
  publicKey:
2033
2034
  type: string
@@ -2056,7 +2057,10 @@ components:
2056
2057
  passphrase:
2057
2058
  type: string
2058
2059
  writeOnly: true
2059
- description: Passphrase that unlocks `privateKey` (encrypted at rest; returned masked as `"******"`). Set this whenever `privateKey` is provided.
2060
+ description: |-
2061
+ Passphrase that unlocks `privateKey` (encrypted at rest; returned masked as `"******"`). Set it
2062
+ when the private key is passphrase-protected; a connection with a private key and no
2063
+ passphrase saves.
2060
2064
  compressionAlgorithm:
2061
2065
  type: string
2062
2066
  enum:
@@ -2070,12 +2074,6 @@ components:
2070
2074
  type: boolean
2071
2075
  default: true
2072
2076
  description: When true, produces ASCII-armored (text) PGP output. Set to false only when the recipient requires binary PGP output.
2073
- if:
2074
- required:
2075
- - privateKey
2076
- then:
2077
- required:
2078
- - passphrase
2079
2077
  SSL:
2080
2078
  type: object
2081
2079
  description: |-
@@ -2316,13 +2314,17 @@ components:
2316
2314
  offline:
2317
2315
  type: boolean
2318
2316
  description: |-
2319
- When true, the connection has been taken offline and is skipped during flow execution.
2320
- It is set by the connection test a create or `PUT` runs: the result arrives in the
2321
- write's response or, when the target is slow to answer, shortly afterwards (the audit
2322
- log records a `system` change; `lastModified` doesn't move), so read it again a few
2323
- seconds after the write. On an `http` connection the write runs the test only when
2324
- `http.ping` is configured, and an `http` connection that was never tested has no
2325
- `offline` key.
2317
+ When true, the connection has been taken offline: a flow run requested while its
2318
+ export's connection is offline is accepted, but its job waits `queued` and starts by
2319
+ itself once the connection is back online. The connection test a create or `PUT` runs
2320
+ sets the flag: the result arrives in the write's response or, when the target is slow
2321
+ to answer, shortly afterwards (the audit log records a `system` change; `lastModified`
2322
+ doesn't move), so read it again a few seconds after the write. On an `http` connection
2323
+ the write runs the test only when `http.ping` is configured, and an `http` connection
2324
+ that was never tested has no `offline` key. A run also takes an `http` connection
2325
+ offline when a request gets its authentication-failure status (see
2326
+ `http.auth.failStatusCode`), recorded in the audit log as a `system` update of
2327
+ `offline`; a `PUT` whose test passes brings it back online (live-verified 2026-10-25).
2326
2328
  readOnly: true
2327
2329
  needsAuthorization:
2328
2330
  type: boolean
@@ -4156,7 +4158,11 @@ components:
4156
4158
  description: |
4157
4159
  HTTP status code that indicates an authentication failure (e.g., 401, 403).
4158
4160
  When this status code is received, the system triggers re-authentication
4159
- before retrying the request.
4161
+ before retrying the request. On a `token` connection without token refresh, a run
4162
+ whose request gets this status (401 when unset) fails that step with error code
4163
+ `401`, whatever the status was (the message carries it, e.g. `{"status":403}`), and
4164
+ takes the connection offline (see `offline`); a 403 or 500 while this is unset fails
4165
+ the step and leaves the connection online (live-verified 2026-10-25).
4160
4166
  examples:
4161
4167
  - 401
4162
4168
  failPath:
package/dist/export.yml CHANGED
@@ -184,6 +184,22 @@ paths:
184
184
  x-celigo-refModel: exports
185
185
  examples:
186
186
  - 5f8d43a1b9e5a80011a35f2c
187
+ - name: mergeInstanceFlowId
188
+ in: query
189
+ description: |-
190
+ Instance flow whose overrides to apply: the response is this export with that instance's
191
+ `overrides.exports[]` entry for it (such as `_connectionId` or `http.relativeURI`) in
192
+ place of the stored values, and nothing is saved. Fields the override leaves out are
193
+ inherited, but one set to `null` drops its whole parent object (a null
194
+ `http.relativeURI` removes all of `http`). A flow that is not an instance, or an
195
+ instance whose abstract flow does not use this export, is rejected with 400
196
+ `invalid_request`; an unknown flow id returns 404.
197
+ schema:
198
+ type: string
199
+ format: objectId
200
+ x-celigo-refModel: flows
201
+ examples:
202
+ - 6a0fd84629f7fd19fd68feac
187
203
  responses:
188
204
  '200':
189
205
  description: Export retrieved successfully
@@ -206,6 +222,22 @@ paths:
206
222
  apiIdentifier: e53af6b210
207
223
  createdAt: '2026-06-09T17:30:12.482Z'
208
224
  lastModified: '2026-06-09T17:30:12.554Z'
225
+ merged_for_instance:
226
+ summary: Read with mergeInstanceFlowId — the instance overrides _connectionId and http.relativeURI
227
+ value:
228
+ _id: 5f8d43a1b9e5a80011a35f2c
229
+ name: Get Modified Contacts
230
+ _connectionId: 6a0fc7eb7202049b32ea45c1
231
+ adaptorType: HTTPExport
232
+ http:
233
+ relativeURI: /api/v2/contacts
234
+ method: GET
235
+ asynchronous: true
236
+ apiIdentifier: e53af6b210
237
+ createdAt: '2026-06-09T17:30:12.482Z'
238
+ lastModified: '2026-06-09T17:30:12.554Z'
239
+ '400':
240
+ $ref: '#/components/responses/400-bad-request'
209
241
  '401':
210
242
  $ref: '#/components/responses/401-unauthorized'
211
243
  '404':
@@ -418,6 +450,8 @@ paths:
418
450
  description: |
419
451
  Replaces the connection used by an export in a flow and cancels any running jobs.
420
452
  This is useful when migrating flows between environments or updating to newer connection versions.
453
+ Only `_connectionId` changes: the export's relative URI and other settings stay as authored,
454
+ also when the new connection is bound to a different HTTP connector.
421
455
  operationId: replaceConnectionOnExport
422
456
  tags:
423
457
  - Exports
@@ -1237,7 +1271,7 @@ components:
1237
1271
  never exported
1238
1272
 
1239
1273
  3. Error handling and recovery:
1240
- - If an export fails, the next run uses the last successful timestamp
1274
+ - If an export fails, the next run reuses the last checkpoint
1241
1275
  - Records created/modified during a failed run will be included in the next run
1242
1276
  - A run that exports nothing leaves the checkpoint where it was, so after a stretch of
1243
1277
  empty runs the next run that finds records reaches back to the last run that exported
@@ -1259,8 +1293,8 @@ components:
1259
1293
  - http
1260
1294
  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.
1261
1295
  description: |-
1262
- Record timestamp field(s) compared against the last successful run time to identify
1263
- changed records. Accepts a single field or multiple comma-separated fields, processed
1296
+ Record timestamp field(s) compared against the flow's checkpoint, {{lastExportDateTime}},
1297
+ to identify changed records. Accepts a single field or multiple comma-separated fields, processed
1264
1298
  sequentially — useful when different operations update different timestamp fields.
1265
1299
  If the flow's own downstream steps update the exported records, add export criteria
1266
1300
  that exclude already-processed records (or use a creation-time field for process-once
@@ -1276,8 +1310,8 @@ components:
1276
1310
  - |-
1277
1311
  ## FIELD BEHAVIOR
1278
1312
 
1279
- This field determines which record timestamp(s) are compared against the last successful run time
1280
- to identify changed records. Key characteristics:
1313
+ This field determines which record timestamp(s) are compared against the flow's checkpoint
1314
+ (``{{lastExportDateTime}}``) to identify changed records. Key characteristics:
1281
1315
 
1282
1316
  - REQUIRED for most adapter types (except HTTP and REST where this field is not supported)
1283
1317
  - Can reference a single field or multiple comma-separated fields
@@ -1138,28 +1138,57 @@ components:
1138
1138
  delimited:
1139
1139
  type: object
1140
1140
  description: |
1141
- Configuration specific to delimited format files (CSV, EDI, etc.).
1142
-
1143
- Used when `format` starts with "delimited".
1141
+ Delimiters for every `format` that starts with "delimited" (CSV, X12, EDIFACT).
1142
+ Generation always writes these saved values. A version "2" `delimited/x12` or
1143
+ `delimited/edifact` parse instead reads the element separator, component separator
1144
+ and segment terminator from the incoming envelope — the ISA segment for X12, the UNB
1145
+ segment for EDIFACT — and uses them for that parse only, so one definition parses
1146
+ interchanges from partners who use different delimiters. The stored definition is
1147
+ not changed. Version "1" definitions and plain delimited files always parse with the
1148
+ saved values; check either behavior against a sample with
1149
+ `POST /v1/processors/structuredFileParser`.
1150
+ x-celigo-ai-guidance:
1151
+ - |-
1152
+ Envelope delimiters are read only from an X12 ISA in its fixed 106-character form.
1153
+ An interchange whose ISA is not padded to that length is parsed with the saved
1154
+ delimiters, and when those do not produce an ISA segment either the parse fails
1155
+ with 422 `delimiter_detect_failed` "Could not read delimiters from the EDI envelope,
1156
+ and the file definition delimiters did not produce an ISA header." — fix the ISA
1157
+ padding or save the partner's delimiters.
1158
+ - |-
1159
+ Detection needs `version: "2"`. A version "1" X12 definition saved with `*` that is
1160
+ fed a `|`-separated interchange fails with 422 `missing_row` "Required rule must have
1161
+ the respective row in the source file. Path: rules[0].required for line: 1".
1144
1162
  properties:
1145
1163
  rowSuffix:
1146
1164
  type: string
1147
1165
  description: |
1148
- Character(s) appended after each row during generation.
1166
+ Segment terminator (X12 `~`, EDIFACT `'`) or other text the generator appends to
1167
+ every row before `rowDelimiter`; rules with `skipRowSuffix: true` omit it. A
1168
+ version "2" X12 or EDIFACT parse strips the terminator the envelope declares
1169
+ instead of this value.
1149
1170
  examples:
1150
1171
  - \n
1151
1172
  - \r\n
1152
1173
  rowDelimiter:
1153
1174
  type: string
1154
1175
  description: |
1155
- Character(s) used to delimit rows during parsing.
1176
+ Splits the file into rows when parsing and is written after each row's
1177
+ `rowSuffix` when generating. A version "2" X12 or EDIFACT parse splits on the
1178
+ segment terminator the envelope declares (plus any line break that follows it),
1179
+ so an interchange with no line breaks parses too; generation still writes this
1180
+ value.
1156
1181
  examples:
1157
1182
  - \n
1158
1183
  - ~\n
1159
1184
  colDelimiter:
1160
1185
  type: string
1161
1186
  description: |
1162
- Character(s) used to delimit columns/fields within a row.
1187
+ Separates the elements of a row — `,` for CSV, `*` for X12, `+` for EDIFACT — when
1188
+ parsing and generating. A version "2" X12 or EDIFACT parse uses the element
1189
+ separator found in the incoming ISA (the character after `ISA`) or UNB segment
1190
+ instead, so a partner's `|`-separated interchange parses against a definition
1191
+ saved with `*`; generation always writes this value.
1163
1192
  examples:
1164
1193
  - ','
1165
1194
  - \t
@@ -1168,8 +1197,12 @@ components:
1168
1197
  compositeDelimiter:
1169
1198
  type: string
1170
1199
  description: |
1171
- Character(s) used to delimit composite elements within a field.
1172
- Primarily used in EDI formats.
1200
+ Separates the sub-elements of a composite element (a rule element whose `value`
1201
+ is an object) that does not set its own `delimiter` — `:` is usual for EDIFACT,
1202
+ `>` or `:` for X12. A version "2" X12 or EDIFACT parse uses the component
1203
+ separator the envelope declares (ISA16 for X12; the character after the syntax
1204
+ identifier in UNB01 for EDIFACT), so composites split correctly whatever the
1205
+ partner sends; generation joins sub-elements with this value.
1173
1206
  examples:
1174
1207
  - ':'
1175
1208
  - '>'
@@ -1191,8 +1224,11 @@ components:
1191
1224
  escapeReleaseChar:
1192
1225
  type: boolean
1193
1226
  description: |
1194
- Whether to handle escape/release characters in delimited data.
1195
- Primarily relevant for EDI EDIFACT format.
1227
+ When true, a `?` in front of a delimiter makes that character part of the value
1228
+ instead of a separator (`PO?+W3B` parses as `PO+W3B`); it protects the separators a
1229
+ version "2" EDIFACT parse reads from the envelope as well as the saved ones. When
1230
+ false, `?` is ordinary text and the delimiter after it still splits the element. Set
1231
+ it for EDIFACT partners who release characters in their data.
1196
1232
  skipEDIValidation:
1197
1233
  type: boolean
1198
1234
  default: true