@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 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. Filterable
6127
- fields come from each file's listing entry: the name as `fileName`, the size as
6128
- `filesize`, and the modified time as `lastModifiedTime` on FTP, SFTP and S3 or
6129
- `modifiedTime` on cloud-storage folders (`http.type: "file"`)
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
- ## AVAILABLE FILTER FIELDS
6137
-
6138
- The fields a file filter reads are on each file's listing entry, before the file is
6139
- downloaded. They are not the records' `fileMeta`, though some names match.
6140
-
6141
- ### Common Filter Fields
6142
-
6143
- These are the most commonly available fields across most file providers:
6144
-
6145
- 1. **fileName**: The name of the file (with extension)
6146
- - Example filter: Match files with specific extensions or naming patterns
6147
- - Usage: `["endswith", ["string", ["extract", "fileName"]], ".csv"]`
6148
-
6149
- 2. **filesize**: The size of the file in bytes
6150
- - Example filter: Skip files that are too large or too small
6151
- - Usage: `["lessthan", ["number", ["extract", "filesize"]], 1000000]`
6152
-
6153
- 3. **lastModifiedTime** (FTP, SFTP, S3) or **modifiedTime** (cloud-storage folders): The
6154
- last modification timestamp of the file. There is no `lastmodified` key.
6155
- - Example filter: Process only files created/modified within a specific date range
6156
- - Usage (FTP, SFTP, S3): `["greaterthan", ["epochtime", ["extract", "lastModifiedTime"]], 1672531200000]` (2023-01-01T00:00:00Z in epoch milliseconds)
6157
- - Usage (cloud-storage folders): `["greaterthan", ["epochtime", ["extract", "modifiedTime"]], 1672531200000]`
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. Filterable
32648
- fields come from each file's listing entry: the name as `fileName`, the size as
32649
- `filesize`, and the modified time as `lastModifiedTime` on FTP, SFTP and S3 or
32650
- `modifiedTime` on cloud-storage folders (`http.type: "file"`)
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
- ## AVAILABLE FILTER FIELDS
32658
-
32659
- The fields a file filter reads are on each file's listing entry, before the file is
32660
- downloaded. They are not the records' `fileMeta`, though some names match.
32661
-
32662
- ### Common Filter Fields
32663
-
32664
- These are the most commonly available fields across most file providers:
32665
-
32666
- 1. **fileName**: The name of the file (with extension)
32667
- - Example filter: Match files with specific extensions or naming patterns
32668
- - Usage: `["endswith", ["string", ["extract", "fileName"]], ".csv"]`
32669
-
32670
- 2. **filesize**: The size of the file in bytes
32671
- - Example filter: Skip files that are too large or too small
32672
- - Usage: `["lessthan", ["number", ["extract", "filesize"]], 1000000]`
32673
-
32674
- 3. **lastModifiedTime** (FTP, SFTP, S3) or **modifiedTime** (cloud-storage folders): The
32675
- last modification timestamp of the file. There is no `lastmodified` key.
32676
- - Example filter: Process only files created/modified within a specific date range
32677
- - Usage (FTP, SFTP, S3): `["greaterthan", ["epochtime", ["extract", "lastModifiedTime"]], 1672531200000]` (2023-01-01T00:00:00Z in epoch milliseconds)
32678
- - Usage (cloud-storage folders): `["greaterthan", ["epochtime", ["extract", "modifiedTime"]], 1672531200000]`
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.291",
3
+ "version": "0.2.292",
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,8 +1,8 @@
1
1
  {
2
2
  "provenance": {
3
3
  "repo": "celigo/integrator-api-specs",
4
- "iasCommit": "167b4cfb",
5
- "generatedAt": "2026-11-12"
4
+ "iasCommit": "27dca78b",
5
+ "generatedAt": "2026-11-13"
6
6
  },
7
7
  "roots": {
8
8
  "aiagent": 128,