@celigo/api-specs 0.2.297 → 0.2.299

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
@@ -672,10 +672,15 @@ paths:
672
672
  Accepts a sample JSON object and returns its inferred JSON Schema definition.
673
673
  Useful for bootstrapping `bodySchema` in builder-mode APIs from real payload samples.
674
674
  Input must be a non-empty JSON object -- arrays and primitives are rejected.
675
- The generated schema is shallow (one level of `properties`); nested objects become
676
- `type: "object"` without further property inference. Fill in or remove those nodes
677
- before saving the result as a `bodySchema`: the API Builder editor can't render an
678
- object node that has no properties.
675
+ Nested objects are inferred recursively, each with its own `properties`. An array gets
676
+ `items` when its elements agree: one scalar type, whole numbers mixed with decimals
677
+ (`number`), nested arrays, or objects that share the same keys (their `properties` are
678
+ inferred too). Objects whose keys differ give `items` of `type: "object"` with no
679
+ properties, and an empty array or one that mixes types has no `items`. Whole numbers
680
+ are `integer`, other numbers `number`, and `null` is `type: "null"`.
681
+ Fill in or remove any object node that comes back without `properties` (an empty
682
+ object, or array items whose keys differ) before saving the result as a `bodySchema`:
683
+ the API Builder editor can't render an object node that has no properties.
679
684
  requestBody:
680
685
  required: true
681
686
  content:
@@ -688,6 +693,11 @@ paths:
688
693
  name: Acme Corp
689
694
  active: true
690
695
  count: 42
696
+ address:
697
+ city: Reno
698
+ tags:
699
+ - wholesale
700
+ - priority
691
701
  responses:
692
702
  '200':
693
703
  description: JSON Schema generated successfully.
@@ -711,13 +721,44 @@ paths:
711
721
  active:
712
722
  type: boolean
713
723
  count:
714
- type: number
724
+ type: integer
725
+ address:
726
+ type: object
727
+ properties:
728
+ city:
729
+ type: string
730
+ tags:
731
+ type: array
732
+ items:
733
+ type: string
715
734
  '400':
716
- $ref: '#/components/responses/400-bad-request'
735
+ description: The request body is a JSON array, or isn't valid JSON.
736
+ content:
737
+ application/json:
738
+ schema:
739
+ $ref: '#/components/schemas/Error'
740
+ examples:
741
+ arrayBody:
742
+ summary: The body is an array
743
+ value:
744
+ errors:
745
+ - code: api_builder_invalid_payload
746
+ message: Payload is not an object.
717
747
  '401':
718
748
  $ref: '#/components/responses/401-unauthorized'
719
749
  '422':
720
- $ref: '#/components/responses/422-unprocessable-entity'
750
+ description: The request body is an empty object.
751
+ content:
752
+ application/json:
753
+ schema:
754
+ $ref: '#/components/schemas/Error'
755
+ examples:
756
+ emptyObject:
757
+ summary: The body is `{}`
758
+ value:
759
+ errors:
760
+ - code: missing_request_body
761
+ message: Request body is missing.
721
762
  /v1/apis/updateApiGrouping:
722
763
  put:
723
764
  x-internal: false
@@ -8957,12 +8998,23 @@ components:
8957
8998
  Authentication method for the NetSuite connection. token-auto delegates the token
8958
8999
  lifecycle to an iClient; token uses a manually-supplied tokenId/tokenSecret pair; oauth
8959
9000
  uses a certificate-signed client credentials grant that NetSuite must authorize.
9001
+ An oauth connection runs RESTlet-based exports and imports only. One that reads or
9002
+ writes through SuiteTalk (SOAP), such as a saved-search or file export or a SuiteTalk
9003
+ record import, still saves on it, and is refused when it is previewed or invoked with
9004
+ 400 `netsuite_oauth2_soap_not_supported`. Until NetSuite has authorized the connection,
9005
+ a RESTlet export preview and the connection test answer
9006
+ `netsuite_oauth2_reconnect_required`.
8960
9007
  x-celigo-ai-guidance:
8961
9008
  - |-
8962
9009
  Default to "token-auto" for new connections, including placeholders (only the account id is needed).
8963
9010
  Use "token" when the user supplies their own tokenId/tokenSecret. Do not create "basic" connections:
8964
9011
  the API rejects them with 422 "netsuite_wsdl_tba_mandatory" because the available WSDL versions
8965
9012
  require Token-Based Authentication.
9013
+ - |-
9014
+ Don't attach a SuiteTalk (SOAP) step to an "oauth" connection: a saved-search or file export
9015
+ (netsuite.type "search" or "file") saves with 201 but its preview fails with 400
9016
+ "netsuite_oauth2_soap_not_supported". Build the step as a RESTlet export or import, or use a
9017
+ "token" or "token-auto" connection.
8966
9018
  x-lowercase: true
8967
9019
  account:
8968
9020
  type: string
@@ -4743,12 +4743,23 @@ components:
4743
4743
  Authentication method for the NetSuite connection. token-auto delegates the token
4744
4744
  lifecycle to an iClient; token uses a manually-supplied tokenId/tokenSecret pair; oauth
4745
4745
  uses a certificate-signed client credentials grant that NetSuite must authorize.
4746
+ An oauth connection runs RESTlet-based exports and imports only. One that reads or
4747
+ writes through SuiteTalk (SOAP), such as a saved-search or file export or a SuiteTalk
4748
+ record import, still saves on it, and is refused when it is previewed or invoked with
4749
+ 400 `netsuite_oauth2_soap_not_supported`. Until NetSuite has authorized the connection,
4750
+ a RESTlet export preview and the connection test answer
4751
+ `netsuite_oauth2_reconnect_required`.
4746
4752
  x-celigo-ai-guidance:
4747
4753
  - |-
4748
4754
  Default to "token-auto" for new connections, including placeholders (only the account id is needed).
4749
4755
  Use "token" when the user supplies their own tokenId/tokenSecret. Do not create "basic" connections:
4750
4756
  the API rejects them with 422 "netsuite_wsdl_tba_mandatory" because the available WSDL versions
4751
4757
  require Token-Based Authentication.
4758
+ - |-
4759
+ Don't attach a SuiteTalk (SOAP) step to an "oauth" connection: a saved-search or file export
4760
+ (netsuite.type "search" or "file") saves with 201 but its preview fails with 400
4761
+ "netsuite_oauth2_soap_not_supported". Build the step as a RESTlet export or import, or use a
4762
+ "token" or "token-auto" connection.
4752
4763
  x-lowercase: true
4753
4764
  account:
4754
4765
  type: string
package/dist/enduser.yml CHANGED
@@ -2643,12 +2643,23 @@ components:
2643
2643
  Authentication method for the NetSuite connection. token-auto delegates the token
2644
2644
  lifecycle to an iClient; token uses a manually-supplied tokenId/tokenSecret pair; oauth
2645
2645
  uses a certificate-signed client credentials grant that NetSuite must authorize.
2646
+ An oauth connection runs RESTlet-based exports and imports only. One that reads or
2647
+ writes through SuiteTalk (SOAP), such as a saved-search or file export or a SuiteTalk
2648
+ record import, still saves on it, and is refused when it is previewed or invoked with
2649
+ 400 `netsuite_oauth2_soap_not_supported`. Until NetSuite has authorized the connection,
2650
+ a RESTlet export preview and the connection test answer
2651
+ `netsuite_oauth2_reconnect_required`.
2646
2652
  x-celigo-ai-guidance:
2647
2653
  - |-
2648
2654
  Default to "token-auto" for new connections, including placeholders (only the account id is needed).
2649
2655
  Use "token" when the user supplies their own tokenId/tokenSecret. Do not create "basic" connections:
2650
2656
  the API rejects them with 422 "netsuite_wsdl_tba_mandatory" because the available WSDL versions
2651
2657
  require Token-Based Authentication.
2658
+ - |-
2659
+ Don't attach a SuiteTalk (SOAP) step to an "oauth" connection: a saved-search or file export
2660
+ (netsuite.type "search" or "file") saves with 201 but its preview fails with 400
2661
+ "netsuite_oauth2_soap_not_supported". Build the step as a RESTlet export or import, or use a
2662
+ "token" or "token-auto" connection.
2652
2663
  x-lowercase: true
2653
2664
  account:
2654
2665
  type: string
package/dist/export.yml CHANGED
@@ -581,11 +581,22 @@ paths:
581
581
  `invalid_request` before `_connectionId` is looked at (every other
582
582
  `type` value passes this check). Then, on this route only, an alias
583
583
  name in `_connectionId` is `invalid_ref` (the scoped routes resolve it).
584
+ A NetSuite saved-search or file export (`netsuite.type` `search` or
585
+ `file`) on a connection whose `netsuite.authType` is `oauth` is
586
+ `netsuite_oauth2_soap_not_supported` (`source: connection`): those
587
+ exports read through SuiteTalk, which OAuth 2.0 connections can't call.
584
588
  content:
585
589
  application/json:
586
590
  schema:
587
591
  $ref: '#/components/schemas/Error'
588
592
  examples:
593
+ netsuiteOauthSuiteTalk:
594
+ summary: A SuiteTalk export on a NetSuite OAuth 2.0 connection
595
+ value:
596
+ errors:
597
+ - code: netsuite_oauth2_soap_not_supported
598
+ message: This operation uses NetSuite SuiteTalk (SOAP), which does not support OAuth 2.0. Use a RESTlet-based export or import, or a token-based auth connection for this resource.
599
+ source: connection
589
600
  virtualSimpleExport:
590
601
  summary: Virtual export type not supported
591
602
  value:
@@ -619,7 +630,10 @@ paths:
619
630
  Cannot convert given string or number to date time.", followed by
620
631
  `; record=` and that record as JSON. A Google Cloud Storage read of a
621
632
  bucket or object that doesn't exist fails with `gcs_bucket_not_found`
622
- or `gcs_object_not_found`.
633
+ or `gcs_object_not_found`. A RESTlet export on a NetSuite `oauth`
634
+ connection that NetSuite has not authorized yet fails with
635
+ `netsuite_oauth2_reconnect_required` (`source: connection`) and
636
+ `stages: null`.
623
637
  content:
624
638
  application/json:
625
639
  schema:
@@ -709,6 +723,14 @@ paths:
709
723
  - code: gcs_bucket_not_found
710
724
  message: The specified Google Cloud Storage bucket was not found. Verify the bucket name and that the service account has access.
711
725
  source: resource
726
+ netsuiteOauthNotAuthorized:
727
+ summary: A RESTlet export on a NetSuite OAuth 2.0 connection awaiting authorization
728
+ value:
729
+ errors:
730
+ - code: netsuite_oauth2_reconnect_required
731
+ message: This NetSuite connection needs to be re-authorized. Click Save & Authorize to reconnect.
732
+ source: connection
733
+ stages: null
712
734
  /v1/integrations/{_integrationId}/exports/preview:
713
735
  post:
714
736
  x-internal: false
@@ -1662,11 +1662,12 @@ components:
1662
1662
  description: |-
1663
1663
  Selects the check a guardrail applies and carries its settings. `type` picks the check
1664
1664
  and the matching sub-object (`pii`, `moderation`, or `aiAgent`) configures it.
1665
- Responses echo the active sub-object with `confidenceThreshold` defaulted and also
1666
- return the inactive `pii` / `moderation` siblings as empty stubs
1667
- (`pii: {entities: [], mask: false}`, `moderation: {categories: []}`) — only the active
1668
- type's sub-object is meaningful. Guardrails created before the AI-agent stub was
1669
- stripped on write may still return an inert `aiAgent` on `pii` / `moderation` guardrails.
1665
+ Responses echo the active sub-object with `confidenceThreshold` defaulted. A save keeps
1666
+ only the active type's sub-object, so switching `type` on PUT removes the previous
1667
+ type's block. A guardrail last saved before that rule may still return the inactive
1668
+ siblings — empty stubs (`pii: {entities: [], mask: false}`,
1669
+ `moderation: {categories: []}`) or an inert `aiAgent` on a `pii` / `moderation`
1670
+ guardrail; only the active type's sub-object is meaningful.
1670
1671
  x-celigo-ai-guidance:
1671
1672
  - |-
1672
1673
  Pick exactly one type. Prefer the deterministic local classifiers (`pii`, then
package/dist/import.yml CHANGED
@@ -6067,7 +6067,7 @@ components:
6067
6067
  Set a single value; do not combine types or use the legacy INSERT and UPDATE values.
6068
6068
  per_page statements render against the whole batch (`batch_of_records`) rather than a single record — loop with `{{#each batch_of_records}}...{{record.fieldName}}...{{/each}}`, with the same quoting as `query` (double braces for strings, triple for numbers).
6069
6069
 
6070
- `bulk_load` — Stages the records as files and loads them with the database's native COPY / bulk mechanism for maximum throughput; supports INSERT, upsert via bulkLoad.primaryKeys, and custom merge or ignore-existing logic via bulkLoad.overrideMergeQuery; available on Snowflake, Google BigQuery, Microsoft SQL Server (cloud connections), Azure Synapse and Amazon Redshift (NetSuite Analytics Warehouse has it through the JDBC import). The import form calls it "Use optimized bulk load (recommended for larger imports)" and, beside it, calls bulk_insert "Use batch insert SQL query".
6070
+ `bulk_load` — Stages the records as files and loads them with the database's native COPY / bulk mechanism for maximum throughput; supports INSERT, upsert via bulkLoad.primaryKeys, and custom merge or ignore-existing logic via bulkLoad.overrideMergeQuery; available on Snowflake, Google BigQuery, Microsoft SQL Server (cloud connections), Azure Synapse and Amazon Redshift (NetSuite Analytics Warehouse has it through the JDBC import). The import form calls it "Use optimized bulk load (recommended for larger imports)" and, beside it, calls bulk_insert "Use batch insert SQL query". A connection that routes through an on-premise agent can't take it: the save is refused with 422 `bulk_load_agent_not_supported`.
6071
6071
  `bulk_insert` — Batch INSERT via multi-row VALUES clause for efficient bulk data loading; has no upsert or ignore-existing logic and is available for all RDBMS types.
6072
6072
  `per_page` — Executes one SQL statement per page (batch) of records; available for all RDBMS types.
6073
6073
  `per_record` — Executes one SQL statement per record, giving full control over individual record SQL; available for all RDBMS types.
@@ -6087,7 +6087,7 @@ components:
6087
6087
  - No `primaryKeys` for pure INSERT (auto-generates INSERT)
6088
6088
  - No `bulkInsert` beside it (the server drops a `bulkInsert` sent with bulk_load)
6089
6089
  - **Amazon Redshift needs no AWS setup for bulk_load**: Celigo stages the files in Celigo-managed encrypted storage and Redshift loads them with COPY — no S3 bucket, IAM role, cluster role attachment or extra connection field. The save is accepted on either `redshift.authType` (accesskey and awsIam) and against a provisioned cluster or a Serverless workgroup alike. Never steer a Redshift import to bulk_insert for lack of setup.
6090
- - **Azure Synapse lists bulk_load without any flag**: the import form disables the option (and defaults a new import to bulk_insert) while the connection routes through an on-premise agent, authenticates with a database user instead of a service principal (`mssql.authType` other than `azure-service-principal`), or has no ADLS Gen2 staging (`azuresynapse.staging` with `adlsGen2.storageAccount`, `adlsGen2.container` and `folder`). The API saves a Synapse bulk_load import on any of those connections (201 on each, live-verified 2026-11-06), so author it only when the connection meets all three; otherwise the form shows the stored bulk_load disabled with the gap named, and under the authentication gap warns that the import will not run until the connection uses a service principal.
6090
+ - **Azure Synapse lists bulk_load without any flag**: the import form disables the option (and defaults a new import to bulk_insert) while the connection routes through an on-premise agent, authenticates with a database user instead of a service principal (`mssql.authType` other than `azure-service-principal`), or has no ADLS Gen2 staging (`azuresynapse.staging` with `adlsGen2.storageAccount`, `adlsGen2.container` and `folder`). The API refuses a bulk_load import on a connection that routes through an on-premise agent (422 `bulk_load_agent_not_supported` on `rdbms.queryType`, on create and when an update moves the import onto such a connection; Azure Synapse and Microsoft SQL Server, live-verified 2026-11-13). It still saves one on a Synapse connection that authenticates with a database user and has no staging (201), so author it only when the connection meets all three; otherwise the form shows the stored bulk_load disabled with the gap named, and under the authentication gap warns that the import will not run until the connection uses a service principal.
6091
6091
  - The import form shows the bulk_load option only when the account's `enableSizeBasedAggregation` feature flag is on for that database (BigQuery, SQL Server; Snowflake and Azure Synapse always show it). Amazon Redshift has two gates: its import form gains the option only with the form update that followed the bulk-load release — until that update reaches an account, no flag setting shows it there — and from then on the same flag gates it. The flag is the form's switch, not the API's — a Redshift bulk_load import saves on an account whose flag has no redshift entry (off, to the form) — so author it, and tell the user when the option appears on their import form: once the flag is on for the account, and on Redshift once the updated form has reached it as well. An answer that names only the flag is incomplete for Redshift. A form that does not list the option cannot show a stored bulk_load, and picking any listed query type there switches the import to that type (bulk_insert most often); today's forms keep a stored bulk_load through a plain save, while the updated Redshift form rewrites an unlisted bulk_load to bulk_insert on save — so until the option shows, a change to the import's query type goes through the API or this assistant, not the form.
6092
6092
 
6093
6093
  **STEP 2: Database does NOT support bulk_load**
@@ -12779,12 +12779,13 @@ components:
12779
12779
 
12780
12780
  A `_connectionId` on the parent import is only needed for BYOK
12781
12781
  `ai_agent` guardrails. In responses the server echoes the active type's
12782
- sub-object and applies the `confidenceThreshold` default; it also
12783
- returns inactive sibling sub-objects (e.g. `moderation: {categories: []}`
12784
- on a `pii` guardrail, or a populated `pii` left over from a type switch),
12785
- but only the active type's sub-object is meaningful. Legacy documents
12786
- may carry a server-written default `aiAgent` stub on `pii`/`moderation`
12787
- guardrails; current servers strip the inactive `aiAgent` on write.
12782
+ sub-object and applies the `confidenceThreshold` default. A save keeps
12783
+ only the active type's sub-object, so switching `type` on PUT removes
12784
+ the previous type's block. A guardrail last saved before that rule may
12785
+ still return inactive siblings (e.g. `moderation: {categories: []}` on
12786
+ a `pii` guardrail, or a server-written `aiAgent` stub on a
12787
+ `pii`/`moderation` guardrail); only the active type's sub-object is
12788
+ meaningful.
12788
12789
  x-celigo-ai-guidance:
12789
12790
  - |-
12790
12791
  Guardrails are safety and compliance checks that can be applied
@@ -3199,7 +3199,8 @@ components:
3199
3199
  pattern: ^[A-Za-z0-9_\-.]+$
3200
3200
  description: |-
3201
3201
  MCP tool name exposed to clients. Must be unique across all tools
3202
- and APIs within this server.
3202
+ and APIs within this server. Duplicate names return 422
3203
+ `mcp_server_duplicate_item_name`.
3203
3204
  x-celigo-ai-guidance:
3204
3205
  - |-
3205
3206
  Must be unique across all tools and APIs within this MCP server.
@@ -3253,7 +3254,8 @@ components:
3253
3254
  pattern: ^[A-Za-z0-9_\-.]+$
3254
3255
  description: |-
3255
3256
  MCP tool name exposed to clients. Must be unique across all tools
3256
- and APIs within this server.
3257
+ and APIs within this server. Duplicate names return 422
3258
+ `mcp_server_duplicate_item_name`.
3257
3259
  x-celigo-ai-guidance:
3258
3260
  - |-
3259
3261
  Must be unique across all tools and APIs within this MCP server.
@@ -5781,12 +5783,23 @@ components:
5781
5783
  Authentication method for the NetSuite connection. token-auto delegates the token
5782
5784
  lifecycle to an iClient; token uses a manually-supplied tokenId/tokenSecret pair; oauth
5783
5785
  uses a certificate-signed client credentials grant that NetSuite must authorize.
5786
+ An oauth connection runs RESTlet-based exports and imports only. One that reads or
5787
+ writes through SuiteTalk (SOAP), such as a saved-search or file export or a SuiteTalk
5788
+ record import, still saves on it, and is refused when it is previewed or invoked with
5789
+ 400 `netsuite_oauth2_soap_not_supported`. Until NetSuite has authorized the connection,
5790
+ a RESTlet export preview and the connection test answer
5791
+ `netsuite_oauth2_reconnect_required`.
5784
5792
  x-celigo-ai-guidance:
5785
5793
  - |-
5786
5794
  Default to "token-auto" for new connections, including placeholders (only the account id is needed).
5787
5795
  Use "token" when the user supplies their own tokenId/tokenSecret. Do not create "basic" connections:
5788
5796
  the API rejects them with 422 "netsuite_wsdl_tba_mandatory" because the available WSDL versions
5789
5797
  require Token-Based Authentication.
5798
+ - |-
5799
+ Don't attach a SuiteTalk (SOAP) step to an "oauth" connection: a saved-search or file export
5800
+ (netsuite.type "search" or "file") saves with 201 but its preview fails with 400
5801
+ "netsuite_oauth2_soap_not_supported". Build the step as a RESTlet export or import, or use a
5802
+ "token" or "token-auto" connection.
5790
5803
  x-lowercase: true
5791
5804
  account:
5792
5805
  type: string
package/dist/tool.yml CHANGED
@@ -8125,12 +8125,23 @@ components:
8125
8125
  Authentication method for the NetSuite connection. token-auto delegates the token
8126
8126
  lifecycle to an iClient; token uses a manually-supplied tokenId/tokenSecret pair; oauth
8127
8127
  uses a certificate-signed client credentials grant that NetSuite must authorize.
8128
+ An oauth connection runs RESTlet-based exports and imports only. One that reads or
8129
+ writes through SuiteTalk (SOAP), such as a saved-search or file export or a SuiteTalk
8130
+ record import, still saves on it, and is refused when it is previewed or invoked with
8131
+ 400 `netsuite_oauth2_soap_not_supported`. Until NetSuite has authorized the connection,
8132
+ a RESTlet export preview and the connection test answer
8133
+ `netsuite_oauth2_reconnect_required`.
8128
8134
  x-celigo-ai-guidance:
8129
8135
  - |-
8130
8136
  Default to "token-auto" for new connections, including placeholders (only the account id is needed).
8131
8137
  Use "token" when the user supplies their own tokenId/tokenSecret. Do not create "basic" connections:
8132
8138
  the API rejects them with 422 "netsuite_wsdl_tba_mandatory" because the available WSDL versions
8133
8139
  require Token-Based Authentication.
8140
+ - |-
8141
+ Don't attach a SuiteTalk (SOAP) step to an "oauth" connection: a saved-search or file export
8142
+ (netsuite.type "search" or "file") saves with 201 but its preview fails with 400
8143
+ "netsuite_oauth2_soap_not_supported". Build the step as a RESTlet export or import, or use a
8144
+ "token" or "token-auto" connection.
8134
8145
  x-lowercase: true
8135
8146
  account:
8136
8147
  type: string
@@ -18375,7 +18386,7 @@ components:
18375
18386
  Set a single value; do not combine types or use the legacy INSERT and UPDATE values.
18376
18387
  per_page statements render against the whole batch (`batch_of_records`) rather than a single record — loop with `{{#each batch_of_records}}...{{record.fieldName}}...{{/each}}`, with the same quoting as `query` (double braces for strings, triple for numbers).
18377
18388
 
18378
- `bulk_load` — Stages the records as files and loads them with the database's native COPY / bulk mechanism for maximum throughput; supports INSERT, upsert via bulkLoad.primaryKeys, and custom merge or ignore-existing logic via bulkLoad.overrideMergeQuery; available on Snowflake, Google BigQuery, Microsoft SQL Server (cloud connections), Azure Synapse and Amazon Redshift (NetSuite Analytics Warehouse has it through the JDBC import). The import form calls it "Use optimized bulk load (recommended for larger imports)" and, beside it, calls bulk_insert "Use batch insert SQL query".
18389
+ `bulk_load` — Stages the records as files and loads them with the database's native COPY / bulk mechanism for maximum throughput; supports INSERT, upsert via bulkLoad.primaryKeys, and custom merge or ignore-existing logic via bulkLoad.overrideMergeQuery; available on Snowflake, Google BigQuery, Microsoft SQL Server (cloud connections), Azure Synapse and Amazon Redshift (NetSuite Analytics Warehouse has it through the JDBC import). The import form calls it "Use optimized bulk load (recommended for larger imports)" and, beside it, calls bulk_insert "Use batch insert SQL query". A connection that routes through an on-premise agent can't take it: the save is refused with 422 `bulk_load_agent_not_supported`.
18379
18390
  `bulk_insert` — Batch INSERT via multi-row VALUES clause for efficient bulk data loading; has no upsert or ignore-existing logic and is available for all RDBMS types.
18380
18391
  `per_page` — Executes one SQL statement per page (batch) of records; available for all RDBMS types.
18381
18392
  `per_record` — Executes one SQL statement per record, giving full control over individual record SQL; available for all RDBMS types.
@@ -18395,7 +18406,7 @@ components:
18395
18406
  - No `primaryKeys` for pure INSERT (auto-generates INSERT)
18396
18407
  - No `bulkInsert` beside it (the server drops a `bulkInsert` sent with bulk_load)
18397
18408
  - **Amazon Redshift needs no AWS setup for bulk_load**: Celigo stages the files in Celigo-managed encrypted storage and Redshift loads them with COPY — no S3 bucket, IAM role, cluster role attachment or extra connection field. The save is accepted on either `redshift.authType` (accesskey and awsIam) and against a provisioned cluster or a Serverless workgroup alike. Never steer a Redshift import to bulk_insert for lack of setup.
18398
- - **Azure Synapse lists bulk_load without any flag**: the import form disables the option (and defaults a new import to bulk_insert) while the connection routes through an on-premise agent, authenticates with a database user instead of a service principal (`mssql.authType` other than `azure-service-principal`), or has no ADLS Gen2 staging (`azuresynapse.staging` with `adlsGen2.storageAccount`, `adlsGen2.container` and `folder`). The API saves a Synapse bulk_load import on any of those connections (201 on each, live-verified 2026-11-06), so author it only when the connection meets all three; otherwise the form shows the stored bulk_load disabled with the gap named, and under the authentication gap warns that the import will not run until the connection uses a service principal.
18409
+ - **Azure Synapse lists bulk_load without any flag**: the import form disables the option (and defaults a new import to bulk_insert) while the connection routes through an on-premise agent, authenticates with a database user instead of a service principal (`mssql.authType` other than `azure-service-principal`), or has no ADLS Gen2 staging (`azuresynapse.staging` with `adlsGen2.storageAccount`, `adlsGen2.container` and `folder`). The API refuses a bulk_load import on a connection that routes through an on-premise agent (422 `bulk_load_agent_not_supported` on `rdbms.queryType`, on create and when an update moves the import onto such a connection; Azure Synapse and Microsoft SQL Server, live-verified 2026-11-13). It still saves one on a Synapse connection that authenticates with a database user and has no staging (201), so author it only when the connection meets all three; otherwise the form shows the stored bulk_load disabled with the gap named, and under the authentication gap warns that the import will not run until the connection uses a service principal.
18399
18410
  - The import form shows the bulk_load option only when the account's `enableSizeBasedAggregation` feature flag is on for that database (BigQuery, SQL Server; Snowflake and Azure Synapse always show it). Amazon Redshift has two gates: its import form gains the option only with the form update that followed the bulk-load release — until that update reaches an account, no flag setting shows it there — and from then on the same flag gates it. The flag is the form's switch, not the API's — a Redshift bulk_load import saves on an account whose flag has no redshift entry (off, to the form) — so author it, and tell the user when the option appears on their import form: once the flag is on for the account, and on Redshift once the updated form has reached it as well. An answer that names only the flag is incomplete for Redshift. A form that does not list the option cannot show a stored bulk_load, and picking any listed query type there switches the import to that type (bulk_insert most often); today's forms keep a stored bulk_load through a plain save, while the updated Redshift form rewrites an unlisted bulk_load to bulk_insert on save — so until the option shows, a change to the import's query type goes through the API or this assistant, not the form.
18400
18411
 
18401
18412
  **STEP 2: Database does NOT support bulk_load**
@@ -25087,12 +25098,13 @@ components:
25087
25098
 
25088
25099
  A `_connectionId` on the parent import is only needed for BYOK
25089
25100
  `ai_agent` guardrails. In responses the server echoes the active type's
25090
- sub-object and applies the `confidenceThreshold` default; it also
25091
- returns inactive sibling sub-objects (e.g. `moderation: {categories: []}`
25092
- on a `pii` guardrail, or a populated `pii` left over from a type switch),
25093
- but only the active type's sub-object is meaningful. Legacy documents
25094
- may carry a server-written default `aiAgent` stub on `pii`/`moderation`
25095
- guardrails; current servers strip the inactive `aiAgent` on write.
25101
+ sub-object and applies the `confidenceThreshold` default. A save keeps
25102
+ only the active type's sub-object, so switching `type` on PUT removes
25103
+ the previous type's block. A guardrail last saved before that rule may
25104
+ still return inactive siblings (e.g. `moderation: {categories: []}` on
25105
+ a `pii` guardrail, or a server-written `aiAgent` stub on a
25106
+ `pii`/`moderation` guardrail); only the active type's sub-object is
25107
+ meaningful.
25096
25108
  x-celigo-ai-guidance:
25097
25109
  - |-
25098
25110
  Guardrails are safety and compliance checks that can be applied
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.297",
3
+ "version": "0.2.299",
4
4
  "private": false,
5
5
  "description": "Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).",
6
6
  "keywords": [
package/schemas.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "provenance": {
3
3
  "repo": "celigo/integrator-api-specs",
4
- "iasCommit": "be06d1e9",
5
- "generatedAt": "2026-11-13"
4
+ "iasCommit": "b710cd95",
5
+ "generatedAt": "2026-11-14"
6
6
  },
7
7
  "roots": {
8
8
  "aiagent": 128,