@celigo/api-specs 0.2.299 → 0.2.301
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/ai-agent.yml +30 -0
- package/dist/api.yml +24 -0
- package/dist/asynchelper.yml +15 -0
- package/dist/connection.yml +9 -0
- package/dist/enduser.yml +9 -0
- package/dist/export.yml +30 -0
- package/dist/fileserver.yml +13 -13
- package/dist/filestorage.yml +127 -28
- package/dist/httpconnector.yml +15 -0
- package/dist/httpconnectorresource.yml +15 -0
- package/dist/import.yml +30 -0
- package/dist/mcp-registry.yml +79 -30
- package/dist/mcp-server.yml +49 -21
- package/dist/storagequery.yml +24 -2
- package/dist/sync.yml +360 -45
- package/dist/tool.yml +39 -0
- package/dist/tradingpartnerconnector.yml +15 -0
- package/package.json +1 -1
- package/schemas.json +281 -259
package/dist/sync.yml
CHANGED
|
@@ -225,8 +225,9 @@ paths:
|
|
|
225
225
|
'400':
|
|
226
226
|
description: |-
|
|
227
227
|
Bad request. `_integrationId` is missing (`missing_integration_id`), the body
|
|
228
|
-
contains `_id` or `_userId` (`id_and_userId_in_request`),
|
|
229
|
-
reference is not a valid id
|
|
228
|
+
contains `_id` or `_userId` (`id_and_userId_in_request`), a connection
|
|
229
|
+
reference is not a valid id, `_runNextFlowIds` or `_runNextSyncIds` is not an
|
|
230
|
+
array of ids, or either list has more than 100 entries (`batch_size_exceeded`).
|
|
230
231
|
content:
|
|
231
232
|
application/json:
|
|
232
233
|
schema:
|
|
@@ -238,6 +239,12 @@ paths:
|
|
|
238
239
|
errors:
|
|
239
240
|
- code: missing_integration_id
|
|
240
241
|
message: To create sync integration id is required. Not provided in request body.
|
|
242
|
+
batch_size_exceeded:
|
|
243
|
+
summary: More than 100 run-next ids
|
|
244
|
+
value:
|
|
245
|
+
errors:
|
|
246
|
+
- code: batch_size_exceeded
|
|
247
|
+
message: Maximum batch size is 100.
|
|
241
248
|
'401':
|
|
242
249
|
$ref: '#/components/responses/401-unauthorized-or-scoped-token'
|
|
243
250
|
'403':
|
|
@@ -265,25 +272,53 @@ paths:
|
|
|
265
272
|
errors:
|
|
266
273
|
- code: access_restricted
|
|
267
274
|
message: Access restricted
|
|
275
|
+
'409':
|
|
276
|
+
description: |-
|
|
277
|
+
`destination._connectionId` is a well-formed id that is no connection in the
|
|
278
|
+
account (`CONNECTION_NOT_FOUND`). Nothing is created.
|
|
279
|
+
content:
|
|
280
|
+
application/json:
|
|
281
|
+
schema:
|
|
282
|
+
$ref: '#/components/schemas/Error'
|
|
283
|
+
examples:
|
|
284
|
+
destination_connection_not_found:
|
|
285
|
+
summary: Unknown destination connection
|
|
286
|
+
value:
|
|
287
|
+
errors:
|
|
288
|
+
- code: CONNECTION_NOT_FOUND
|
|
289
|
+
message: Connection not found
|
|
268
290
|
'422':
|
|
269
291
|
description: |-
|
|
270
292
|
Validation failed. `source._connectionId` is missing
|
|
271
293
|
(`missing_source_connection`), the integration was not created with
|
|
272
|
-
`syncs: true` (`integration_not_for_sync`), `destination._connectionId`
|
|
273
|
-
|
|
294
|
+
`syncs: true` (`integration_not_for_sync`), `destination._connectionId` is missing
|
|
295
|
+
while `database`, `schema` or `tablePrefix` is sent
|
|
296
|
+
(`missing_destination_connection`), the destination
|
|
274
297
|
connection is offline while a `database` or `schema` is set
|
|
275
|
-
(`offline_destination_connection`), the destination
|
|
298
|
+
(`offline_destination_connection`), the destination warehouse didn't answer the
|
|
299
|
+
save's schema check in time (`destination_schema_check_timeout` — nothing is
|
|
300
|
+
saved; retry), the destination duplicates another sync
|
|
276
301
|
(`duplicate_destination_host`), the destination connector rejected the
|
|
277
302
|
sync configuration (`invalid_destination_sync_config`), two enabled
|
|
278
303
|
datasets resolve to the same destination table
|
|
279
304
|
(`conflicting_table_name`), a field exceeds its size limit
|
|
280
|
-
(`size_limit_exceeded`),
|
|
281
|
-
(`drift_policy_invalid_setup`)
|
|
305
|
+
(`size_limit_exceeded`), the drift policy is inconsistent
|
|
306
|
+
(`drift_policy_invalid_setup`), or a run-next id was refused: not a flow or sync in
|
|
307
|
+
the account (`invalid_ref`), an abstract flow
|
|
308
|
+
(`abstract_run_next_flow_not_allowed`), or a flow with no batch export
|
|
309
|
+
(`invalid_flow`).
|
|
282
310
|
content:
|
|
283
311
|
application/json:
|
|
284
312
|
schema:
|
|
285
313
|
$ref: '#/components/schemas/Error'
|
|
286
314
|
examples:
|
|
315
|
+
run_next_invalid_ref:
|
|
316
|
+
summary: A run-next flow id the account doesn't have
|
|
317
|
+
value:
|
|
318
|
+
errors:
|
|
319
|
+
- field: _runNextFlowIds[0]
|
|
320
|
+
code: invalid_ref
|
|
321
|
+
message: 6a2a95909e994395f3c2a4f1 is not a valid _runNextFlowIds[0]
|
|
287
322
|
missing_source_connection:
|
|
288
323
|
summary: Missing source connection
|
|
289
324
|
value:
|
|
@@ -456,7 +491,9 @@ paths:
|
|
|
456
491
|
'400':
|
|
457
492
|
description: |-
|
|
458
493
|
Bad request. The body contains `_integrationId` (`sync_integration_id_update`)
|
|
459
|
-
or `_id`/`_userId` (`id_and_userId_in_request`)
|
|
494
|
+
or `_id`/`_userId` (`id_and_userId_in_request`), `_runNextFlowIds` or
|
|
495
|
+
`_runNextSyncIds` is not an array of ids, or either list has more than 100 entries
|
|
496
|
+
(`batch_size_exceeded`).
|
|
460
497
|
content:
|
|
461
498
|
application/json:
|
|
462
499
|
schema:
|
|
@@ -496,30 +533,66 @@ paths:
|
|
|
496
533
|
message: Access restricted
|
|
497
534
|
'404':
|
|
498
535
|
$ref: '#/components/responses/404-not-found'
|
|
536
|
+
'409':
|
|
537
|
+
description: |-
|
|
538
|
+
`destination._connectionId` is a well-formed id that is no connection in the
|
|
539
|
+
account (`CONNECTION_NOT_FOUND`). The stored sync is unchanged.
|
|
540
|
+
content:
|
|
541
|
+
application/json:
|
|
542
|
+
schema:
|
|
543
|
+
$ref: '#/components/schemas/Error'
|
|
544
|
+
examples:
|
|
545
|
+
destination_connection_not_found:
|
|
546
|
+
summary: Unknown destination connection
|
|
547
|
+
value:
|
|
548
|
+
errors:
|
|
549
|
+
- code: CONNECTION_NOT_FOUND
|
|
550
|
+
message: Connection not found
|
|
499
551
|
'422':
|
|
500
552
|
description: |-
|
|
501
553
|
Validation failed. `source._connectionId` is missing
|
|
502
554
|
(`missing_source_connection`), the sync is not ready to enable
|
|
503
|
-
(`sync_not_enabled`), the update drops the saved destination connection or
|
|
504
|
-
|
|
555
|
+
(`sync_not_enabled`), the update drops the saved destination connection or sends
|
|
556
|
+
`database`, `schema` or `tablePrefix` without a connection
|
|
557
|
+
(`missing_destination_connection`, "Destination
|
|
505
558
|
connection is missing in the request"), the new destination connection is another
|
|
506
559
|
warehouse type than the saved one (`duplicate_destination_type`, "Destination
|
|
507
560
|
connection type is not same as the previous destination connection type"), a new
|
|
508
561
|
`database` or `schema` was sent while the destination connection is offline
|
|
509
562
|
(`offline_destination_connection` — the platform creates the schema when the
|
|
510
|
-
destination is saved), the destination
|
|
563
|
+
destination is saved), the destination warehouse didn't answer that schema check in
|
|
564
|
+
time (`destination_schema_check_timeout` — the stored sync is unchanged; retry), the
|
|
565
|
+
destination duplicates another sync
|
|
511
566
|
(`duplicate_destination_host`), the destination connector rejected the
|
|
512
567
|
sync configuration (`invalid_destination_sync_config`), two enabled
|
|
513
568
|
datasets resolve to the same destination table
|
|
514
569
|
(`conflicting_table_name`), a field exceeds its size limit
|
|
515
570
|
(`size_limit_exceeded`), the drift policy is inconsistent
|
|
516
|
-
(`drift_policy_invalid_setup`),
|
|
517
|
-
the integration's other syncs
|
|
571
|
+
(`drift_policy_invalid_setup`), the destination's application differs from
|
|
572
|
+
the integration's other syncs, or a run-next id the save adds was refused: not a
|
|
573
|
+
flow or sync in the account, this sync, or a loop back to this sync (`invalid_ref`),
|
|
574
|
+
an abstract flow (`abstract_run_next_flow_not_allowed`), or a flow with no batch
|
|
575
|
+
export (`invalid_flow`).
|
|
518
576
|
content:
|
|
519
577
|
application/json:
|
|
520
578
|
schema:
|
|
521
579
|
$ref: '#/components/schemas/Error'
|
|
522
580
|
examples:
|
|
581
|
+
run_next_abstract_flow:
|
|
582
|
+
summary: An abstract flow added to _runNextFlowIds
|
|
583
|
+
value:
|
|
584
|
+
errors:
|
|
585
|
+
- field: _runNextFlowIds[0]
|
|
586
|
+
code: abstract_run_next_flow_not_allowed
|
|
587
|
+
message: Specifying an abstract flow as a run next flow is not allowed.
|
|
588
|
+
destination_schema_check_timeout:
|
|
589
|
+
summary: The warehouse didn't answer in time
|
|
590
|
+
value:
|
|
591
|
+
errors:
|
|
592
|
+
- source: DI-MANAGEMENT-SERVICE
|
|
593
|
+
code: destination_schema_check_timeout
|
|
594
|
+
message: Destination warehouse did not respond in time; the save was not applied, please retry
|
|
595
|
+
resolved: false
|
|
523
596
|
mixed_destination_types:
|
|
524
597
|
summary: Another destination application in the same integration
|
|
525
598
|
value:
|
|
@@ -579,6 +652,22 @@ paths:
|
|
|
579
652
|
$ref: '#/components/responses/403-one-time-token'
|
|
580
653
|
'404':
|
|
581
654
|
$ref: '#/components/responses/404-not-found'
|
|
655
|
+
'422':
|
|
656
|
+
description: |-
|
|
657
|
+
Another sync lists this sync in its `_runNextSyncIds`
|
|
658
|
+
(`dependencies_not_deleted`). Take this sync off that list, or delete that sync,
|
|
659
|
+
first.
|
|
660
|
+
content:
|
|
661
|
+
application/json:
|
|
662
|
+
schema:
|
|
663
|
+
$ref: '#/components/schemas/Error'
|
|
664
|
+
examples:
|
|
665
|
+
listed_by_another_sync:
|
|
666
|
+
summary: Another sync runs this sync next
|
|
667
|
+
value:
|
|
668
|
+
errors:
|
|
669
|
+
- code: dependencies_not_deleted
|
|
670
|
+
message: sync 6a4b8bfb731a7a5cae9bd364 must be deleted before you can delete sync 6a559b5185efa7502eefd439
|
|
582
671
|
/v1/integrations/{_integrationId}/syncs:
|
|
583
672
|
get:
|
|
584
673
|
x-internal: false
|
|
@@ -935,7 +1024,8 @@ paths:
|
|
|
935
1024
|
primary key, a `tableName` is already taken (or, for an enabled dataset, matches
|
|
936
1025
|
another dataset's table name in another letter case), two source columns sanitize to
|
|
937
1026
|
the same destination column name (`duplicate_sanitized_column_names` — rename
|
|
938
|
-
or disable the conflicting source columns),
|
|
1027
|
+
or disable the conflicting source columns), an update changes a dataset's
|
|
1028
|
+
`isExport` (`is_export_update_not_allowed`), or a data-element combination is
|
|
939
1029
|
invalid (e.g. `transformMode` without children, or `isPrimaryKey` with `mask`).
|
|
940
1030
|
content:
|
|
941
1031
|
application/json:
|
|
@@ -1018,6 +1108,59 @@ paths:
|
|
|
1018
1108
|
$ref: '#/components/responses/403-one-time-token'
|
|
1019
1109
|
'404':
|
|
1020
1110
|
$ref: '#/components/responses/404-not-found'
|
|
1111
|
+
/v1/syncs/{_syncId}/descendants:
|
|
1112
|
+
get:
|
|
1113
|
+
x-internal: false
|
|
1114
|
+
summary: List a sync's run-next flows and syncs
|
|
1115
|
+
description: |-
|
|
1116
|
+
Resolves a sync's `_runNextFlowIds` and `_runNextSyncIds` to the flows and syncs they
|
|
1117
|
+
point at, with the caller's permission on each one and its current state. Rows are
|
|
1118
|
+
returned in list order. A sync with neither list set, or with both emptied, returns
|
|
1119
|
+
empty `flows` and `syncs` arrays.
|
|
1120
|
+
operationId: listSyncDescendants
|
|
1121
|
+
tags:
|
|
1122
|
+
- Syncs
|
|
1123
|
+
parameters:
|
|
1124
|
+
- name: _syncId
|
|
1125
|
+
in: path
|
|
1126
|
+
required: true
|
|
1127
|
+
description: Sync id.
|
|
1128
|
+
schema:
|
|
1129
|
+
type: string
|
|
1130
|
+
format: objectId
|
|
1131
|
+
x-celigo-refModel: syncs
|
|
1132
|
+
examples:
|
|
1133
|
+
- 6a4b8bfb731a7a5cae9bd364
|
|
1134
|
+
responses:
|
|
1135
|
+
'200':
|
|
1136
|
+
description: The flows and syncs this sync runs next.
|
|
1137
|
+
content:
|
|
1138
|
+
application/json:
|
|
1139
|
+
schema:
|
|
1140
|
+
$ref: '#/components/schemas/SyncDescendants'
|
|
1141
|
+
examples:
|
|
1142
|
+
listed:
|
|
1143
|
+
summary: One flow and one sync listed
|
|
1144
|
+
value:
|
|
1145
|
+
flows:
|
|
1146
|
+
- _id: 6a2a95909e994395f3c2a4f1
|
|
1147
|
+
name: Load orders to NetSuite
|
|
1148
|
+
permission: manage
|
|
1149
|
+
status: ok
|
|
1150
|
+
syncs:
|
|
1151
|
+
- _id: 6a559b5185efa7502eefd439
|
|
1152
|
+
name: Order Analytics
|
|
1153
|
+
permission: manage
|
|
1154
|
+
status: disabled
|
|
1155
|
+
empty:
|
|
1156
|
+
summary: Neither list set
|
|
1157
|
+
value:
|
|
1158
|
+
flows: []
|
|
1159
|
+
syncs: []
|
|
1160
|
+
'401':
|
|
1161
|
+
$ref: '#/components/responses/401-unauthorized-or-scoped-token'
|
|
1162
|
+
'404':
|
|
1163
|
+
$ref: '#/components/responses/404-not-found'
|
|
1021
1164
|
/v1/syncs/{_syncId}/run:
|
|
1022
1165
|
post:
|
|
1023
1166
|
x-internal: false
|
|
@@ -2788,8 +2931,9 @@ paths:
|
|
|
2788
2931
|
data warehouse a sync loads records into. A sync's destination application is the type of
|
|
2789
2932
|
its destination connection (`rdbms.type` for warehouse connections), which must match one
|
|
2790
2933
|
of the returned ids. Identifiers include `snowflake` (Snowflake), `nsaw` (NetSuite
|
|
2791
|
-
Analytics Warehouse), `bigquery` (Google BigQuery), `mssql` (Microsoft SQL Server),
|
|
2792
|
-
`redshift` (Amazon Redshift)
|
|
2934
|
+
Analytics Warehouse), `bigquery` (Google BigQuery), `mssql` (Microsoft SQL Server),
|
|
2935
|
+
`redshift` (Amazon Redshift), `azuresynapse` (Azure Synapse Analytics), and
|
|
2936
|
+
`microsoftfabric` (Microsoft Fabric — an `rdbms.type: fabric` connection).
|
|
2793
2937
|
tags:
|
|
2794
2938
|
- Syncs
|
|
2795
2939
|
operationId: listSyncDestinations
|
|
@@ -2814,7 +2958,9 @@ paths:
|
|
|
2814
2958
|
examples:
|
|
2815
2959
|
default:
|
|
2816
2960
|
value:
|
|
2961
|
+
- id: azuresynapse
|
|
2817
2962
|
- id: bigquery
|
|
2963
|
+
- id: microsoftfabric
|
|
2818
2964
|
- id: mssql
|
|
2819
2965
|
- id: nsaw
|
|
2820
2966
|
- id: redshift
|
|
@@ -3021,8 +3167,9 @@ paths:
|
|
|
3021
3167
|
Returns the full column/field catalog for one table/object on a connection, as read
|
|
3022
3168
|
from the source application. Use it to build the `dataElements` selection before
|
|
3023
3169
|
saving a dataset via `PUT /v1/syncs/{_syncId}/datasets` — each element's `name` here
|
|
3024
|
-
is the `name` to reference there.
|
|
3025
|
-
|
|
3170
|
+
is the `name` to reference there. An export's record structure (`isExport=true`) is
|
|
3171
|
+
read from a live preview of the export, so no draft sync is needed. Read an
|
|
3172
|
+
HTTP-connector object's columns through
|
|
3026
3173
|
`GET /v1/di/metadata/sync/{_syncId}/connections/{_connectionId}/datasets/{datasetName}/details`
|
|
3027
3174
|
once a draft sync exists.
|
|
3028
3175
|
operationId: getConnectionDatasetDetails
|
|
@@ -3319,11 +3466,6 @@ paths:
|
|
|
3319
3466
|
schema:
|
|
3320
3467
|
$ref: '#/components/schemas/Error'
|
|
3321
3468
|
examples:
|
|
3322
|
-
export_or_connector_object:
|
|
3323
|
-
summary: An export or HTTP-connector object (read it through the sync-scoped route)
|
|
3324
|
-
value:
|
|
3325
|
-
errors:
|
|
3326
|
-
- message: 'A required parameter is missing: _datasetId'
|
|
3327
3469
|
unknown_dataset:
|
|
3328
3470
|
summary: Table does not exist in the source
|
|
3329
3471
|
value:
|
|
@@ -4152,9 +4294,10 @@ components:
|
|
|
4152
4294
|
destination yet. The destination application is the connection's own type
|
|
4153
4295
|
(`rdbms.type` for warehouse connections), so `database` and `schema` are read in that
|
|
4154
4296
|
application's terms — Google BigQuery treats them as the GCP project and the dataset.
|
|
4155
|
-
A `database` and `schema` pair can back only one sync
|
|
4156
|
-
in any letter case, fails with
|
|
4157
|
-
integration must target the
|
|
4297
|
+
A `database` and `schema` pair can back only one sync on a destination connection,
|
|
4298
|
+
even across integrations — reusing one, in any letter case, fails with
|
|
4299
|
+
`422 duplicate_destination_host` — and all syncs in an integration must target the
|
|
4300
|
+
same destination application type.
|
|
4158
4301
|
properties:
|
|
4159
4302
|
_connectionId:
|
|
4160
4303
|
type: string
|
|
@@ -4162,8 +4305,9 @@ components:
|
|
|
4162
4305
|
x-celigo-refModel: connections
|
|
4163
4306
|
description: |-
|
|
4164
4307
|
Connection to the destination warehouse. Its application (`rdbms.type` such as
|
|
4165
|
-
`snowflake`, `bigquery`, `mssql` or `
|
|
4166
|
-
|
|
4308
|
+
`snowflake`, `bigquery`, `mssql`, `redshift` or `azuresynapse`, `rdbms.type: fabric`
|
|
4309
|
+
for Microsoft Fabric, or a NetSuite Analytics Warehouse JDBC connection) is one of
|
|
4310
|
+
the ids returned by `GET /v1/di/metadata/destinations`.
|
|
4167
4311
|
examples:
|
|
4168
4312
|
- 68d02dbe0839a514623c1d6d
|
|
4169
4313
|
database:
|
|
@@ -4189,6 +4333,30 @@ components:
|
|
|
4189
4333
|
- sf_
|
|
4190
4334
|
driftPolicy:
|
|
4191
4335
|
$ref: '#/components/schemas/SyncDriftPolicy'
|
|
4336
|
+
_runNextFlowIds:
|
|
4337
|
+
type: array
|
|
4338
|
+
maxItems: 100
|
|
4339
|
+
description: |-
|
|
4340
|
+
Flows to run after this sync. Absent until the list is first set; an emptied list is
|
|
4341
|
+
returned as `[]`.
|
|
4342
|
+
items:
|
|
4343
|
+
type: string
|
|
4344
|
+
format: objectId
|
|
4345
|
+
x-celigo-refModel: flows
|
|
4346
|
+
examples:
|
|
4347
|
+
- - 6a2a95909e994395f3c2a4f1
|
|
4348
|
+
_runNextSyncIds:
|
|
4349
|
+
type: array
|
|
4350
|
+
maxItems: 100
|
|
4351
|
+
description: |-
|
|
4352
|
+
Other syncs to run after this sync. Absent until the list is first set; an emptied
|
|
4353
|
+
list is returned as `[]`.
|
|
4354
|
+
items:
|
|
4355
|
+
type: string
|
|
4356
|
+
format: objectId
|
|
4357
|
+
x-celigo-refModel: syncs
|
|
4358
|
+
examples:
|
|
4359
|
+
- - 6a559b5185efa7502eefd439
|
|
4192
4360
|
items:
|
|
4193
4361
|
type: object
|
|
4194
4362
|
properties:
|
|
@@ -4266,7 +4434,8 @@ components:
|
|
|
4266
4434
|
Writable sync fields for `POST /v1/syncs` and `PUT /v1/syncs/{_id}`. Updates are full
|
|
4267
4435
|
replacements: omitted optional fields (`schedule`, `timezone`, `destination` details,
|
|
4268
4436
|
the `driftPolicy.element` settings) are cleared, not preserved, so send the complete
|
|
4269
|
-
desired configuration on every PUT.
|
|
4437
|
+
desired configuration on every PUT. `_runNextFlowIds` and `_runNextSyncIds` are the
|
|
4438
|
+
exception: a PUT that omits them keeps the stored lists. A PUT that omits `disabled` returns the sync enabled
|
|
4270
4439
|
(`disabled: false`) when its source, destination and `historicDateTime` are set.
|
|
4271
4440
|
required:
|
|
4272
4441
|
- source
|
|
@@ -4387,13 +4556,27 @@ components:
|
|
|
4387
4556
|
enabled. The destination application is the connection's own type (`rdbms.type`
|
|
4388
4557
|
for warehouse connections), so `database` and `schema` are read in that
|
|
4389
4558
|
application's terms — Google BigQuery treats them as the GCP project and the
|
|
4390
|
-
dataset. A `database` and `schema` pair, in any letter case, can back only one sync
|
|
4391
|
-
even across integrations (`422 duplicate_destination_host
|
|
4559
|
+
dataset. A `database` and `schema` pair, in any letter case, can back only one sync on
|
|
4560
|
+
a destination connection, even across integrations (`422 duplicate_destination_host`).
|
|
4561
|
+
Sending `database`, `schema` or `tablePrefix` without `_connectionId` fails with
|
|
4562
|
+
`422 missing_destination_connection`, and a `_connectionId` that is no connection in
|
|
4563
|
+
the account fails with `409 CONNECTION_NOT_FOUND`. Saving a new `database` or `schema`
|
|
4564
|
+
checks the warehouse; when the warehouse doesn't answer in time the save fails with
|
|
4565
|
+
`422 destination_schema_check_timeout`, nothing is saved, and the request can be
|
|
4566
|
+
retried. All syncs in
|
|
4392
4567
|
an integration must target the same destination application type, and a sync's
|
|
4393
4568
|
destination type can't change once saved. An Amazon Redshift destination is checked
|
|
4394
4569
|
on every save that sends `_connectionId`: a missing `database` or `schema` fails with
|
|
4395
4570
|
422 `invalid_destination_sync_config` ("Redshift database is required on sync
|
|
4396
|
-
destination" / "Redshift schema is required on sync destination").
|
|
4571
|
+
destination" / "Redshift schema is required on sync destination"). Microsoft Fabric
|
|
4572
|
+
and Azure Synapse destinations are checked on those saves too, one error per unmet
|
|
4573
|
+
rule: Fabric needs a connection with a staging location plus `database` and `schema`
|
|
4574
|
+
(422 `invalid_destination_sync_config`: "Fabric connection with a staging location is
|
|
4575
|
+
required", "Warehouse is required on sync destination", "Schema is required on sync
|
|
4576
|
+
destination"); Synapse needs a service-principal connection with ADLS Gen2 staging
|
|
4577
|
+
and a `database` equal to the connection's (422
|
|
4578
|
+
`DIMETADATA_AZURESYNAPSE_SERVICE_PRINCIPAL_REQUIRED`,
|
|
4579
|
+
`DIMETADATA_AZURESYNAPSE_STAGING_REQUIRED`, `DIMETADATA_AZURESYNAPSE_DATABASE_MISMATCH`).
|
|
4397
4580
|
x-celigo-ai-guidance:
|
|
4398
4581
|
- |-
|
|
4399
4582
|
Send the block complete or not at all. A partial block is rejected in the destination's
|
|
@@ -4410,15 +4593,6 @@ components:
|
|
|
4410
4593
|
`invalid_host` for SQL Server, `big_query_unexpected_error` for BigQuery,
|
|
4411
4594
|
`redshift_auth_fail` for Amazon Redshift — and no sync document is created or
|
|
4412
4595
|
updated; fix the connection rather than changing database or schema names.
|
|
4413
|
-
- |-
|
|
4414
|
-
A destination host that doesn't resolve can leave the save without a response for
|
|
4415
|
-
more than 30 seconds, with nothing saved (seen on SQL Server and Snowflake
|
|
4416
|
-
connections). Read the sync back before sending it again.
|
|
4417
|
-
- |-
|
|
4418
|
-
The duplicate_destination_host check compares the database and schema names
|
|
4419
|
-
without regard to case. It refused a pair already used by another sync even when
|
|
4420
|
-
the host, the destination type, the source connection and the integration all
|
|
4421
|
-
differed, so give each sync a schema of its own.
|
|
4422
4596
|
- |-
|
|
4423
4597
|
A destination whose application differs from the other syncs' in the same
|
|
4424
4598
|
integration fails with 422 "The destination type for all the syncs under an
|
|
@@ -4437,9 +4611,11 @@ components:
|
|
|
4437
4611
|
x-celigo-refModel: connections
|
|
4438
4612
|
description: |-
|
|
4439
4613
|
Connection to the destination warehouse. Its application (`rdbms.type` such as
|
|
4440
|
-
`snowflake`, `bigquery`, `mssql` or `
|
|
4441
|
-
|
|
4442
|
-
|
|
4614
|
+
`snowflake`, `bigquery`, `mssql`, `redshift` or `azuresynapse`, `rdbms.type: fabric`
|
|
4615
|
+
for Microsoft Fabric (destination id `microsoftfabric`), or a NetSuite Analytics
|
|
4616
|
+
Warehouse JDBC connection) must be one of the ids returned by
|
|
4617
|
+
`GET /v1/di/metadata/destinations`; any other connection fails with
|
|
4618
|
+
`422 invalid_destination_type`.
|
|
4443
4619
|
examples:
|
|
4444
4620
|
- 68d02dbe0839a514623c1d6d
|
|
4445
4621
|
database:
|
|
@@ -4473,6 +4649,38 @@ components:
|
|
|
4473
4649
|
- sf_
|
|
4474
4650
|
driftPolicy:
|
|
4475
4651
|
$ref: '#/components/schemas/SyncDriftPolicy'
|
|
4652
|
+
_runNextFlowIds:
|
|
4653
|
+
type: array
|
|
4654
|
+
maxItems: 100
|
|
4655
|
+
description: |-
|
|
4656
|
+
Flows to run after this sync. A PUT that omits the field keeps the stored list;
|
|
4657
|
+
send `[]` to clear it. More than 100 entries, or an entry that isn't an id, fails
|
|
4658
|
+
with 400. Only ids this save adds are checked: an id that isn't a flow in the
|
|
4659
|
+
account fails with `422 invalid_ref`; an abstract flow fails with
|
|
4660
|
+
`422 abstract_run_next_flow_not_allowed`; a flow with no batch export, a realtime
|
|
4661
|
+
flow included, fails with `422 invalid_flow`. Ids already on the list are kept even
|
|
4662
|
+
if the flow is later disabled or changed.
|
|
4663
|
+
items:
|
|
4664
|
+
type: string
|
|
4665
|
+
format: objectId
|
|
4666
|
+
x-celigo-refModel: flows
|
|
4667
|
+
examples:
|
|
4668
|
+
- - 6a2a95909e994395f3c2a4f1
|
|
4669
|
+
_runNextSyncIds:
|
|
4670
|
+
type: array
|
|
4671
|
+
maxItems: 100
|
|
4672
|
+
description: |-
|
|
4673
|
+
Other syncs to run after this sync. A PUT that omits the field keeps the stored
|
|
4674
|
+
list; send `[]` to clear it. More than 100 entries, or an entry that isn't an id,
|
|
4675
|
+
fails with 400. Only ids this save adds are checked: an id that isn't a sync in the
|
|
4676
|
+
account, is this sync, or would make the run-next chain loop back to this sync fails
|
|
4677
|
+
with `422 invalid_ref`. A sync can't be deleted while another sync lists it.
|
|
4678
|
+
items:
|
|
4679
|
+
type: string
|
|
4680
|
+
format: objectId
|
|
4681
|
+
x-celigo-refModel: syncs
|
|
4682
|
+
examples:
|
|
4683
|
+
- - 6a559b5185efa7502eefd439
|
|
4476
4684
|
DataElement:
|
|
4477
4685
|
type: object
|
|
4478
4686
|
description: |-
|
|
@@ -4824,7 +5032,10 @@ components:
|
|
|
4824
5032
|
When true, the dataset's records come from an existing export resource:
|
|
4825
5033
|
`externalId` must be the export's ID, the export must use the sync's source
|
|
4826
5034
|
connection (`400 connection_mismatch`), and the item must include `tableName`
|
|
4827
|
-
and `dataElements` but no `exportProperties`.
|
|
5035
|
+
and `dataElements` but no `exportProperties`. Fixed when the dataset is created:
|
|
5036
|
+
an update that changes it fails with `422 is_export_update_not_allowed` ("isExport
|
|
5037
|
+
field cannot be updated after dataset is created."). Omitting it on update, or
|
|
5038
|
+
sending `false` or `null` for a dataset created without it, is not a change.
|
|
4828
5039
|
examples:
|
|
4829
5040
|
- false
|
|
4830
5041
|
exportProperties:
|
|
@@ -4890,6 +5101,110 @@ components:
|
|
|
4890
5101
|
dataset's previous selection entirely.
|
|
4891
5102
|
items:
|
|
4892
5103
|
$ref: '#/components/schemas/DataElement'
|
|
5104
|
+
RunNextPermission:
|
|
5105
|
+
type: string
|
|
5106
|
+
enum:
|
|
5107
|
+
- manage
|
|
5108
|
+
- monitor
|
|
5109
|
+
- none
|
|
5110
|
+
description: The caller's access level on the integration that holds the flow or sync.
|
|
5111
|
+
x-enumDescriptions:
|
|
5112
|
+
manage: The caller can manage the integration.
|
|
5113
|
+
monitor: The caller can only monitor the integration.
|
|
5114
|
+
none: The caller has no access to the integration.
|
|
5115
|
+
examples:
|
|
5116
|
+
- manage
|
|
5117
|
+
SyncDescendants:
|
|
5118
|
+
type: object
|
|
5119
|
+
description: The flows and syncs a sync's run-next lists resolve to, in list order.
|
|
5120
|
+
required:
|
|
5121
|
+
- flows
|
|
5122
|
+
- syncs
|
|
5123
|
+
properties:
|
|
5124
|
+
flows:
|
|
5125
|
+
type: array
|
|
5126
|
+
description: One row per `_runNextFlowIds` entry.
|
|
5127
|
+
items:
|
|
5128
|
+
type: object
|
|
5129
|
+
description: A flow this sync runs next.
|
|
5130
|
+
required:
|
|
5131
|
+
- _id
|
|
5132
|
+
- name
|
|
5133
|
+
- permission
|
|
5134
|
+
- status
|
|
5135
|
+
properties:
|
|
5136
|
+
_id:
|
|
5137
|
+
type: string
|
|
5138
|
+
format: objectId
|
|
5139
|
+
x-celigo-refModel: flows
|
|
5140
|
+
description: Flow id.
|
|
5141
|
+
examples:
|
|
5142
|
+
- 6a2a95909e994395f3c2a4f1
|
|
5143
|
+
name:
|
|
5144
|
+
type: string
|
|
5145
|
+
description: Flow name.
|
|
5146
|
+
examples:
|
|
5147
|
+
- Load orders to NetSuite
|
|
5148
|
+
permission:
|
|
5149
|
+
$ref: '#/components/schemas/RunNextPermission'
|
|
5150
|
+
status:
|
|
5151
|
+
type: string
|
|
5152
|
+
enum:
|
|
5153
|
+
- ok
|
|
5154
|
+
- disabled
|
|
5155
|
+
- abstract
|
|
5156
|
+
- realtime
|
|
5157
|
+
- no_batch_export
|
|
5158
|
+
description: |-
|
|
5159
|
+
The flow's run-next readiness. The first value that applies is returned,
|
|
5160
|
+
checked in the order `disabled`, `abstract`, `realtime`, `no_batch_export`. A
|
|
5161
|
+
flow that changed state after it was listed stays on the list and reports its
|
|
5162
|
+
current state here.
|
|
5163
|
+
x-enumDescriptions:
|
|
5164
|
+
ok: None of the other states apply.
|
|
5165
|
+
disabled: The flow is disabled.
|
|
5166
|
+
abstract: The flow is an abstract flow.
|
|
5167
|
+
realtime: The flow starts from a listener (a realtime export) instead of a batch export.
|
|
5168
|
+
no_batch_export: The flow has no batch export.
|
|
5169
|
+
examples:
|
|
5170
|
+
- ok
|
|
5171
|
+
syncs:
|
|
5172
|
+
type: array
|
|
5173
|
+
description: One row per `_runNextSyncIds` entry.
|
|
5174
|
+
items:
|
|
5175
|
+
type: object
|
|
5176
|
+
description: A sync this sync runs next.
|
|
5177
|
+
required:
|
|
5178
|
+
- _id
|
|
5179
|
+
- name
|
|
5180
|
+
- permission
|
|
5181
|
+
- status
|
|
5182
|
+
properties:
|
|
5183
|
+
_id:
|
|
5184
|
+
type: string
|
|
5185
|
+
format: objectId
|
|
5186
|
+
x-celigo-refModel: syncs
|
|
5187
|
+
description: Sync id.
|
|
5188
|
+
examples:
|
|
5189
|
+
- 6a559b5185efa7502eefd439
|
|
5190
|
+
name:
|
|
5191
|
+
type: string
|
|
5192
|
+
description: Sync name.
|
|
5193
|
+
examples:
|
|
5194
|
+
- Order Analytics
|
|
5195
|
+
permission:
|
|
5196
|
+
$ref: '#/components/schemas/RunNextPermission'
|
|
5197
|
+
status:
|
|
5198
|
+
type: string
|
|
5199
|
+
enum:
|
|
5200
|
+
- ok
|
|
5201
|
+
- disabled
|
|
5202
|
+
description: The listed sync's run-next readiness.
|
|
5203
|
+
x-enumDescriptions:
|
|
5204
|
+
ok: The sync is enabled.
|
|
5205
|
+
disabled: The sync is disabled.
|
|
5206
|
+
examples:
|
|
5207
|
+
- disabled
|
|
4893
5208
|
SyncRunRequest:
|
|
4894
5209
|
type: object
|
|
4895
5210
|
description: |-
|
package/dist/tool.yml
CHANGED
|
@@ -6530,6 +6530,21 @@ components:
|
|
|
6530
6530
|
examples:
|
|
6531
6531
|
- record
|
|
6532
6532
|
- envelope
|
|
6533
|
+
rules:
|
|
6534
|
+
type: array
|
|
6535
|
+
readOnly: true
|
|
6536
|
+
description: |-
|
|
6537
|
+
The platform's copy of `expression.rules`, written beside `expression` in every response
|
|
6538
|
+
of a rule-based transform (version 1 and 2 alike) for integrations built before the
|
|
6539
|
+
`expression` block existed. A save rebuilds it from `expression.rules`, so a value sent
|
|
6540
|
+
here beside an `expression` block changes nothing: set `expression.rules`.
|
|
6541
|
+
items: {}
|
|
6542
|
+
version:
|
|
6543
|
+
type: string
|
|
6544
|
+
readOnly: true
|
|
6545
|
+
description: |-
|
|
6546
|
+
The platform's copy of `expression.version`, written beside `expression` in every response
|
|
6547
|
+
of a rule-based transform. Set `expression.version`.
|
|
6533
6548
|
script:
|
|
6534
6549
|
type: object
|
|
6535
6550
|
description: |
|
|
@@ -8073,6 +8088,15 @@ components:
|
|
|
8073
8088
|
disableNsFile:
|
|
8074
8089
|
type: boolean
|
|
8075
8090
|
description: When true, the NetSuite file worker is disabled for this connection.
|
|
8091
|
+
disableEdiServiceFlowRun:
|
|
8092
|
+
type: boolean
|
|
8093
|
+
description: When true, the EDI service worker is disabled for this connection.
|
|
8094
|
+
enableDemandConcurrency:
|
|
8095
|
+
type: boolean
|
|
8096
|
+
description: When true, demand-based concurrency scaling is on for this connection where the fleet default leaves it off.
|
|
8097
|
+
disableDemandConcurrency:
|
|
8098
|
+
type: boolean
|
|
8099
|
+
description: When true, demand-based concurrency scaling is off for this connection, whatever the fleet default.
|
|
8076
8100
|
workerGroup:
|
|
8077
8101
|
type: string
|
|
8078
8102
|
description: Name of the worker group that processes this connection's traffic.
|
|
@@ -26013,6 +26037,21 @@ components:
|
|
|
26013
26037
|
type: array
|
|
26014
26038
|
- title: 'Null'
|
|
26015
26039
|
type: 'null'
|
|
26040
|
+
rules:
|
|
26041
|
+
type: array
|
|
26042
|
+
readOnly: true
|
|
26043
|
+
description: |-
|
|
26044
|
+
The platform's copy of `expression.rules`, written beside `expression` in every response
|
|
26045
|
+
of a rule-based filter for integrations built before the `expression` block existed. A
|
|
26046
|
+
save rebuilds it from `expression.rules`, so a value sent here beside an `expression`
|
|
26047
|
+
block changes nothing: set `expression.rules`.
|
|
26048
|
+
items: {}
|
|
26049
|
+
version:
|
|
26050
|
+
type: string
|
|
26051
|
+
readOnly: true
|
|
26052
|
+
description: |-
|
|
26053
|
+
The platform's copy of `expression.version`, written beside `expression` in every response
|
|
26054
|
+
of a rule-based filter. Set `expression.version`.
|
|
26016
26055
|
script:
|
|
26017
26056
|
type: object
|
|
26018
26057
|
description: |
|
|
@@ -922,6 +922,21 @@ components:
|
|
|
922
922
|
type: array
|
|
923
923
|
- title: 'Null'
|
|
924
924
|
type: 'null'
|
|
925
|
+
rules:
|
|
926
|
+
type: array
|
|
927
|
+
readOnly: true
|
|
928
|
+
description: |-
|
|
929
|
+
The platform's copy of `expression.rules`, written beside `expression` in every response
|
|
930
|
+
of a rule-based filter for integrations built before the `expression` block existed. A
|
|
931
|
+
save rebuilds it from `expression.rules`, so a value sent here beside an `expression`
|
|
932
|
+
block changes nothing: set `expression.rules`.
|
|
933
|
+
items: {}
|
|
934
|
+
version:
|
|
935
|
+
type: string
|
|
936
|
+
readOnly: true
|
|
937
|
+
description: |-
|
|
938
|
+
The platform's copy of `expression.version`, written beside `expression` in every response
|
|
939
|
+
of a rule-based filter. Set `expression.version`.
|
|
925
940
|
script:
|
|
926
941
|
type: object
|
|
927
942
|
description: |
|