@celigo/api-specs 0.2.271 → 0.2.273

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
@@ -13898,16 +13898,23 @@ components:
13898
13898
  description: JDBC connection property value.
13899
13899
  examples:
13900
13900
  - '4241589'
13901
- description: |
13902
- Additional JDBC connection properties as name/value pairs.
13903
- These are passed directly to the JDBC driver as connection properties.
13904
- Use for driver-specific settings like SSL mode, connection timeout,
13905
- application name, etc.
13901
+ description: |-
13902
+ Additional JDBC connection properties as name/value pairs, passed straight to the
13903
+ JDBC driver — driver-specific settings such as SSL mode, connection timeout or
13904
+ application name. On a Databricks connection, `ConnCatalog` and `ConnSchema` set the
13905
+ catalog and schema every unqualified table name resolves in — including a Batch
13906
+ Insert import's destination table, which cannot be qualified on Databricks — so an
13907
+ import that targets another catalog or schema needs these properties set, or a
13908
+ second connection that sets them.
13906
13909
  examples:
13907
13910
  - - name: AccountID
13908
13911
  value: '4241589'
13909
13912
  - name: ServerDataSource
13910
13913
  value: NetSuite2.com
13914
+ - - name: ConnCatalog
13915
+ value: analytics
13916
+ - name: ConnSchema
13917
+ value: sales
13911
13918
  concurrencyLevel:
13912
13919
  type: integer
13913
13920
  description: |
@@ -9570,16 +9570,23 @@ components:
9570
9570
  description: JDBC connection property value.
9571
9571
  examples:
9572
9572
  - '4241589'
9573
- description: |
9574
- Additional JDBC connection properties as name/value pairs.
9575
- These are passed directly to the JDBC driver as connection properties.
9576
- Use for driver-specific settings like SSL mode, connection timeout,
9577
- application name, etc.
9573
+ description: |-
9574
+ Additional JDBC connection properties as name/value pairs, passed straight to the
9575
+ JDBC driver — driver-specific settings such as SSL mode, connection timeout or
9576
+ application name. On a Databricks connection, `ConnCatalog` and `ConnSchema` set the
9577
+ catalog and schema every unqualified table name resolves in — including a Batch
9578
+ Insert import's destination table, which cannot be qualified on Databricks — so an
9579
+ import that targets another catalog or schema needs these properties set, or a
9580
+ second connection that sets them.
9578
9581
  examples:
9579
9582
  - - name: AccountID
9580
9583
  value: '4241589'
9581
9584
  - name: ServerDataSource
9582
9585
  value: NetSuite2.com
9586
+ - - name: ConnCatalog
9587
+ value: analytics
9588
+ - name: ConnSchema
9589
+ value: sales
9583
9590
  concurrencyLevel:
9584
9591
  type: integer
9585
9592
  description: |
package/dist/enduser.yml CHANGED
@@ -7584,16 +7584,23 @@ components:
7584
7584
  description: JDBC connection property value.
7585
7585
  examples:
7586
7586
  - '4241589'
7587
- description: |
7588
- Additional JDBC connection properties as name/value pairs.
7589
- These are passed directly to the JDBC driver as connection properties.
7590
- Use for driver-specific settings like SSL mode, connection timeout,
7591
- application name, etc.
7587
+ description: |-
7588
+ Additional JDBC connection properties as name/value pairs, passed straight to the
7589
+ JDBC driver — driver-specific settings such as SSL mode, connection timeout or
7590
+ application name. On a Databricks connection, `ConnCatalog` and `ConnSchema` set the
7591
+ catalog and schema every unqualified table name resolves in — including a Batch
7592
+ Insert import's destination table, which cannot be qualified on Databricks — so an
7593
+ import that targets another catalog or schema needs these properties set, or a
7594
+ second connection that sets them.
7592
7595
  examples:
7593
7596
  - - name: AccountID
7594
7597
  value: '4241589'
7595
7598
  - name: ServerDataSource
7596
7599
  value: NetSuite2.com
7600
+ - - name: ConnCatalog
7601
+ value: analytics
7602
+ - name: ConnSchema
7603
+ value: sales
7597
7604
  concurrencyLevel:
7598
7605
  type: integer
7599
7606
  description: |
package/dist/export.yml CHANGED
@@ -516,11 +516,18 @@ paths:
516
516
  - Agent-driven "preview + refine" loops where an LLM iterates on the
517
517
  export config and calls this endpoint to sample output each time.
518
518
 
519
- The scoped variant at
519
+ The scoped variants at
520
+ `POST /v1/integrations/{_integrationId}/exports/preview` and
520
521
  `POST /v1/integrations/{_integrationId}/flows/{_flowId}/exports/preview`
521
- does the same thing but inherits flow + integration context (useful when
522
- the export references flow-scoped settings). Prefer the unscoped variant
523
- when previewing a standalone export.
522
+ do the same thing but inherit integration (and flow) context: flow-scoped
523
+ settings the export references, and the integration's `aliases[]`, so a
524
+ `_connectionId` given as an alias name resolves there.
525
+ This unscoped route knows no aliases — once a doc has passed the preview's
526
+ type check (`simple` and `webhook` are 400 `invalid_request` first, on
527
+ every route), an alias name in `_connectionId` is a 400 `invalid_ref`
528
+ here. Prefer the unscoped variant when previewing
529
+ a standalone export; preview a settings form's `exportSelect` block the
530
+ way the UI does, on the route scoped to the resource the form belongs to.
524
531
 
525
532
  Use `test.limit` inside the body to cap the number of records
526
533
  returned. A preview that fails answers 422, not a 200 carrying
@@ -568,10 +575,12 @@ paths:
568
575
  $ref: '#/components/schemas/ExportPreviewResponse'
569
576
  '400':
570
577
  description: |-
571
- The export type does not support preview. Virtual (unsaved) previews
572
- are rejected for `simple`, `webhook` and other virtual export types —
573
- only builder-style exports (e.g. HTTP, RDBMS) can be previewed via
574
- this endpoint.
578
+ The doc could not be run. Checked first, on this route and both
579
+ scoped ones alike: a doc whose `type` is `simple` or `webhook` — the
580
+ two export types the preview does not support — is rejected as
581
+ `invalid_request` before `_connectionId` is looked at (every other
582
+ `type` value passes this check). Then, on this route only, an alias
583
+ name in `_connectionId` is `invalid_ref` (the scoped routes resolve it).
575
584
  content:
576
585
  application/json:
577
586
  schema:
@@ -583,6 +592,12 @@ paths:
583
592
  errors:
584
593
  - code: invalid_request
585
594
  message: 'Virtual exports for export type: simple are not supported.'
595
+ aliasName:
596
+ summary: An alias name in _connectionId — this route knows no aliases
597
+ value:
598
+ errors:
599
+ - code: invalid_ref
600
+ message: Please provide a valid _connectionId.
586
601
  '401':
587
602
  $ref: '#/components/responses/401-unauthorized'
588
603
  '422':
@@ -608,60 +623,7 @@ paths:
608
623
  content:
609
624
  application/json:
610
625
  schema:
611
- type: object
612
- required:
613
- - errors
614
- properties:
615
- errors:
616
- type: array
617
- description: |-
618
- One entry per failure; a structural failure lists each missing field.
619
- Runtime failures also carry `resolved` and `occurredAt`, a source error its
620
- `classification`, and a `script_error` its `stage`, `location` and `stack`.
621
- items:
622
- type: object
623
- additionalProperties: true
624
- required:
625
- - code
626
- properties:
627
- code:
628
- oneOf:
629
- - type: string
630
- - type: integer
631
- description: |-
632
- `missing_required_field` from structural validation, otherwise the
633
- failure's code (`filter_validation_error`, `handlebars_template_parse_error`,
634
- `script_error`, `gcs_bucket_not_found`, ...); an integer when it mirrors
635
- the error status the source answered.
636
- field:
637
- type: string
638
- description: |-
639
- The document field a structural error is about (`_connectionId`), or
640
- `filter` on `filter_validation_error`.
641
- message:
642
- type: string
643
- description: |-
644
- What went wrong, in the platform's words; absent on a structural
645
- `missing_required_field` error, which carries `code` and `field` only.
646
- source:
647
- type: string
648
- description: |-
649
- Where the failure arose: `resource` for the export's own templates,
650
- `application` for the source system's answer, the hook or filter name
651
- (`pre_save_page_hook`, `output_filter`) for a `script_error`; absent on
652
- structural errors.
653
- stages:
654
- type:
655
- - array
656
- - 'null'
657
- description: |-
658
- Present once the preview has started running: the stages that completed before
659
- the failure (`request` and `raw` for a source error, through the failing hook or
660
- filter stage for a `script_error`), shaped as in the 200 response, or `null`
661
- when the request could not be built because a template doesn't compile.
662
- items:
663
- type: object
664
- additionalProperties: true
626
+ $ref: '#/components/schemas/PreviewValidationError'
665
627
  examples:
666
628
  missingConnection:
667
629
  summary: Structural validation — the document has no _connectionId
@@ -747,6 +709,143 @@ paths:
747
709
  - code: gcs_bucket_not_found
748
710
  message: The specified Google Cloud Storage bucket was not found. Verify the bucket name and that the service account has access.
749
711
  source: resource
712
+ /v1/integrations/{_integrationId}/exports/preview:
713
+ post:
714
+ x-internal: false
715
+ summary: Preview export data in an integration
716
+ description: |-
717
+ Runs an export doc through the preview pipeline with the integration as its scope — the
718
+ same stateless preview as `POST /v1/exports/preview`, with no Job record created and no
719
+ flow-level state updated. The scope is what makes the difference: a `_connectionId` given
720
+ as the name of one of the integration's `aliases[]` is resolved to that alias's connection,
721
+ matched without regard to case, before the doc is validated. The unscoped route, past
722
+ the preview's type check, rejects such a doc with 400 `invalid_ref`.
723
+
724
+ This is the route the UI uses to load an integration settings form's `exportSelect`
725
+ options, so a form installed from a template, whose `resource.virtual` blocks name
726
+ connections by alias, previews here as it does in the form. Once the doc's `type` has
727
+ passed the preview's type check (`simple` and `webhook` are refused first, as 400
728
+ `invalid_request`), a name that is neither a connection id nor an alias in this scope
729
+ is a 400 `invalid_ref` and a doc without `_connectionId` is a 422
730
+ `missing_required_field`. The flow-scoped variant,
731
+ `POST /v1/integrations/{_integrationId}/flows/{_flowId}/exports/preview`, resolves the
732
+ integration's aliases the same way.
733
+ operationId: previewExportDataInIntegration
734
+ tags:
735
+ - Exports
736
+ parameters:
737
+ - name: _integrationId
738
+ in: path
739
+ required: true
740
+ description: Integration whose aliases and context the preview runs under.
741
+ schema:
742
+ type: string
743
+ format: objectId
744
+ x-celigo-refModel: integrations
745
+ requestBody:
746
+ required: true
747
+ content:
748
+ application/json:
749
+ schema:
750
+ $ref: '#/components/schemas/PreviewRequest'
751
+ examples:
752
+ alias_connection:
753
+ summary: A settings form's dropdown block, connection by alias
754
+ value:
755
+ adaptorType: HTTPExport
756
+ _connectionId: shopify_connection
757
+ http:
758
+ relativeURI: /locations.json
759
+ method: GET
760
+ formType: http
761
+ response:
762
+ resourcePath: locations
763
+ test:
764
+ limit: 100
765
+ responses:
766
+ '200':
767
+ description: |-
768
+ Preview envelope for a preview that ran, without a top-level `errors`.
769
+ A failing preview answers 422 instead (see that response).
770
+ content:
771
+ application/json:
772
+ schema:
773
+ $ref: '#/components/schemas/ExportPreviewResponse'
774
+ '400':
775
+ description: |-
776
+ The doc could not be run. Two causes, checked in this order: the doc's `type` is
777
+ `simple` or `webhook` — the two export types the preview does not support, rejected
778
+ as `invalid_request` on this route exactly as on the unscoped one, before
779
+ `_connectionId` is looked at (a missing or unknown connection on such a doc still
780
+ answers this error; every other `type` value previews) — or `_connectionId` is
781
+ neither a connection id nor an alias defined on the integration (`invalid_ref`).
782
+ content:
783
+ application/json:
784
+ schema:
785
+ $ref: '#/components/schemas/Error'
786
+ examples:
787
+ unknownAlias:
788
+ summary: A name that is neither a connection id nor an alias in this scope
789
+ value:
790
+ errors:
791
+ - code: invalid_ref
792
+ message: Please provide a valid _connectionId.
793
+ virtualSimpleExport:
794
+ summary: Virtual export type not supported
795
+ value:
796
+ errors:
797
+ - code: invalid_request
798
+ message: 'Virtual exports for export type: simple are not supported.'
799
+ '401':
800
+ $ref: '#/components/responses/401-unauthorized'
801
+ '404':
802
+ $ref: '#/components/responses/404-not-found'
803
+ '422':
804
+ description: |-
805
+ The preview failed. Structural validation first: `missing_required_field`
806
+ (`code` and `field` only) and an output `filter` with an unknown operator
807
+ (`filter_validation_error`, `field: filter`). Once the doc runs: a Handlebars
808
+ template that doesn't compile (`handlebars_template_parse_error`, `source:
809
+ resource`, `stages: null`), a `preSavePage` hook naming a function its script
810
+ lacks (`script_error`, `source: pre_save_page_hook`, `stage: preSavePageHook`,
811
+ `retryDataKey`, `stages` through that stage) and an error status from the source
812
+ as the error's `code` (`source: application`, `stages` `request` and `raw`) —
813
+ each the body the unscoped route answers for the same doc. That route documents
814
+ three more failures seen there only: a hook script that throws, the output
815
+ filter's date conversion and the Google Cloud Storage codes.
816
+ content:
817
+ application/json:
818
+ schema:
819
+ $ref: '#/components/schemas/PreviewValidationError'
820
+ examples:
821
+ missingConnection:
822
+ summary: Structural validation — the document has no _connectionId
823
+ value:
824
+ errors:
825
+ - code: missing_required_field
826
+ field: _connectionId
827
+ sourceError:
828
+ summary: The source answers HTTP 500 (trimmed)
829
+ value:
830
+ errors:
831
+ - code: 500
832
+ message: Internal Server Error
833
+ source: application
834
+ classification: intermittent
835
+ resolved: false
836
+ occurredAt: 1792564790554
837
+ stages:
838
+ - name: request
839
+ data:
840
+ - url: https://api.example.com/users
841
+ method: GET
842
+ errors: null
843
+ - name: raw
844
+ data:
845
+ - url: https://api.example.com/users
846
+ statusCode: 500
847
+ body: ''
848
+ errors: null
750
849
  /v1/integrations/{_integrationId}/flows/{_flowId}/exports/preview:
751
850
  post:
752
851
  x-internal: false
@@ -755,6 +854,18 @@ paths:
755
854
  Preview export data from a specific export within a flow. This endpoint allows you to
756
855
  preview the data that would be exported, including the exported data, URIs to the data
757
856
  in the source app, and processing stages information.
857
+
858
+ The integration is part of the preview's scope: a `_connectionId` given as the name of
859
+ one of the integration's `aliases[]` is resolved to that alias's connection, matched
860
+ without regard to case, before the doc is validated — the way a settings form's
861
+ `resource.virtual` block names its connection. Once the doc's `type` has passed the
862
+ preview's type check (`simple` and `webhook` are refused first, as 400
863
+ `invalid_request`), a name that is neither a connection id nor an alias in this scope
864
+ is a 400 `invalid_ref` and a doc without `_connectionId` is a 422
865
+ `missing_required_field`. The unscoped `POST /v1/exports/preview`, past the same type
866
+ check, rejects an alias with 400 `invalid_ref`;
867
+ `POST /v1/integrations/{_integrationId}/exports/preview` resolves the integration's
868
+ aliases without a flow.
758
869
  operationId: previewExportData
759
870
  tags:
760
871
  - Exports
@@ -783,19 +894,88 @@ paths:
783
894
  $ref: '#/components/schemas/PreviewRequest'
784
895
  responses:
785
896
  '200':
786
- description: Successfully previewed export data
897
+ description: |-
898
+ Preview envelope for a preview that ran, without a top-level `errors`.
899
+ A failing preview answers 422 instead (see that response).
787
900
  content:
788
901
  application/json:
789
902
  schema:
790
- $ref: '#/components/schemas/PreviewResponse'
903
+ $ref: '#/components/schemas/ExportPreviewResponse'
791
904
  '400':
792
- $ref: '#/components/responses/400-bad-request'
905
+ description: |-
906
+ The doc could not be run. Two causes, checked in this order: the doc's `type` is
907
+ `simple` or `webhook` — the two export types the preview does not support, rejected
908
+ as `invalid_request` on this route exactly as on the unscoped one, before
909
+ `_connectionId` is looked at (a missing or unknown connection on such a doc still
910
+ answers this error; every other `type` value previews) — or `_connectionId` is
911
+ neither a connection id nor an alias defined on the integration (`invalid_ref`).
912
+ content:
913
+ application/json:
914
+ schema:
915
+ $ref: '#/components/schemas/Error'
916
+ examples:
917
+ unknownAlias:
918
+ summary: A name that is neither a connection id nor an alias in this scope
919
+ value:
920
+ errors:
921
+ - code: invalid_ref
922
+ message: Please provide a valid _connectionId.
923
+ virtualSimpleExport:
924
+ summary: Virtual export type not supported
925
+ value:
926
+ errors:
927
+ - code: invalid_request
928
+ message: 'Virtual exports for export type: simple are not supported.'
793
929
  '401':
794
930
  $ref: '#/components/responses/401-unauthorized'
795
931
  '404':
796
932
  $ref: '#/components/responses/404-not-found'
797
933
  '422':
798
- $ref: '#/components/responses/422-unprocessable-entity'
934
+ description: |-
935
+ The preview failed. Structural validation first: `missing_required_field`
936
+ (`code` and `field` only) and an output `filter` with an unknown operator
937
+ (`filter_validation_error`, `field: filter`). Once the doc runs: a Handlebars
938
+ template that doesn't compile (`handlebars_template_parse_error`, `source:
939
+ resource`, `stages: null`), a `preSavePage` hook naming a function its script
940
+ lacks (`script_error`, `source: pre_save_page_hook`, `stage: preSavePageHook`,
941
+ `retryDataKey`, `stages` through that stage) and an error status from the source
942
+ as the error's `code` (`source: application`, `stages` `request` and `raw`) —
943
+ each the body the unscoped route answers for the same doc. That route documents
944
+ three more failures seen there only: a hook script that throws, the output
945
+ filter's date conversion and the Google Cloud Storage codes.
946
+ content:
947
+ application/json:
948
+ schema:
949
+ $ref: '#/components/schemas/PreviewValidationError'
950
+ examples:
951
+ missingConnection:
952
+ summary: Structural validation — the document has no _connectionId
953
+ value:
954
+ errors:
955
+ - code: missing_required_field
956
+ field: _connectionId
957
+ sourceError:
958
+ summary: The source answers HTTP 500 (trimmed)
959
+ value:
960
+ errors:
961
+ - code: 500
962
+ message: Internal Server Error
963
+ source: application
964
+ classification: intermittent
965
+ resolved: false
966
+ occurredAt: 1792564790554
967
+ stages:
968
+ - name: request
969
+ data:
970
+ - url: https://api.example.com/users
971
+ method: GET
972
+ errors: null
973
+ - name: raw
974
+ data:
975
+ - url: https://api.example.com/users
976
+ statusCode: 500
977
+ body: ''
978
+ errors: null
799
979
  /v1/exports/{_id}/invoke:
800
980
  post:
801
981
  x-internal: false
@@ -16320,7 +16500,15 @@ components:
16320
16500
  description: |
16321
16501
  Export document to run, inline: `adaptorType`, its adaptor block, and an optional
16322
16502
  `transform`. `_connectionId` defaults to the connection of the export or import the
16323
- form belongs to; set it on any other resource's form.
16503
+ form belongs to; set it on any other resource's form. On an integration's form,
16504
+ and on the forms of its flows, it may also be the name of one of the integration's
16505
+ `aliases[]`, matched without regard to case: the UI previews the block on the
16506
+ route scoped to the form's resource, where the alias resolves to its connection
16507
+ (past the preview's type check, a value that is neither a connection id nor an
16508
+ alias in that scope is a 400 `invalid_ref` there). Forms installed from a
16509
+ template name connections this way, since the same block runs in every account
16510
+ the template is installed in. The unscoped `POST /v1/exports/preview` knows no
16511
+ aliases: past the preview's type check, an alias name there is 400 `invalid_ref`.
16324
16512
  additionalProperties: true
16325
16513
  examples:
16326
16514
  - virtual:
@@ -18440,9 +18628,10 @@ components:
18440
18628
  ExportPreviewResponse:
18441
18629
  type: object
18442
18630
  description: |-
18443
- Envelope returned by `POST /v1/exports/preview` (and the scoped
18444
- `/v1/integrations/{_integrationId}/flows/{_flowId}/exports/preview`
18445
- variant). Carries per-stage diagnostics alongside the sampled records.
18631
+ Envelope returned by `POST /v1/exports/preview` and the scoped variants
18632
+ `/v1/integrations/{_integrationId}/exports/preview` and
18633
+ `/v1/integrations/{_integrationId}/flows/{_flowId}/exports/preview`.
18634
+ Carries per-stage diagnostics alongside the sampled records.
18446
18635
  properties:
18447
18636
  data:
18448
18637
  type: array
@@ -18542,72 +18731,119 @@ components:
18542
18731
  When true, two or more records in this preview share a trace key, so
18543
18732
  the export's `traceKeyTemplate` does not identify records uniquely.
18544
18733
  Absent whenever `dataRecordTraceKeys` is absent.
18545
- PreviewRequest:
18546
- type: object
18547
- description: Request body for previewing export data
18548
- allOf:
18549
- - $ref: '#/components/schemas/Export'
18550
- - type: object
18551
- properties:
18552
- postData:
18553
- type: object
18554
- description: |-
18555
- Delta window for this preview. Without it, a document preview renders
18556
- `{{lastExportDateTime}}` and `{{currentExportDateTime}}` empty, so the preview doesn't
18557
- reflect the export's delta window: an HTTP request gets empty strings, and an RDBMS
18558
- query gets empty, unquoted text, so a delta query fails to parse (observed on Snowflake;
18559
- `delta.startDate` doesn't set them either). With it, an HTTP export inserts each value
18560
- exactly as given, and an RDBMS query receives each wrapped in single quotes
18561
- (`'2026-01-15T00:00:00.000Z'`, observed on Snowflake); other adaptors weren't checked.
18562
- On an export without `delta.dateFormat`, a real run renders both as ISO 8601 UTC with
18563
- milliseconds, so pass them in that form to preview the request such a run would send.
18564
- properties:
18565
- currentExportDateTime:
18566
- type: string
18567
- description: Value `{{currentExportDateTime}}` renders as in this preview (the window's end).
18568
- example: '2026-01-16T00:00:00.000Z'
18569
- lastExportDateTime:
18570
- type: string
18571
- description: Value `{{lastExportDateTime}}` renders as in this preview (the window's start).
18572
- example: '2026-01-15T00:00:00.000Z'
18573
- PreviewResponse:
18734
+ PreviewValidationError:
18574
18735
  type: object
18575
- description: Response body for export data preview
18736
+ description: |-
18737
+ Error envelope of the export preview routes' 422; each route's 422 description names
18738
+ the failures seen on it. Structural validation comes first: `missing_required_field`
18739
+ for a field the preview needs before it can run carries `code` and `field` only, with
18740
+ no `message` (`{"code": "missing_required_field", "field": "_connectionId"}`), and an
18741
+ output `filter` with an unknown operator is `filter_validation_error` with `field:
18742
+ filter` and a `message`. A failure while the preview runs carries `code` and a
18743
+ `message`. A template that doesn't compile, a `script_error` and an error status from
18744
+ the source also carry `source`, `resolved` and `occurredAt`: the template failure's
18745
+ `source` is `resource`; a `script_error` names the hook in `source` and its stage in
18746
+ `stage`, with `location` when the script threw and `retryDataKey` when the hook named
18747
+ a function the script lacks; a source error's `code` is the source's status as an
18748
+ integer, with its `classification`. A Google Cloud Storage bucket or object that
18749
+ doesn't exist is `code`, `message` and `source` only; the output filter's
18750
+ date-conversion failure is as the unscoped route describes it. `stages` rides the
18751
+ template failure (`null`), the `script_error` and the source error status; the
18752
+ structural and Google Cloud Storage bodies have none. Only `code` is present on
18753
+ every shape.
18754
+ required:
18755
+ - errors
18576
18756
  properties:
18577
- data:
18757
+ errors:
18578
18758
  type: array
18579
- description: The data exported from source app
18759
+ description: |-
18760
+ One entry per failure; a structural failure lists each missing field.
18761
+ A template, script or source-status failure also carries `source`, `resolved`
18762
+ and `occurredAt`; a `script_error` its `stage`, with `location` when the script
18763
+ threw and `retryDataKey` when the hook named a function the script lacks; a
18764
+ source error its `classification`. A Google Cloud Storage failure carries
18765
+ `code`, `message` and `source` only.
18580
18766
  items:
18581
18767
  type: object
18582
- description: Individual data record from the source app
18583
- dataURIs:
18584
- type: array
18585
- description: URIs to the data in the source app
18586
- items:
18587
- type: string
18588
- description: URI to a specific data record in the source app
18768
+ additionalProperties: true
18769
+ required:
18770
+ - code
18771
+ properties:
18772
+ code:
18773
+ oneOf:
18774
+ - type: string
18775
+ - type: integer
18776
+ description: |-
18777
+ `missing_required_field` from structural validation, otherwise the
18778
+ failure's code (`filter_validation_error`, `handlebars_template_parse_error`,
18779
+ `script_error`, `gcs_bucket_not_found`, ...); an integer when it mirrors
18780
+ the error status the source answered.
18781
+ field:
18782
+ type: string
18783
+ description: |-
18784
+ The document field a structural error is about (`_connectionId`), or
18785
+ `filter` on `filter_validation_error`.
18786
+ message:
18787
+ type: string
18788
+ description: |-
18789
+ What went wrong, in the platform's words; absent on a structural
18790
+ `missing_required_field` error, which carries `code` and `field` only.
18791
+ source:
18792
+ type: string
18793
+ description: |-
18794
+ Where the failure arose: `resource` for the export's own templates,
18795
+ `application` for the source system's answer, the hook or filter name
18796
+ (`pre_save_page_hook`, `output_filter`) for a `script_error`; absent on
18797
+ structural errors.
18589
18798
  stages:
18590
- type: array
18591
- description: Processing stages information
18799
+ type:
18800
+ - array
18801
+ - 'null'
18802
+ description: |-
18803
+ On a source error (`request` and `raw`) and a `script_error` (through the failing
18804
+ hook or filter stage), the stages that completed before the failure, shaped as in
18805
+ the 200 response; `null` on a template that doesn't compile, since no request
18806
+ could be built; absent on the structural and Google Cloud Storage bodies.
18592
18807
  items:
18593
18808
  type: object
18594
- description: Information about a processing stage
18595
- properties:
18596
- name:
18597
- type: string
18598
- description: Name of the processing stage
18599
- errors:
18600
- type: array
18601
- description: Errors encountered during this stage
18602
- items:
18603
- type: object
18604
- description: Error information
18605
- data:
18606
- type: array
18607
- description: Data after being processed by this stage
18608
- items:
18609
- type: object
18610
- description: Individual data record after being processed by this stage
18809
+ additionalProperties: true
18810
+ PreviewRequest:
18811
+ type: object
18812
+ description: |-
18813
+ Request body of the scoped export previews (`POST /v1/integrations/{_integrationId}/exports/preview`
18814
+ and `POST /v1/integrations/{_integrationId}/flows/{_flowId}/exports/preview`): a full export
18815
+ document (mirror of `POST /v1/exports` body shape), optionally with `test.limit` to cap
18816
+ preview record count. Omit `_id` when previewing a not-yet-saved export, such as a settings
18817
+ form's `resource.virtual` block.
18818
+ additionalProperties: true
18819
+ properties:
18820
+ _connectionId:
18821
+ type: string
18822
+ description: |-
18823
+ Connection the export reads from: a connection id, or the name of one of the
18824
+ integration's `aliases[]`, matched without regard to case. The unscoped
18825
+ `POST /v1/exports/preview` accepts a connection id only.
18826
+ postData:
18827
+ type: object
18828
+ description: |-
18829
+ Delta window for this preview. Without it, a document preview renders
18830
+ `{{lastExportDateTime}}` and `{{currentExportDateTime}}` empty, so the preview doesn't
18831
+ reflect the export's delta window: an HTTP request gets empty strings, and an RDBMS
18832
+ query gets empty, unquoted text, so a delta query fails to parse (observed on Snowflake;
18833
+ `delta.startDate` doesn't set them either). With it, an HTTP export inserts each value
18834
+ exactly as given, and an RDBMS query receives each wrapped in single quotes
18835
+ (`'2026-01-15T00:00:00.000Z'`, observed on Snowflake); other adaptors weren't checked.
18836
+ On an export without `delta.dateFormat`, a real run renders both as ISO 8601 UTC with
18837
+ milliseconds, so pass them in that form to preview the request such a run would send.
18838
+ properties:
18839
+ currentExportDateTime:
18840
+ type: string
18841
+ description: Value `{{currentExportDateTime}}` renders as in this preview (the window's end).
18842
+ example: '2026-01-16T00:00:00.000Z'
18843
+ lastExportDateTime:
18844
+ type: string
18845
+ description: Value `{{lastExportDateTime}}` renders as in this preview (the window's start).
18846
+ example: '2026-01-15T00:00:00.000Z'
18611
18847
  DependencyEntry:
18612
18848
  type: object
18613
18849
  description: A single resource that depends on the queried resource.
package/dist/flow.yml CHANGED
@@ -9284,9 +9284,10 @@ components:
9284
9284
  ExportPreviewResponse:
9285
9285
  type: object
9286
9286
  description: |-
9287
- Envelope returned by `POST /v1/exports/preview` (and the scoped
9288
- `/v1/integrations/{_integrationId}/flows/{_flowId}/exports/preview`
9289
- variant). Carries per-stage diagnostics alongside the sampled records.
9287
+ Envelope returned by `POST /v1/exports/preview` and the scoped variants
9288
+ `/v1/integrations/{_integrationId}/exports/preview` and
9289
+ `/v1/integrations/{_integrationId}/flows/{_flowId}/exports/preview`.
9290
+ Carries per-stage diagnostics alongside the sampled records.
9290
9291
  properties:
9291
9292
  data:
9292
9293
  type: array
package/dist/import.yml CHANGED
@@ -3517,11 +3517,29 @@ components:
3517
3517
  properties:
3518
3518
  tableName:
3519
3519
  type: string
3520
- description: |
3521
- Target database table name for bulk insert. REQUIRED.
3522
- Can include schema qualifiers (e.g., "schema.tableName").
3520
+ description: |-
3521
+ The table Batch Insert writes to, resolved by the driver at run time; set when
3522
+ `queryType` is `["bulk_insert"]`. On a Databricks connection this must be the bare
3523
+ table name — Batch Insert resolves it only within the catalog and schema the
3524
+ connection defaults to (its `ConnCatalog` / `ConnSchema` connection properties): a
3525
+ `catalog.schema.table` name fails every record with
3526
+ `MAPPING_INVALID_TABLE_OR_COLUMN_NAME` ("The table name or one of the column names
3527
+ in the mapping is invalid") even when the table, its columns and the grants all
3528
+ exist, and a `schema.table` name does not write either. Oracle Thin accepts
3529
+ `schema.table`; the `per_record` query type takes a fully qualified name in its
3530
+ SQL instead.
3531
+ x-celigo-ai-guidance:
3532
+ - |-
3533
+ `MAPPING_INVALID_TABLE_OR_COLUMN_NAME` on a Databricks Batch Insert whose
3534
+ tableName is `catalog.schema.table` is the qualification, not a misspelling.
3535
+ Verify the table and the mapped columns through the import's connection
3536
+ (DESCRIBE); when they resolve, the fix is the bare table name plus
3537
+ `ConnCatalog` / `ConnSchema` on the connection (a second connection when another
3538
+ import on it needs a different catalog or schema), or the `per_record` query
3539
+ type with the qualified name in the SQL — never renaming verified columns,
3540
+ another permission check, or a Support ticket.
3523
3541
  examples:
3524
- - public.orders
3542
+ - netsuite_customer_directory
3525
3543
  - dbo.Customers
3526
3544
  batchSize:
3527
3545
  type: string
@@ -16871,7 +16889,15 @@ components:
16871
16889
  description: |
16872
16890
  Export document to run, inline: `adaptorType`, its adaptor block, and an optional
16873
16891
  `transform`. `_connectionId` defaults to the connection of the export or import the
16874
- form belongs to; set it on any other resource's form.
16892
+ form belongs to; set it on any other resource's form. On an integration's form,
16893
+ and on the forms of its flows, it may also be the name of one of the integration's
16894
+ `aliases[]`, matched without regard to case: the UI previews the block on the
16895
+ route scoped to the form's resource, where the alias resolves to its connection
16896
+ (past the preview's type check, a value that is neither a connection id nor an
16897
+ alias in that scope is a 400 `invalid_ref` there). Forms installed from a
16898
+ template name connections this way, since the same block runs in every account
16899
+ the template is installed in. The unscoped `POST /v1/exports/preview` knows no
16900
+ aliases: past the preview's type check, an alias name there is 400 `invalid_ref`.
16875
16901
  additionalProperties: true
16876
16902
  examples:
16877
16903
  - virtual:
@@ -3203,7 +3203,15 @@ components:
3203
3203
  description: |
3204
3204
  Export document to run, inline: `adaptorType`, its adaptor block, and an optional
3205
3205
  `transform`. `_connectionId` defaults to the connection of the export or import the
3206
- form belongs to; set it on any other resource's form.
3206
+ form belongs to; set it on any other resource's form. On an integration's form,
3207
+ and on the forms of its flows, it may also be the name of one of the integration's
3208
+ `aliases[]`, matched without regard to case: the UI previews the block on the
3209
+ route scoped to the form's resource, where the alias resolves to its connection
3210
+ (past the preview's type check, a value that is neither a connection id nor an
3211
+ alias in that scope is a 400 `invalid_ref` there). Forms installed from a
3212
+ template name connections this way, since the same block runs in every account
3213
+ the template is installed in. The unscoped `POST /v1/exports/preview` knows no
3214
+ aliases: past the preview's type check, an alias name there is 400 `invalid_ref`.
3207
3215
  additionalProperties: true
3208
3216
  examples:
3209
3217
  - virtual:
@@ -10722,16 +10722,23 @@ components:
10722
10722
  description: JDBC connection property value.
10723
10723
  examples:
10724
10724
  - '4241589'
10725
- description: |
10726
- Additional JDBC connection properties as name/value pairs.
10727
- These are passed directly to the JDBC driver as connection properties.
10728
- Use for driver-specific settings like SSL mode, connection timeout,
10729
- application name, etc.
10725
+ description: |-
10726
+ Additional JDBC connection properties as name/value pairs, passed straight to the
10727
+ JDBC driver — driver-specific settings such as SSL mode, connection timeout or
10728
+ application name. On a Databricks connection, `ConnCatalog` and `ConnSchema` set the
10729
+ catalog and schema every unqualified table name resolves in — including a Batch
10730
+ Insert import's destination table, which cannot be qualified on Databricks — so an
10731
+ import that targets another catalog or schema needs these properties set, or a
10732
+ second connection that sets them.
10730
10733
  examples:
10731
10734
  - - name: AccountID
10732
10735
  value: '4241589'
10733
10736
  - name: ServerDataSource
10734
10737
  value: NetSuite2.com
10738
+ - - name: ConnCatalog
10739
+ value: analytics
10740
+ - name: ConnSchema
10741
+ value: sales
10735
10742
  concurrencyLevel:
10736
10743
  type: integer
10737
10744
  description: |
package/dist/tool.yml CHANGED
@@ -13066,16 +13066,23 @@ components:
13066
13066
  description: JDBC connection property value.
13067
13067
  examples:
13068
13068
  - '4241589'
13069
- description: |
13070
- Additional JDBC connection properties as name/value pairs.
13071
- These are passed directly to the JDBC driver as connection properties.
13072
- Use for driver-specific settings like SSL mode, connection timeout,
13073
- application name, etc.
13069
+ description: |-
13070
+ Additional JDBC connection properties as name/value pairs, passed straight to the
13071
+ JDBC driver — driver-specific settings such as SSL mode, connection timeout or
13072
+ application name. On a Databricks connection, `ConnCatalog` and `ConnSchema` set the
13073
+ catalog and schema every unqualified table name resolves in — including a Batch
13074
+ Insert import's destination table, which cannot be qualified on Databricks — so an
13075
+ import that targets another catalog or schema needs these properties set, or a
13076
+ second connection that sets them.
13074
13077
  examples:
13075
13078
  - - name: AccountID
13076
13079
  value: '4241589'
13077
13080
  - name: ServerDataSource
13078
13081
  value: NetSuite2.com
13082
+ - - name: ConnCatalog
13083
+ value: analytics
13084
+ - name: ConnSchema
13085
+ value: sales
13079
13086
  concurrencyLevel:
13080
13087
  type: integer
13081
13088
  description: |
@@ -16122,11 +16129,29 @@ components:
16122
16129
  properties:
16123
16130
  tableName:
16124
16131
  type: string
16125
- description: |
16126
- Target database table name for bulk insert. REQUIRED.
16127
- Can include schema qualifiers (e.g., "schema.tableName").
16132
+ description: |-
16133
+ The table Batch Insert writes to, resolved by the driver at run time; set when
16134
+ `queryType` is `["bulk_insert"]`. On a Databricks connection this must be the bare
16135
+ table name — Batch Insert resolves it only within the catalog and schema the
16136
+ connection defaults to (its `ConnCatalog` / `ConnSchema` connection properties): a
16137
+ `catalog.schema.table` name fails every record with
16138
+ `MAPPING_INVALID_TABLE_OR_COLUMN_NAME` ("The table name or one of the column names
16139
+ in the mapping is invalid") even when the table, its columns and the grants all
16140
+ exist, and a `schema.table` name does not write either. Oracle Thin accepts
16141
+ `schema.table`; the `per_record` query type takes a fully qualified name in its
16142
+ SQL instead.
16143
+ x-celigo-ai-guidance:
16144
+ - |-
16145
+ `MAPPING_INVALID_TABLE_OR_COLUMN_NAME` on a Databricks Batch Insert whose
16146
+ tableName is `catalog.schema.table` is the qualification, not a misspelling.
16147
+ Verify the table and the mapped columns through the import's connection
16148
+ (DESCRIBE); when they resolve, the fix is the bare table name plus
16149
+ `ConnCatalog` / `ConnSchema` on the connection (a second connection when another
16150
+ import on it needs a different catalog or schema), or the `per_record` query
16151
+ type with the qualified name in the SQL — never renaming verified columns,
16152
+ another permission check, or a Support ticket.
16128
16153
  examples:
16129
- - public.orders
16154
+ - netsuite_customer_directory
16130
16155
  - dbo.Customers
16131
16156
  batchSize:
16132
16157
  type: string
@@ -26538,7 +26563,15 @@ components:
26538
26563
  description: |
26539
26564
  Export document to run, inline: `adaptorType`, its adaptor block, and an optional
26540
26565
  `transform`. `_connectionId` defaults to the connection of the export or import the
26541
- form belongs to; set it on any other resource's form.
26566
+ form belongs to; set it on any other resource's form. On an integration's form,
26567
+ and on the forms of its flows, it may also be the name of one of the integration's
26568
+ `aliases[]`, matched without regard to case: the UI previews the block on the
26569
+ route scoped to the form's resource, where the alias resolves to its connection
26570
+ (past the preview's type check, a value that is neither a connection id nor an
26571
+ alias in that scope is a 400 `invalid_ref` there). Forms installed from a
26572
+ template name connections this way, since the same block runs in every account
26573
+ the template is installed in. The unscoped `POST /v1/exports/preview` knows no
26574
+ aliases: past the preview's type check, an alias name there is 400 `invalid_ref`.
26542
26575
  additionalProperties: true
26543
26576
  examples:
26544
26577
  - virtual:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.271",
3
+ "version": "0.2.273",
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": "fb06bc04",
5
- "generatedAt": "2026-11-07"
4
+ "iasCommit": "d47440c4",
5
+ "generatedAt": "2026-11-09"
6
6
  },
7
7
  "roots": {
8
8
  "aiagent": 128,