@celigo/api-specs 0.2.266 → 0.2.268

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/enduser.yml CHANGED
@@ -2085,6 +2085,16 @@ components:
2085
2085
  cert and key together for mTLS, ca for a private CA, and passphrase only when the private
2086
2086
  key is encrypted; cert/key and ca can be combined.
2087
2087
  properties:
2088
+ enabled:
2089
+ type: boolean
2090
+ description: |-
2091
+ When true, a `jdbc` connection uses SSL/TLS (the connection form's **Use SSL**
2092
+ checkbox). Written by `jdbc.useSSL`, which takes precedence over a value sent here, and
2093
+ read directly when `jdbc.useSSL` is not a boolean, so a GET body sent back as a PUT keeps
2094
+ the setting. `false` is stored only together with `cert`; otherwise it, like an omitted
2095
+ value, clears the stored flag. Ignored on other connection types.
2096
+ examples:
2097
+ - true
2088
2098
  ca:
2089
2099
  type: string
2090
2100
  description: |-
@@ -2539,7 +2549,7 @@ components:
2539
2549
  - |-
2540
2550
  For placeholder/dummy NetSuite connections, use authType "token-auto" with just the account id —
2541
2551
  integrator.io manages the OAuth client wiring on the backend, so no placeholder tokens are needed.
2542
- x-celigo-ui-override: 'authType is required by the connection form (the API itself accepts a connection without it). The per-auth-type requireds likewise mirror the form: basic requires email and password; token requires account, environment, tokenId, and tokenSecret; token-auto requires account. The API enforces none of these (each was live-verified to POST 201 when omitted); they are encoded in the connection request schema''s type=netsuite branch (not in this file, which jdbc connections also embed for NetSuite JDBC auth) so builders produce connectable connections.'
2552
+ x-celigo-ui-override: 'authType is required by the connection form (the API itself accepts a connection without it). The per-auth-type requireds likewise mirror the form: basic requires email and password; token requires account, environment, tokenId, and tokenSecret; token-auto and oauth require account (the form''s netsuite.token.auto.account, required:true, saved as netsuite.account). The API enforces none of these (each was live-verified to POST 201 when omitted); they are encoded in the connection request schema''s type=netsuite branch (not in this file, which jdbc connections also embed for NetSuite JDBC auth) so builders produce connectable connections.'
2543
2553
  properties:
2544
2554
  authType:
2545
2555
  type: string
@@ -2548,12 +2558,15 @@ components:
2548
2558
  enum:
2549
2559
  - token
2550
2560
  - token-auto
2561
+ - oauth
2551
2562
  x-enumDescriptions:
2552
2563
  token: Manual Token-Based Authentication (TBA) using tokenId and tokenSecret from a NetSuite integration record.
2553
2564
  token-auto: Automatic token management via Celigo's iClient; requires only the NetSuite account ID.
2565
+ oauth: OAuth 2.0 machine-to-machine (client credentials signed with a certificate); needs the NetSuite account ID. The server fills `oauth2`; values sent for `oauth2`, `entityId`, and `roleId` are ignored.
2554
2566
  description: |-
2555
2567
  Authentication method for the NetSuite connection. token-auto delegates the token
2556
- lifecycle to an iClient; token uses a manually-supplied tokenId/tokenSecret pair.
2568
+ lifecycle to an iClient; token uses a manually-supplied tokenId/tokenSecret pair; oauth
2569
+ uses a certificate-signed client credentials grant that NetSuite must authorize.
2557
2570
  x-celigo-ai-guidance:
2558
2571
  - |-
2559
2572
  Default to "token-auto" for new connections, including placeholders (only the account id is needed).
@@ -2566,7 +2579,7 @@ components:
2566
2579
  examples:
2567
2580
  - TSTDRV1234567
2568
2581
  description: |-
2569
- NetSuite account ID (automatically uppercased), required for token and token-auto authentication.
2582
+ NetSuite account ID (automatically uppercased), required for token, token-auto, and oauth authentication.
2570
2583
  Found in NetSuite under Setup > Company > Company Information. Non-production accounts
2571
2584
  carry an environment suffix (e.g. `123456_SB1`); production and beta use the bare id.
2572
2585
  x-uppercase: true
@@ -2785,7 +2798,40 @@ components:
2785
2798
  App's record (set by the app's install) or the account's own; access tokens are then created
2786
2799
  for that record's Application. Absent on a standalone connection, which signs with Celigo's
2787
2800
  `integrator.io` record (no client ID or secret is entered anywhere) and whose access tokens
2788
- must be created for Application `integrator.io`.
2801
+ must be created for Application `integrator.io`. With `authType` `oauth` it is optional;
2802
+ when set, the iClient must carry `oauth2.clientId` and `oauth2.clientSecret`, otherwise
2803
+ the save fails with 422 `missing_required_field` on `netsuite._iClientId` ("Expected
2804
+ field: oauth2.clientId/clientSecret to be present.").
2805
+ oauth2:
2806
+ type: object
2807
+ readOnly: true
2808
+ description: |-
2809
+ Machine-to-machine state of an `oauth` connection, written by the server on save and
2810
+ ignored on write; absent for other auth types.
2811
+ properties:
2812
+ grantType:
2813
+ type: string
2814
+ enum:
2815
+ - clientcredentials
2816
+ x-enumDescriptions:
2817
+ clientcredentials: OAuth 2.0 client credentials grant signed with a certificate.
2818
+ description: Grant used to obtain tokens; always `clientcredentials`.
2819
+ examples:
2820
+ - clientcredentials
2821
+ scope:
2822
+ type: array
2823
+ description: Scopes requested for the token; always `restlets` and `rest_webservices`.
2824
+ items:
2825
+ type: string
2826
+ enum:
2827
+ - restlets
2828
+ - rest_webservices
2829
+ x-enumDescriptions:
2830
+ restlets: NetSuite RESTlet access.
2831
+ rest_webservices: NetSuite REST web services access.
2832
+ examples:
2833
+ - - restlets
2834
+ - rest_webservices
2789
2835
  Salesforce:
2790
2836
  type: object
2791
2837
  description: |-
@@ -3569,6 +3615,25 @@ components:
3569
3615
  writeOnly: true
3570
3616
  examples:
3571
3617
  - dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk
3618
+ clientRegistration:
3619
+ type: string
3620
+ enum:
3621
+ - automatic
3622
+ - preregistered
3623
+ x-enumDescriptions:
3624
+ automatic: integrator.io registers itself with the MCP server's authorization server; no iClient is used.
3625
+ preregistered: The OAuth client is the iClient referenced by the connection's `_iClientId`.
3626
+ description: |-
3627
+ How the OAuth client is obtained; unset behaves as `preregistered`. With `automatic` the
3628
+ grant is always the authorization code flow (`grantType` is stored as `authorizecode`),
3629
+ and client-sent `grantType`, `authURI`, `tokenURI`, `scope`, and `scopeDelimiter` are
3630
+ dropped because the server discovers them. `automatic` is allowed only on an `mcp`
3631
+ connection with no `mcp.http._iClientId`: on an `http` connection, or an MCP connection
3632
+ that also sends an iClient, the save fails with 422 `mcp_client_registration_conflict`
3633
+ ("Automatic client registration is only supported for standalone MCP connections without
3634
+ an OAuth 2.0 client."). An update that omits it keeps the stored mode.
3635
+ examples:
3636
+ - automatic
3572
3637
  if:
3573
3638
  properties:
3574
3639
  grantType:
@@ -5177,6 +5242,7 @@ components:
5177
5242
  - redshift
5178
5243
  - mariadb
5179
5244
  - azuresynapse
5245
+ - fabric
5180
5246
  x-enumDescriptions:
5181
5247
  mysql: MySQL database (default port 3306).
5182
5248
  postgresql: PostgreSQL database (default port 5432).
@@ -5187,6 +5253,7 @@ components:
5187
5253
  redshift: Amazon Redshift — provisioned clusters or Redshift Serverless; authenticates with static access keys or an AWS IAM role iClient (redshift.authType).
5188
5254
  mariadb: MariaDB database (default port 3306).
5189
5255
  azuresynapse: Azure Synapse Analytics (default port 1433).
5256
+ fabric: Microsoft Fabric Warehouse; signs in with the service principal iClient in `_iClientId` and requires `fabric.workspaceId`; `host` is the Warehouse SQL endpoint and `database` the Warehouse name.
5190
5257
  description: |-
5191
5258
  The specific relational database system to connect to. Determines the SQL dialect,
5192
5259
  connection driver, default port, and which additional sub-fields are required.
@@ -5421,6 +5488,174 @@ components:
5421
5488
  SQL Server connections only; the Azure Synapse form's picker lists client-secret
5422
5489
  iClients. The API accepts either on either type (live-verified 201), so follow the
5423
5490
  form: bind a certificate iClient to mssql connections only.
5491
+ fabric:
5492
+ type: object
5493
+ description: |-
5494
+ Microsoft Fabric Warehouse configuration. Read when `type` is `fabric`; on any other
5495
+ type the object is dropped on save and absent from the response. The connection signs in
5496
+ as the `azureserviceprincipal` iClient referenced by `_iClientId`, so `version`,
5497
+ `instanceName`, `user`, and `password` do not apply: sending any of them fails with 422
5498
+ `invalid_field_value` ("This field does not apply to Microsoft Fabric connections.").
5499
+ properties:
5500
+ workspaceId:
5501
+ type: string
5502
+ pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
5503
+ description: |-
5504
+ Fabric workspace GUID from the Fabric portal URL; it is also the OneLake file system
5505
+ name. A value that is not a GUID fails with 422 `invalid_field_value` ("Enter the
5506
+ workspace GUID from the Fabric portal URL."); omitting it fails with 422
5507
+ `missing_required_field`.
5508
+ examples:
5509
+ - 3f2b6c1e-8a4d-4e7b-9c0a-1d2e3f4a5b6c
5510
+ authType:
5511
+ type: string
5512
+ enum:
5513
+ - azure-service-principal
5514
+ x-enumDescriptions:
5515
+ azure-service-principal: Microsoft Entra service principal held in the `azureserviceprincipal` iClient referenced by `_iClientId`.
5516
+ default: azure-service-principal
5517
+ description: |-
5518
+ Authentication mode. Service principal is the only mode, so the server fills it in
5519
+ when the request omits it and returns it on every Fabric connection.
5520
+ examples:
5521
+ - azure-service-principal
5522
+ staging:
5523
+ type: object
5524
+ description: |-
5525
+ Where bulk loads stage files before `COPY INTO`. A PUT replaces the whole object;
5526
+ omitted keys are cleared. Present when set.
5527
+ properties:
5528
+ strategy:
5529
+ type: string
5530
+ enum:
5531
+ - none
5532
+ - onelake
5533
+ - adlsgen2
5534
+ x-enumDescriptions:
5535
+ none: No staging; loads run without an intermediate file store.
5536
+ onelake: Stage in the Files area of the Lakehouse named by `onelake.lakehouse`.
5537
+ adlsgen2: Reserved for ADLS Gen2 staging; accepted on save without further fields.
5538
+ description: |-
5539
+ Staging strategy. Omitted behaves as `none`. `onelake` requires
5540
+ `onelake.lakehouse` (422 `missing_required_field` otherwise).
5541
+ examples:
5542
+ - onelake
5543
+ folder:
5544
+ type: string
5545
+ maxLength: 512
5546
+ pattern: ^[A-Za-z0-9][A-Za-z0-9_.-]*$
5547
+ description: |-
5548
+ Single folder name under the Lakehouse `Files/` root. Letters, digits, hyphens,
5549
+ underscores and dots only, starting with a letter or digit and never containing
5550
+ `..`; any other value fails with 422 `invalid_field_value`, and a longer value
5551
+ with 422 `size_limit_exceeded`. Stored with any `strategy`, including `none`.
5552
+ examples:
5553
+ - celigo-staging
5554
+ onelake:
5555
+ type: object
5556
+ description: OneLake staging target, used when `strategy` is `onelake`.
5557
+ properties:
5558
+ lakehouse:
5559
+ type: string
5560
+ maxLength: 512
5561
+ description: |-
5562
+ Display name of the Lakehouse to stage in; resolved to its item id at run
5563
+ time. Required (422 `missing_required_field`) when `strategy` is `onelake`.
5564
+ examples:
5565
+ - StagingLakehouse
5566
+ azuresynapse:
5567
+ type: object
5568
+ description: |-
5569
+ Azure Synapse settings beyond the shared `mssql` sub-object. Read when `type` is
5570
+ `azuresynapse`; on any other type the object is dropped on save and absent from the
5571
+ response.
5572
+ properties:
5573
+ staging:
5574
+ type: object
5575
+ description: |-
5576
+ ADLS Gen2 staging for bulk loads. `folder` and `adlsGen2` require `strategy`
5577
+ `adlsgen2`, and `adlsgen2` requires `mssql.authType` `azure-service-principal`
5578
+ (with its `_iClientId`); either mismatch fails with 422 `invalid_field_value`
5579
+ ("staging.folder and adlsGen2 fields require staging.strategy to be adlsgen2" /
5580
+ "ADLS Gen2 staging requires azure-service-principal authentication"). Stored and
5581
+ returned as sent, `strategy: none` included; a PUT that omits the object clears it.
5582
+ properties:
5583
+ strategy:
5584
+ type: string
5585
+ enum:
5586
+ - none
5587
+ - adlsgen2
5588
+ x-enumDescriptions:
5589
+ none: No staging.
5590
+ adlsgen2: Stage files in the ADLS Gen2 container named by `adlsGen2`; requires `folder`, `adlsGen2.storageAccount`, and `adlsGen2.container`.
5591
+ description: |-
5592
+ Staging strategy. With `adlsgen2`, a missing `folder`, `adlsGen2.storageAccount`,
5593
+ or `adlsGen2.container` fails with 422 `missing_required_field`.
5594
+ examples:
5595
+ - adlsgen2
5596
+ folder:
5597
+ type: string
5598
+ maxLength: 512
5599
+ description: |-
5600
+ Folder path inside the container; leading and trailing slashes and surrounding
5601
+ whitespace are removed on save. Each segment may contain only letters, digits,
5602
+ `.`, `_`, and `-`, may not be empty, `.` or `..`, and may not end with `.`; at
5603
+ most 56 segments. A violation fails with 422 `invalid_field_value`, a longer value
5604
+ with 422 `size_limit_exceeded`.
5605
+ examples:
5606
+ - celigo/staging
5607
+ adlsGen2:
5608
+ type: object
5609
+ description: ADLS Gen2 storage location for staged files.
5610
+ properties:
5611
+ accessMethod:
5612
+ type: string
5613
+ enum:
5614
+ - identityPassThrough
5615
+ - managedIdentity
5616
+ - sas
5617
+ x-enumDescriptions:
5618
+ identityPassThrough: Synapse reads the staged files with the connection's service principal identity.
5619
+ managedIdentity: Reserved for firewalled storage; accepted on save.
5620
+ sas: Reserved for firewalled storage; accepted on save.
5621
+ description: |-
5622
+ How Synapse authenticates to the storage account when loading staged files.
5623
+ Use `identityPassThrough`; the save stores the object without one when it is
5624
+ omitted.
5625
+ examples:
5626
+ - identityPassThrough
5627
+ storageAccount:
5628
+ type: string
5629
+ pattern: ^[a-z0-9]{3,24}$
5630
+ description: |-
5631
+ Storage account name, not a URL. Any other value fails with 422
5632
+ `invalid_field_value` ("must be the storage account name (3-24 lowercase
5633
+ letters and digits), not a URL").
5634
+ examples:
5635
+ - celigostaging01
5636
+ container:
5637
+ type: string
5638
+ pattern: ^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$
5639
+ description: |-
5640
+ Container name: 3-63 lowercase letters, digits, and hyphens, with no `--`.
5641
+ Any other value fails with 422 `invalid_field_value`.
5642
+ examples:
5643
+ - staging
5644
+ if:
5645
+ properties:
5646
+ strategy:
5647
+ const: adlsgen2
5648
+ required:
5649
+ - strategy
5650
+ then:
5651
+ required:
5652
+ - folder
5653
+ - adlsGen2
5654
+ properties:
5655
+ adlsGen2:
5656
+ required:
5657
+ - storageAccount
5658
+ - container
5424
5659
  bigquery:
5425
5660
  type: object
5426
5661
  description: |
@@ -5742,6 +5977,14 @@ components:
5742
5977
  - database
5743
5978
  - user
5744
5979
  - password
5980
+ properties:
5981
+ azuresynapse:
5982
+ properties:
5983
+ staging:
5984
+ properties:
5985
+ strategy:
5986
+ not:
5987
+ const: adlsgen2
5745
5988
  else:
5746
5989
  if:
5747
5990
  properties:
@@ -5860,6 +6103,23 @@ components:
5860
6103
  required:
5861
6104
  - accessKeyId
5862
6105
  - secretAccessKey
6106
+ else:
6107
+ if:
6108
+ properties:
6109
+ type:
6110
+ const: fabric
6111
+ required:
6112
+ - type
6113
+ then:
6114
+ required:
6115
+ - host
6116
+ - database
6117
+ - fabric
6118
+ - _iClientId
6119
+ properties:
6120
+ fabric:
6121
+ required:
6122
+ - workspaceId
5863
6123
  MongoDB:
5864
6124
  type: object
5865
6125
  description: |-
@@ -7026,8 +7286,27 @@ components:
7026
7286
  required:
7027
7287
  - auth
7028
7288
  then:
7029
- required:
7030
- - _iClientId
7289
+ if:
7290
+ properties:
7291
+ auth:
7292
+ properties:
7293
+ oauth:
7294
+ properties:
7295
+ clientRegistration:
7296
+ const: automatic
7297
+ required:
7298
+ - clientRegistration
7299
+ required:
7300
+ - oauth
7301
+ required:
7302
+ - auth
7303
+ then:
7304
+ not:
7305
+ required:
7306
+ - _iClientId
7307
+ else:
7308
+ required:
7309
+ - _iClientId
7031
7310
  x-celigo-ai-guidance:
7032
7311
  - |-
7033
7312
  The auth.type MUST be one of: "token", "oauth", or "custom".
@@ -7273,6 +7552,16 @@ components:
7273
7552
  minimum: 1
7274
7553
  maximum: 50
7275
7554
  default: 5
7555
+ useSSL:
7556
+ type: boolean
7557
+ writeOnly: true
7558
+ description: |-
7559
+ When true, the connection uses SSL/TLS (the form's **Use SSL** checkbox); stored and
7560
+ returned as the connection-level `ssl.enabled`, never under `jdbc`. Takes precedence over
7561
+ `ssl.enabled` in the same body. `false` is stored only together with `ssl.cert`;
7562
+ otherwise it clears the stored flag.
7563
+ examples:
7564
+ - true
7276
7565
  if:
7277
7566
  properties:
7278
7567
  type:
@@ -343,7 +343,18 @@ paths:
343
343
  '401':
344
344
  $ref: '#/components/responses/401-unauthorized'
345
345
  '404':
346
- $ref: '#/components/responses/404-not-found'
346
+ description: The event report does not exist in the account.
347
+ content:
348
+ application/json:
349
+ schema:
350
+ $ref: '#/components/schemas/Error'
351
+ examples:
352
+ not_found:
353
+ summary: Unknown event report id
354
+ value:
355
+ errors:
356
+ - code: invalid_ref
357
+ message: EventReport not found.
347
358
  '422':
348
359
  description: The report is in `completed` status and cannot be canceled.
349
360
  content:
package/dist/flow.yml CHANGED
@@ -108,6 +108,24 @@ paths:
108
108
  - lastExecutedAt
109
109
  x-enumDescriptions:
110
110
  lastExecutedAt: Most recently executed flows first; never-run flows last.
111
+ - name: order
112
+ in: query
113
+ description: |-
114
+ Direction of the list order: of `lastExecutedAt` when `sort_by` is set,
115
+ otherwise of the default order used when `sort_by` is omitted. Omit it,
116
+ or send it empty, to keep the default direction (most recent first for
117
+ `lastExecutedAt`). Matching is case-insensitive and ignores surrounding
118
+ whitespace; any other value, or the parameter repeated, fails with 400
119
+ `invalid_query_param`. The `_id` tie-break and the `after` cursor follow
120
+ the chosen direction, so keep the same `order` on every page.
121
+ schema:
122
+ type: string
123
+ enum:
124
+ - asc
125
+ - desc
126
+ x-enumDescriptions:
127
+ asc: Ascending order of the sort key.
128
+ desc: Descending order of the sort key.
111
129
  - name: includeInstances
112
130
  in: query
113
131
  description: |-
@@ -1208,7 +1226,18 @@ paths:
1208
1226
  '403':
1209
1227
  $ref: '#/components/responses/403-forbidden'
1210
1228
  '404':
1211
- $ref: '#/components/responses/404-not-found'
1229
+ description: The flow does not exist in the account.
1230
+ content:
1231
+ application/json:
1232
+ schema:
1233
+ $ref: '#/components/schemas/Error'
1234
+ examples:
1235
+ flowNotFound:
1236
+ summary: Unknown flow id
1237
+ value:
1238
+ errors:
1239
+ - code: invalid_ref
1240
+ message: The flow 507f1f77bcf86cd799439011 does not belong to the user 5f1b2c3d4e5f6a7b8c9d0e1f.
1212
1241
  '422':
1213
1242
  $ref: '#/components/responses/422-unprocessable-entity'
1214
1243
  /v1/flows/{_id}/traceKey:
@@ -5475,7 +5504,11 @@ components:
5475
5504
  additionalProperties: true
5476
5505
  timezone:
5477
5506
  type: string
5478
- description: Override for the flow's schedule timezone
5507
+ description: |-
5508
+ Override for the flow's schedule timezone. Must be a name the IANA time zone database
5509
+ recognizes: a write that sets anything else fails with 422 `invalid_value` ("<value> is
5510
+ not a recognized IANA time zone name for overrides.timezone."). An empty string is not
5511
+ checked.
5479
5512
  examples:
5480
5513
  - America/Chicago
5481
5514
  - Europe/Paris
@@ -6200,6 +6233,9 @@ components:
6200
6233
  timezone of its own. A flow saved without one stores none, and its schedule then runs in
6201
6234
  UTC when the account owner's profile has no time zone; per the Help Center's time zone
6202
6235
  precedence, it runs in the owner's profile time zone when the profile sets one.
6236
+ The value must be a name the IANA time zone database recognizes: a create, PUT, or PATCH
6237
+ that sets anything else fails with 422 `invalid_value` ("<value> is not a recognized IANA
6238
+ time zone name for timezone."). An empty string stores none and `null` is not checked.
6203
6239
  examples:
6204
6240
  - America/New_York
6205
6241
  - Europe/London
@@ -8039,6 +8075,18 @@ components:
8039
8075
  description: Groups multiple related jobs for a single flow execution.
8040
8076
  examples:
8041
8077
  - 70f3bd04a01142b29031e36ccff9242b
8078
+ runType:
8079
+ type: string
8080
+ readOnly: true
8081
+ enum:
8082
+ - replay
8083
+ x-enumDescriptions:
8084
+ replay: Started by `POST /v1/flows/{_id}/replay`; re-delivers already-published topic messages.
8085
+ description: |-
8086
+ Kind of run that created the job. Present on replay runs; absent for scheduled,
8087
+ on-demand, and event-driven runs.
8088
+ examples:
8089
+ - replay
8042
8090
  numError:
8043
8091
  type: integer
8044
8092
  readOnly: true
package/dist/import.yml CHANGED
@@ -2087,6 +2087,9 @@ components:
2087
2087
  entry means no template for the method at that position. Each entry is a string:
2088
2088
  write a JSON body as a template string (`["{\"id\": \"{{record.id}}\"}"]`), not as
2089
2089
  a JSON object, because an object entry does not render as JSON at runtime.
2090
+ An entry that is not a string or `null` fails the save
2091
+ with 422 `invalid_http_body` ("http.body.<index> must be a Handlebars template
2092
+ string."; `rest.body.<index>` on a REST-form import).
2090
2093
  Leave undefined for standard imports — the Import's mapping step transforms the source record and the mapped data is sent as the request body automatically.
2091
2094
  Set it only when the target API requires XML, SOAP, or a custom structure that mappings cannot produce, or when the user explicitly specifies a request body.
2092
2095
  When set, the mapping step still runs first and the template renders against the post-mapped record — use `{{record.<mappedField>}}` to reference mapping outputs.
@@ -17572,7 +17575,11 @@ components:
17572
17575
  Sample of the record the import writes, in the destination's own shape — the
17573
17576
  mapping editor builds its destination field list from it when none of its earlier
17574
17577
  sources applies: an HTTP connector on the connection, a bulk-load table's columns,
17575
- an Integration App's metadata, then this field. On a file
17578
+ an Integration App's metadata, then this field. `AiAgentImport`, `GuardrailImport`
17579
+ and `ToolImport` are the exception: the editor never reads this field on them — it
17580
+ maps an AI agent or guardrail step into the step's fixed input (`text` and `record`,
17581
+ plus `files` on an AI agent or a moderation guardrail) and a Tool step into the
17582
+ tool's `input.schema`. On a file
17576
17583
  transfer it is the generated file's record: for `file.type` `filedefinition` (EDI
17577
17584
  X12 / EDIFACT, fixed-width or another custom format) the definition's generate
17578
17585
  sample — a record whose nested arrays are the document's repeating loops, carried
@@ -17582,9 +17589,10 @@ components:
17582
17589
  is never the flow's source record, which comes from the previous step's preview.
17583
17590
  x-celigo-ai-guidance:
17584
17591
  - |-
17585
- The destination's source is decided in one order for every import — an HTTP
17586
- connector on the connection, then a bulk-load table's columns, then an
17587
- Integration App's metadata, then this field. Where it falls to this field, read
17592
+ Except on `AiAgentImport`, `GuardrailImport` and `ToolImport`, which never take
17593
+ their destination from this field, the destination's source is decided in one
17594
+ order — an HTTP connector on the connection, then a bulk-load table's columns, then
17595
+ an Integration App's metadata, then this field. Where it falls to this field, read
17588
17596
  it as the destination structure: on a file definition map into the record's
17589
17597
  nested arrays (unwrap a one-element array first; an 846's `LIN` array holds the
17590
17598
  item identifier and its `QTY` quantities), on csv / xlsx / xml / json parse the
@@ -3741,6 +3741,9 @@ components:
3741
3741
  `settings.sections[]` (tabs, then nested `sections[]`, then `fields[]`; a flow entry's own
3742
3742
  fields sit in its `settings[]`). When `settings.supportsMultiStore` is true, each
3743
3743
  `settings.sections[]` entry is a store and its own `sections[]` are the tabs.
3744
+ A write that changes it to a non-empty string, a number, or a boolean fails with 422
3745
+ `invalid_field_type` ("Invalid value provided for settings. Expected an object."); an
3746
+ object, an array, an empty string, and `null` are accepted.
3744
3747
  allOf:
3745
3748
  - description: |-
3746
3749
  Integration App settings object for this integration.
package/dist/job.yml CHANGED
@@ -463,6 +463,20 @@ paths:
463
463
  $ref: '#/components/responses/400-bad-request'
464
464
  '401':
465
465
  $ref: '#/components/responses/401-unauthorized'
466
+ '503':
467
+ description: |-
468
+ The query ran out of time on the database. Retry, or narrow the filter. Error code:
469
+ `resource_not_available`.
470
+ content:
471
+ application/json:
472
+ schema:
473
+ $ref: '#/components/schemas/Error'
474
+ examples:
475
+ timedOut:
476
+ value:
477
+ errors:
478
+ - code: resource_not_available
479
+ message: Resource is not available yet, retry might help.
466
480
  x-celigo-ai-guidance:
467
481
  - |-
468
482
  Returns a paged collection of currently running jobs for the dashboard.
@@ -567,6 +581,20 @@ paths:
567
581
  $ref: '#/components/responses/400-bad-request'
568
582
  '401':
569
583
  $ref: '#/components/responses/401-unauthorized'
584
+ '503':
585
+ description: |-
586
+ The query ran out of time on the database. Retry, or narrow the filter. Error code:
587
+ `resource_not_available`.
588
+ content:
589
+ application/json:
590
+ schema:
591
+ $ref: '#/components/schemas/Error'
592
+ examples:
593
+ timedOut:
594
+ value:
595
+ errors:
596
+ - code: resource_not_available
597
+ message: Resource is not available yet, retry might help.
570
598
  /v1/jobs/family:
571
599
  post:
572
600
  x-internal: false
@@ -1094,9 +1122,12 @@ paths:
1094
1122
  - Jobs
1095
1123
  summary: Get the most recent job(s) for a flow
1096
1124
  description: |-
1097
- Returns the most recent job record(s) for the given flow. Typically one entry (the latest flow run), though
1098
- the platform may include related retry jobs depending on account configuration. For a richer parent+children
1099
- view, feed the returned `_id` into `GET /v1/jobs/{_id}/family`.
1125
+ Returns the current job records for the given flow, per page generator: every in-progress job
1126
+ (`queued`, `running`, or `retrying`, newest first, at most 50 per page generator by default;
1127
+ the deployment can change the cap) plus the newest job of any status. A job that is both
1128
+ appears once. A flow with overlapping runs (listeners, webhooks) therefore returns every
1129
+ run still in progress, not only the newest one. For a richer parent+children view, feed a
1130
+ returned `_id` into `GET /v1/jobs/{_id}/family`.
1100
1131
  parameters:
1101
1132
  - name: _id
1102
1133
  in: path
@@ -1112,7 +1143,7 @@ paths:
1112
1143
  - $ref: '#/components/parameters/Exclude'
1113
1144
  responses:
1114
1145
  '200':
1115
- description: Most recent job(s) for the flow. May be a single-element array.
1146
+ description: In-progress jobs and the newest job for each of the flow's page generators.
1116
1147
  content:
1117
1148
  application/json:
1118
1149
  schema:
@@ -1568,6 +1599,18 @@ components:
1568
1599
  description: Groups multiple related jobs for a single flow execution.
1569
1600
  examples:
1570
1601
  - 70f3bd04a01142b29031e36ccff9242b
1602
+ runType:
1603
+ type: string
1604
+ readOnly: true
1605
+ enum:
1606
+ - replay
1607
+ x-enumDescriptions:
1608
+ replay: Started by `POST /v1/flows/{_id}/replay`; re-delivers already-published topic messages.
1609
+ description: |-
1610
+ Kind of run that created the job. Present on replay runs; absent for scheduled,
1611
+ on-demand, and event-driven runs.
1612
+ examples:
1613
+ - replay
1571
1614
  numError:
1572
1615
  type: integer
1573
1616
  readOnly: true