diff --git a/src/Http/Response.php b/src/Http/Response.php index 1f4e78a7..ced15fa6 100644 --- a/src/Http/Response.php +++ b/src/Http/Response.php @@ -339,8 +339,8 @@ public function getStatusCode() * immutability of the message, and MUST return an instance that has the * updated status and reason phrase. * - * @see http://tools.ietf.org/html/rfc7231#section-6 - * @see http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml + * @see https://tools.ietf.org/html/rfc7231#section-6 + * @see https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml * * @param int $code the 3-digit integer result code to set * @param string $reasonPhrase the reason phrase to use with the @@ -365,8 +365,8 @@ public function withStatus($code, $reasonPhrase = '') * listed in the IANA HTTP Status Code Registry) for the response's * status code. * - * @see http://tools.ietf.org/html/rfc7231#section-6 - * @see http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml + * @see https://tools.ietf.org/html/rfc7231#section-6 + * @see https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml * * @return string reason phrase; must return an empty string if none present */ diff --git a/src/Resources/BlogPosts.php b/src/Resources/BlogPosts.php index 94fafdba..9785fc27 100644 --- a/src/Resources/BlogPosts.php +++ b/src/Resources/BlogPosts.php @@ -84,7 +84,7 @@ public function getById($id) /** * Updates the auto-save buffer. Live objects will not be impacted. * - * @see http://developers.hubspot.com/docs/methods/blogv2/put_blog_posts_blog_post_id_buffer + * @see https://developers.hubspot.com/docs/methods/blogv2/put_blog_posts_blog_post_id_buffer * * @param int $id the blog post ID * @param array $params allowed parameters diff --git a/src/Resources/BlogTopics.php b/src/Resources/BlogTopics.php index 6d978fca..ca01fce8 100644 --- a/src/Resources/BlogTopics.php +++ b/src/Resources/BlogTopics.php @@ -23,7 +23,7 @@ public function all($params = []) /** * Search a topic by the query. $query will match name and slug partially. * - * @see http://developers.hubspot.com/docs/methods/blog/v3/search-blog-topics + * @see https://developers.hubspot.com/docs/methods/blog/v3/search-blog-topics * * @param string $query Search query * @param array $params Array of optional parameters ['name','slug','limit', 'offset', 'active', 'blog'] diff --git a/src/Resources/Companies.php b/src/Resources/Companies.php index 67392354..b1189161 100644 --- a/src/Resources/Companies.php +++ b/src/Resources/Companies.php @@ -9,7 +9,7 @@ class Companies extends Resource * * @param array $properties array of company properties * - * @see http://developers.hubspot.com/docs/methods/companies/create_company + * @see https://developers.hubspot.com/docs/methods/companies/create_company * * @return \SevenShores\Hubspot\Http\Response */ @@ -27,7 +27,7 @@ public function create(array $properties) * @param int $id the company id * @param array $properties the company properties to update * - * @see http://developers.hubspot.com/docs/methods/companies/update_company + * @see https://developers.hubspot.com/docs/methods/companies/update_company * * @return \SevenShores\Hubspot\Http\Response */ @@ -57,7 +57,7 @@ public function updateBatch(array $companies) * * @param int $id The company id * - * @see http://developers.hubspot.com/docs/methods/companies/delete_company + * @see https://developers.hubspot.com/docs/methods/companies/delete_company * * @return \SevenShores\Hubspot\Http\Response */ @@ -73,7 +73,7 @@ public function delete($id) * * @param array $params Array of optional parameters ['limit', 'offset', 'properties'] * - * @see http://developers.hubspot.com/docs/methods/companies/get-all-companies + * @see https://developers.hubspot.com/docs/methods/companies/get-all-companies * * @return \SevenShores\Hubspot\Http\Response */ @@ -91,7 +91,7 @@ public function all(array $params = []) * * @param array $params Array of optional parameters ['count', 'offset'] * - * @see http://developers.hubspot.com/docs/methods/companies/get_companies_modified + * @see https://developers.hubspot.com/docs/methods/companies/get_companies_modified * * @return \SevenShores\Hubspot\Http\Response */ @@ -109,7 +109,7 @@ public function getRecentlyModified(array $params = []) * * @param array $params Array of optional parameters ['count', 'offset'] * - * @see http://developers.hubspot.com/docs/methods/companies/get_companies_created + * @see https://developers.hubspot.com/docs/methods/companies/get_companies_created * * @return \SevenShores\Hubspot\Http\Response */ @@ -153,7 +153,7 @@ public function searchByDomain($domain, array $properties = [], $limit = 100, $o * * @param int $id * - * @see http://developers.hubspot.com/docs/methods/companies/get_company + * @see https://developers.hubspot.com/docs/methods/companies/get_company * * @return \SevenShores\Hubspot\Http\Response */ @@ -171,7 +171,7 @@ public function getById($id) * @param int $contactId * @param int $companyId * - * @see http://developers.hubspot.com/docs/methods/companies/add_contact_to_company + * @see https://developers.hubspot.com/docs/methods/companies/add_contact_to_company * @see CrmAssociations::create is used to create associations between objects * @deprecated * @@ -190,7 +190,7 @@ public function addContact($contactId, $companyId) * @param int $companyId the id of the company * @param array $params Array of optional parameters ['count', 'vidOffset'] * - * @see http://developers.hubspot.com/docs/methods/companies/get_company_contacts + * @see https://developers.hubspot.com/docs/methods/companies/get_company_contacts * @see CrmAssociations::get is used to get associations between objects * @deprecated * @@ -211,7 +211,7 @@ public function getAssociatedContacts($companyId, array $params = []) * @param int $companyId the id of the company * @param array $params Array of optional parameters ['count', 'vidOffset'] * - * @see http://developers.hubspot.com/docs/methods/companies/get_company_contacts_by_id + * @see https://developers.hubspot.com/docs/methods/companies/get_company_contacts_by_id * @see CrmAssociations::get is used to get associations between objects * @deprecated * @@ -232,7 +232,7 @@ public function getAssociatedContactIds($companyId, array $params = []) * @param int $contactId * @param int $companyId * - * @see http://developers.hubspot.com/docs/methods/companies/remove_contact_from_company + * @see https://developers.hubspot.com/docs/methods/companies/remove_contact_from_company * @see CrmAssociations::delete is used to delete associations between objects * @deprecated * diff --git a/src/Resources/CompanyProperties.php b/src/Resources/CompanyProperties.php index c1cdabaa..7c8c0935 100644 --- a/src/Resources/CompanyProperties.php +++ b/src/Resources/CompanyProperties.php @@ -10,7 +10,7 @@ class CompanyProperties extends Resource /** * Creates a property on every company object to store a specific piece of data. * - * @see http://developers.hubspot.com/docs/methods/companies/create_company_property + * @see https://developers.hubspot.com/docs/methods/companies/create_company_property * * @return \SevenShores\Hubspot\Http\Response */ @@ -24,7 +24,7 @@ public function create(array $property) /** * Update the specified company-level property. This does not update the value on a specified company, but instead changes the definition of the company property. * - * @see http://developers.hubspot.com/docs/methods/companies/update_company_property + * @see https://developers.hubspot.com/docs/methods/companies/update_company_property * * @param string $propertyName * @@ -42,7 +42,7 @@ public function update($propertyName, array $property) /** * For a portal, delete an existing company property. * - * @see http://developers.hubspot.com/docs/methods/companies/delete_company_property + * @see https://developers.hubspot.com/docs/methods/companies/delete_company_property * * @param string $propertyName the API name of the property that you will be deleting * @@ -58,7 +58,7 @@ public function delete($propertyName) /** * Returns a JSON object representing the definition for a given company property. * - * @see http://developers.hubspot.com/docs/methods/companies/get_company_property + * @see https://developers.hubspot.com/docs/methods/companies/get_company_property * * @param string $propertyName the API name of the property that you wish to see metadata for * @@ -74,7 +74,7 @@ public function get($propertyName) /** * Returns all of the company properties, including their definition. * - * @see http://developers.hubspot.com/docs/methods/companies/get_company_properties + * @see https://developers.hubspot.com/docs/methods/companies/get_company_properties * * @return \SevenShores\Hubspot\Http\Response */ @@ -90,7 +90,7 @@ public function all() * * @param array $group defines the group and any properties within it * - * @see http://developers.hubspot.com/docs/methods/companies/create_company_property_group + * @see https://developers.hubspot.com/docs/methods/companies/create_company_property_group * * @return \SevenShores\Hubspot\Http\Response */ @@ -107,7 +107,7 @@ public function createGroup(array $group) * @param string $groupName the API name of the property group that you will be updating * @param array $group defines the property group and any properties within it * - * @see http://developers.hubspot.com/docs/methods/companies/update_company_property_group + * @see https://developers.hubspot.com/docs/methods/companies/update_company_property_group * * @return \SevenShores\Hubspot\Http\Response */ @@ -121,7 +121,7 @@ public function updateGroup($groupName, array $group) /** * Delete an existing company property group. * - * @see http://developers.hubspot.com/docs/methods/companies/delete_company_property_group + * @see https://developers.hubspot.com/docs/methods/companies/delete_company_property_group * * @param string $groupName the API name of the property group that you will be deleting * @@ -137,7 +137,7 @@ public function deleteGroup($groupName) /** * Returns all of the company property groups for a given portal. * - * @see http://developers.hubspot.com/docs/methods/companies/get_company_property_groups + * @see https://developers.hubspot.com/docs/methods/companies/get_company_property_groups * * @param bool $includeProperties if true returns all of the properties for each company property group * diff --git a/src/Resources/ContactProperties.php b/src/Resources/ContactProperties.php index 3e8ce932..a7e2697d 100644 --- a/src/Resources/ContactProperties.php +++ b/src/Resources/ContactProperties.php @@ -10,7 +10,7 @@ class ContactProperties extends Resource * Properties in HubSpot are fields that have been created, in this case for deals in a given portal. * This endpoint will return all of the contacts properties, including their definition, for a given portal. * - * @see http://developers.hubspot.com/docs/methods/contacts/v2/get_contacts_properties + * @see https://developers.hubspot.com/docs/methods/contacts/v2/get_contacts_properties * * @return \SevenShores\Hubspot\Http\Response */ @@ -26,7 +26,7 @@ public function all() * * Returns a JSON object representing the definition for a given contact property. * - * @see http://developers.hubspot.com/docs/methods/companies/get_contact_property + * @see https://developers.hubspot.com/docs/methods/companies/get_contact_property * * @param string $name the name of the property * @@ -45,7 +45,7 @@ public function get($name) * Create a property on every contact object to store a specific piece of data. In the example below, * we want to store an invoice number on a separate field on deals. * - * @see http://developers.hubspot.com/docs/methods/contacts/v2/create_contacts_property + * @see https://developers.hubspot.com/docs/methods/contacts/v2/create_contacts_property * * @return \SevenShores\Hubspot\Http\Response */ @@ -61,7 +61,7 @@ public function create(array $property) * * Update a specified contact property. * - * @see http://developers.hubspot.com/docs/methods/contacts/v2/update_contact_property + * @see https://developers.hubspot.com/docs/methods/contacts/v2/update_contact_property * * @param string $name * @@ -81,7 +81,7 @@ public function update($name, array $property) * * For a portal, delete an existing contact property. * - * @see http://developers.hubspot.com/docs/methods/contacts/v2/delete_contact_property + * @see https://developers.hubspot.com/docs/methods/contacts/v2/delete_contact_property * * @param string $name * @@ -99,7 +99,7 @@ public function delete($name) * * Returns all of the contact property groups for a given portal. * - * @see http://developers.hubspot.com/docs/methods/contacts/v2/get_contact_property_groups + * @see https://developers.hubspot.com/docs/methods/contacts/v2/get_contact_property_groups * * @param bool $includeProperties * @@ -123,7 +123,7 @@ public function getGroups($includeProperties = false) * Create a new contact property group to gather like contact-level data. Property groups allow you to more * easily manage properties in a given portal and make contact records easier to parse for the user. * - * @see http://developers.hubspot.com/docs/methods/contacts/v2/create_contacts_property_group + * @see https://developers.hubspot.com/docs/methods/contacts/v2/create_contacts_property_group * * @param array $group Group properties * @@ -141,7 +141,7 @@ public function createGroup(array $group) * * Update a previously created contact property group. * - * @see http://developers.hubspot.com/docs/methods/contacts/v2/update_contact_property_group + * @see https://developers.hubspot.com/docs/methods/contacts/v2/update_contact_property_group * * @param string $name * @@ -161,7 +161,7 @@ public function updateGroup($name, array $group) * * Delete an existing contact property group. * - * @see http://developers.hubspot.com/docs/methods/contacts/v2/delete_contact_property_group + * @see https://developers.hubspot.com/docs/methods/contacts/v2/delete_contact_property_group * * @param string $name * diff --git a/src/Resources/Contacts.php b/src/Resources/Contacts.php index dbb08334..f1cfdf03 100644 --- a/src/Resources/Contacts.php +++ b/src/Resources/Contacts.php @@ -114,7 +114,7 @@ public function delete($id) * you know where you are in the list of contacts. You can then use the "vid-offset" field in the "vidOffset" * parameter described below. * - * @see http://developers.hubspot.com/docs/methods/contacts/get_contacts + * @see https://developers.hubspot.com/docs/methods/contacts/get_contacts * * @param array $params Array of optional parameters ['count', 'property', 'vidOffset'] * @@ -134,7 +134,7 @@ public function all(array $params = []) * A paginated list of contacts will be returned to you, with a maximum of 100 contacts per page, as specified by * the "count" parameter. The endpoint only scrolls back in time 30 days. * - * @see http://developers.hubspot.com/docs/methods/contacts/get_recently_updated_contacts + * @see https://developers.hubspot.com/docs/methods/contacts/get_recently_updated_contacts * * @param array $params Array of optional parameters ['count', 'timeOffset', 'vidOffset', 'property', * 'propertyMode', 'formSubmissionMode', 'showListMemberships'] @@ -155,7 +155,7 @@ public function recent(array $params = []) * A paginated list of contacts will be returned to you, with a maximum of 100 contacts per page, as specified by * the "count" parameter. The endpoint only scrolls back in time 30 days. * - * @see http://developers.hubspot.com/docs/methods/contacts/get_recently_updated_contacts + * @see https://developers.hubspot.com/docs/methods/contacts/get_recently_updated_contacts * * @param array $params Array of optional parameters ['count', 'timeOffset', 'vidOffset', 'property', * 'propertyMode', 'formSubmissionMode', 'showListMemberships'] @@ -196,7 +196,7 @@ public function getById($id, array $params = []) * This method will also return you much of the HubSpot lead "intelligence" for each requested contact record. The * endpoint accepts many query parameters that allow for customization based on a variety of integration use cases. * - * @see http://developers.hubspot.com/docs/methods/contacts/get_batch_by_vid + * @see https://developers.hubspot.com/docs/methods/contacts/get_batch_by_vid * * @param array $vids Array of visitor IDs * @param array $params Array of optional parameters ['property', 'propertyMode', 'formSubmissionMode', @@ -238,7 +238,7 @@ public function getByEmail(string $email, array $params = []) * This method will also return you much of the HubSpot lead "intelligence" for each requested contact record. The * endpoint accepts many query parameters that allow for customization based on a variety of integration use cases. * - * @see http://developers.hubspot.com/docs/methods/contacts/get_batch_by_email + * @see https://developers.hubspot.com/docs/methods/contacts/get_batch_by_email * * @param array $emails Array of email adresses * @param array $params Array of optional parameters ['property', 'propertyMode', 'formSubmissionMode', @@ -284,7 +284,7 @@ public function getByToken(string $utk, array $params = []) * The endpoint does not allow for CORS, so if you are looking up contacts from their user token on the client, * you'll need to spin up a proxy server to interact with the API. * - * @see http://developers.hubspot.com/docs/methods/contacts/get_batch_by_utk + * @see https://developers.hubspot.com/docs/methods/contacts/get_batch_by_utk * * @param array $utks Array of hubspot user tokens (hubspotutk) * @param array $params Array of optional parameters ['property', 'propertyMode', 'formSubmissionMode', @@ -312,7 +312,7 @@ public function getBatchByTokens(array $utks, array $params = []) * return is the contact ID (vid) that you can then use to look up much * more data about that particular contact by its ID. * - * @see http://developers.hubspot.com/docs/methods/contacts/search_contacts + * @see https://developers.hubspot.com/docs/methods/contacts/search_contacts * * @param string $query Search query * @param array $params Array of optional parameters ['count', 'offset'] diff --git a/src/Resources/DealProperties.php b/src/Resources/DealProperties.php index f2f259b0..c17a4d80 100644 --- a/src/Resources/DealProperties.php +++ b/src/Resources/DealProperties.php @@ -9,7 +9,7 @@ class DealProperties extends Resource * * Returns a JSON object representing the definition for a given deal property. * - * @see http://developers.hubspot.com/docs/methods/deals/get_deal_property + * @see https://developers.hubspot.com/docs/methods/deals/get_deal_property * * @param string $name the name of the property * @@ -44,7 +44,7 @@ public function create(array $property) * * Update a specified deal property. * - * @see http://developers.hubspot.com/docs/methods/deals/update_deal_property + * @see https://developers.hubspot.com/docs/methods/deals/update_deal_property * * @param string $name * diff --git a/src/Resources/Engagements.php b/src/Resources/Engagements.php index 0943208e..863d2905 100644 --- a/src/Resources/Engagements.php +++ b/src/Resources/Engagements.php @@ -102,7 +102,7 @@ public function get($id) * * @param array $params Array of optional parameters ['limit', 'offset'] * - * @see http://developers.hubspot.com/docs/methods/engagements/get-all-engagements + * @see https://developers.hubspot.com/docs/methods/engagements/get-all-engagements * * @return \SevenShores\Hubspot\Http\Response */ diff --git a/src/Resources/Events.php b/src/Resources/Events.php index d162a336..e5639393 100644 --- a/src/Resources/Events.php +++ b/src/Resources/Events.php @@ -26,7 +26,7 @@ public function trigger( $contactRevenue = null, $contactProperties = [] ) { - $endpoint = 'http://track.hubspot.com/v1/event'; + $endpoint = 'https://track.hubspot.com/v1/event'; $required['_a'] = $hubId; $required['_n'] = $eventId; diff --git a/src/Resources/Forms.php b/src/Resources/Forms.php index 811fb4b6..5e43f345 100644 --- a/src/Resources/Forms.php +++ b/src/Resources/Forms.php @@ -24,7 +24,7 @@ public function submit($portal_id, $form_guid, array $form) /** * Return all forms that have been created in the portal. * - * @see http://developers.hubspot.com/docs/methods/forms/v2/get_forms + * @see https://developers.hubspot.com/docs/methods/forms/v2/get_forms * * @return \SevenShores\Hubspot\Http\Response */ @@ -38,7 +38,7 @@ public function all() /** * Return a single form based on the unique ID of that form. * - * @see http://developers.hubspot.com/docs/methods/forms/v2/get_form + * @see https://developers.hubspot.com/docs/methods/forms/v2/get_form * * @param string $form_guid * @@ -54,7 +54,7 @@ public function getById($form_guid) /** * Create a new form. * - * @see http://developers.hubspot.com/docs/methods/forms/v2/create_form + * @see https://developers.hubspot.com/docs/methods/forms/v2/create_form * * @return \SevenShores\Hubspot\Http\Response */ @@ -68,7 +68,7 @@ public function create(array $form) /** * Update an existing form. * - * @see http://developers.hubspot.com/docs/methods/forms/v2/update_form + * @see https://developers.hubspot.com/docs/methods/forms/v2/update_form * * @param string $form_guid * @@ -84,7 +84,7 @@ public function update($form_guid, array $form) /** * Delete an existing form. * - * @see http://developers.hubspot.com/docs/methods/forms/v2/delete_form + * @see https://developers.hubspot.com/docs/methods/forms/v2/delete_form * * @param string $form_guid * @@ -100,7 +100,7 @@ public function delete($form_guid) /** * Get all fields from a form. * - * @see http://developers.hubspot.com/docs/methods/forms/v2/get_fields + * @see https://developers.hubspot.com/docs/methods/forms/v2/get_fields * * @param string $form_guid * @@ -116,7 +116,7 @@ public function getFields($form_guid) /** * Get a single field from a form. * - * @see http://developers.hubspot.com/docs/methods/forms/v2/get_field + * @see https://developers.hubspot.com/docs/methods/forms/v2/get_field * * @param string $form_guid * @param string $name diff --git a/src/Resources/Timeline.php b/src/Resources/Timeline.php index 5ccf467c..33b5b14e 100644 --- a/src/Resources/Timeline.php +++ b/src/Resources/Timeline.php @@ -17,7 +17,7 @@ class Timeline extends Resource * * @return mixed * - * @see http://developers.hubspot.com/docs/methods/timeline/create-or-update-event + * @see https://developers.hubspot.com/docs/methods/timeline/create-or-update-event */ public function createOrUpdate( $appId, @@ -94,7 +94,7 @@ public function createOrUpdateBatch($appId, array $events = []) * * @return mixed * - * @see http://developers.hubspot.com/docs/methods/timeline/get-event-types + * @see https://developers.hubspot.com/docs/methods/timeline/get-event-types */ public function getEventTypes($appId) { @@ -131,7 +131,7 @@ public function getEventTypeById($appId, $eventTypeId) * * @return mixed * - * @see http://developers.hubspot.com/docs/methods/timeline/create-event-type + * @see https://developers.hubspot.com/docs/methods/timeline/create-event-type */ public function createEventType( $appId, @@ -166,7 +166,7 @@ public function createEventType( * * @return mixed * - * @see http://developers.hubspot.com/docs/methods/timeline/update-event-type + * @see https://developers.hubspot.com/docs/methods/timeline/update-event-type */ public function updateEventType( $appId, @@ -198,7 +198,7 @@ public function updateEventType( * * @return mixed * - * @see http://developers.hubspot.com/docs/methods/timeline/delete-event-type + * @see https://developers.hubspot.com/docs/methods/timeline/delete-event-type */ public function deleteEventType($appId, $eventTypeId) { @@ -215,7 +215,7 @@ public function deleteEventType($appId, $eventTypeId) * * @return mixed * - * @see http://developers.hubspot.com/docs/methods/timeline/get-timeline-event-type-properties + * @see https://developers.hubspot.com/docs/methods/timeline/get-timeline-event-type-properties */ public function getEventTypeProperties($appId, $eventTypeId) { @@ -236,7 +236,7 @@ public function getEventTypeProperties($appId, $eventTypeId) * * @return mixed * - * @see http://developers.hubspot.com/docs/methods/timeline/create-timeline-event-type-property + * @see https://developers.hubspot.com/docs/methods/timeline/create-timeline-event-type-property */ public function createEventTypeProperty( $appId, @@ -273,7 +273,7 @@ public function createEventTypeProperty( * * @return mixed * - * @see http://developers.hubspot.com/docs/methods/timeline/udpate-timeline-event-type-property + * @see https://developers.hubspot.com/docs/methods/timeline/udpate-timeline-event-type-property */ public function updateEventTypeProperty( $appId, @@ -309,7 +309,7 @@ public function updateEventTypeProperty( * * @return mixed * - * @see http://developers.hubspot.com/docs/methods/timeline/delete-timeline-event-type-property + * @see https://developers.hubspot.com/docs/methods/timeline/delete-timeline-event-type-property */ public function deleteEventTypeProperty($appId, $eventTypeId, $eventTypePropertyId) { diff --git a/src/Resources/TransactionalEmail.php b/src/Resources/TransactionalEmail.php index cfe9c9b3..6e8446b6 100644 --- a/src/Resources/TransactionalEmail.php +++ b/src/Resources/TransactionalEmail.php @@ -22,7 +22,7 @@ public function getTokens() /** * Send an email designed and maintained in the HubSpot marketing Email Tool. * - * @see http://developers.hubspot.com/docs/methods/email/transactional_email/single-send-overview + * @see https://developers.hubspot.com/docs/methods/email/transactional_email/single-send-overview * * @param int $id * @param array $message