Skip to content

Feature/215 netsuite record based support#219

Merged
nickmazurenko merged 4 commits intodevelopfrom
feature/215-netsuite-record-based-support
Feb 16, 2026
Merged

Feature/215 netsuite record based support#219
nickmazurenko merged 4 commits intodevelopfrom
feature/215-netsuite-record-based-support

Conversation

@nickmazurenko
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings February 16, 2026 14:16
@nickmazurenko nickmazurenko linked an issue Feb 16, 2026 that may be closed by this pull request
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds record-based (table/list/search/CRUD) support for the NetSuite connector, including SuiteQL WHERE building, REST record operations, and i18n metadata for supported expressions. This also introduces a comprehensive NetSuite record-based test suite and CI env wiring for NetSuite OAuth refresh-token credentials.

Changes:

  • Add NetSuite record-based API implementation: expressions, table listing, dynamic record schema discovery, SuiteQL search iterator, and REST create/update/delete helpers.
  • Extend NetSuite i18n with expression labels/descriptions and update generated i18n types accordingly.
  • Add NetSuite record-based unit/integration tests and expose NetSuite OAuth env vars in the PR workflow.

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 15 comments.

Show a summary per file
File Description
ts/src/apps/netsuite/index.ts Wires NetSuite into TQoreRecordBasedApp (table list, expressions, schema, search, CRUD).
ts/src/apps/netsuite/helpers/record-based/apply-where-condition.ts Converts Qore WHERE trees into SuiteQL WHERE clauses.
ts/src/apps/netsuite/helpers/record-based/constants.ts Shared escaping/type inference/caching + REST request helper + ID discovery.
ts/src/apps/netsuite/helpers/record-based/search-records.ts SuiteQL-backed paginated search iterator returning column format.
ts/src/apps/netsuite/helpers/record-based/create-records.ts Sequential REST create with follow-up GET + column-format output.
ts/src/apps/netsuite/helpers/record-based/update-records.ts Finds matching IDs via SuiteQL then PATCHes each record.
ts/src/apps/netsuite/helpers/record-based/delete-records.ts Finds matching IDs via SuiteQL then DELETEs each record.
ts/src/apps/netsuite/helpers/record-based/get-table-list.ts Lists available record types as “tables” via existing allowed-values helper.
ts/src/apps/netsuite/helpers/record-based/get-record-type.ts Builds dynamic schema by inspecting a sample SuiteQL row.
ts/src/apps/netsuite/helpers/record-based/get-expressions.ts Declares supported filter operators and maps them to app i18n.
ts/src/apps/netsuite/helpers/record-based/get-search-options.ts Declares orderBy options for SuiteQL sorting.
ts/src/i18n/en/apps/NetSuite/index.ts Adds localized metadata for NetSuite record-based expressions.
ts/src/i18n/i18n-types.ts Updates generated translation types to include NetSuite expressions.
ts/src/tests/netsuite-record-based.test.ts Adds unit + integration coverage for record-based helpers (currently skipped).
.github/workflows/pull_request.yml Adds NetSuite OAuth env vars from TEST_VARIABLES secrets for CI.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nickmazurenko nickmazurenko merged commit 93dc2dc into develop Feb 16, 2026
2 checks passed
@nickmazurenko nickmazurenko deleted the feature/215-netsuite-record-based-support branch February 16, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NetSuite Record Based Support

1 participant

Comments