@celigo/api-specs 0.2.353 → 0.2.354

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
@@ -10586,7 +10586,8 @@ components:
10586
10586
 
10587
10587
  **Delta exports (type: "delta")**
10588
10588
  For delta/incremental exports, do NOT populate a `delta` object inside `jdbc`.
10589
- Instead, use `{{lastExportDateTime}}` or `{{currentExportDateTime}}` directly in the query:
10589
+ Instead, reference `{{lastExportDateTime}}` or `{{currentExportDateTime}}` in the query's
10590
+ WHERE clause, written as a comparison the database accepts for a date column (see `query`):
10590
10591
  ```json
10591
10592
  {
10592
10593
  "type": "delta",
@@ -10648,6 +10649,12 @@ components:
10648
10649
  SQL SELECT statement executed to retrieve data, from simple table selections to joins and
10649
10650
  aggregations. For delta exports, include {{lastExportDateTime}}/{{currentExportDateTime}}
10650
10651
  in the WHERE clause rather than configuring a separate delta object.
10652
+
10653
+ Double braces render each delta variable as a single-quoted string, so add no quotes of
10654
+ your own; a database that converts that string to a date itself takes the bare comparison
10655
+ (`updatedAt > {{lastExportDateTime}}`). NetSuite JDBC does not, so on a `netsuitejdbc`
10656
+ connection format the variable with `dateFormat` and convert the result in the query:
10657
+ `lastmodifieddate > TO_TIMESTAMP({{dateFormat "YYYY-MM-DD HH:mm:ss" lastExportDateTime}}, 'YYYY-MM-DD HH24:MI:SS')`.
10651
10658
  x-celigo-ai-guidance:
10652
10659
  - |-
10653
10660
  This field contains the SQL SELECT statement that will be executed to fetch data
@@ -10661,15 +10668,22 @@ components:
10661
10668
  - Parameterized: `SELECT * FROM orders WHERE customer_id = {{record.customer_id}}`
10662
10669
  - |-
10663
10670
  ## FOR DELTA EXPORTS (when top-level type is "delta")
10664
- Include `{{lastExportDateTime}}` or `{{currentExportDateTime}}` in the WHERE clause:
10671
+ Include `{{lastExportDateTime}}` or `{{currentExportDateTime}}` in the WHERE clause. On a
10672
+ database that converts the quoted string to a date itself:
10665
10673
  - `SELECT * FROM customers WHERE updatedAt > {{lastExportDateTime}}`
10666
10674
  - `SELECT * FROM orders WHERE modified_date >= {{lastExportDateTime}}`
10675
+ - |-
10676
+ On a NetSuite JDBC connection (`jdbc.type` is `netsuitejdbc`) never compare a date column
10677
+ to the bare variable: the driver fails the query with
10678
+ "Error getting the literal value of right operand" (10169). Convert it, formatted first:
10679
+ `SELECT id, tranid, lastmodifieddate FROM transaction WHERE lastmodifieddate > TO_TIMESTAMP({{dateFormat "YYYY-MM-DD HH:mm:ss" lastExportDateTime}}, 'YYYY-MM-DD HH24:MI:SS')`.
10667
10680
  - |-
10668
10681
  This field contains the SQL SELECT statement that will be executed to fetch data
10669
10682
  from the database.
10670
10683
  The query can range from simple table selections to complex joins and aggregations.
10671
10684
  examples:
10672
10685
  - SELECT * FROM customers WHERE updatedAt > {{lastExportDateTime}}
10686
+ - SELECT id, tranid, lastmodifieddate FROM transaction WHERE lastmodifieddate > TO_TIMESTAMP({{dateFormat "YYYY-MM-DD HH:mm:ss" lastExportDateTime}}, 'YYYY-MM-DD HH24:MI:SS')
10673
10687
  - SELECT * FROM orders WHERE exported = false
10674
10688
  - SELECT * FROM customers WHERE region = 'Northeast'
10675
10689
  - SELECT o.id, c.name, o.total FROM orders o JOIN customers c ON o.customer_id = c.id WHERE o.status = 'SHIPPED'
@@ -17600,11 +17614,18 @@ components:
17600
17614
  `totalResults`. SuiteQL column names are the Records Catalog names (lowercase, e.g.
17601
17615
  `entityid`, `lastmodifieddate`), not the REST record field names.
17602
17616
  - |-
17603
- For incremental runs set `type: delta`, embed `{{lastExportDateTime}}` in the SuiteQL
17604
- `WHERE` clause (or the record endpoint's `q` parameter) and set `delta.dateFormat` to the
17605
- format the query compares against, e.g. `to_char(lastmodifieddate,'YYYY-MM-DD HH24:MI:SS') >= '{{lastExportDateTime}}'`
17606
- with `delta.dateFormat: "YYYY-MM-DD HH:mm:ss"`. In a preview the placeholder renders
17607
- empty, so preview results do not reflect the delta window.
17617
+ For incremental runs set `type: delta` and embed `{{lastExportDateTime}}` in the SuiteQL
17618
+ `WHERE` clause (or the record endpoint's `q` parameter). SuiteQL returns and compares
17619
+ `lastmodifieddate` as wall-clock time in the session's time zone (`SELECT SESSIONTIMEZONE
17620
+ FROM dual` names it), so give the bound its own UTC offset, the helper's arguments
17621
+ single-quoted because the query sits inside the JSON body:
17622
+ `lastmodifieddate >= TO_TIMESTAMP_TZ('{{dateFormat 'YYYY-MM-DD HH:mm:ss Z' lastExportDateTime}}', 'YYYY-MM-DD HH24:MI:SS TZH:TZM')`.
17623
+ A UTC text compared as it stands — `to_char(lastmodifieddate,'YYYY-MM-DD HH24:MI:SS') >= '{{lastExportDateTime}}'`
17624
+ with `delta.dateFormat: "YYYY-MM-DD HH:mm:ss"` — leaves out a record changed after the
17625
+ bound when the session's zone is behind UTC.
17626
+ - |-
17627
+ A preview renders `{{lastExportDateTime}}` only from the request's `postData`; without it
17628
+ the placeholder is empty, so the preview does not reflect the delta window.
17608
17629
  - |-
17609
17630
  NetSuite must have the REST Web Services feature enabled (Setup > Company > Enable
17610
17631
  Features > SuiteCloud); otherwise every SuiteTalk call fails with NetSuite 403
package/dist/tool.yml CHANGED
@@ -37714,7 +37714,8 @@ components:
37714
37714
 
37715
37715
  **Delta exports (type: "delta")**
37716
37716
  For delta/incremental exports, do NOT populate a `delta` object inside `jdbc`.
37717
- Instead, use `{{lastExportDateTime}}` or `{{currentExportDateTime}}` directly in the query:
37717
+ Instead, reference `{{lastExportDateTime}}` or `{{currentExportDateTime}}` in the query's
37718
+ WHERE clause, written as a comparison the database accepts for a date column (see `query`):
37718
37719
  ```json
37719
37720
  {
37720
37721
  "type": "delta",
@@ -37776,6 +37777,12 @@ components:
37776
37777
  SQL SELECT statement executed to retrieve data, from simple table selections to joins and
37777
37778
  aggregations. For delta exports, include {{lastExportDateTime}}/{{currentExportDateTime}}
37778
37779
  in the WHERE clause rather than configuring a separate delta object.
37780
+
37781
+ Double braces render each delta variable as a single-quoted string, so add no quotes of
37782
+ your own; a database that converts that string to a date itself takes the bare comparison
37783
+ (`updatedAt > {{lastExportDateTime}}`). NetSuite JDBC does not, so on a `netsuitejdbc`
37784
+ connection format the variable with `dateFormat` and convert the result in the query:
37785
+ `lastmodifieddate > TO_TIMESTAMP({{dateFormat "YYYY-MM-DD HH:mm:ss" lastExportDateTime}}, 'YYYY-MM-DD HH24:MI:SS')`.
37779
37786
  x-celigo-ai-guidance:
37780
37787
  - |-
37781
37788
  This field contains the SQL SELECT statement that will be executed to fetch data
@@ -37789,15 +37796,22 @@ components:
37789
37796
  - Parameterized: `SELECT * FROM orders WHERE customer_id = {{record.customer_id}}`
37790
37797
  - |-
37791
37798
  ## FOR DELTA EXPORTS (when top-level type is "delta")
37792
- Include `{{lastExportDateTime}}` or `{{currentExportDateTime}}` in the WHERE clause:
37799
+ Include `{{lastExportDateTime}}` or `{{currentExportDateTime}}` in the WHERE clause. On a
37800
+ database that converts the quoted string to a date itself:
37793
37801
  - `SELECT * FROM customers WHERE updatedAt > {{lastExportDateTime}}`
37794
37802
  - `SELECT * FROM orders WHERE modified_date >= {{lastExportDateTime}}`
37803
+ - |-
37804
+ On a NetSuite JDBC connection (`jdbc.type` is `netsuitejdbc`) never compare a date column
37805
+ to the bare variable: the driver fails the query with
37806
+ "Error getting the literal value of right operand" (10169). Convert it, formatted first:
37807
+ `SELECT id, tranid, lastmodifieddate FROM transaction WHERE lastmodifieddate > TO_TIMESTAMP({{dateFormat "YYYY-MM-DD HH:mm:ss" lastExportDateTime}}, 'YYYY-MM-DD HH24:MI:SS')`.
37795
37808
  - |-
37796
37809
  This field contains the SQL SELECT statement that will be executed to fetch data
37797
37810
  from the database.
37798
37811
  The query can range from simple table selections to complex joins and aggregations.
37799
37812
  examples:
37800
37813
  - SELECT * FROM customers WHERE updatedAt > {{lastExportDateTime}}
37814
+ - SELECT id, tranid, lastmodifieddate FROM transaction WHERE lastmodifieddate > TO_TIMESTAMP({{dateFormat "YYYY-MM-DD HH:mm:ss" lastExportDateTime}}, 'YYYY-MM-DD HH24:MI:SS')
37801
37815
  - SELECT * FROM orders WHERE exported = false
37802
37816
  - SELECT * FROM customers WHERE region = 'Northeast'
37803
37817
  - SELECT o.id, c.name, o.total FROM orders o JOIN customers c ON o.customer_id = c.id WHERE o.status = 'SHIPPED'
@@ -40877,11 +40891,18 @@ components:
40877
40891
  `totalResults`. SuiteQL column names are the Records Catalog names (lowercase, e.g.
40878
40892
  `entityid`, `lastmodifieddate`), not the REST record field names.
40879
40893
  - |-
40880
- For incremental runs set `type: delta`, embed `{{lastExportDateTime}}` in the SuiteQL
40881
- `WHERE` clause (or the record endpoint's `q` parameter) and set `delta.dateFormat` to the
40882
- format the query compares against, e.g. `to_char(lastmodifieddate,'YYYY-MM-DD HH24:MI:SS') >= '{{lastExportDateTime}}'`
40883
- with `delta.dateFormat: "YYYY-MM-DD HH:mm:ss"`. In a preview the placeholder renders
40884
- empty, so preview results do not reflect the delta window.
40894
+ For incremental runs set `type: delta` and embed `{{lastExportDateTime}}` in the SuiteQL
40895
+ `WHERE` clause (or the record endpoint's `q` parameter). SuiteQL returns and compares
40896
+ `lastmodifieddate` as wall-clock time in the session's time zone (`SELECT SESSIONTIMEZONE
40897
+ FROM dual` names it), so give the bound its own UTC offset, the helper's arguments
40898
+ single-quoted because the query sits inside the JSON body:
40899
+ `lastmodifieddate >= TO_TIMESTAMP_TZ('{{dateFormat 'YYYY-MM-DD HH:mm:ss Z' lastExportDateTime}}', 'YYYY-MM-DD HH24:MI:SS TZH:TZM')`.
40900
+ A UTC text compared as it stands — `to_char(lastmodifieddate,'YYYY-MM-DD HH24:MI:SS') >= '{{lastExportDateTime}}'`
40901
+ with `delta.dateFormat: "YYYY-MM-DD HH:mm:ss"` — leaves out a record changed after the
40902
+ bound when the session's zone is behind UTC.
40903
+ - |-
40904
+ A preview renders `{{lastExportDateTime}}` only from the request's `postData`; without it
40905
+ the placeholder is empty, so the preview does not reflect the delta window.
40885
40906
  - |-
40886
40907
  NetSuite must have the REST Web Services feature enabled (Setup > Company > Enable
40887
40908
  Features > SuiteCloud); otherwise every SuiteTalk call fails with NetSuite 403
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.353",
3
+ "version": "0.2.354",
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,7 +1,7 @@
1
1
  {
2
2
  "provenance": {
3
3
  "repo": "celigo/integrator-api-specs",
4
- "iasCommit": "de8d12aa",
4
+ "iasCommit": "afa7bed9",
5
5
  "generatedAt": "2026-11-27"
6
6
  },
7
7
  "roots": {