Skip to content

Comments

add active campaign record based support#212

Merged
nickmazurenko merged 3 commits intodevelopfrom
feature/210-active-campaign-record-based
Feb 9, 2026
Merged

add active campaign record based support#212
nickmazurenko merged 3 commits intodevelopfrom
feature/210-active-campaign-record-based

Conversation

@nickmazurenko
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings February 9, 2026 18:43
@nickmazurenko nickmazurenko linked an issue Feb 9, 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

This PR adds record-based (table/record) support to the ActiveCampaign app, enabling standardized table listing, schema discovery, searching (with expressions), and CRUD operations via the record-based interface.

Changes:

  • Added ActiveCampaign record-based integration to the app configuration (tables, record types, expressions, search + CRUD).
  • Implemented record-based helper modules (filtering/sorting, schema building incl. custom fields, create/update/delete/search).
  • Added i18n entries for record-based expressions and a comprehensive unit/integration test suite for record-based behavior.

Reviewed changes

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

Show a summary per file
File Description
ts/src/apps/active-campaign/index.ts Wires record-based capabilities (table list, schema, expressions, search options, CRUD) into the ActiveCampaign app definition.
ts/src/apps/active-campaign/helpers/record-based/apply-where-condition.ts Implements hybrid server/client WHERE handling plus client-side filtering/sorting utilities.
ts/src/apps/active-campaign/helpers/record-based/constants.ts Defines entity configs, standard fields, payload/record transforms, and shared constants.
ts/src/apps/active-campaign/helpers/record-based/create-records.ts Implements record-based create (including deal custom-field writes).
ts/src/apps/active-campaign/helpers/record-based/delete-records.ts Implements record-based delete with WHERE-based selection.
ts/src/apps/active-campaign/helpers/record-based/get-expressions.ts Defines supported expressions/operators for record-based searching (localized via i18n).
ts/src/apps/active-campaign/helpers/record-based/get-record-type.ts Builds record schema dynamically, including custom fields fetched from ActiveCampaign APIs.
ts/src/apps/active-campaign/helpers/record-based/get-search-options.ts Defines record-based search options (notably orderBy).
ts/src/apps/active-campaign/helpers/record-based/get-table-list.ts Returns supported tables (Contacts, Deals, Accounts).
ts/src/apps/active-campaign/helpers/record-based/index.ts Barrel export for record-based helpers/constants.
ts/src/apps/active-campaign/helpers/record-based/search-records.ts Implements iterator-based searching with pagination + hybrid filtering and optional custom-field enrichment.
ts/src/apps/active-campaign/helpers/record-based/update-records.ts Implements record-based update with WHERE-based selection (including deal custom-field writes).
ts/src/i18n/en/apps/ActiveCampaign/index.ts Adds localized strings for the record-based expression operators.
ts/src/i18n/i18n-types.ts Updates generated i18n typings to include the new ActiveCampaign expression keys.
ts/src/tests/active-campaign-record-based.test.ts Adds unit tests for record-based helpers and optional integration tests for real API CRUD cycles.

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

Copilot AI review requested due to automatic review settings February 9, 2026 21:48
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

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


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

@nickmazurenko nickmazurenko merged commit b0e37bf into develop Feb 9, 2026
7 checks passed
@nickmazurenko nickmazurenko deleted the feature/210-active-campaign-record-based branch February 9, 2026 22:19
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.

Add ActiveCampaign Record Based Support

1 participant