@celigo/api-specs 0.2.291 → 0.2.292
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 +39 -28
- package/dist/import.yml +6 -0
- package/dist/tool.yml +45 -28
- package/package.json +1 -1
- package/schemas.json +2 -2
package/dist/export.yml
CHANGED
|
@@ -6123,38 +6123,49 @@ components:
|
|
|
6123
6123
|
filter:
|
|
6124
6124
|
description: |-
|
|
6125
6125
|
Selects which files are processed: files matching the filter criteria are exported,
|
|
6126
|
-
and non-matching files are skipped entirely before processing begins.
|
|
6127
|
-
|
|
6128
|
-
|
|
6129
|
-
|
|
6130
|
-
(e.g. ["endswith", ["string", ["extract", "fileName"]], ".csv"]). There is no
|
|
6131
|
-
`lastmodified` key.
|
|
6126
|
+
and non-matching files are skipped entirely before processing begins. A rule reads
|
|
6127
|
+
the file's name as `filename` or its size as `filesize`, the size compared with a
|
|
6128
|
+
number-and-unit string such as `10-kb`
|
|
6129
|
+
(e.g. ["endswith", ["string", ["extract", "filename"]], ".csv"]).
|
|
6132
6130
|
allOf:
|
|
6133
6131
|
- $ref: '#/components/schemas/Filter'
|
|
6134
6132
|
x-celigo-ai-guidance:
|
|
6135
6133
|
- |-
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
|
|
6134
|
+
A file filter is checked against each file's listing entry before the file is
|
|
6135
|
+
downloaded — never against the records' `fileMeta` — and its rules read `filename`
|
|
6136
|
+
or `filesize`. `filename` takes `equals`, `notequals`, `startswith`, `notstartswith`,
|
|
6137
|
+
`endswith`, `notendswith`, `contains` and `doesnotcontain` against a non-empty string,
|
|
6138
|
+
through the `string` conversion:
|
|
6139
|
+
`["startswith", ["string", ["extract", "filename"]], "orders-"]`.
|
|
6140
|
+
- |-
|
|
6141
|
+
`filesize` takes `greaterthan`, `greaterthanequals`, `lessthan`, `lessthanequals`,
|
|
6142
|
+
`equals` and `notequals` against a string of the form `<number>-<unit>`, also through
|
|
6143
|
+
the `string` conversion: `["lessthan", ["string", ["extract", "filesize"]], "1.5-mb"]`.
|
|
6144
|
+
The number is above zero and written without a leading zero, a decimal with digits on
|
|
6145
|
+
both sides of the point (`10`, `1.5`, `0.5`); the unit is lowercase — `b`, `kb`, `mb`,
|
|
6146
|
+
`gb`, `tb`, `pb`, `eb`, `zb` or `yb`. `1000`, `1kb`, `1-KB`, `0-b`, `01-kb` and `.5-mb`
|
|
6147
|
+
are each refused.
|
|
6148
|
+
- |-
|
|
6149
|
+
A rule outside those lists fails the export's save, and its preview, with 422
|
|
6150
|
+
`file_filter_validation_error` on `file.filter.expression.rules`. A rule on
|
|
6151
|
+
`fileName`, `fileSize`, `size`, `path`, `lastModifiedTime`, `modifiedTime` or
|
|
6152
|
+
`lastmodified` answers "Validation failed: type: `<field>` is not a valid enum value
|
|
6153
|
+
for path `type`.", where `type` is the field the rule reads, not `filter.type`: the
|
|
6154
|
+
field names are lowercase and there is no modified-time field. An operator outside
|
|
6155
|
+
the field's list (`matches`, or `STARTSWITH` in capitals) answers "`<operator>` is not
|
|
6156
|
+
a valid enum value for path `filename.operator`." (`filesize.operator` on a size
|
|
6157
|
+
rule), and a `filesize` value in another form answers "Validator failed for path
|
|
6158
|
+
`filesize.value` with value `<value>`".
|
|
6159
|
+
- |-
|
|
6160
|
+
Rules combine with `and`, `or` and `not`. To read one file out of a folder, filter on
|
|
6161
|
+
its name: `equals` for a fixed name, `startswith` when the name carries a date or run
|
|
6162
|
+
suffix.
|
|
6163
|
+
- |-
|
|
6164
|
+
Live-verified 2026-11-12 with previews of a Celigo Storage folder export — every
|
|
6165
|
+
operator, unit and refusal above, the accepted rules selecting the files they
|
|
6166
|
+
describe, as `filename` and `filesize` rules also did on a Google Drive folder — and
|
|
6167
|
+
with saves of FTP and S3 exports: every operator, and the `fileName`, modified-time,
|
|
6168
|
+
`matches`, capitals and `filesize`-value refusals.
|
|
6158
6169
|
backupPath:
|
|
6159
6170
|
type: string
|
|
6160
6171
|
description: Path where backup copies of source files are stored before processing.
|
package/dist/import.yml
CHANGED
|
@@ -9381,6 +9381,12 @@ components:
|
|
|
9381
9381
|
`fileName` still writes, naming the file with a hyphenated UTC stamp and no extension
|
|
9382
9382
|
(`2026-11-07T02-26-06`), so always set one. Live-verified 2026-11-06 with flow runs on
|
|
9383
9383
|
a Celigo Storage import.
|
|
9384
|
+
- |-
|
|
9385
|
+
On Celigo Storage a file written under a name the destination folder already holds
|
|
9386
|
+
replaces that file's content in place: the folder still lists one item, with the same
|
|
9387
|
+
storage item id, the run reports no error, and the storage activity log records the
|
|
9388
|
+
upload with `overwrite: true`. Live-verified 2026-11-12 with two flow runs of one
|
|
9389
|
+
import that wrote different content under a fixed `fileName`.
|
|
9384
9390
|
examples:
|
|
9385
9391
|
- customers-{{timestamp "x"}}.json
|
|
9386
9392
|
- orders-export.csv
|
package/dist/tool.yml
CHANGED
|
@@ -21723,6 +21723,12 @@ components:
|
|
|
21723
21723
|
`fileName` still writes, naming the file with a hyphenated UTC stamp and no extension
|
|
21724
21724
|
(`2026-11-07T02-26-06`), so always set one. Live-verified 2026-11-06 with flow runs on
|
|
21725
21725
|
a Celigo Storage import.
|
|
21726
|
+
- |-
|
|
21727
|
+
On Celigo Storage a file written under a name the destination folder already holds
|
|
21728
|
+
replaces that file's content in place: the folder still lists one item, with the same
|
|
21729
|
+
storage item id, the run reports no error, and the storage activity log records the
|
|
21730
|
+
upload with `overwrite: true`. Live-verified 2026-11-12 with two flow runs of one
|
|
21731
|
+
import that wrote different content under a fixed `fileName`.
|
|
21726
21732
|
examples:
|
|
21727
21733
|
- customers-{{timestamp "x"}}.json
|
|
21728
21734
|
- orders-export.csv
|
|
@@ -32644,38 +32650,49 @@ components:
|
|
|
32644
32650
|
filter:
|
|
32645
32651
|
description: |-
|
|
32646
32652
|
Selects which files are processed: files matching the filter criteria are exported,
|
|
32647
|
-
and non-matching files are skipped entirely before processing begins.
|
|
32648
|
-
|
|
32649
|
-
|
|
32650
|
-
|
|
32651
|
-
(e.g. ["endswith", ["string", ["extract", "fileName"]], ".csv"]). There is no
|
|
32652
|
-
`lastmodified` key.
|
|
32653
|
+
and non-matching files are skipped entirely before processing begins. A rule reads
|
|
32654
|
+
the file's name as `filename` or its size as `filesize`, the size compared with a
|
|
32655
|
+
number-and-unit string such as `10-kb`
|
|
32656
|
+
(e.g. ["endswith", ["string", ["extract", "filename"]], ".csv"]).
|
|
32653
32657
|
allOf:
|
|
32654
32658
|
- $ref: '#/components/schemas/Filter'
|
|
32655
32659
|
x-celigo-ai-guidance:
|
|
32656
32660
|
- |-
|
|
32657
|
-
|
|
32658
|
-
|
|
32659
|
-
|
|
32660
|
-
|
|
32661
|
-
|
|
32662
|
-
|
|
32663
|
-
|
|
32664
|
-
|
|
32665
|
-
|
|
32666
|
-
|
|
32667
|
-
|
|
32668
|
-
|
|
32669
|
-
|
|
32670
|
-
|
|
32671
|
-
|
|
32672
|
-
|
|
32673
|
-
|
|
32674
|
-
|
|
32675
|
-
|
|
32676
|
-
|
|
32677
|
-
|
|
32678
|
-
|
|
32661
|
+
A file filter is checked against each file's listing entry before the file is
|
|
32662
|
+
downloaded — never against the records' `fileMeta` — and its rules read `filename`
|
|
32663
|
+
or `filesize`. `filename` takes `equals`, `notequals`, `startswith`, `notstartswith`,
|
|
32664
|
+
`endswith`, `notendswith`, `contains` and `doesnotcontain` against a non-empty string,
|
|
32665
|
+
through the `string` conversion:
|
|
32666
|
+
`["startswith", ["string", ["extract", "filename"]], "orders-"]`.
|
|
32667
|
+
- |-
|
|
32668
|
+
`filesize` takes `greaterthan`, `greaterthanequals`, `lessthan`, `lessthanequals`,
|
|
32669
|
+
`equals` and `notequals` against a string of the form `<number>-<unit>`, also through
|
|
32670
|
+
the `string` conversion: `["lessthan", ["string", ["extract", "filesize"]], "1.5-mb"]`.
|
|
32671
|
+
The number is above zero and written without a leading zero, a decimal with digits on
|
|
32672
|
+
both sides of the point (`10`, `1.5`, `0.5`); the unit is lowercase — `b`, `kb`, `mb`,
|
|
32673
|
+
`gb`, `tb`, `pb`, `eb`, `zb` or `yb`. `1000`, `1kb`, `1-KB`, `0-b`, `01-kb` and `.5-mb`
|
|
32674
|
+
are each refused.
|
|
32675
|
+
- |-
|
|
32676
|
+
A rule outside those lists fails the export's save, and its preview, with 422
|
|
32677
|
+
`file_filter_validation_error` on `file.filter.expression.rules`. A rule on
|
|
32678
|
+
`fileName`, `fileSize`, `size`, `path`, `lastModifiedTime`, `modifiedTime` or
|
|
32679
|
+
`lastmodified` answers "Validation failed: type: `<field>` is not a valid enum value
|
|
32680
|
+
for path `type`.", where `type` is the field the rule reads, not `filter.type`: the
|
|
32681
|
+
field names are lowercase and there is no modified-time field. An operator outside
|
|
32682
|
+
the field's list (`matches`, or `STARTSWITH` in capitals) answers "`<operator>` is not
|
|
32683
|
+
a valid enum value for path `filename.operator`." (`filesize.operator` on a size
|
|
32684
|
+
rule), and a `filesize` value in another form answers "Validator failed for path
|
|
32685
|
+
`filesize.value` with value `<value>`".
|
|
32686
|
+
- |-
|
|
32687
|
+
Rules combine with `and`, `or` and `not`. To read one file out of a folder, filter on
|
|
32688
|
+
its name: `equals` for a fixed name, `startswith` when the name carries a date or run
|
|
32689
|
+
suffix.
|
|
32690
|
+
- |-
|
|
32691
|
+
Live-verified 2026-11-12 with previews of a Celigo Storage folder export — every
|
|
32692
|
+
operator, unit and refusal above, the accepted rules selecting the files they
|
|
32693
|
+
describe, as `filename` and `filesize` rules also did on a Google Drive folder — and
|
|
32694
|
+
with saves of FTP and S3 exports: every operator, and the `fileName`, modified-time,
|
|
32695
|
+
`matches`, capitals and `filesize`-value refusals.
|
|
32679
32696
|
backupPath:
|
|
32680
32697
|
type: string
|
|
32681
32698
|
description: Path where backup copies of source files are stored before processing.
|
package/package.json
CHANGED