From 8b2b460df3a6fe54eb5a85e53d3361aa6c7cbd7b Mon Sep 17 00:00:00 2001 From: Soumiya M <153138345+Soumiya-mohan@users.noreply.github.com> Date: Thu, 8 May 2025 14:56:57 -0700 Subject: [PATCH 1/2] Update enums.py update scope enum for projects, custom fields and time-tracking --- intuitlib/enums.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/intuitlib/enums.py b/intuitlib/enums.py index 15aa88b..9d94ad1 100644 --- a/intuitlib/enums.py +++ b/intuitlib/enums.py @@ -28,13 +28,18 @@ class Scopes(Enum): OPENID = 'openid' ACCOUNTING = 'com.intuit.quickbooks.accounting' PAYMENT = 'com.intuit.quickbooks.payment' - + # for whitelisted Beta apps only PAYROLL = 'com.intuit.quickbooks.payroll' PAYROLL_TIMETRACKING = 'com.intuit.quickbooks.payroll.timetracking' PAYROLL_BENEFITS = 'com.intuit.quickbooks.payroll.benefits' PAYSLIP_READ = 'com.intuit.quickbooks.payroll.payslip.read' + PROJECT MANAGEMENT = 'project-management.project' + CUSTOM_FIELDS_READ = 'app-foundations.custom-field-definitions.read' + CUSTOM_FIELDS = 'app-foundations.custom-field-definitions' + EMPLOYEE_COMPENSATION = 'payroll.compensation.read' + # For migrated apps only # To not see consent page they should pass the following scopes - openid intuit_name email - INTUIT_NAME = 'intuit_name' \ No newline at end of file + INTUIT_NAME = 'intuit_name' From 5f6e3bf5c33fa9401833b624813ce79a03475691 Mon Sep 17 00:00:00 2001 From: Soumiya M <153138345+Soumiya-mohan@users.noreply.github.com> Date: Thu, 8 May 2025 15:01:10 -0700 Subject: [PATCH 2/2] Update enums.py update scope enums for projects, custom fields and time tracking --- intuitlib/enums.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intuitlib/enums.py b/intuitlib/enums.py index 9d94ad1..19f3ec3 100644 --- a/intuitlib/enums.py +++ b/intuitlib/enums.py @@ -34,7 +34,7 @@ class Scopes(Enum): PAYROLL_TIMETRACKING = 'com.intuit.quickbooks.payroll.timetracking' PAYROLL_BENEFITS = 'com.intuit.quickbooks.payroll.benefits' PAYSLIP_READ = 'com.intuit.quickbooks.payroll.payslip.read' - PROJECT MANAGEMENT = 'project-management.project' + PROJECT_MANAGEMENT = 'project-management.project' CUSTOM_FIELDS_READ = 'app-foundations.custom-field-definitions.read' CUSTOM_FIELDS = 'app-foundations.custom-field-definitions' EMPLOYEE_COMPENSATION = 'payroll.compensation.read'