@celigo/api-specs 0.2.271 → 0.2.272

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/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
@@ -16871,7 +16871,15 @@ components:
16871
16871
  description: |
16872
16872
  Export document to run, inline: `adaptorType`, its adaptor block, and an optional
16873
16873
  `transform`. `_connectionId` defaults to the connection of the export or import the
16874
- form belongs to; set it on any other resource's form.
16874
+ form belongs to; set it on any other resource's form. On an integration's form,
16875
+ and on the forms of its flows, it may also be the name of one of the integration's
16876
+ `aliases[]`, matched without regard to case: the UI previews the block on the
16877
+ route scoped to the form's resource, where the alias resolves to its connection
16878
+ (past the preview's type check, a value that is neither a connection id nor an
16879
+ alias in that scope is a 400 `invalid_ref` there). Forms installed from a
16880
+ template name connections this way, since the same block runs in every account
16881
+ the template is installed in. The unscoped `POST /v1/exports/preview` knows no
16882
+ aliases: past the preview's type check, an alias name there is 400 `invalid_ref`.
16875
16883
  additionalProperties: true
16876
16884
  examples:
16877
16885
  - 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:
package/dist/tool.yml CHANGED
@@ -26538,7 +26538,15 @@ components:
26538
26538
  description: |
26539
26539
  Export document to run, inline: `adaptorType`, its adaptor block, and an optional
26540
26540
  `transform`. `_connectionId` defaults to the connection of the export or import the
26541
- form belongs to; set it on any other resource's form.
26541
+ form belongs to; set it on any other resource's form. On an integration's form,
26542
+ and on the forms of its flows, it may also be the name of one of the integration's
26543
+ `aliases[]`, matched without regard to case: the UI previews the block on the
26544
+ route scoped to the form's resource, where the alias resolves to its connection
26545
+ (past the preview's type check, a value that is neither a connection id nor an
26546
+ alias in that scope is a 400 `invalid_ref` there). Forms installed from a
26547
+ template name connections this way, since the same block runs in every account
26548
+ the template is installed in. The unscoped `POST /v1/exports/preview` knows no
26549
+ aliases: past the preview's type check, an alias name there is 400 `invalid_ref`.
26542
26550
  additionalProperties: true
26543
26551
  examples:
26544
26552
  - 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.272",
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,7 +1,7 @@
1
1
  {
2
2
  "provenance": {
3
3
  "repo": "celigo/integrator-api-specs",
4
- "iasCommit": "fb06bc04",
4
+ "iasCommit": "fe36db4e",
5
5
  "generatedAt": "2026-11-07"
6
6
  },
7
7
  "roots": {