@celigo/api-specs 0.2.340 → 0.2.342
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/import.yml +35 -8
- package/dist/sync.yml +43 -7
- package/dist/tool.yml +35 -8
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/import.yml
CHANGED
|
@@ -1222,9 +1222,18 @@ components:
|
|
|
1222
1222
|
- handlebars
|
|
1223
1223
|
x-celigo-ui-override: 'Required by the AS2 import form (fieldDefinitions/resources/imports/as2.js: as2.fileNameTemplate is required:true, default ''file-{{timestamp}}''). Encoded to mirror the form so builders produce connectable configurations.'
|
|
1224
1224
|
description: |-
|
|
1225
|
-
Handlebars template that names the file carrying each AS2 message payload.
|
|
1226
|
-
|
|
1227
|
-
|
|
1225
|
+
Handlebars template that names the file carrying each AS2 message payload. The rendered
|
|
1226
|
+
name travels in the message's `Subject` header, as `File <name> sent from <as2Id> to
|
|
1227
|
+
<partnerId>`, and is not written on the payload's MIME part. Include a uniqueness token
|
|
1228
|
+
such as {{timestamp}} so concurrent or repeated sends do not collide; defaults to
|
|
1229
|
+
file-{{timestamp}} in the form.
|
|
1230
|
+
x-celigo-ai-guidance:
|
|
1231
|
+
- |-
|
|
1232
|
+
When a trading partner reports that the received document has no file name: this
|
|
1233
|
+
field's name is never written on the payload's MIME part, which is where a receiving
|
|
1234
|
+
server that takes the name from the payload's `Content-Disposition` header looks.
|
|
1235
|
+
Keep this field and, on an import that does not compress its files, add a
|
|
1236
|
+
`Content-Disposition` entry to `headers` that repeats its expression.
|
|
1228
1237
|
examples:
|
|
1229
1238
|
- file-{{timestamp}}
|
|
1230
1239
|
- orders-{{timestamp}}.edi
|
|
@@ -1258,18 +1267,36 @@ components:
|
|
|
1258
1267
|
properties:
|
|
1259
1268
|
name:
|
|
1260
1269
|
type: string
|
|
1261
|
-
description:
|
|
1270
|
+
description: |-
|
|
1271
|
+
Name of the HTTP header, for example `Content-Disposition`. An entry named like a
|
|
1272
|
+
header integrator.io sets itself, such as `Subject`, replaces that header.
|
|
1273
|
+
x-celigo-ai-guidance:
|
|
1274
|
+
- |-
|
|
1275
|
+
Write `Content-Type`, `Content-Transfer-Encoding` and `Content-Disposition` in
|
|
1276
|
+
exactly this capitalization, whatever spelling the request uses.
|
|
1262
1277
|
value:
|
|
1263
1278
|
type: string
|
|
1264
1279
|
description: Value sent for the header. Supports handlebars expressions rendered against the record.
|
|
1265
1280
|
x-celigo-agent:
|
|
1266
1281
|
- handlebars
|
|
1267
1282
|
description: |-
|
|
1268
|
-
HTTP headers
|
|
1269
|
-
|
|
1283
|
+
HTTP headers added to the request that carries the AS2 message: standard AS2 headers, or
|
|
1284
|
+
custom ones a trading partner agreement requires. `Content-Type`,
|
|
1285
|
+
`Content-Transfer-Encoding` and `Content-Disposition`, in exactly that capitalization, are
|
|
1286
|
+
written on the payload's MIME part before the message is signed and encrypted, unless the
|
|
1287
|
+
import compresses its files (`file.compressionFormat`): that part is then the compression
|
|
1288
|
+
wrapper, which carries `Content-Type: application/pkcs7-mime; smime-type=compressed-data;
|
|
1289
|
+
name="smime.p7z"`, `Content-Transfer-Encoding: base64` and `Content-Disposition:
|
|
1290
|
+
attachment; filename="smime.p7z"` whatever these entries say.
|
|
1291
|
+
x-celigo-ai-guidance:
|
|
1292
|
+
- |-
|
|
1293
|
+
To send the document's file name inside the signed and encrypted payload of an import
|
|
1294
|
+
that does not compress its files, add a `Content-Disposition` entry whose value is
|
|
1295
|
+
`attachment; filename="<the fileNameTemplate expression>"`. Without this entry the
|
|
1296
|
+
name is in the `Subject` header only.
|
|
1270
1297
|
examples:
|
|
1271
|
-
- - name:
|
|
1272
|
-
value: attachment; filename=order-{{record.id}}.edi
|
|
1298
|
+
- - name: Content-Disposition
|
|
1299
|
+
value: attachment; filename="order-{{record.id}}.edi"
|
|
1273
1300
|
Dynamodb:
|
|
1274
1301
|
type: object
|
|
1275
1302
|
description: |-
|
package/dist/sync.yml
CHANGED
|
@@ -2398,9 +2398,10 @@ paths:
|
|
|
2398
2398
|
summary: List events for a sync
|
|
2399
2399
|
description: |-
|
|
2400
2400
|
Returns the events recorded for a sync across all of its runs — schema drift the
|
|
2401
|
-
platform detected or applied, and data-catalog activity
|
|
2402
|
-
|
|
2403
|
-
retention
|
|
2401
|
+
platform detected or applied, and data-catalog activity, which includes each
|
|
2402
|
+
destination table a run created — newest first. Events are retained per the
|
|
2403
|
+
account's data retention period; a `time_lte` older than the retention window
|
|
2404
|
+
returns an empty list.
|
|
2404
2405
|
operationId: listSyncEvents
|
|
2405
2406
|
tags:
|
|
2406
2407
|
- Syncs
|
|
@@ -2469,15 +2470,20 @@ paths:
|
|
|
2469
2470
|
- Schema Drift
|
|
2470
2471
|
x-enumDescriptions:
|
|
2471
2472
|
Schema Drift: Changes to the source schema that were detected or applied.
|
|
2472
|
-
Data Catalog: Dataset metadata activity recorded while cataloging the source.
|
|
2473
|
+
Data Catalog: Dataset metadata activity recorded while cataloging the source, or while recording a destination table the sync created during load.
|
|
2473
2474
|
- name: resourceName
|
|
2474
2475
|
in: query
|
|
2475
2476
|
required: false
|
|
2476
|
-
description:
|
|
2477
|
+
description: |-
|
|
2478
|
+
Only return events about one resource. Pass the name whole, as the events
|
|
2479
|
+
carry it in `resourceName`: a source table or object for its `Extract`-stage
|
|
2480
|
+
events, a destination table's fully qualified name for the `Load`-stage
|
|
2481
|
+
`Table added` event that records its creation.
|
|
2477
2482
|
schema:
|
|
2478
2483
|
type: string
|
|
2479
2484
|
examples:
|
|
2480
2485
|
- Account
|
|
2486
|
+
- acme-analytics.netsuite_raw.item_master
|
|
2481
2487
|
- name: flowExecutionGroupId
|
|
2482
2488
|
in: query
|
|
2483
2489
|
required: false
|
|
@@ -2532,6 +2538,24 @@ paths:
|
|
|
2532
2538
|
metadata:
|
|
2533
2539
|
action: Table removed
|
|
2534
2540
|
resourceType: Table
|
|
2541
|
+
table_created:
|
|
2542
|
+
summary: Destination table created during a load
|
|
2543
|
+
value:
|
|
2544
|
+
events:
|
|
2545
|
+
- id: 5d2f7c1e-9a44-4c0b-8f6e-2b7a1d3c9e10
|
|
2546
|
+
_syncId: 6a4b8bfb731a7a5cae9bd364
|
|
2547
|
+
_userId: 68c821306f5d848c881da205
|
|
2548
|
+
flowExecutionGroupId: d0f875a575bd4b8c944533da773f350a
|
|
2549
|
+
resourceName: acme-analytics.netsuite_raw.item_master
|
|
2550
|
+
severity: INFO
|
|
2551
|
+
eventTime: '2026-07-13T12:41:52.118Z'
|
|
2552
|
+
type: Data Catalog
|
|
2553
|
+
stage: Load
|
|
2554
|
+
metadata:
|
|
2555
|
+
action: Table added
|
|
2556
|
+
resourceType: Table
|
|
2557
|
+
query:
|
|
2558
|
+
- CREATE TABLE IF NOT EXISTS `acme-analytics`.`netsuite_raw`.`item_master` (`Name` STRING,`id` INT64 NOT NULL,`recordType` STRING,`_celigo_deleted` BOOL,`_celigo_extracted_at` TIMESTAMP,`_celigo_loaded_at` TIMESTAMP,`_celigo_job_id` STRING,PRIMARY KEY (`id`) NOT ENFORCED)
|
|
2535
2559
|
'401':
|
|
2536
2560
|
$ref: '#/components/responses/401-unauthorized'
|
|
2537
2561
|
'403':
|
|
@@ -5945,9 +5969,13 @@ components:
|
|
|
5945
5969
|
- d0f875a575bd4b8c944533da773f350a
|
|
5946
5970
|
resourceName:
|
|
5947
5971
|
type: string
|
|
5948
|
-
description:
|
|
5972
|
+
description: |-
|
|
5973
|
+
What the event is about. On an `Extract`-stage event it is the source table
|
|
5974
|
+
or object; on a `Load`-stage `Table added` event it is the destination
|
|
5975
|
+
table's fully qualified name.
|
|
5949
5976
|
examples:
|
|
5950
5977
|
- Account
|
|
5978
|
+
- acme-analytics.netsuite_raw.item_master
|
|
5951
5979
|
severity:
|
|
5952
5980
|
type: string
|
|
5953
5981
|
enum:
|
|
@@ -5980,7 +6008,7 @@ components:
|
|
|
5980
6008
|
parameter.
|
|
5981
6009
|
x-enumDescriptions:
|
|
5982
6010
|
Schema Drift: A change to the source schema was detected or applied (e.g. table added, column removed).
|
|
5983
|
-
Data Catalog: Dataset metadata activity recorded while cataloging the source.
|
|
6011
|
+
Data Catalog: Dataset metadata activity recorded while cataloging the source, or while recording a destination table the sync created during load.
|
|
5984
6012
|
examples:
|
|
5985
6013
|
- Schema Drift
|
|
5986
6014
|
stage:
|
|
@@ -6007,6 +6035,10 @@ components:
|
|
|
6007
6035
|
`Column expanded`, `Column reduced`, `Column constraint updated`), the
|
|
6008
6036
|
`resourceType` affected, and — for column-level drift — fields like `fieldName`,
|
|
6009
6037
|
`oldValue`, `newValue`, or the applied DDL under `query`.
|
|
6038
|
+
|
|
6039
|
+
A `Load`-stage `Table added` event records a destination table the sync
|
|
6040
|
+
created: its `type` is `Data Catalog`, its `resourceName` is the table, and
|
|
6041
|
+
`query` is an array holding the `CREATE TABLE` statement the sync ran.
|
|
6010
6042
|
oneOf:
|
|
6011
6043
|
- title: object
|
|
6012
6044
|
type: object
|
|
@@ -6016,6 +6048,10 @@ components:
|
|
|
6016
6048
|
examples:
|
|
6017
6049
|
- action: Table removed
|
|
6018
6050
|
resourceType: Table
|
|
6051
|
+
- action: Table added
|
|
6052
|
+
resourceType: Table
|
|
6053
|
+
query:
|
|
6054
|
+
- CREATE TABLE IF NOT EXISTS `acme-analytics`.`netsuite_raw`.`item_master` (`Name` STRING,`id` INT64 NOT NULL,`recordType` STRING,`_celigo_deleted` BOOL,`_celigo_extracted_at` TIMESTAMP,`_celigo_loaded_at` TIMESTAMP,`_celigo_job_id` STRING,PRIMARY KEY (`id`) NOT ENFORCED)
|
|
6019
6055
|
responses:
|
|
6020
6056
|
401-unauthorized-or-scoped-token:
|
|
6021
6057
|
description: |-
|
package/dist/tool.yml
CHANGED
|
@@ -13988,9 +13988,18 @@ components:
|
|
|
13988
13988
|
- handlebars
|
|
13989
13989
|
x-celigo-ui-override: 'Required by the AS2 import form (fieldDefinitions/resources/imports/as2.js: as2.fileNameTemplate is required:true, default ''file-{{timestamp}}''). Encoded to mirror the form so builders produce connectable configurations.'
|
|
13990
13990
|
description: |-
|
|
13991
|
-
Handlebars template that names the file carrying each AS2 message payload.
|
|
13992
|
-
|
|
13993
|
-
|
|
13991
|
+
Handlebars template that names the file carrying each AS2 message payload. The rendered
|
|
13992
|
+
name travels in the message's `Subject` header, as `File <name> sent from <as2Id> to
|
|
13993
|
+
<partnerId>`, and is not written on the payload's MIME part. Include a uniqueness token
|
|
13994
|
+
such as {{timestamp}} so concurrent or repeated sends do not collide; defaults to
|
|
13995
|
+
file-{{timestamp}} in the form.
|
|
13996
|
+
x-celigo-ai-guidance:
|
|
13997
|
+
- |-
|
|
13998
|
+
When a trading partner reports that the received document has no file name: this
|
|
13999
|
+
field's name is never written on the payload's MIME part, which is where a receiving
|
|
14000
|
+
server that takes the name from the payload's `Content-Disposition` header looks.
|
|
14001
|
+
Keep this field and, on an import that does not compress its files, add a
|
|
14002
|
+
`Content-Disposition` entry to `headers` that repeats its expression.
|
|
13994
14003
|
examples:
|
|
13995
14004
|
- file-{{timestamp}}
|
|
13996
14005
|
- orders-{{timestamp}}.edi
|
|
@@ -14024,18 +14033,36 @@ components:
|
|
|
14024
14033
|
properties:
|
|
14025
14034
|
name:
|
|
14026
14035
|
type: string
|
|
14027
|
-
description:
|
|
14036
|
+
description: |-
|
|
14037
|
+
Name of the HTTP header, for example `Content-Disposition`. An entry named like a
|
|
14038
|
+
header integrator.io sets itself, such as `Subject`, replaces that header.
|
|
14039
|
+
x-celigo-ai-guidance:
|
|
14040
|
+
- |-
|
|
14041
|
+
Write `Content-Type`, `Content-Transfer-Encoding` and `Content-Disposition` in
|
|
14042
|
+
exactly this capitalization, whatever spelling the request uses.
|
|
14028
14043
|
value:
|
|
14029
14044
|
type: string
|
|
14030
14045
|
description: Value sent for the header. Supports handlebars expressions rendered against the record.
|
|
14031
14046
|
x-celigo-agent:
|
|
14032
14047
|
- handlebars
|
|
14033
14048
|
description: |-
|
|
14034
|
-
HTTP headers
|
|
14035
|
-
|
|
14049
|
+
HTTP headers added to the request that carries the AS2 message: standard AS2 headers, or
|
|
14050
|
+
custom ones a trading partner agreement requires. `Content-Type`,
|
|
14051
|
+
`Content-Transfer-Encoding` and `Content-Disposition`, in exactly that capitalization, are
|
|
14052
|
+
written on the payload's MIME part before the message is signed and encrypted, unless the
|
|
14053
|
+
import compresses its files (`file.compressionFormat`): that part is then the compression
|
|
14054
|
+
wrapper, which carries `Content-Type: application/pkcs7-mime; smime-type=compressed-data;
|
|
14055
|
+
name="smime.p7z"`, `Content-Transfer-Encoding: base64` and `Content-Disposition:
|
|
14056
|
+
attachment; filename="smime.p7z"` whatever these entries say.
|
|
14057
|
+
x-celigo-ai-guidance:
|
|
14058
|
+
- |-
|
|
14059
|
+
To send the document's file name inside the signed and encrypted payload of an import
|
|
14060
|
+
that does not compress its files, add a `Content-Disposition` entry whose value is
|
|
14061
|
+
`attachment; filename="<the fileNameTemplate expression>"`. Without this entry the
|
|
14062
|
+
name is in the `Subject` header only.
|
|
14036
14063
|
examples:
|
|
14037
|
-
- - name:
|
|
14038
|
-
value: attachment; filename=order-{{record.id}}.edi
|
|
14064
|
+
- - name: Content-Disposition
|
|
14065
|
+
value: attachment; filename="order-{{record.id}}.edi"
|
|
14039
14066
|
Dynamodb:
|
|
14040
14067
|
type: object
|
|
14041
14068
|
description: |-
|
package/package.json
CHANGED