@hubspot/app-connect-sdk 1.0.0-alpha.2 → 1.0.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-format$colon$check.log +1 -1
- package/.turbo/turbo-test.log +101 -57
- package/.turbo/turbo-tsdown.log +474 -469
- package/build/tsconfig.browser.tsbuildinfo +1 -1
- package/build/tsconfig.server.tsbuildinfo +1 -1
- package/dist/browser/{HubSpotAppConnect-BW45gyDs.js → HubSpotAppConnect-721kYr9d.js} +17 -23
- package/dist/browser/HubSpotAppConnect-721kYr9d.js.map +1 -0
- package/dist/browser/{create-vctOhpX9.js → create-DxEyGG-k.js} +336 -100
- package/dist/browser/create-DxEyGG-k.js.map +1 -0
- package/dist/browser/index.d.ts +2 -2
- package/dist/browser/index.js +1 -1
- package/dist/browser/react/lovable.d.ts +9 -2
- package/dist/browser/react/lovable.js +7 -4
- package/dist/browser/react/lovable.js.map +1 -1
- package/dist/browser/react.d.ts +2 -3
- package/dist/browser/react.js +1 -1
- package/dist/browser/{types-rTQw6A54.d.ts → types-C3wed8dU.d.ts} +52 -7
- package/dist/server/api-client-core/apis/account/account-info-types.generated.d.ts +73 -85
- package/dist/server/api-client-core/apis/account/account-info.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/account/account-info.generated.js +4 -3
- package/dist/server/api-client-core/apis/account/account-info.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/account/audit-logs-types.generated.d.ts +203 -215
- package/dist/server/api-client-core/apis/account/audit-logs.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/account/audit-logs.generated.js +4 -3
- package/dist/server/api-client-core/apis/account/audit-logs.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/auth/oauth-types.generated.d.ts +78 -90
- package/dist/server/api-client-core/apis/auth/oauth.generated.d.ts +1 -1
- package/dist/server/api-client-core/apis/auth/oauth.generated.js +3 -2
- package/dist/server/api-client-core/apis/auth/oauth.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/automation/actions-types.generated.d.ts +779 -794
- package/dist/server/api-client-core/apis/automation/actions.generated.d.ts +6 -3
- package/dist/server/api-client-core/apis/automation/actions.generated.js +101 -102
- package/dist/server/api-client-core/apis/automation/actions.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/automation/sequences-types.generated.d.ts +370 -382
- package/dist/server/api-client-core/apis/automation/sequences.generated.d.ts +1 -1
- package/dist/server/api-client-core/apis/automation/sequences.generated.js +3 -2
- package/dist/server/api-client-core/apis/automation/sequences.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/business-units-types.generated.d.ts +43 -55
- package/dist/server/api-client-core/apis/business-units.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/business-units.generated.js +4 -3
- package/dist/server/api-client-core/apis/business-units.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/cms/authors-types.generated.d.ts +420 -445
- package/dist/server/api-client-core/apis/cms/authors.generated.d.ts +4 -3
- package/dist/server/api-client-core/apis/cms/authors.generated.js +155 -158
- package/dist/server/api-client-core/apis/cms/authors.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/cms/blog-settings-types.generated.d.ts +270 -295
- package/dist/server/api-client-core/apis/cms/blog-settings.generated.d.ts +4 -3
- package/dist/server/api-client-core/apis/cms/blog-settings.generated.js +35 -38
- package/dist/server/api-client-core/apis/cms/blog-settings.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/cms/cms-content-audit-types.generated.d.ts +107 -131
- package/dist/server/api-client-core/apis/cms/cms-content-audit.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/cms/cms-content-audit.generated.js +6 -5
- package/dist/server/api-client-core/apis/cms/cms-content-audit.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/cms/domains-types.generated.d.ts +155 -167
- package/dist/server/api-client-core/apis/cms/domains.generated.d.ts +2 -2
- package/dist/server/api-client-core/apis/cms/domains.generated.js +3 -2
- package/dist/server/api-client-core/apis/cms/domains.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/cms/hubdb-types.generated.d.ts +876 -889
- package/dist/server/api-client-core/apis/cms/hubdb.generated.d.ts +4 -3
- package/dist/server/api-client-core/apis/cms/hubdb.generated.js +184 -185
- package/dist/server/api-client-core/apis/cms/hubdb.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/cms/media-bridge-types.generated.d.ts +1550 -1575
- package/dist/server/api-client-core/apis/cms/media-bridge.generated.d.ts +4 -3
- package/dist/server/api-client-core/apis/cms/media-bridge.generated.js +161 -164
- package/dist/server/api-client-core/apis/cms/media-bridge.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/cms/pages-types.generated.d.ts +1583 -1547
- package/dist/server/api-client-core/apis/cms/pages.generated.d.ts +15 -3
- package/dist/server/api-client-core/apis/cms/pages.generated.js +335 -326
- package/dist/server/api-client-core/apis/cms/pages.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/cms/posts-types.generated.d.ts +900 -904
- package/dist/server/api-client-core/apis/cms/posts.generated.d.ts +7 -3
- package/dist/server/api-client-core/apis/cms/posts.generated.js +197 -196
- package/dist/server/api-client-core/apis/cms/posts.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/cms/site-search-types.generated.d.ts +162 -174
- package/dist/server/api-client-core/apis/cms/site-search.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/cms/site-search.generated.js +4 -3
- package/dist/server/api-client-core/apis/cms/site-search.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/cms/source-code-types.generated.d.ts +148 -172
- package/dist/server/api-client-core/apis/cms/source-code.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/cms/source-code.generated.js +40 -43
- package/dist/server/api-client-core/apis/cms/source-code.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/cms/tags-types.generated.d.ts +406 -420
- package/dist/server/api-client-core/apis/cms/tags.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/cms/tags.generated.js +157 -158
- package/dist/server/api-client-core/apis/cms/tags.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/cms/url-mappings-types.generated.d.ts +127 -139
- package/dist/server/api-client-core/apis/cms/url-mappings.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/cms/url-mappings.generated.js +4 -3
- package/dist/server/api-client-core/apis/cms/url-mappings.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/cms/url-redirects-types.generated.d.ts +170 -182
- package/dist/server/api-client-core/apis/cms/url-redirects.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/cms/url-redirects.generated.js +4 -3
- package/dist/server/api-client-core/apis/cms/url-redirects.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/communication-preferences/subscriptions-types.generated.d.ts +728 -742
- package/dist/server/api-client-core/apis/communication-preferences/subscriptions.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/communication-preferences/subscriptions.generated.js +66 -69
- package/dist/server/api-client-core/apis/communication-preferences/subscriptions.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/conversations/custom-channels-types.generated.d.ts +445 -471
- package/dist/server/api-client-core/apis/conversations/custom-channels.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/conversations/custom-channels.generated.js +70 -73
- package/dist/server/api-client-core/apis/conversations/custom-channels.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/conversations/visitor-identification-types.generated.d.ts +28 -40
- package/dist/server/api-client-core/apis/conversations/visitor-identification.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/conversations/visitor-identification.generated.js +3 -2
- package/dist/server/api-client-core/apis/conversations/visitor-identification.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/conversations-types.generated.d.ts +768 -781
- package/dist/server/api-client-core/apis/conversations.generated.d.ts +4 -3
- package/dist/server/api-client-core/apis/conversations.generated.js +101 -102
- package/dist/server/api-client-core/apis/conversations.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/app-uninstalls-types.generated.d.ts +8 -19
- package/dist/server/api-client-core/apis/crm/app-uninstalls.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/crm/app-uninstalls.generated.js +3 -2
- package/dist/server/api-client-core/apis/crm/app-uninstalls.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/appointments-types.generated.d.ts +887 -891
- package/dist/server/api-client-core/apis/crm/appointments.generated.d.ts +7 -3
- package/dist/server/api-client-core/apis/crm/appointments.generated.js +105 -106
- package/dist/server/api-client-core/apis/crm/appointments.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/associations-schema-types.generated.d.ts +247 -260
- package/dist/server/api-client-core/apis/crm/associations-schema.generated.d.ts +4 -3
- package/dist/server/api-client-core/apis/crm/associations-schema.generated.js +48 -49
- package/dist/server/api-client-core/apis/crm/associations-schema.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/associations-types.generated.d.ts +576 -590
- package/dist/server/api-client-core/apis/crm/associations.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/associations.generated.js +71 -72
- package/dist/server/api-client-core/apis/crm/associations.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/calling-extensions-types.generated.d.ts +355 -379
- package/dist/server/api-client-core/apis/crm/calling-extensions.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/crm/calling-extensions.generated.js +34 -37
- package/dist/server/api-client-core/apis/crm/calling-extensions.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/calls-types.generated.d.ts +755 -769
- package/dist/server/api-client-core/apis/crm/calls.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/calls.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/calls.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/carts-types.generated.d.ts +755 -769
- package/dist/server/api-client-core/apis/crm/carts.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/carts.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/carts.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/commerce-payments-types.generated.d.ts +755 -769
- package/dist/server/api-client-core/apis/crm/commerce-payments.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/commerce-payments.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/commerce-payments.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/commerce-subscriptions-types.generated.d.ts +752 -766
- package/dist/server/api-client-core/apis/crm/commerce-subscriptions.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/commerce-subscriptions.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/commerce-subscriptions.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/communications-types.generated.d.ts +755 -769
- package/dist/server/api-client-core/apis/crm/communications.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/communications.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/communications.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/companies-types.generated.d.ts +769 -795
- package/dist/server/api-client-core/apis/crm/companies.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/companies.generated.js +59 -58
- package/dist/server/api-client-core/apis/crm/companies.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/contacts-types.generated.d.ts +786 -812
- package/dist/server/api-client-core/apis/crm/contacts.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/contacts.generated.js +60 -61
- package/dist/server/api-client-core/apis/crm/contacts.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/contracts-types.generated.d.ts +796 -777
- package/dist/server/api-client-core/apis/crm/contracts.generated.d.ts +8 -3
- package/dist/server/api-client-core/apis/crm/contracts.generated.js +60 -57
- package/dist/server/api-client-core/apis/crm/contracts.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/courses-types.generated.d.ts +758 -772
- package/dist/server/api-client-core/apis/crm/courses.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/courses.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/courses.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/crm-owners-types.generated.d.ts +103 -115
- package/dist/server/api-client-core/apis/crm/crm-owners.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/crm/crm-owners.generated.js +4 -3
- package/dist/server/api-client-core/apis/crm/crm-owners.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/custom-objects-types.generated.d.ts +833 -848
- package/dist/server/api-client-core/apis/crm/custom-objects.generated.d.ts +6 -3
- package/dist/server/api-client-core/apis/crm/custom-objects.generated.js +91 -90
- package/dist/server/api-client-core/apis/crm/custom-objects.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/deal-splits-types.generated.d.ts +158 -170
- package/dist/server/api-client-core/apis/crm/deal-splits.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/crm/deal-splits.generated.js +4 -3
- package/dist/server/api-client-core/apis/crm/deal-splits.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/deals-types.generated.d.ts +771 -785
- package/dist/server/api-client-core/apis/crm/deals.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/deals.generated.js +59 -58
- package/dist/server/api-client-core/apis/crm/deals.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/discounts-types.generated.d.ts +754 -768
- package/dist/server/api-client-core/apis/crm/discounts.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/discounts.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/discounts.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/emails-types.generated.d.ts +755 -769
- package/dist/server/api-client-core/apis/crm/emails.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/emails.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/emails.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/exports-types.generated.d.ts +227 -251
- package/dist/server/api-client-core/apis/crm/exports.generated.d.ts +2 -2
- package/dist/server/api-client-core/apis/crm/exports.generated.js +4 -5
- package/dist/server/api-client-core/apis/crm/exports.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/feedback-submissions-types.generated.d.ts +551 -565
- package/dist/server/api-client-core/apis/crm/feedback-submissions.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/feedback-submissions.generated.js +45 -46
- package/dist/server/api-client-core/apis/crm/feedback-submissions.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/fees-types.generated.d.ts +755 -769
- package/dist/server/api-client-core/apis/crm/fees.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/fees.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/fees.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/goal-targets-types.generated.d.ts +755 -769
- package/dist/server/api-client-core/apis/crm/goal-targets.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/goal-targets.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/goal-targets.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/imports-types.generated.d.ts +305 -329
- package/dist/server/api-client-core/apis/crm/imports.generated.d.ts +2 -2
- package/dist/server/api-client-core/apis/crm/imports.generated.js +20 -23
- package/dist/server/api-client-core/apis/crm/imports.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/invoices-types.generated.d.ts +755 -769
- package/dist/server/api-client-core/apis/crm/invoices.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/invoices.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/invoices.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/leads-types.generated.d.ts +755 -769
- package/dist/server/api-client-core/apis/crm/leads.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/leads.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/leads.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/limits-tracking-types.generated.d.ts +251 -263
- package/dist/server/api-client-core/apis/crm/limits-tracking.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/crm/limits-tracking.generated.js +4 -3
- package/dist/server/api-client-core/apis/crm/limits-tracking.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/line-items-types.generated.d.ts +755 -769
- package/dist/server/api-client-core/apis/crm/line-items.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/line-items.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/line-items.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/listings-types.generated.d.ts +758 -772
- package/dist/server/api-client-core/apis/crm/listings.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/listings.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/listings.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/lists-types.generated.d.ts +2075 -2111
- package/dist/server/api-client-core/apis/crm/lists.generated.d.ts +2 -2
- package/dist/server/api-client-core/apis/crm/lists.generated.js +97 -98
- package/dist/server/api-client-core/apis/crm/lists.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/meetings-types.generated.d.ts +755 -769
- package/dist/server/api-client-core/apis/crm/meetings.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/meetings.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/meetings.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/notes-types.generated.d.ts +755 -769
- package/dist/server/api-client-core/apis/crm/notes.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/notes.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/notes.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/object-library-types.generated.d.ts +24 -36
- package/dist/server/api-client-core/apis/crm/object-library.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/crm/object-library.generated.js +4 -3
- package/dist/server/api-client-core/apis/crm/object-library.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/objects-types.generated.d.ts +620 -645
- package/dist/server/api-client-core/apis/crm/objects.generated.d.ts +4 -3
- package/dist/server/api-client-core/apis/crm/objects.generated.js +66 -67
- package/dist/server/api-client-core/apis/crm/objects.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/orders-types.generated.d.ts +747 -761
- package/dist/server/api-client-core/apis/crm/orders.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/orders.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/orders.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/partner-clients-types.generated.d.ts +646 -660
- package/dist/server/api-client-core/apis/crm/partner-clients.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/partner-clients.generated.js +63 -62
- package/dist/server/api-client-core/apis/crm/partner-clients.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/partner-services-types.generated.d.ts +646 -660
- package/dist/server/api-client-core/apis/crm/partner-services.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/partner-services.generated.js +63 -62
- package/dist/server/api-client-core/apis/crm/partner-services.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/pipelines-types.generated.d.ts +320 -332
- package/dist/server/api-client-core/apis/crm/pipelines.generated.d.ts +2 -2
- package/dist/server/api-client-core/apis/crm/pipelines.generated.js +3 -2
- package/dist/server/api-client-core/apis/crm/pipelines.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/postal-mail-types.generated.d.ts +744 -758
- package/dist/server/api-client-core/apis/crm/postal-mail.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/postal-mail.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/postal-mail.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/products-types.generated.d.ts +747 -761
- package/dist/server/api-client-core/apis/crm/products.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/products.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/products.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/projects-types.generated.d.ts +761 -787
- package/dist/server/api-client-core/apis/crm/projects.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/projects.generated.js +59 -58
- package/dist/server/api-client-core/apis/crm/projects.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/properties-types.generated.d.ts +526 -528
- package/dist/server/api-client-core/apis/crm/properties.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/properties.generated.js +79 -78
- package/dist/server/api-client-core/apis/crm/properties.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/property-validations-types.generated.d.ts +71 -83
- package/dist/server/api-client-core/apis/crm/property-validations.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/crm/property-validations.generated.js +4 -3
- package/dist/server/api-client-core/apis/crm/property-validations.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/public-app-crm-cards-types.generated.d.ts +409 -433
- package/dist/server/api-client-core/apis/crm/public-app-crm-cards.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/crm/public-app-crm-cards.generated.js +24 -25
- package/dist/server/api-client-core/apis/crm/public-app-crm-cards.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/public-app-feature-flags-types.generated.d.ts +156 -169
- package/dist/server/api-client-core/apis/crm/public-app-feature-flags.generated.d.ts +4 -3
- package/dist/server/api-client-core/apis/crm/public-app-feature-flags.generated.js +55 -56
- package/dist/server/api-client-core/apis/crm/public-app-feature-flags.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/quotes-types.generated.d.ts +747 -761
- package/dist/server/api-client-core/apis/crm/quotes.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/quotes.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/quotes.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/schemas-types.generated.d.ts +575 -600
- package/dist/server/api-client-core/apis/crm/schemas.generated.d.ts +4 -3
- package/dist/server/api-client-core/apis/crm/schemas.generated.js +33 -34
- package/dist/server/api-client-core/apis/crm/schemas.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/services-types.generated.d.ts +750 -764
- package/dist/server/api-client-core/apis/crm/services.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/services.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/services.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/tasks-types.generated.d.ts +747 -761
- package/dist/server/api-client-core/apis/crm/tasks.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/tasks.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/tasks.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/taxes-types.generated.d.ts +747 -761
- package/dist/server/api-client-core/apis/crm/taxes.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/taxes.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/taxes.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/tickets-types.generated.d.ts +764 -790
- package/dist/server/api-client-core/apis/crm/tickets.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/tickets.generated.js +59 -58
- package/dist/server/api-client-core/apis/crm/tickets.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/timeline-types.generated.d.ts +136 -149
- package/dist/server/api-client-core/apis/crm/timeline.generated.d.ts +4 -3
- package/dist/server/api-client-core/apis/crm/timeline.generated.js +5 -6
- package/dist/server/api-client-core/apis/crm/timeline.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/transcriptions-types.generated.d.ts +104 -117
- package/dist/server/api-client-core/apis/crm/transcriptions.generated.d.ts +4 -3
- package/dist/server/api-client-core/apis/crm/transcriptions.generated.js +7 -10
- package/dist/server/api-client-core/apis/crm/transcriptions.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/users-types.generated.d.ts +747 -761
- package/dist/server/api-client-core/apis/crm/users.generated.d.ts +5 -3
- package/dist/server/api-client-core/apis/crm/users.generated.js +58 -57
- package/dist/server/api-client-core/apis/crm/users.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/crm/video-conferencing-extension-types.generated.d.ts +28 -40
- package/dist/server/api-client-core/apis/crm/video-conferencing-extension.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/crm/video-conferencing-extension.generated.js +4 -3
- package/dist/server/api-client-core/apis/crm/video-conferencing-extension.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/events/manage-event-definitions-types.generated.d.ts +909 -945
- package/dist/server/api-client-core/apis/events/manage-event-definitions.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/events/manage-event-definitions.generated.js +29 -30
- package/dist/server/api-client-core/apis/events/manage-event-definitions.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/events/send-event-completions-types.generated.d.ts +49 -62
- package/dist/server/api-client-core/apis/events/send-event-completions.generated.d.ts +4 -3
- package/dist/server/api-client-core/apis/events/send-event-completions.generated.js +4 -5
- package/dist/server/api-client-core/apis/events/send-event-completions.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/events-types.generated.d.ts +99 -111
- package/dist/server/api-client-core/apis/events.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/events.generated.js +4 -3
- package/dist/server/api-client-core/apis/events.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/files-types.generated.d.ts +636 -649
- package/dist/server/api-client-core/apis/files.generated.d.ts +4 -3
- package/dist/server/api-client-core/apis/files.generated.js +112 -113
- package/dist/server/api-client-core/apis/files.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/marketing/campaigns-public-api-types.generated.d.ts +799 -816
- package/dist/server/api-client-core/apis/marketing/campaigns-public-api.generated.d.ts +8 -3
- package/dist/server/api-client-core/apis/marketing/campaigns-public-api.generated.js +126 -127
- package/dist/server/api-client-core/apis/marketing/campaigns-public-api.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/marketing/marketing-emails-types.generated.d.ts +745 -769
- package/dist/server/api-client-core/apis/marketing/marketing-emails.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/marketing/marketing-emails.generated.js +100 -103
- package/dist/server/api-client-core/apis/marketing/marketing-emails.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/marketing/marketing-events-types.generated.d.ts +1504 -1546
- package/dist/server/api-client-core/apis/marketing/marketing-events.generated.d.ts +9 -3
- package/dist/server/api-client-core/apis/marketing/marketing-events.generated.js +162 -167
- package/dist/server/api-client-core/apis/marketing/marketing-events.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/marketing/single-send-types.generated.d.ts +91 -103
- package/dist/server/api-client-core/apis/marketing/single-send.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/marketing/single-send.generated.js +3 -2
- package/dist/server/api-client-core/apis/marketing/single-send.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/marketing/transactional-single-send-types.generated.d.ts +187 -200
- package/dist/server/api-client-core/apis/marketing/transactional-single-send.generated.d.ts +4 -3
- package/dist/server/api-client-core/apis/marketing/transactional-single-send.generated.js +14 -15
- package/dist/server/api-client-core/apis/marketing/transactional-single-send.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/meta/origins-types.generated.d.ts +41 -53
- package/dist/server/api-client-core/apis/meta/origins.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/meta/origins.generated.js +4 -3
- package/dist/server/api-client-core/apis/meta/origins.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/scheduler/meetings-types.generated.d.ts +850 -863
- package/dist/server/api-client-core/apis/scheduler/meetings.generated.d.ts +4 -3
- package/dist/server/api-client-core/apis/scheduler/meetings.generated.js +28 -29
- package/dist/server/api-client-core/apis/scheduler/meetings.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/settings/multicurrency-types.generated.d.ts +281 -296
- package/dist/server/api-client-core/apis/settings/multicurrency.generated.d.ts +6 -3
- package/dist/server/api-client-core/apis/settings/multicurrency.generated.js +32 -33
- package/dist/server/api-client-core/apis/settings/multicurrency.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/settings/tax-rates-types.generated.d.ts +71 -83
- package/dist/server/api-client-core/apis/settings/tax-rates.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/settings/tax-rates.generated.js +4 -3
- package/dist/server/api-client-core/apis/settings/tax-rates.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/settings/user-provisioning-types.generated.d.ts +202 -250
- package/dist/server/api-client-core/apis/settings/user-provisioning.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/settings/user-provisioning.generated.js +23 -26
- package/dist/server/api-client-core/apis/settings/user-provisioning.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/webhooks-journal-types.generated.d.ts +490 -526
- package/dist/server/api-client-core/apis/webhooks-journal.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/webhooks-journal.generated.js +65 -70
- package/dist/server/api-client-core/apis/webhooks-journal.generated.js.map +1 -1
- package/dist/server/api-client-core/apis/webhooks-types.generated.d.ts +816 -852
- package/dist/server/api-client-core/apis/webhooks.generated.d.ts +3 -3
- package/dist/server/api-client-core/apis/webhooks.generated.js +93 -98
- package/dist/server/api-client-core/apis/webhooks.generated.js.map +1 -1
- package/dist/server/api-client-core/binary-data.js.map +1 -1
- package/dist/server/api-client-core/client.js +5 -1
- package/dist/server/api-client-core/client.js.map +1 -1
- package/dist/server/api-client-core/codegen-helpers/file-op-wrappers.js.map +1 -1
- package/dist/server/api-client-core/errors.js.map +1 -1
- package/dist/server/api-client-core/op.js.map +1 -1
- package/dist/server/api-client-core/pagination.d.ts +2 -2
- package/dist/server/api-client-core/pagination.js +2 -2
- package/dist/server/api-client-core/pagination.js.map +1 -1
- package/dist/server/api-client-core/plugins/fetch-transport.js +33 -9
- package/dist/server/api-client-core/plugins/fetch-transport.js.map +1 -1
- package/dist/server/api-client-core/types.d.ts +1 -1
- package/dist/server/api-client.d.ts +184 -184
- package/dist/server/api-client.js +89 -89
- package/dist/server/constants.js +33 -6
- package/dist/server/constants.js.map +1 -1
- package/dist/server/deno/start.js.map +1 -1
- package/dist/server/hono/hono-request-handler.js +32 -23
- package/dist/server/hono/hono-request-handler.js.map +1 -1
- package/dist/server/hono/hubspot-connect-routes/auth-complete.js +158 -0
- package/dist/server/hono/hubspot-connect-routes/auth-complete.js.map +1 -0
- package/dist/server/hono/hubspot-connect-routes/auth-init-session.js +25 -12
- package/dist/server/hono/hubspot-connect-routes/auth-init-session.js.map +1 -1
- package/dist/server/hono/hubspot-connect-routes/auth-logout.js +32 -9
- package/dist/server/hono/hubspot-connect-routes/auth-logout.js.map +1 -1
- package/dist/server/hono/hubspot-connect-routes/auth-refresh.js +32 -18
- package/dist/server/hono/hubspot-connect-routes/auth-refresh.js.map +1 -1
- package/dist/server/hono/hubspot-connect-routes/cimd-client-metadata-types.js.map +1 -1
- package/dist/server/hono/hubspot-connect-routes/cimd-public-routes.js +4 -1
- package/dist/server/hono/hubspot-connect-routes/cimd-public-routes.js.map +1 -1
- package/dist/server/hono/hubspot-connect-routes/fetch-hubspot-client-metadata.js.map +1 -1
- package/dist/server/hono/hubspot-connect-routes/hubspot-connect-routes.js +4 -2
- package/dist/server/hono/hubspot-connect-routes/hubspot-connect-routes.js.map +1 -1
- package/dist/server/hono/hubspot-connect-routes/load-hubspot-connect-routes-env.js +5 -5
- package/dist/server/hono/hubspot-connect-routes/load-hubspot-connect-routes-env.js.map +1 -1
- package/dist/server/hono/hubspot-connect-routes/oauth-client.js.map +1 -1
- package/dist/server/hono/hubspot-connect-routes/utils.js +53 -6
- package/dist/server/hono/hubspot-connect-routes/utils.js.map +1 -1
- package/dist/server/hono/hubspot-connect-routes/whoami.js +51 -0
- package/dist/server/hono/hubspot-connect-routes/whoami.js.map +1 -0
- package/dist/server/hono/types.d.ts +9 -10
- package/dist/server/hono/utils/cookie-utils.js +2 -1
- package/dist/server/hono/utils/cookie-utils.js.map +1 -1
- package/dist/server/hono/utils/cors-middleware.js +85 -0
- package/dist/server/hono/utils/cors-middleware.js.map +1 -0
- package/dist/server/import-app-keys.js.map +1 -1
- package/dist/server/lovable/create-app-function-start.d.ts +1 -1
- package/dist/server/lovable/create-app-function-start.js +4 -6
- package/dist/server/lovable/create-app-function-start.js.map +1 -1
- package/dist/server/lovable/hubspot-connect/index.js.map +1 -1
- package/dist/server/lovable/hubspot-connect/run-hubspot-connect-lovable-server.js +14 -15
- package/dist/server/lovable/hubspot-connect/run-hubspot-connect-lovable-server.js.map +1 -1
- package/dist/server/sanitize-request.js +14 -11
- package/dist/server/sanitize-request.js.map +1 -1
- package/dist/server/secure-start-core.js +4 -5
- package/dist/server/secure-start-core.js.map +1 -1
- package/dist/server/shared/constants.js +22 -9
- package/dist/server/shared/constants.js.map +1 -1
- package/dist/server/shared/encoding/base64.js.map +1 -1
- package/dist/server/shared/encoding/sha256.js.map +1 -1
- package/dist/server/shared/logger.js.map +1 -1
- package/dist/server/types.d.ts +1 -35
- package/dist/server/utils/cookie-utils.js.map +1 -1
- package/dist/server/utils/dpop-utils.js.map +1 -1
- package/dist/server/utils/env-utils.js +60 -7
- package/dist/server/utils/env-utils.js.map +1 -1
- package/dist/server/utils/hubspot-dpop-auth-headers.js +38 -0
- package/dist/server/utils/hubspot-dpop-auth-headers.js.map +1 -0
- package/dist/server/utils/jwk-utils.js.map +1 -1
- package/dist/server/utils/jwt-utils.js.map +1 -1
- package/package.json +15 -21
- package/src/browser/app-connect-controller/README.md +5 -2
- package/src/browser/app-connect-controller/connect-start.test.ts +157 -0
- package/src/browser/app-connect-controller/connect-start.ts +18 -3
- package/src/browser/app-connect-controller/constants.ts +6 -4
- package/src/browser/app-connect-controller/create.ts +8 -2
- package/src/browser/app-connect-controller/disconnect.ts +5 -7
- package/src/browser/app-connect-controller/init.test.ts +275 -0
- package/src/browser/app-connect-controller/init.ts +44 -19
- package/src/browser/app-connect-controller/oauth-complete.test.ts +110 -0
- package/src/browser/app-connect-controller/oauth-complete.ts +53 -0
- package/src/browser/app-connect-controller/oauth-popup.test.ts +239 -0
- package/src/browser/app-connect-controller/oauth-popup.ts +160 -0
- package/src/browser/app-connect-controller/types.ts +3 -0
- package/src/browser/app-connect-controller/utils/iframe-utils.ts +12 -0
- package/src/browser/app-connect-controller/utils/resolve-oauth-connect-mode.test.ts +35 -0
- package/src/browser/app-connect-controller/utils/resolve-oauth-connect-mode.ts +21 -0
- package/src/browser/app-connect-controller/utils/session-utils.test.ts +73 -22
- package/src/browser/app-connect-controller/utils/session-utils.ts +74 -33
- package/src/browser/app-connect-controller/view-state.test.ts +1 -0
- package/src/browser/app-connect-controller/view-state.ts +1 -0
- package/src/browser/index.ts +1 -0
- package/src/browser/react/components/AppConnectHeader/AppConnectHeader.tsx +21 -34
- package/src/browser/react/components/ConnectButton/ConnectButton.tsx +1 -1
- package/src/browser/react/lovable/LovableHubSpotAppConnect.tsx +12 -2
- package/src/browser/types.ts +30 -5
- package/src/server/api-client-core/__tests__/errors.test.ts +309 -0
- package/src/server/api-client-core/__tests__/operation-headers.test.ts +251 -0
- package/src/server/api-client-core/apis/account/account-info-types.generated.ts +74 -88
- package/src/server/api-client-core/apis/account/account-info.generated.ts +2 -4
- package/src/server/api-client-core/apis/account/audit-logs-types.generated.ts +346 -360
- package/src/server/api-client-core/apis/account/audit-logs.generated.ts +2 -4
- package/src/server/api-client-core/apis/auth/oauth-types.generated.ts +81 -99
- package/src/server/api-client-core/apis/auth/oauth.generated.ts +1 -3
- package/src/server/api-client-core/apis/automation/actions-types.generated.ts +1162 -1188
- package/src/server/api-client-core/apis/automation/actions.generated.ts +10 -12
- package/src/server/api-client-core/apis/automation/sequences-types.generated.ts +379 -393
- package/src/server/api-client-core/apis/automation/sequences.generated.ts +1 -3
- package/src/server/api-client-core/apis/business-units-types.generated.ts +43 -59
- package/src/server/api-client-core/apis/business-units.generated.ts +9 -10
- package/src/server/api-client-core/apis/cms/authors-types.generated.ts +3823 -3853
- package/src/server/api-client-core/apis/cms/authors.generated.ts +31 -37
- package/src/server/api-client-core/apis/cms/blog-settings-types.generated.ts +3667 -3696
- package/src/server/api-client-core/apis/cms/blog-settings.generated.ts +46 -51
- package/src/server/api-client-core/apis/cms/cms-content-audit-types.generated.ts +138 -163
- package/src/server/api-client-core/apis/cms/cms-content-audit.generated.ts +2 -10
- package/src/server/api-client-core/apis/cms/domains-types.generated.ts +153 -167
- package/src/server/api-client-core/apis/cms/domains.generated.ts +2 -4
- package/src/server/api-client-core/apis/cms/hubdb-types.generated.ts +1013 -1063
- package/src/server/api-client-core/apis/cms/hubdb.generated.ts +3 -5
- package/src/server/api-client-core/apis/cms/media-bridge-types.generated.ts +8623 -8657
- package/src/server/api-client-core/apis/cms/media-bridge.generated.ts +16 -22
- package/src/server/api-client-core/apis/cms/pages-types.generated.ts +5259 -5272
- package/src/server/api-client-core/apis/cms/pages.generated.ts +262 -226
- package/src/server/api-client-core/apis/cms/posts-types.generated.ts +4420 -4438
- package/src/server/api-client-core/apis/cms/posts.generated.ts +108 -106
- package/src/server/api-client-core/apis/cms/site-search-types.generated.ts +1867 -1881
- package/src/server/api-client-core/apis/cms/site-search.generated.ts +2 -4
- package/src/server/api-client-core/apis/cms/source-code-types.generated.ts +144 -177
- package/src/server/api-client-core/apis/cms/source-code.generated.ts +15 -23
- package/src/server/api-client-core/apis/cms/tags-types.generated.ts +3820 -3845
- package/src/server/api-client-core/apis/cms/tags.generated.ts +80 -82
- package/src/server/api-client-core/apis/cms/url-mappings-types.generated.ts +188 -202
- package/src/server/api-client-core/apis/cms/url-mappings.generated.ts +2 -4
- package/src/server/api-client-core/apis/cms/url-redirects-types.generated.ts +182 -196
- package/src/server/api-client-core/apis/cms/url-redirects.generated.ts +2 -4
- package/src/server/api-client-core/apis/communication-preferences/subscriptions-types.generated.ts +810 -828
- package/src/server/api-client-core/apis/communication-preferences/subscriptions.generated.ts +66 -63
- package/src/server/api-client-core/apis/conversations/custom-channels-types.generated.ts +564 -601
- package/src/server/api-client-core/apis/conversations/custom-channels.generated.ts +90 -86
- package/src/server/api-client-core/apis/conversations/visitor-identification-types.generated.ts +31 -44
- package/src/server/api-client-core/apis/conversations/visitor-identification.generated.ts +6 -8
- package/src/server/api-client-core/apis/conversations-types.generated.ts +955 -991
- package/src/server/api-client-core/apis/conversations.generated.ts +6 -5
- package/src/server/api-client-core/apis/crm/app-uninstalls-types.generated.ts +7 -19
- package/src/server/api-client-core/apis/crm/app-uninstalls.generated.ts +2 -4
- package/src/server/api-client-core/apis/crm/appointments-types.generated.ts +965 -969
- package/src/server/api-client-core/apis/crm/appointments.generated.ts +143 -137
- package/src/server/api-client-core/apis/crm/associations-schema-types.generated.ts +292 -322
- package/src/server/api-client-core/apis/crm/associations-schema.generated.ts +17 -19
- package/src/server/api-client-core/apis/crm/associations-types.generated.ts +657 -675
- package/src/server/api-client-core/apis/crm/associations.generated.ts +70 -70
- package/src/server/api-client-core/apis/crm/calling-extensions-types.generated.ts +417 -441
- package/src/server/api-client-core/apis/crm/calling-extensions.generated.ts +62 -69
- package/src/server/api-client-core/apis/crm/calls-types.generated.ts +839 -856
- package/src/server/api-client-core/apis/crm/calls.generated.ts +42 -44
- package/src/server/api-client-core/apis/crm/carts-types.generated.ts +839 -856
- package/src/server/api-client-core/apis/crm/carts.generated.ts +42 -44
- package/src/server/api-client-core/apis/crm/commerce-payments-types.generated.ts +847 -856
- package/src/server/api-client-core/apis/crm/commerce-payments.generated.ts +73 -73
- package/src/server/api-client-core/apis/crm/commerce-subscriptions-types.generated.ts +844 -853
- package/src/server/api-client-core/apis/crm/commerce-subscriptions.generated.ts +50 -51
- package/src/server/api-client-core/apis/crm/communications-types.generated.ts +846 -856
- package/src/server/api-client-core/apis/crm/communications.generated.ts +73 -73
- package/src/server/api-client-core/apis/crm/companies-types.generated.ts +859 -885
- package/src/server/api-client-core/apis/crm/companies.generated.ts +44 -50
- package/src/server/api-client-core/apis/crm/contacts-types.generated.ts +875 -907
- package/src/server/api-client-core/apis/crm/contacts.generated.ts +46 -52
- package/src/server/api-client-core/apis/crm/contracts-types.generated.ts +894 -862
- package/src/server/api-client-core/apis/crm/contracts.generated.ts +66 -56
- package/src/server/api-client-core/apis/crm/courses-types.generated.ts +842 -859
- package/src/server/api-client-core/apis/crm/courses.generated.ts +42 -44
- package/src/server/api-client-core/apis/crm/crm-owners-types.generated.ts +102 -115
- package/src/server/api-client-core/apis/crm/crm-owners.generated.ts +2 -4
- package/src/server/api-client-core/apis/crm/custom-objects-types.generated.ts +900 -915
- package/src/server/api-client-core/apis/crm/custom-objects.generated.ts +128 -126
- package/src/server/api-client-core/apis/crm/deal-splits-types.generated.ts +157 -170
- package/src/server/api-client-core/apis/crm/deal-splits.generated.ts +2 -4
- package/src/server/api-client-core/apis/crm/deals-types.generated.ts +858 -875
- package/src/server/api-client-core/apis/crm/deals.generated.ts +42 -44
- package/src/server/api-client-core/apis/crm/discounts-types.generated.ts +842 -855
- package/src/server/api-client-core/apis/crm/discounts.generated.ts +42 -44
- package/src/server/api-client-core/apis/crm/emails-types.generated.ts +839 -856
- package/src/server/api-client-core/apis/crm/emails.generated.ts +42 -44
- package/src/server/api-client-core/apis/crm/exports-types.generated.ts +284 -314
- package/src/server/api-client-core/apis/crm/exports.generated.ts +6 -11
- package/src/server/api-client-core/apis/crm/feedback-submissions-types.generated.ts +607 -622
- package/src/server/api-client-core/apis/crm/feedback-submissions.generated.ts +84 -80
- package/src/server/api-client-core/apis/crm/fees-types.generated.ts +839 -856
- package/src/server/api-client-core/apis/crm/fees.generated.ts +42 -44
- package/src/server/api-client-core/apis/crm/goal-targets-types.generated.ts +845 -856
- package/src/server/api-client-core/apis/crm/goal-targets.generated.ts +50 -51
- package/src/server/api-client-core/apis/crm/imports-types.generated.ts +663 -692
- package/src/server/api-client-core/apis/crm/imports.generated.ts +2 -7
- package/src/server/api-client-core/apis/crm/invoices-types.generated.ts +839 -856
- package/src/server/api-client-core/apis/crm/invoices.generated.ts +42 -44
- package/src/server/api-client-core/apis/crm/leads-types.generated.ts +839 -856
- package/src/server/api-client-core/apis/crm/leads.generated.ts +42 -44
- package/src/server/api-client-core/apis/crm/limits-tracking-types.generated.ts +263 -275
- package/src/server/api-client-core/apis/crm/limits-tracking.generated.ts +2 -4
- package/src/server/api-client-core/apis/crm/line-items-types.generated.ts +843 -856
- package/src/server/api-client-core/apis/crm/line-items.generated.ts +42 -44
- package/src/server/api-client-core/apis/crm/listings-types.generated.ts +842 -859
- package/src/server/api-client-core/apis/crm/listings.generated.ts +42 -44
- package/src/server/api-client-core/apis/crm/lists-types.generated.ts +2794 -2845
- package/src/server/api-client-core/apis/crm/lists.generated.ts +8 -20
- package/src/server/api-client-core/apis/crm/meetings-types.generated.ts +839 -856
- package/src/server/api-client-core/apis/crm/meetings.generated.ts +42 -44
- package/src/server/api-client-core/apis/crm/notes-types.generated.ts +839 -856
- package/src/server/api-client-core/apis/crm/notes.generated.ts +42 -44
- package/src/server/api-client-core/apis/crm/object-library-types.generated.ts +26 -39
- package/src/server/api-client-core/apis/crm/object-library.generated.ts +2 -4
- package/src/server/api-client-core/apis/crm/objects-types.generated.ts +688 -716
- package/src/server/api-client-core/apis/crm/objects.generated.ts +79 -83
- package/src/server/api-client-core/apis/crm/orders-types.generated.ts +829 -846
- package/src/server/api-client-core/apis/crm/orders.generated.ts +45 -47
- package/src/server/api-client-core/apis/crm/partner-clients-types.generated.ts +721 -735
- package/src/server/api-client-core/apis/crm/partner-clients.generated.ts +60 -60
- package/src/server/api-client-core/apis/crm/partner-services-types.generated.ts +720 -734
- package/src/server/api-client-core/apis/crm/partner-services.generated.ts +60 -60
- package/src/server/api-client-core/apis/crm/pipelines-types.generated.ts +366 -388
- package/src/server/api-client-core/apis/crm/pipelines.generated.ts +2 -4
- package/src/server/api-client-core/apis/crm/postal-mail-types.generated.ts +830 -843
- package/src/server/api-client-core/apis/crm/postal-mail.generated.ts +45 -47
- package/src/server/api-client-core/apis/crm/products-types.generated.ts +829 -846
- package/src/server/api-client-core/apis/crm/products.generated.ts +45 -47
- package/src/server/api-client-core/apis/crm/projects-types.generated.ts +845 -875
- package/src/server/api-client-core/apis/crm/projects.generated.ts +47 -53
- package/src/server/api-client-core/apis/crm/properties-types.generated.ts +623 -626
- package/src/server/api-client-core/apis/crm/properties.generated.ts +33 -28
- package/src/server/api-client-core/apis/crm/property-validations-types.generated.ts +160 -174
- package/src/server/api-client-core/apis/crm/property-validations.generated.ts +2 -6
- package/src/server/api-client-core/apis/crm/public-app-crm-cards-types.generated.ts +467 -494
- package/src/server/api-client-core/apis/crm/public-app-crm-cards.generated.ts +7 -15
- package/src/server/api-client-core/apis/crm/public-app-feature-flags-types.generated.ts +166 -177
- package/src/server/api-client-core/apis/crm/public-app-feature-flags.generated.ts +6 -8
- package/src/server/api-client-core/apis/crm/quotes-types.generated.ts +829 -846
- package/src/server/api-client-core/apis/crm/quotes.generated.ts +45 -47
- package/src/server/api-client-core/apis/crm/schemas-types.generated.ts +613 -640
- package/src/server/api-client-core/apis/crm/schemas.generated.ts +8 -14
- package/src/server/api-client-core/apis/crm/services-types.generated.ts +832 -849
- package/src/server/api-client-core/apis/crm/services.generated.ts +45 -47
- package/src/server/api-client-core/apis/crm/tasks-types.generated.ts +829 -846
- package/src/server/api-client-core/apis/crm/tasks.generated.ts +45 -47
- package/src/server/api-client-core/apis/crm/taxes-types.generated.ts +829 -846
- package/src/server/api-client-core/apis/crm/taxes.generated.ts +45 -47
- package/src/server/api-client-core/apis/crm/tickets-types.generated.ts +848 -878
- package/src/server/api-client-core/apis/crm/tickets.generated.ts +47 -53
- package/src/server/api-client-core/apis/crm/timeline-types.generated.ts +144 -161
- package/src/server/api-client-core/apis/crm/timeline.generated.ts +6 -8
- package/src/server/api-client-core/apis/crm/transcriptions-types.generated.ts +149 -164
- package/src/server/api-client-core/apis/crm/transcriptions.generated.ts +22 -22
- package/src/server/api-client-core/apis/crm/users-types.generated.ts +829 -846
- package/src/server/api-client-core/apis/crm/users.generated.ts +45 -47
- package/src/server/api-client-core/apis/crm/video-conferencing-extension-types.generated.ts +29 -42
- package/src/server/api-client-core/apis/crm/video-conferencing-extension.generated.ts +17 -19
- package/src/server/api-client-core/apis/events/manage-event-definitions-types.generated.ts +1509 -1558
- package/src/server/api-client-core/apis/events/manage-event-definitions.generated.ts +55 -65
- package/src/server/api-client-core/apis/events/send-event-completions-types.generated.ts +51 -68
- package/src/server/api-client-core/apis/events/send-event-completions.generated.ts +10 -10
- package/src/server/api-client-core/apis/events-types.generated.ts +97 -110
- package/src/server/api-client-core/apis/events.generated.ts +2 -4
- package/src/server/api-client-core/apis/files-types.generated.ts +727 -757
- package/src/server/api-client-core/apis/files.generated.ts +3 -5
- package/src/server/api-client-core/apis/marketing/campaigns-public-api-types.generated.ts +1221 -1234
- package/src/server/api-client-core/apis/marketing/campaigns-public-api.generated.ts +45 -47
- package/src/server/api-client-core/apis/marketing/marketing-emails-types.generated.ts +3704 -3733
- package/src/server/api-client-core/apis/marketing/marketing-emails.generated.ts +44 -52
- package/src/server/api-client-core/apis/marketing/marketing-events-types.generated.ts +1787 -1848
- package/src/server/api-client-core/apis/marketing/marketing-events.generated.ts +236 -241
- package/src/server/api-client-core/apis/marketing/single-send-types.generated.ts +142 -155
- package/src/server/api-client-core/apis/marketing/single-send.generated.ts +2 -6
- package/src/server/api-client-core/apis/marketing/transactional-single-send-types.generated.ts +253 -269
- package/src/server/api-client-core/apis/marketing/transactional-single-send.generated.ts +32 -31
- package/src/server/api-client-core/apis/meta/origins-types.generated.ts +40 -56
- package/src/server/api-client-core/apis/meta/origins.generated.ts +2 -4
- package/src/server/api-client-core/apis/scheduler/meetings-types.generated.ts +1001 -1014
- package/src/server/api-client-core/apis/scheduler/meetings.generated.ts +6 -8
- package/src/server/api-client-core/apis/settings/multicurrency-types.generated.ts +1906 -1912
- package/src/server/api-client-core/apis/settings/multicurrency.generated.ts +64 -63
- package/src/server/api-client-core/apis/settings/tax-rates-types.generated.ts +71 -85
- package/src/server/api-client-core/apis/settings/tax-rates.generated.ts +2 -4
- package/src/server/api-client-core/apis/settings/user-provisioning-types.generated.ts +207 -257
- package/src/server/api-client-core/apis/settings/user-provisioning.generated.ts +8 -24
- package/src/server/api-client-core/apis/webhooks-journal-types.generated.ts +740 -771
- package/src/server/api-client-core/apis/webhooks-journal.generated.ts +47 -59
- package/src/server/api-client-core/apis/webhooks-types.generated.ts +1194 -1228
- package/src/server/api-client-core/apis/webhooks.generated.ts +52 -64
- package/src/server/api-client-core/client.ts +5 -1
- package/src/server/api-client-core/pagination.ts +2 -2
- package/src/server/api-client-core/plugins/fetch-transport.ts +70 -12
- package/src/server/api-client-core/types.ts +1 -1
- package/src/server/constants.ts +29 -4
- package/src/server/hono/hono-request-handler.ts +68 -27
- package/src/server/hono/hubspot-connect-routes/auth-complete.test.ts +394 -0
- package/src/server/hono/hubspot-connect-routes/{auth-callback.ts → auth-complete.ts} +81 -30
- package/src/server/hono/hubspot-connect-routes/auth-init-session.test.ts +114 -30
- package/src/server/hono/hubspot-connect-routes/auth-init-session.ts +35 -10
- package/src/server/hono/hubspot-connect-routes/auth-logout.test.ts +13 -0
- package/src/server/hono/hubspot-connect-routes/auth-logout.ts +39 -10
- package/src/server/hono/hubspot-connect-routes/auth-refresh.test.ts +6 -0
- package/src/server/hono/hubspot-connect-routes/auth-refresh.ts +24 -9
- package/src/server/hono/hubspot-connect-routes/cimd-public-routes.test.ts +7 -6
- package/src/server/hono/hubspot-connect-routes/cimd-public-routes.ts +5 -1
- package/src/server/hono/hubspot-connect-routes/hubspot-connect-routes.ts +11 -3
- package/src/server/hono/hubspot-connect-routes/load-hubspot-connect-routes-env.test.ts +17 -24
- package/src/server/hono/hubspot-connect-routes/load-hubspot-connect-routes-env.ts +8 -8
- package/src/server/hono/hubspot-connect-routes/utils.test.ts +16 -46
- package/src/server/hono/hubspot-connect-routes/utils.ts +61 -5
- package/src/server/hono/hubspot-connect-routes/whoami.ts +74 -0
- package/src/server/hono/types.ts +11 -10
- package/src/server/hono/utils/cookie-utils.ts +27 -2
- package/src/server/hono/utils/cors-middleware.test.ts +80 -0
- package/src/server/hono/utils/cors-middleware.ts +95 -0
- package/src/server/lovable/create-app-function-start.ts +4 -7
- package/src/server/lovable/hubspot-connect/run-hubspot-connect-lovable-server.ts +21 -16
- package/src/server/sanitize-request.ts +15 -12
- package/src/server/secure-start-core.ts +7 -6
- package/src/server/types.ts +2 -38
- package/src/server/utils/env-utils.test.ts +140 -12
- package/src/server/utils/env-utils.ts +80 -6
- package/src/server/utils/hubspot-dpop-auth-headers.test.ts +43 -0
- package/src/server/utils/hubspot-dpop-auth-headers.ts +48 -0
- package/src/shared/constants.ts +40 -3
- package/src/shared/wire-types.ts +49 -0
- package/dist/browser/HubSpotAppConnect-BW45gyDs.js.map +0 -1
- package/dist/browser/create-vctOhpX9.js.map +0 -1
- package/dist/server/hono/hubspot-connect-routes/auth-callback.js +0 -125
- package/dist/server/hono/hubspot-connect-routes/auth-callback.js.map +0 -1
- package/dist/server/proxy.js +0 -68
- package/dist/server/proxy.js.map +0 -1
- package/src/server/hono/hubspot-connect-routes/auth-callback.test.ts +0 -225
- package/src/server/proxy.test.ts +0 -80
- package/src/server/proxy.ts +0 -116
|
@@ -1,1788 +1,1746 @@
|
|
|
1
1
|
import { Operation } from "../../types.js";
|
|
2
2
|
|
|
3
3
|
//#region src/server/api-client-core/apis/marketing/marketing-events-types.generated.d.ts
|
|
4
|
-
declare namespace
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
/**
|
|
1138
|
-
*
|
|
1139
|
-
*/
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
prev?: Schemas.PreviousPage;
|
|
1153
|
-
}
|
|
1154
|
-
interface ParticipationAssociations {
|
|
1155
|
-
contact: Schemas.ContactAssociation;
|
|
1156
|
-
marketingEvent: Schemas.MarketingEventAssociation;
|
|
1157
|
-
}
|
|
1158
|
-
interface ParticipationBreakdown {
|
|
1159
|
-
associations: Schemas.ParticipationAssociations;
|
|
1160
|
-
/**
|
|
1161
|
-
* The creation time and date of the target marketing event
|
|
1162
|
-
*/
|
|
1163
|
-
createdAt: string;
|
|
1164
|
-
/**
|
|
1165
|
-
* The internal ID of the target marketing event
|
|
1166
|
-
*/
|
|
1167
|
-
id: string;
|
|
1168
|
-
properties: Schemas.ParticipationProperties;
|
|
1169
|
-
}
|
|
1170
|
-
interface ParticipationProperties {
|
|
1171
|
-
/**
|
|
1172
|
-
* The number of seconds the participation lasted
|
|
1173
|
-
*/
|
|
1174
|
-
attendanceDurationSeconds?: number;
|
|
1175
|
-
/**
|
|
1176
|
-
* Percentage of the participation duration relative to the event duration
|
|
1177
|
-
*/
|
|
1178
|
-
attendancePercentage?: string;
|
|
1179
|
-
/**
|
|
1180
|
-
* The state of the participation
|
|
1181
|
-
*/
|
|
1182
|
-
attendanceState: 'ATTENDED' | 'CANCELLED' | 'EMPTY' | 'NO_SHOW' | 'REGISTERED';
|
|
1183
|
-
/**
|
|
1184
|
-
* Timestamp of when the participation occurred
|
|
1185
|
-
*/
|
|
1186
|
-
occurredAt: number;
|
|
1187
|
-
}
|
|
1188
|
-
/**
|
|
1189
|
-
* specifies the paging information needed to retrieve the previous set of results in a paginated API response
|
|
1190
|
-
*/
|
|
1191
|
-
interface PreviousPage {
|
|
1192
|
-
/**
|
|
1193
|
-
* A paging cursor token for retrieving previous pages.
|
|
1194
|
-
*/
|
|
1195
|
-
before: string;
|
|
1196
|
-
/**
|
|
1197
|
-
* A URL that can be used to retrieve the previous pages' results.
|
|
1198
|
-
*/
|
|
1199
|
-
link?: string;
|
|
1200
|
-
}
|
|
1201
|
-
/**
|
|
1202
|
-
* Represents a single custom property of a marketing event, storing its name, value, metadata (like source, timestamp, and sensitivity), and related audit information for tracking changes.
|
|
1203
|
-
*/
|
|
1204
|
-
interface PropertyValue {
|
|
1205
|
-
/**
|
|
1206
|
-
* Level of data sensitivity
|
|
1207
|
-
*/
|
|
1208
|
-
dataSensitivity: 'high' | 'none' | 'standard';
|
|
1209
|
-
/**
|
|
1210
|
-
* Indicates whether the property is encrypted
|
|
1211
|
-
*/
|
|
1212
|
-
isEncrypted: boolean;
|
|
1213
|
-
/**
|
|
1214
|
-
* Indicates whether the property value is stored as a large value in the storage
|
|
1215
|
-
*/
|
|
1216
|
-
isLargeValue: boolean;
|
|
1217
|
-
/**
|
|
1218
|
-
* Name of custom property
|
|
1219
|
-
*/
|
|
1220
|
-
name: string;
|
|
1221
|
-
/**
|
|
1222
|
-
* The timestamp that indicates when the value being written is persisted in storage
|
|
1223
|
-
*/
|
|
1224
|
-
persistenceTimestamp: number;
|
|
1225
|
-
/**
|
|
1226
|
-
* The ID of the request
|
|
1227
|
-
*/
|
|
1228
|
-
requestId: string;
|
|
1229
|
-
/**
|
|
1230
|
-
* Indicates whether the property is selected
|
|
1231
|
-
*/
|
|
1232
|
-
selectedByUser: boolean;
|
|
1233
|
-
/**
|
|
1234
|
-
* Timestamp of when the property was selected by the user
|
|
1235
|
-
*/
|
|
1236
|
-
selectedByUserTimestamp: number;
|
|
1237
|
-
/**
|
|
1238
|
-
* Source of the property
|
|
1239
|
-
*/
|
|
1240
|
-
source: 'ACADEMY' | 'ACCEPTANCE_TEST' | 'ACTIVITY_AUTO_ASSOCIATE' | 'ACTIVITY_LOG_REVERT' | 'ADS' | 'AI_GROUP' | 'ANALYTICS' | 'API' | 'APPROVALS' | 'ASSISTS' | 'ASSOCIATIONS' | 'AUTO_ASSOCIATE_BY_DOMAIN' | 'AUTOMATION_JOURNEY' | 'AUTOMATION_PLATFORM' | 'AVATARS_SERVICE' | 'BATCH_UPDATE' | 'BCC_TO_CRM' | 'BEHAVIORAL_EVENTS' | 'BET_ASSIGNMENT' | 'BET_CRM_CONNECTOR' | 'BIDEN' | 'BILLING' | 'BOT' | 'CALCULATED' | 'CENTRAL_EXCHANGE_RATES' | 'CHATSPOT' | 'CLONE_OBJECTS' | 'COMMUNICATOR' | 'COMPANIES' | 'COMPANY_FAMILIES' | 'COMPANY_INSIGHTS' | 'CONNECTED_ACCOUNT' | 'CONTACTS' | 'CONTACTS_WEB' | 'CONTENT_MEMBERSHIP' | 'CONVERSATIONAL_ENRICHMENT' | 'CONVERSATIONS' | 'CRM_PROCESSES_PLATFORM' | 'CRM_UI' | 'CRM_UI_BULK_ACTION' | 'CUSTOMER_AGENT' | 'DATA_ENRICHMENT' | 'DATA_QUALITY' | 'DATASET' | 'DEALS' | 'DEFAULT' | 'DELETE_OBJECTS' | 'EMAIL' | 'EMAIL_INBOX_IMPORT' | 'EMAIL_INTEGRATION' | 'ENGAGEMENTS' | 'EXTENSION' | 'FILE_MANAGER' | 'FLYWHEEL_PRODUCT_DATA_SYNC' | 'FORECASTING' | 'FORM' | 'FORWARD_TO_CRM' | 'GMAIL_INTEGRATION' | 'GOALS' | 'HEISENBERG' | 'HELP_DESK' | 'HELP_DESK_AI' | 'IMPORT' | 'INTEGRATION' | 'INTEGRATIONS_PLATFORM' | 'INTEGRATIONS_SYNC' | 'INTENT' | 'INTERNAL_PROCESSING' | 'LEADIN' | 'LEGAL_BASIS_REMEDIATION' | 'MARKET_SOURCING' | 'MARKETPLACE' | 'MARKETS' | 'MEETINGS' | 'MERGE_COMPANIES' | 'MERGE_CONTACTS' | 'MERGE_OBJECTS' | 'MERGE_REVERT_OBJECTS' | 'MICROAPPS' | 'MIGRATION' | 'MOBILE_ANDROID' | 'MOBILE_IOS' | 'PAYMENTS' | 'PIPELINE_SETTINGS' | 'PLAYBOOKS' | 'PORTAL_OBJECT_SYNC' | 'PORTAL_USER_ASSOCIATOR' | 'PRESENTATIONS' | 'PRIMARY_AUTOMATION' | 'PROPERTY_DEFAULT_VALUE' | 'PROPERTY_RESTORE' | 'PROPERTY_SETTINGS' | 'PROSPECTING_AGENT' | 'QUOTAS' | 'QUOTES' | 'RECYCLING_BIN' | 'RESTORE_OBJECTS' | 'REVENUE_PLATFORM' | 'SALES' | 'SALES_MESSAGES' | 'SALESFORCE' | 'SEQUENCES' | 'SETTINGS' | 'SIDEKICK' | 'SIGNALS' | 'SLACK_INTEGRATION' | 'SMART_DATA_CAPTURE' | 'SOCIAL' | 'SUCCESS' | 'TALLY' | 'TASK' | 'UNKNOWN' | 'WAL_INCREMENTAL' | 'WORK_UI' | 'WORKFLOW_CONTACT_DELETE_ACTION' | 'WORKFLOWS';
|
|
1241
|
-
/**
|
|
1242
|
-
* ID of the source of the property
|
|
1243
|
-
*/
|
|
1244
|
-
sourceId: string;
|
|
1245
|
-
/**
|
|
1246
|
-
* Label of the source of the property
|
|
1247
|
-
*/
|
|
1248
|
-
sourceLabel: string;
|
|
1249
|
-
/**
|
|
1250
|
-
* Source metadata encoded as a base64 string
|
|
1251
|
-
*/
|
|
1252
|
-
sourceMetadata: string;
|
|
1253
|
-
/**
|
|
1254
|
-
* Indicates which upstream service made the property change
|
|
1255
|
-
*/
|
|
1256
|
-
sourceUpstreamDeployable: string;
|
|
1257
|
-
/**
|
|
1258
|
-
* The unique identifier associated with the source.
|
|
1259
|
-
*/
|
|
1260
|
-
sourceVid: number[];
|
|
1261
|
-
/**
|
|
1262
|
-
* Timestamp of the request
|
|
1263
|
-
*/
|
|
1264
|
-
timestamp: number;
|
|
1265
|
-
/**
|
|
1266
|
-
* The unit
|
|
1267
|
-
*/
|
|
1268
|
-
unit: string;
|
|
1269
|
-
/**
|
|
1270
|
-
* The ID of the user who last updated the property
|
|
1271
|
-
*/
|
|
1272
|
-
updatedByUserId: number;
|
|
1273
|
-
/**
|
|
1274
|
-
* Indicates if the persistence timestamp is the same as storage version timestamp
|
|
1275
|
-
*/
|
|
1276
|
-
useTimestampAsPersistenceTimestamp: boolean;
|
|
1277
|
-
/**
|
|
1278
|
-
* Custom property value
|
|
1279
|
-
*/
|
|
1280
|
-
value: string;
|
|
1281
|
-
}
|
|
1282
|
-
interface PublicList {
|
|
1283
|
-
/**
|
|
1284
|
-
* Timestamp of the creation of the list
|
|
1285
|
-
*/
|
|
1286
|
-
createdAt?: string;
|
|
1287
|
-
/**
|
|
1288
|
-
* The ID of the user who created the list
|
|
1289
|
-
*/
|
|
1290
|
-
createdById?: string;
|
|
1291
|
-
/**
|
|
1292
|
-
* Timestamp of the deletion of the list
|
|
1293
|
-
*/
|
|
1294
|
-
deletedAt?: string;
|
|
1295
|
-
/**
|
|
1296
|
-
* Timestamp of the last update of the list filters
|
|
1297
|
-
*/
|
|
1298
|
-
filtersUpdatedAt?: string;
|
|
1299
|
-
/**
|
|
1300
|
-
* An internal ID of the list
|
|
1301
|
-
*/
|
|
1302
|
-
listId: string;
|
|
1303
|
-
/**
|
|
1304
|
-
* A number that represents a version of the list
|
|
1305
|
-
*/
|
|
1306
|
-
listVersion: number;
|
|
1307
|
-
/**
|
|
1308
|
-
* The name of the list
|
|
1309
|
-
*/
|
|
1310
|
-
name: string;
|
|
1311
|
-
/**
|
|
1312
|
-
* The internal ID of the object type of the list
|
|
1313
|
-
*/
|
|
1314
|
-
objectTypeId: string;
|
|
1315
|
-
/**
|
|
1316
|
-
* Represents the current processing status of the list
|
|
1317
|
-
*/
|
|
1318
|
-
processingStatus: string;
|
|
1319
|
-
/**
|
|
1320
|
-
* Processing type of the list
|
|
1321
|
-
*/
|
|
1322
|
-
processingType: string;
|
|
1323
|
-
/**
|
|
1324
|
-
* The size of the result list
|
|
1325
|
-
*/
|
|
1326
|
-
size?: number;
|
|
1327
|
-
/**
|
|
1328
|
-
* Timestamp of the last update of the list
|
|
1329
|
-
*/
|
|
1330
|
-
updatedAt?: string;
|
|
1331
|
-
/**
|
|
1332
|
-
* The ID of the user who last updated the list
|
|
1333
|
-
*/
|
|
1334
|
-
updatedById?: string;
|
|
1335
|
-
}
|
|
1336
|
-
interface SearchPublicResponseWrapper {
|
|
1337
|
-
/**
|
|
1338
|
-
* The ID of the source application of the marketing event
|
|
1339
|
-
*/
|
|
1340
|
-
appId: number;
|
|
1341
|
-
/**
|
|
1342
|
-
* The account ID associated with this marketing event in the external application
|
|
1343
|
-
*/
|
|
1344
|
-
externalAccountId: string;
|
|
1345
|
-
/**
|
|
1346
|
-
* The ID of the marketing event in the external event application
|
|
1347
|
-
*/
|
|
1348
|
-
externalEventId: string;
|
|
1349
|
-
/**
|
|
1350
|
-
* The internal ID of the marketing event in HubSpot
|
|
1351
|
-
*/
|
|
1352
|
-
objectId: string;
|
|
1353
|
-
}
|
|
1354
|
-
/**
|
|
1355
|
-
* Ye olde error
|
|
1356
|
-
*/
|
|
1357
|
-
interface StandardError {
|
|
1358
|
-
/**
|
|
1359
|
-
* The category of the error
|
|
1360
|
-
*/
|
|
1361
|
-
category: string;
|
|
1362
|
-
/**
|
|
1363
|
-
* The object that contains details of the errors
|
|
1364
|
-
*/
|
|
1365
|
-
context: Record<string, string[]>;
|
|
1366
|
-
/**
|
|
1367
|
-
* The detailed error objects.
|
|
1368
|
-
*/
|
|
1369
|
-
errors: Schemas.ErrorDetail[];
|
|
1370
|
-
/**
|
|
1371
|
-
* The ID of the request
|
|
1372
|
-
*/
|
|
1373
|
-
id?: string;
|
|
1374
|
-
/**
|
|
1375
|
-
* Results of the request
|
|
1376
|
-
*/
|
|
1377
|
-
links: Record<string, string>;
|
|
1378
|
-
/**
|
|
1379
|
-
* A human readable message describing the error along with remediation steps where appropriate
|
|
1380
|
-
*/
|
|
1381
|
-
message: string;
|
|
1382
|
-
/**
|
|
1383
|
-
* Status of the response
|
|
1384
|
-
*/
|
|
1385
|
-
status: string;
|
|
1386
|
-
/**
|
|
1387
|
-
* The Sub-category of the error
|
|
1388
|
-
*/
|
|
1389
|
-
subCategory?: Record<string, never>;
|
|
1390
|
-
}
|
|
1391
|
-
interface SubscriberEmailResponse {
|
|
1392
|
-
/**
|
|
1393
|
-
* The email of the contact
|
|
1394
|
-
*/
|
|
1395
|
-
email: string;
|
|
1396
|
-
/**
|
|
1397
|
-
* The internal ID of the contact
|
|
1398
|
-
*/
|
|
1399
|
-
vid: number;
|
|
1400
|
-
}
|
|
1401
|
-
interface SubscriberVidResponse {
|
|
1402
|
-
/**
|
|
1403
|
-
* The internal ID of the contact
|
|
1404
|
-
*/
|
|
1405
|
-
vid: number;
|
|
1406
|
-
}
|
|
1407
|
-
}
|
|
1408
|
-
namespace Settings {
|
|
1409
|
-
interface CreateOrUpdateInput {
|
|
1410
|
-
appId: number;
|
|
1411
|
-
data: Schemas.EventDetailSettingsUrl;
|
|
1412
|
-
}
|
|
1413
|
-
type CreateOrUpdateOutput = Schemas.EventDetailSettings;
|
|
1414
|
-
interface GetInput {
|
|
1415
|
-
appId: number;
|
|
1416
|
-
}
|
|
1417
|
-
type GetOutput = Schemas.EventDetailSettings;
|
|
1418
|
-
}
|
|
1419
|
-
namespace SubscriberStateChanges {
|
|
1420
|
-
interface RecordByEmailInput {
|
|
1421
|
-
data: Schemas.BatchInputMarketingEventEmailSubscriber;
|
|
1422
|
-
externalAccountId: string;
|
|
1423
|
-
externalEventId: string;
|
|
1424
|
-
subscriberState: string;
|
|
1425
|
-
}
|
|
1426
|
-
type RecordByEmailOutput = void;
|
|
1427
|
-
interface RecordByIdInput {
|
|
1428
|
-
data: Schemas.BatchInputMarketingEventSubscriber;
|
|
1429
|
-
externalAccountId: string;
|
|
1430
|
-
externalEventId: string;
|
|
1431
|
-
subscriberState: string;
|
|
1432
|
-
}
|
|
1433
|
-
type RecordByIdOutput = void;
|
|
4
|
+
declare namespace MarketingMarketingEventsSchemas {
|
|
5
|
+
interface AppInfo {
|
|
6
|
+
/**
|
|
7
|
+
* The ID of the application
|
|
8
|
+
*/
|
|
9
|
+
id: string;
|
|
10
|
+
/**
|
|
11
|
+
* The name of the application
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
}
|
|
15
|
+
interface AttendanceCounters {
|
|
16
|
+
/**
|
|
17
|
+
* Number of attended contact records of a marketing event
|
|
18
|
+
*/
|
|
19
|
+
attended: number;
|
|
20
|
+
/**
|
|
21
|
+
* Number of cancelled contact records of a marketing event
|
|
22
|
+
*/
|
|
23
|
+
cancelled: number;
|
|
24
|
+
/**
|
|
25
|
+
* Number of no-show contact records of a marketing event
|
|
26
|
+
*/
|
|
27
|
+
noShows: number;
|
|
28
|
+
/**
|
|
29
|
+
* Number of registered contact records of a marketing event
|
|
30
|
+
*/
|
|
31
|
+
registered: number;
|
|
32
|
+
}
|
|
33
|
+
interface BatchInputMarketingEventCreateRequestParams {
|
|
34
|
+
inputs: MarketingEventCreateRequestParams[];
|
|
35
|
+
}
|
|
36
|
+
interface BatchInputMarketingEventEmailSubscriber {
|
|
37
|
+
/**
|
|
38
|
+
* List of marketing event details to create or update
|
|
39
|
+
*/
|
|
40
|
+
inputs: MarketingEventEmailSubscriber[];
|
|
41
|
+
}
|
|
42
|
+
interface BatchInputMarketingEventExternalUniqueIdentifier {
|
|
43
|
+
inputs: MarketingEventExternalUniqueIdentifier[];
|
|
44
|
+
}
|
|
45
|
+
interface BatchInputMarketingEventPublicObjectIdDeleteRequest {
|
|
46
|
+
inputs: MarketingEventPublicObjectIdDeleteRequest[];
|
|
47
|
+
}
|
|
48
|
+
interface BatchInputMarketingEventPublicUpdateRequestFullV2 {
|
|
49
|
+
inputs: MarketingEventPublicUpdateRequestFullV2[];
|
|
50
|
+
}
|
|
51
|
+
interface BatchInputMarketingEventSubscriber {
|
|
52
|
+
/**
|
|
53
|
+
* List of HubSpot contacts to subscribe to the marketing event
|
|
54
|
+
*/
|
|
55
|
+
inputs: MarketingEventSubscriber[];
|
|
56
|
+
}
|
|
57
|
+
interface BatchResponseMarketingEventPublicDefaultResponse {
|
|
58
|
+
/**
|
|
59
|
+
* Timestamp of when the request was completed.
|
|
60
|
+
*/
|
|
61
|
+
completedAt: string;
|
|
62
|
+
errors?: StandardError[];
|
|
63
|
+
/**
|
|
64
|
+
* Result of the request.
|
|
65
|
+
*/
|
|
66
|
+
links?: Record<string, string>;
|
|
67
|
+
/**
|
|
68
|
+
* The number of errors that occurred during the request.
|
|
69
|
+
*/
|
|
70
|
+
numErrors?: number;
|
|
71
|
+
/**
|
|
72
|
+
* Timestamp of when the request was sent.
|
|
73
|
+
*/
|
|
74
|
+
requestedAt?: string;
|
|
75
|
+
results: MarketingEventPublicDefaultResponse[];
|
|
76
|
+
/**
|
|
77
|
+
* Timestamp of when the request started processing.
|
|
78
|
+
*/
|
|
79
|
+
startedAt: string;
|
|
80
|
+
/**
|
|
81
|
+
* Status of the response.
|
|
82
|
+
*/
|
|
83
|
+
status: 'CANCELED' | 'COMPLETE' | 'PENDING' | 'PROCESSING';
|
|
84
|
+
}
|
|
85
|
+
interface BatchResponseMarketingEventPublicDefaultResponseV2 {
|
|
86
|
+
/**
|
|
87
|
+
* Timestamp of when the request was processed.
|
|
88
|
+
*/
|
|
89
|
+
completedAt: string;
|
|
90
|
+
/**
|
|
91
|
+
* Result object of the request.
|
|
92
|
+
*/
|
|
93
|
+
links?: Record<string, string>;
|
|
94
|
+
/**
|
|
95
|
+
* Timestamp of when the request was sent.
|
|
96
|
+
*/
|
|
97
|
+
requestedAt?: string;
|
|
98
|
+
results: MarketingEventPublicDefaultResponseV2[];
|
|
99
|
+
/**
|
|
100
|
+
* Timestamp of when the request started processing.
|
|
101
|
+
*/
|
|
102
|
+
startedAt: string;
|
|
103
|
+
/**
|
|
104
|
+
* The status of the response.
|
|
105
|
+
*/
|
|
106
|
+
status: 'CANCELED' | 'COMPLETE' | 'PENDING' | 'PROCESSING';
|
|
107
|
+
}
|
|
108
|
+
interface BatchResponseSubscriberEmailResponse {
|
|
109
|
+
/**
|
|
110
|
+
* Timestamp that represents when the request finished processing
|
|
111
|
+
*/
|
|
112
|
+
completedAt: string;
|
|
113
|
+
errors?: StandardError[];
|
|
114
|
+
/**
|
|
115
|
+
* Result of the request
|
|
116
|
+
*/
|
|
117
|
+
links?: Record<string, string>;
|
|
118
|
+
/**
|
|
119
|
+
* The number of errors that occurred during the processing
|
|
120
|
+
*/
|
|
121
|
+
numErrors?: number;
|
|
122
|
+
/**
|
|
123
|
+
* Timestamp that represents when the request was made
|
|
124
|
+
*/
|
|
125
|
+
requestedAt?: string;
|
|
126
|
+
results: SubscriberEmailResponse[];
|
|
127
|
+
/**
|
|
128
|
+
* Timestamp that represents when the request started processing
|
|
129
|
+
*/
|
|
130
|
+
startedAt: string;
|
|
131
|
+
/**
|
|
132
|
+
* The status of the request processing
|
|
133
|
+
*/
|
|
134
|
+
status: 'CANCELED' | 'COMPLETE' | 'PENDING' | 'PROCESSING';
|
|
135
|
+
}
|
|
136
|
+
interface BatchResponseSubscriberVidResponse {
|
|
137
|
+
/**
|
|
138
|
+
* Timestamp that represents when the request finished processing
|
|
139
|
+
*/
|
|
140
|
+
completedAt: string;
|
|
141
|
+
errors?: StandardError[];
|
|
142
|
+
/**
|
|
143
|
+
* Result of the request
|
|
144
|
+
*/
|
|
145
|
+
links?: Record<string, string>;
|
|
146
|
+
/**
|
|
147
|
+
* The number of errors that occurred during the processing
|
|
148
|
+
*/
|
|
149
|
+
numErrors?: number;
|
|
150
|
+
/**
|
|
151
|
+
* Timestamp that represents when the request was made
|
|
152
|
+
*/
|
|
153
|
+
requestedAt?: string;
|
|
154
|
+
results: SubscriberVidResponse[];
|
|
155
|
+
/**
|
|
156
|
+
* Timestamp that represents when the request started processing
|
|
157
|
+
*/
|
|
158
|
+
startedAt: string;
|
|
159
|
+
/**
|
|
160
|
+
* The status of the request processing
|
|
161
|
+
*/
|
|
162
|
+
status: 'CANCELED' | 'COMPLETE' | 'PENDING' | 'PROCESSING';
|
|
163
|
+
}
|
|
164
|
+
interface CollectionResponseMarketingEventPublicReadResponseV2ForwardPaging {
|
|
165
|
+
paging?: ForwardPaging;
|
|
166
|
+
results: MarketingEventPublicReadResponseV2[];
|
|
167
|
+
}
|
|
168
|
+
interface CollectionResponseSearchPublicResponseWrapperNoPaging {
|
|
169
|
+
results: SearchPublicResponseWrapper[];
|
|
170
|
+
}
|
|
171
|
+
interface CollectionResponseWithTotalMarketingEventIdentifiersResponse {
|
|
172
|
+
paging?: Paging;
|
|
173
|
+
results: MarketingEventIdentifiersResponse[];
|
|
174
|
+
total: number;
|
|
175
|
+
}
|
|
176
|
+
interface CollectionResponseWithTotalParticipationBreakdown {
|
|
177
|
+
paging?: Paging;
|
|
178
|
+
results: ParticipationBreakdown[];
|
|
179
|
+
total: number;
|
|
180
|
+
}
|
|
181
|
+
interface CollectionResponseWithTotalPublicList {
|
|
182
|
+
paging?: Paging;
|
|
183
|
+
results: PublicList[];
|
|
184
|
+
total: number;
|
|
185
|
+
}
|
|
186
|
+
interface ContactAssociation {
|
|
187
|
+
/**
|
|
188
|
+
* The internal ID of the contact in HubSpot
|
|
189
|
+
*/
|
|
190
|
+
contactId: string;
|
|
191
|
+
/**
|
|
192
|
+
* The email of the contact in HubSpot
|
|
193
|
+
*/
|
|
194
|
+
email: string;
|
|
195
|
+
/**
|
|
196
|
+
* The first name of the contact in HubSpot
|
|
197
|
+
*/
|
|
198
|
+
firstname?: string;
|
|
199
|
+
/**
|
|
200
|
+
* The last name of the contact in HubSpot
|
|
201
|
+
*/
|
|
202
|
+
lastname?: string;
|
|
203
|
+
}
|
|
204
|
+
interface CrmPropertyWrapper {
|
|
205
|
+
/**
|
|
206
|
+
* The name of the property in the CRM
|
|
207
|
+
*/
|
|
208
|
+
name: string;
|
|
209
|
+
/**
|
|
210
|
+
* The value of the property in the CRM
|
|
211
|
+
*/
|
|
212
|
+
value: string;
|
|
213
|
+
}
|
|
214
|
+
interface ErrorDetail {
|
|
215
|
+
/**
|
|
216
|
+
* The status code associated with the error detail
|
|
217
|
+
*/
|
|
218
|
+
code?: string;
|
|
219
|
+
/**
|
|
220
|
+
* Context about the error condition
|
|
221
|
+
*/
|
|
222
|
+
context?: Record<string, string[]>;
|
|
223
|
+
/**
|
|
224
|
+
* The name of the field or parameter in which the error was found.
|
|
225
|
+
*/
|
|
226
|
+
in?: string;
|
|
227
|
+
/**
|
|
228
|
+
* A human readable message describing the error along with remediation steps where appropriate
|
|
229
|
+
*/
|
|
230
|
+
message: string;
|
|
231
|
+
/**
|
|
232
|
+
* A specific category that contains more specific detail about the error
|
|
233
|
+
*/
|
|
234
|
+
subCategory?: string;
|
|
235
|
+
}
|
|
236
|
+
interface EventDetailSettings {
|
|
237
|
+
/**
|
|
238
|
+
* The id of the application the settings are for
|
|
239
|
+
*/
|
|
240
|
+
appId: number;
|
|
241
|
+
/**
|
|
242
|
+
* The url that will be used to fetch marketing event details by id
|
|
243
|
+
*/
|
|
244
|
+
eventDetailsUrl: string;
|
|
245
|
+
}
|
|
246
|
+
interface EventDetailSettingsUrl {
|
|
247
|
+
/**
|
|
248
|
+
* The url that will be used to fetch marketing event details by id. Must contain a `%s` character sequence that will be substituted with the event id. For example: `https://my.event.app/events/%s`
|
|
249
|
+
*/
|
|
250
|
+
eventDetailsUrl: string;
|
|
251
|
+
}
|
|
252
|
+
interface ForwardPaging {
|
|
253
|
+
next?: NextPage;
|
|
254
|
+
}
|
|
255
|
+
interface MarketingEventAssociation {
|
|
256
|
+
/**
|
|
257
|
+
* The account ID that is associated with this marketing event in the external event application
|
|
258
|
+
*/
|
|
259
|
+
externalAccountId?: string;
|
|
260
|
+
/**
|
|
261
|
+
* The event ID that is associated with this marketing event in the external event application
|
|
262
|
+
*/
|
|
263
|
+
externalEventId?: string;
|
|
264
|
+
/**
|
|
265
|
+
* The internal ID of the marketing event in HubSpot
|
|
266
|
+
*/
|
|
267
|
+
marketingEventId: string;
|
|
268
|
+
/**
|
|
269
|
+
* The name of the marketing event in HubSpot
|
|
270
|
+
*/
|
|
271
|
+
name: string;
|
|
272
|
+
}
|
|
273
|
+
interface MarketingEventCompleteRequestParams {
|
|
274
|
+
/**
|
|
275
|
+
* The end date and time of the marketing event in ISO 8601 format
|
|
276
|
+
*/
|
|
277
|
+
endDateTime: string;
|
|
278
|
+
/**
|
|
279
|
+
* The start date and time of the marketing event in ISO 8601 format
|
|
280
|
+
*/
|
|
281
|
+
startDateTime: string;
|
|
282
|
+
}
|
|
283
|
+
interface MarketingEventCreateRequestParams {
|
|
284
|
+
/**
|
|
285
|
+
* A list of PropertyValues. These can be whatever kind of property names and values you want. However, they must already exist on the HubSpot account's definition of the MarketingEvent Object. If they don't they will be filtered out and not set.
|
|
286
|
+
* In order to do this you'll need to create a new PropertyGroup on the HubSpot account's MarketingEvent object for your specific app and create the Custom Property you want to track on that HubSpot account. Do not create any new default properties on the MarketingEvent object as that will apply to all HubSpot accounts.
|
|
287
|
+
*
|
|
288
|
+
*/
|
|
289
|
+
customProperties: PropertyValue[];
|
|
290
|
+
/**
|
|
291
|
+
* The end date and time of the marketing event.
|
|
292
|
+
*/
|
|
293
|
+
endDateTime?: string;
|
|
294
|
+
/**
|
|
295
|
+
* Indicates if the marketing event has been cancelled. Defaults to `false`
|
|
296
|
+
*/
|
|
297
|
+
eventCancelled?: boolean;
|
|
298
|
+
/**
|
|
299
|
+
* Indicates if the marketing event has been completed. Defaults to `false`
|
|
300
|
+
*/
|
|
301
|
+
eventCompleted?: boolean;
|
|
302
|
+
/**
|
|
303
|
+
* The description of the marketing event.
|
|
304
|
+
*/
|
|
305
|
+
eventDescription?: string;
|
|
306
|
+
/**
|
|
307
|
+
* The name of the marketing event.
|
|
308
|
+
*/
|
|
309
|
+
eventName: string;
|
|
310
|
+
/**
|
|
311
|
+
* The name of the organizer of the marketing event.
|
|
312
|
+
*/
|
|
313
|
+
eventOrganizer: string;
|
|
314
|
+
/**
|
|
315
|
+
* Describes what type of event this is. For example: `WEBINAR`, `CONFERENCE`, `WORKSHOP`
|
|
316
|
+
*/
|
|
317
|
+
eventType?: string;
|
|
318
|
+
/**
|
|
319
|
+
* A URL in the external event application where the marketing event can be managed.
|
|
320
|
+
*/
|
|
321
|
+
eventUrl?: string;
|
|
322
|
+
/**
|
|
323
|
+
* The accountId that is associated with this marketing event in the external event application.
|
|
324
|
+
*/
|
|
325
|
+
externalAccountId: string;
|
|
326
|
+
/**
|
|
327
|
+
* The id of the marketing event in the external event application.
|
|
328
|
+
*/
|
|
329
|
+
externalEventId: string;
|
|
330
|
+
/**
|
|
331
|
+
* The start date and time of the marketing event.
|
|
332
|
+
*/
|
|
333
|
+
startDateTime?: string;
|
|
334
|
+
}
|
|
335
|
+
interface MarketingEventDefaultResponse {
|
|
336
|
+
/**
|
|
337
|
+
* A list of PropertyValues. These can be whatever kind of property names and values you want. However, they must already exist on the HubSpot account's definition of the MarketingEvent Object. If they don't they will be filtered out and not set.
|
|
338
|
+
* In order to do this you'll need to create a new PropertyGroup on the HubSpot account's MarketingEvent object for your specific app and create the Custom Property you want to track on that HubSpot account. Do not create any new default properties on the MarketingEvent object as that will apply to all HubSpot accounts.
|
|
339
|
+
*
|
|
340
|
+
*/
|
|
341
|
+
customProperties: PropertyValue[];
|
|
342
|
+
/**
|
|
343
|
+
* The end date and time of the marketing event.
|
|
344
|
+
*/
|
|
345
|
+
endDateTime?: string;
|
|
346
|
+
/**
|
|
347
|
+
* Indicates if the marketing event has been cancelled.
|
|
348
|
+
*/
|
|
349
|
+
eventCancelled?: boolean;
|
|
350
|
+
/**
|
|
351
|
+
* Indicates if the marketing event has been completed.
|
|
352
|
+
*/
|
|
353
|
+
eventCompleted?: boolean;
|
|
354
|
+
/**
|
|
355
|
+
* The description of the marketing event.
|
|
356
|
+
*/
|
|
357
|
+
eventDescription?: string;
|
|
358
|
+
/**
|
|
359
|
+
* The name of the marketing event.
|
|
360
|
+
*/
|
|
361
|
+
eventName: string;
|
|
362
|
+
/**
|
|
363
|
+
* The name of the organizer of the marketing event.
|
|
364
|
+
*/
|
|
365
|
+
eventOrganizer: string;
|
|
366
|
+
/**
|
|
367
|
+
* The type of the marketing event.
|
|
368
|
+
*/
|
|
369
|
+
eventType?: string;
|
|
370
|
+
/**
|
|
371
|
+
* The URL in the external event application where the marketing event can be managed.
|
|
372
|
+
*/
|
|
373
|
+
eventUrl?: string;
|
|
374
|
+
/**
|
|
375
|
+
* The ID of the marketing event CRM object
|
|
376
|
+
*/
|
|
377
|
+
objectId?: string;
|
|
378
|
+
/**
|
|
379
|
+
* The start date and time of the marketing event.
|
|
380
|
+
*/
|
|
381
|
+
startDateTime?: string;
|
|
382
|
+
}
|
|
383
|
+
interface MarketingEventEmailSubscriber {
|
|
384
|
+
/**
|
|
385
|
+
* The key-value set that contains properties of the contact.
|
|
386
|
+
*/
|
|
387
|
+
contactProperties: Record<string, string>;
|
|
388
|
+
/**
|
|
389
|
+
* The email address of the contact in HubSpot to associate with the event.
|
|
390
|
+
*/
|
|
391
|
+
email: string;
|
|
392
|
+
/**
|
|
393
|
+
* Timestamp in milliseconds at which the contact subscribed to the event.
|
|
394
|
+
*/
|
|
395
|
+
interactionDateTime: number;
|
|
396
|
+
/**
|
|
397
|
+
* The key-value set that contains properties of the marketing event.
|
|
398
|
+
*/
|
|
399
|
+
properties: Record<string, string>;
|
|
400
|
+
}
|
|
401
|
+
interface MarketingEventExternalUniqueIdentifier {
|
|
402
|
+
/**
|
|
403
|
+
* The id of the application that created the marketing event in HubSpot.
|
|
404
|
+
*/
|
|
405
|
+
appId: number;
|
|
406
|
+
/**
|
|
407
|
+
* The accountId that is associated with this marketing event in the external event application.
|
|
408
|
+
*/
|
|
409
|
+
externalAccountId: string;
|
|
410
|
+
/**
|
|
411
|
+
* The id of the marketing event in the external event application.
|
|
412
|
+
*/
|
|
413
|
+
externalEventId: string;
|
|
414
|
+
}
|
|
415
|
+
interface MarketingEventIdentifiersResponse {
|
|
416
|
+
appInfo?: AppInfo;
|
|
417
|
+
/**
|
|
418
|
+
* The accountId that is associated with this marketing event in the external event application
|
|
419
|
+
*/
|
|
420
|
+
externalAccountId?: string;
|
|
421
|
+
/**
|
|
422
|
+
* The ID that is associated with this marketing event in the external event application
|
|
423
|
+
*/
|
|
424
|
+
externalEventId: string;
|
|
425
|
+
/**
|
|
426
|
+
* The name of the marketing event
|
|
427
|
+
*/
|
|
428
|
+
marketingEventName: string;
|
|
429
|
+
/**
|
|
430
|
+
* The internal ID of the marketing event in HubSpot CRM
|
|
431
|
+
*/
|
|
432
|
+
objectId: string;
|
|
433
|
+
}
|
|
434
|
+
interface MarketingEventPublicDefaultResponse {
|
|
435
|
+
/**
|
|
436
|
+
* The creation date and time of the marketing event.
|
|
437
|
+
*/
|
|
438
|
+
createdAt: string;
|
|
439
|
+
/**
|
|
440
|
+
* A list of PropertyValues. These can be whatever kind of property names and values you want. However, they must already exist on the HubSpot account's definition of the MarketingEvent Object. If they don't they will be filtered out and not set.
|
|
441
|
+
* In order to do this you'll need to create a new PropertyGroup on the HubSpot account's MarketingEvent object for your specific app and create the Custom Property you want to track on that HubSpot account. Do not create any new default properties on the MarketingEvent object as that will apply to all HubSpot accounts.
|
|
442
|
+
*
|
|
443
|
+
*/
|
|
444
|
+
customProperties: PropertyValue[];
|
|
445
|
+
/**
|
|
446
|
+
* The end date and time of the marketing event.
|
|
447
|
+
*/
|
|
448
|
+
endDateTime?: string;
|
|
449
|
+
/**
|
|
450
|
+
* Indicates if the marketing event has been cancelled.
|
|
451
|
+
*/
|
|
452
|
+
eventCancelled?: boolean;
|
|
453
|
+
/**
|
|
454
|
+
* Indicates if the marketing event has been completed.
|
|
455
|
+
*/
|
|
456
|
+
eventCompleted?: boolean;
|
|
457
|
+
/**
|
|
458
|
+
* The description of the marketing event.
|
|
459
|
+
*/
|
|
460
|
+
eventDescription?: string;
|
|
461
|
+
/**
|
|
462
|
+
* The name of the marketing event.
|
|
463
|
+
*/
|
|
464
|
+
eventName: string;
|
|
465
|
+
/**
|
|
466
|
+
* The name of the organizer of the marketing event.
|
|
467
|
+
*/
|
|
468
|
+
eventOrganizer: string;
|
|
469
|
+
/**
|
|
470
|
+
* The type of the marketing event.
|
|
471
|
+
*/
|
|
472
|
+
eventType?: string;
|
|
473
|
+
/**
|
|
474
|
+
* A URL in the external event application where the marketing event can be managed.
|
|
475
|
+
*/
|
|
476
|
+
eventUrl?: string;
|
|
477
|
+
/**
|
|
478
|
+
* The ID of the marketing event CRM object.
|
|
479
|
+
*/
|
|
480
|
+
id: string;
|
|
481
|
+
/**
|
|
482
|
+
* The ID of the marketing event CRM object.
|
|
483
|
+
*/
|
|
484
|
+
objectId?: string;
|
|
485
|
+
/**
|
|
486
|
+
* The start date and time of the marketing event.
|
|
487
|
+
*/
|
|
488
|
+
startDateTime?: string;
|
|
489
|
+
/**
|
|
490
|
+
* The update date and time of the marketing event.
|
|
491
|
+
*/
|
|
492
|
+
updatedAt: string;
|
|
493
|
+
}
|
|
494
|
+
interface MarketingEventPublicDefaultResponseV2 {
|
|
495
|
+
appInfo?: AppInfo;
|
|
496
|
+
/**
|
|
497
|
+
* The creation date and time of the marketing event
|
|
498
|
+
*/
|
|
499
|
+
createdAt: string;
|
|
500
|
+
customProperties: CrmPropertyWrapper[];
|
|
501
|
+
/**
|
|
502
|
+
* The end date and time of the marketing event
|
|
503
|
+
*/
|
|
504
|
+
endDateTime?: string;
|
|
505
|
+
/**
|
|
506
|
+
* Indicates if the marketing event has been cancelled
|
|
507
|
+
*/
|
|
508
|
+
eventCancelled?: boolean;
|
|
509
|
+
/**
|
|
510
|
+
* Indicates if the marketing event has been completed
|
|
511
|
+
*/
|
|
512
|
+
eventCompleted?: boolean;
|
|
513
|
+
/**
|
|
514
|
+
* The description of the marketing event
|
|
515
|
+
*/
|
|
516
|
+
eventDescription?: string;
|
|
517
|
+
/**
|
|
518
|
+
* The name of the marketing event
|
|
519
|
+
*/
|
|
520
|
+
eventName: string;
|
|
521
|
+
/**
|
|
522
|
+
* The name of the organizer of the marketing event
|
|
523
|
+
*/
|
|
524
|
+
eventOrganizer?: string;
|
|
525
|
+
/**
|
|
526
|
+
* The type of the marketing event
|
|
527
|
+
*/
|
|
528
|
+
eventType?: string;
|
|
529
|
+
/**
|
|
530
|
+
* A URL in the external event application where the marketing event can be managed
|
|
531
|
+
*/
|
|
532
|
+
eventUrl?: string;
|
|
533
|
+
/**
|
|
534
|
+
* The internal ID of the marketing event in HubSpot
|
|
535
|
+
*/
|
|
536
|
+
objectId: string;
|
|
537
|
+
/**
|
|
538
|
+
* The start date and time of the marketing event
|
|
539
|
+
*/
|
|
540
|
+
startDateTime?: string;
|
|
541
|
+
/**
|
|
542
|
+
* The update date and time of the marketing event
|
|
543
|
+
*/
|
|
544
|
+
updatedAt: string;
|
|
545
|
+
}
|
|
546
|
+
interface MarketingEventPublicObjectIdDeleteRequest {
|
|
547
|
+
/**
|
|
548
|
+
* The internal ID of the marketing event in HubSpot
|
|
549
|
+
*/
|
|
550
|
+
objectId: string;
|
|
551
|
+
}
|
|
552
|
+
interface MarketingEventPublicReadResponse {
|
|
553
|
+
/**
|
|
554
|
+
* The number of HubSpot contacts that attended this marketing event.
|
|
555
|
+
*/
|
|
556
|
+
attendees: number;
|
|
557
|
+
/**
|
|
558
|
+
* The number of HubSpot contacts that registered for this marketing event, but later cancelled their registration.
|
|
559
|
+
*/
|
|
560
|
+
cancellations: number;
|
|
561
|
+
/**
|
|
562
|
+
* The creation date and time of the marketing event.
|
|
563
|
+
*/
|
|
564
|
+
createdAt: string;
|
|
565
|
+
/**
|
|
566
|
+
* A list of PropertyValues. These can be whatever kind of property names and values you want. However, they must already exist on the HubSpot account's definition of the MarketingEvent Object. If they don't they will be filtered out and not set.
|
|
567
|
+
* In order to do this you'll need to create a new PropertyGroup on the HubSpot account's MarketingEvent object for your specific app and create the Custom Property you want to track on that HubSpot account. Do not create any new default properties on the MarketingEvent object as that will apply to all HubSpot accounts.
|
|
568
|
+
*
|
|
569
|
+
*/
|
|
570
|
+
customProperties: PropertyValue[];
|
|
571
|
+
/**
|
|
572
|
+
* The end date and time of the marketing event.
|
|
573
|
+
*/
|
|
574
|
+
endDateTime?: string;
|
|
575
|
+
/**
|
|
576
|
+
* Indicates if the marketing event has been cancelled.
|
|
577
|
+
*/
|
|
578
|
+
eventCancelled?: boolean;
|
|
579
|
+
/**
|
|
580
|
+
* Indicates if the marketing event has been completed.
|
|
581
|
+
*/
|
|
582
|
+
eventCompleted?: boolean;
|
|
583
|
+
/**
|
|
584
|
+
* The description of the marketing event.
|
|
585
|
+
*/
|
|
586
|
+
eventDescription?: string;
|
|
587
|
+
/**
|
|
588
|
+
* The name of the marketing event.
|
|
589
|
+
*/
|
|
590
|
+
eventName: string;
|
|
591
|
+
/**
|
|
592
|
+
* The name of the organizer of the marketing event.
|
|
593
|
+
*/
|
|
594
|
+
eventOrganizer: string;
|
|
595
|
+
/**
|
|
596
|
+
* The type of the marketing event.
|
|
597
|
+
*/
|
|
598
|
+
eventType?: string;
|
|
599
|
+
/**
|
|
600
|
+
* A URL in the external event application where the marketing event can be managed.
|
|
601
|
+
*/
|
|
602
|
+
eventUrl?: string;
|
|
603
|
+
/**
|
|
604
|
+
* The id of the marketing event in the external event application.
|
|
605
|
+
*/
|
|
606
|
+
externalEventId: string;
|
|
607
|
+
/**
|
|
608
|
+
* The ID of the marketing event CRM object.
|
|
609
|
+
*/
|
|
610
|
+
id: string;
|
|
611
|
+
/**
|
|
612
|
+
* The number of HubSpot contacts that registered for this marketing event, but did not attend. This field only had a value when the event is over.
|
|
613
|
+
*/
|
|
614
|
+
noShows: number;
|
|
615
|
+
/**
|
|
616
|
+
* The ID of the marketing event CRM object.
|
|
617
|
+
*/
|
|
618
|
+
objectId?: string;
|
|
619
|
+
/**
|
|
620
|
+
* The number of HubSpot contacts that registered for this marketing event.
|
|
621
|
+
*/
|
|
622
|
+
registrants: number;
|
|
623
|
+
/**
|
|
624
|
+
* The start date and time of the marketing event.
|
|
625
|
+
*/
|
|
626
|
+
startDateTime?: string;
|
|
627
|
+
/**
|
|
628
|
+
* The update date and time of the marketing event.
|
|
629
|
+
*/
|
|
630
|
+
updatedAt: string;
|
|
631
|
+
}
|
|
632
|
+
interface MarketingEventPublicReadResponseV2 {
|
|
633
|
+
appInfo?: AppInfo;
|
|
634
|
+
/**
|
|
635
|
+
* Number of attended contact records of a marketing event
|
|
636
|
+
*/
|
|
637
|
+
attendees?: number;
|
|
638
|
+
/**
|
|
639
|
+
* Number of cancelled contact records of a marketing event
|
|
640
|
+
*/
|
|
641
|
+
cancellations?: number;
|
|
642
|
+
/**
|
|
643
|
+
* The creation date and time of the marketing event
|
|
644
|
+
*/
|
|
645
|
+
createdAt: string;
|
|
646
|
+
customProperties: CrmPropertyWrapper[];
|
|
647
|
+
/**
|
|
648
|
+
* The end date and time of the marketing event
|
|
649
|
+
*/
|
|
650
|
+
endDateTime?: string;
|
|
651
|
+
/**
|
|
652
|
+
* Indicates if the marketing event has been cancelled
|
|
653
|
+
*/
|
|
654
|
+
eventCancelled?: boolean;
|
|
655
|
+
/**
|
|
656
|
+
* Indicates if the marketing event has been completed
|
|
657
|
+
*/
|
|
658
|
+
eventCompleted?: boolean;
|
|
659
|
+
/**
|
|
660
|
+
* The description of the marketing event
|
|
661
|
+
*/
|
|
662
|
+
eventDescription?: string;
|
|
663
|
+
/**
|
|
664
|
+
* The name of the marketing event
|
|
665
|
+
*/
|
|
666
|
+
eventName: string;
|
|
667
|
+
/**
|
|
668
|
+
* The name of the organizer of the marketing event
|
|
669
|
+
*/
|
|
670
|
+
eventOrganizer?: string;
|
|
671
|
+
/**
|
|
672
|
+
* The status of the marketing event
|
|
673
|
+
*/
|
|
674
|
+
eventStatus?: string;
|
|
675
|
+
eventStatusV2?: string;
|
|
676
|
+
/**
|
|
677
|
+
* The type of the marketing event
|
|
678
|
+
*/
|
|
679
|
+
eventType?: string;
|
|
680
|
+
/**
|
|
681
|
+
* A URL in the external event application where the marketing event can be managed
|
|
682
|
+
*/
|
|
683
|
+
eventUrl?: string;
|
|
684
|
+
/**
|
|
685
|
+
* The ID that is associated with this marketing event in the external event application
|
|
686
|
+
*/
|
|
687
|
+
externalEventId?: string;
|
|
688
|
+
/**
|
|
689
|
+
* Number of no-show contact records of a marketing event
|
|
690
|
+
*/
|
|
691
|
+
noShows?: number;
|
|
692
|
+
/**
|
|
693
|
+
* The internal ID of the marketing event in HubSpot
|
|
694
|
+
*/
|
|
695
|
+
objectId: string;
|
|
696
|
+
/**
|
|
697
|
+
* Number of registered contact records of a marketing event
|
|
698
|
+
*/
|
|
699
|
+
registrants?: number;
|
|
700
|
+
/**
|
|
701
|
+
* The start date and time of the marketing event
|
|
702
|
+
*/
|
|
703
|
+
startDateTime?: string;
|
|
704
|
+
/**
|
|
705
|
+
* The update date and time of the marketing event
|
|
706
|
+
*/
|
|
707
|
+
updatedAt: string;
|
|
708
|
+
}
|
|
709
|
+
interface MarketingEventPublicUpdateRequestFullV2 {
|
|
710
|
+
customProperties: PropertyValue[];
|
|
711
|
+
/**
|
|
712
|
+
* The end date and time of the marketing event
|
|
713
|
+
*/
|
|
714
|
+
endDateTime?: string;
|
|
715
|
+
/**
|
|
716
|
+
* Indicates if the marketing event has been cancelled
|
|
717
|
+
*/
|
|
718
|
+
eventCancelled?: boolean;
|
|
719
|
+
/**
|
|
720
|
+
* The description of the marketing event
|
|
721
|
+
*/
|
|
722
|
+
eventDescription?: string;
|
|
723
|
+
/**
|
|
724
|
+
* The name of the marketing event
|
|
725
|
+
*/
|
|
726
|
+
eventName?: string;
|
|
727
|
+
/**
|
|
728
|
+
* The name of the organizer of the marketing event
|
|
729
|
+
*/
|
|
730
|
+
eventOrganizer?: string;
|
|
731
|
+
/**
|
|
732
|
+
* The type of the marketing event
|
|
733
|
+
*/
|
|
734
|
+
eventType?: string;
|
|
735
|
+
/**
|
|
736
|
+
* A URL in the external event application where the marketing event can be managed
|
|
737
|
+
*/
|
|
738
|
+
eventUrl?: string;
|
|
739
|
+
/**
|
|
740
|
+
* The internal ID of the marketing event in HubSpot
|
|
741
|
+
*/
|
|
742
|
+
objectId: string;
|
|
743
|
+
/**
|
|
744
|
+
* The start date and time of the marketing event
|
|
745
|
+
*/
|
|
746
|
+
startDateTime?: string;
|
|
747
|
+
}
|
|
748
|
+
interface MarketingEventPublicUpdateRequestV2 {
|
|
749
|
+
customProperties: PropertyValue[];
|
|
750
|
+
/**
|
|
751
|
+
* The end date and time of the marketing event
|
|
752
|
+
*/
|
|
753
|
+
endDateTime?: string;
|
|
754
|
+
/**
|
|
755
|
+
* Indicates if the marketing event has been cancelled
|
|
756
|
+
*/
|
|
757
|
+
eventCancelled?: boolean;
|
|
758
|
+
/**
|
|
759
|
+
* The description of the marketing event
|
|
760
|
+
*/
|
|
761
|
+
eventDescription?: string;
|
|
762
|
+
/**
|
|
763
|
+
* The name of the marketing event
|
|
764
|
+
*/
|
|
765
|
+
eventName?: string;
|
|
766
|
+
/**
|
|
767
|
+
* The name of the organizer of the marketing event
|
|
768
|
+
*/
|
|
769
|
+
eventOrganizer?: string;
|
|
770
|
+
/**
|
|
771
|
+
* The type of the marketing event
|
|
772
|
+
*/
|
|
773
|
+
eventType?: string;
|
|
774
|
+
/**
|
|
775
|
+
* A URL in the external event application where the marketing event can be managed
|
|
776
|
+
*/
|
|
777
|
+
eventUrl?: string;
|
|
778
|
+
/**
|
|
779
|
+
* The start date and time of the marketing event
|
|
780
|
+
*/
|
|
781
|
+
startDateTime?: string;
|
|
782
|
+
}
|
|
783
|
+
interface MarketingEventSubscriber {
|
|
784
|
+
/**
|
|
785
|
+
* Timestamp in milliseconds at which the contact subscribed to the event.
|
|
786
|
+
*/
|
|
787
|
+
interactionDateTime: number;
|
|
788
|
+
/**
|
|
789
|
+
* The key-value set of the properties of the contact
|
|
790
|
+
*/
|
|
791
|
+
properties: Record<string, string>;
|
|
792
|
+
/**
|
|
793
|
+
* The ID of the contact in HubSpot
|
|
794
|
+
*/
|
|
795
|
+
vid: number;
|
|
796
|
+
}
|
|
797
|
+
interface MarketingEventUpdateRequestParams {
|
|
798
|
+
/**
|
|
799
|
+
* A list of PropertyValues. These can be whatever kind of property names and values you want. However, they must already exist on the HubSpot account's definition of the MarketingEvent Object. If they don't they will be filtered out and not set.
|
|
800
|
+
* In order to do this you'll need to create a new PropertyGroup on the HubSpot account's MarketingEvent object for your specific app and create the Custom Property you want to track on that HubSpot account. Do not create any new default properties on the MarketingEvent object as that will apply to all HubSpot accounts.
|
|
801
|
+
*
|
|
802
|
+
*/
|
|
803
|
+
customProperties: PropertyValue[];
|
|
804
|
+
/**
|
|
805
|
+
* The end date and time of the marketing event.
|
|
806
|
+
*/
|
|
807
|
+
endDateTime?: string;
|
|
808
|
+
/**
|
|
809
|
+
* Indicates if the marketing event has been cancelled. Defaults to `false`
|
|
810
|
+
*/
|
|
811
|
+
eventCancelled?: boolean;
|
|
812
|
+
/**
|
|
813
|
+
* Indicates if the marketing event has been completed. Defaults to `false`
|
|
814
|
+
*/
|
|
815
|
+
eventCompleted?: boolean;
|
|
816
|
+
/**
|
|
817
|
+
* The description of the marketing event.
|
|
818
|
+
*/
|
|
819
|
+
eventDescription?: string;
|
|
820
|
+
/**
|
|
821
|
+
* The name of the marketing event.
|
|
822
|
+
*/
|
|
823
|
+
eventName?: string;
|
|
824
|
+
/**
|
|
825
|
+
* The name of the organizer of the marketing event.
|
|
826
|
+
*/
|
|
827
|
+
eventOrganizer?: string;
|
|
828
|
+
/**
|
|
829
|
+
* Describes what type of event this is. For example: `WEBINAR`, `CONFERENCE`, `WORKSHOP`
|
|
830
|
+
*/
|
|
831
|
+
eventType?: string;
|
|
832
|
+
/**
|
|
833
|
+
* A URL in the external event application where the marketing event can be managed.
|
|
834
|
+
*/
|
|
835
|
+
eventUrl?: string;
|
|
836
|
+
/**
|
|
837
|
+
* The start date and time of the marketing event.
|
|
838
|
+
*/
|
|
839
|
+
startDateTime?: string;
|
|
840
|
+
}
|
|
841
|
+
/**
|
|
842
|
+
* Specifies the paging information needed to retrieve the next set of results in a paginated API response
|
|
843
|
+
*/
|
|
844
|
+
interface NextPage {
|
|
845
|
+
/**
|
|
846
|
+
* The ID element at the start of the page
|
|
847
|
+
*/
|
|
848
|
+
after: string;
|
|
849
|
+
/**
|
|
850
|
+
* Link to the next page
|
|
851
|
+
*/
|
|
852
|
+
link?: string;
|
|
853
|
+
}
|
|
854
|
+
interface Paging {
|
|
855
|
+
next?: NextPage;
|
|
856
|
+
prev?: PreviousPage;
|
|
857
|
+
}
|
|
858
|
+
interface ParticipationAssociations {
|
|
859
|
+
contact: ContactAssociation;
|
|
860
|
+
marketingEvent: MarketingEventAssociation;
|
|
861
|
+
}
|
|
862
|
+
interface ParticipationBreakdown {
|
|
863
|
+
associations: ParticipationAssociations;
|
|
864
|
+
/**
|
|
865
|
+
* The creation time and date of the target marketing event
|
|
866
|
+
*/
|
|
867
|
+
createdAt: string;
|
|
868
|
+
/**
|
|
869
|
+
* The internal ID of the target marketing event
|
|
870
|
+
*/
|
|
871
|
+
id: string;
|
|
872
|
+
properties: ParticipationProperties;
|
|
873
|
+
}
|
|
874
|
+
interface ParticipationProperties {
|
|
875
|
+
/**
|
|
876
|
+
* The number of seconds the participation lasted
|
|
877
|
+
*/
|
|
878
|
+
attendanceDurationSeconds?: number;
|
|
879
|
+
/**
|
|
880
|
+
* Percentage of the participation duration relative to the event duration
|
|
881
|
+
*/
|
|
882
|
+
attendancePercentage?: string;
|
|
883
|
+
/**
|
|
884
|
+
* The state of the participation
|
|
885
|
+
*/
|
|
886
|
+
attendanceState: 'ATTENDED' | 'CANCELLED' | 'EMPTY' | 'NO_SHOW' | 'REGISTERED';
|
|
887
|
+
/**
|
|
888
|
+
* Timestamp of when the participation occurred
|
|
889
|
+
*/
|
|
890
|
+
occurredAt: number;
|
|
891
|
+
}
|
|
892
|
+
/**
|
|
893
|
+
* specifies the paging information needed to retrieve the previous set of results in a paginated API response
|
|
894
|
+
*/
|
|
895
|
+
interface PreviousPage {
|
|
896
|
+
/**
|
|
897
|
+
* A paging cursor token for retrieving previous pages.
|
|
898
|
+
*/
|
|
899
|
+
before: string;
|
|
900
|
+
/**
|
|
901
|
+
* A URL that can be used to retrieve the previous pages' results.
|
|
902
|
+
*/
|
|
903
|
+
link?: string;
|
|
904
|
+
}
|
|
905
|
+
/**
|
|
906
|
+
* Represents a single custom property of a marketing event, storing its name, value, metadata (like source, timestamp, and sensitivity), and related audit information for tracking changes.
|
|
907
|
+
*/
|
|
908
|
+
interface PropertyValue {
|
|
909
|
+
/**
|
|
910
|
+
* Level of data sensitivity
|
|
911
|
+
*/
|
|
912
|
+
dataSensitivity: 'high' | 'none' | 'standard';
|
|
913
|
+
/**
|
|
914
|
+
* Indicates whether the property is encrypted
|
|
915
|
+
*/
|
|
916
|
+
isEncrypted: boolean;
|
|
917
|
+
/**
|
|
918
|
+
* Indicates whether the property value is stored as a large value in the storage
|
|
919
|
+
*/
|
|
920
|
+
isLargeValue: boolean;
|
|
921
|
+
/**
|
|
922
|
+
* Name of custom property
|
|
923
|
+
*/
|
|
924
|
+
name: string;
|
|
925
|
+
/**
|
|
926
|
+
* The timestamp that indicates when the value being written is persisted in storage
|
|
927
|
+
*/
|
|
928
|
+
persistenceTimestamp: number;
|
|
929
|
+
/**
|
|
930
|
+
* The ID of the request
|
|
931
|
+
*/
|
|
932
|
+
requestId: string;
|
|
933
|
+
/**
|
|
934
|
+
* Indicates whether the property is selected
|
|
935
|
+
*/
|
|
936
|
+
selectedByUser: boolean;
|
|
937
|
+
/**
|
|
938
|
+
* Timestamp of when the property was selected by the user
|
|
939
|
+
*/
|
|
940
|
+
selectedByUserTimestamp: number;
|
|
941
|
+
/**
|
|
942
|
+
* Source of the property
|
|
943
|
+
*/
|
|
944
|
+
source: 'ACADEMY' | 'ACCEPTANCE_TEST' | 'ACTIVITY_AUTO_ASSOCIATE' | 'ACTIVITY_LOG_REVERT' | 'ADS' | 'AI_GROUP' | 'ANALYTICS' | 'API' | 'APPROVALS' | 'ASSISTS' | 'ASSOCIATIONS' | 'AUTO_ASSOCIATE_BY_DOMAIN' | 'AUTOMATION_JOURNEY' | 'AUTOMATION_PLATFORM' | 'AVATARS_SERVICE' | 'BATCH_UPDATE' | 'BCC_TO_CRM' | 'BEHAVIORAL_EVENTS' | 'BET_ASSIGNMENT' | 'BET_CRM_CONNECTOR' | 'BIDEN' | 'BILLING' | 'BOT' | 'CALCULATED' | 'CENTRAL_EXCHANGE_RATES' | 'CHATSPOT' | 'CLONE_OBJECTS' | 'COMMUNICATOR' | 'COMPANIES' | 'COMPANY_FAMILIES' | 'COMPANY_INSIGHTS' | 'CONNECTED_ACCOUNT' | 'CONTACTS' | 'CONTACTS_WEB' | 'CONTENT_MEMBERSHIP' | 'CONVERSATIONAL_ENRICHMENT' | 'CONVERSATIONS' | 'CRM_PROCESSES_PLATFORM' | 'CRM_UI' | 'CRM_UI_BULK_ACTION' | 'CUSTOMER_AGENT' | 'DATA_ENRICHMENT' | 'DATA_QUALITY' | 'DATASET' | 'DEALS' | 'DEFAULT' | 'DELETE_OBJECTS' | 'EMAIL' | 'EMAIL_INBOX_IMPORT' | 'EMAIL_INTEGRATION' | 'ENGAGEMENTS' | 'EXTENSION' | 'FILE_MANAGER' | 'FLYWHEEL_PRODUCT_DATA_SYNC' | 'FORECASTING' | 'FORM' | 'FORWARD_TO_CRM' | 'GMAIL_INTEGRATION' | 'GOALS' | 'HEISENBERG' | 'HELP_DESK' | 'HELP_DESK_AI' | 'IMPORT' | 'INTEGRATION' | 'INTEGRATIONS_PLATFORM' | 'INTEGRATIONS_SYNC' | 'INTENT' | 'INTERNAL_PROCESSING' | 'LEADIN' | 'LEGAL_BASIS_REMEDIATION' | 'MARKET_SOURCING' | 'MARKETPLACE' | 'MARKETS' | 'MEETINGS' | 'MERGE_COMPANIES' | 'MERGE_CONTACTS' | 'MERGE_OBJECTS' | 'MERGE_REVERT_OBJECTS' | 'MICROAPPS' | 'MIGRATION' | 'MOBILE_ANDROID' | 'MOBILE_IOS' | 'PAYMENTS' | 'PIPELINE_SETTINGS' | 'PLAYBOOKS' | 'PORTAL_OBJECT_SYNC' | 'PORTAL_USER_ASSOCIATOR' | 'PRESENTATIONS' | 'PRIMARY_AUTOMATION' | 'PROPERTY_DEFAULT_VALUE' | 'PROPERTY_RESTORE' | 'PROPERTY_SETTINGS' | 'PROSPECTING_AGENT' | 'QUOTAS' | 'QUOTES' | 'RECYCLING_BIN' | 'RESTORE_OBJECTS' | 'REVENUE_PLATFORM' | 'SALES' | 'SALES_MESSAGES' | 'SALESFORCE' | 'SEQUENCES' | 'SETTINGS' | 'SIDEKICK' | 'SIGNALS' | 'SLACK_INTEGRATION' | 'SMART_DATA_CAPTURE' | 'SOCIAL' | 'SUCCESS' | 'TALLY' | 'TASK' | 'UNKNOWN' | 'WAL_INCREMENTAL' | 'WORK_UI' | 'WORKFLOW_CONTACT_DELETE_ACTION' | 'WORKFLOWS';
|
|
945
|
+
/**
|
|
946
|
+
* ID of the source of the property
|
|
947
|
+
*/
|
|
948
|
+
sourceId: string;
|
|
949
|
+
/**
|
|
950
|
+
* Label of the source of the property
|
|
951
|
+
*/
|
|
952
|
+
sourceLabel: string;
|
|
953
|
+
/**
|
|
954
|
+
* Source metadata encoded as a base64 string
|
|
955
|
+
*/
|
|
956
|
+
sourceMetadata: string;
|
|
957
|
+
/**
|
|
958
|
+
* Indicates which upstream service made the property change
|
|
959
|
+
*/
|
|
960
|
+
sourceUpstreamDeployable: string;
|
|
961
|
+
/**
|
|
962
|
+
* The unique identifier associated with the source.
|
|
963
|
+
*/
|
|
964
|
+
sourceVid: number[];
|
|
965
|
+
/**
|
|
966
|
+
* Timestamp of the request
|
|
967
|
+
*/
|
|
968
|
+
timestamp: number;
|
|
969
|
+
/**
|
|
970
|
+
* The unit
|
|
971
|
+
*/
|
|
972
|
+
unit: string;
|
|
973
|
+
/**
|
|
974
|
+
* The ID of the user who last updated the property
|
|
975
|
+
*/
|
|
976
|
+
updatedByUserId: number;
|
|
977
|
+
/**
|
|
978
|
+
* Indicates if the persistence timestamp is the same as storage version timestamp
|
|
979
|
+
*/
|
|
980
|
+
useTimestampAsPersistenceTimestamp: boolean;
|
|
981
|
+
/**
|
|
982
|
+
* Custom property value
|
|
983
|
+
*/
|
|
984
|
+
value: string;
|
|
985
|
+
}
|
|
986
|
+
interface PublicList {
|
|
987
|
+
/**
|
|
988
|
+
* Timestamp of the creation of the list
|
|
989
|
+
*/
|
|
990
|
+
createdAt?: string;
|
|
991
|
+
/**
|
|
992
|
+
* The ID of the user who created the list
|
|
993
|
+
*/
|
|
994
|
+
createdById?: string;
|
|
995
|
+
/**
|
|
996
|
+
* Timestamp of the deletion of the list
|
|
997
|
+
*/
|
|
998
|
+
deletedAt?: string;
|
|
999
|
+
/**
|
|
1000
|
+
* Timestamp of the last update of the list filters
|
|
1001
|
+
*/
|
|
1002
|
+
filtersUpdatedAt?: string;
|
|
1003
|
+
/**
|
|
1004
|
+
* An internal ID of the list
|
|
1005
|
+
*/
|
|
1006
|
+
listId: string;
|
|
1007
|
+
/**
|
|
1008
|
+
* A number that represents a version of the list
|
|
1009
|
+
*/
|
|
1010
|
+
listVersion: number;
|
|
1011
|
+
/**
|
|
1012
|
+
* The name of the list
|
|
1013
|
+
*/
|
|
1014
|
+
name: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* The internal ID of the object type of the list
|
|
1017
|
+
*/
|
|
1018
|
+
objectTypeId: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* Represents the current processing status of the list
|
|
1021
|
+
*/
|
|
1022
|
+
processingStatus: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* Processing type of the list
|
|
1025
|
+
*/
|
|
1026
|
+
processingType: string;
|
|
1027
|
+
/**
|
|
1028
|
+
* The size of the result list
|
|
1029
|
+
*/
|
|
1030
|
+
size?: number;
|
|
1031
|
+
/**
|
|
1032
|
+
* Timestamp of the last update of the list
|
|
1033
|
+
*/
|
|
1034
|
+
updatedAt?: string;
|
|
1035
|
+
/**
|
|
1036
|
+
* The ID of the user who last updated the list
|
|
1037
|
+
*/
|
|
1038
|
+
updatedById?: string;
|
|
1039
|
+
}
|
|
1040
|
+
interface SearchPublicResponseWrapper {
|
|
1041
|
+
/**
|
|
1042
|
+
* The ID of the source application of the marketing event
|
|
1043
|
+
*/
|
|
1044
|
+
appId: number;
|
|
1045
|
+
/**
|
|
1046
|
+
* The account ID associated with this marketing event in the external application
|
|
1047
|
+
*/
|
|
1048
|
+
externalAccountId: string;
|
|
1049
|
+
/**
|
|
1050
|
+
* The ID of the marketing event in the external event application
|
|
1051
|
+
*/
|
|
1052
|
+
externalEventId: string;
|
|
1053
|
+
/**
|
|
1054
|
+
* The internal ID of the marketing event in HubSpot
|
|
1055
|
+
*/
|
|
1056
|
+
objectId: string;
|
|
1057
|
+
}
|
|
1058
|
+
/**
|
|
1059
|
+
* Ye olde error
|
|
1060
|
+
*/
|
|
1061
|
+
interface StandardError {
|
|
1062
|
+
/**
|
|
1063
|
+
* The category of the error
|
|
1064
|
+
*/
|
|
1065
|
+
category: string;
|
|
1066
|
+
/**
|
|
1067
|
+
* The object that contains details of the errors
|
|
1068
|
+
*/
|
|
1069
|
+
context: Record<string, string[]>;
|
|
1070
|
+
/**
|
|
1071
|
+
* The detailed error objects.
|
|
1072
|
+
*/
|
|
1073
|
+
errors: ErrorDetail[];
|
|
1074
|
+
/**
|
|
1075
|
+
* The ID of the request
|
|
1076
|
+
*/
|
|
1077
|
+
id?: string;
|
|
1078
|
+
/**
|
|
1079
|
+
* Results of the request
|
|
1080
|
+
*/
|
|
1081
|
+
links: Record<string, string>;
|
|
1082
|
+
/**
|
|
1083
|
+
* A human readable message describing the error along with remediation steps where appropriate
|
|
1084
|
+
*/
|
|
1085
|
+
message: string;
|
|
1086
|
+
/**
|
|
1087
|
+
* Status of the response
|
|
1088
|
+
*/
|
|
1089
|
+
status: string;
|
|
1090
|
+
/**
|
|
1091
|
+
* The Sub-category of the error
|
|
1092
|
+
*/
|
|
1093
|
+
subCategory?: Record<string, never>;
|
|
1094
|
+
}
|
|
1095
|
+
interface SubscriberEmailResponse {
|
|
1096
|
+
/**
|
|
1097
|
+
* The email of the contact
|
|
1098
|
+
*/
|
|
1099
|
+
email: string;
|
|
1100
|
+
/**
|
|
1101
|
+
* The internal ID of the contact
|
|
1102
|
+
*/
|
|
1103
|
+
vid: number;
|
|
1104
|
+
}
|
|
1105
|
+
interface SubscriberVidResponse {
|
|
1106
|
+
/**
|
|
1107
|
+
* The internal ID of the contact
|
|
1108
|
+
*/
|
|
1109
|
+
vid: number;
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
declare namespace MarketingMarketingevents {
|
|
1113
|
+
type CreateInput = MarketingMarketingEventsSchemas.MarketingEventCreateRequestParams;
|
|
1114
|
+
type CreateOutput = MarketingMarketingEventsSchemas.MarketingEventDefaultResponse;
|
|
1115
|
+
type DeleteBatchByExternalEventIdInput = MarketingMarketingEventsSchemas.BatchInputMarketingEventExternalUniqueIdentifier;
|
|
1116
|
+
type DeleteBatchByExternalEventIdOutput = void;
|
|
1117
|
+
type DeleteBatchInput = MarketingMarketingEventsSchemas.BatchInputMarketingEventPublicObjectIdDeleteRequest;
|
|
1118
|
+
type DeleteBatchOutput = void;
|
|
1119
|
+
interface DeleteByExternalEventIdInput {
|
|
1120
|
+
externalAccountId: string;
|
|
1121
|
+
externalEventId: string;
|
|
1122
|
+
}
|
|
1123
|
+
type DeleteByExternalEventIdOutput = void;
|
|
1124
|
+
interface DeleteInput {
|
|
1125
|
+
/**
|
|
1126
|
+
* The internal id of the marketing event in HubSpot.
|
|
1127
|
+
*/
|
|
1128
|
+
objectId: string;
|
|
1129
|
+
}
|
|
1130
|
+
type DeleteOutput = void;
|
|
1131
|
+
interface GetByExternalEventIdInput {
|
|
1132
|
+
externalAccountId: string;
|
|
1133
|
+
externalEventId: string;
|
|
1134
|
+
}
|
|
1135
|
+
type GetByExternalEventIdOutput = MarketingMarketingEventsSchemas.MarketingEventPublicReadResponse;
|
|
1136
|
+
interface GetInput {
|
|
1137
|
+
/**
|
|
1138
|
+
* The internal id of the marketing event in HubSpot.
|
|
1139
|
+
*/
|
|
1140
|
+
objectId: string;
|
|
1141
|
+
}
|
|
1142
|
+
type GetOutput = MarketingMarketingEventsSchemas.MarketingEventPublicReadResponseV2;
|
|
1143
|
+
interface ListInput {
|
|
1144
|
+
/**
|
|
1145
|
+
* The cursor indicating the position of the last retrieved item.
|
|
1146
|
+
*/
|
|
1147
|
+
after?: string;
|
|
1148
|
+
/**
|
|
1149
|
+
* The limit for response size. The default value is 10, the max number is 100
|
|
1150
|
+
*/
|
|
1151
|
+
limit?: number;
|
|
1434
1152
|
}
|
|
1153
|
+
type ListOutput = MarketingMarketingEventsSchemas.CollectionResponseMarketingEventPublicReadResponseV2ForwardPaging;
|
|
1154
|
+
interface SearchByExternalEventIdInput {
|
|
1155
|
+
q: string;
|
|
1156
|
+
}
|
|
1157
|
+
type SearchByExternalEventIdOutput = MarketingMarketingEventsSchemas.CollectionResponseSearchPublicResponseWrapperNoPaging;
|
|
1158
|
+
interface SearchIdentifiersByExternalEventIdInput {
|
|
1159
|
+
/**
|
|
1160
|
+
* The id of the marketing event in the external event application.
|
|
1161
|
+
*/
|
|
1162
|
+
externalEventId: string;
|
|
1163
|
+
}
|
|
1164
|
+
type SearchIdentifiersByExternalEventIdOutput = MarketingMarketingEventsSchemas.CollectionResponseWithTotalMarketingEventIdentifiersResponse;
|
|
1165
|
+
type UpdateBatchInput = MarketingMarketingEventsSchemas.BatchInputMarketingEventPublicUpdateRequestFullV2;
|
|
1166
|
+
type UpdateBatchOutput = MarketingMarketingEventsSchemas.BatchResponseMarketingEventPublicDefaultResponseV2;
|
|
1167
|
+
interface UpdateByExternalEventIdInput {
|
|
1168
|
+
data: MarketingMarketingEventsSchemas.MarketingEventUpdateRequestParams;
|
|
1169
|
+
externalAccountId: string;
|
|
1170
|
+
externalEventId: string;
|
|
1171
|
+
}
|
|
1172
|
+
type UpdateByExternalEventIdOutput = MarketingMarketingEventsSchemas.MarketingEventPublicDefaultResponse;
|
|
1173
|
+
interface UpdateInput {
|
|
1174
|
+
data: MarketingMarketingEventsSchemas.MarketingEventPublicUpdateRequestV2;
|
|
1175
|
+
/**
|
|
1176
|
+
* The internal id of the marketing event in HubSpot.
|
|
1177
|
+
*/
|
|
1178
|
+
objectId: string;
|
|
1179
|
+
}
|
|
1180
|
+
type UpdateOutput = MarketingMarketingEventsSchemas.MarketingEventPublicDefaultResponseV2;
|
|
1181
|
+
type UpsertBatchInput = MarketingMarketingEventsSchemas.BatchInputMarketingEventCreateRequestParams;
|
|
1182
|
+
type UpsertBatchOutput = MarketingMarketingEventsSchemas.BatchResponseMarketingEventPublicDefaultResponse;
|
|
1183
|
+
interface UpsertByExternalEventIdInput {
|
|
1184
|
+
data: MarketingMarketingEventsSchemas.MarketingEventCreateRequestParams;
|
|
1185
|
+
externalEventId: string;
|
|
1186
|
+
}
|
|
1187
|
+
type UpsertByExternalEventIdOutput = MarketingMarketingEventsSchemas.MarketingEventPublicDefaultResponse;
|
|
1435
1188
|
/**
|
|
1436
1189
|
* Usage example:
|
|
1437
1190
|
* ```ts
|
|
1438
|
-
* import {
|
|
1439
|
-
* client.send(
|
|
1191
|
+
* import { marketingMarketingevents } from '@hubspot/api-client-core';
|
|
1192
|
+
* client.send(marketingMarketingevents.create(input));
|
|
1440
1193
|
* ```
|
|
1441
1194
|
*/
|
|
1442
|
-
interface
|
|
1195
|
+
interface API {
|
|
1443
1196
|
/**
|
|
1444
1197
|
* Create a marketing event
|
|
1445
1198
|
* @apiPath /marketing/marketing-events/2026-03/events
|
|
1446
1199
|
* @apiMethod POST
|
|
1447
1200
|
* @requiredScopes marketing-events-write
|
|
1448
1201
|
*/
|
|
1449
|
-
create: (input:
|
|
1202
|
+
create: (input: CreateInput) => Operation<CreateOutput>;
|
|
1450
1203
|
/**
|
|
1451
1204
|
* Delete Marketing Event by objectId
|
|
1452
1205
|
* @apiPath /marketing/marketing-events/2026-03/{objectId}
|
|
1453
1206
|
* @apiMethod DELETE
|
|
1454
1207
|
* @requiredScopes marketing-events-write
|
|
1455
1208
|
*/
|
|
1456
|
-
delete: (input:
|
|
1209
|
+
delete: (input: DeleteInput) => Operation<DeleteOutput>;
|
|
1210
|
+
/**
|
|
1211
|
+
* Delete Multiple Marketing Events by ObjectId
|
|
1212
|
+
* @apiPath /marketing/marketing-events/2026-03/batch/archive
|
|
1213
|
+
* @apiMethod POST
|
|
1214
|
+
* @requiredScopes marketing-events-write
|
|
1215
|
+
*/
|
|
1216
|
+
deleteBatch: (input: DeleteBatchInput) => Operation<DeleteBatchOutput>;
|
|
1217
|
+
/**
|
|
1218
|
+
* Delete Multiple Marketing Events by External Ids
|
|
1219
|
+
* @apiPath /marketing/marketing-events/2026-03/events/delete
|
|
1220
|
+
* @apiMethod POST
|
|
1221
|
+
* @requiredScopes marketing-events-write
|
|
1222
|
+
*/
|
|
1223
|
+
deleteBatchByExternalEventId: (input: DeleteBatchByExternalEventIdInput) => Operation<DeleteBatchByExternalEventIdOutput>;
|
|
1457
1224
|
/**
|
|
1458
1225
|
* Delete Marketing Event by External Ids
|
|
1459
1226
|
* @apiPath /marketing/marketing-events/2026-03/events/{externalEventId}
|
|
1460
1227
|
* @apiMethod DELETE
|
|
1461
1228
|
* @requiredScopes marketing-events-write
|
|
1462
1229
|
*/
|
|
1463
|
-
deleteByExternalEventId: (input:
|
|
1230
|
+
deleteByExternalEventId: (input: DeleteByExternalEventIdInput) => Operation<DeleteByExternalEventIdOutput>;
|
|
1464
1231
|
/**
|
|
1465
1232
|
* Get Marketing Event by objectId
|
|
1466
1233
|
* @apiPath /marketing/marketing-events/2026-03/{objectId}
|
|
1467
1234
|
* @apiMethod GET
|
|
1468
1235
|
* @requiredScopes marketing-events-read
|
|
1469
1236
|
*/
|
|
1470
|
-
get: (input:
|
|
1237
|
+
get: (input: GetInput) => Operation<GetOutput>;
|
|
1471
1238
|
/**
|
|
1472
1239
|
* Get Marketing Event by External IDs
|
|
1473
1240
|
* @apiPath /marketing/marketing-events/2026-03/events/{externalEventId}
|
|
1474
1241
|
* @apiMethod GET
|
|
1475
1242
|
* @requiredScopes marketing-events-read
|
|
1476
1243
|
*/
|
|
1477
|
-
getByExternalEventId: (input:
|
|
1244
|
+
getByExternalEventId: (input: GetByExternalEventIdInput) => Operation<GetByExternalEventIdOutput>;
|
|
1478
1245
|
/**
|
|
1479
1246
|
* @apiPath /marketing/marketing-events/2026-03
|
|
1480
1247
|
* @apiMethod GET
|
|
1481
1248
|
* @requiredScopes marketing-events-read
|
|
1482
1249
|
*/
|
|
1483
|
-
list: (input?:
|
|
1250
|
+
list: (input?: ListInput) => Operation<ListOutput>;
|
|
1251
|
+
/**
|
|
1252
|
+
* Find App-Specific Marketing Events by External Event Id
|
|
1253
|
+
* @apiPath /marketing/marketing-events/2026-03/events/search
|
|
1254
|
+
* @apiMethod GET
|
|
1255
|
+
* @requiredScopes marketing-events-read
|
|
1256
|
+
*/
|
|
1257
|
+
searchByExternalEventId: (input: SearchByExternalEventIdInput) => Operation<SearchByExternalEventIdOutput>;
|
|
1258
|
+
/**
|
|
1259
|
+
* Find Marketing Events by External Event Id
|
|
1260
|
+
* @apiPath /marketing/marketing-events/2026-03/{externalEventId}/identifiers
|
|
1261
|
+
* @apiMethod GET
|
|
1262
|
+
* @requiredScopes marketing-events-read
|
|
1263
|
+
*/
|
|
1264
|
+
searchIdentifiersByExternalEventId: (input: SearchIdentifiersByExternalEventIdInput) => Operation<SearchIdentifiersByExternalEventIdOutput>;
|
|
1484
1265
|
/**
|
|
1485
1266
|
* Update Marketing Event by objectId
|
|
1486
1267
|
* @apiPath /marketing/marketing-events/2026-03/{objectId}
|
|
1487
1268
|
* @apiMethod PATCH
|
|
1488
1269
|
* @requiredScopes marketing-events-write
|
|
1489
1270
|
*/
|
|
1490
|
-
update: (input:
|
|
1271
|
+
update: (input: UpdateInput) => Operation<UpdateOutput>;
|
|
1272
|
+
/**
|
|
1273
|
+
* Update Multiple Marketing Events by ObjectId
|
|
1274
|
+
* @apiPath /marketing/marketing-events/2026-03/batch/update
|
|
1275
|
+
* @apiMethod POST
|
|
1276
|
+
* @requiredScopes marketing-events-write
|
|
1277
|
+
*/
|
|
1278
|
+
updateBatch: (input: UpdateBatchInput) => Operation<UpdateBatchOutput>;
|
|
1491
1279
|
/**
|
|
1492
1280
|
* Update Marketing Event by External IDs
|
|
1493
1281
|
* @apiPath /marketing/marketing-events/2026-03/events/{externalEventId}
|
|
1494
1282
|
* @apiMethod PATCH
|
|
1495
1283
|
* @requiredScopes marketing-events-write
|
|
1496
1284
|
*/
|
|
1497
|
-
updateByExternalEventId: (input:
|
|
1285
|
+
updateByExternalEventId: (input: UpdateByExternalEventIdInput) => Operation<UpdateByExternalEventIdOutput>;
|
|
1286
|
+
/**
|
|
1287
|
+
* Create or Update Multiple Marketing Events
|
|
1288
|
+
* @apiPath /marketing/marketing-events/2026-03/events/upsert
|
|
1289
|
+
* @apiMethod POST
|
|
1290
|
+
* @requiredScopes marketing-events-write
|
|
1291
|
+
*/
|
|
1292
|
+
upsertBatch: (input: UpsertBatchInput) => Operation<UpsertBatchOutput>;
|
|
1498
1293
|
/**
|
|
1499
1294
|
* Create or update a marketing event
|
|
1500
1295
|
* @apiPath /marketing/marketing-events/2026-03/events/{externalEventId}
|
|
1501
1296
|
* @apiMethod PUT
|
|
1502
1297
|
* @requiredScopes marketing-events-write
|
|
1503
1298
|
*/
|
|
1504
|
-
upsertByExternalEventId: (input:
|
|
1299
|
+
upsertByExternalEventId: (input: UpsertByExternalEventIdInput) => Operation<UpsertByExternalEventIdOutput>;
|
|
1505
1300
|
}
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
* client.send(marketingMarketingEvents.batch.deleteBatch(input));
|
|
1511
|
-
* ```
|
|
1512
|
-
*/
|
|
1513
|
-
interface BatchAPI {
|
|
1301
|
+
}
|
|
1302
|
+
declare namespace MarketingMarketingeventsAttendance {
|
|
1303
|
+
interface CreateByEventIdAndContactIdInput {
|
|
1304
|
+
data: MarketingMarketingEventsSchemas.BatchInputMarketingEventSubscriber;
|
|
1514
1305
|
/**
|
|
1515
|
-
*
|
|
1516
|
-
* @apiPath /marketing/marketing-events/2026-03/batch/archive
|
|
1517
|
-
* @apiMethod POST
|
|
1518
|
-
* @requiredScopes marketing-events-write
|
|
1306
|
+
* The internal id of the marketing event in HubSpot.
|
|
1519
1307
|
*/
|
|
1520
|
-
|
|
1308
|
+
objectId: string;
|
|
1521
1309
|
/**
|
|
1522
|
-
*
|
|
1523
|
-
* @apiPath /marketing/marketing-events/2026-03/events/delete
|
|
1524
|
-
* @apiMethod POST
|
|
1525
|
-
* @requiredScopes marketing-events-write
|
|
1310
|
+
* The attendance state value. It may be 'register', 'attend' or 'cancel'
|
|
1526
1311
|
*/
|
|
1527
|
-
|
|
1312
|
+
subscriberState: string;
|
|
1313
|
+
}
|
|
1314
|
+
type CreateByEventIdAndContactIdOutput = MarketingMarketingEventsSchemas.BatchResponseSubscriberVidResponse;
|
|
1315
|
+
interface CreateByEventIdAndEmailInput {
|
|
1316
|
+
data: MarketingMarketingEventsSchemas.BatchInputMarketingEventEmailSubscriber;
|
|
1528
1317
|
/**
|
|
1529
|
-
*
|
|
1530
|
-
* @apiPath /marketing/marketing-events/2026-03/batch/update
|
|
1531
|
-
* @apiMethod POST
|
|
1532
|
-
* @requiredScopes marketing-events-write
|
|
1318
|
+
* The internal id of the marketing event in HubSpot.
|
|
1533
1319
|
*/
|
|
1534
|
-
|
|
1320
|
+
objectId: string;
|
|
1535
1321
|
/**
|
|
1536
|
-
*
|
|
1537
|
-
* @apiPath /marketing/marketing-events/2026-03/events/upsert
|
|
1538
|
-
* @apiMethod POST
|
|
1539
|
-
* @requiredScopes marketing-events-write
|
|
1322
|
+
* The attendance state value. It may be 'register', 'attend' or 'cancel'
|
|
1540
1323
|
*/
|
|
1541
|
-
|
|
1324
|
+
subscriberState: string;
|
|
1325
|
+
}
|
|
1326
|
+
type CreateByEventIdAndEmailOutput = MarketingMarketingEventsSchemas.BatchResponseSubscriberEmailResponse;
|
|
1327
|
+
interface CreateByExternalEventIdAndContactIdInput {
|
|
1328
|
+
data: MarketingMarketingEventsSchemas.BatchInputMarketingEventSubscriber;
|
|
1329
|
+
externalAccountId?: string;
|
|
1330
|
+
externalEventId: string;
|
|
1331
|
+
subscriberState: string;
|
|
1542
1332
|
}
|
|
1333
|
+
type CreateByExternalEventIdAndContactIdOutput = MarketingMarketingEventsSchemas.BatchResponseSubscriberVidResponse;
|
|
1334
|
+
interface CreateByExternalEventIdAndEmailInput {
|
|
1335
|
+
data: MarketingMarketingEventsSchemas.BatchInputMarketingEventEmailSubscriber;
|
|
1336
|
+
externalAccountId?: string;
|
|
1337
|
+
externalEventId: string;
|
|
1338
|
+
subscriberState: string;
|
|
1339
|
+
}
|
|
1340
|
+
type CreateByExternalEventIdAndEmailOutput = MarketingMarketingEventsSchemas.BatchResponseSubscriberEmailResponse;
|
|
1543
1341
|
/**
|
|
1544
1342
|
* Usage example:
|
|
1545
1343
|
* ```ts
|
|
1546
|
-
* import {
|
|
1547
|
-
* client.send(
|
|
1344
|
+
* import { marketingMarketingeventsAttendance } from '@hubspot/api-client-core';
|
|
1345
|
+
* client.send(marketingMarketingeventsAttendance.createByEventIdAndContactId(input));
|
|
1548
1346
|
* ```
|
|
1549
1347
|
*/
|
|
1550
|
-
interface
|
|
1348
|
+
interface API {
|
|
1551
1349
|
/**
|
|
1552
1350
|
* Record Participants by ContactId with Marketing Event Object Id
|
|
1553
1351
|
* @apiPath /marketing/marketing-events/2026-03/{objectId}/attendance/{subscriberState}/create
|
|
1554
1352
|
* @apiMethod POST
|
|
1555
1353
|
* @requiredScopes marketing-events-write
|
|
1556
1354
|
*/
|
|
1557
|
-
createByEventIdAndContactId: (input:
|
|
1355
|
+
createByEventIdAndContactId: (input: CreateByEventIdAndContactIdInput) => Operation<CreateByEventIdAndContactIdOutput>;
|
|
1558
1356
|
/**
|
|
1559
1357
|
* Record Participants by Email with Marketing Event Object Id
|
|
1560
1358
|
* @apiPath /marketing/marketing-events/2026-03/{objectId}/attendance/{subscriberState}/email-create
|
|
1561
1359
|
* @apiMethod POST
|
|
1562
1360
|
* @requiredScopes marketing-events-write
|
|
1563
1361
|
*/
|
|
1564
|
-
createByEventIdAndEmail: (input:
|
|
1362
|
+
createByEventIdAndEmail: (input: CreateByEventIdAndEmailInput) => Operation<CreateByEventIdAndEmailOutput>;
|
|
1565
1363
|
/**
|
|
1566
1364
|
* Record Participants by ContactId with Marketing Event External Ids
|
|
1567
1365
|
* @apiPath /marketing/marketing-events/2026-03/attendance/{externalEventId}/{subscriberState}/create
|
|
1568
1366
|
* @apiMethod POST
|
|
1569
1367
|
* @requiredScopes marketing-events-write
|
|
1570
1368
|
*/
|
|
1571
|
-
createByExternalEventIdAndContactId: (input:
|
|
1369
|
+
createByExternalEventIdAndContactId: (input: CreateByExternalEventIdAndContactIdInput) => Operation<CreateByExternalEventIdAndContactIdOutput>;
|
|
1572
1370
|
/**
|
|
1573
1371
|
* Record Participants by Email with Marketing Event External Ids
|
|
1574
1372
|
* @apiPath /marketing/marketing-events/2026-03/attendance/{externalEventId}/{subscriberState}/email-create
|
|
1575
1373
|
* @apiMethod POST
|
|
1576
1374
|
* @requiredScopes marketing-events-write
|
|
1577
1375
|
*/
|
|
1578
|
-
createByExternalEventIdAndEmail: (input:
|
|
1376
|
+
createByExternalEventIdAndEmail: (input: CreateByExternalEventIdAndEmailInput) => Operation<CreateByExternalEventIdAndEmailOutput>;
|
|
1579
1377
|
}
|
|
1378
|
+
}
|
|
1379
|
+
declare namespace MarketingMarketingeventsEvents {
|
|
1380
|
+
interface CancelByExternalEventIdInput {
|
|
1381
|
+
externalAccountId: string;
|
|
1382
|
+
externalEventId: string;
|
|
1383
|
+
}
|
|
1384
|
+
type CancelByExternalEventIdOutput = MarketingMarketingEventsSchemas.MarketingEventDefaultResponse;
|
|
1385
|
+
interface CompleteByExternalEventIdInput {
|
|
1386
|
+
data: MarketingMarketingEventsSchemas.MarketingEventCompleteRequestParams;
|
|
1387
|
+
externalAccountId: string;
|
|
1388
|
+
externalEventId: string;
|
|
1389
|
+
}
|
|
1390
|
+
type CompleteByExternalEventIdOutput = MarketingMarketingEventsSchemas.MarketingEventDefaultResponse;
|
|
1580
1391
|
/**
|
|
1581
1392
|
* Usage example:
|
|
1582
1393
|
* ```ts
|
|
1583
|
-
* import {
|
|
1584
|
-
* client.send(
|
|
1394
|
+
* import { marketingMarketingeventsEvents } from '@hubspot/api-client-core';
|
|
1395
|
+
* client.send(marketingMarketingeventsEvents.cancelByExternalEventId(input));
|
|
1585
1396
|
* ```
|
|
1586
1397
|
*/
|
|
1587
|
-
interface
|
|
1398
|
+
interface API {
|
|
1588
1399
|
/**
|
|
1589
1400
|
* Mark a marketing event as cancelled
|
|
1590
1401
|
* @apiPath /marketing/marketing-events/2026-03/events/{externalEventId}/cancel
|
|
1591
1402
|
* @apiMethod POST
|
|
1592
1403
|
* @requiredScopes marketing-events-write
|
|
1593
1404
|
*/
|
|
1594
|
-
cancelByExternalEventId: (input:
|
|
1405
|
+
cancelByExternalEventId: (input: CancelByExternalEventIdInput) => Operation<CancelByExternalEventIdOutput>;
|
|
1595
1406
|
/**
|
|
1596
1407
|
* Mark a marketing event as completed
|
|
1597
1408
|
* @apiPath /marketing/marketing-events/2026-03/events/{externalEventId}/complete
|
|
1598
1409
|
* @apiMethod POST
|
|
1599
1410
|
* @requiredScopes marketing-events-write
|
|
1600
1411
|
*/
|
|
1601
|
-
completeByExternalEventId: (input:
|
|
1412
|
+
completeByExternalEventId: (input: CompleteByExternalEventIdInput) => Operation<CompleteByExternalEventIdOutput>;
|
|
1602
1413
|
}
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
* import { marketingMarketingEvents } from '@hubspot/api-client-core';
|
|
1607
|
-
* client.send(marketingMarketingEvents.identifiers.searchByExternalEventId(input));
|
|
1608
|
-
* ```
|
|
1609
|
-
*/
|
|
1610
|
-
interface IdentifiersAPI {
|
|
1414
|
+
}
|
|
1415
|
+
declare namespace MarketingMarketingeventsListassociations {
|
|
1416
|
+
interface AssociateByExternalAccountInput {
|
|
1611
1417
|
/**
|
|
1612
|
-
*
|
|
1613
|
-
* @apiPath /marketing/marketing-events/2026-03/events/search
|
|
1614
|
-
* @apiMethod GET
|
|
1615
|
-
* @requiredScopes marketing-events-read
|
|
1418
|
+
* The accountId that is associated with this marketing event in the external event application.
|
|
1616
1419
|
*/
|
|
1617
|
-
|
|
1420
|
+
externalAccountId: string;
|
|
1618
1421
|
/**
|
|
1619
|
-
*
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1422
|
+
* The id of the marketing event in the external event application.
|
|
1423
|
+
*/
|
|
1424
|
+
externalEventId: string;
|
|
1425
|
+
/**
|
|
1426
|
+
* The ILS ID of the list.
|
|
1427
|
+
*/
|
|
1428
|
+
listId: string;
|
|
1429
|
+
}
|
|
1430
|
+
type AssociateByExternalAccountOutput = void;
|
|
1431
|
+
interface AssociateInput {
|
|
1432
|
+
/**
|
|
1433
|
+
* The ILS ID of the list.
|
|
1434
|
+
*/
|
|
1435
|
+
listId: string;
|
|
1436
|
+
/**
|
|
1437
|
+
* The internal id of the marketing event in HubSpot.
|
|
1438
|
+
*/
|
|
1439
|
+
marketingEventId: string;
|
|
1440
|
+
}
|
|
1441
|
+
type AssociateOutput = void;
|
|
1442
|
+
interface DeleteByExternalAccountInput {
|
|
1443
|
+
/**
|
|
1444
|
+
* The accountId that is associated with this marketing event in the external event application.
|
|
1445
|
+
*/
|
|
1446
|
+
externalAccountId: string;
|
|
1447
|
+
/**
|
|
1448
|
+
* The id of the marketing event in the external event application.
|
|
1449
|
+
*/
|
|
1450
|
+
externalEventId: string;
|
|
1451
|
+
/**
|
|
1452
|
+
* The ILS ID of the list.
|
|
1453
|
+
*/
|
|
1454
|
+
listId: string;
|
|
1455
|
+
}
|
|
1456
|
+
type DeleteByExternalAccountOutput = void;
|
|
1457
|
+
interface DeleteInput {
|
|
1458
|
+
/**
|
|
1459
|
+
* The ILS ID of the list.
|
|
1460
|
+
*/
|
|
1461
|
+
listId: string;
|
|
1462
|
+
/**
|
|
1463
|
+
* The internal id of the marketing event in HubSpot.
|
|
1464
|
+
*/
|
|
1465
|
+
marketingEventId: string;
|
|
1466
|
+
}
|
|
1467
|
+
type DeleteOutput = void;
|
|
1468
|
+
interface ListByExternalAccountInput {
|
|
1469
|
+
/**
|
|
1470
|
+
* The accountId that is associated with this marketing event in the external event application.
|
|
1623
1471
|
*/
|
|
1624
|
-
|
|
1472
|
+
externalAccountId: string;
|
|
1473
|
+
/**
|
|
1474
|
+
* The id of the marketing event in the external event application.
|
|
1475
|
+
*/
|
|
1476
|
+
externalEventId: string;
|
|
1477
|
+
}
|
|
1478
|
+
type ListByExternalAccountOutput = MarketingMarketingEventsSchemas.CollectionResponseWithTotalPublicList;
|
|
1479
|
+
interface ListInput {
|
|
1480
|
+
/**
|
|
1481
|
+
* The internal id of the marketing event in HubSpot.
|
|
1482
|
+
*/
|
|
1483
|
+
marketingEventId: string;
|
|
1625
1484
|
}
|
|
1485
|
+
type ListOutput = MarketingMarketingEventsSchemas.CollectionResponseWithTotalPublicList;
|
|
1626
1486
|
/**
|
|
1627
1487
|
* Usage example:
|
|
1628
1488
|
* ```ts
|
|
1629
|
-
* import {
|
|
1630
|
-
* client.send(
|
|
1489
|
+
* import { marketingMarketingeventsListassociations } from '@hubspot/api-client-core';
|
|
1490
|
+
* client.send(marketingMarketingeventsListassociations.associate(input));
|
|
1631
1491
|
* ```
|
|
1632
1492
|
*/
|
|
1633
|
-
interface
|
|
1493
|
+
interface API {
|
|
1634
1494
|
/**
|
|
1635
1495
|
* Associate a list with a marketing event
|
|
1636
1496
|
* @apiPath /marketing/marketing-events/2026-03/associations/{marketingEventId}/lists/{listId}
|
|
1637
1497
|
* @apiMethod PUT
|
|
1638
1498
|
* @requiredScopes marketing-events-write
|
|
1639
1499
|
*/
|
|
1640
|
-
associate: (input:
|
|
1500
|
+
associate: (input: AssociateInput) => Operation<AssociateOutput>;
|
|
1641
1501
|
/**
|
|
1642
1502
|
* Associate a list with a marketing event
|
|
1643
1503
|
* @apiPath /marketing/marketing-events/2026-03/associations/{externalAccountId}/{externalEventId}/lists/{listId}
|
|
1644
1504
|
* @apiMethod PUT
|
|
1645
1505
|
* @requiredScopes marketing-events-write
|
|
1646
1506
|
*/
|
|
1647
|
-
associateByExternalAccount: (input:
|
|
1507
|
+
associateByExternalAccount: (input: AssociateByExternalAccountInput) => Operation<AssociateByExternalAccountOutput>;
|
|
1648
1508
|
/**
|
|
1649
1509
|
* Disassociate a list from a marketing event
|
|
1650
1510
|
* @apiPath /marketing/marketing-events/2026-03/associations/{marketingEventId}/lists/{listId}
|
|
1651
1511
|
* @apiMethod DELETE
|
|
1652
1512
|
* @requiredScopes marketing-events-write
|
|
1653
1513
|
*/
|
|
1654
|
-
delete: (input:
|
|
1514
|
+
delete: (input: DeleteInput) => Operation<DeleteOutput>;
|
|
1655
1515
|
/**
|
|
1656
1516
|
* Disassociate a list from a marketing event
|
|
1657
1517
|
* @apiPath /marketing/marketing-events/2026-03/associations/{externalAccountId}/{externalEventId}/lists/{listId}
|
|
1658
1518
|
* @apiMethod DELETE
|
|
1659
1519
|
* @requiredScopes marketing-events-write
|
|
1660
1520
|
*/
|
|
1661
|
-
deleteByExternalAccount: (input:
|
|
1521
|
+
deleteByExternalAccount: (input: DeleteByExternalAccountInput) => Operation<DeleteByExternalAccountOutput>;
|
|
1662
1522
|
/**
|
|
1663
1523
|
* Get lists associated with a marketing event
|
|
1664
1524
|
* @apiPath /marketing/marketing-events/2026-03/associations/{marketingEventId}/lists
|
|
1665
1525
|
* @apiMethod GET
|
|
1666
1526
|
* @requiredScopes marketing-events-write
|
|
1667
1527
|
*/
|
|
1668
|
-
list: (input:
|
|
1528
|
+
list: (input: ListInput) => Operation<ListOutput>;
|
|
1669
1529
|
/**
|
|
1670
1530
|
* Get lists associated with a marketing event
|
|
1671
1531
|
* @apiPath /marketing/marketing-events/2026-03/associations/{externalAccountId}/{externalEventId}/lists
|
|
1672
1532
|
* @apiMethod GET
|
|
1673
1533
|
* @requiredScopes marketing-events-write
|
|
1674
1534
|
*/
|
|
1675
|
-
listByExternalAccount: (input:
|
|
1535
|
+
listByExternalAccount: (input: ListByExternalAccountInput) => Operation<ListByExternalAccountOutput>;
|
|
1536
|
+
}
|
|
1537
|
+
}
|
|
1538
|
+
declare namespace MarketingMarketingeventsParticipations {
|
|
1539
|
+
interface GetByExternalAccountAndEventIdInput {
|
|
1540
|
+
/**
|
|
1541
|
+
* The accountId that is associated with this marketing event in the external event application.
|
|
1542
|
+
*/
|
|
1543
|
+
externalAccountId: string;
|
|
1544
|
+
/**
|
|
1545
|
+
* The id of the marketing event in the external event application.
|
|
1546
|
+
*/
|
|
1547
|
+
externalEventId: string;
|
|
1548
|
+
}
|
|
1549
|
+
type GetByExternalAccountAndEventIdOutput = MarketingMarketingEventsSchemas.AttendanceCounters;
|
|
1550
|
+
interface GetByIdInput {
|
|
1551
|
+
/**
|
|
1552
|
+
* The internal id of the marketing event in HubSpot.
|
|
1553
|
+
*/
|
|
1554
|
+
marketingEventId: number;
|
|
1555
|
+
}
|
|
1556
|
+
type GetByIdOutput = MarketingMarketingEventsSchemas.AttendanceCounters;
|
|
1557
|
+
interface ListBreakdownByContactInput {
|
|
1558
|
+
/**
|
|
1559
|
+
* The cursor indicating the position of the last retrieved item.
|
|
1560
|
+
*/
|
|
1561
|
+
after?: string;
|
|
1562
|
+
/**
|
|
1563
|
+
* The identifier of the Contact. It may be email or internal id.
|
|
1564
|
+
*/
|
|
1565
|
+
contactIdentifier: string;
|
|
1566
|
+
/**
|
|
1567
|
+
* The limit for response size. The default value is 10, the max number is 100
|
|
1568
|
+
*/
|
|
1569
|
+
limit?: number;
|
|
1570
|
+
/**
|
|
1571
|
+
* The participation state value. It may be REGISTERED, CANCELLED, ATTENDED, NO_SHOW
|
|
1572
|
+
*/
|
|
1573
|
+
state?: string;
|
|
1574
|
+
}
|
|
1575
|
+
type ListBreakdownByContactOutput = MarketingMarketingEventsSchemas.CollectionResponseWithTotalParticipationBreakdown;
|
|
1576
|
+
interface ListBreakdownByExternalAccountAndEventIdInput {
|
|
1577
|
+
/**
|
|
1578
|
+
* The cursor indicating the position of the last retrieved item.
|
|
1579
|
+
*/
|
|
1580
|
+
after?: string;
|
|
1581
|
+
/**
|
|
1582
|
+
* The identifier of the Contact. It may be email or internal id.
|
|
1583
|
+
*/
|
|
1584
|
+
contactIdentifier?: string;
|
|
1585
|
+
/**
|
|
1586
|
+
* The accountId that is associated with this marketing event in the external event application.
|
|
1587
|
+
*/
|
|
1588
|
+
externalAccountId: string;
|
|
1589
|
+
/**
|
|
1590
|
+
* The id of the marketing event in the external event application.
|
|
1591
|
+
*/
|
|
1592
|
+
externalEventId: string;
|
|
1593
|
+
/**
|
|
1594
|
+
* The limit for response size. The default value is 10, the max number is 100
|
|
1595
|
+
*/
|
|
1596
|
+
limit?: number;
|
|
1597
|
+
/**
|
|
1598
|
+
* The participation state value. It may be REGISTERED, CANCELLED, ATTENDED, NO_SHOW
|
|
1599
|
+
*/
|
|
1600
|
+
state?: string;
|
|
1601
|
+
}
|
|
1602
|
+
type ListBreakdownByExternalAccountAndEventIdOutput = MarketingMarketingEventsSchemas.CollectionResponseWithTotalParticipationBreakdown;
|
|
1603
|
+
interface ListBreakdownByIdInput {
|
|
1604
|
+
/**
|
|
1605
|
+
* The cursor indicating the position of the last retrieved item.
|
|
1606
|
+
*/
|
|
1607
|
+
after?: string;
|
|
1608
|
+
/**
|
|
1609
|
+
* The identifier of the Contact. It may be email or internal id.
|
|
1610
|
+
*/
|
|
1611
|
+
contactIdentifier?: string;
|
|
1612
|
+
/**
|
|
1613
|
+
* The limit for response size. The default value is 10, the max number is 100
|
|
1614
|
+
*/
|
|
1615
|
+
limit?: number;
|
|
1616
|
+
/**
|
|
1617
|
+
* The internal id of the marketing event in HubSpot.
|
|
1618
|
+
*/
|
|
1619
|
+
marketingEventId: number;
|
|
1620
|
+
/**
|
|
1621
|
+
* The participation state value. It may be REGISTERED, CANCELLED, ATTENDED, NO_SHOW
|
|
1622
|
+
*/
|
|
1623
|
+
state?: string;
|
|
1676
1624
|
}
|
|
1625
|
+
type ListBreakdownByIdOutput = MarketingMarketingEventsSchemas.CollectionResponseWithTotalParticipationBreakdown;
|
|
1677
1626
|
/**
|
|
1678
1627
|
* Usage example:
|
|
1679
1628
|
* ```ts
|
|
1680
|
-
* import {
|
|
1681
|
-
* client.send(
|
|
1629
|
+
* import { marketingMarketingeventsParticipations } from '@hubspot/api-client-core';
|
|
1630
|
+
* client.send(marketingMarketingeventsParticipations.getByExternalAccountAndEventId(input));
|
|
1682
1631
|
* ```
|
|
1683
1632
|
*/
|
|
1684
|
-
interface
|
|
1633
|
+
interface API {
|
|
1685
1634
|
/**
|
|
1686
1635
|
* Read participations counters by Marketing Event external identifier
|
|
1687
1636
|
* @apiPath /marketing/marketing-events/2026-03/participations/{externalAccountId}/{externalEventId}
|
|
1688
1637
|
* @apiMethod GET
|
|
1689
1638
|
* @requiredScopes marketing-events-read
|
|
1690
1639
|
*/
|
|
1691
|
-
getByExternalAccountAndEventId: (input:
|
|
1640
|
+
getByExternalAccountAndEventId: (input: GetByExternalAccountAndEventIdInput) => Operation<GetByExternalAccountAndEventIdOutput>;
|
|
1692
1641
|
/**
|
|
1693
1642
|
* Read participations counters by Marketing Event internal identifier
|
|
1694
1643
|
* @apiPath /marketing/marketing-events/2026-03/participations/{marketingEventId}
|
|
1695
1644
|
* @apiMethod GET
|
|
1696
1645
|
* @requiredScopes marketing-events-read
|
|
1697
1646
|
*/
|
|
1698
|
-
getById: (input:
|
|
1647
|
+
getById: (input: GetByIdInput) => Operation<GetByIdOutput>;
|
|
1699
1648
|
/**
|
|
1700
1649
|
* Read participations breakdown by Contact identifier
|
|
1701
1650
|
* @apiPath /marketing/marketing-events/2026-03/participations/contacts/{contactIdentifier}/breakdown
|
|
1702
1651
|
* @apiMethod GET
|
|
1703
1652
|
* @requiredScopes marketing-events-read
|
|
1704
1653
|
*/
|
|
1705
|
-
listBreakdownByContact: (input:
|
|
1654
|
+
listBreakdownByContact: (input: ListBreakdownByContactInput) => Operation<ListBreakdownByContactOutput>;
|
|
1706
1655
|
/**
|
|
1707
1656
|
* Read participations breakdown by Marketing Event external identifier
|
|
1708
1657
|
* @apiPath /marketing/marketing-events/2026-03/participations/{externalAccountId}/{externalEventId}/breakdown
|
|
1709
1658
|
* @apiMethod GET
|
|
1710
1659
|
* @requiredScopes marketing-events-read
|
|
1711
1660
|
*/
|
|
1712
|
-
listBreakdownByExternalAccountAndEventId: (input:
|
|
1661
|
+
listBreakdownByExternalAccountAndEventId: (input: ListBreakdownByExternalAccountAndEventIdInput) => Operation<ListBreakdownByExternalAccountAndEventIdOutput>;
|
|
1713
1662
|
/**
|
|
1714
1663
|
* Read participations breakdown by Marketing Event internal identifier
|
|
1715
1664
|
* @apiPath /marketing/marketing-events/2026-03/participations/{marketingEventId}/breakdown
|
|
1716
1665
|
* @apiMethod GET
|
|
1717
1666
|
* @requiredScopes marketing-events-read
|
|
1718
1667
|
*/
|
|
1719
|
-
listBreakdownById: (input:
|
|
1668
|
+
listBreakdownById: (input: ListBreakdownByIdInput) => Operation<ListBreakdownByIdOutput>;
|
|
1669
|
+
}
|
|
1670
|
+
}
|
|
1671
|
+
declare namespace MarketingMarketingeventsSettings {
|
|
1672
|
+
interface CreateOrUpdateInput {
|
|
1673
|
+
appId: number;
|
|
1674
|
+
data: MarketingMarketingEventsSchemas.EventDetailSettingsUrl;
|
|
1675
|
+
}
|
|
1676
|
+
type CreateOrUpdateOutput = MarketingMarketingEventsSchemas.EventDetailSettings;
|
|
1677
|
+
interface GetInput {
|
|
1678
|
+
appId: number;
|
|
1720
1679
|
}
|
|
1680
|
+
type GetOutput = MarketingMarketingEventsSchemas.EventDetailSettings;
|
|
1721
1681
|
/**
|
|
1722
1682
|
* Usage example:
|
|
1723
1683
|
* ```ts
|
|
1724
|
-
* import {
|
|
1725
|
-
* client.send(
|
|
1684
|
+
* import { marketingMarketingeventsSettings } from '@hubspot/api-client-core';
|
|
1685
|
+
* client.send(marketingMarketingeventsSettings.createOrUpdate(input));
|
|
1726
1686
|
* ```
|
|
1727
1687
|
*/
|
|
1728
|
-
interface
|
|
1688
|
+
interface API {
|
|
1729
1689
|
/**
|
|
1730
1690
|
* Update the application settings
|
|
1731
1691
|
* @apiPath /marketing/marketing-events/2026-03/{appId}/settings
|
|
1732
1692
|
* @apiMethod POST
|
|
1733
1693
|
* @requiredScopes developers-write
|
|
1734
1694
|
*/
|
|
1735
|
-
createOrUpdate: (input:
|
|
1695
|
+
createOrUpdate: (input: CreateOrUpdateInput) => Operation<CreateOrUpdateOutput>;
|
|
1736
1696
|
/**
|
|
1737
1697
|
* Retrieve the application settings
|
|
1738
1698
|
* @apiPath /marketing/marketing-events/2026-03/{appId}/settings
|
|
1739
1699
|
* @apiMethod GET
|
|
1740
1700
|
* @requiredScopes developers-read
|
|
1741
1701
|
*/
|
|
1742
|
-
get: (input:
|
|
1702
|
+
get: (input: GetInput) => Operation<GetOutput>;
|
|
1703
|
+
}
|
|
1704
|
+
}
|
|
1705
|
+
declare namespace MarketingMarketingeventsSubscriberstate {
|
|
1706
|
+
interface RecordByEmailInput {
|
|
1707
|
+
data: MarketingMarketingEventsSchemas.BatchInputMarketingEventEmailSubscriber;
|
|
1708
|
+
externalAccountId: string;
|
|
1709
|
+
externalEventId: string;
|
|
1710
|
+
subscriberState: string;
|
|
1711
|
+
}
|
|
1712
|
+
type RecordByEmailOutput = void;
|
|
1713
|
+
interface RecordByIdInput {
|
|
1714
|
+
data: MarketingMarketingEventsSchemas.BatchInputMarketingEventSubscriber;
|
|
1715
|
+
externalAccountId: string;
|
|
1716
|
+
externalEventId: string;
|
|
1717
|
+
subscriberState: string;
|
|
1743
1718
|
}
|
|
1719
|
+
type RecordByIdOutput = void;
|
|
1744
1720
|
/**
|
|
1745
1721
|
* Usage example:
|
|
1746
1722
|
* ```ts
|
|
1747
|
-
* import {
|
|
1748
|
-
* client.send(
|
|
1723
|
+
* import { marketingMarketingeventsSubscriberstate } from '@hubspot/api-client-core';
|
|
1724
|
+
* client.send(marketingMarketingeventsSubscriberstate.recordByEmail(input));
|
|
1749
1725
|
* ```
|
|
1750
1726
|
*/
|
|
1751
|
-
interface
|
|
1727
|
+
interface API {
|
|
1752
1728
|
/**
|
|
1753
1729
|
* Record a subscriber state by contact email
|
|
1754
1730
|
* @apiPath /marketing/marketing-events/2026-03/events/{externalEventId}/{subscriberState}/email-upsert
|
|
1755
1731
|
* @apiMethod POST
|
|
1756
1732
|
* @requiredScopes marketing-events-write
|
|
1757
1733
|
*/
|
|
1758
|
-
recordByEmail: (input:
|
|
1734
|
+
recordByEmail: (input: RecordByEmailInput) => Operation<RecordByEmailOutput>;
|
|
1759
1735
|
/**
|
|
1760
1736
|
* Record a subscriber state by contact ID
|
|
1761
1737
|
* @apiPath /marketing/marketing-events/2026-03/events/{externalEventId}/{subscriberState}/upsert
|
|
1762
1738
|
* @apiMethod POST
|
|
1763
1739
|
* @requiredScopes marketing-events-write
|
|
1764
1740
|
*/
|
|
1765
|
-
recordById: (input:
|
|
1766
|
-
}
|
|
1767
|
-
/**
|
|
1768
|
-
* Usage example:
|
|
1769
|
-
* ```ts
|
|
1770
|
-
* import { marketingMarketingEvents } from '@hubspot/api-client-core';
|
|
1771
|
-
* client.send(marketingMarketingEvents.basic.create(input));
|
|
1772
|
-
* ```
|
|
1773
|
-
*/
|
|
1774
|
-
interface API {
|
|
1775
|
-
basic: BasicAPI;
|
|
1776
|
-
batch: BatchAPI;
|
|
1777
|
-
eventAttendees: EventAttendeesAPI;
|
|
1778
|
-
eventStatus: EventStatusAPI;
|
|
1779
|
-
identifiers: IdentifiersAPI;
|
|
1780
|
-
listAssociations: ListAssociationsAPI;
|
|
1781
|
-
participantState: ParticipantStateAPI;
|
|
1782
|
-
settings: SettingsAPI;
|
|
1783
|
-
subscriberStateChanges: SubscriberStateChangesAPI;
|
|
1741
|
+
recordById: (input: RecordByIdInput) => Operation<RecordByIdOutput>;
|
|
1784
1742
|
}
|
|
1785
1743
|
}
|
|
1786
1744
|
//#endregion
|
|
1787
|
-
export {
|
|
1745
|
+
export { MarketingMarketingEventsSchemas, MarketingMarketingevents, MarketingMarketingeventsAttendance, MarketingMarketingeventsEvents, MarketingMarketingeventsListassociations, MarketingMarketingeventsParticipations, MarketingMarketingeventsSettings, MarketingMarketingeventsSubscriberstate };
|
|
1788
1746
|
//# sourceMappingURL=marketing-events-types.generated.d.ts.map
|