Skip to content

Commit

Permalink
feat(hubspot): Add portal_id to GraphQL Hubspot integration type
Browse files Browse the repository at this point in the history
  • Loading branch information
ivannovosad committed Oct 15, 2024
1 parent 35adfc3 commit 0014f8c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/graphql/types/integrations/hubspot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class Hubspot < Types::BaseObject
field :default_targeted_object, Types::Integrations::Hubspot::TargetedObjectsEnum, null: false
field :id, ID, null: false
field :name, String, null: false
field :portal_id, String
field :private_app_token, String, null: false
field :sync_invoices, Boolean
field :sync_subscriptions, Boolean
Expand Down
1 change: 1 addition & 0 deletions schema.graphql

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions spec/graphql/types/integrations/hubspot_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
it { is_expected.to have_field(:connection_id).of_type('ID!') }
it { is_expected.to have_field(:default_targeted_object).of_type('HubspotTargetedObjectsEnum!') }
it { is_expected.to have_field(:name).of_type('String!') }
it { is_expected.to have_field(:portal_id).of_type('String') }
it { is_expected.to have_field(:private_app_token).of_type('String!') }

it { is_expected.to have_field(:sync_invoices).of_type('Boolean') }
Expand Down

0 comments on commit 0014f8c

Please sign in to comment.