forked from singer-io/tap-chargebee
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for deprecated items in Chargebee streams (#74)
* Add support for deprecated items in Chargebee streams - Introduced 'include_deprecated' configuration option in the main function to control the inclusion of deprecated items. - Added 'active_id' field to the subscriptions schema for better tracking of active subscriptions. - Updated CustomersStream and SubscriptionsStream to include 'include_deprecated' parameter in API requests when enabled. * Enhance Chargebee streams to support deprecated items - Added 'include_deprecated' parameter to BaseChargebeeStream for customers and subscriptions. - Removed redundant 'get_params' method overrides in CustomersStream and SubscriptionsStream, as the base class now handles the inclusion of deprecated items. This update improves the flexibility of API requests by allowing the inclusion of deprecated items when specified in the configuration.
- Loading branch information
1 parent
a9b9c77
commit 584b9db
Showing
4 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters