This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use this in the custom code action (only in Ops Pro) | |
const hubspot = require('@hubspot/api-client'); | |
exports.main = async (event, callback) => { | |
const hubspotClient = new hubspot.Client({ | |
accessToken: process.env.HS_TOKEN | |
}); | |
const invoiceId = event.inputFields['hs_object_id']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title></title> | |
<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script> | |
</head> | |
<body> | |
<select class='userTimeZone' name='userTimeZone'> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select> | |
<option value="af">Afrikaans</option> | |
<option value="sq">Albanian</option> | |
<option value="ar">Arabic</option> | |
<option value="hy">Armenian</option> | |
<option value="eu">Basque</option> | |
<option value="be">Belarusian</option> | |
<option value="bg">Bulgarian</option> | |
<option value="ca">Catalan</option> | |
<option value="zh">Chinese</option> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select> | |
<option value="af">Afrikaans</option> | |
<option value="sq">Albanian</option> | |
<option value="sq-al">Albanian - Albania</option> | |
<option value="ar">Arabic</option> | |
<option value="ar-dz">Arabic - Algeria</option> | |
<option value="ar-bh">Arabic - Bahrain</option> | |
<option value="ar-eg">Arabic - Egypt</option> | |
<option value="ar-iq">Arabic - Iraq</option> | |
<option value="ar-jo">Arabic - Jordan</option> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select> | |
<option>Afghanistan</option> | |
<option>Åland Islands</option> | |
<option>Albania</option> | |
<option>Algeria</option> | |
<option>American Samoa</option> | |
<option>Andorra</option> | |
<option>Angola</option> | |
<option>Anguilla</option> | |
<option>Antarctica</option> |