From 915581666f7a503467b8b92de77dfa18aa4f4aff Mon Sep 17 00:00:00 2001 From: marcos314 Date: Wed, 19 Jul 2023 16:52:31 -0300 Subject: [PATCH] fix(tap-suiteql): Fix BillingAccount Stream name --- tap_suiteql/streams.py | 2 +- tap_suiteql/tap.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tap_suiteql/streams.py b/tap_suiteql/streams.py index 3f97268..c7f9bd1 100644 --- a/tap_suiteql/streams.py +++ b/tap_suiteql/streams.py @@ -298,7 +298,7 @@ class CustomRecordGpyChangeOrderClassificStream(suiteqlStream): replication_key = "lastmodified" -class BilligAccountStream(suiteqlStream): +class BillingAccountStream(suiteqlStream): name = "billingaccount" path = "/query/v1/suiteql" metadata_path = "/record/v1/metadata-catalog/billingaccount" diff --git a/tap_suiteql/tap.py b/tap_suiteql/tap.py index caa1a9b..4fbabbb 100644 --- a/tap_suiteql/tap.py +++ b/tap_suiteql/tap.py @@ -9,7 +9,7 @@ from tap_suiteql.query_builder import QueryBuilder # JSON schema typing helpers from tap_suiteql.schema_builder import SchemaBuilder from tap_suiteql.streams import ( - BilligAccountStream, + BillingAccountStream, ChangeOrderLineStream, ChargeStream, CustomerPaymentStream, @@ -45,7 +45,7 @@ "SubscriptionChangeOrder": SubscriptionChangeOrderStream, "Item": ItemStream, "MonthlyRecurringRevenue": MonthlyRecurringRevenueStream, - "BilligAccount": BilligAccountStream, + "BillingAccount": BillingAccountStream, }