@celigo/api-specs 0.2.259 → 0.2.261

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/ai-agent.yml CHANGED
@@ -6652,6 +6652,43 @@ components:
6652
6652
  - aiAgent
6653
6653
  allOf:
6654
6654
  - $ref: '#/components/schemas/AiAgentBase'
6655
+ if:
6656
+ not:
6657
+ required:
6658
+ - _connectionId
6659
+ then:
6660
+ x-celigo-ui-override: The AI agent form (forms/definitions/ai/aiAgent.js preSave, with the Add tools picker) offers and keeps Code Execution only on a BYOK agent whose model metadata declares supportsCodeExecution (a BYOK agent's existing tool also survives while that metadata is unavailable), and strips it from a Celigo AI agent on save. Encoded to mirror the form so builders produce agents that can run.
6661
+ properties:
6662
+ aiAgent:
6663
+ properties:
6664
+ openai:
6665
+ properties:
6666
+ tools:
6667
+ items:
6668
+ properties:
6669
+ type:
6670
+ not:
6671
+ const: code_execution
6672
+ litellm:
6673
+ properties:
6674
+ _overrides:
6675
+ properties:
6676
+ gemini:
6677
+ properties:
6678
+ tools:
6679
+ items:
6680
+ properties:
6681
+ type:
6682
+ not:
6683
+ const: codeExecution
6684
+ anthropic:
6685
+ properties:
6686
+ tools:
6687
+ items:
6688
+ properties:
6689
+ type:
6690
+ not:
6691
+ const: codeExecution
6655
6692
  PreviewCompareRequest:
6656
6693
  type: object
6657
6694
  description: |-
package/dist/api.yml CHANGED
@@ -8550,13 +8550,17 @@ components:
8550
8550
  offline:
8551
8551
  type: boolean
8552
8552
  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.
8553
+ When true, the connection has been taken offline: a flow run requested while its
8554
+ export's connection is offline is accepted, but its job waits `queued` and starts by
8555
+ itself once the connection is back online. The connection test a create or `PUT` runs
8556
+ sets the flag: the result arrives in the write's response or, when the target is slow
8557
+ to answer, shortly afterwards (the audit log records a `system` change; `lastModified`
8558
+ doesn't move), so read it again a few seconds after the write. On an `http` connection
8559
+ the write runs the test only when `http.ping` is configured, and an `http` connection
8560
+ that was never tested has no `offline` key. A run also takes an `http` connection
8561
+ offline when a request gets its authentication-failure status (see
8562
+ `http.auth.failStatusCode`), recorded in the audit log as a `system` update of
8563
+ `offline`; a `PUT` whose test passes brings it back online (live-verified 2026-10-25).
8560
8564
  readOnly: true
8561
8565
  needsAuthorization:
8562
8566
  type: boolean
@@ -10390,7 +10394,11 @@ components:
10390
10394
  description: |
10391
10395
  HTTP status code that indicates an authentication failure (e.g., 401, 403).
10392
10396
  When this status code is received, the system triggers re-authentication
10393
- before retrying the request.
10397
+ before retrying the request. On a `token` connection without token refresh, a run
10398
+ whose request gets this status (401 when unset) fails that step with error code
10399
+ `401`, whatever the status was (the message carries it, e.g. `{"status":403}`), and
10400
+ takes the connection offline (see `offline`); a 403 or 500 while this is unset fails
10401
+ the step and leaves the connection online (live-verified 2026-10-25).
10394
10402
  examples:
10395
10403
  - 401
10396
10404
  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.
@@ -4274,13 +4274,17 @@ components:
4274
4274
  offline:
4275
4275
  type: boolean
4276
4276
  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.
4277
+ When true, the connection has been taken offline: a flow run requested while its
4278
+ export's connection is offline is accepted, but its job waits `queued` and starts by
4279
+ itself once the connection is back online. The connection test a create or `PUT` runs
4280
+ sets the flag: the result arrives in the write's response or, when the target is slow
4281
+ to answer, shortly afterwards (the audit log records a `system` change; `lastModified`
4282
+ doesn't move), so read it again a few seconds after the write. On an `http` connection
4283
+ the write runs the test only when `http.ping` is configured, and an `http` connection
4284
+ that was never tested has no `offline` key. A run also takes an `http` connection
4285
+ offline when a request gets its authentication-failure status (see
4286
+ `http.auth.failStatusCode`), recorded in the audit log as a `system` update of
4287
+ `offline`; a `PUT` whose test passes brings it back online (live-verified 2026-10-25).
4284
4288
  readOnly: true
4285
4289
  needsAuthorization:
4286
4290
  type: boolean
@@ -6114,7 +6118,11 @@ components:
6114
6118
  description: |
6115
6119
  HTTP status code that indicates an authentication failure (e.g., 401, 403).
6116
6120
  When this status code is received, the system triggers re-authentication
6117
- before retrying the request.
6121
+ before retrying the request. On a `token` connection without token refresh, a run
6122
+ whose request gets this status (401 when unset) fails that step with error code
6123
+ `401`, whatever the status was (the message carries it, e.g. `{"status":403}`), and
6124
+ takes the connection offline (see `offline`); a 403 or 500 while this is unset fails
6125
+ the step and leaves the connection online (live-verified 2026-10-25).
6118
6126
  examples:
6119
6127
  - 401
6120
6128
  failPath:
@@ -261,6 +261,7 @@ paths:
261
261
  mode: expand
262
262
  referenceDocumentNumber: PO P129-ORDER-0001
263
263
  partnerPairKey: 'ACMEFOODS :CELIGOTEST '
264
+ parentTransactionId: 6ae8902e8f6a1c2d3e4f5a6b
264
265
  responses:
265
266
  '200':
266
267
  description: |-
@@ -603,7 +604,9 @@ paths:
603
604
  - code: lifecycle_group_not_found
604
605
  message: No accessible lifecycle group found for the given referenceDocumentNumber and partnerPairKey
605
606
  '422':
606
- description: The lifecycle view and mode fields contradict each other.
607
+ description: |-
608
+ A lifecycle field is unusable: `view` and `mode` contradict each other, or
609
+ `parentTransactionId` is not a 24-character hex id.
607
610
  content:
608
611
  application/json:
609
612
  schema:
@@ -620,6 +623,12 @@ paths:
620
623
  errors:
621
624
  - code: invalid_query_view
622
625
  message: view must be lifecycle when mode is provided
626
+ invalid_lifecycle_expand_parent_id:
627
+ summary: parentTransactionId that is not an object id
628
+ value:
629
+ errors:
630
+ - code: invalid_lifecycle_expand_parent_id
631
+ message: parentTransactionId must be a 24-character hex ObjectId
623
632
  /v1/ediTransactions/search:
624
633
  post:
625
634
  x-internal: false
@@ -2718,7 +2727,7 @@ components:
2718
2727
  - expand
2719
2728
  x-enumDescriptions:
2720
2729
  browse: Return one collapsed row per lifecycle group in `groups`.
2721
- expand: Return every member of the group named by `referenceDocumentNumber` and `partnerPairKey` in `group`.
2730
+ expand: Return the group named by `referenceDocumentNumber` and `partnerPairKey` in `group`, with the parent row left out of `group.ediTransactions`.
2722
2731
  description: |-
2723
2732
  Lifecycle mode; required with `view: lifecycle`. Any other value fails
2724
2733
  with 422 `invalid_lifecycle_mode`, and `mode` without
@@ -2742,6 +2751,23 @@ components:
2742
2751
  Required with `mode: expand`.
2743
2752
  examples:
2744
2753
  - 'ACMEFOODS :CELIGOTEST '
2754
+ parentTransactionId:
2755
+ x-internal: false
2756
+ type:
2757
+ - string
2758
+ - 'null'
2759
+ format: objectId
2760
+ pattern: ^[a-fA-F0-9]{24}$
2761
+ x-celigo-refModel: editransactions
2762
+ description: |-
2763
+ Expand only. Transaction you already show as the group's parent row,
2764
+ usually the browse group's `latestTransaction._id`; letter case does
2765
+ not matter. Expand leaves it out of `group.ediTransactions` when it is
2766
+ among the returned members, and leaves nothing out when it is not.
2767
+ Omit it or send null to leave out the newest member instead; any other
2768
+ value fails with 422 `invalid_lifecycle_expand_parent_id`.
2769
+ examples:
2770
+ - 5f8d43a1b9e5a80011a35f2c
2745
2771
  scanBatchSize:
2746
2772
  type: integer
2747
2773
  minimum: 1
package/dist/enduser.yml CHANGED
@@ -2316,13 +2316,17 @@ components:
2316
2316
  offline:
2317
2317
  type: boolean
2318
2318
  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.
2319
+ When true, the connection has been taken offline: a flow run requested while its
2320
+ export's connection is offline is accepted, but its job waits `queued` and starts by
2321
+ itself once the connection is back online. The connection test a create or `PUT` runs
2322
+ sets the flag: the result arrives in the write's response or, when the target is slow
2323
+ to answer, shortly afterwards (the audit log records a `system` change; `lastModified`
2324
+ doesn't move), so read it again a few seconds after the write. On an `http` connection
2325
+ the write runs the test only when `http.ping` is configured, and an `http` connection
2326
+ that was never tested has no `offline` key. A run also takes an `http` connection
2327
+ offline when a request gets its authentication-failure status (see
2328
+ `http.auth.failStatusCode`), recorded in the audit log as a `system` update of
2329
+ `offline`; a `PUT` whose test passes brings it back online (live-verified 2026-10-25).
2326
2330
  readOnly: true
2327
2331
  needsAuthorization:
2328
2332
  type: boolean
@@ -4156,7 +4160,11 @@ components:
4156
4160
  description: |
4157
4161
  HTTP status code that indicates an authentication failure (e.g., 401, 403).
4158
4162
  When this status code is received, the system triggers re-authentication
4159
- before retrying the request.
4163
+ before retrying the request. On a `token` connection without token refresh, a run
4164
+ whose request gets this status (401 when unset) fails that step with error code
4165
+ `401`, whatever the status was (the message carries it, e.g. `{"status":403}`), and
4166
+ takes the connection offline (see `offline`); a 403 or 500 while this is unset fails
4167
+ the step and leaves the connection online (live-verified 2026-10-25).
4160
4168
  examples:
4161
4169
  - 401
4162
4170
  failPath: