From 9d51dba0cd52c0bf1c1fe88aaee4b22c42e90f3c 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 --- README.md | 2 +- tap_suiteql/streams.py | 2 +- tap_suiteql/tap.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a6569cd..4a5b36b 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ We extract the following entities with its respective method * MonthlyRecurringRevenue -> static * Charge -> dynamically * CustomRecordGpyChangeOrderClassific -> dynamically -* BilligAccount -> dynamically +* BillingAccount -> dynamically ### SDK Dev Guide 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, }