@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,1016 +1,980 @@
|
|
|
1
1
|
import { Operation } from "../types.js";
|
|
2
2
|
|
|
3
3
|
//#region src/server/api-client-core/apis/webhooks-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
|
-
appId: number;
|
|
177
|
-
data: Schemas.SubscriptionPatchRequest;
|
|
178
|
-
/**
|
|
179
|
-
* The identifier for the subscription.
|
|
180
|
-
*/
|
|
181
|
-
subscriptionId: number;
|
|
182
|
-
}
|
|
183
|
-
type UpdateEventSubscriptionOutput = Schemas.SubscriptionResponse;
|
|
184
|
-
interface UpdateSettingsInput {
|
|
185
|
-
/**
|
|
186
|
-
* The identifier for the app.
|
|
187
|
-
*/
|
|
188
|
-
appId: number;
|
|
189
|
-
data: Schemas.SettingsChangeRequest;
|
|
190
|
-
}
|
|
191
|
-
type UpdateSettingsOutput = Schemas.SettingsResponse;
|
|
192
|
-
}
|
|
193
|
-
namespace Batch {
|
|
194
|
-
interface CreateBatchEventSubscriptionsInput {
|
|
195
|
-
/**
|
|
196
|
-
* The identifier for the app.
|
|
197
|
-
*/
|
|
198
|
-
appId: number;
|
|
199
|
-
data: Schemas.BatchInputSubscriptionBatchUpdateRequest;
|
|
200
|
-
}
|
|
201
|
-
type CreateBatchEventSubscriptionsOutput = Schemas.BatchResponseSubscriptionResponse;
|
|
202
|
-
interface GetEarliestJournalBatchInput {
|
|
203
|
-
/**
|
|
204
|
-
* The maximum number of journal entries to retrieve in the batch. This must be an integer with a minimum value of 1.
|
|
205
|
-
*/
|
|
206
|
-
count: number;
|
|
207
|
-
/**
|
|
208
|
-
* The ID of the portal installation to filter the webhook journal entries by. This is an integer value.
|
|
209
|
-
*/
|
|
210
|
-
installPortalId?: number;
|
|
211
|
-
}
|
|
212
|
-
type GetEarliestJournalBatchOutput = Schemas.BatchResponseJournalFetchResponse;
|
|
213
|
-
interface GetEarliestLocalJournalBatchInput {
|
|
214
|
-
/**
|
|
215
|
-
* The number of earliest entries to retrieve from the webhook journal. Must be an integer with a minimum value of 1.
|
|
216
|
-
*/
|
|
217
|
-
count: number;
|
|
218
|
-
/**
|
|
219
|
-
* The ID of the portal where the webhooks are installed. This is an integer value.
|
|
220
|
-
*/
|
|
221
|
-
installPortalId?: number;
|
|
222
|
-
}
|
|
223
|
-
type GetEarliestLocalJournalBatchOutput = Schemas.BatchResponseJournalFetchResponse;
|
|
224
|
-
interface GetJournalBatchByRequestInput {
|
|
225
|
-
data: Schemas.BatchInputString;
|
|
226
|
-
/**
|
|
227
|
-
* The ID of the portal where the webhooks are installed. This is an integer value.
|
|
228
|
-
*/
|
|
229
|
-
installPortalId?: number;
|
|
230
|
-
}
|
|
231
|
-
type GetJournalBatchByRequestOutput = Schemas.BatchResponseJournalFetchResponse;
|
|
232
|
-
interface GetJournalBatchFromOffsetInput {
|
|
233
|
-
/**
|
|
234
|
-
* The number of journal entries to fetch in the batch. This is an integer value with a minimum of 1.
|
|
235
|
-
*/
|
|
236
|
-
count: number;
|
|
237
|
-
/**
|
|
238
|
-
* The ID of the portal installation. This is an integer value used to specify the portal context for the request.
|
|
239
|
-
*/
|
|
240
|
-
installPortalId?: number;
|
|
241
|
-
/**
|
|
242
|
-
* The starting point for fetching the next batch of journal entries. This is a string value that indicates the offset position.
|
|
243
|
-
*/
|
|
244
|
-
offset: string;
|
|
245
|
-
}
|
|
246
|
-
type GetJournalBatchFromOffsetOutput = Schemas.BatchResponseJournalFetchResponse;
|
|
247
|
-
interface GetLatestJournalBatchInput {
|
|
248
|
-
/**
|
|
249
|
-
* The number of journal entries to retrieve. This is a required integer parameter with a minimum value of 1.
|
|
250
|
-
*/
|
|
251
|
-
count: number;
|
|
252
|
-
/**
|
|
253
|
-
* The ID of the portal installation. This is an integer value used to identify the specific portal.
|
|
254
|
-
*/
|
|
255
|
-
installPortalId?: number;
|
|
256
|
-
}
|
|
257
|
-
type GetLatestJournalBatchOutput = Schemas.BatchResponseJournalFetchResponse;
|
|
258
|
-
interface GetLatestLocalJournalBatchInput {
|
|
259
|
-
/**
|
|
260
|
-
* The number of journal entries to retrieve. Must be an integer with a minimum value of 1.
|
|
261
|
-
*/
|
|
262
|
-
count: number;
|
|
263
|
-
/**
|
|
264
|
-
* The ID of the portal installation. This parameter is optional and used to filter the journal entries by a specific portal.
|
|
265
|
-
*/
|
|
266
|
-
installPortalId?: number;
|
|
267
|
-
}
|
|
268
|
-
type GetLatestLocalJournalBatchOutput = Schemas.BatchResponseJournalFetchResponse;
|
|
269
|
-
interface GetLocalJournalBatchByRequestInput {
|
|
270
|
-
data: Schemas.BatchInputString;
|
|
271
|
-
/**
|
|
272
|
-
* The ID of the portal where the webhooks are installed. This parameter is optional and is used to specify the target portal.
|
|
273
|
-
*/
|
|
274
|
-
installPortalId?: number;
|
|
275
|
-
}
|
|
276
|
-
type GetLocalJournalBatchByRequestOutput = Schemas.BatchResponseJournalFetchResponse;
|
|
277
|
-
interface GetLocalJournalBatchFromOffsetInput {
|
|
278
|
-
/**
|
|
279
|
-
* The number of journal entries to retrieve. This is an integer value with a minimum of 1.
|
|
280
|
-
*/
|
|
281
|
-
count: number;
|
|
282
|
-
/**
|
|
283
|
-
* The ID of the portal installation. This is an integer value used to specify the portal context for the request.
|
|
284
|
-
*/
|
|
285
|
-
installPortalId?: number;
|
|
286
|
-
/**
|
|
287
|
-
* The starting point for fetching the batch of journal entries. This is a string value that indicates the offset position.
|
|
288
|
-
*/
|
|
289
|
-
offset: string;
|
|
290
|
-
}
|
|
291
|
-
type GetLocalJournalBatchFromOffsetOutput = Schemas.BatchResponseJournalFetchResponse;
|
|
292
|
-
}
|
|
293
|
-
namespace Schemas {
|
|
294
|
-
interface ActionOverrideRequest {
|
|
295
|
-
/**
|
|
296
|
-
* An array of strings, each representing an associated object type ID relevant to the action override.
|
|
297
|
-
*/
|
|
298
|
-
associatedObjectTypeIds?: string[];
|
|
299
|
-
/**
|
|
300
|
-
* An array of integers representing list IDs that are associated with the action override. The integers are in int64 format.
|
|
301
|
-
*/
|
|
302
|
-
listIds?: number[];
|
|
303
|
-
/**
|
|
304
|
-
* An array of integers, each representing an object ID for which the action override is applicable. The integers are in int64 format.
|
|
305
|
-
*/
|
|
306
|
-
objectIds?: number[];
|
|
307
|
-
/**
|
|
308
|
-
* An array of strings representing the properties to be overridden in the action. Each string corresponds to a property name.
|
|
309
|
-
*/
|
|
310
|
-
properties?: string[];
|
|
311
|
-
}
|
|
312
|
-
interface AppLifecycleEventSubscriptionUpsertRequest {
|
|
313
|
-
eventTypeId: string;
|
|
314
|
-
properties: string[];
|
|
315
|
-
subscriptionType: 'APP_LIFECYCLE_EVENT' | 'ASSOCIATION' | 'EVENT' | 'GDPR_PRIVACY_DELETION' | 'LIST_MEMBERSHIP' | 'OBJECT';
|
|
316
|
-
}
|
|
317
|
-
interface AssociationSubscriptionUpsertRequest {
|
|
318
|
-
actions: ('ADDED_TO_LIST' | 'APP_INSTALL' | 'APP_UNINSTALL' | 'ASSOCIATION_ADDED' | 'ASSOCIATION_REMOVED' | 'CREATE' | 'DELETE' | 'GDPR_DELETE' | 'MERGE' | 'REMOVED_FROM_LIST' | 'RESTORE' | 'SNAPSHOT' | 'UPDATE')[];
|
|
319
|
-
associatedObjectTypeIds: string[];
|
|
320
|
-
objectIds: number[];
|
|
321
|
-
objectTypeId: string;
|
|
322
|
-
portalId: number;
|
|
323
|
-
subscriptionType: 'APP_LIFECYCLE_EVENT' | 'ASSOCIATION' | 'EVENT' | 'GDPR_PRIVACY_DELETION' | 'LIST_MEMBERSHIP' | 'OBJECT';
|
|
324
|
-
}
|
|
325
|
-
interface BatchInputString {
|
|
326
|
-
/**
|
|
327
|
-
* An array of strings to be processed. This property is required.
|
|
328
|
-
*/
|
|
329
|
-
inputs: string[];
|
|
330
|
-
}
|
|
331
|
-
interface BatchInputSubscriptionBatchUpdateRequest {
|
|
332
|
-
/**
|
|
333
|
-
* An array of SubscriptionBatchUpdateRequest objects, each representing a subscription to be updated. This property is required.
|
|
334
|
-
*/
|
|
335
|
-
inputs: Schemas.SubscriptionBatchUpdateRequest[];
|
|
336
|
-
}
|
|
337
|
-
interface BatchResponseJournalFetchResponse {
|
|
338
|
-
/**
|
|
339
|
-
* The date and time when the batch operation was completed, in ISO 8601 format.
|
|
340
|
-
*/
|
|
341
|
-
completedAt: string;
|
|
342
|
-
/**
|
|
343
|
-
* A map of link names to associated URIs related to the batch operation.
|
|
344
|
-
*/
|
|
345
|
-
links?: Record<string, string>;
|
|
346
|
-
/**
|
|
347
|
-
* The date and time when the batch operation was requested, in ISO 8601 format.
|
|
348
|
-
*/
|
|
349
|
-
requestedAt?: string;
|
|
350
|
-
/**
|
|
351
|
-
* An array of results from the batch operation, each represented as a JournalFetchResponse object.
|
|
352
|
-
*/
|
|
353
|
-
results: Schemas.JournalFetchResponse[];
|
|
354
|
-
/**
|
|
355
|
-
* The date and time when the batch operation started, in ISO 8601 format.
|
|
356
|
-
*/
|
|
357
|
-
startedAt: string;
|
|
358
|
-
/**
|
|
359
|
-
* The current status of the batch operation. Valid values include 'PENDING', 'PROCESSING', 'CANCELED', and 'COMPLETE'.
|
|
360
|
-
*/
|
|
361
|
-
status: 'CANCELED' | 'COMPLETE' | 'PENDING' | 'PROCESSING';
|
|
362
|
-
}
|
|
363
|
-
interface BatchResponseSubscriptionResponse {
|
|
364
|
-
/**
|
|
365
|
-
* The date and time when the batch operation was completed, in ISO 8601 format.
|
|
366
|
-
*/
|
|
367
|
-
completedAt: string;
|
|
368
|
-
/**
|
|
369
|
-
* A map of link names to associated URIs providing additional information about the batch operation.
|
|
370
|
-
*/
|
|
371
|
-
links?: Record<string, string>;
|
|
372
|
-
/**
|
|
373
|
-
* The date and time when the batch operation was requested, in ISO 8601 format.
|
|
374
|
-
*/
|
|
375
|
-
requestedAt?: string;
|
|
376
|
-
/**
|
|
377
|
-
* An array containing the results of the batch operation, with each item representing an individual subscription response.
|
|
378
|
-
*/
|
|
379
|
-
results: Schemas.SubscriptionResponse[];
|
|
380
|
-
/**
|
|
381
|
-
* The date and time when the batch operation started, in ISO 8601 format.
|
|
382
|
-
*/
|
|
383
|
-
startedAt: string;
|
|
384
|
-
/**
|
|
385
|
-
* The current status of the batch operation. Valid values include 'PENDING', 'PROCESSING', 'CANCELED', and 'COMPLETE'.
|
|
386
|
-
*/
|
|
387
|
-
status: 'CANCELED' | 'COMPLETE' | 'PENDING' | 'PROCESSING';
|
|
388
|
-
}
|
|
389
|
-
interface CollectionResponseSubscriptionResponseNoPaging {
|
|
390
|
-
/**
|
|
391
|
-
* An array of SubscriptionResponse objects, each representing a subscription's details such as actions, appId, createdAt, and other relevant properties.
|
|
392
|
-
*/
|
|
393
|
-
results: Schemas.SubscriptionResponse_1[];
|
|
394
|
-
}
|
|
395
|
-
interface Condition {
|
|
396
|
-
/**
|
|
397
|
-
* A string indicating the type of filter being applied. Valid value is 'CRM_OBJECT_PROPERTY'.
|
|
398
|
-
*/
|
|
399
|
-
filterType: 'CRM_OBJECT_PROPERTY';
|
|
400
|
-
/**
|
|
401
|
-
* A string specifying the operation to be performed in the condition. Valid values include 'EQ', 'N_EQ', 'LT', 'GT', 'LTE', 'GTE', 'CONTAINS', 'STARTS_WITH', 'ENDS_WITH', 'IN', 'NOT_IN', 'IS_EMPTY', and 'IS_NOT_EMPTY'.
|
|
402
|
-
*/
|
|
403
|
-
operator: 'CONTAINS' | 'ENDS_WITH' | 'EQ' | 'GT' | 'GTE' | 'IN' | 'IS_EMPTY' | 'IS_NOT_EMPTY' | 'LT' | 'LTE' | 'N_EQ' | 'NOT_IN' | 'STARTS_WITH';
|
|
404
|
-
/**
|
|
405
|
-
* A string representing the specific property of the CRM object that the condition applies to.
|
|
406
|
-
*/
|
|
407
|
-
property: string;
|
|
408
|
-
/**
|
|
409
|
-
* A string representing the value to be compared against the specified property when using single-value operators.
|
|
410
|
-
*/
|
|
411
|
-
value?: string;
|
|
412
|
-
/**
|
|
413
|
-
* An array of strings used to specify multiple values for comparison when using operators that support multiple values, such as 'IN' or 'NOT_IN'.
|
|
414
|
-
*/
|
|
415
|
-
values?: string[];
|
|
416
|
-
}
|
|
417
|
-
interface CrmObjectSnapshotBatchRequest {
|
|
418
|
-
/**
|
|
419
|
-
* An array of CrmObjectSnapshotRequest objects, each representing a request to create a snapshot for a specific CRM object. This property is required.
|
|
420
|
-
*/
|
|
421
|
-
snapshotRequests: Schemas.CrmObjectSnapshotRequest[];
|
|
422
|
-
}
|
|
423
|
-
interface CrmObjectSnapshotBatchResponse {
|
|
424
|
-
/**
|
|
425
|
-
* An array of CrmObjectSnapshotResponse objects, each representing the result of a snapshot operation for a specific CRM object. This property is required.
|
|
426
|
-
*/
|
|
427
|
-
snapshotResponses: Schemas.CrmObjectSnapshotResponse[];
|
|
428
|
-
}
|
|
429
|
-
interface CrmObjectSnapshotRequest {
|
|
430
|
-
/**
|
|
431
|
-
* An integer representing the unique identifier of the CRM object for which the snapshot is requested.
|
|
432
|
-
*/
|
|
433
|
-
objectId: number;
|
|
434
|
-
/**
|
|
435
|
-
* A string representing the type identifier of the CRM object, specifying what kind of object it is within HubSpot.
|
|
436
|
-
*/
|
|
437
|
-
objectTypeId: string;
|
|
438
|
-
/**
|
|
439
|
-
* An integer representing the unique identifier of the HubSpot account (portal) where the CRM object resides.
|
|
440
|
-
*/
|
|
441
|
-
portalId: number;
|
|
442
|
-
/**
|
|
443
|
-
* An array of strings, each representing a property of the CRM object that should be included in the snapshot.
|
|
444
|
-
*/
|
|
445
|
-
properties: string[];
|
|
446
|
-
}
|
|
447
|
-
interface CrmObjectSnapshotResponse {
|
|
448
|
-
/**
|
|
449
|
-
* An integer representing the unique identifier of the CRM object for which the snapshot is taken.
|
|
450
|
-
*/
|
|
451
|
-
objectId: number;
|
|
452
|
-
/**
|
|
453
|
-
* A string indicating the type of the CRM object, such as contact, company, or deal.
|
|
454
|
-
*/
|
|
455
|
-
objectTypeId: string;
|
|
456
|
-
/**
|
|
457
|
-
* An integer representing the unique identifier of the HubSpot portal associated with the CRM object.
|
|
458
|
-
*/
|
|
459
|
-
portalId: number;
|
|
460
|
-
/**
|
|
461
|
-
* A UUID string representing the status identifier of the snapshot request, indicating the current state of the snapshot process.
|
|
462
|
-
*/
|
|
463
|
-
snapshotStatusId: string;
|
|
464
|
-
}
|
|
465
|
-
/**
|
|
466
|
-
* Defines a single condition for searching CRM objects, specifying the property to filter on, the operator to use (such as equals, greater than, or contains), and the value(s) to compare against.
|
|
467
|
-
*/
|
|
468
|
-
interface Filter {
|
|
469
|
-
/**
|
|
470
|
-
* An array of conditions that define the criteria for the filter. Each condition specifies a property, an operator, and optionally a value or values.
|
|
471
|
-
*/
|
|
472
|
-
conditions: Schemas.Condition[];
|
|
473
|
-
}
|
|
474
|
-
interface FilterCreateRequest {
|
|
475
|
-
filter: Schemas.Filter;
|
|
476
|
-
/**
|
|
477
|
-
* The unique identifier of the subscription to which the filter will be applied. It is an integer formatted as int64.
|
|
478
|
-
*/
|
|
479
|
-
subscriptionId: number;
|
|
480
|
-
}
|
|
481
|
-
interface FilterCreateResponse {
|
|
482
|
-
/**
|
|
483
|
-
* The unique identifier for the created filter. It is an integer formatted as int64.
|
|
484
|
-
*/
|
|
485
|
-
filterId: number;
|
|
486
|
-
}
|
|
487
|
-
interface FilterResponse {
|
|
488
|
-
/**
|
|
489
|
-
* A Unix timestamp in milliseconds indicating when the filter was created.
|
|
490
|
-
*/
|
|
491
|
-
createdAt: number;
|
|
492
|
-
filter: Schemas.Filter;
|
|
493
|
-
/**
|
|
494
|
-
* The unique identifier for the filter. It is an integer in int64 format.
|
|
495
|
-
*/
|
|
496
|
-
id: number;
|
|
497
|
-
}
|
|
498
|
-
interface GdprPrivacyDeletionSubscriptionUpsertRequest {
|
|
499
|
-
actions: ('ADDED_TO_LIST' | 'APP_INSTALL' | 'APP_UNINSTALL' | 'ASSOCIATION_ADDED' | 'ASSOCIATION_REMOVED' | 'CREATE' | 'DELETE' | 'GDPR_DELETE' | 'MERGE' | 'REMOVED_FROM_LIST' | 'RESTORE' | 'SNAPSHOT' | 'UPDATE')[];
|
|
500
|
-
objectTypeId: string;
|
|
501
|
-
portalId: number;
|
|
502
|
-
subscriptionType: 'APP_LIFECYCLE_EVENT' | 'ASSOCIATION' | 'EVENT' | 'GDPR_PRIVACY_DELETION' | 'LIST_MEMBERSHIP' | 'OBJECT';
|
|
503
|
-
}
|
|
504
|
-
interface JournalFetchResponse {
|
|
505
|
-
/**
|
|
506
|
-
* The unique identifier for the current offset of the journal entry, formatted as a UUID.
|
|
507
|
-
*/
|
|
508
|
-
currentOffset: string;
|
|
509
|
-
/**
|
|
510
|
-
* The date and time when the URL will expire, in ISO 8601 format.
|
|
511
|
-
*/
|
|
512
|
-
expiresAt: string;
|
|
513
|
-
/**
|
|
514
|
-
* The URL where the journal entry can be accessed. It is a string.
|
|
515
|
-
*/
|
|
516
|
-
url: string;
|
|
517
|
-
}
|
|
518
|
-
interface ListMembershipSubscriptionUpsertRequest {
|
|
519
|
-
actions: ('ADDED_TO_LIST' | 'APP_INSTALL' | 'APP_UNINSTALL' | 'ASSOCIATION_ADDED' | 'ASSOCIATION_REMOVED' | 'CREATE' | 'DELETE' | 'GDPR_DELETE' | 'MERGE' | 'REMOVED_FROM_LIST' | 'RESTORE' | 'SNAPSHOT' | 'UPDATE')[];
|
|
520
|
-
listIds: number[];
|
|
521
|
-
objectIds: number[];
|
|
522
|
-
portalId: number;
|
|
523
|
-
subscriptionType: 'APP_LIFECYCLE_EVENT' | 'ASSOCIATION' | 'EVENT' | 'GDPR_PRIVACY_DELETION' | 'LIST_MEMBERSHIP' | 'OBJECT';
|
|
524
|
-
}
|
|
525
|
-
interface ObjectSubscriptionUpsertRequest {
|
|
526
|
-
actions: ('ADDED_TO_LIST' | 'APP_INSTALL' | 'APP_UNINSTALL' | 'ASSOCIATION_ADDED' | 'ASSOCIATION_REMOVED' | 'CREATE' | 'DELETE' | 'GDPR_DELETE' | 'MERGE' | 'REMOVED_FROM_LIST' | 'RESTORE' | 'SNAPSHOT' | 'UPDATE')[];
|
|
527
|
-
objectIds: number[];
|
|
528
|
-
objectTypeId: string;
|
|
529
|
-
portalId: number;
|
|
530
|
-
properties: string[];
|
|
531
|
-
subscriptionType: 'APP_LIFECYCLE_EVENT' | 'ASSOCIATION' | 'EVENT' | 'GDPR_PRIVACY_DELETION' | 'LIST_MEMBERSHIP' | 'OBJECT';
|
|
532
|
-
}
|
|
533
|
-
interface SettingsChangeRequest {
|
|
534
|
-
/**
|
|
535
|
-
* The URL to which webhook events will be sent. It is a string.
|
|
536
|
-
*/
|
|
537
|
-
targetUrl: string;
|
|
538
|
-
throttling: Schemas.ThrottlingSettings;
|
|
539
|
-
}
|
|
540
|
-
interface SettingsResponse {
|
|
541
|
-
/**
|
|
542
|
-
* The date and time when the webhook settings were created, in ISO 8601 format.
|
|
543
|
-
*/
|
|
544
|
-
createdAt: string;
|
|
545
|
-
/**
|
|
546
|
-
* The URL to which the webhook events will be sent. It is a string.
|
|
547
|
-
*/
|
|
548
|
-
targetUrl: string;
|
|
549
|
-
throttling: Schemas.ThrottlingSettings;
|
|
550
|
-
/**
|
|
551
|
-
* The date and time when the webhook settings were last updated, in ISO 8601 format.
|
|
552
|
-
*/
|
|
553
|
-
updatedAt?: string;
|
|
554
|
-
}
|
|
555
|
-
interface SnapshotStatusResponse {
|
|
556
|
-
/**
|
|
557
|
-
* The timestamp indicating when the snapshot operation was completed, represented as a Unix timestamp in milliseconds.
|
|
558
|
-
*/
|
|
559
|
-
completedAt?: number;
|
|
560
|
-
/**
|
|
561
|
-
* A code representing the error that occurred, if any. Possible values are 'TIMEOUT', 'VALIDATION_ERROR', 'INTERNAL_ERROR', and 'PERMISSION_DENIED'.
|
|
562
|
-
*/
|
|
563
|
-
errorCode?: 'INTERNAL_ERROR' | 'PERMISSION_DENIED' | 'TIMEOUT' | 'VALIDATION_ERROR';
|
|
564
|
-
/**
|
|
565
|
-
* The unique identifier for the snapshot operation, represented as a UUID.
|
|
566
|
-
*/
|
|
567
|
-
id: string;
|
|
568
|
-
/**
|
|
569
|
-
* The timestamp indicating when the snapshot operation was initiated, represented as a Unix timestamp in milliseconds.
|
|
570
|
-
*/
|
|
571
|
-
initiatedAt: number;
|
|
572
|
-
/**
|
|
573
|
-
* A descriptive message providing additional information about the snapshot operation or error.
|
|
574
|
-
*/
|
|
575
|
-
message?: string;
|
|
576
|
-
/**
|
|
577
|
-
* The current status of the snapshot. Valid values include 'PENDING', 'IN_PROGRESS', 'COMPLETED', 'FAILED', and 'EXPIRED'.
|
|
578
|
-
*/
|
|
579
|
-
status: 'COMPLETED' | 'EXPIRED' | 'FAILED' | 'IN_PROGRESS' | 'PENDING';
|
|
580
|
-
}
|
|
581
|
-
interface SubscriptionBatchUpdateRequest {
|
|
582
|
-
/**
|
|
583
|
-
* A boolean indicating whether the subscription is active.
|
|
584
|
-
*/
|
|
585
|
-
active: boolean;
|
|
586
|
-
/**
|
|
587
|
-
* The unique identifier for the subscription. It is an integer.
|
|
588
|
-
*/
|
|
589
|
-
id: number;
|
|
590
|
-
}
|
|
591
|
-
interface SubscriptionCreateRequest {
|
|
592
|
-
/**
|
|
593
|
-
* A boolean indicating whether the subscription is active.
|
|
594
|
-
*/
|
|
595
|
-
active: boolean;
|
|
596
|
-
/**
|
|
597
|
-
* A string representing the type of event to subscribe to. Valid values include various property changes, creations, deletions, merges, restorations, association changes, and event completions.
|
|
598
|
-
*/
|
|
599
|
-
eventType: 'company.associationChange' | 'company.creation' | 'company.deletion' | 'company.merge' | 'company.propertyChange' | 'company.restore' | 'contact.associationChange' | 'contact.creation' | 'contact.deletion' | 'contact.merge' | 'contact.privacyDeletion' | 'contact.propertyChange' | 'contact.restore' | 'conversation.creation' | 'conversation.deletion' | 'conversation.newMessage' | 'conversation.privacyDeletion' | 'conversation.propertyChange' | 'deal.associationChange' | 'deal.creation' | 'deal.deletion' | 'deal.merge' | 'deal.propertyChange' | 'deal.restore' | 'event.completed' | 'line_item.associationChange' | 'line_item.creation' | 'line_item.deletion' | 'line_item.merge' | 'line_item.propertyChange' | 'line_item.restore' | 'object.associationChange' | 'object.creation' | 'object.deletion' | 'object.merge' | 'object.propertyChange' | 'object.restore' | 'product.creation' | 'product.deletion' | 'product.merge' | 'product.propertyChange' | 'product.restore' | 'ticket.associationChange' | 'ticket.creation' | 'ticket.deletion' | 'ticket.merge' | 'ticket.propertyChange' | 'ticket.restore';
|
|
600
|
-
/**
|
|
601
|
-
* A string providing a human-readable name for the event type.
|
|
602
|
-
*/
|
|
603
|
-
eventTypeName?: string;
|
|
604
|
-
/**
|
|
605
|
-
* A string representing the ID of the object type associated with the subscription.
|
|
606
|
-
*/
|
|
607
|
-
objectTypeId?: string;
|
|
608
|
-
/**
|
|
609
|
-
* A string indicating the specific property name related to the event type, if applicable.
|
|
610
|
-
*/
|
|
611
|
-
propertyName?: string;
|
|
612
|
-
}
|
|
613
|
-
interface SubscriptionListResponse {
|
|
614
|
-
/**
|
|
615
|
-
* An array of subscription responses, each detailing a specific subscription's properties and status.
|
|
616
|
-
*/
|
|
617
|
-
results: Schemas.SubscriptionResponse[];
|
|
618
|
-
}
|
|
619
|
-
interface SubscriptionPatchRequest {
|
|
620
|
-
/**
|
|
621
|
-
* A boolean indicating whether the subscription is active. If true, the subscription is active; if false, it is inactive.
|
|
622
|
-
*/
|
|
623
|
-
active?: boolean;
|
|
624
|
-
}
|
|
625
|
-
interface SubscriptionResponse {
|
|
626
|
-
/**
|
|
627
|
-
* A boolean indicating whether the subscription is currently active.
|
|
628
|
-
*/
|
|
629
|
-
active: boolean;
|
|
630
|
-
/**
|
|
631
|
-
* The date and time when the subscription was created, in ISO 8601 format.
|
|
632
|
-
*/
|
|
633
|
-
createdAt: string;
|
|
634
|
-
/**
|
|
635
|
-
* The type of event that triggers the subscription. Valid values include various property changes, creations, deletions, merges, restores, and association changes for different HubSpot objects.
|
|
636
|
-
*/
|
|
637
|
-
eventType: 'company.associationChange' | 'company.creation' | 'company.deletion' | 'company.merge' | 'company.propertyChange' | 'company.restore' | 'contact.associationChange' | 'contact.creation' | 'contact.deletion' | 'contact.merge' | 'contact.privacyDeletion' | 'contact.propertyChange' | 'contact.restore' | 'conversation.creation' | 'conversation.deletion' | 'conversation.newMessage' | 'conversation.privacyDeletion' | 'conversation.propertyChange' | 'deal.associationChange' | 'deal.creation' | 'deal.deletion' | 'deal.merge' | 'deal.propertyChange' | 'deal.restore' | 'event.completed' | 'line_item.associationChange' | 'line_item.creation' | 'line_item.deletion' | 'line_item.merge' | 'line_item.propertyChange' | 'line_item.restore' | 'object.associationChange' | 'object.creation' | 'object.deletion' | 'object.merge' | 'object.propertyChange' | 'object.restore' | 'product.creation' | 'product.deletion' | 'product.merge' | 'product.propertyChange' | 'product.restore' | 'ticket.associationChange' | 'ticket.creation' | 'ticket.deletion' | 'ticket.merge' | 'ticket.propertyChange' | 'ticket.restore';
|
|
638
|
-
/**
|
|
639
|
-
* The name of the event type for the subscription.
|
|
640
|
-
*/
|
|
641
|
-
eventTypeName?: string;
|
|
642
|
-
/**
|
|
643
|
-
* The unique identifier for the subscription. It is an integer formatted as int64.
|
|
644
|
-
*/
|
|
645
|
-
id: string;
|
|
646
|
-
/**
|
|
647
|
-
* The identifier for the object type associated with the subscription. It is a string.
|
|
648
|
-
*/
|
|
649
|
-
objectTypeId?: string;
|
|
650
|
-
/**
|
|
651
|
-
* The name of the property associated with the subscription event, if applicable.
|
|
652
|
-
*/
|
|
653
|
-
propertyName?: string;
|
|
654
|
-
/**
|
|
655
|
-
* The date and time when the subscription was last updated, in ISO 8601 format.
|
|
656
|
-
*/
|
|
657
|
-
updatedAt?: string;
|
|
658
|
-
}
|
|
659
|
-
interface SubscriptionResponse_1 {
|
|
660
|
-
/**
|
|
661
|
-
* An object containing action overrides, where each key is an action and the value is an ActionOverrideRequest object.
|
|
662
|
-
*/
|
|
663
|
-
actionOverrides?: Record<string, Schemas.ActionOverrideRequest>;
|
|
664
|
-
/**
|
|
665
|
-
* A list of actions that trigger the subscription. Possible values include 'CREATE', 'UPDATE', 'DELETE', 'MERGE', 'RESTORE', 'ASSOCIATION_ADDED', 'ASSOCIATION_REMOVED', 'SNAPSHOT', 'APP_INSTALL', 'APP_UNINSTALL', 'ADDED_TO_LIST', 'REMOVED_FROM_LIST', and 'GDPR_DELETE'.
|
|
666
|
-
*/
|
|
667
|
-
actions: ('ADDED_TO_LIST' | 'APP_INSTALL' | 'APP_UNINSTALL' | 'ASSOCIATION_ADDED' | 'ASSOCIATION_REMOVED' | 'CREATE' | 'DELETE' | 'GDPR_DELETE' | 'MERGE' | 'REMOVED_FROM_LIST' | 'RESTORE' | 'SNAPSHOT' | 'UPDATE')[];
|
|
668
|
-
/**
|
|
669
|
-
* The unique identifier for the app associated with the subscription. It is an integer formatted as int64.
|
|
670
|
-
*/
|
|
671
|
-
appId: number;
|
|
672
|
-
/**
|
|
673
|
-
* A list of associated object type IDs. Each ID is a string.
|
|
674
|
-
*/
|
|
675
|
-
associatedObjectTypeIds?: string[];
|
|
676
|
-
/**
|
|
677
|
-
* The date and time when the subscription was created, in ISO 8601 format.
|
|
678
|
-
*/
|
|
679
|
-
createdAt: string;
|
|
680
|
-
/**
|
|
681
|
-
* The ID of the user who created the subscription. It is an integer formatted as int64.
|
|
682
|
-
*/
|
|
683
|
-
createdBy?: number;
|
|
684
|
-
/**
|
|
685
|
-
* The date and time when the subscription was deleted, in ISO 8601 format, if applicable.
|
|
686
|
-
*/
|
|
687
|
-
deletedAt?: string;
|
|
688
|
-
/**
|
|
689
|
-
* The unique identifier for the subscription. It is an integer formatted as int64.
|
|
690
|
-
*/
|
|
691
|
-
id: number;
|
|
692
|
-
/**
|
|
693
|
-
* A list of list IDs associated with the subscription. Each ID is an integer formatted as int64.
|
|
694
|
-
*/
|
|
695
|
-
listIds?: number[];
|
|
696
|
-
/**
|
|
697
|
-
* A list of object IDs associated with the subscription. Each ID is an integer formatted as int64.
|
|
698
|
-
*/
|
|
699
|
-
objectIds?: number[];
|
|
700
|
-
/**
|
|
701
|
-
* The identifier for the object type associated with the subscription. It is a string.
|
|
702
|
-
*/
|
|
703
|
-
objectTypeId: string;
|
|
704
|
-
/**
|
|
705
|
-
* The unique identifier for the portal associated with the subscription. It is an integer formatted as int64.
|
|
706
|
-
*/
|
|
707
|
-
portalId?: number;
|
|
708
|
-
/**
|
|
709
|
-
* A list of property names associated with the subscription. Each property is a string.
|
|
710
|
-
*/
|
|
711
|
-
properties?: string[];
|
|
712
|
-
/**
|
|
713
|
-
* The type of subscription, which can be one of the following: 'OBJECT', 'ASSOCIATION', 'EVENT', 'APP_LIFECYCLE_EVENT', 'LIST_MEMBERSHIP', or 'GDPR_PRIVACY_DELETION'.
|
|
714
|
-
*/
|
|
715
|
-
subscriptionType: 'APP_LIFECYCLE_EVENT' | 'ASSOCIATION' | 'EVENT' | 'GDPR_PRIVACY_DELETION' | 'LIST_MEMBERSHIP' | 'OBJECT';
|
|
716
|
-
/**
|
|
717
|
-
* The date and time when the subscription was last updated, in ISO 8601 format.
|
|
718
|
-
*/
|
|
719
|
-
updatedAt: string;
|
|
720
|
-
}
|
|
721
|
-
type SubscriptionUpsertRequest = Schemas.ObjectSubscriptionUpsertRequest | Schemas.AssociationSubscriptionUpsertRequest | Schemas.AppLifecycleEventSubscriptionUpsertRequest | Schemas.ListMembershipSubscriptionUpsertRequest | Schemas.GdprPrivacyDeletionSubscriptionUpsertRequest;
|
|
722
|
-
interface ThrottlingSettings {
|
|
723
|
-
/**
|
|
724
|
-
* The maximum number of concurrent requests allowed. This is an integer value.
|
|
725
|
-
*/
|
|
726
|
-
maxConcurrentRequests: number;
|
|
727
|
-
}
|
|
4
|
+
declare namespace WebhooksSchemas {
|
|
5
|
+
interface ActionOverrideRequest {
|
|
6
|
+
/**
|
|
7
|
+
* An array of strings, each representing an associated object type ID relevant to the action override.
|
|
8
|
+
*/
|
|
9
|
+
associatedObjectTypeIds?: string[];
|
|
10
|
+
/**
|
|
11
|
+
* An array of integers representing list IDs that are associated with the action override. The integers are in int64 format.
|
|
12
|
+
*/
|
|
13
|
+
listIds?: number[];
|
|
14
|
+
/**
|
|
15
|
+
* An array of integers, each representing an object ID for which the action override is applicable. The integers are in int64 format.
|
|
16
|
+
*/
|
|
17
|
+
objectIds?: number[];
|
|
18
|
+
/**
|
|
19
|
+
* An array of strings representing the properties to be overridden in the action. Each string corresponds to a property name.
|
|
20
|
+
*/
|
|
21
|
+
properties?: string[];
|
|
22
|
+
}
|
|
23
|
+
interface AppLifecycleEventSubscriptionUpsertRequest {
|
|
24
|
+
eventTypeId: string;
|
|
25
|
+
properties: string[];
|
|
26
|
+
subscriptionType: 'APP_LIFECYCLE_EVENT' | 'ASSOCIATION' | 'EVENT' | 'GDPR_PRIVACY_DELETION' | 'LIST_MEMBERSHIP' | 'OBJECT';
|
|
27
|
+
}
|
|
28
|
+
interface AssociationSubscriptionUpsertRequest {
|
|
29
|
+
actions: ('ADDED_TO_LIST' | 'APP_INSTALL' | 'APP_UNINSTALL' | 'ASSOCIATION_ADDED' | 'ASSOCIATION_REMOVED' | 'CREATE' | 'DELETE' | 'GDPR_DELETE' | 'MERGE' | 'REMOVED_FROM_LIST' | 'RESTORE' | 'SNAPSHOT' | 'UPDATE')[];
|
|
30
|
+
associatedObjectTypeIds: string[];
|
|
31
|
+
objectIds: number[];
|
|
32
|
+
objectTypeId: string;
|
|
33
|
+
portalId: number;
|
|
34
|
+
subscriptionType: 'APP_LIFECYCLE_EVENT' | 'ASSOCIATION' | 'EVENT' | 'GDPR_PRIVACY_DELETION' | 'LIST_MEMBERSHIP' | 'OBJECT';
|
|
35
|
+
}
|
|
36
|
+
interface BatchInputString {
|
|
37
|
+
/**
|
|
38
|
+
* An array of strings to be processed. This property is required.
|
|
39
|
+
*/
|
|
40
|
+
inputs: string[];
|
|
41
|
+
}
|
|
42
|
+
interface BatchInputSubscriptionBatchUpdateRequest {
|
|
43
|
+
/**
|
|
44
|
+
* An array of SubscriptionBatchUpdateRequest objects, each representing a subscription to be updated. This property is required.
|
|
45
|
+
*/
|
|
46
|
+
inputs: SubscriptionBatchUpdateRequest[];
|
|
47
|
+
}
|
|
48
|
+
interface BatchResponseJournalFetchResponse {
|
|
49
|
+
/**
|
|
50
|
+
* The date and time when the batch operation was completed, in ISO 8601 format.
|
|
51
|
+
*/
|
|
52
|
+
completedAt: string;
|
|
53
|
+
/**
|
|
54
|
+
* A map of link names to associated URIs related to the batch operation.
|
|
55
|
+
*/
|
|
56
|
+
links?: Record<string, string>;
|
|
57
|
+
/**
|
|
58
|
+
* The date and time when the batch operation was requested, in ISO 8601 format.
|
|
59
|
+
*/
|
|
60
|
+
requestedAt?: string;
|
|
61
|
+
/**
|
|
62
|
+
* An array of results from the batch operation, each represented as a JournalFetchResponse object.
|
|
63
|
+
*/
|
|
64
|
+
results: JournalFetchResponse[];
|
|
65
|
+
/**
|
|
66
|
+
* The date and time when the batch operation started, in ISO 8601 format.
|
|
67
|
+
*/
|
|
68
|
+
startedAt: string;
|
|
69
|
+
/**
|
|
70
|
+
* The current status of the batch operation. Valid values include 'PENDING', 'PROCESSING', 'CANCELED', and 'COMPLETE'.
|
|
71
|
+
*/
|
|
72
|
+
status: 'CANCELED' | 'COMPLETE' | 'PENDING' | 'PROCESSING';
|
|
73
|
+
}
|
|
74
|
+
interface BatchResponseSubscriptionResponse {
|
|
75
|
+
/**
|
|
76
|
+
* The date and time when the batch operation was completed, in ISO 8601 format.
|
|
77
|
+
*/
|
|
78
|
+
completedAt: string;
|
|
79
|
+
/**
|
|
80
|
+
* A map of link names to associated URIs providing additional information about the batch operation.
|
|
81
|
+
*/
|
|
82
|
+
links?: Record<string, string>;
|
|
83
|
+
/**
|
|
84
|
+
* The date and time when the batch operation was requested, in ISO 8601 format.
|
|
85
|
+
*/
|
|
86
|
+
requestedAt?: string;
|
|
87
|
+
/**
|
|
88
|
+
* An array containing the results of the batch operation, with each item representing an individual subscription response.
|
|
89
|
+
*/
|
|
90
|
+
results: SubscriptionResponse[];
|
|
91
|
+
/**
|
|
92
|
+
* The date and time when the batch operation started, in ISO 8601 format.
|
|
93
|
+
*/
|
|
94
|
+
startedAt: string;
|
|
95
|
+
/**
|
|
96
|
+
* The current status of the batch operation. Valid values include 'PENDING', 'PROCESSING', 'CANCELED', and 'COMPLETE'.
|
|
97
|
+
*/
|
|
98
|
+
status: 'CANCELED' | 'COMPLETE' | 'PENDING' | 'PROCESSING';
|
|
99
|
+
}
|
|
100
|
+
interface CollectionResponseSubscriptionResponseNoPaging {
|
|
101
|
+
/**
|
|
102
|
+
* An array of SubscriptionResponse objects, each representing a subscription's details such as actions, appId, createdAt, and other relevant properties.
|
|
103
|
+
*/
|
|
104
|
+
results: SubscriptionResponse_1[];
|
|
105
|
+
}
|
|
106
|
+
interface Condition {
|
|
107
|
+
/**
|
|
108
|
+
* A string indicating the type of filter being applied. Valid value is 'CRM_OBJECT_PROPERTY'.
|
|
109
|
+
*/
|
|
110
|
+
filterType: 'CRM_OBJECT_PROPERTY';
|
|
111
|
+
/**
|
|
112
|
+
* A string specifying the operation to be performed in the condition. Valid values include 'EQ', 'N_EQ', 'LT', 'GT', 'LTE', 'GTE', 'CONTAINS', 'STARTS_WITH', 'ENDS_WITH', 'IN', 'NOT_IN', 'IS_EMPTY', and 'IS_NOT_EMPTY'.
|
|
113
|
+
*/
|
|
114
|
+
operator: 'CONTAINS' | 'ENDS_WITH' | 'EQ' | 'GT' | 'GTE' | 'IN' | 'IS_EMPTY' | 'IS_NOT_EMPTY' | 'LT' | 'LTE' | 'N_EQ' | 'NOT_IN' | 'STARTS_WITH';
|
|
115
|
+
/**
|
|
116
|
+
* A string representing the specific property of the CRM object that the condition applies to.
|
|
117
|
+
*/
|
|
118
|
+
property: string;
|
|
119
|
+
/**
|
|
120
|
+
* A string representing the value to be compared against the specified property when using single-value operators.
|
|
121
|
+
*/
|
|
122
|
+
value?: string;
|
|
123
|
+
/**
|
|
124
|
+
* An array of strings used to specify multiple values for comparison when using operators that support multiple values, such as 'IN' or 'NOT_IN'.
|
|
125
|
+
*/
|
|
126
|
+
values?: string[];
|
|
127
|
+
}
|
|
128
|
+
interface CrmObjectSnapshotBatchRequest {
|
|
129
|
+
/**
|
|
130
|
+
* An array of CrmObjectSnapshotRequest objects, each representing a request to create a snapshot for a specific CRM object. This property is required.
|
|
131
|
+
*/
|
|
132
|
+
snapshotRequests: CrmObjectSnapshotRequest[];
|
|
133
|
+
}
|
|
134
|
+
interface CrmObjectSnapshotBatchResponse {
|
|
135
|
+
/**
|
|
136
|
+
* An array of CrmObjectSnapshotResponse objects, each representing the result of a snapshot operation for a specific CRM object. This property is required.
|
|
137
|
+
*/
|
|
138
|
+
snapshotResponses: CrmObjectSnapshotResponse[];
|
|
139
|
+
}
|
|
140
|
+
interface CrmObjectSnapshotRequest {
|
|
141
|
+
/**
|
|
142
|
+
* An integer representing the unique identifier of the CRM object for which the snapshot is requested.
|
|
143
|
+
*/
|
|
144
|
+
objectId: number;
|
|
145
|
+
/**
|
|
146
|
+
* A string representing the type identifier of the CRM object, specifying what kind of object it is within HubSpot.
|
|
147
|
+
*/
|
|
148
|
+
objectTypeId: string;
|
|
149
|
+
/**
|
|
150
|
+
* An integer representing the unique identifier of the HubSpot account (portal) where the CRM object resides.
|
|
151
|
+
*/
|
|
152
|
+
portalId: number;
|
|
153
|
+
/**
|
|
154
|
+
* An array of strings, each representing a property of the CRM object that should be included in the snapshot.
|
|
155
|
+
*/
|
|
156
|
+
properties: string[];
|
|
157
|
+
}
|
|
158
|
+
interface CrmObjectSnapshotResponse {
|
|
159
|
+
/**
|
|
160
|
+
* An integer representing the unique identifier of the CRM object for which the snapshot is taken.
|
|
161
|
+
*/
|
|
162
|
+
objectId: number;
|
|
163
|
+
/**
|
|
164
|
+
* A string indicating the type of the CRM object, such as contact, company, or deal.
|
|
165
|
+
*/
|
|
166
|
+
objectTypeId: string;
|
|
167
|
+
/**
|
|
168
|
+
* An integer representing the unique identifier of the HubSpot portal associated with the CRM object.
|
|
169
|
+
*/
|
|
170
|
+
portalId: number;
|
|
171
|
+
/**
|
|
172
|
+
* A UUID string representing the status identifier of the snapshot request, indicating the current state of the snapshot process.
|
|
173
|
+
*/
|
|
174
|
+
snapshotStatusId: string;
|
|
728
175
|
}
|
|
729
176
|
/**
|
|
730
|
-
*
|
|
731
|
-
* ```ts
|
|
732
|
-
* import { webhooks } from '@hubspot/api-client-core';
|
|
733
|
-
* client.send(webhooks.advanced.createCrmSnapshots(input));
|
|
734
|
-
* ```
|
|
177
|
+
* Defines a single condition for searching CRM objects, specifying the property to filter on, the operator to use (such as equals, greater than, or contains), and the value(s) to compare against.
|
|
735
178
|
*/
|
|
736
|
-
interface
|
|
179
|
+
interface Filter {
|
|
737
180
|
/**
|
|
738
|
-
*
|
|
739
|
-
* @apiPath /webhooks-journal/snapshots/2026-03/crm
|
|
740
|
-
* @apiMethod POST
|
|
741
|
-
* @requiredScopes webhooks-journal-snapshot-management
|
|
181
|
+
* An array of conditions that define the criteria for the filter. Each condition specifies a property, an operator, and optionally a value or values.
|
|
742
182
|
*/
|
|
743
|
-
|
|
183
|
+
conditions: Condition[];
|
|
184
|
+
}
|
|
185
|
+
interface FilterCreateRequest {
|
|
186
|
+
filter: Filter;
|
|
744
187
|
/**
|
|
745
|
-
*
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
188
|
+
* The unique identifier of the subscription to which the filter will be applied. It is an integer formatted as int64.
|
|
189
|
+
*/
|
|
190
|
+
subscriptionId: number;
|
|
191
|
+
}
|
|
192
|
+
interface FilterCreateResponse {
|
|
193
|
+
/**
|
|
194
|
+
* The unique identifier for the created filter. It is an integer formatted as int64.
|
|
195
|
+
*/
|
|
196
|
+
filterId: number;
|
|
197
|
+
}
|
|
198
|
+
interface FilterResponse {
|
|
199
|
+
/**
|
|
200
|
+
* A Unix timestamp in milliseconds indicating when the filter was created.
|
|
201
|
+
*/
|
|
202
|
+
createdAt: number;
|
|
203
|
+
filter: Filter;
|
|
204
|
+
/**
|
|
205
|
+
* The unique identifier for the filter. It is an integer in int64 format.
|
|
206
|
+
*/
|
|
207
|
+
id: number;
|
|
208
|
+
}
|
|
209
|
+
interface GdprPrivacyDeletionSubscriptionUpsertRequest {
|
|
210
|
+
actions: ('ADDED_TO_LIST' | 'APP_INSTALL' | 'APP_UNINSTALL' | 'ASSOCIATION_ADDED' | 'ASSOCIATION_REMOVED' | 'CREATE' | 'DELETE' | 'GDPR_DELETE' | 'MERGE' | 'REMOVED_FROM_LIST' | 'RESTORE' | 'SNAPSHOT' | 'UPDATE')[];
|
|
211
|
+
objectTypeId: string;
|
|
212
|
+
portalId: number;
|
|
213
|
+
subscriptionType: 'APP_LIFECYCLE_EVENT' | 'ASSOCIATION' | 'EVENT' | 'GDPR_PRIVACY_DELETION' | 'LIST_MEMBERSHIP' | 'OBJECT';
|
|
214
|
+
}
|
|
215
|
+
interface JournalFetchResponse {
|
|
216
|
+
/**
|
|
217
|
+
* The unique identifier for the current offset of the journal entry, formatted as a UUID.
|
|
218
|
+
*/
|
|
219
|
+
currentOffset: string;
|
|
220
|
+
/**
|
|
221
|
+
* The date and time when the URL will expire, in ISO 8601 format.
|
|
222
|
+
*/
|
|
223
|
+
expiresAt: string;
|
|
224
|
+
/**
|
|
225
|
+
* The URL where the journal entry can be accessed. It is a string.
|
|
226
|
+
*/
|
|
227
|
+
url: string;
|
|
228
|
+
}
|
|
229
|
+
interface ListMembershipSubscriptionUpsertRequest {
|
|
230
|
+
actions: ('ADDED_TO_LIST' | 'APP_INSTALL' | 'APP_UNINSTALL' | 'ASSOCIATION_ADDED' | 'ASSOCIATION_REMOVED' | 'CREATE' | 'DELETE' | 'GDPR_DELETE' | 'MERGE' | 'REMOVED_FROM_LIST' | 'RESTORE' | 'SNAPSHOT' | 'UPDATE')[];
|
|
231
|
+
listIds: number[];
|
|
232
|
+
objectIds: number[];
|
|
233
|
+
portalId: number;
|
|
234
|
+
subscriptionType: 'APP_LIFECYCLE_EVENT' | 'ASSOCIATION' | 'EVENT' | 'GDPR_PRIVACY_DELETION' | 'LIST_MEMBERSHIP' | 'OBJECT';
|
|
235
|
+
}
|
|
236
|
+
interface ObjectSubscriptionUpsertRequest {
|
|
237
|
+
actions: ('ADDED_TO_LIST' | 'APP_INSTALL' | 'APP_UNINSTALL' | 'ASSOCIATION_ADDED' | 'ASSOCIATION_REMOVED' | 'CREATE' | 'DELETE' | 'GDPR_DELETE' | 'MERGE' | 'REMOVED_FROM_LIST' | 'RESTORE' | 'SNAPSHOT' | 'UPDATE')[];
|
|
238
|
+
objectIds: number[];
|
|
239
|
+
objectTypeId: string;
|
|
240
|
+
portalId: number;
|
|
241
|
+
properties: string[];
|
|
242
|
+
subscriptionType: 'APP_LIFECYCLE_EVENT' | 'ASSOCIATION' | 'EVENT' | 'GDPR_PRIVACY_DELETION' | 'LIST_MEMBERSHIP' | 'OBJECT';
|
|
243
|
+
}
|
|
244
|
+
interface SettingsChangeRequest {
|
|
245
|
+
/**
|
|
246
|
+
* The URL to which webhook events will be sent. It is a string.
|
|
247
|
+
*/
|
|
248
|
+
targetUrl: string;
|
|
249
|
+
throttling: ThrottlingSettings;
|
|
250
|
+
}
|
|
251
|
+
interface SettingsResponse {
|
|
252
|
+
/**
|
|
253
|
+
* The date and time when the webhook settings were created, in ISO 8601 format.
|
|
254
|
+
*/
|
|
255
|
+
createdAt: string;
|
|
256
|
+
/**
|
|
257
|
+
* The URL to which the webhook events will be sent. It is a string.
|
|
258
|
+
*/
|
|
259
|
+
targetUrl: string;
|
|
260
|
+
throttling: ThrottlingSettings;
|
|
261
|
+
/**
|
|
262
|
+
* The date and time when the webhook settings were last updated, in ISO 8601 format.
|
|
263
|
+
*/
|
|
264
|
+
updatedAt?: string;
|
|
265
|
+
}
|
|
266
|
+
interface SnapshotStatusResponse {
|
|
267
|
+
/**
|
|
268
|
+
* The timestamp indicating when the snapshot operation was completed, represented as a Unix timestamp in milliseconds.
|
|
269
|
+
*/
|
|
270
|
+
completedAt?: number;
|
|
271
|
+
/**
|
|
272
|
+
* A code representing the error that occurred, if any. Possible values are 'TIMEOUT', 'VALIDATION_ERROR', 'INTERNAL_ERROR', and 'PERMISSION_DENIED'.
|
|
273
|
+
*/
|
|
274
|
+
errorCode?: 'INTERNAL_ERROR' | 'PERMISSION_DENIED' | 'TIMEOUT' | 'VALIDATION_ERROR';
|
|
275
|
+
/**
|
|
276
|
+
* The unique identifier for the snapshot operation, represented as a UUID.
|
|
277
|
+
*/
|
|
278
|
+
id: string;
|
|
279
|
+
/**
|
|
280
|
+
* The timestamp indicating when the snapshot operation was initiated, represented as a Unix timestamp in milliseconds.
|
|
281
|
+
*/
|
|
282
|
+
initiatedAt: number;
|
|
283
|
+
/**
|
|
284
|
+
* A descriptive message providing additional information about the snapshot operation or error.
|
|
285
|
+
*/
|
|
286
|
+
message?: string;
|
|
287
|
+
/**
|
|
288
|
+
* The current status of the snapshot. Valid values include 'PENDING', 'IN_PROGRESS', 'COMPLETED', 'FAILED', and 'EXPIRED'.
|
|
289
|
+
*/
|
|
290
|
+
status: 'COMPLETED' | 'EXPIRED' | 'FAILED' | 'IN_PROGRESS' | 'PENDING';
|
|
291
|
+
}
|
|
292
|
+
interface SubscriptionBatchUpdateRequest {
|
|
293
|
+
/**
|
|
294
|
+
* A boolean indicating whether the subscription is active.
|
|
295
|
+
*/
|
|
296
|
+
active: boolean;
|
|
297
|
+
/**
|
|
298
|
+
* The unique identifier for the subscription. It is an integer.
|
|
299
|
+
*/
|
|
300
|
+
id: number;
|
|
301
|
+
}
|
|
302
|
+
interface SubscriptionCreateRequest {
|
|
303
|
+
/**
|
|
304
|
+
* A boolean indicating whether the subscription is active.
|
|
305
|
+
*/
|
|
306
|
+
active: boolean;
|
|
307
|
+
/**
|
|
308
|
+
* A string representing the type of event to subscribe to. Valid values include various property changes, creations, deletions, merges, restorations, association changes, and event completions.
|
|
309
|
+
*/
|
|
310
|
+
eventType: 'company.associationChange' | 'company.creation' | 'company.deletion' | 'company.merge' | 'company.propertyChange' | 'company.restore' | 'contact.associationChange' | 'contact.creation' | 'contact.deletion' | 'contact.merge' | 'contact.privacyDeletion' | 'contact.propertyChange' | 'contact.restore' | 'conversation.creation' | 'conversation.deletion' | 'conversation.newMessage' | 'conversation.privacyDeletion' | 'conversation.propertyChange' | 'deal.associationChange' | 'deal.creation' | 'deal.deletion' | 'deal.merge' | 'deal.propertyChange' | 'deal.restore' | 'event.completed' | 'line_item.associationChange' | 'line_item.creation' | 'line_item.deletion' | 'line_item.merge' | 'line_item.propertyChange' | 'line_item.restore' | 'object.associationChange' | 'object.creation' | 'object.deletion' | 'object.merge' | 'object.propertyChange' | 'object.restore' | 'product.creation' | 'product.deletion' | 'product.merge' | 'product.propertyChange' | 'product.restore' | 'ticket.associationChange' | 'ticket.creation' | 'ticket.deletion' | 'ticket.merge' | 'ticket.propertyChange' | 'ticket.restore';
|
|
311
|
+
/**
|
|
312
|
+
* A string providing a human-readable name for the event type.
|
|
313
|
+
*/
|
|
314
|
+
eventTypeName?: string;
|
|
315
|
+
/**
|
|
316
|
+
* A string representing the ID of the object type associated with the subscription.
|
|
317
|
+
*/
|
|
318
|
+
objectTypeId?: string;
|
|
319
|
+
/**
|
|
320
|
+
* A string indicating the specific property name related to the event type, if applicable.
|
|
321
|
+
*/
|
|
322
|
+
propertyName?: string;
|
|
323
|
+
}
|
|
324
|
+
interface SubscriptionListResponse {
|
|
325
|
+
/**
|
|
326
|
+
* An array of subscription responses, each detailing a specific subscription's properties and status.
|
|
327
|
+
*/
|
|
328
|
+
results: SubscriptionResponse[];
|
|
329
|
+
}
|
|
330
|
+
interface SubscriptionPatchRequest {
|
|
331
|
+
/**
|
|
332
|
+
* A boolean indicating whether the subscription is active. If true, the subscription is active; if false, it is inactive.
|
|
333
|
+
*/
|
|
334
|
+
active?: boolean;
|
|
335
|
+
}
|
|
336
|
+
interface SubscriptionResponse {
|
|
337
|
+
/**
|
|
338
|
+
* A boolean indicating whether the subscription is currently active.
|
|
339
|
+
*/
|
|
340
|
+
active: boolean;
|
|
341
|
+
/**
|
|
342
|
+
* The date and time when the subscription was created, in ISO 8601 format.
|
|
343
|
+
*/
|
|
344
|
+
createdAt: string;
|
|
345
|
+
/**
|
|
346
|
+
* The type of event that triggers the subscription. Valid values include various property changes, creations, deletions, merges, restores, and association changes for different HubSpot objects.
|
|
347
|
+
*/
|
|
348
|
+
eventType: 'company.associationChange' | 'company.creation' | 'company.deletion' | 'company.merge' | 'company.propertyChange' | 'company.restore' | 'contact.associationChange' | 'contact.creation' | 'contact.deletion' | 'contact.merge' | 'contact.privacyDeletion' | 'contact.propertyChange' | 'contact.restore' | 'conversation.creation' | 'conversation.deletion' | 'conversation.newMessage' | 'conversation.privacyDeletion' | 'conversation.propertyChange' | 'deal.associationChange' | 'deal.creation' | 'deal.deletion' | 'deal.merge' | 'deal.propertyChange' | 'deal.restore' | 'event.completed' | 'line_item.associationChange' | 'line_item.creation' | 'line_item.deletion' | 'line_item.merge' | 'line_item.propertyChange' | 'line_item.restore' | 'object.associationChange' | 'object.creation' | 'object.deletion' | 'object.merge' | 'object.propertyChange' | 'object.restore' | 'product.creation' | 'product.deletion' | 'product.merge' | 'product.propertyChange' | 'product.restore' | 'ticket.associationChange' | 'ticket.creation' | 'ticket.deletion' | 'ticket.merge' | 'ticket.propertyChange' | 'ticket.restore';
|
|
349
|
+
/**
|
|
350
|
+
* The name of the event type for the subscription.
|
|
351
|
+
*/
|
|
352
|
+
eventTypeName?: string;
|
|
353
|
+
/**
|
|
354
|
+
* The unique identifier for the subscription. It is an integer formatted as int64.
|
|
355
|
+
*/
|
|
356
|
+
id: string;
|
|
357
|
+
/**
|
|
358
|
+
* The identifier for the object type associated with the subscription. It is a string.
|
|
359
|
+
*/
|
|
360
|
+
objectTypeId?: string;
|
|
361
|
+
/**
|
|
362
|
+
* The name of the property associated with the subscription event, if applicable.
|
|
363
|
+
*/
|
|
364
|
+
propertyName?: string;
|
|
365
|
+
/**
|
|
366
|
+
* The date and time when the subscription was last updated, in ISO 8601 format.
|
|
367
|
+
*/
|
|
368
|
+
updatedAt?: string;
|
|
369
|
+
}
|
|
370
|
+
interface SubscriptionResponse_1 {
|
|
371
|
+
/**
|
|
372
|
+
* An object containing action overrides, where each key is an action and the value is an ActionOverrideRequest object.
|
|
373
|
+
*/
|
|
374
|
+
actionOverrides?: Record<string, ActionOverrideRequest>;
|
|
375
|
+
/**
|
|
376
|
+
* A list of actions that trigger the subscription. Possible values include 'CREATE', 'UPDATE', 'DELETE', 'MERGE', 'RESTORE', 'ASSOCIATION_ADDED', 'ASSOCIATION_REMOVED', 'SNAPSHOT', 'APP_INSTALL', 'APP_UNINSTALL', 'ADDED_TO_LIST', 'REMOVED_FROM_LIST', and 'GDPR_DELETE'.
|
|
377
|
+
*/
|
|
378
|
+
actions: ('ADDED_TO_LIST' | 'APP_INSTALL' | 'APP_UNINSTALL' | 'ASSOCIATION_ADDED' | 'ASSOCIATION_REMOVED' | 'CREATE' | 'DELETE' | 'GDPR_DELETE' | 'MERGE' | 'REMOVED_FROM_LIST' | 'RESTORE' | 'SNAPSHOT' | 'UPDATE')[];
|
|
379
|
+
/**
|
|
380
|
+
* The unique identifier for the app associated with the subscription. It is an integer formatted as int64.
|
|
381
|
+
*/
|
|
382
|
+
appId: number;
|
|
383
|
+
/**
|
|
384
|
+
* A list of associated object type IDs. Each ID is a string.
|
|
385
|
+
*/
|
|
386
|
+
associatedObjectTypeIds?: string[];
|
|
387
|
+
/**
|
|
388
|
+
* The date and time when the subscription was created, in ISO 8601 format.
|
|
389
|
+
*/
|
|
390
|
+
createdAt: string;
|
|
391
|
+
/**
|
|
392
|
+
* The ID of the user who created the subscription. It is an integer formatted as int64.
|
|
393
|
+
*/
|
|
394
|
+
createdBy?: number;
|
|
395
|
+
/**
|
|
396
|
+
* The date and time when the subscription was deleted, in ISO 8601 format, if applicable.
|
|
397
|
+
*/
|
|
398
|
+
deletedAt?: string;
|
|
399
|
+
/**
|
|
400
|
+
* The unique identifier for the subscription. It is an integer formatted as int64.
|
|
401
|
+
*/
|
|
402
|
+
id: number;
|
|
403
|
+
/**
|
|
404
|
+
* A list of list IDs associated with the subscription. Each ID is an integer formatted as int64.
|
|
405
|
+
*/
|
|
406
|
+
listIds?: number[];
|
|
407
|
+
/**
|
|
408
|
+
* A list of object IDs associated with the subscription. Each ID is an integer formatted as int64.
|
|
409
|
+
*/
|
|
410
|
+
objectIds?: number[];
|
|
411
|
+
/**
|
|
412
|
+
* The identifier for the object type associated with the subscription. It is a string.
|
|
413
|
+
*/
|
|
414
|
+
objectTypeId: string;
|
|
415
|
+
/**
|
|
416
|
+
* The unique identifier for the portal associated with the subscription. It is an integer formatted as int64.
|
|
417
|
+
*/
|
|
418
|
+
portalId?: number;
|
|
419
|
+
/**
|
|
420
|
+
* A list of property names associated with the subscription. Each property is a string.
|
|
421
|
+
*/
|
|
422
|
+
properties?: string[];
|
|
423
|
+
/**
|
|
424
|
+
* The type of subscription, which can be one of the following: 'OBJECT', 'ASSOCIATION', 'EVENT', 'APP_LIFECYCLE_EVENT', 'LIST_MEMBERSHIP', or 'GDPR_PRIVACY_DELETION'.
|
|
425
|
+
*/
|
|
426
|
+
subscriptionType: 'APP_LIFECYCLE_EVENT' | 'ASSOCIATION' | 'EVENT' | 'GDPR_PRIVACY_DELETION' | 'LIST_MEMBERSHIP' | 'OBJECT';
|
|
427
|
+
/**
|
|
428
|
+
* The date and time when the subscription was last updated, in ISO 8601 format.
|
|
429
|
+
*/
|
|
430
|
+
updatedAt: string;
|
|
431
|
+
}
|
|
432
|
+
type SubscriptionUpsertRequest = ObjectSubscriptionUpsertRequest | AssociationSubscriptionUpsertRequest | AppLifecycleEventSubscriptionUpsertRequest | ListMembershipSubscriptionUpsertRequest | GdprPrivacyDeletionSubscriptionUpsertRequest;
|
|
433
|
+
interface ThrottlingSettings {
|
|
434
|
+
/**
|
|
435
|
+
* The maximum number of concurrent requests allowed. This is an integer value.
|
|
436
|
+
*/
|
|
437
|
+
maxConcurrentRequests: number;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
declare namespace WebhooksWebhooks {
|
|
441
|
+
interface CreateBatchEventSubscriptionsInput {
|
|
442
|
+
/**
|
|
443
|
+
* The identifier for the app.
|
|
444
|
+
*/
|
|
445
|
+
appId: number;
|
|
446
|
+
data: WebhooksSchemas.BatchInputSubscriptionBatchUpdateRequest;
|
|
447
|
+
}
|
|
448
|
+
type CreateBatchEventSubscriptionsOutput = WebhooksSchemas.BatchResponseSubscriptionResponse;
|
|
449
|
+
type CreateCrmSnapshotsInput = WebhooksSchemas.CrmObjectSnapshotBatchRequest;
|
|
450
|
+
type CreateCrmSnapshotsOutput = WebhooksSchemas.CrmObjectSnapshotBatchResponse;
|
|
451
|
+
interface CreateEventSubscriptionInput {
|
|
452
|
+
/**
|
|
453
|
+
* The identifier for the app.
|
|
454
|
+
*/
|
|
455
|
+
appId: number;
|
|
456
|
+
data: WebhooksSchemas.SubscriptionCreateRequest;
|
|
457
|
+
}
|
|
458
|
+
type CreateEventSubscriptionOutput = WebhooksSchemas.SubscriptionResponse;
|
|
459
|
+
type CreateJournalSubscriptionInput = WebhooksSchemas.SubscriptionUpsertRequest;
|
|
460
|
+
type CreateJournalSubscriptionOutput = WebhooksSchemas.SubscriptionResponse_1;
|
|
461
|
+
type CreateSubscriptionFilterInput = WebhooksSchemas.FilterCreateRequest;
|
|
462
|
+
type CreateSubscriptionFilterOutput = WebhooksSchemas.FilterCreateResponse;
|
|
463
|
+
interface DeleteEventSubscriptionInput {
|
|
464
|
+
/**
|
|
465
|
+
* The identifier for the app.
|
|
466
|
+
*/
|
|
467
|
+
appId: number;
|
|
468
|
+
/**
|
|
469
|
+
* The identifier for the subscription.
|
|
470
|
+
*/
|
|
471
|
+
subscriptionId: number;
|
|
472
|
+
}
|
|
473
|
+
type DeleteEventSubscriptionOutput = void;
|
|
474
|
+
interface DeleteJournalSubscriptionForPortalInput {
|
|
475
|
+
/**
|
|
476
|
+
* The unique identifier of the portal whose webhook journal subscription is to be deleted.
|
|
477
|
+
*/
|
|
478
|
+
portalId: number;
|
|
479
|
+
}
|
|
480
|
+
type DeleteJournalSubscriptionForPortalOutput = void;
|
|
481
|
+
interface DeleteJournalSubscriptionInput {
|
|
482
|
+
/**
|
|
483
|
+
* The unique identifier of the subscription to delete.
|
|
484
|
+
*/
|
|
485
|
+
subscriptionId: number;
|
|
486
|
+
}
|
|
487
|
+
type DeleteJournalSubscriptionOutput = void;
|
|
488
|
+
interface DeleteSettingsInput {
|
|
489
|
+
/**
|
|
490
|
+
* The identifier for the app.
|
|
491
|
+
*/
|
|
492
|
+
appId: number;
|
|
493
|
+
}
|
|
494
|
+
type DeleteSettingsOutput = void;
|
|
495
|
+
interface DeleteSubscriptionFilterInput {
|
|
496
|
+
/**
|
|
497
|
+
* The unique identifier of the filter to delete.
|
|
749
498
|
*/
|
|
750
|
-
|
|
499
|
+
filterId: number;
|
|
751
500
|
}
|
|
501
|
+
type DeleteSubscriptionFilterOutput = void;
|
|
502
|
+
interface GetEarliestJournalBatchInput {
|
|
503
|
+
/**
|
|
504
|
+
* The maximum number of journal entries to retrieve in the batch. This must be an integer with a minimum value of 1.
|
|
505
|
+
*/
|
|
506
|
+
count: number;
|
|
507
|
+
/**
|
|
508
|
+
* The ID of the portal installation to filter the webhook journal entries by. This is an integer value.
|
|
509
|
+
*/
|
|
510
|
+
installPortalId?: number;
|
|
511
|
+
}
|
|
512
|
+
type GetEarliestJournalBatchOutput = WebhooksSchemas.BatchResponseJournalFetchResponse;
|
|
513
|
+
interface GetEarliestJournalEntryInput {
|
|
514
|
+
/**
|
|
515
|
+
* The ID of the portal installation to filter the journal entries. It is an integer.
|
|
516
|
+
*/
|
|
517
|
+
installPortalId?: number;
|
|
518
|
+
}
|
|
519
|
+
type GetEarliestJournalEntryOutput = void;
|
|
520
|
+
interface GetEarliestLocalJournalBatchInput {
|
|
521
|
+
/**
|
|
522
|
+
* The number of earliest entries to retrieve from the webhook journal. Must be an integer with a minimum value of 1.
|
|
523
|
+
*/
|
|
524
|
+
count: number;
|
|
525
|
+
/**
|
|
526
|
+
* The ID of the portal where the webhooks are installed. This is an integer value.
|
|
527
|
+
*/
|
|
528
|
+
installPortalId?: number;
|
|
529
|
+
}
|
|
530
|
+
type GetEarliestLocalJournalBatchOutput = WebhooksSchemas.BatchResponseJournalFetchResponse;
|
|
531
|
+
interface GetEarliestLocalJournalEntryInput {
|
|
532
|
+
/**
|
|
533
|
+
* The ID of the portal installation to filter the journal entries by. This parameter is optional and should be an integer.
|
|
534
|
+
*/
|
|
535
|
+
installPortalId?: number;
|
|
536
|
+
}
|
|
537
|
+
type GetEarliestLocalJournalEntryOutput = void;
|
|
538
|
+
interface GetEventSubscriptionInput {
|
|
539
|
+
/**
|
|
540
|
+
* The identifier for the app.
|
|
541
|
+
*/
|
|
542
|
+
appId: number;
|
|
543
|
+
/**
|
|
544
|
+
* The identifier for the subscription.
|
|
545
|
+
*/
|
|
546
|
+
subscriptionId: number;
|
|
547
|
+
}
|
|
548
|
+
type GetEventSubscriptionOutput = WebhooksSchemas.SubscriptionResponse;
|
|
549
|
+
interface GetJournalBatchByRequestInput {
|
|
550
|
+
data: WebhooksSchemas.BatchInputString;
|
|
551
|
+
/**
|
|
552
|
+
* The ID of the portal where the webhooks are installed. This is an integer value.
|
|
553
|
+
*/
|
|
554
|
+
installPortalId?: number;
|
|
555
|
+
}
|
|
556
|
+
type GetJournalBatchByRequestOutput = WebhooksSchemas.BatchResponseJournalFetchResponse;
|
|
557
|
+
interface GetJournalBatchFromOffsetInput {
|
|
558
|
+
/**
|
|
559
|
+
* The number of journal entries to fetch in the batch. This is an integer value with a minimum of 1.
|
|
560
|
+
*/
|
|
561
|
+
count: number;
|
|
562
|
+
/**
|
|
563
|
+
* The ID of the portal installation. This is an integer value used to specify the portal context for the request.
|
|
564
|
+
*/
|
|
565
|
+
installPortalId?: number;
|
|
566
|
+
/**
|
|
567
|
+
* The starting point for fetching the next batch of journal entries. This is a string value that indicates the offset position.
|
|
568
|
+
*/
|
|
569
|
+
offset: string;
|
|
570
|
+
}
|
|
571
|
+
type GetJournalBatchFromOffsetOutput = WebhooksSchemas.BatchResponseJournalFetchResponse;
|
|
572
|
+
interface GetJournalStatusInput {
|
|
573
|
+
/**
|
|
574
|
+
* The unique identifier (UUID) of the status to retrieve.
|
|
575
|
+
*/
|
|
576
|
+
statusId: string;
|
|
577
|
+
}
|
|
578
|
+
type GetJournalStatusOutput = WebhooksSchemas.SnapshotStatusResponse;
|
|
579
|
+
interface GetJournalSubscriptionInput {
|
|
580
|
+
/**
|
|
581
|
+
* The unique identifier of the subscription to retrieve. It must be an integer.
|
|
582
|
+
*/
|
|
583
|
+
subscriptionId: number;
|
|
584
|
+
}
|
|
585
|
+
type GetJournalSubscriptionOutput = WebhooksSchemas.SubscriptionResponse_1;
|
|
586
|
+
interface GetLatestJournalBatchInput {
|
|
587
|
+
/**
|
|
588
|
+
* The number of journal entries to retrieve. This is a required integer parameter with a minimum value of 1.
|
|
589
|
+
*/
|
|
590
|
+
count: number;
|
|
591
|
+
/**
|
|
592
|
+
* The ID of the portal installation. This is an integer value used to identify the specific portal.
|
|
593
|
+
*/
|
|
594
|
+
installPortalId?: number;
|
|
595
|
+
}
|
|
596
|
+
type GetLatestJournalBatchOutput = WebhooksSchemas.BatchResponseJournalFetchResponse;
|
|
597
|
+
interface GetLatestJournalEntryInput {
|
|
598
|
+
/**
|
|
599
|
+
* The ID of the portal installation to filter the journal entries. It is an integer value.
|
|
600
|
+
*/
|
|
601
|
+
installPortalId?: number;
|
|
602
|
+
}
|
|
603
|
+
type GetLatestJournalEntryOutput = void;
|
|
604
|
+
interface GetLatestLocalJournalBatchInput {
|
|
605
|
+
/**
|
|
606
|
+
* The number of journal entries to retrieve. Must be an integer with a minimum value of 1.
|
|
607
|
+
*/
|
|
608
|
+
count: number;
|
|
609
|
+
/**
|
|
610
|
+
* The ID of the portal installation. This parameter is optional and used to filter the journal entries by a specific portal.
|
|
611
|
+
*/
|
|
612
|
+
installPortalId?: number;
|
|
613
|
+
}
|
|
614
|
+
type GetLatestLocalJournalBatchOutput = WebhooksSchemas.BatchResponseJournalFetchResponse;
|
|
615
|
+
interface GetLatestLocalJournalEntryInput {
|
|
616
|
+
/**
|
|
617
|
+
* The ID of the portal for which to retrieve the latest journal entries. This parameter is optional and should be an integer.
|
|
618
|
+
*/
|
|
619
|
+
installPortalId?: number;
|
|
620
|
+
}
|
|
621
|
+
type GetLatestLocalJournalEntryOutput = void;
|
|
622
|
+
interface GetLocalJournalBatchByRequestInput {
|
|
623
|
+
data: WebhooksSchemas.BatchInputString;
|
|
624
|
+
/**
|
|
625
|
+
* The ID of the portal where the webhooks are installed. This parameter is optional and is used to specify the target portal.
|
|
626
|
+
*/
|
|
627
|
+
installPortalId?: number;
|
|
628
|
+
}
|
|
629
|
+
type GetLocalJournalBatchByRequestOutput = WebhooksSchemas.BatchResponseJournalFetchResponse;
|
|
630
|
+
interface GetLocalJournalBatchFromOffsetInput {
|
|
631
|
+
/**
|
|
632
|
+
* The number of journal entries to retrieve. This is an integer value with a minimum of 1.
|
|
633
|
+
*/
|
|
634
|
+
count: number;
|
|
635
|
+
/**
|
|
636
|
+
* The ID of the portal installation. This is an integer value used to specify the portal context for the request.
|
|
637
|
+
*/
|
|
638
|
+
installPortalId?: number;
|
|
639
|
+
/**
|
|
640
|
+
* The starting point for fetching the batch of journal entries. This is a string value that indicates the offset position.
|
|
641
|
+
*/
|
|
642
|
+
offset: string;
|
|
643
|
+
}
|
|
644
|
+
type GetLocalJournalBatchFromOffsetOutput = WebhooksSchemas.BatchResponseJournalFetchResponse;
|
|
645
|
+
interface GetLocalJournalStatusInput {
|
|
646
|
+
/**
|
|
647
|
+
* The unique identifier (UUID) of the status to retrieve.
|
|
648
|
+
*/
|
|
649
|
+
statusId: string;
|
|
650
|
+
}
|
|
651
|
+
type GetLocalJournalStatusOutput = WebhooksSchemas.SnapshotStatusResponse;
|
|
652
|
+
interface GetNextJournalEntriesInput {
|
|
653
|
+
/**
|
|
654
|
+
* The ID of the portal installation to filter the webhook journal entries. This is an optional parameter.
|
|
655
|
+
*/
|
|
656
|
+
installPortalId?: number;
|
|
657
|
+
/**
|
|
658
|
+
* The offset from which to start retrieving the next batch of webhook journal entries. This parameter is required and identifies the starting point for the batch retrieval.
|
|
659
|
+
*/
|
|
660
|
+
offset: string;
|
|
661
|
+
}
|
|
662
|
+
type GetNextJournalEntriesOutput = void;
|
|
663
|
+
interface GetNextLocalJournalEntriesInput {
|
|
664
|
+
/**
|
|
665
|
+
* The ID of the portal where the webhook is installed. This is an integer value.
|
|
666
|
+
*/
|
|
667
|
+
installPortalId?: number;
|
|
668
|
+
/**
|
|
669
|
+
* The starting point for retrieving the next set of journal entries. This is a string value.
|
|
670
|
+
*/
|
|
671
|
+
offset: string;
|
|
672
|
+
}
|
|
673
|
+
type GetNextLocalJournalEntriesOutput = void;
|
|
674
|
+
interface GetSettingsInput {
|
|
675
|
+
/**
|
|
676
|
+
* The identifier for the app.
|
|
677
|
+
*/
|
|
678
|
+
appId: number;
|
|
679
|
+
}
|
|
680
|
+
type GetSettingsOutput = WebhooksSchemas.SettingsResponse;
|
|
681
|
+
interface GetSubscriptionFilterInput {
|
|
682
|
+
/**
|
|
683
|
+
* The unique identifier of the filter to retrieve.
|
|
684
|
+
*/
|
|
685
|
+
filterId: number;
|
|
686
|
+
}
|
|
687
|
+
type GetSubscriptionFilterOutput = WebhooksSchemas.FilterResponse;
|
|
688
|
+
interface ListEventSubscriptionsInput {
|
|
689
|
+
/**
|
|
690
|
+
* The identifier for the app.
|
|
691
|
+
*/
|
|
692
|
+
appId: number;
|
|
693
|
+
}
|
|
694
|
+
type ListEventSubscriptionsOutput = WebhooksSchemas.SubscriptionListResponse;
|
|
695
|
+
type ListJournalSubscriptionsOutput = WebhooksSchemas.CollectionResponseSubscriptionResponseNoPaging;
|
|
696
|
+
interface ListSubscriptionFiltersInput {
|
|
697
|
+
/**
|
|
698
|
+
* The unique identifier of the subscription for which to retrieve filters.
|
|
699
|
+
*/
|
|
700
|
+
subscriptionId: number;
|
|
701
|
+
}
|
|
702
|
+
type ListSubscriptionFiltersOutput = WebhooksSchemas.FilterResponse[];
|
|
703
|
+
interface UpdateEventSubscriptionInput {
|
|
704
|
+
/**
|
|
705
|
+
* The identifier for the app.
|
|
706
|
+
*/
|
|
707
|
+
appId: number;
|
|
708
|
+
data: WebhooksSchemas.SubscriptionPatchRequest;
|
|
709
|
+
/**
|
|
710
|
+
* The identifier for the subscription.
|
|
711
|
+
*/
|
|
712
|
+
subscriptionId: number;
|
|
713
|
+
}
|
|
714
|
+
type UpdateEventSubscriptionOutput = WebhooksSchemas.SubscriptionResponse;
|
|
715
|
+
interface UpdateSettingsInput {
|
|
716
|
+
/**
|
|
717
|
+
* The identifier for the app.
|
|
718
|
+
*/
|
|
719
|
+
appId: number;
|
|
720
|
+
data: WebhooksSchemas.SettingsChangeRequest;
|
|
721
|
+
}
|
|
722
|
+
type UpdateSettingsOutput = WebhooksSchemas.SettingsResponse;
|
|
752
723
|
/**
|
|
753
724
|
* Usage example:
|
|
754
725
|
* ```ts
|
|
755
|
-
* import {
|
|
756
|
-
* client.send(
|
|
726
|
+
* import { webhooksWebhooks } from '@hubspot/api-client-core';
|
|
727
|
+
* client.send(webhooksWebhooks.createBatchEventSubscriptions(input));
|
|
757
728
|
* ```
|
|
758
729
|
*/
|
|
759
|
-
interface
|
|
730
|
+
interface API {
|
|
731
|
+
/**
|
|
732
|
+
* Batch create event subscriptions
|
|
733
|
+
* @apiPath /webhooks/2026-03/{appId}/subscriptions/batch/update
|
|
734
|
+
* @apiMethod POST
|
|
735
|
+
* @requiredScopes developers-write, private-apps-write
|
|
736
|
+
*/
|
|
737
|
+
createBatchEventSubscriptions: (input: CreateBatchEventSubscriptionsInput) => Operation<CreateBatchEventSubscriptionsOutput>;
|
|
738
|
+
/**
|
|
739
|
+
* Create Snapshot
|
|
740
|
+
* @apiPath /webhooks-journal/snapshots/2026-03/crm
|
|
741
|
+
* @apiMethod POST
|
|
742
|
+
* @requiredScopes webhooks-journal-snapshot-management
|
|
743
|
+
*/
|
|
744
|
+
createCrmSnapshots: (input: CreateCrmSnapshotsInput) => Operation<CreateCrmSnapshotsOutput>;
|
|
760
745
|
/**
|
|
761
746
|
* Create an event subscription
|
|
762
747
|
* @apiPath /webhooks/2026-03/{appId}/subscriptions
|
|
763
748
|
* @apiMethod POST
|
|
764
749
|
* @requiredScopes developers-write, private-apps-write
|
|
765
750
|
*/
|
|
766
|
-
createEventSubscription: (input:
|
|
751
|
+
createEventSubscription: (input: CreateEventSubscriptionInput) => Operation<CreateEventSubscriptionOutput>;
|
|
767
752
|
/**
|
|
768
753
|
* Create Subscription
|
|
769
754
|
* @apiPath /webhooks-journal/subscriptions/2026-03
|
|
770
755
|
* @apiMethod POST
|
|
771
756
|
* @requiredScopes webhooks-journal-subscription-management
|
|
772
757
|
*/
|
|
773
|
-
createJournalSubscription: (input:
|
|
758
|
+
createJournalSubscription: (input: CreateJournalSubscriptionInput) => Operation<CreateJournalSubscriptionOutput>;
|
|
759
|
+
/**
|
|
760
|
+
* Create Filter
|
|
761
|
+
* @apiPath /webhooks-journal/subscriptions/2026-03/filters
|
|
762
|
+
* @apiMethod POST
|
|
763
|
+
* @requiredScopes webhooks-journal-subscription-management
|
|
764
|
+
*/
|
|
765
|
+
createSubscriptionFilter: (input: CreateSubscriptionFilterInput) => Operation<CreateSubscriptionFilterOutput>;
|
|
774
766
|
/**
|
|
775
767
|
* Delete event subscription
|
|
776
768
|
* @apiPath /webhooks/2026-03/{appId}/subscriptions/{subscriptionId}
|
|
777
769
|
* @apiMethod DELETE
|
|
778
770
|
* @requiredScopes developers-write, private-apps-write
|
|
779
771
|
*/
|
|
780
|
-
deleteEventSubscription: (input:
|
|
772
|
+
deleteEventSubscription: (input: DeleteEventSubscriptionInput) => Operation<DeleteEventSubscriptionOutput>;
|
|
781
773
|
/**
|
|
782
774
|
* Delete subscription
|
|
783
775
|
* @apiPath /webhooks-journal/subscriptions/2026-03/{subscriptionId}
|
|
784
776
|
* @apiMethod DELETE
|
|
785
777
|
* @requiredScopes webhooks-journal-subscription-management
|
|
786
778
|
*/
|
|
787
|
-
deleteJournalSubscription: (input:
|
|
779
|
+
deleteJournalSubscription: (input: DeleteJournalSubscriptionInput) => Operation<DeleteJournalSubscriptionOutput>;
|
|
788
780
|
/**
|
|
789
781
|
* Delete subscription
|
|
790
782
|
* @apiPath /webhooks-journal/subscriptions/2026-03/portals/{portalId}
|
|
791
783
|
* @apiMethod DELETE
|
|
792
784
|
* @requiredScopes webhooks-journal-subscription-management
|
|
793
785
|
*/
|
|
794
|
-
deleteJournalSubscriptionForPortal: (input:
|
|
786
|
+
deleteJournalSubscriptionForPortal: (input: DeleteJournalSubscriptionForPortalInput) => Operation<DeleteJournalSubscriptionForPortalOutput>;
|
|
795
787
|
/**
|
|
796
788
|
* Delete webhook settings
|
|
797
789
|
* @apiPath /webhooks/2026-03/{appId}/settings
|
|
798
790
|
* @apiMethod DELETE
|
|
799
791
|
* @requiredScopes developers-write, private-apps-write
|
|
800
792
|
*/
|
|
801
|
-
deleteSettings: (input:
|
|
793
|
+
deleteSettings: (input: DeleteSettingsInput) => Operation<DeleteSettingsOutput>;
|
|
802
794
|
/**
|
|
803
795
|
* Delete filter
|
|
804
796
|
* @apiPath /webhooks-journal/subscriptions/2026-03/filters/{filterId}
|
|
805
797
|
* @apiMethod DELETE
|
|
806
798
|
* @requiredScopes webhooks-journal-subscription-management
|
|
807
799
|
*/
|
|
808
|
-
deleteSubscriptionFilter: (input:
|
|
800
|
+
deleteSubscriptionFilter: (input: DeleteSubscriptionFilterInput) => Operation<DeleteSubscriptionFilterOutput>;
|
|
801
|
+
/**
|
|
802
|
+
* Retrieve Batch
|
|
803
|
+
* @apiPath /webhooks-journal/journal/2026-03/batch/earliest/{count}
|
|
804
|
+
* @apiMethod GET
|
|
805
|
+
* @requiredScopes webhooks-journal-data-access
|
|
806
|
+
*/
|
|
807
|
+
getEarliestJournalBatch: (input: GetEarliestJournalBatchInput) => Operation<GetEarliestJournalBatchOutput>;
|
|
809
808
|
/**
|
|
810
809
|
* Retrieve earliest
|
|
811
810
|
* @apiPath /webhooks-journal/journal/2026-03/earliest
|
|
812
811
|
* @apiMethod GET
|
|
813
812
|
* @requiredScopes webhooks-journal-data-access
|
|
814
813
|
*/
|
|
815
|
-
getEarliestJournalEntry: (input?:
|
|
814
|
+
getEarliestJournalEntry: (input?: GetEarliestJournalEntryInput) => Operation<GetEarliestJournalEntryOutput>;
|
|
815
|
+
/**
|
|
816
|
+
* Retrieve Batch
|
|
817
|
+
* @apiPath /webhooks-journal/journal-local/2026-03/batch/earliest/{count}
|
|
818
|
+
* @apiMethod GET
|
|
819
|
+
* @requiredScopes webhooks-journal-data-access
|
|
820
|
+
*/
|
|
821
|
+
getEarliestLocalJournalBatch: (input: GetEarliestLocalJournalBatchInput) => Operation<GetEarliestLocalJournalBatchOutput>;
|
|
816
822
|
/**
|
|
817
823
|
* Retrieve earliest
|
|
818
824
|
* @apiPath /webhooks-journal/journal-local/2026-03/earliest
|
|
819
825
|
* @apiMethod GET
|
|
820
826
|
* @requiredScopes webhooks-journal-data-access
|
|
821
827
|
*/
|
|
822
|
-
getEarliestLocalJournalEntry: (input?:
|
|
828
|
+
getEarliestLocalJournalEntry: (input?: GetEarliestLocalJournalEntryInput) => Operation<GetEarliestLocalJournalEntryOutput>;
|
|
823
829
|
/**
|
|
824
830
|
* Read an event subscription
|
|
825
831
|
* @apiPath /webhooks/2026-03/{appId}/subscriptions/{subscriptionId}
|
|
826
832
|
* @apiMethod GET
|
|
827
833
|
* @requiredScopes developers-read, private-apps-read
|
|
828
834
|
*/
|
|
829
|
-
getEventSubscription: (input:
|
|
835
|
+
getEventSubscription: (input: GetEventSubscriptionInput) => Operation<GetEventSubscriptionOutput>;
|
|
836
|
+
/**
|
|
837
|
+
* Batch read
|
|
838
|
+
* @apiPath /webhooks-journal/journal/2026-03/batch/read
|
|
839
|
+
* @apiMethod POST
|
|
840
|
+
* @requiredScopes webhooks-journal-data-access
|
|
841
|
+
*/
|
|
842
|
+
getJournalBatchByRequest: (input: GetJournalBatchByRequestInput) => Operation<GetJournalBatchByRequestOutput>;
|
|
843
|
+
/**
|
|
844
|
+
* Fetch Batch Entries
|
|
845
|
+
* @apiPath /webhooks-journal/journal/2026-03/batch/{offset}/next/{count}
|
|
846
|
+
* @apiMethod GET
|
|
847
|
+
* @requiredScopes webhooks-journal-data-access
|
|
848
|
+
*/
|
|
849
|
+
getJournalBatchFromOffset: (input: GetJournalBatchFromOffsetInput) => Operation<GetJournalBatchFromOffsetOutput>;
|
|
830
850
|
/**
|
|
831
851
|
* Retrieve status
|
|
832
852
|
* @apiPath /webhooks-journal/journal/2026-03/status/{statusId}
|
|
833
853
|
* @apiMethod GET
|
|
834
854
|
* @requiredScopes webhooks-journal-snapshot-management
|
|
835
855
|
*/
|
|
836
|
-
getJournalStatus: (input:
|
|
856
|
+
getJournalStatus: (input: GetJournalStatusInput) => Operation<GetJournalStatusOutput>;
|
|
837
857
|
/**
|
|
838
858
|
* Retrieve subscription
|
|
839
859
|
* @apiPath /webhooks-journal/subscriptions/2026-03/{subscriptionId}
|
|
840
860
|
* @apiMethod GET
|
|
841
861
|
* @requiredScopes webhooks-journal-subscription-read
|
|
842
862
|
*/
|
|
843
|
-
getJournalSubscription: (input:
|
|
863
|
+
getJournalSubscription: (input: GetJournalSubscriptionInput) => Operation<GetJournalSubscriptionOutput>;
|
|
864
|
+
/**
|
|
865
|
+
* Retrieve latest batch
|
|
866
|
+
* @apiPath /webhooks-journal/journal/2026-03/batch/latest/{count}
|
|
867
|
+
* @apiMethod GET
|
|
868
|
+
* @requiredScopes webhooks-journal-data-access
|
|
869
|
+
*/
|
|
870
|
+
getLatestJournalBatch: (input: GetLatestJournalBatchInput) => Operation<GetLatestJournalBatchOutput>;
|
|
844
871
|
/**
|
|
845
872
|
* Retrieve latest journal
|
|
846
873
|
* @apiPath /webhooks-journal/journal/2026-03/latest
|
|
847
874
|
* @apiMethod GET
|
|
848
875
|
* @requiredScopes webhooks-journal-data-access
|
|
849
876
|
*/
|
|
850
|
-
getLatestJournalEntry: (input?:
|
|
877
|
+
getLatestJournalEntry: (input?: GetLatestJournalEntryInput) => Operation<GetLatestJournalEntryOutput>;
|
|
878
|
+
/**
|
|
879
|
+
* Retrieve latest batch
|
|
880
|
+
* @apiPath /webhooks-journal/journal-local/2026-03/batch/latest/{count}
|
|
881
|
+
* @apiMethod GET
|
|
882
|
+
* @requiredScopes webhooks-journal-data-access
|
|
883
|
+
*/
|
|
884
|
+
getLatestLocalJournalBatch: (input: GetLatestLocalJournalBatchInput) => Operation<GetLatestLocalJournalBatchOutput>;
|
|
851
885
|
/**
|
|
852
886
|
* Retrieve latest journal
|
|
853
887
|
* @apiPath /webhooks-journal/journal-local/2026-03/latest
|
|
854
888
|
* @apiMethod GET
|
|
855
889
|
* @requiredScopes webhooks-journal-data-access
|
|
856
890
|
*/
|
|
857
|
-
getLatestLocalJournalEntry: (input?:
|
|
891
|
+
getLatestLocalJournalEntry: (input?: GetLatestLocalJournalEntryInput) => Operation<GetLatestLocalJournalEntryOutput>;
|
|
892
|
+
/**
|
|
893
|
+
* Batch read
|
|
894
|
+
* @apiPath /webhooks-journal/journal-local/2026-03/batch/read
|
|
895
|
+
* @apiMethod POST
|
|
896
|
+
* @requiredScopes webhooks-journal-data-access
|
|
897
|
+
*/
|
|
898
|
+
getLocalJournalBatchByRequest: (input: GetLocalJournalBatchByRequestInput) => Operation<GetLocalJournalBatchByRequestOutput>;
|
|
899
|
+
/**
|
|
900
|
+
* Retrieve batch
|
|
901
|
+
* @apiPath /webhooks-journal/journal-local/2026-03/batch/{offset}/next/{count}
|
|
902
|
+
* @apiMethod GET
|
|
903
|
+
* @requiredScopes webhooks-journal-data-access
|
|
904
|
+
*/
|
|
905
|
+
getLocalJournalBatchFromOffset: (input: GetLocalJournalBatchFromOffsetInput) => Operation<GetLocalJournalBatchFromOffsetOutput>;
|
|
858
906
|
/**
|
|
859
907
|
* Retrieve status
|
|
860
908
|
* @apiPath /webhooks-journal/journal-local/2026-03/status/{statusId}
|
|
861
909
|
* @apiMethod GET
|
|
862
910
|
* @requiredScopes webhooks-journal-snapshot-management
|
|
863
911
|
*/
|
|
864
|
-
getLocalJournalStatus: (input:
|
|
912
|
+
getLocalJournalStatus: (input: GetLocalJournalStatusInput) => Operation<GetLocalJournalStatusOutput>;
|
|
865
913
|
/**
|
|
866
914
|
* Retrieve Next Batch
|
|
867
915
|
* @apiPath /webhooks-journal/journal/2026-03/offset/{offset}/next
|
|
868
916
|
* @apiMethod GET
|
|
869
917
|
* @requiredScopes webhooks-journal-data-access
|
|
870
918
|
*/
|
|
871
|
-
getNextJournalEntries: (input:
|
|
919
|
+
getNextJournalEntries: (input: GetNextJournalEntriesInput) => Operation<GetNextJournalEntriesOutput>;
|
|
872
920
|
/**
|
|
873
921
|
* Retrieve Next Batch
|
|
874
922
|
* @apiPath /webhooks-journal/journal-local/2026-03/offset/{offset}/next
|
|
875
923
|
* @apiMethod GET
|
|
876
924
|
* @requiredScopes webhooks-journal-data-access
|
|
877
925
|
*/
|
|
878
|
-
getNextLocalJournalEntries: (input:
|
|
926
|
+
getNextLocalJournalEntries: (input: GetNextLocalJournalEntriesInput) => Operation<GetNextLocalJournalEntriesOutput>;
|
|
879
927
|
/**
|
|
880
928
|
* Read webhook settings
|
|
881
929
|
* @apiPath /webhooks/2026-03/{appId}/settings
|
|
882
930
|
* @apiMethod GET
|
|
883
931
|
* @requiredScopes developers-read, private-apps-read
|
|
884
932
|
*/
|
|
885
|
-
getSettings: (input:
|
|
933
|
+
getSettings: (input: GetSettingsInput) => Operation<GetSettingsOutput>;
|
|
886
934
|
/**
|
|
887
935
|
* Retrieve filter
|
|
888
936
|
* @apiPath /webhooks-journal/subscriptions/2026-03/filters/{filterId}
|
|
889
937
|
* @apiMethod GET
|
|
890
938
|
* @requiredScopes webhooks-journal-subscription-read
|
|
891
939
|
*/
|
|
892
|
-
getSubscriptionFilter: (input:
|
|
940
|
+
getSubscriptionFilter: (input: GetSubscriptionFilterInput) => Operation<GetSubscriptionFilterOutput>;
|
|
893
941
|
/**
|
|
894
942
|
* Read event subscriptions
|
|
895
943
|
* @apiPath /webhooks/2026-03/{appId}/subscriptions
|
|
896
944
|
* @apiMethod GET
|
|
897
945
|
* @requiredScopes developers-read, private-apps-read
|
|
898
946
|
*/
|
|
899
|
-
listEventSubscriptions: (input:
|
|
947
|
+
listEventSubscriptions: (input: ListEventSubscriptionsInput) => Operation<ListEventSubscriptionsOutput>;
|
|
900
948
|
/**
|
|
901
949
|
* List subscriptions
|
|
902
950
|
* @apiPath /webhooks-journal/subscriptions/2026-03
|
|
903
951
|
* @apiMethod GET
|
|
904
952
|
* @requiredScopes webhooks-journal-subscription-read
|
|
905
953
|
*/
|
|
906
|
-
listJournalSubscriptions: () => Operation<
|
|
954
|
+
listJournalSubscriptions: () => Operation<ListJournalSubscriptionsOutput>;
|
|
907
955
|
/**
|
|
908
956
|
* Retrieve Filters
|
|
909
957
|
* @apiPath /webhooks-journal/subscriptions/2026-03/filters/subscription/{subscriptionId}
|
|
910
958
|
* @apiMethod GET
|
|
911
959
|
* @requiredScopes webhooks-journal-subscription-read
|
|
912
960
|
*/
|
|
913
|
-
listSubscriptionFilters: (input:
|
|
961
|
+
listSubscriptionFilters: (input: ListSubscriptionFiltersInput) => Operation<ListSubscriptionFiltersOutput>;
|
|
914
962
|
/**
|
|
915
963
|
* Update an event subscription
|
|
916
964
|
* @apiPath /webhooks/2026-03/{appId}/subscriptions/{subscriptionId}
|
|
917
965
|
* @apiMethod PATCH
|
|
918
966
|
* @requiredScopes developers-write, private-apps-write
|
|
919
967
|
*/
|
|
920
|
-
updateEventSubscription: (input:
|
|
968
|
+
updateEventSubscription: (input: UpdateEventSubscriptionInput) => Operation<UpdateEventSubscriptionOutput>;
|
|
921
969
|
/**
|
|
922
970
|
* Update webhook settings
|
|
923
971
|
* @apiPath /webhooks/2026-03/{appId}/settings
|
|
924
972
|
* @apiMethod PUT
|
|
925
973
|
* @requiredScopes developers-write, private-apps-write
|
|
926
974
|
*/
|
|
927
|
-
updateSettings: (input:
|
|
928
|
-
}
|
|
929
|
-
/**
|
|
930
|
-
* Usage example:
|
|
931
|
-
* ```ts
|
|
932
|
-
* import { webhooks } from '@hubspot/api-client-core';
|
|
933
|
-
* client.send(webhooks.batch.createBatchEventSubscriptions(input));
|
|
934
|
-
* ```
|
|
935
|
-
*/
|
|
936
|
-
interface BatchAPI {
|
|
937
|
-
/**
|
|
938
|
-
* Batch create event subscriptions
|
|
939
|
-
* @apiPath /webhooks/2026-03/{appId}/subscriptions/batch/update
|
|
940
|
-
* @apiMethod POST
|
|
941
|
-
* @requiredScopes developers-write, private-apps-write
|
|
942
|
-
*/
|
|
943
|
-
createBatchEventSubscriptions: (input: Batch.CreateBatchEventSubscriptionsInput) => Operation<Batch.CreateBatchEventSubscriptionsOutput>;
|
|
944
|
-
/**
|
|
945
|
-
* Retrieve Batch
|
|
946
|
-
* @apiPath /webhooks-journal/journal/2026-03/batch/earliest/{count}
|
|
947
|
-
* @apiMethod GET
|
|
948
|
-
* @requiredScopes webhooks-journal-data-access
|
|
949
|
-
*/
|
|
950
|
-
getEarliestJournalBatch: (input: Batch.GetEarliestJournalBatchInput) => Operation<Batch.GetEarliestJournalBatchOutput>;
|
|
951
|
-
/**
|
|
952
|
-
* Retrieve Batch
|
|
953
|
-
* @apiPath /webhooks-journal/journal-local/2026-03/batch/earliest/{count}
|
|
954
|
-
* @apiMethod GET
|
|
955
|
-
* @requiredScopes webhooks-journal-data-access
|
|
956
|
-
*/
|
|
957
|
-
getEarliestLocalJournalBatch: (input: Batch.GetEarliestLocalJournalBatchInput) => Operation<Batch.GetEarliestLocalJournalBatchOutput>;
|
|
958
|
-
/**
|
|
959
|
-
* Batch read
|
|
960
|
-
* @apiPath /webhooks-journal/journal/2026-03/batch/read
|
|
961
|
-
* @apiMethod POST
|
|
962
|
-
* @requiredScopes webhooks-journal-data-access
|
|
963
|
-
*/
|
|
964
|
-
getJournalBatchByRequest: (input: Batch.GetJournalBatchByRequestInput) => Operation<Batch.GetJournalBatchByRequestOutput>;
|
|
965
|
-
/**
|
|
966
|
-
* Fetch Batch Entries
|
|
967
|
-
* @apiPath /webhooks-journal/journal/2026-03/batch/{offset}/next/{count}
|
|
968
|
-
* @apiMethod GET
|
|
969
|
-
* @requiredScopes webhooks-journal-data-access
|
|
970
|
-
*/
|
|
971
|
-
getJournalBatchFromOffset: (input: Batch.GetJournalBatchFromOffsetInput) => Operation<Batch.GetJournalBatchFromOffsetOutput>;
|
|
972
|
-
/**
|
|
973
|
-
* Retrieve latest batch
|
|
974
|
-
* @apiPath /webhooks-journal/journal/2026-03/batch/latest/{count}
|
|
975
|
-
* @apiMethod GET
|
|
976
|
-
* @requiredScopes webhooks-journal-data-access
|
|
977
|
-
*/
|
|
978
|
-
getLatestJournalBatch: (input: Batch.GetLatestJournalBatchInput) => Operation<Batch.GetLatestJournalBatchOutput>;
|
|
979
|
-
/**
|
|
980
|
-
* Retrieve latest batch
|
|
981
|
-
* @apiPath /webhooks-journal/journal-local/2026-03/batch/latest/{count}
|
|
982
|
-
* @apiMethod GET
|
|
983
|
-
* @requiredScopes webhooks-journal-data-access
|
|
984
|
-
*/
|
|
985
|
-
getLatestLocalJournalBatch: (input: Batch.GetLatestLocalJournalBatchInput) => Operation<Batch.GetLatestLocalJournalBatchOutput>;
|
|
986
|
-
/**
|
|
987
|
-
* Batch read
|
|
988
|
-
* @apiPath /webhooks-journal/journal-local/2026-03/batch/read
|
|
989
|
-
* @apiMethod POST
|
|
990
|
-
* @requiredScopes webhooks-journal-data-access
|
|
991
|
-
*/
|
|
992
|
-
getLocalJournalBatchByRequest: (input: Batch.GetLocalJournalBatchByRequestInput) => Operation<Batch.GetLocalJournalBatchByRequestOutput>;
|
|
993
|
-
/**
|
|
994
|
-
* Retrieve batch
|
|
995
|
-
* @apiPath /webhooks-journal/journal-local/2026-03/batch/{offset}/next/{count}
|
|
996
|
-
* @apiMethod GET
|
|
997
|
-
* @requiredScopes webhooks-journal-data-access
|
|
998
|
-
*/
|
|
999
|
-
getLocalJournalBatchFromOffset: (input: Batch.GetLocalJournalBatchFromOffsetInput) => Operation<Batch.GetLocalJournalBatchFromOffsetOutput>;
|
|
1000
|
-
}
|
|
1001
|
-
/**
|
|
1002
|
-
* Usage example:
|
|
1003
|
-
* ```ts
|
|
1004
|
-
* import { webhooks } from '@hubspot/api-client-core';
|
|
1005
|
-
* client.send(webhooks.advanced.createCrmSnapshots(input));
|
|
1006
|
-
* ```
|
|
1007
|
-
*/
|
|
1008
|
-
interface API {
|
|
1009
|
-
advanced: AdvancedAPI;
|
|
1010
|
-
basic: BasicAPI;
|
|
1011
|
-
batch: BatchAPI;
|
|
975
|
+
updateSettings: (input: UpdateSettingsInput) => Operation<UpdateSettingsOutput>;
|
|
1012
976
|
}
|
|
1013
977
|
}
|
|
1014
978
|
//#endregion
|
|
1015
|
-
export {
|
|
979
|
+
export { WebhooksSchemas, WebhooksWebhooks };
|
|
1016
980
|
//# sourceMappingURL=webhooks-types.generated.d.ts.map
|