@celigo/api-specs 0.2.39 → 0.2.41
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/account.yml +201 -3
- package/dist/agent.yml +7 -0
- package/dist/ai-agent.yml +97 -13
- package/dist/api.yml +5934 -121
- package/dist/asynchelper.yml +7 -0
- package/dist/audit.yml +36 -1
- package/dist/connection.yml +662 -74
- package/dist/ediprofile.yml +7 -0
- package/dist/editransaction.yml +225 -0
- package/dist/enduser.yml +5605 -35
- package/dist/export.yml +276 -41
- package/dist/filedefinition.yml +7 -0
- package/dist/filestorage.yml +712 -330
- package/dist/flow.yml +78 -37
- package/dist/guardrail.yml +81 -533
- package/dist/httpconnectorendpoint.yml +602 -126
- package/dist/httpconnectorresource.yml +1160 -84
- package/dist/iclient.yml +108 -16
- package/dist/import.yml +1357 -176
- package/dist/integration.yml +814 -0
- package/dist/lookupcache.yml +7 -0
- package/dist/marketplace.yml +285 -105
- package/dist/mcp-server.yml +6310 -187
- package/dist/recyclebin.yml +32 -2
- package/dist/script.yml +7 -0
- package/dist/stack.yml +642 -5
- package/dist/subscription.yml +122 -26
- package/dist/template.yml +34 -1
- package/dist/tool.yml +4777 -1652
- package/dist/topic.yml +1783 -0
- package/dist/user.yml +142 -29
- package/package.json +1 -1
- package/schemas.json +978 -768
package/dist/export.yml
CHANGED
|
@@ -111,6 +111,16 @@ paths:
|
|
|
111
111
|
http:
|
|
112
112
|
relativeURI: /api/v1/contacts
|
|
113
113
|
method: GET
|
|
114
|
+
topic_listener:
|
|
115
|
+
summary: Event Streams listener on a topic (no connection)
|
|
116
|
+
value:
|
|
117
|
+
name: Order Events Listener
|
|
118
|
+
adaptorType: TopicExport
|
|
119
|
+
type: stream
|
|
120
|
+
topic:
|
|
121
|
+
_topicId: 6ab1f48d38d7733b4599875c
|
|
122
|
+
startPosition: latest
|
|
123
|
+
maxWaitTimeMs: 30000
|
|
114
124
|
responses:
|
|
115
125
|
'201':
|
|
116
126
|
description: Export created successfully
|
|
@@ -133,6 +143,21 @@ paths:
|
|
|
133
143
|
apiIdentifier: e53af6b210
|
|
134
144
|
createdAt: '2026-06-09T17:30:12.482Z'
|
|
135
145
|
lastModified: '2026-06-09T17:30:12.554Z'
|
|
146
|
+
topic_listener:
|
|
147
|
+
summary: Created Event Streams listener — topic defaults filled in
|
|
148
|
+
value:
|
|
149
|
+
_id: 6ab1f553de9162306b4d7bac
|
|
150
|
+
name: Order Events Listener
|
|
151
|
+
adaptorType: TopicExport
|
|
152
|
+
type: stream
|
|
153
|
+
topic:
|
|
154
|
+
_topicId: 6ab1f48d38d7733b4599875c
|
|
155
|
+
startPosition: latest
|
|
156
|
+
maxWaitTimeMs: 30000
|
|
157
|
+
asynchronous: true
|
|
158
|
+
apiIdentifier: ea8179ebf0
|
|
159
|
+
createdAt: '2026-09-22T03:26:11.864Z'
|
|
160
|
+
lastModified: '2026-09-22T03:26:11.905Z'
|
|
136
161
|
'400':
|
|
137
162
|
$ref: '#/components/responses/400-bad-request'
|
|
138
163
|
'401':
|
|
@@ -5588,18 +5613,33 @@ components:
|
|
|
5588
5613
|
- /mnt/nas/backups/clients/acme
|
|
5589
5614
|
- ./backups
|
|
5590
5615
|
- ~/integrations/backups
|
|
5616
|
+
includeSubdirectories:
|
|
5617
|
+
type: boolean
|
|
5618
|
+
default: false
|
|
5619
|
+
x-celigo-ui-override: 'Defaulted by the Azure Data Lake Storage Gen2 export form (fieldDefinitions/resources/exports/azuredatalakestoragegen2.js: ''file.includeSubdirectories'' defaultValue r?.file?.includeSubdirectories === true, visible only for that assistant). The API stores the flag on any file export; the form offers it for ADLS Gen2 only.'
|
|
5620
|
+
description: |-
|
|
5621
|
+
When true, an Azure Data Lake Storage Gen2 transfer (`assistant: azuredatalakestoragegen2`,
|
|
5622
|
+
`http.type: file`) also picks up files in the subdirectories below the directory path in
|
|
5623
|
+
`http.relativeURI`; when false or omitted only that directory's own files are transferred.
|
|
5624
|
+
examples:
|
|
5625
|
+
- true
|
|
5626
|
+
- false
|
|
5591
5627
|
directory:
|
|
5592
5628
|
type: object
|
|
5593
5629
|
required:
|
|
5594
5630
|
- pathMode
|
|
5595
5631
|
description: |-
|
|
5596
5632
|
Structured source location for cloud file-provider sources (Google Drive shared drives,
|
|
5597
|
-
Box, Dropbox
|
|
5598
|
-
by folder ID or by a path relative to
|
|
5599
|
-
|
|
5600
|
-
relative-path field is not consulted at
|
|
5633
|
+
Box, Dropbox, Google Cloud Storage, Azure Data Lake Storage Gen2), replacing the flat path
|
|
5634
|
+
used by classic FTP/S3 sources. Select the location by folder ID or by a path relative to
|
|
5635
|
+
a configured storage root via pathMode. For the drive-style providers, directoryId mode
|
|
5636
|
+
addresses the folder by id alone — the flat relative-path field is not consulted at
|
|
5637
|
+
runtime. Google Cloud Storage puts the bucket in `storageRootId` and the object prefix in
|
|
5638
|
+
`id` with `pathMode: directoryId`; Azure Data Lake Storage Gen2 puts the container in
|
|
5639
|
+
`name` and the directory path in `http.relativeURI`.
|
|
5601
5640
|
x-celigo-ai-guidance:
|
|
5602
5641
|
- Save-time validation accepts any string for id without checking it against the provider — set it only from a folder ID the user supplied or the UI folder browser stored; never fabricate one. To address a folder by path instead, set pathMode to relativePath and put the path in the adaptor's flat path field.
|
|
5642
|
+
- '`id` and `pathMode` are validated as a pair: `pathMode: directoryId` without `id` fails with 422 `missing_required_field` ("File exports require the file.directory.id to have a value."), and `id` with any other pathMode fails with 422 `missing_required_field` ("File exports require the file.directory.pathMode to have a value.").'
|
|
5603
5643
|
properties:
|
|
5604
5644
|
pathMode:
|
|
5605
5645
|
type: string
|
|
@@ -5618,22 +5658,29 @@ components:
|
|
|
5618
5658
|
description: |-
|
|
5619
5659
|
Provider-native folder ID of the source directory (e.g. a Google Drive folder ID); set
|
|
5620
5660
|
when pathMode is directoryId. This is the file provider's own ID, not a Celigo resource ID.
|
|
5661
|
+
For Google Cloud Storage it is the object prefix inside the bucket, ending with `/`.
|
|
5621
5662
|
examples:
|
|
5622
5663
|
- 1KppvTTr4jKhJqwPAhGWN6SRwk5m45DL2
|
|
5664
|
+
- inbound/orders/
|
|
5623
5665
|
name:
|
|
5624
5666
|
type: string
|
|
5625
5667
|
description: |-
|
|
5626
5668
|
Display name of the folder identified by id, kept for readability in the UI; the
|
|
5627
|
-
folder browser fills it when the location is picked visually.
|
|
5669
|
+
folder browser fills it when the location is picked visually. For Azure Data Lake
|
|
5670
|
+
Storage Gen2 it is the authoritative container name instead — the form saves the
|
|
5671
|
+
container here and no id.
|
|
5628
5672
|
examples:
|
|
5629
5673
|
- Invoices - Inbound
|
|
5674
|
+
- invoices-inbound
|
|
5630
5675
|
storageRootId:
|
|
5631
5676
|
type: string
|
|
5632
5677
|
description: |-
|
|
5633
5678
|
Provider-native ID of the storage root (e.g. a Google Drive shared-drive ID) the relative
|
|
5634
5679
|
path resolves against; set when pathMode is relativePath. The provider's own ID, not a Celigo ID.
|
|
5680
|
+
For Google Cloud Storage it is the bucket name.
|
|
5635
5681
|
examples:
|
|
5636
5682
|
- 1qU1hvFarBFMb4-twqKm1rR5o_6j9vs9g
|
|
5683
|
+
- erp-exports
|
|
5637
5684
|
storageRootName:
|
|
5638
5685
|
type: string
|
|
5639
5686
|
description: Display name of the storage root identified by storageRootId, retained for reference in the UI.
|
|
@@ -5884,6 +5931,73 @@ components:
|
|
|
5884
5931
|
examples:
|
|
5885
5932
|
- no_data
|
|
5886
5933
|
- schema.table.column1,schema.table.column2
|
|
5934
|
+
Topic:
|
|
5935
|
+
type: object
|
|
5936
|
+
description: |-
|
|
5937
|
+
Subscription settings for an Event Streams listener (`adaptorType: TopicExport`). The
|
|
5938
|
+
listener consumes messages published to the topic and hands them to the flow in batches;
|
|
5939
|
+
the platform delivers them internally, so the export carries no `_connectionId`. Present
|
|
5940
|
+
when `adaptorType` is `TopicExport`; the server fills `startPosition` and `maxWaitTimeMs`
|
|
5941
|
+
with their defaults when they are omitted.
|
|
5942
|
+
x-celigo-ai-guidance:
|
|
5943
|
+
- |-
|
|
5944
|
+
Send `type: "stream"` together with this object, as the listener form always does; the
|
|
5945
|
+
save also succeeds without `type`, so nothing catches the omission at save time. Sending
|
|
5946
|
+
this object without `adaptorType` is enough for the server to infer `TopicExport`.
|
|
5947
|
+
- |-
|
|
5948
|
+
Never add a `_connectionId`: the server then validates the document as that connection's
|
|
5949
|
+
adaptor instead (an http connection fails with 422 missing_required_field "http subschema
|
|
5950
|
+
not defined"). A TopicExport carries no `cdc` object either — sending `cdc.snapshotMode`
|
|
5951
|
+
fails with 422 `not_allowed` ("CDC snapshotMode can only be used with stream export type").
|
|
5952
|
+
properties:
|
|
5953
|
+
_topicId:
|
|
5954
|
+
type: string
|
|
5955
|
+
format: objectId
|
|
5956
|
+
x-celigo-refModel: topics
|
|
5957
|
+
x-celigo-ui-override: 'Required by the Event Streams listener form (fieldDefinitions/resources/exports/export.js: ''topic._topicId'' is required:true, validWhen isNot ''''). The API saves a TopicExport without it, so the requirement is encoded on the request schema to mirror the form and keep listeners bound to a topic.'
|
|
5958
|
+
description: |-
|
|
5959
|
+
Topic this listener subscribes to. Create or look it up with `GET /v1/topics`; the
|
|
5960
|
+
topic must belong to the same account. Pointing an existing listener at a different
|
|
5961
|
+
topic starts a new subscription, read from `startPosition`.
|
|
5962
|
+
x-celigo-ai-guidance:
|
|
5963
|
+
- |-
|
|
5964
|
+
An id that is not a topic in the account fails the save with 422 `invalid_ref`
|
|
5965
|
+
("<id> is not a valid topic._topicId"); a malformed id fails with 422 `invalid_field`.
|
|
5966
|
+
examples:
|
|
5967
|
+
- 6ab1f48d38d7733b4599875c
|
|
5968
|
+
startPosition:
|
|
5969
|
+
type: string
|
|
5970
|
+
enum:
|
|
5971
|
+
- latest
|
|
5972
|
+
- earliest
|
|
5973
|
+
default: latest
|
|
5974
|
+
x-enumDescriptions:
|
|
5975
|
+
latest: Deliver only messages published after the listener subscribes
|
|
5976
|
+
earliest: Replay every retained message on the topic before delivering new ones
|
|
5977
|
+
description: |-
|
|
5978
|
+
Where the listener starts reading when it first subscribes to `_topicId`. Use `earliest`
|
|
5979
|
+
to backfill retained history, `latest` (the default) to process only new messages. Read
|
|
5980
|
+
on create and whenever `_topicId` changes; on other updates the stored value is kept even
|
|
5981
|
+
if a different value is sent.
|
|
5982
|
+
examples:
|
|
5983
|
+
- latest
|
|
5984
|
+
- earliest
|
|
5985
|
+
maxWaitTimeMs:
|
|
5986
|
+
type: integer
|
|
5987
|
+
minimum: 1000
|
|
5988
|
+
default: 30000
|
|
5989
|
+
description: |-
|
|
5990
|
+
Longest time, in milliseconds, the listener waits to fill a batch before delivering
|
|
5991
|
+
whatever it has collected. Lower values reduce latency for sparse topics; the default
|
|
5992
|
+
of 30 seconds favors fuller batches. The batch record cap is the export's `pageSize`.
|
|
5993
|
+
x-celigo-ai-guidance:
|
|
5994
|
+
- |-
|
|
5995
|
+
Values below 1000 (including 0 and negatives) fail the save with 422 `min`
|
|
5996
|
+
("Path `topic.maxWaitTimeMs` (0) is less than minimum allowed value (1000)"). The form
|
|
5997
|
+
edits this as whole seconds and saves seconds × 1000.
|
|
5998
|
+
examples:
|
|
5999
|
+
- 30000
|
|
6000
|
+
- 5000
|
|
5887
6001
|
FileSystem:
|
|
5888
6002
|
type: object
|
|
5889
6003
|
description: |-
|
|
@@ -6034,23 +6148,33 @@ components:
|
|
|
6034
6148
|
- graph_ql
|
|
6035
6149
|
method:
|
|
6036
6150
|
type: string
|
|
6037
|
-
description:
|
|
6151
|
+
description: |-
|
|
6152
|
+
HTTP method used to request data from the target API. Consult the target API's
|
|
6153
|
+
documentation to determine the appropriate method. `HEAD` exists for connector endpoints
|
|
6154
|
+
that return metadata in response headers only (Azure Data Lake Storage Gen2 path
|
|
6155
|
+
properties).
|
|
6038
6156
|
enum:
|
|
6039
6157
|
- GET
|
|
6040
6158
|
- POST
|
|
6041
6159
|
- PUT
|
|
6042
6160
|
- PATCH
|
|
6043
6161
|
- DELETE
|
|
6162
|
+
- HEAD
|
|
6044
6163
|
x-enumDescriptions:
|
|
6045
6164
|
GET: Retrieves data from the target API without modifying resources.
|
|
6046
6165
|
POST: Sends a request body to the target API when body criteria are needed, commonly used for RPC or SOAP/XML-based data retrieval
|
|
6047
6166
|
PUT: Sends a full replacement payload, available for APIs that support it for data retrieval.
|
|
6048
6167
|
PATCH: Sends a partial update payload, less common for exports but available for specialized APIs.
|
|
6049
6168
|
DELETE: Requests resource deletion, rarely used for exports but available for specialized use cases.
|
|
6169
|
+
HEAD: Requests only the response headers, for connector endpoints that expose metadata that way (e.g. ADLS Gen2 path properties); there is no body to parse
|
|
6170
|
+
x-celigo-ai-guidance:
|
|
6171
|
+
- |-
|
|
6172
|
+
Any other verb fails the save with 422 `enum` ("`OPTIONS` is not a valid enum value for
|
|
6173
|
+
path `http.method`"). Import `http.method` does not accept `HEAD`.
|
|
6050
6174
|
examples:
|
|
6051
6175
|
- GET
|
|
6052
6176
|
- POST
|
|
6053
|
-
-
|
|
6177
|
+
- HEAD
|
|
6054
6178
|
followRedirects:
|
|
6055
6179
|
type: boolean
|
|
6056
6180
|
default: true
|
|
@@ -7640,21 +7764,6 @@ components:
|
|
|
7640
7764
|
`GET /v1/httpconnectors/{_id}/{_httpConnectorResourceId}/{_id}` for an endpoint's `method` and
|
|
7641
7765
|
`relativeURI`. A top-level `_httpConnectorId` on the export itself is dropped. Verified against
|
|
7642
7766
|
the live API 2026-09-21.
|
|
7643
|
-
if:
|
|
7644
|
-
properties:
|
|
7645
|
-
type:
|
|
7646
|
-
const: file
|
|
7647
|
-
required:
|
|
7648
|
-
- type
|
|
7649
|
-
not:
|
|
7650
|
-
properties:
|
|
7651
|
-
formType:
|
|
7652
|
-
const: assistant
|
|
7653
|
-
required:
|
|
7654
|
-
- formType
|
|
7655
|
-
then:
|
|
7656
|
-
required:
|
|
7657
|
-
- file
|
|
7658
7767
|
Salesforce:
|
|
7659
7768
|
type: object
|
|
7660
7769
|
description: 'Configuration for Salesforce exports. Required when the export''s `_connectionId` references a Salesforce connection; omit for other connection types. The `type` field selects the extraction mode: `soql` runs batch queries and requires the `soql` object, while `distributed` listens for real-time events and requires the `distributed` object. File retrieval (when the export''s `type` is `blob`) requires `sObjectType` and `id` instead.'
|
|
@@ -9571,9 +9680,12 @@ components:
|
|
|
9571
9680
|
MongoDB:
|
|
9572
9681
|
type: object
|
|
9573
9682
|
description: |-
|
|
9574
|
-
Defines how documents are retrieved from MongoDB collections. Required
|
|
9575
|
-
_connectionId field references a MongoDB connection
|
|
9576
|
-
|
|
9683
|
+
Defines how documents are retrieved from MongoDB collections. Required, with `method` and
|
|
9684
|
+
`collection`, when the _connectionId field references a MongoDB connection and the export
|
|
9685
|
+
fetches documents; must not be included for other connection types. A change-stream
|
|
9686
|
+
listener (`type: stream`) is configured through `cdc` instead and may omit this object, or
|
|
9687
|
+
set only `collection` to scope the listener. Supports find queries with optional filter
|
|
9688
|
+
criteria and field projections.
|
|
9577
9689
|
x-celigo-ai-guidance:
|
|
9578
9690
|
- Configuration object for MongoDB data integration exports.
|
|
9579
9691
|
- |-
|
|
@@ -9582,8 +9694,11 @@ components:
|
|
|
9582
9694
|
- Filters documents based on query criteria
|
|
9583
9695
|
- Selects specific fields with projections
|
|
9584
9696
|
- Provides NoSQL flexibility with JSON query syntax
|
|
9585
|
-
|
|
9586
|
-
|
|
9697
|
+
- |-
|
|
9698
|
+
On a find export both `method` and `collection` are validator-enforced: omitting either
|
|
9699
|
+
fails the save with 422 `missing_required_field` ("Expected field: collection to be
|
|
9700
|
+
present." / "Expected field: method to be present."). On a `type: stream` listener neither
|
|
9701
|
+
is required and the object is returned only when `collection` is set.
|
|
9587
9702
|
properties:
|
|
9588
9703
|
method:
|
|
9589
9704
|
type: string
|
|
@@ -9601,7 +9716,7 @@ components:
|
|
|
9601
9716
|
|
|
9602
9717
|
This field defines the query approach:
|
|
9603
9718
|
|
|
9604
|
-
- REQUIRED for
|
|
9719
|
+
- REQUIRED for find exports (not for `type: stream` listeners)
|
|
9605
9720
|
- Currently only supports "find" operations
|
|
9606
9721
|
- Determines how other parameters are interpreted
|
|
9607
9722
|
- Corresponds to MongoDB's db.collection.find() method
|
|
@@ -9635,10 +9750,11 @@ components:
|
|
|
9635
9750
|
- find
|
|
9636
9751
|
collection:
|
|
9637
9752
|
type: string
|
|
9638
|
-
x-celigo-ui-override: Required by the MongoDB export form (mongodb.collection is required:true). Encoded to mirror the form so builders produce connectable configurations.
|
|
9639
9753
|
description: |-
|
|
9640
9754
|
Name of the MongoDB collection to query. Case-sensitive and must reference an existing
|
|
9641
|
-
collection in the connected database.
|
|
9755
|
+
collection in the connected database. Required on find exports; on a change-stream
|
|
9756
|
+
listener (`type: stream`) it is optional and may list several collections separated by
|
|
9757
|
+
commas, matching the listener form's "Collections" field.
|
|
9642
9758
|
x-celigo-ai-guidance:
|
|
9643
9759
|
- Specifies the MongoDB collection to query for documents.
|
|
9644
9760
|
- |-
|
|
@@ -9646,7 +9762,7 @@ components:
|
|
|
9646
9762
|
|
|
9647
9763
|
This field identifies the data source:
|
|
9648
9764
|
|
|
9649
|
-
- REQUIRED for
|
|
9765
|
+
- REQUIRED for find exports; optional (single or comma-separated) on `type: stream` listeners
|
|
9650
9766
|
- Must reference a valid collection in the MongoDB database
|
|
9651
9767
|
- Case-sensitive according to MongoDB collection naming
|
|
9652
9768
|
- The primary container for documents to be retrieved
|
|
@@ -9654,7 +9770,7 @@ components:
|
|
|
9654
9770
|
- customers
|
|
9655
9771
|
- orders
|
|
9656
9772
|
- product_catalog
|
|
9657
|
-
-
|
|
9773
|
+
- users, orders, products
|
|
9658
9774
|
filter:
|
|
9659
9775
|
type: string
|
|
9660
9776
|
description: |-
|
|
@@ -9900,7 +10016,7 @@ components:
|
|
|
9900
10016
|
- distributed
|
|
9901
10017
|
- file
|
|
9902
10018
|
x-enumDescriptions:
|
|
9903
|
-
search: Retrieves records
|
|
10019
|
+
search: Retrieves records with a NetSuite saved search over SOAP web services; the export form marks this path deprecated in favour of the REST APIs for new exports
|
|
9904
10020
|
basicSearch: Retrieves records using a basic NetSuite search query.
|
|
9905
10021
|
metadata: Retrieves metadata about a NetSuite record type.
|
|
9906
10022
|
selectoption: Retrieves the available select options for a specific field.
|
|
@@ -15918,7 +16034,9 @@ components:
|
|
|
15918
16034
|
Connection this export uses to reach the source system. The connection's type must be
|
|
15919
16035
|
compatible with the export's `adaptorType` (e.g. an `HTTPExport` needs an `http` connection;
|
|
15920
16036
|
`NetSuiteExport` and `NetSuiteHTTPExport` both need a `netsuite` connection).
|
|
15921
|
-
Server-required unless `type` is `webhook` or `simple` (those receive data instead of
|
|
16037
|
+
Server-required unless `type` is `webhook` or `simple` (those receive data instead of
|
|
16038
|
+
fetching it) or `adaptorType` is `TopicExport` (Event Streams listeners are delivered
|
|
16039
|
+
by the platform itself and must omit it).
|
|
15922
16040
|
examples:
|
|
15923
16041
|
- 60a2c4e6f321d800129a1a3c
|
|
15924
16042
|
adaptorType:
|
|
@@ -15943,6 +16061,7 @@ components:
|
|
|
15943
16061
|
- SimpleExport
|
|
15944
16062
|
- WebhookExport
|
|
15945
16063
|
- FileSystemExport
|
|
16064
|
+
- TopicExport
|
|
15946
16065
|
- RESTExport
|
|
15947
16066
|
x-enumDescriptions:
|
|
15948
16067
|
HTTPExport: Exports data from generic REST or SOAP APIs over HTTP.
|
|
@@ -15960,12 +16079,14 @@ components:
|
|
|
15960
16079
|
SimpleExport: Exports data via manual file uploads through the data loader UI.
|
|
15961
16080
|
WebhookExport: Listens for incoming HTTP requests as a real-time event endpoint.
|
|
15962
16081
|
FileSystemExport: Exports files from a local or mounted file system.
|
|
16082
|
+
TopicExport: Listens to an Event Streams topic and delivers its messages in batches, configured through `topic`; needs no connection.
|
|
15963
16083
|
RESTExport: Legacy REST adaptor, superseded by HTTPExport — still accepted and present on older exports.
|
|
15964
16084
|
examples:
|
|
15965
16085
|
- HTTPExport
|
|
15966
16086
|
- NetSuiteExport
|
|
15967
16087
|
- NetSuiteHTTPExport
|
|
15968
16088
|
- SalesforceExport
|
|
16089
|
+
- TopicExport
|
|
15969
16090
|
x-celigo-ai-guidance:
|
|
15970
16091
|
- |-
|
|
15971
16092
|
On a netsuite connection, default to `NetSuiteHTTPExport` (with `nsDomainType` and an
|
|
@@ -16065,6 +16186,10 @@ components:
|
|
|
16065
16186
|
(change data capture from MongoDB, SQL Server, or
|
|
16066
16187
|
PostgreSQL — "when a row changes", "listen to my table")
|
|
16067
16188
|
-> `stream`, configured via the `cdc` object
|
|
16189
|
+
- **Subscribe to an Event Streams topic** ("listen to topic X",
|
|
16190
|
+
"consume messages published to …") -> `stream` with
|
|
16191
|
+
`adaptorType: TopicExport`, configured via the `topic` object
|
|
16192
|
+
(no `cdc`, no `_connectionId`)
|
|
16068
16193
|
- **Transfer raw files WITHOUT parsing their contents into
|
|
16069
16194
|
records** (images, PDFs, binaries) -> `blob`
|
|
16070
16195
|
- **Manual data uploads via the data loader UI** -> `simple`
|
|
@@ -16084,8 +16209,11 @@ components:
|
|
|
16084
16209
|
the chosen config, not whether to use it.
|
|
16085
16210
|
- |-
|
|
16086
16211
|
`stream` is accepted only on MongoDB and RDBMS exports (SQL Server
|
|
16087
|
-
or PostgreSQL connections)
|
|
16088
|
-
|
|
16212
|
+
or PostgreSQL connections) and on Event Streams listeners
|
|
16213
|
+
(`adaptorType: TopicExport`); every other adaptor rejects the save
|
|
16214
|
+
with `unsupported_export_type`. A MongoDB or RDBMS stream export
|
|
16215
|
+
must carry `cdc.snapshotMode` (and `cdc.captureMode` on MongoDB) —
|
|
16216
|
+
omitting them fails with 422 `missing_required_field` on those paths.
|
|
16089
16217
|
enum:
|
|
16090
16218
|
- webhook
|
|
16091
16219
|
- test
|
|
@@ -16106,7 +16234,7 @@ components:
|
|
|
16106
16234
|
simple: Allows manual file uploads through the data loader UI.
|
|
16107
16235
|
blob: Retrieves raw files without parsing them into structured data records.
|
|
16108
16236
|
distributed: Listens for real-time events from NetSuite or Salesforce.
|
|
16109
|
-
stream: Streams
|
|
16237
|
+
stream: Streams events in real time — database change data capture (MongoDB change streams, SQL Server CDC, PostgreSQL logical replication) configured through the `cdc` object, or an Event Streams topic subscription (`TopicExport`) configured through `topic`.
|
|
16110
16238
|
all: Explicitly retrieves all available records — equivalent to omitting `type`.
|
|
16111
16239
|
examples:
|
|
16112
16240
|
- webhook
|
|
@@ -16209,6 +16337,8 @@ components:
|
|
|
16209
16337
|
$ref: '#/components/schemas/Distributed'
|
|
16210
16338
|
cdc:
|
|
16211
16339
|
$ref: '#/components/schemas/Cdc'
|
|
16340
|
+
topic:
|
|
16341
|
+
$ref: '#/components/schemas/Topic'
|
|
16212
16342
|
filesystem:
|
|
16213
16343
|
$ref: '#/components/schemas/FileSystem'
|
|
16214
16344
|
http:
|
|
@@ -16470,7 +16600,16 @@ components:
|
|
|
16470
16600
|
$ref: '#/components/schemas/PreSave'
|
|
16471
16601
|
assistant:
|
|
16472
16602
|
type: string
|
|
16473
|
-
description:
|
|
16603
|
+
description: |-
|
|
16604
|
+
Identifier for the connector assistant used to configure this export. For the cloud
|
|
16605
|
+
file providers it also selects the provider-specific location rules —
|
|
16606
|
+
`azuredatalakestoragegen2` (container in `file.directory.name`, path in
|
|
16607
|
+
`http.relativeURI`) and `googlecloudstorage` (bucket in `file.directory.storageRootId`,
|
|
16608
|
+
prefix in `file.directory.id`).
|
|
16609
|
+
examples:
|
|
16610
|
+
- shopify
|
|
16611
|
+
- azuredatalakestoragegen2
|
|
16612
|
+
- googlecloudstorage
|
|
16474
16613
|
assistantMetadata:
|
|
16475
16614
|
type:
|
|
16476
16615
|
- object
|
|
@@ -16774,7 +16913,8 @@ components:
|
|
|
16774
16913
|
description: |-
|
|
16775
16914
|
Fields that can be sent when creating or updating an export. Set the adaptor-specific
|
|
16776
16915
|
configuration object matching `adaptorType`, and the mode-specific object matching `type`.
|
|
16777
|
-
`SimpleExport` (data-loader) is the exception — it needs no adaptor config object.
|
|
16916
|
+
`SimpleExport` (data-loader) is the exception — it needs no adaptor config object. An Event
|
|
16917
|
+
Streams listener (`TopicExport`) carries `topic` and `type: stream` and no `_connectionId`.
|
|
16778
16918
|
required:
|
|
16779
16919
|
- name
|
|
16780
16920
|
allOf:
|
|
@@ -16788,6 +16928,64 @@ components:
|
|
|
16788
16928
|
then:
|
|
16789
16929
|
required:
|
|
16790
16930
|
- http
|
|
16931
|
+
if:
|
|
16932
|
+
properties:
|
|
16933
|
+
assistant:
|
|
16934
|
+
const: azuredatalakestoragegen2
|
|
16935
|
+
required:
|
|
16936
|
+
- assistant
|
|
16937
|
+
then:
|
|
16938
|
+
x-celigo-ui-override: 'Required by the Azure Data Lake Storage Gen2 export form (fieldDefinitions/resources/exports/azuredatalakestoragegen2.js: ''file.directory.storageRootId_adls'' is required:true and preSave persists it as file.directory.name; the directory path in http.relativeURI is required:false). Encoded to mirror the form so builders produce connectable configurations.'
|
|
16939
|
+
required:
|
|
16940
|
+
- file
|
|
16941
|
+
properties:
|
|
16942
|
+
file:
|
|
16943
|
+
required:
|
|
16944
|
+
- directory
|
|
16945
|
+
properties:
|
|
16946
|
+
directory:
|
|
16947
|
+
required:
|
|
16948
|
+
- name
|
|
16949
|
+
else:
|
|
16950
|
+
if:
|
|
16951
|
+
properties:
|
|
16952
|
+
assistant:
|
|
16953
|
+
const: googlecloudstorage
|
|
16954
|
+
required:
|
|
16955
|
+
- assistant
|
|
16956
|
+
then:
|
|
16957
|
+
x-celigo-ui-override: 'Required by the Google Cloud Storage export form (fieldDefinitions/resources/exports/googlecloudstorage.js: bucket ''file.directory.storageRootId_gcs'' is required:true and prefix ''file.directory.id'' is required:true; preSave forces file.directory.pathMode to directoryId). Encoded to mirror the form so builders produce connectable configurations.'
|
|
16958
|
+
required:
|
|
16959
|
+
- file
|
|
16960
|
+
properties:
|
|
16961
|
+
file:
|
|
16962
|
+
required:
|
|
16963
|
+
- directory
|
|
16964
|
+
properties:
|
|
16965
|
+
directory:
|
|
16966
|
+
required:
|
|
16967
|
+
- storageRootId
|
|
16968
|
+
- id
|
|
16969
|
+
else:
|
|
16970
|
+
if:
|
|
16971
|
+
required:
|
|
16972
|
+
- http
|
|
16973
|
+
properties:
|
|
16974
|
+
http:
|
|
16975
|
+
required:
|
|
16976
|
+
- type
|
|
16977
|
+
properties:
|
|
16978
|
+
type:
|
|
16979
|
+
const: file
|
|
16980
|
+
not:
|
|
16981
|
+
required:
|
|
16982
|
+
- formType
|
|
16983
|
+
properties:
|
|
16984
|
+
formType:
|
|
16985
|
+
const: assistant
|
|
16986
|
+
then:
|
|
16987
|
+
required:
|
|
16988
|
+
- file
|
|
16791
16989
|
else:
|
|
16792
16990
|
if:
|
|
16793
16991
|
properties:
|
|
@@ -16885,8 +17083,23 @@ components:
|
|
|
16885
17083
|
required:
|
|
16886
17084
|
- adaptorType
|
|
16887
17085
|
then:
|
|
16888
|
-
|
|
16889
|
-
|
|
17086
|
+
if:
|
|
17087
|
+
properties:
|
|
17088
|
+
type:
|
|
17089
|
+
const: stream
|
|
17090
|
+
required:
|
|
17091
|
+
- type
|
|
17092
|
+
then:
|
|
17093
|
+
required:
|
|
17094
|
+
- cdc
|
|
17095
|
+
else:
|
|
17096
|
+
required:
|
|
17097
|
+
- mongodb
|
|
17098
|
+
properties:
|
|
17099
|
+
mongodb:
|
|
17100
|
+
required:
|
|
17101
|
+
- method
|
|
17102
|
+
- collection
|
|
16890
17103
|
else:
|
|
16891
17104
|
if:
|
|
16892
17105
|
properties:
|
|
@@ -16937,6 +17150,21 @@ components:
|
|
|
16937
17150
|
then:
|
|
16938
17151
|
required:
|
|
16939
17152
|
- http
|
|
17153
|
+
else:
|
|
17154
|
+
if:
|
|
17155
|
+
properties:
|
|
17156
|
+
adaptorType:
|
|
17157
|
+
const: TopicExport
|
|
17158
|
+
required:
|
|
17159
|
+
- adaptorType
|
|
17160
|
+
then:
|
|
17161
|
+
x-celigo-ui-override: 'Required by the Event Streams listener form (fieldDefinitions/resources/exports/export.js: ''topic._topicId'' is required:true). Encoded to mirror the form so builders produce listeners that are bound to a topic.'
|
|
17162
|
+
required:
|
|
17163
|
+
- topic
|
|
17164
|
+
properties:
|
|
17165
|
+
topic:
|
|
17166
|
+
required:
|
|
17167
|
+
- _topicId
|
|
16940
17168
|
Error:
|
|
16941
17169
|
type: object
|
|
16942
17170
|
description: Standard error response envelope returned by integrator.io APIs.
|
|
@@ -17206,6 +17434,13 @@ components:
|
|
|
17206
17434
|
description: Display name of the dependent resource.
|
|
17207
17435
|
examples:
|
|
17208
17436
|
- Import Orders to NetSuite
|
|
17437
|
+
type:
|
|
17438
|
+
type: string
|
|
17439
|
+
description: |-
|
|
17440
|
+
Sub-type of the dependent resource when its collection distinguishes one, such as
|
|
17441
|
+
`stream` for a listener export. Only present for resource types that carry a `type`.
|
|
17442
|
+
examples:
|
|
17443
|
+
- stream
|
|
17209
17444
|
paths:
|
|
17210
17445
|
type: array
|
|
17211
17446
|
description: |-
|
package/dist/filedefinition.yml
CHANGED
|
@@ -1286,6 +1286,13 @@ components:
|
|
|
1286
1286
|
description: Display name of the dependent resource.
|
|
1287
1287
|
examples:
|
|
1288
1288
|
- Import Orders to NetSuite
|
|
1289
|
+
type:
|
|
1290
|
+
type: string
|
|
1291
|
+
description: |-
|
|
1292
|
+
Sub-type of the dependent resource when its collection distinguishes one, such as
|
|
1293
|
+
`stream` for a listener export. Only present for resource types that carry a `type`.
|
|
1294
|
+
examples:
|
|
1295
|
+
- stream
|
|
1289
1296
|
paths:
|
|
1290
1297
|
type: array
|
|
1291
1298
|
description: |-
|