├── .codeclimate.yml ├── .editorconfig ├── .env.template ├── .eslintrc.js ├── .gitignore ├── .npmignore ├── .prettierrc ├── .travis.yml ├── History.md ├── LICENSE ├── README.md ├── config.js ├── contributing.md ├── index.d.ts ├── index.js ├── lib ├── broadcast.js ├── campaign.js ├── client.js ├── company.js ├── company_property.js ├── company_property_group.js ├── contact.js ├── contact_property.js ├── crm.js ├── crm_association.js ├── deal.js ├── deal_property.js ├── deal_property_group.js ├── emails.js ├── engagement.js ├── file.js ├── form.js ├── integrations.js ├── list.js ├── marketing_email.js ├── oauth.js ├── owner.js ├── page.js ├── pipeline.js ├── subscription.js ├── ticket.js ├── timeline.js ├── typescript │ ├── broadcast.ts │ ├── campaign.ts │ ├── company.ts │ ├── company_property.ts │ ├── company_property_group.ts │ ├── contact.ts │ ├── contact_property.ts │ ├── crm.ts │ ├── crm_associations.ts │ ├── deal.ts │ ├── deal_property.ts │ ├── deal_property_group.ts │ ├── emails.ts │ ├── engagement.ts │ ├── file.ts │ ├── form.ts │ ├── integrations.ts │ ├── list.ts │ ├── marketing_email.ts │ ├── oauth.ts │ ├── owner.ts │ ├── page.ts │ ├── pipeline.ts │ ├── subscription.ts │ ├── ticket.ts │ ├── timeline.ts │ ├── webhooks.ts │ └── workflow.ts ├── utils │ └── guid.js ├── webhooks.js └── workflow.js ├── package.json ├── pull_request_template.md ├── test ├── .eslintrc.js ├── broadcasts.js ├── campaigns.js ├── client.js ├── companies.js ├── company_properties.js ├── company_properties_groups.js ├── contact_properties.js ├── contacts.js ├── crm_associations.js ├── deal_properties.js ├── deal_properties_group.js ├── deals.js ├── engagements.js ├── files.js ├── forms.js ├── helpers │ ├── factories.js │ ├── fake_hubspot_api.js │ └── nock_helper.js ├── integrations.js ├── lists.js ├── marketing_email.js ├── mocha.opts ├── oauth.js ├── owners.js ├── page.js ├── pipelines.js ├── subscriptions.js ├── ticket.js ├── timeline.js ├── typescript │ └── hubspot.ts └── workflows.js └── tsconfig.json /.codeclimate.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/.codeclimate.yml -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/.env.template -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/.prettierrc -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/.travis.yml -------------------------------------------------------------------------------- /History.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/History.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/README.md -------------------------------------------------------------------------------- /config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/config.js -------------------------------------------------------------------------------- /contributing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/contributing.md -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/index.d.ts -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/client') 2 | -------------------------------------------------------------------------------- /lib/broadcast.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/broadcast.js -------------------------------------------------------------------------------- /lib/campaign.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/campaign.js -------------------------------------------------------------------------------- /lib/client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/client.js -------------------------------------------------------------------------------- /lib/company.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/company.js -------------------------------------------------------------------------------- /lib/company_property.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/company_property.js -------------------------------------------------------------------------------- /lib/company_property_group.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/company_property_group.js -------------------------------------------------------------------------------- /lib/contact.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/contact.js -------------------------------------------------------------------------------- /lib/contact_property.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/contact_property.js -------------------------------------------------------------------------------- /lib/crm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/crm.js -------------------------------------------------------------------------------- /lib/crm_association.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/crm_association.js -------------------------------------------------------------------------------- /lib/deal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/deal.js -------------------------------------------------------------------------------- /lib/deal_property.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/deal_property.js -------------------------------------------------------------------------------- /lib/deal_property_group.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/deal_property_group.js -------------------------------------------------------------------------------- /lib/emails.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/emails.js -------------------------------------------------------------------------------- /lib/engagement.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/engagement.js -------------------------------------------------------------------------------- /lib/file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/file.js -------------------------------------------------------------------------------- /lib/form.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/form.js -------------------------------------------------------------------------------- /lib/integrations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/integrations.js -------------------------------------------------------------------------------- /lib/list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/list.js -------------------------------------------------------------------------------- /lib/marketing_email.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/marketing_email.js -------------------------------------------------------------------------------- /lib/oauth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/oauth.js -------------------------------------------------------------------------------- /lib/owner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/owner.js -------------------------------------------------------------------------------- /lib/page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/page.js -------------------------------------------------------------------------------- /lib/pipeline.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/pipeline.js -------------------------------------------------------------------------------- /lib/subscription.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/subscription.js -------------------------------------------------------------------------------- /lib/ticket.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/ticket.js -------------------------------------------------------------------------------- /lib/timeline.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/timeline.js -------------------------------------------------------------------------------- /lib/typescript/broadcast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/broadcast.ts -------------------------------------------------------------------------------- /lib/typescript/campaign.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/campaign.ts -------------------------------------------------------------------------------- /lib/typescript/company.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/company.ts -------------------------------------------------------------------------------- /lib/typescript/company_property.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/company_property.ts -------------------------------------------------------------------------------- /lib/typescript/company_property_group.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/company_property_group.ts -------------------------------------------------------------------------------- /lib/typescript/contact.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/contact.ts -------------------------------------------------------------------------------- /lib/typescript/contact_property.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/contact_property.ts -------------------------------------------------------------------------------- /lib/typescript/crm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/crm.ts -------------------------------------------------------------------------------- /lib/typescript/crm_associations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/crm_associations.ts -------------------------------------------------------------------------------- /lib/typescript/deal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/deal.ts -------------------------------------------------------------------------------- /lib/typescript/deal_property.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/deal_property.ts -------------------------------------------------------------------------------- /lib/typescript/deal_property_group.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/deal_property_group.ts -------------------------------------------------------------------------------- /lib/typescript/emails.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/emails.ts -------------------------------------------------------------------------------- /lib/typescript/engagement.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/engagement.ts -------------------------------------------------------------------------------- /lib/typescript/file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/file.ts -------------------------------------------------------------------------------- /lib/typescript/form.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/form.ts -------------------------------------------------------------------------------- /lib/typescript/integrations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/integrations.ts -------------------------------------------------------------------------------- /lib/typescript/list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/list.ts -------------------------------------------------------------------------------- /lib/typescript/marketing_email.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/marketing_email.ts -------------------------------------------------------------------------------- /lib/typescript/oauth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/oauth.ts -------------------------------------------------------------------------------- /lib/typescript/owner.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/owner.ts -------------------------------------------------------------------------------- /lib/typescript/page.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/page.ts -------------------------------------------------------------------------------- /lib/typescript/pipeline.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/pipeline.ts -------------------------------------------------------------------------------- /lib/typescript/subscription.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/subscription.ts -------------------------------------------------------------------------------- /lib/typescript/ticket.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/ticket.ts -------------------------------------------------------------------------------- /lib/typescript/timeline.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/timeline.ts -------------------------------------------------------------------------------- /lib/typescript/webhooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/webhooks.ts -------------------------------------------------------------------------------- /lib/typescript/workflow.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/typescript/workflow.ts -------------------------------------------------------------------------------- /lib/utils/guid.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/utils/guid.js -------------------------------------------------------------------------------- /lib/webhooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/webhooks.js -------------------------------------------------------------------------------- /lib/workflow.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/lib/workflow.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/package.json -------------------------------------------------------------------------------- /pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/pull_request_template.md -------------------------------------------------------------------------------- /test/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/.eslintrc.js -------------------------------------------------------------------------------- /test/broadcasts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/broadcasts.js -------------------------------------------------------------------------------- /test/campaigns.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/campaigns.js -------------------------------------------------------------------------------- /test/client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/client.js -------------------------------------------------------------------------------- /test/companies.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/companies.js -------------------------------------------------------------------------------- /test/company_properties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/company_properties.js -------------------------------------------------------------------------------- /test/company_properties_groups.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/company_properties_groups.js -------------------------------------------------------------------------------- /test/contact_properties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/contact_properties.js -------------------------------------------------------------------------------- /test/contacts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/contacts.js -------------------------------------------------------------------------------- /test/crm_associations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/crm_associations.js -------------------------------------------------------------------------------- /test/deal_properties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/deal_properties.js -------------------------------------------------------------------------------- /test/deal_properties_group.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/deal_properties_group.js -------------------------------------------------------------------------------- /test/deals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/deals.js -------------------------------------------------------------------------------- /test/engagements.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/engagements.js -------------------------------------------------------------------------------- /test/files.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/files.js -------------------------------------------------------------------------------- /test/forms.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/forms.js -------------------------------------------------------------------------------- /test/helpers/factories.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/helpers/factories.js -------------------------------------------------------------------------------- /test/helpers/fake_hubspot_api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/helpers/fake_hubspot_api.js -------------------------------------------------------------------------------- /test/helpers/nock_helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/helpers/nock_helper.js -------------------------------------------------------------------------------- /test/integrations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/integrations.js -------------------------------------------------------------------------------- /test/lists.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/lists.js -------------------------------------------------------------------------------- /test/marketing_email.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/marketing_email.js -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- 1 | --require ./config.js 2 | -------------------------------------------------------------------------------- /test/oauth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/oauth.js -------------------------------------------------------------------------------- /test/owners.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/owners.js -------------------------------------------------------------------------------- /test/page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/page.js -------------------------------------------------------------------------------- /test/pipelines.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/pipelines.js -------------------------------------------------------------------------------- /test/subscriptions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/subscriptions.js -------------------------------------------------------------------------------- /test/ticket.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/ticket.js -------------------------------------------------------------------------------- /test/timeline.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/timeline.js -------------------------------------------------------------------------------- /test/typescript/hubspot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/typescript/hubspot.ts -------------------------------------------------------------------------------- /test/workflows.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/test/workflows.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HGData/mk-node-hubspot/HEAD/tsconfig.json --------------------------------------------------------------------------------