@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
|
@@ -2,1154 +2,965 @@
|
|
|
2
2
|
|
|
3
3
|
import type { Operation } from '../../types.ts';
|
|
4
4
|
|
|
5
|
-
export namespace
|
|
6
|
-
export
|
|
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
|
-
export
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
| 'CAMPAIGN_TEMPLATE_STEP'
|
|
523
|
-
| 'CART'
|
|
524
|
-
| 'CASE_STUDY'
|
|
525
|
-
| 'CHATFLOW'
|
|
526
|
-
| 'CLIP'
|
|
527
|
-
| 'CMS_URL'
|
|
528
|
-
| 'COMBO_EVENT_CONFIGURATION'
|
|
529
|
-
| 'COMMERCE_PAYMENT'
|
|
530
|
-
| 'COMMUNICATION'
|
|
531
|
-
| 'COMPANY'
|
|
532
|
-
| 'CONTACT'
|
|
533
|
-
| 'CONTACT_CREATE_ATTRIBUTION'
|
|
534
|
-
| 'CONTENT'
|
|
535
|
-
| 'CONTENT_AUDIT'
|
|
536
|
-
| 'CONTENT_AUDIT_PAGE'
|
|
537
|
-
| 'CONVERSATION'
|
|
538
|
-
| 'CONVERSATION_INBOX'
|
|
539
|
-
| 'CONVERSATION_SESSION'
|
|
540
|
-
| 'CRM_OBJECTS_DUMMY_TYPE'
|
|
541
|
-
| 'CRM_PIPELINES_DUMMY_TYPE'
|
|
542
|
-
| 'CTA'
|
|
543
|
-
| 'CTA_VARIANT'
|
|
544
|
-
| 'DATA_PRIVACY_CONSENT'
|
|
545
|
-
| 'DATA_SYNC_STATE'
|
|
546
|
-
| 'DEAL'
|
|
547
|
-
| 'DEAL_CREATE_ATTRIBUTION'
|
|
548
|
-
| 'DEAL_REGISTRATION'
|
|
549
|
-
| 'DEAL_SPLIT'
|
|
550
|
-
| 'DISCOUNT'
|
|
551
|
-
| 'DISCOUNT_CODE'
|
|
552
|
-
| 'DISCOUNT_TEMPLATE'
|
|
553
|
-
| 'EMAIL'
|
|
554
|
-
| 'ENGAGEMENT'
|
|
555
|
-
| 'EXPORT'
|
|
556
|
-
| 'EXTERNAL_WEB_URL'
|
|
557
|
-
| 'FEE'
|
|
558
|
-
| 'FEEDBACK_SUBMISSION'
|
|
559
|
-
| 'FEEDBACK_SURVEY'
|
|
560
|
-
| 'FILE_MANAGER_FILE'
|
|
561
|
-
| 'FILE_MANAGER_FOLDER'
|
|
562
|
-
| 'FOLDER'
|
|
563
|
-
| 'FORECAST'
|
|
564
|
-
| 'FORM'
|
|
565
|
-
| 'FORM_SUBMISSION_INBOUNDDB'
|
|
566
|
-
| 'GOAL_TARGET'
|
|
567
|
-
| 'GOAL_TARGET_GROUP'
|
|
568
|
-
| 'GOAL_TEMPLATE'
|
|
569
|
-
| 'GSC_PROPERTY'
|
|
570
|
-
| 'HUB'
|
|
571
|
-
| 'IMPORT'
|
|
572
|
-
| 'INVOICE'
|
|
573
|
-
| 'KEYWORD'
|
|
574
|
-
| 'KNOWLEDGE_ARTICLE'
|
|
575
|
-
| 'LANDING_PAGE'
|
|
576
|
-
| 'LEAD'
|
|
577
|
-
| 'LINE_ITEM'
|
|
578
|
-
| 'MARKETING_CALENDAR'
|
|
579
|
-
| 'MARKETING_CAMPAIGN_UTM'
|
|
580
|
-
| 'MARKETING_EMAIL'
|
|
581
|
-
| 'MARKETING_EVENT'
|
|
582
|
-
| 'MARKETING_EVENT_ATTENDANCE'
|
|
583
|
-
| 'MARKETING_SMS'
|
|
584
|
-
| 'MEDIA_BRIDGE'
|
|
585
|
-
| 'MEETING_EVENT'
|
|
586
|
-
| 'MIC'
|
|
587
|
-
| 'NOTE'
|
|
588
|
-
| 'OBJECT_LIST'
|
|
589
|
-
| 'ORDER'
|
|
590
|
-
| 'OWNER'
|
|
591
|
-
| 'PARTNER_ACCOUNT'
|
|
592
|
-
| 'PARTNER_CLIENT'
|
|
593
|
-
| 'PARTNER_CLIENT_REVENUE'
|
|
594
|
-
| 'PARTNER_SERVICE'
|
|
595
|
-
| 'PAYMENT_LINK'
|
|
596
|
-
| 'PAYMENT_SCHEDULE'
|
|
597
|
-
| 'PAYMENT_SCHEDULE_INSTALLMENT'
|
|
598
|
-
| 'PERMISSIONS_TESTING'
|
|
599
|
-
| 'PLAYBOOK'
|
|
600
|
-
| 'PLAYBOOK_QUESTION'
|
|
601
|
-
| 'PLAYBOOK_SUBMISSION'
|
|
602
|
-
| 'PLAYBOOK_SUBMISSION_ANSWER'
|
|
603
|
-
| 'PLAYLIST'
|
|
604
|
-
| 'PLAYLIST_FOLDER'
|
|
605
|
-
| 'PODCAST_EPISODE'
|
|
606
|
-
| 'PORTAL'
|
|
607
|
-
| 'PORTAL_OBJECT_SYNC_MESSAGE'
|
|
608
|
-
| 'POSTAL_MAIL'
|
|
609
|
-
| 'PRIVACY_SCANNER_COOKIE'
|
|
610
|
-
| 'PRODUCT'
|
|
611
|
-
| 'PRODUCT_OR_FOLDER'
|
|
612
|
-
| 'PROPERTY_INFO'
|
|
613
|
-
| 'PROSPECTING_AGENT_CONTACT_ASSIGNMENT'
|
|
614
|
-
| 'PUBLISHING_TASK'
|
|
615
|
-
| 'QUARANTINED_SUBMISSION'
|
|
616
|
-
| 'QUOTA'
|
|
617
|
-
| 'QUOTE'
|
|
618
|
-
| 'QUOTE_FIELD'
|
|
619
|
-
| 'QUOTE_MODULE'
|
|
620
|
-
| 'QUOTE_MODULE_FIELD'
|
|
621
|
-
| 'QUOTE_TEMPLATE'
|
|
622
|
-
| 'RESTORABLE_CRM_OBJECT'
|
|
623
|
-
| 'ROSTER'
|
|
624
|
-
| 'ROSTER_MEMBER'
|
|
625
|
-
| 'SALES_DOCUMENT'
|
|
626
|
-
| 'SALES_TASK'
|
|
627
|
-
| 'SALES_WORKLOAD'
|
|
628
|
-
| 'SALESFORCE_SYNC_ERROR'
|
|
629
|
-
| 'SCHEDULING_PAGE'
|
|
630
|
-
| 'SCHEMAS_BACKEND_TEST'
|
|
631
|
-
| 'SCORE_CONFIGURATION'
|
|
632
|
-
| 'SEQUENCE'
|
|
633
|
-
| 'SEQUENCE_ENROLLMENT'
|
|
634
|
-
| 'SEQUENCE_STEP'
|
|
635
|
-
| 'SEQUENCE_STEP_ENROLLMENT'
|
|
636
|
-
| 'SERVICE'
|
|
637
|
-
| 'SITE_PAGE'
|
|
638
|
-
| 'SNIPPET'
|
|
639
|
-
| 'SOCIAL_BROADCAST'
|
|
640
|
-
| 'SOCIAL_CHANNEL'
|
|
641
|
-
| 'SOCIAL_POST'
|
|
642
|
-
| 'SOCIAL_PROFILE'
|
|
643
|
-
| 'SOX_PROTECTED_DUMMY_TYPE'
|
|
644
|
-
| 'SOX_PROTECTED_TEST_TYPE'
|
|
645
|
-
| 'SUBMISSION_TAG'
|
|
646
|
-
| 'SUBSCRIPTION'
|
|
647
|
-
| 'TASK'
|
|
648
|
-
| 'TASK_TEMPLATE'
|
|
649
|
-
| 'TAX'
|
|
650
|
-
| 'TEMPLATE'
|
|
651
|
-
| 'TICKET'
|
|
652
|
-
| 'UNKNOWN'
|
|
653
|
-
| 'UNSUBSCRIBE'
|
|
654
|
-
| 'USER'
|
|
655
|
-
| 'VIEW'
|
|
656
|
-
| 'VIEW_BLOCK'
|
|
657
|
-
| 'WEB_INTERACTIVE';
|
|
658
|
-
/**
|
|
659
|
-
* Defines the structure and constraints of the field.
|
|
660
|
-
*/
|
|
661
|
-
schema:
|
|
662
|
-
| Schemas.IntegerFieldSchema
|
|
663
|
-
| Schemas.LongFieldSchema
|
|
664
|
-
| Schemas.DoubleFieldSchema
|
|
665
|
-
| Schemas.StringFieldSchema
|
|
666
|
-
| Schemas.BooleanFieldSchema
|
|
667
|
-
| Schemas.ArrayFieldSchema
|
|
668
|
-
| Schemas.ObjectFieldSchema;
|
|
669
|
-
/**
|
|
670
|
-
* Specifies the data type of the field, with accepted values like bool, date, datetime, enumeration, json, number, object_coordinates, phone_number, string.
|
|
671
|
-
*/
|
|
672
|
-
type:
|
|
673
|
-
| 'bool'
|
|
674
|
-
| 'currency_number'
|
|
675
|
-
| 'date'
|
|
676
|
-
| 'datetime'
|
|
677
|
-
| 'enumeration'
|
|
678
|
-
| 'json'
|
|
679
|
-
| 'number'
|
|
680
|
-
| 'object_coordinates'
|
|
681
|
-
| 'phone_number'
|
|
682
|
-
| 'string';
|
|
683
|
-
/**
|
|
684
|
-
* Specifies whether the field uses the Chirp feature.
|
|
685
|
-
*/
|
|
686
|
-
useChirp: boolean;
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
export interface ForwardPaging {
|
|
690
|
-
next?: Schemas.NextPage;
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
export interface IntegerFieldSchema {
|
|
694
|
-
/**
|
|
695
|
-
* The maximum value allowed for the integer field.
|
|
696
|
-
*/
|
|
697
|
-
maximum?: number;
|
|
698
|
-
/**
|
|
699
|
-
* The minimum value allowed for the integer field.
|
|
700
|
-
*/
|
|
701
|
-
minimum?: number;
|
|
702
|
-
/**
|
|
703
|
-
* The type of the field, which is set to INTEGER.
|
|
704
|
-
*/
|
|
705
|
-
type: 'INTEGER';
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
export interface LongFieldSchema {
|
|
709
|
-
/**
|
|
710
|
-
* The maximum value allowed for the long field.
|
|
711
|
-
*/
|
|
712
|
-
maximum?: number;
|
|
713
|
-
/**
|
|
714
|
-
* The minimum value allowed for the long field.
|
|
715
|
-
*/
|
|
716
|
-
minimum?: number;
|
|
717
|
-
/**
|
|
718
|
-
* The type of the field, which is LONG by default.
|
|
719
|
-
*/
|
|
720
|
-
type: 'LONG';
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
/**
|
|
724
|
-
* Specifies the paging information needed to retrieve the next set of results in a paginated API response
|
|
725
|
-
*/
|
|
726
|
-
export interface NextPage {
|
|
727
|
-
/**
|
|
728
|
-
* A paging cursor token for retrieving subsequent pages.
|
|
729
|
-
*/
|
|
730
|
-
after: string;
|
|
731
|
-
/**
|
|
732
|
-
* A URL that can be used to retrieve the next page results.
|
|
733
|
-
*/
|
|
734
|
-
link?: string;
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
export interface ObjectFieldSchema {
|
|
738
|
-
/**
|
|
739
|
-
* Contains the properties of the object.
|
|
740
|
-
*/
|
|
741
|
-
properties: Record<string, never>;
|
|
742
|
-
/**
|
|
743
|
-
* Specifies the type of the field, which is 'OBJECT' by default.
|
|
744
|
-
*/
|
|
745
|
-
type: 'OBJECT';
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
/**
|
|
749
|
-
* A HubSpot property option
|
|
750
|
-
*/
|
|
751
|
-
export interface Option {
|
|
752
|
-
/**
|
|
753
|
-
* A description of the option.
|
|
754
|
-
*/
|
|
755
|
-
description: string;
|
|
756
|
-
/**
|
|
757
|
-
* The position of the item relative to others in the list.
|
|
758
|
-
*/
|
|
759
|
-
displayOrder: number;
|
|
760
|
-
/**
|
|
761
|
-
* A numerical value associated with the option.
|
|
762
|
-
*/
|
|
763
|
-
doubleData: number;
|
|
764
|
-
/**
|
|
765
|
-
* Whether the option is displayed in HubSpot's UI.
|
|
766
|
-
*/
|
|
767
|
-
hidden: boolean;
|
|
768
|
-
/**
|
|
769
|
-
* A user-friendly label that identifies the option.
|
|
770
|
-
*/
|
|
771
|
-
label: string;
|
|
772
|
-
/**
|
|
773
|
-
* Whether the option is read-only.
|
|
774
|
-
*/
|
|
775
|
-
readOnly: boolean;
|
|
776
|
-
/**
|
|
777
|
-
* The actual value of the option.
|
|
778
|
-
*/
|
|
779
|
-
value: string;
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
export interface OutputFieldDefinition {
|
|
783
|
-
typeDefinition: Schemas.FieldTypeDefinition;
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
export interface PublicActionDefinition {
|
|
787
|
-
actionUrl: string;
|
|
788
|
-
archivedAt?: number;
|
|
789
|
-
executionRules?: Schemas.PublicExecutionTranslationRule[];
|
|
790
|
-
functions: Schemas.PublicActionFunctionIdentifier[];
|
|
791
|
-
id: string;
|
|
792
|
-
inputFieldDependencies?: (
|
|
793
|
-
| Schemas.PublicSingleFieldDependency
|
|
794
|
-
| Schemas.PublicConditionalSingleFieldDependency
|
|
795
|
-
)[];
|
|
796
|
-
inputFields: Schemas.PublicInputFieldDefinition[];
|
|
797
|
-
labels: Record<string, Schemas.PublicActionLabels>;
|
|
798
|
-
objectRequestOptions?: Schemas.PublicObjectRequestOptions;
|
|
799
|
-
objectTypes: string[];
|
|
800
|
-
outputFields?: Schemas.OutputFieldDefinition[];
|
|
801
|
-
published: boolean;
|
|
802
|
-
revisionId: string;
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
export interface PublicActionDefinitionEgg {
|
|
806
|
-
/**
|
|
807
|
-
* The URL endpoint where the action is executed.
|
|
808
|
-
*/
|
|
809
|
-
actionUrl: string;
|
|
810
|
-
/**
|
|
811
|
-
* The timestamp indicating when the action was archived.
|
|
812
|
-
*/
|
|
813
|
-
archivedAt?: number;
|
|
814
|
-
executionRules?: Schemas.PublicExecutionTranslationRule[];
|
|
815
|
-
functions: Schemas.PublicActionFunction[];
|
|
816
|
-
inputFieldDependencies?: (
|
|
817
|
-
| Schemas.PublicSingleFieldDependency
|
|
818
|
-
| Schemas.PublicConditionalSingleFieldDependency
|
|
819
|
-
)[];
|
|
820
|
-
inputFields: Schemas.PublicInputFieldDefinition[];
|
|
821
|
-
/**
|
|
822
|
-
* Holds various labels associated with the action, including names and descriptions.
|
|
823
|
-
*/
|
|
824
|
-
labels: Record<string, Schemas.PublicActionLabels>;
|
|
825
|
-
objectRequestOptions?: Schemas.PublicObjectRequestOptions;
|
|
826
|
-
objectTypes: string[];
|
|
827
|
-
outputFields?: Schemas.OutputFieldDefinition[];
|
|
828
|
-
/**
|
|
829
|
-
* Indicates whether the action is published and available for use.
|
|
830
|
-
*/
|
|
831
|
-
published: boolean;
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
export interface PublicActionDefinitionPatch {
|
|
835
|
-
/**
|
|
836
|
-
* The URL endpoint where the action is executed.
|
|
837
|
-
*/
|
|
838
|
-
actionUrl?: string;
|
|
839
|
-
executionRules?: Schemas.PublicExecutionTranslationRule[];
|
|
840
|
-
inputFieldDependencies?: (
|
|
841
|
-
| Schemas.PublicSingleFieldDependency
|
|
842
|
-
| Schemas.PublicConditionalSingleFieldDependency
|
|
843
|
-
)[];
|
|
844
|
-
inputFields?: Schemas.PublicInputFieldDefinition[];
|
|
845
|
-
/**
|
|
846
|
-
* Contains labels for the action, including names and descriptions.
|
|
847
|
-
*/
|
|
848
|
-
labels?: Record<string, Schemas.PublicActionLabels>;
|
|
849
|
-
objectRequestOptions?: Schemas.PublicObjectRequestOptions;
|
|
850
|
-
objectTypes?: string[];
|
|
851
|
-
outputFields?: Schemas.OutputFieldDefinition[];
|
|
852
|
-
/**
|
|
853
|
-
* Indicates whether the action is published and available for use.
|
|
854
|
-
*/
|
|
855
|
-
published?: boolean;
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
export interface PublicActionDefinitionRequiresObjectRequest {
|
|
859
|
-
/**
|
|
860
|
-
* Indicates whether a custom action definition requires an associated object.
|
|
861
|
-
*/
|
|
862
|
-
requiresObject: boolean;
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
export interface PublicActionDefinitionRequiresObjectResponse {
|
|
866
|
-
/**
|
|
867
|
-
* Indicates whether a custom action definition requires an object.
|
|
868
|
-
*/
|
|
869
|
-
requiresObject: boolean;
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
export interface PublicActionFunction {
|
|
873
|
-
/**
|
|
874
|
-
* The source code or script that defines the function's behavior.
|
|
875
|
-
*/
|
|
876
|
-
functionSource: string;
|
|
877
|
-
/**
|
|
878
|
-
* The type of function, with accepted values: POST_ACTION_EXECUTION, POST_FETCH_OPTIONS, PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS.
|
|
879
|
-
*/
|
|
880
|
-
functionType:
|
|
881
|
-
| 'POST_ACTION_EXECUTION'
|
|
882
|
-
| 'POST_FETCH_OPTIONS'
|
|
883
|
-
| 'PRE_ACTION_EXECUTION'
|
|
884
|
-
| 'PRE_FETCH_OPTIONS';
|
|
885
|
-
/**
|
|
886
|
-
* The unique identifier for the action function.
|
|
887
|
-
*/
|
|
888
|
-
id?: string;
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
export interface PublicActionFunctionIdentifier {
|
|
892
|
-
/**
|
|
893
|
-
* The type of function, with accepted values: POST_ACTION_EXECUTION, POST_FETCH_OPTIONS, PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS.
|
|
894
|
-
*/
|
|
895
|
-
functionType:
|
|
896
|
-
| 'POST_ACTION_EXECUTION'
|
|
897
|
-
| 'POST_FETCH_OPTIONS'
|
|
898
|
-
| 'PRE_ACTION_EXECUTION'
|
|
899
|
-
| 'PRE_FETCH_OPTIONS';
|
|
900
|
-
/**
|
|
901
|
-
* The unique identifier for the function.
|
|
902
|
-
*/
|
|
903
|
-
id?: string;
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
export interface PublicActionLabels {
|
|
907
|
-
/**
|
|
908
|
-
* Content displayed on the action card.
|
|
909
|
-
*/
|
|
910
|
-
actionCardContent?: string;
|
|
911
|
-
/**
|
|
912
|
-
* A description of what the action does.
|
|
913
|
-
*/
|
|
914
|
-
actionDescription?: string;
|
|
915
|
-
/**
|
|
916
|
-
* The name of the action.
|
|
917
|
-
*/
|
|
918
|
-
actionName: string;
|
|
919
|
-
/**
|
|
920
|
-
* The display name of the application associated with the action.
|
|
921
|
-
*/
|
|
922
|
-
appDisplayName?: string;
|
|
923
|
-
/**
|
|
924
|
-
* Rules that govern the execution of the action.
|
|
925
|
-
*/
|
|
926
|
-
executionRules?: Record<string, string>;
|
|
927
|
-
/**
|
|
928
|
-
* Descriptions for each input field.
|
|
929
|
-
*/
|
|
930
|
-
inputFieldDescriptions?: Record<string, string>;
|
|
931
|
-
/**
|
|
932
|
-
* Labels for the input fields.
|
|
933
|
-
*/
|
|
934
|
-
inputFieldLabels?: Record<string, string>;
|
|
935
|
-
/**
|
|
936
|
-
* Labels for the options available in input fields.
|
|
937
|
-
*/
|
|
938
|
-
inputFieldOptionLabels?: Record<string, Record<string, string>>;
|
|
939
|
-
/**
|
|
940
|
-
* Labels for the output fields.
|
|
941
|
-
*/
|
|
942
|
-
outputFieldLabels?: Record<string, string>;
|
|
943
|
-
}
|
|
944
|
-
|
|
945
|
-
export interface PublicActionRevision {
|
|
946
|
-
/**
|
|
947
|
-
* The date and time when the action revision was created.
|
|
948
|
-
*/
|
|
949
|
-
createdAt: string;
|
|
950
|
-
definition: Schemas.PublicActionDefinition;
|
|
951
|
-
/**
|
|
952
|
-
* The unique identifier for the action revision.
|
|
953
|
-
*/
|
|
954
|
-
id: string;
|
|
955
|
-
/**
|
|
956
|
-
* The unique identifier for the specific revision of the action.
|
|
957
|
-
*/
|
|
958
|
-
revisionId: string;
|
|
959
|
-
}
|
|
960
|
-
|
|
961
|
-
export interface PublicConditionalSingleFieldDependency {
|
|
962
|
-
/**
|
|
963
|
-
* The name of the field that determines the dependency.
|
|
964
|
-
*/
|
|
965
|
-
controllingFieldName: string;
|
|
966
|
-
/**
|
|
967
|
-
* The value of the controlling field that triggers the dependency.
|
|
968
|
-
*/
|
|
969
|
-
controllingFieldValue: string;
|
|
970
|
-
/**
|
|
971
|
-
* The type of dependency, with the default value being CONDITIONAL_SINGLE_FIELD.
|
|
972
|
-
*/
|
|
973
|
-
dependencyType: 'CONDITIONAL_SINGLE_FIELD';
|
|
974
|
-
dependentFieldNames: string[];
|
|
975
|
-
}
|
|
976
|
-
|
|
977
|
-
export interface PublicExecutionTranslationRule {
|
|
978
|
-
/**
|
|
979
|
-
* Defines the conditions that must be met for the execution rule to apply.
|
|
980
|
-
*/
|
|
981
|
-
conditions: Record<string, Record<string, never>>;
|
|
982
|
-
/**
|
|
983
|
-
* Specifies the name of the label associated with the execution rule.
|
|
984
|
-
*/
|
|
985
|
-
labelName: string;
|
|
986
|
-
}
|
|
987
|
-
|
|
988
|
-
export interface PublicFieldTypeDefinition {
|
|
989
|
-
/**
|
|
990
|
-
* A detailed explanation of the field's purpose.
|
|
991
|
-
*/
|
|
992
|
-
description?: string;
|
|
993
|
-
/**
|
|
994
|
-
* The type of field, with accepted values including booleancheckbox, calculation_equation, checkbox, date, file, html, number, phonenumber, radio, select, text, and textarea.
|
|
995
|
-
*/
|
|
996
|
-
fieldType?:
|
|
997
|
-
| 'booleancheckbox'
|
|
998
|
-
| 'calculation_equation'
|
|
999
|
-
| 'checkbox'
|
|
1000
|
-
| 'date'
|
|
1001
|
-
| 'file'
|
|
1002
|
-
| 'html'
|
|
1003
|
-
| 'number'
|
|
1004
|
-
| 'phonenumber'
|
|
1005
|
-
| 'radio'
|
|
1006
|
-
| 'select'
|
|
1007
|
-
| 'text'
|
|
1008
|
-
| 'textarea';
|
|
1009
|
-
/**
|
|
1010
|
-
* Additional information or guidance about the field.
|
|
1011
|
-
*/
|
|
1012
|
-
helpText?: string;
|
|
1013
|
-
/**
|
|
1014
|
-
* A user-friendly name for the field.
|
|
1015
|
-
*/
|
|
1016
|
-
label?: string;
|
|
1017
|
-
/**
|
|
1018
|
-
* The internal name used to identify the field.
|
|
1019
|
-
*/
|
|
1020
|
-
name: string;
|
|
1021
|
-
options: Schemas.PublicOption[];
|
|
1022
|
-
/**
|
|
1023
|
-
* A URL that provides options for the field.
|
|
1024
|
-
*/
|
|
1025
|
-
optionsUrl?: string;
|
|
1026
|
-
/**
|
|
1027
|
-
* The type of object that the field references, with accepted values including OWNER.
|
|
1028
|
-
*/
|
|
1029
|
-
referencedObjectType?: 'OWNER';
|
|
1030
|
-
/**
|
|
1031
|
-
* The data type of the field, with accepted values including bool, date, datetime, enumeration, json, number, object_coordinates, phone_number, and string.
|
|
1032
|
-
*/
|
|
1033
|
-
type:
|
|
1034
|
-
| 'bool'
|
|
1035
|
-
| 'date'
|
|
1036
|
-
| 'datetime'
|
|
1037
|
-
| 'enumeration'
|
|
1038
|
-
| 'json'
|
|
1039
|
-
| 'number'
|
|
1040
|
-
| 'object_coordinates'
|
|
1041
|
-
| 'phone_number'
|
|
1042
|
-
| 'string';
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1045
|
-
export interface PublicInputFieldDefinition {
|
|
1046
|
-
/**
|
|
1047
|
-
* Indicates whether the input field is mandatory.
|
|
1048
|
-
*/
|
|
1049
|
-
isRequired: boolean;
|
|
1050
|
-
supportedValueTypes?: ('OBJECT_PROPERTY' | 'STATIC_VALUE')[];
|
|
1051
|
-
typeDefinition: Schemas.PublicFieldTypeDefinition;
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
export interface PublicObjectRequestOptions {
|
|
1055
|
-
properties: string[];
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
export interface PublicOption {
|
|
1059
|
-
/**
|
|
1060
|
-
* A description of the option.
|
|
1061
|
-
*/
|
|
1062
|
-
description?: string;
|
|
1063
|
-
/**
|
|
1064
|
-
* The position of the option relative to others in the list.
|
|
1065
|
-
*/
|
|
1066
|
-
displayOrder?: number;
|
|
1067
|
-
/**
|
|
1068
|
-
* A user-friendly label that identifies the option.
|
|
1069
|
-
*/
|
|
1070
|
-
label: string;
|
|
1071
|
-
/**
|
|
1072
|
-
* The actual value of the option.
|
|
1073
|
-
*/
|
|
1074
|
-
value: string;
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
export interface PublicSingleFieldDependency {
|
|
1078
|
-
/**
|
|
1079
|
-
* The name of the field that controls the dependency.
|
|
1080
|
-
*/
|
|
1081
|
-
controllingFieldName: string;
|
|
1082
|
-
/**
|
|
1083
|
-
* The type of dependency, with the default value being 'SINGLE_FIELD'.
|
|
1084
|
-
*/
|
|
1085
|
-
dependencyType: 'SINGLE_FIELD';
|
|
1086
|
-
dependentFieldNames: string[];
|
|
1087
|
-
}
|
|
1088
|
-
|
|
1089
|
-
export interface StandaloneRequestContext {
|
|
1090
|
-
chirpAiContextObject: Schemas.ChirpAiContextObject;
|
|
1091
|
-
/**
|
|
1092
|
-
* Indicates the source of the request, with the default value being 'STANDALONE'.
|
|
1093
|
-
*/
|
|
1094
|
-
source: 'STANDALONE';
|
|
1095
|
-
/**
|
|
1096
|
-
* A unique identifier for tracking the trajectory of the request.
|
|
1097
|
-
*/
|
|
1098
|
-
trajectoryId?: string;
|
|
1099
|
-
}
|
|
1100
|
-
|
|
1101
|
-
export interface StringFieldSchema {
|
|
1102
|
-
/**
|
|
1103
|
-
* Specifies the format of the string, with accepted values: DATE, DATE_TIME, OBJECT_COORDINATE, TIME, URI.
|
|
1104
|
-
*/
|
|
1105
|
-
format?: 'DATE' | 'DATE_TIME' | 'OBJECT_COORDINATE' | 'TIME' | 'URI';
|
|
1106
|
-
/**
|
|
1107
|
-
* Indicates that the type is a string, with the default value being STRING.
|
|
1108
|
-
*/
|
|
1109
|
-
type: 'STRING';
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
|
-
export interface TestRequestContext {
|
|
1113
|
-
/**
|
|
1114
|
-
* Indicates the source of the test request, with the only accepted value being 'TEST'.
|
|
1115
|
-
*/
|
|
1116
|
-
source: 'TEST';
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
export interface WorkflowsRequestContext {
|
|
1120
|
-
actionExecutionIndexIdentifier?: Schemas.ActionExecutionIndexIdentifier;
|
|
1121
|
-
/**
|
|
1122
|
-
* The ID of the action within the workflow context.
|
|
1123
|
-
*/
|
|
1124
|
-
actionId?: number;
|
|
1125
|
-
/**
|
|
1126
|
-
* Indicates the source of the request, with the default value being WORKFLOWS.
|
|
1127
|
-
*/
|
|
1128
|
-
source: 'WORKFLOWS';
|
|
1129
|
-
/**
|
|
1130
|
-
* The ID of the workflow associated with the request context.
|
|
1131
|
-
*/
|
|
1132
|
-
workflowId: number;
|
|
1133
|
-
}
|
|
5
|
+
export namespace AutomationActionsSchemas {
|
|
6
|
+
export interface ActionExecutionIndexIdentifier {
|
|
7
|
+
/**
|
|
8
|
+
* The index number representing the execution order of the action.
|
|
9
|
+
*/
|
|
10
|
+
actionExecutionIndex: number;
|
|
11
|
+
/**
|
|
12
|
+
* The ID associated with the enrollment process.
|
|
13
|
+
*/
|
|
14
|
+
enrollmentId: number;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface AgentRequestContext {
|
|
18
|
+
/**
|
|
19
|
+
* The unique identifier for the agent making the request.
|
|
20
|
+
*/
|
|
21
|
+
agentId: number;
|
|
22
|
+
chirpAiContextObject: ChirpAiContextObject;
|
|
23
|
+
/**
|
|
24
|
+
* Indicates the source of the request, with the default value being 'AGENTS'.
|
|
25
|
+
*/
|
|
26
|
+
source: 'AGENTS';
|
|
27
|
+
/**
|
|
28
|
+
* The unique identifier for the trajectory associated with the agent request.
|
|
29
|
+
*/
|
|
30
|
+
trajectoryId?: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface ArrayFieldSchema {
|
|
34
|
+
/**
|
|
35
|
+
* Defines the type of elements contained within the array, which can be an integer, long, double, string, boolean, another array, or an object.
|
|
36
|
+
*/
|
|
37
|
+
items:
|
|
38
|
+
| IntegerFieldSchema
|
|
39
|
+
| LongFieldSchema
|
|
40
|
+
| DoubleFieldSchema
|
|
41
|
+
| StringFieldSchema
|
|
42
|
+
| BooleanFieldSchema
|
|
43
|
+
| ArrayFieldSchema
|
|
44
|
+
| ObjectFieldSchema;
|
|
45
|
+
/**
|
|
46
|
+
* Specifies that the field is of type 'ARRAY'.
|
|
47
|
+
*/
|
|
48
|
+
type: 'ARRAY';
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface BatchInputCallbackCompletionBatchRequest {
|
|
52
|
+
inputs: CallbackCompletionBatchRequest[];
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface BooleanFieldSchema {
|
|
56
|
+
/**
|
|
57
|
+
* Specifies the field type as BOOLEAN, indicating that the field can hold a true or false value.
|
|
58
|
+
*/
|
|
59
|
+
type: 'BOOLEAN';
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export interface CallbackCompletionBatchRequest {
|
|
63
|
+
/**
|
|
64
|
+
* The unique identifier for the callback.
|
|
65
|
+
*/
|
|
66
|
+
callbackId: string;
|
|
67
|
+
/**
|
|
68
|
+
* Specifies the type of failure reason for the callback completion.
|
|
69
|
+
*/
|
|
70
|
+
failureReasonType?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Holds the output fields for the callback completion.
|
|
73
|
+
*/
|
|
74
|
+
outputFields: Record<string, string>;
|
|
75
|
+
/**
|
|
76
|
+
* Defines the context of the request, which can be one of several predefined types.
|
|
77
|
+
*/
|
|
78
|
+
requestContext?:
|
|
79
|
+
| WorkflowsRequestContext
|
|
80
|
+
| AgentRequestContext
|
|
81
|
+
| CopilotRequestContext
|
|
82
|
+
| StandaloneRequestContext
|
|
83
|
+
| TestRequestContext;
|
|
84
|
+
/**
|
|
85
|
+
* Contains the typed outputs for the callback completion.
|
|
86
|
+
*/
|
|
87
|
+
typedOutputs: Record<string, never>;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export interface CallbackCompletionRequest {
|
|
91
|
+
/**
|
|
92
|
+
* Indicates the reason for the failure of a callback completion.
|
|
93
|
+
*/
|
|
94
|
+
failureReasonType?: string;
|
|
95
|
+
/**
|
|
96
|
+
* Contains the output fields associated with the callback, with each field represented as a key-value pair.
|
|
97
|
+
*/
|
|
98
|
+
outputFields: Record<string, string>;
|
|
99
|
+
/**
|
|
100
|
+
* Specifies the context in which the request is made, which can be one of several predefined contexts.
|
|
101
|
+
*/
|
|
102
|
+
requestContext?:
|
|
103
|
+
| WorkflowsRequestContext
|
|
104
|
+
| AgentRequestContext
|
|
105
|
+
| CopilotRequestContext
|
|
106
|
+
| StandaloneRequestContext
|
|
107
|
+
| TestRequestContext;
|
|
108
|
+
/**
|
|
109
|
+
* Holds the typed outputs related to the callback, structured as an object.
|
|
110
|
+
*/
|
|
111
|
+
typedOutputs: Record<string, never>;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export interface ChirpAiContextObject {
|
|
115
|
+
/**
|
|
116
|
+
* The group to which the application belongs.
|
|
117
|
+
*/
|
|
118
|
+
applicationGroup: string;
|
|
119
|
+
/**
|
|
120
|
+
* The identifier for the application associated with the context.
|
|
121
|
+
*/
|
|
122
|
+
applicationId: string;
|
|
123
|
+
complianceIds?: ComplianceIds;
|
|
124
|
+
conversationId?: string;
|
|
125
|
+
/**
|
|
126
|
+
* The identifier for the feature associated with the context.
|
|
127
|
+
*/
|
|
128
|
+
featureId?: string;
|
|
129
|
+
/**
|
|
130
|
+
* The identifier for the inference associated with the context.
|
|
131
|
+
*/
|
|
132
|
+
inferenceId?: string;
|
|
133
|
+
isPrivate: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* Additional metadata related to the context, represented as key-value pairs.
|
|
136
|
+
*/
|
|
137
|
+
metadata: Record<string, string>;
|
|
138
|
+
/**
|
|
139
|
+
* Holds OpenTelemetry context information as key-value pairs.
|
|
140
|
+
*/
|
|
141
|
+
otelContextHolder: Record<string, string>;
|
|
142
|
+
/**
|
|
143
|
+
* The identifier for the trajectory, formatted as a UUID.
|
|
144
|
+
*/
|
|
145
|
+
trajectoryId?: string;
|
|
146
|
+
unstructuredSources: (
|
|
147
|
+
| 'AUDIO_CALL'
|
|
148
|
+
| 'CALL_TRANSCRIPT'
|
|
149
|
+
| 'CHAT'
|
|
150
|
+
| 'CUSTOM_CHANNEL_OR_API'
|
|
151
|
+
| 'DERIVED'
|
|
152
|
+
| 'FACEBOOK_MESSENGER'
|
|
153
|
+
| 'FEEDBACK_SURVEY'
|
|
154
|
+
| 'FORMS'
|
|
155
|
+
| 'INVOICE'
|
|
156
|
+
| 'LOGGED_EMAIL'
|
|
157
|
+
| 'MANY'
|
|
158
|
+
| 'MEETING_TRANSCRIPT'
|
|
159
|
+
| 'NONE'
|
|
160
|
+
| 'NOTE'
|
|
161
|
+
| 'OTHER_ATTACHMENT_DOC'
|
|
162
|
+
| 'PDF'
|
|
163
|
+
| 'QUOTE'
|
|
164
|
+
| 'SMS'
|
|
165
|
+
| 'USER_INPUT'
|
|
166
|
+
| 'VIDEO_CALL'
|
|
167
|
+
| 'WHATSAPP'
|
|
168
|
+
)[];
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export interface CollectionResponsePublicActionDefinitionForwardPaging {
|
|
172
|
+
paging?: ForwardPaging;
|
|
173
|
+
results: PublicActionDefinition[];
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export interface CollectionResponsePublicActionFunctionIdentifierNoPaging {
|
|
177
|
+
results: PublicActionFunctionIdentifier[];
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export interface CollectionResponsePublicActionRevisionForwardPaging {
|
|
181
|
+
paging?: ForwardPaging;
|
|
182
|
+
results: PublicActionRevision[];
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export interface ComplianceIds {
|
|
186
|
+
contactIds: ContactId[];
|
|
187
|
+
/**
|
|
188
|
+
* The reason why no contact ID is available.
|
|
189
|
+
*/
|
|
190
|
+
noContactIdReason?: string;
|
|
191
|
+
/**
|
|
192
|
+
* The reason why no portal ID is available.
|
|
193
|
+
*/
|
|
194
|
+
noPortalIdReason?: string;
|
|
195
|
+
/**
|
|
196
|
+
* The reason why no user ID is available.
|
|
197
|
+
*/
|
|
198
|
+
noUserIdReason?: string;
|
|
199
|
+
portalIds: number[];
|
|
200
|
+
userIds: number[];
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export interface ContactId {
|
|
204
|
+
/**
|
|
205
|
+
* The email address of the contact.
|
|
206
|
+
*/
|
|
207
|
+
email?: string;
|
|
208
|
+
/**
|
|
209
|
+
* The ID of the portal associated with the contact.
|
|
210
|
+
*/
|
|
211
|
+
portalId: number;
|
|
212
|
+
/**
|
|
213
|
+
* The unique identifier for the contact.
|
|
214
|
+
*/
|
|
215
|
+
vid?: number;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export interface CopilotRequestContext {
|
|
219
|
+
/**
|
|
220
|
+
* Indicates the source of the request, with the default value being 'COPILOT'.
|
|
221
|
+
*/
|
|
222
|
+
source: 'COPILOT';
|
|
223
|
+
/**
|
|
224
|
+
* The unique identifier for the trajectory.
|
|
225
|
+
*/
|
|
226
|
+
trajectoryId?: string;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
export interface DoubleFieldSchema {
|
|
230
|
+
/**
|
|
231
|
+
* The maximum allowable value for the double field.
|
|
232
|
+
*/
|
|
233
|
+
maximum?: number;
|
|
234
|
+
/**
|
|
235
|
+
* The minimum allowable value for the double field.
|
|
236
|
+
*/
|
|
237
|
+
minimum?: number;
|
|
238
|
+
/**
|
|
239
|
+
* Indicates the field type as DOUBLE.
|
|
240
|
+
*/
|
|
241
|
+
type: 'DOUBLE';
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export interface FieldTypeDefinition {
|
|
245
|
+
/**
|
|
246
|
+
* A detailed explanation of the field's purpose and usage.
|
|
247
|
+
*/
|
|
248
|
+
description?: string;
|
|
249
|
+
/**
|
|
250
|
+
* Indicates whether the field's options are sourced externally.
|
|
251
|
+
*/
|
|
252
|
+
externalOptions: boolean;
|
|
253
|
+
/**
|
|
254
|
+
* Specifies the type of external reference for options.
|
|
255
|
+
*/
|
|
256
|
+
externalOptionsReferenceType?: string;
|
|
257
|
+
/**
|
|
258
|
+
* Describes the field's type in the UI, with accepted values like booleancheckbox, calculation_equation, checkbox, date, file, html, number, phonenumber, radio, select, text, textarea, unknown.
|
|
259
|
+
*/
|
|
260
|
+
fieldType?:
|
|
261
|
+
| 'booleancheckbox'
|
|
262
|
+
| 'calculation_equation'
|
|
263
|
+
| 'calculation_read_time'
|
|
264
|
+
| 'calculation_rollup'
|
|
265
|
+
| 'calculation_score'
|
|
266
|
+
| 'checkbox'
|
|
267
|
+
| 'date'
|
|
268
|
+
| 'file'
|
|
269
|
+
| 'html'
|
|
270
|
+
| 'number'
|
|
271
|
+
| 'phonenumber'
|
|
272
|
+
| 'radio'
|
|
273
|
+
| 'select'
|
|
274
|
+
| 'text'
|
|
275
|
+
| 'textarea'
|
|
276
|
+
| 'unknown';
|
|
277
|
+
/**
|
|
278
|
+
* Additional information or guidance about the field.
|
|
279
|
+
*/
|
|
280
|
+
helpText?: string;
|
|
281
|
+
/**
|
|
282
|
+
* The user-friendly label for the field.
|
|
283
|
+
*/
|
|
284
|
+
label?: string;
|
|
285
|
+
/**
|
|
286
|
+
* The unique identifier for the field.
|
|
287
|
+
*/
|
|
288
|
+
name: string;
|
|
289
|
+
options: Option[];
|
|
290
|
+
/**
|
|
291
|
+
* A URL that provides options for the field.
|
|
292
|
+
*/
|
|
293
|
+
optionsUrl?: string;
|
|
294
|
+
/**
|
|
295
|
+
* Indicates the type of object that the field references, with accepted values like OWNER.
|
|
296
|
+
*/
|
|
297
|
+
referencedObjectType?:
|
|
298
|
+
| 'ABANDONED_CART'
|
|
299
|
+
| 'ACCEPTANCE_TEST'
|
|
300
|
+
| 'AD'
|
|
301
|
+
| 'AD_ACCOUNT'
|
|
302
|
+
| 'AD_CAMPAIGN'
|
|
303
|
+
| 'AD_GROUP'
|
|
304
|
+
| 'AI_FORECAST'
|
|
305
|
+
| 'ALL_PAGES'
|
|
306
|
+
| 'APPROVAL'
|
|
307
|
+
| 'APPROVAL_STEP'
|
|
308
|
+
| 'ATTRIBUTION'
|
|
309
|
+
| 'AUDIENCE'
|
|
310
|
+
| 'AUTOMATION_JOURNEY'
|
|
311
|
+
| 'AUTOMATION_PLATFORM_FLOW'
|
|
312
|
+
| 'AUTOMATION_PLATFORM_FLOW_ACTION'
|
|
313
|
+
| 'BET_ALERT'
|
|
314
|
+
| 'BET_DELIVERABLE_SERVICE'
|
|
315
|
+
| 'BLOG_LISTING_PAGE'
|
|
316
|
+
| 'BLOG_POST'
|
|
317
|
+
| 'CALL'
|
|
318
|
+
| 'CAMPAIGN'
|
|
319
|
+
| 'CAMPAIGN_BUDGET_ITEM'
|
|
320
|
+
| 'CAMPAIGN_SPEND_ITEM'
|
|
321
|
+
| 'CAMPAIGN_STEP'
|
|
322
|
+
| 'CAMPAIGN_TEMPLATE'
|
|
323
|
+
| 'CAMPAIGN_TEMPLATE_STEP'
|
|
324
|
+
| 'CART'
|
|
325
|
+
| 'CASE_STUDY'
|
|
326
|
+
| 'CHATFLOW'
|
|
327
|
+
| 'CLIP'
|
|
328
|
+
| 'CMS_URL'
|
|
329
|
+
| 'COMBO_EVENT_CONFIGURATION'
|
|
330
|
+
| 'COMMERCE_PAYMENT'
|
|
331
|
+
| 'COMMUNICATION'
|
|
332
|
+
| 'COMPANY'
|
|
333
|
+
| 'CONTACT'
|
|
334
|
+
| 'CONTACT_CREATE_ATTRIBUTION'
|
|
335
|
+
| 'CONTENT'
|
|
336
|
+
| 'CONTENT_AUDIT'
|
|
337
|
+
| 'CONTENT_AUDIT_PAGE'
|
|
338
|
+
| 'CONVERSATION'
|
|
339
|
+
| 'CONVERSATION_INBOX'
|
|
340
|
+
| 'CONVERSATION_SESSION'
|
|
341
|
+
| 'CRM_OBJECTS_DUMMY_TYPE'
|
|
342
|
+
| 'CRM_PIPELINES_DUMMY_TYPE'
|
|
343
|
+
| 'CTA'
|
|
344
|
+
| 'CTA_VARIANT'
|
|
345
|
+
| 'DATA_PRIVACY_CONSENT'
|
|
346
|
+
| 'DATA_SYNC_STATE'
|
|
347
|
+
| 'DEAL'
|
|
348
|
+
| 'DEAL_CREATE_ATTRIBUTION'
|
|
349
|
+
| 'DEAL_REGISTRATION'
|
|
350
|
+
| 'DEAL_SPLIT'
|
|
351
|
+
| 'DISCOUNT'
|
|
352
|
+
| 'DISCOUNT_CODE'
|
|
353
|
+
| 'DISCOUNT_TEMPLATE'
|
|
354
|
+
| 'EMAIL'
|
|
355
|
+
| 'ENGAGEMENT'
|
|
356
|
+
| 'EXPORT'
|
|
357
|
+
| 'EXTERNAL_WEB_URL'
|
|
358
|
+
| 'FEE'
|
|
359
|
+
| 'FEEDBACK_SUBMISSION'
|
|
360
|
+
| 'FEEDBACK_SURVEY'
|
|
361
|
+
| 'FILE_MANAGER_FILE'
|
|
362
|
+
| 'FILE_MANAGER_FOLDER'
|
|
363
|
+
| 'FOLDER'
|
|
364
|
+
| 'FORECAST'
|
|
365
|
+
| 'FORM'
|
|
366
|
+
| 'FORM_SUBMISSION_INBOUNDDB'
|
|
367
|
+
| 'GOAL_TARGET'
|
|
368
|
+
| 'GOAL_TARGET_GROUP'
|
|
369
|
+
| 'GOAL_TEMPLATE'
|
|
370
|
+
| 'GSC_PROPERTY'
|
|
371
|
+
| 'HUB'
|
|
372
|
+
| 'IMPORT'
|
|
373
|
+
| 'INVOICE'
|
|
374
|
+
| 'KEYWORD'
|
|
375
|
+
| 'KNOWLEDGE_ARTICLE'
|
|
376
|
+
| 'LANDING_PAGE'
|
|
377
|
+
| 'LEAD'
|
|
378
|
+
| 'LINE_ITEM'
|
|
379
|
+
| 'MARKETING_CALENDAR'
|
|
380
|
+
| 'MARKETING_CAMPAIGN_UTM'
|
|
381
|
+
| 'MARKETING_EMAIL'
|
|
382
|
+
| 'MARKETING_EVENT'
|
|
383
|
+
| 'MARKETING_EVENT_ATTENDANCE'
|
|
384
|
+
| 'MARKETING_SMS'
|
|
385
|
+
| 'MEDIA_BRIDGE'
|
|
386
|
+
| 'MEETING_EVENT'
|
|
387
|
+
| 'MIC'
|
|
388
|
+
| 'NOTE'
|
|
389
|
+
| 'OBJECT_LIST'
|
|
390
|
+
| 'ORDER'
|
|
391
|
+
| 'OWNER'
|
|
392
|
+
| 'PARTNER_ACCOUNT'
|
|
393
|
+
| 'PARTNER_CLIENT'
|
|
394
|
+
| 'PARTNER_CLIENT_REVENUE'
|
|
395
|
+
| 'PARTNER_SERVICE'
|
|
396
|
+
| 'PAYMENT_LINK'
|
|
397
|
+
| 'PAYMENT_SCHEDULE'
|
|
398
|
+
| 'PAYMENT_SCHEDULE_INSTALLMENT'
|
|
399
|
+
| 'PERMISSIONS_TESTING'
|
|
400
|
+
| 'PLAYBOOK'
|
|
401
|
+
| 'PLAYBOOK_QUESTION'
|
|
402
|
+
| 'PLAYBOOK_SUBMISSION'
|
|
403
|
+
| 'PLAYBOOK_SUBMISSION_ANSWER'
|
|
404
|
+
| 'PLAYLIST'
|
|
405
|
+
| 'PLAYLIST_FOLDER'
|
|
406
|
+
| 'PODCAST_EPISODE'
|
|
407
|
+
| 'PORTAL'
|
|
408
|
+
| 'PORTAL_OBJECT_SYNC_MESSAGE'
|
|
409
|
+
| 'POSTAL_MAIL'
|
|
410
|
+
| 'PRIVACY_SCANNER_COOKIE'
|
|
411
|
+
| 'PRODUCT'
|
|
412
|
+
| 'PRODUCT_OR_FOLDER'
|
|
413
|
+
| 'PROPERTY_INFO'
|
|
414
|
+
| 'PROSPECTING_AGENT_CONTACT_ASSIGNMENT'
|
|
415
|
+
| 'PUBLISHING_TASK'
|
|
416
|
+
| 'QUARANTINED_SUBMISSION'
|
|
417
|
+
| 'QUOTA'
|
|
418
|
+
| 'QUOTE'
|
|
419
|
+
| 'QUOTE_FIELD'
|
|
420
|
+
| 'QUOTE_MODULE'
|
|
421
|
+
| 'QUOTE_MODULE_FIELD'
|
|
422
|
+
| 'QUOTE_TEMPLATE'
|
|
423
|
+
| 'RESTORABLE_CRM_OBJECT'
|
|
424
|
+
| 'ROSTER'
|
|
425
|
+
| 'ROSTER_MEMBER'
|
|
426
|
+
| 'SALES_DOCUMENT'
|
|
427
|
+
| 'SALES_TASK'
|
|
428
|
+
| 'SALES_WORKLOAD'
|
|
429
|
+
| 'SALESFORCE_SYNC_ERROR'
|
|
430
|
+
| 'SCHEDULING_PAGE'
|
|
431
|
+
| 'SCHEMAS_BACKEND_TEST'
|
|
432
|
+
| 'SCORE_CONFIGURATION'
|
|
433
|
+
| 'SEQUENCE'
|
|
434
|
+
| 'SEQUENCE_ENROLLMENT'
|
|
435
|
+
| 'SEQUENCE_STEP'
|
|
436
|
+
| 'SEQUENCE_STEP_ENROLLMENT'
|
|
437
|
+
| 'SERVICE'
|
|
438
|
+
| 'SITE_PAGE'
|
|
439
|
+
| 'SNIPPET'
|
|
440
|
+
| 'SOCIAL_BROADCAST'
|
|
441
|
+
| 'SOCIAL_CHANNEL'
|
|
442
|
+
| 'SOCIAL_POST'
|
|
443
|
+
| 'SOCIAL_PROFILE'
|
|
444
|
+
| 'SOX_PROTECTED_DUMMY_TYPE'
|
|
445
|
+
| 'SOX_PROTECTED_TEST_TYPE'
|
|
446
|
+
| 'SUBMISSION_TAG'
|
|
447
|
+
| 'SUBSCRIPTION'
|
|
448
|
+
| 'TASK'
|
|
449
|
+
| 'TASK_TEMPLATE'
|
|
450
|
+
| 'TAX'
|
|
451
|
+
| 'TEMPLATE'
|
|
452
|
+
| 'TICKET'
|
|
453
|
+
| 'UNKNOWN'
|
|
454
|
+
| 'UNSUBSCRIBE'
|
|
455
|
+
| 'USER'
|
|
456
|
+
| 'VIEW'
|
|
457
|
+
| 'VIEW_BLOCK'
|
|
458
|
+
| 'WEB_INTERACTIVE';
|
|
459
|
+
/**
|
|
460
|
+
* Defines the structure and constraints of the field.
|
|
461
|
+
*/
|
|
462
|
+
schema:
|
|
463
|
+
| IntegerFieldSchema
|
|
464
|
+
| LongFieldSchema
|
|
465
|
+
| DoubleFieldSchema
|
|
466
|
+
| StringFieldSchema
|
|
467
|
+
| BooleanFieldSchema
|
|
468
|
+
| ArrayFieldSchema
|
|
469
|
+
| ObjectFieldSchema;
|
|
470
|
+
/**
|
|
471
|
+
* Specifies the data type of the field, with accepted values like bool, date, datetime, enumeration, json, number, object_coordinates, phone_number, string.
|
|
472
|
+
*/
|
|
473
|
+
type:
|
|
474
|
+
| 'bool'
|
|
475
|
+
| 'currency_number'
|
|
476
|
+
| 'date'
|
|
477
|
+
| 'datetime'
|
|
478
|
+
| 'enumeration'
|
|
479
|
+
| 'json'
|
|
480
|
+
| 'number'
|
|
481
|
+
| 'object_coordinates'
|
|
482
|
+
| 'phone_number'
|
|
483
|
+
| 'string';
|
|
484
|
+
/**
|
|
485
|
+
* Specifies whether the field uses the Chirp feature.
|
|
486
|
+
*/
|
|
487
|
+
useChirp: boolean;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
export interface ForwardPaging {
|
|
491
|
+
next?: NextPage;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export interface IntegerFieldSchema {
|
|
495
|
+
/**
|
|
496
|
+
* The maximum value allowed for the integer field.
|
|
497
|
+
*/
|
|
498
|
+
maximum?: number;
|
|
499
|
+
/**
|
|
500
|
+
* The minimum value allowed for the integer field.
|
|
501
|
+
*/
|
|
502
|
+
minimum?: number;
|
|
503
|
+
/**
|
|
504
|
+
* The type of the field, which is set to INTEGER.
|
|
505
|
+
*/
|
|
506
|
+
type: 'INTEGER';
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export interface LongFieldSchema {
|
|
510
|
+
/**
|
|
511
|
+
* The maximum value allowed for the long field.
|
|
512
|
+
*/
|
|
513
|
+
maximum?: number;
|
|
514
|
+
/**
|
|
515
|
+
* The minimum value allowed for the long field.
|
|
516
|
+
*/
|
|
517
|
+
minimum?: number;
|
|
518
|
+
/**
|
|
519
|
+
* The type of the field, which is LONG by default.
|
|
520
|
+
*/
|
|
521
|
+
type: 'LONG';
|
|
1134
522
|
}
|
|
1135
523
|
|
|
524
|
+
/**
|
|
525
|
+
* Specifies the paging information needed to retrieve the next set of results in a paginated API response
|
|
526
|
+
*/
|
|
527
|
+
export interface NextPage {
|
|
528
|
+
/**
|
|
529
|
+
* A paging cursor token for retrieving subsequent pages.
|
|
530
|
+
*/
|
|
531
|
+
after: string;
|
|
532
|
+
/**
|
|
533
|
+
* A URL that can be used to retrieve the next page results.
|
|
534
|
+
*/
|
|
535
|
+
link?: string;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
export interface ObjectFieldSchema {
|
|
539
|
+
/**
|
|
540
|
+
* Contains the properties of the object.
|
|
541
|
+
*/
|
|
542
|
+
properties: Record<string, never>;
|
|
543
|
+
/**
|
|
544
|
+
* Specifies the type of the field, which is 'OBJECT' by default.
|
|
545
|
+
*/
|
|
546
|
+
type: 'OBJECT';
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* A HubSpot property option
|
|
551
|
+
*/
|
|
552
|
+
export interface Option {
|
|
553
|
+
/**
|
|
554
|
+
* A description of the option.
|
|
555
|
+
*/
|
|
556
|
+
description: string;
|
|
557
|
+
/**
|
|
558
|
+
* The position of the item relative to others in the list.
|
|
559
|
+
*/
|
|
560
|
+
displayOrder: number;
|
|
561
|
+
/**
|
|
562
|
+
* A numerical value associated with the option.
|
|
563
|
+
*/
|
|
564
|
+
doubleData: number;
|
|
565
|
+
/**
|
|
566
|
+
* Whether the option is displayed in HubSpot's UI.
|
|
567
|
+
*/
|
|
568
|
+
hidden: boolean;
|
|
569
|
+
/**
|
|
570
|
+
* A user-friendly label that identifies the option.
|
|
571
|
+
*/
|
|
572
|
+
label: string;
|
|
573
|
+
/**
|
|
574
|
+
* Whether the option is read-only.
|
|
575
|
+
*/
|
|
576
|
+
readOnly: boolean;
|
|
577
|
+
/**
|
|
578
|
+
* The actual value of the option.
|
|
579
|
+
*/
|
|
580
|
+
value: string;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
export interface OutputFieldDefinition {
|
|
584
|
+
typeDefinition: FieldTypeDefinition;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
export interface PublicActionDefinition {
|
|
588
|
+
actionUrl: string;
|
|
589
|
+
archivedAt?: number;
|
|
590
|
+
executionRules?: PublicExecutionTranslationRule[];
|
|
591
|
+
functions: PublicActionFunctionIdentifier[];
|
|
592
|
+
id: string;
|
|
593
|
+
inputFieldDependencies?: (
|
|
594
|
+
| PublicSingleFieldDependency
|
|
595
|
+
| PublicConditionalSingleFieldDependency
|
|
596
|
+
)[];
|
|
597
|
+
inputFields: PublicInputFieldDefinition[];
|
|
598
|
+
labels: Record<string, PublicActionLabels>;
|
|
599
|
+
objectRequestOptions?: PublicObjectRequestOptions;
|
|
600
|
+
objectTypes: string[];
|
|
601
|
+
outputFields?: OutputFieldDefinition[];
|
|
602
|
+
published: boolean;
|
|
603
|
+
revisionId: string;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export interface PublicActionDefinitionEgg {
|
|
607
|
+
/**
|
|
608
|
+
* The URL endpoint where the action is executed.
|
|
609
|
+
*/
|
|
610
|
+
actionUrl: string;
|
|
611
|
+
/**
|
|
612
|
+
* The timestamp indicating when the action was archived.
|
|
613
|
+
*/
|
|
614
|
+
archivedAt?: number;
|
|
615
|
+
executionRules?: PublicExecutionTranslationRule[];
|
|
616
|
+
functions: PublicActionFunction[];
|
|
617
|
+
inputFieldDependencies?: (
|
|
618
|
+
| PublicSingleFieldDependency
|
|
619
|
+
| PublicConditionalSingleFieldDependency
|
|
620
|
+
)[];
|
|
621
|
+
inputFields: PublicInputFieldDefinition[];
|
|
622
|
+
/**
|
|
623
|
+
* Holds various labels associated with the action, including names and descriptions.
|
|
624
|
+
*/
|
|
625
|
+
labels: Record<string, PublicActionLabels>;
|
|
626
|
+
objectRequestOptions?: PublicObjectRequestOptions;
|
|
627
|
+
objectTypes: string[];
|
|
628
|
+
outputFields?: OutputFieldDefinition[];
|
|
629
|
+
/**
|
|
630
|
+
* Indicates whether the action is published and available for use.
|
|
631
|
+
*/
|
|
632
|
+
published: boolean;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
export interface PublicActionDefinitionPatch {
|
|
636
|
+
/**
|
|
637
|
+
* The URL endpoint where the action is executed.
|
|
638
|
+
*/
|
|
639
|
+
actionUrl?: string;
|
|
640
|
+
executionRules?: PublicExecutionTranslationRule[];
|
|
641
|
+
inputFieldDependencies?: (
|
|
642
|
+
| PublicSingleFieldDependency
|
|
643
|
+
| PublicConditionalSingleFieldDependency
|
|
644
|
+
)[];
|
|
645
|
+
inputFields?: PublicInputFieldDefinition[];
|
|
646
|
+
/**
|
|
647
|
+
* Contains labels for the action, including names and descriptions.
|
|
648
|
+
*/
|
|
649
|
+
labels?: Record<string, PublicActionLabels>;
|
|
650
|
+
objectRequestOptions?: PublicObjectRequestOptions;
|
|
651
|
+
objectTypes?: string[];
|
|
652
|
+
outputFields?: OutputFieldDefinition[];
|
|
653
|
+
/**
|
|
654
|
+
* Indicates whether the action is published and available for use.
|
|
655
|
+
*/
|
|
656
|
+
published?: boolean;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
export interface PublicActionDefinitionRequiresObjectRequest {
|
|
660
|
+
/**
|
|
661
|
+
* Indicates whether a custom action definition requires an associated object.
|
|
662
|
+
*/
|
|
663
|
+
requiresObject: boolean;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
export interface PublicActionDefinitionRequiresObjectResponse {
|
|
667
|
+
/**
|
|
668
|
+
* Indicates whether a custom action definition requires an object.
|
|
669
|
+
*/
|
|
670
|
+
requiresObject: boolean;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
export interface PublicActionFunction {
|
|
674
|
+
/**
|
|
675
|
+
* The source code or script that defines the function's behavior.
|
|
676
|
+
*/
|
|
677
|
+
functionSource: string;
|
|
678
|
+
/**
|
|
679
|
+
* The type of function, with accepted values: POST_ACTION_EXECUTION, POST_FETCH_OPTIONS, PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS.
|
|
680
|
+
*/
|
|
681
|
+
functionType:
|
|
682
|
+
| 'POST_ACTION_EXECUTION'
|
|
683
|
+
| 'POST_FETCH_OPTIONS'
|
|
684
|
+
| 'PRE_ACTION_EXECUTION'
|
|
685
|
+
| 'PRE_FETCH_OPTIONS';
|
|
686
|
+
/**
|
|
687
|
+
* The unique identifier for the action function.
|
|
688
|
+
*/
|
|
689
|
+
id?: string;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
export interface PublicActionFunctionIdentifier {
|
|
693
|
+
/**
|
|
694
|
+
* The type of function, with accepted values: POST_ACTION_EXECUTION, POST_FETCH_OPTIONS, PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS.
|
|
695
|
+
*/
|
|
696
|
+
functionType:
|
|
697
|
+
| 'POST_ACTION_EXECUTION'
|
|
698
|
+
| 'POST_FETCH_OPTIONS'
|
|
699
|
+
| 'PRE_ACTION_EXECUTION'
|
|
700
|
+
| 'PRE_FETCH_OPTIONS';
|
|
701
|
+
/**
|
|
702
|
+
* The unique identifier for the function.
|
|
703
|
+
*/
|
|
704
|
+
id?: string;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
export interface PublicActionLabels {
|
|
708
|
+
/**
|
|
709
|
+
* Content displayed on the action card.
|
|
710
|
+
*/
|
|
711
|
+
actionCardContent?: string;
|
|
712
|
+
/**
|
|
713
|
+
* A description of what the action does.
|
|
714
|
+
*/
|
|
715
|
+
actionDescription?: string;
|
|
716
|
+
/**
|
|
717
|
+
* The name of the action.
|
|
718
|
+
*/
|
|
719
|
+
actionName: string;
|
|
720
|
+
/**
|
|
721
|
+
* The display name of the application associated with the action.
|
|
722
|
+
*/
|
|
723
|
+
appDisplayName?: string;
|
|
724
|
+
/**
|
|
725
|
+
* Rules that govern the execution of the action.
|
|
726
|
+
*/
|
|
727
|
+
executionRules?: Record<string, string>;
|
|
728
|
+
/**
|
|
729
|
+
* Descriptions for each input field.
|
|
730
|
+
*/
|
|
731
|
+
inputFieldDescriptions?: Record<string, string>;
|
|
732
|
+
/**
|
|
733
|
+
* Labels for the input fields.
|
|
734
|
+
*/
|
|
735
|
+
inputFieldLabels?: Record<string, string>;
|
|
736
|
+
/**
|
|
737
|
+
* Labels for the options available in input fields.
|
|
738
|
+
*/
|
|
739
|
+
inputFieldOptionLabels?: Record<string, Record<string, string>>;
|
|
740
|
+
/**
|
|
741
|
+
* Labels for the output fields.
|
|
742
|
+
*/
|
|
743
|
+
outputFieldLabels?: Record<string, string>;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
export interface PublicActionRevision {
|
|
747
|
+
/**
|
|
748
|
+
* The date and time when the action revision was created.
|
|
749
|
+
*/
|
|
750
|
+
createdAt: string;
|
|
751
|
+
definition: PublicActionDefinition;
|
|
752
|
+
/**
|
|
753
|
+
* The unique identifier for the action revision.
|
|
754
|
+
*/
|
|
755
|
+
id: string;
|
|
756
|
+
/**
|
|
757
|
+
* The unique identifier for the specific revision of the action.
|
|
758
|
+
*/
|
|
759
|
+
revisionId: string;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
export interface PublicConditionalSingleFieldDependency {
|
|
763
|
+
/**
|
|
764
|
+
* The name of the field that determines the dependency.
|
|
765
|
+
*/
|
|
766
|
+
controllingFieldName: string;
|
|
767
|
+
/**
|
|
768
|
+
* The value of the controlling field that triggers the dependency.
|
|
769
|
+
*/
|
|
770
|
+
controllingFieldValue: string;
|
|
771
|
+
/**
|
|
772
|
+
* The type of dependency, with the default value being CONDITIONAL_SINGLE_FIELD.
|
|
773
|
+
*/
|
|
774
|
+
dependencyType: 'CONDITIONAL_SINGLE_FIELD';
|
|
775
|
+
dependentFieldNames: string[];
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
export interface PublicExecutionTranslationRule {
|
|
779
|
+
/**
|
|
780
|
+
* Defines the conditions that must be met for the execution rule to apply.
|
|
781
|
+
*/
|
|
782
|
+
conditions: Record<string, Record<string, never>>;
|
|
783
|
+
/**
|
|
784
|
+
* Specifies the name of the label associated with the execution rule.
|
|
785
|
+
*/
|
|
786
|
+
labelName: string;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
export interface PublicFieldTypeDefinition {
|
|
790
|
+
/**
|
|
791
|
+
* A detailed explanation of the field's purpose.
|
|
792
|
+
*/
|
|
793
|
+
description?: string;
|
|
794
|
+
/**
|
|
795
|
+
* The type of field, with accepted values including booleancheckbox, calculation_equation, checkbox, date, file, html, number, phonenumber, radio, select, text, and textarea.
|
|
796
|
+
*/
|
|
797
|
+
fieldType?:
|
|
798
|
+
| 'booleancheckbox'
|
|
799
|
+
| 'calculation_equation'
|
|
800
|
+
| 'checkbox'
|
|
801
|
+
| 'date'
|
|
802
|
+
| 'file'
|
|
803
|
+
| 'html'
|
|
804
|
+
| 'number'
|
|
805
|
+
| 'phonenumber'
|
|
806
|
+
| 'radio'
|
|
807
|
+
| 'select'
|
|
808
|
+
| 'text'
|
|
809
|
+
| 'textarea';
|
|
810
|
+
/**
|
|
811
|
+
* Additional information or guidance about the field.
|
|
812
|
+
*/
|
|
813
|
+
helpText?: string;
|
|
814
|
+
/**
|
|
815
|
+
* A user-friendly name for the field.
|
|
816
|
+
*/
|
|
817
|
+
label?: string;
|
|
818
|
+
/**
|
|
819
|
+
* The internal name used to identify the field.
|
|
820
|
+
*/
|
|
821
|
+
name: string;
|
|
822
|
+
options: PublicOption[];
|
|
823
|
+
/**
|
|
824
|
+
* A URL that provides options for the field.
|
|
825
|
+
*/
|
|
826
|
+
optionsUrl?: string;
|
|
827
|
+
/**
|
|
828
|
+
* The type of object that the field references, with accepted values including OWNER.
|
|
829
|
+
*/
|
|
830
|
+
referencedObjectType?: 'OWNER';
|
|
831
|
+
/**
|
|
832
|
+
* The data type of the field, with accepted values including bool, date, datetime, enumeration, json, number, object_coordinates, phone_number, and string.
|
|
833
|
+
*/
|
|
834
|
+
type:
|
|
835
|
+
| 'bool'
|
|
836
|
+
| 'date'
|
|
837
|
+
| 'datetime'
|
|
838
|
+
| 'enumeration'
|
|
839
|
+
| 'json'
|
|
840
|
+
| 'number'
|
|
841
|
+
| 'object_coordinates'
|
|
842
|
+
| 'phone_number'
|
|
843
|
+
| 'string';
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
export interface PublicInputFieldDefinition {
|
|
847
|
+
/**
|
|
848
|
+
* Indicates whether the input field is mandatory.
|
|
849
|
+
*/
|
|
850
|
+
isRequired: boolean;
|
|
851
|
+
supportedValueTypes?: ('OBJECT_PROPERTY' | 'STATIC_VALUE')[];
|
|
852
|
+
typeDefinition: PublicFieldTypeDefinition;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
export interface PublicObjectRequestOptions {
|
|
856
|
+
properties: string[];
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
export interface PublicOption {
|
|
860
|
+
/**
|
|
861
|
+
* A description of the option.
|
|
862
|
+
*/
|
|
863
|
+
description?: string;
|
|
864
|
+
/**
|
|
865
|
+
* The position of the option relative to others in the list.
|
|
866
|
+
*/
|
|
867
|
+
displayOrder?: number;
|
|
868
|
+
/**
|
|
869
|
+
* A user-friendly label that identifies the option.
|
|
870
|
+
*/
|
|
871
|
+
label: string;
|
|
872
|
+
/**
|
|
873
|
+
* The actual value of the option.
|
|
874
|
+
*/
|
|
875
|
+
value: string;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
export interface PublicSingleFieldDependency {
|
|
879
|
+
/**
|
|
880
|
+
* The name of the field that controls the dependency.
|
|
881
|
+
*/
|
|
882
|
+
controllingFieldName: string;
|
|
883
|
+
/**
|
|
884
|
+
* The type of dependency, with the default value being 'SINGLE_FIELD'.
|
|
885
|
+
*/
|
|
886
|
+
dependencyType: 'SINGLE_FIELD';
|
|
887
|
+
dependentFieldNames: string[];
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
export interface StandaloneRequestContext {
|
|
891
|
+
chirpAiContextObject: ChirpAiContextObject;
|
|
892
|
+
/**
|
|
893
|
+
* Indicates the source of the request, with the default value being 'STANDALONE'.
|
|
894
|
+
*/
|
|
895
|
+
source: 'STANDALONE';
|
|
896
|
+
/**
|
|
897
|
+
* A unique identifier for tracking the trajectory of the request.
|
|
898
|
+
*/
|
|
899
|
+
trajectoryId?: string;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
export interface StringFieldSchema {
|
|
903
|
+
/**
|
|
904
|
+
* Specifies the format of the string, with accepted values: DATE, DATE_TIME, OBJECT_COORDINATE, TIME, URI.
|
|
905
|
+
*/
|
|
906
|
+
format?: 'DATE' | 'DATE_TIME' | 'OBJECT_COORDINATE' | 'TIME' | 'URI';
|
|
907
|
+
/**
|
|
908
|
+
* Indicates that the type is a string, with the default value being STRING.
|
|
909
|
+
*/
|
|
910
|
+
type: 'STRING';
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
export interface TestRequestContext {
|
|
914
|
+
/**
|
|
915
|
+
* Indicates the source of the test request, with the only accepted value being 'TEST'.
|
|
916
|
+
*/
|
|
917
|
+
source: 'TEST';
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
export interface WorkflowsRequestContext {
|
|
921
|
+
actionExecutionIndexIdentifier?: ActionExecutionIndexIdentifier;
|
|
922
|
+
/**
|
|
923
|
+
* The ID of the action within the workflow context.
|
|
924
|
+
*/
|
|
925
|
+
actionId?: number;
|
|
926
|
+
/**
|
|
927
|
+
* Indicates the source of the request, with the default value being WORKFLOWS.
|
|
928
|
+
*/
|
|
929
|
+
source: 'WORKFLOWS';
|
|
930
|
+
/**
|
|
931
|
+
* The ID of the workflow associated with the request context.
|
|
932
|
+
*/
|
|
933
|
+
workflowId: number;
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
export namespace AutomationActionsCallbacks {
|
|
938
|
+
export type CompleteBatchInput =
|
|
939
|
+
AutomationActionsSchemas.BatchInputCallbackCompletionBatchRequest;
|
|
940
|
+
|
|
941
|
+
export type CompleteBatchOutput = void;
|
|
942
|
+
|
|
943
|
+
export interface CompleteInput {
|
|
944
|
+
callbackId: string;
|
|
945
|
+
data: AutomationActionsSchemas.CallbackCompletionRequest;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
export type CompleteOutput = void;
|
|
1136
949
|
/**
|
|
1137
950
|
* Usage example:
|
|
1138
951
|
* ```ts
|
|
1139
|
-
* import {
|
|
1140
|
-
* client.send(
|
|
952
|
+
* import { automationActionsCallbacks } from '@hubspot/api-client-core';
|
|
953
|
+
* client.send(automationActionsCallbacks.complete(input));
|
|
1141
954
|
* ```
|
|
1142
955
|
*/
|
|
1143
|
-
export interface
|
|
956
|
+
export interface API {
|
|
1144
957
|
/**
|
|
1145
958
|
* Completes a callback
|
|
1146
959
|
* @apiPath /automation/actions/callbacks/2026-03/{callbackId}/complete
|
|
1147
960
|
* @apiMethod POST
|
|
1148
961
|
* @requiredScopes workflows-access
|
|
1149
962
|
*/
|
|
1150
|
-
complete: (
|
|
1151
|
-
input: Callbacks.CompleteInput
|
|
1152
|
-
) => Operation<Callbacks.CompleteOutput>;
|
|
963
|
+
complete: (input: CompleteInput) => Operation<CompleteOutput>;
|
|
1153
964
|
/**
|
|
1154
965
|
* Complete a batch of callbacks
|
|
1155
966
|
* @apiPath /automation/actions/callbacks/2026-03/complete
|
|
@@ -1157,27 +968,94 @@ export namespace AutomationActions {
|
|
|
1157
968
|
* @requiredScopes workflows-access
|
|
1158
969
|
*/
|
|
1159
970
|
completeBatch: (
|
|
1160
|
-
input:
|
|
1161
|
-
) => Operation<
|
|
971
|
+
input: CompleteBatchInput
|
|
972
|
+
) => Operation<CompleteBatchOutput>;
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
export namespace AutomationActionsDefinitions {
|
|
977
|
+
export interface CreateInput {
|
|
978
|
+
appId: number;
|
|
979
|
+
data: AutomationActionsSchemas.PublicActionDefinitionEgg;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
export type CreateOutput = AutomationActionsSchemas.PublicActionDefinition;
|
|
983
|
+
|
|
984
|
+
export interface CreateRequiresObjectInput {
|
|
985
|
+
appId: number;
|
|
986
|
+
data: AutomationActionsSchemas.PublicActionDefinitionRequiresObjectRequest;
|
|
987
|
+
definitionId: string;
|
|
1162
988
|
}
|
|
1163
989
|
|
|
990
|
+
export type CreateRequiresObjectOutput = void;
|
|
991
|
+
|
|
992
|
+
export interface DeleteInput {
|
|
993
|
+
appId: number;
|
|
994
|
+
definitionId: string;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
export type DeleteOutput = void;
|
|
998
|
+
|
|
999
|
+
export interface GetInput {
|
|
1000
|
+
appId: number;
|
|
1001
|
+
/**
|
|
1002
|
+
* Whether to return only results that have been archived.
|
|
1003
|
+
*/
|
|
1004
|
+
archived?: boolean;
|
|
1005
|
+
definitionId: string;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
export type GetOutput = AutomationActionsSchemas.PublicActionDefinition;
|
|
1009
|
+
|
|
1010
|
+
export interface GetRequiresObjectInput {
|
|
1011
|
+
appId: number;
|
|
1012
|
+
definitionId: string;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
export type GetRequiresObjectOutput =
|
|
1016
|
+
AutomationActionsSchemas.PublicActionDefinitionRequiresObjectResponse;
|
|
1017
|
+
|
|
1018
|
+
export interface ListInput {
|
|
1019
|
+
/**
|
|
1020
|
+
* The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.
|
|
1021
|
+
*/
|
|
1022
|
+
after?: string;
|
|
1023
|
+
appId: number;
|
|
1024
|
+
/**
|
|
1025
|
+
* Whether to return only results that have been archived.
|
|
1026
|
+
*/
|
|
1027
|
+
archived?: boolean;
|
|
1028
|
+
/**
|
|
1029
|
+
* The maximum number of results to display per page.
|
|
1030
|
+
*/
|
|
1031
|
+
limit?: number;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
export type ListOutput =
|
|
1035
|
+
AutomationActionsSchemas.CollectionResponsePublicActionDefinitionForwardPaging;
|
|
1036
|
+
|
|
1037
|
+
export interface UpdateInput {
|
|
1038
|
+
appId: number;
|
|
1039
|
+
data: AutomationActionsSchemas.PublicActionDefinitionPatch;
|
|
1040
|
+
definitionId: string;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
export type UpdateOutput = AutomationActionsSchemas.PublicActionDefinition;
|
|
1164
1044
|
/**
|
|
1165
1045
|
* Usage example:
|
|
1166
1046
|
* ```ts
|
|
1167
|
-
* import {
|
|
1168
|
-
* client.send(
|
|
1047
|
+
* import { automationActionsDefinitions } from '@hubspot/api-client-core';
|
|
1048
|
+
* client.send(automationActionsDefinitions.create(input));
|
|
1169
1049
|
* ```
|
|
1170
1050
|
*/
|
|
1171
|
-
export interface
|
|
1051
|
+
export interface API {
|
|
1172
1052
|
/**
|
|
1173
1053
|
* Create a new custom action definition
|
|
1174
1054
|
* @apiPath /automation/actions/2026-03/{appId}
|
|
1175
1055
|
* @apiMethod POST
|
|
1176
1056
|
* @requiredScopes developers-write
|
|
1177
1057
|
*/
|
|
1178
|
-
create: (
|
|
1179
|
-
input: Definitions.CreateInput
|
|
1180
|
-
) => Operation<Definitions.CreateOutput>;
|
|
1058
|
+
create: (input: CreateInput) => Operation<CreateOutput>;
|
|
1181
1059
|
/**
|
|
1182
1060
|
* Set the object requirement for a custom action definition.
|
|
1183
1061
|
* @apiPath /automation/actions/2026-03/{appId}/{definitionId}/requires-object
|
|
@@ -1185,24 +1063,22 @@ export namespace AutomationActions {
|
|
|
1185
1063
|
* @requiredScopes developers-write
|
|
1186
1064
|
*/
|
|
1187
1065
|
createRequiresObject: (
|
|
1188
|
-
input:
|
|
1189
|
-
) => Operation<
|
|
1066
|
+
input: CreateRequiresObjectInput
|
|
1067
|
+
) => Operation<CreateRequiresObjectOutput>;
|
|
1190
1068
|
/**
|
|
1191
1069
|
* Delete an action definition
|
|
1192
1070
|
* @apiPath /automation/actions/2026-03/{appId}/{definitionId}
|
|
1193
1071
|
* @apiMethod DELETE
|
|
1194
1072
|
* @requiredScopes developers-write
|
|
1195
1073
|
*/
|
|
1196
|
-
delete: (
|
|
1197
|
-
input: Definitions.DeleteInput
|
|
1198
|
-
) => Operation<Definitions.DeleteOutput>;
|
|
1074
|
+
delete: (input: DeleteInput) => Operation<DeleteOutput>;
|
|
1199
1075
|
/**
|
|
1200
1076
|
* Retrieve a custom action definition
|
|
1201
1077
|
* @apiPath /automation/actions/2026-03/{appId}/{definitionId}
|
|
1202
1078
|
* @apiMethod GET
|
|
1203
1079
|
* @requiredScopes developers-read
|
|
1204
1080
|
*/
|
|
1205
|
-
get: (input:
|
|
1081
|
+
get: (input: GetInput) => Operation<GetOutput>;
|
|
1206
1082
|
/**
|
|
1207
1083
|
* Retrieve the object requirement status for a custom action definition.
|
|
1208
1084
|
* @apiPath /automation/actions/2026-03/{appId}/{definitionId}/requires-object
|
|
@@ -1210,34 +1086,121 @@ export namespace AutomationActions {
|
|
|
1210
1086
|
* @requiredScopes developers-read
|
|
1211
1087
|
*/
|
|
1212
1088
|
getRequiresObject: (
|
|
1213
|
-
input:
|
|
1214
|
-
) => Operation<
|
|
1089
|
+
input: GetRequiresObjectInput
|
|
1090
|
+
) => Operation<GetRequiresObjectOutput>;
|
|
1215
1091
|
/**
|
|
1216
1092
|
* Retrieve custom action definitions
|
|
1217
1093
|
* @apiPath /automation/actions/2026-03/{appId}
|
|
1218
1094
|
* @apiMethod GET
|
|
1219
1095
|
* @requiredScopes developers-read
|
|
1220
1096
|
*/
|
|
1221
|
-
list: (input:
|
|
1097
|
+
list: (input: ListInput) => Operation<ListOutput>;
|
|
1222
1098
|
/**
|
|
1223
1099
|
* Update an existing action definition
|
|
1224
1100
|
* @apiPath /automation/actions/2026-03/{appId}/{definitionId}
|
|
1225
1101
|
* @apiMethod PATCH
|
|
1226
1102
|
* @requiredScopes developers-write
|
|
1227
1103
|
*/
|
|
1228
|
-
update: (
|
|
1229
|
-
input: Definitions.UpdateInput
|
|
1230
|
-
) => Operation<Definitions.UpdateOutput>;
|
|
1104
|
+
update: (input: UpdateInput) => Operation<UpdateOutput>;
|
|
1231
1105
|
}
|
|
1106
|
+
}
|
|
1232
1107
|
|
|
1108
|
+
export namespace AutomationActionsFunctions {
|
|
1109
|
+
export interface CreateOrReplaceByFunctionTypeInput {
|
|
1110
|
+
appId: number;
|
|
1111
|
+
data: string;
|
|
1112
|
+
definitionId: string;
|
|
1113
|
+
functionType:
|
|
1114
|
+
| 'POST_ACTION_EXECUTION'
|
|
1115
|
+
| 'POST_FETCH_OPTIONS'
|
|
1116
|
+
| 'PRE_ACTION_EXECUTION'
|
|
1117
|
+
| 'PRE_FETCH_OPTIONS';
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
export type CreateOrReplaceByFunctionTypeOutput =
|
|
1121
|
+
AutomationActionsSchemas.PublicActionFunctionIdentifier;
|
|
1122
|
+
|
|
1123
|
+
export interface CreateOrReplaceInput {
|
|
1124
|
+
appId: number;
|
|
1125
|
+
data: string;
|
|
1126
|
+
definitionId: string;
|
|
1127
|
+
functionId: string;
|
|
1128
|
+
functionType:
|
|
1129
|
+
| 'POST_ACTION_EXECUTION'
|
|
1130
|
+
| 'POST_FETCH_OPTIONS'
|
|
1131
|
+
| 'PRE_ACTION_EXECUTION'
|
|
1132
|
+
| 'PRE_FETCH_OPTIONS';
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
export type CreateOrReplaceOutput =
|
|
1136
|
+
AutomationActionsSchemas.PublicActionFunctionIdentifier;
|
|
1137
|
+
|
|
1138
|
+
export interface DeleteByFunctionTypeInput {
|
|
1139
|
+
appId: number;
|
|
1140
|
+
definitionId: string;
|
|
1141
|
+
functionType:
|
|
1142
|
+
| 'POST_ACTION_EXECUTION'
|
|
1143
|
+
| 'POST_FETCH_OPTIONS'
|
|
1144
|
+
| 'PRE_ACTION_EXECUTION'
|
|
1145
|
+
| 'PRE_FETCH_OPTIONS';
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
export type DeleteByFunctionTypeOutput = void;
|
|
1149
|
+
|
|
1150
|
+
export interface DeleteInput {
|
|
1151
|
+
appId: number;
|
|
1152
|
+
definitionId: string;
|
|
1153
|
+
functionId: string;
|
|
1154
|
+
functionType:
|
|
1155
|
+
| 'POST_ACTION_EXECUTION'
|
|
1156
|
+
| 'POST_FETCH_OPTIONS'
|
|
1157
|
+
| 'PRE_ACTION_EXECUTION'
|
|
1158
|
+
| 'PRE_FETCH_OPTIONS';
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
export type DeleteOutput = void;
|
|
1162
|
+
|
|
1163
|
+
export interface GetByFunctionTypeInput {
|
|
1164
|
+
appId: number;
|
|
1165
|
+
definitionId: string;
|
|
1166
|
+
functionType:
|
|
1167
|
+
| 'POST_ACTION_EXECUTION'
|
|
1168
|
+
| 'POST_FETCH_OPTIONS'
|
|
1169
|
+
| 'PRE_ACTION_EXECUTION'
|
|
1170
|
+
| 'PRE_FETCH_OPTIONS';
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
export type GetByFunctionTypeOutput =
|
|
1174
|
+
AutomationActionsSchemas.PublicActionFunction;
|
|
1175
|
+
|
|
1176
|
+
export interface GetInput {
|
|
1177
|
+
appId: number;
|
|
1178
|
+
definitionId: string;
|
|
1179
|
+
functionId: string;
|
|
1180
|
+
functionType:
|
|
1181
|
+
| 'POST_ACTION_EXECUTION'
|
|
1182
|
+
| 'POST_FETCH_OPTIONS'
|
|
1183
|
+
| 'PRE_ACTION_EXECUTION'
|
|
1184
|
+
| 'PRE_FETCH_OPTIONS';
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
export type GetOutput = AutomationActionsSchemas.PublicActionFunction;
|
|
1188
|
+
|
|
1189
|
+
export interface ListInput {
|
|
1190
|
+
appId: number;
|
|
1191
|
+
definitionId: string;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
export type ListOutput =
|
|
1195
|
+
AutomationActionsSchemas.CollectionResponsePublicActionFunctionIdentifierNoPaging;
|
|
1233
1196
|
/**
|
|
1234
1197
|
* Usage example:
|
|
1235
1198
|
* ```ts
|
|
1236
|
-
* import {
|
|
1237
|
-
* client.send(
|
|
1199
|
+
* import { automationActionsFunctions } from '@hubspot/api-client-core';
|
|
1200
|
+
* client.send(automationActionsFunctions.createOrReplace(input));
|
|
1238
1201
|
* ```
|
|
1239
1202
|
*/
|
|
1240
|
-
export interface
|
|
1203
|
+
export interface API {
|
|
1241
1204
|
/**
|
|
1242
1205
|
* Update a function for a definition
|
|
1243
1206
|
* @apiPath /automation/actions/2026-03/{appId}/{definitionId}/functions/{functionType}/{functionId}
|
|
@@ -1245,8 +1208,8 @@ export namespace AutomationActions {
|
|
|
1245
1208
|
* @requiredScopes developers-write
|
|
1246
1209
|
*/
|
|
1247
1210
|
createOrReplace: (
|
|
1248
|
-
input:
|
|
1249
|
-
) => Operation<
|
|
1211
|
+
input: CreateOrReplaceInput
|
|
1212
|
+
) => Operation<CreateOrReplaceOutput>;
|
|
1250
1213
|
/**
|
|
1251
1214
|
* Insert a function for a definition
|
|
1252
1215
|
* @apiPath /automation/actions/2026-03/{appId}/{definitionId}/functions/{functionType}
|
|
@@ -1254,15 +1217,15 @@ export namespace AutomationActions {
|
|
|
1254
1217
|
* @requiredScopes developers-write
|
|
1255
1218
|
*/
|
|
1256
1219
|
createOrReplaceByFunctionType: (
|
|
1257
|
-
input:
|
|
1258
|
-
) => Operation<
|
|
1220
|
+
input: CreateOrReplaceByFunctionTypeInput
|
|
1221
|
+
) => Operation<CreateOrReplaceByFunctionTypeOutput>;
|
|
1259
1222
|
/**
|
|
1260
1223
|
* Archive a function for a definition
|
|
1261
1224
|
* @apiPath /automation/actions/2026-03/{appId}/{definitionId}/functions/{functionType}/{functionId}
|
|
1262
1225
|
* @apiMethod DELETE
|
|
1263
1226
|
* @requiredScopes developers-write
|
|
1264
1227
|
*/
|
|
1265
|
-
delete: (input:
|
|
1228
|
+
delete: (input: DeleteInput) => Operation<DeleteOutput>;
|
|
1266
1229
|
/**
|
|
1267
1230
|
* Delete a function for a definition
|
|
1268
1231
|
* @apiPath /automation/actions/2026-03/{appId}/{definitionId}/functions/{functionType}
|
|
@@ -1270,15 +1233,15 @@ export namespace AutomationActions {
|
|
|
1270
1233
|
* @requiredScopes developers-write
|
|
1271
1234
|
*/
|
|
1272
1235
|
deleteByFunctionType: (
|
|
1273
|
-
input:
|
|
1274
|
-
) => Operation<
|
|
1236
|
+
input: DeleteByFunctionTypeInput
|
|
1237
|
+
) => Operation<DeleteByFunctionTypeOutput>;
|
|
1275
1238
|
/**
|
|
1276
1239
|
* Retrieve a function from a given definition
|
|
1277
1240
|
* @apiPath /automation/actions/2026-03/{appId}/{definitionId}/functions/{functionType}/{functionId}
|
|
1278
1241
|
* @apiMethod GET
|
|
1279
1242
|
* @requiredScopes developers-read
|
|
1280
1243
|
*/
|
|
1281
|
-
get: (input:
|
|
1244
|
+
get: (input: GetInput) => Operation<GetOutput>;
|
|
1282
1245
|
/**
|
|
1283
1246
|
* Retrieve functions by a type for a given definition
|
|
1284
1247
|
* @apiPath /automation/actions/2026-03/{appId}/{definitionId}/functions/{functionType}
|
|
@@ -1286,52 +1249,63 @@ export namespace AutomationActions {
|
|
|
1286
1249
|
* @requiredScopes developers-read
|
|
1287
1250
|
*/
|
|
1288
1251
|
getByFunctionType: (
|
|
1289
|
-
input:
|
|
1290
|
-
) => Operation<
|
|
1252
|
+
input: GetByFunctionTypeInput
|
|
1253
|
+
) => Operation<GetByFunctionTypeOutput>;
|
|
1291
1254
|
/**
|
|
1292
1255
|
* Retrieve functions for a given definition
|
|
1293
1256
|
* @apiPath /automation/actions/2026-03/{appId}/{definitionId}/functions
|
|
1294
1257
|
* @apiMethod GET
|
|
1295
1258
|
* @requiredScopes developers-read
|
|
1296
1259
|
*/
|
|
1297
|
-
list: (input:
|
|
1260
|
+
list: (input: ListInput) => Operation<ListOutput>;
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
export namespace AutomationActionsRevisions {
|
|
1265
|
+
export interface GetInput {
|
|
1266
|
+
appId: number;
|
|
1267
|
+
definitionId: string;
|
|
1268
|
+
revisionId: string;
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
export type GetOutput = AutomationActionsSchemas.PublicActionRevision;
|
|
1272
|
+
|
|
1273
|
+
export interface ListInput {
|
|
1274
|
+
/**
|
|
1275
|
+
* The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.
|
|
1276
|
+
*/
|
|
1277
|
+
after?: string;
|
|
1278
|
+
appId: number;
|
|
1279
|
+
definitionId: string;
|
|
1280
|
+
/**
|
|
1281
|
+
* The maximum number of results to display per page.
|
|
1282
|
+
*/
|
|
1283
|
+
limit?: number;
|
|
1298
1284
|
}
|
|
1299
1285
|
|
|
1286
|
+
export type ListOutput =
|
|
1287
|
+
AutomationActionsSchemas.CollectionResponsePublicActionRevisionForwardPaging;
|
|
1300
1288
|
/**
|
|
1301
1289
|
* Usage example:
|
|
1302
1290
|
* ```ts
|
|
1303
|
-
* import {
|
|
1304
|
-
* client.send(
|
|
1291
|
+
* import { automationActionsRevisions } from '@hubspot/api-client-core';
|
|
1292
|
+
* client.send(automationActionsRevisions.get(input));
|
|
1305
1293
|
* ```
|
|
1306
1294
|
*/
|
|
1307
|
-
export interface
|
|
1295
|
+
export interface API {
|
|
1308
1296
|
/**
|
|
1309
1297
|
* Retrieve a specific revision of a definition
|
|
1310
1298
|
* @apiPath /automation/actions/2026-03/{appId}/{definitionId}/revisions/{revisionId}
|
|
1311
1299
|
* @apiMethod GET
|
|
1312
1300
|
* @requiredScopes developers-read
|
|
1313
1301
|
*/
|
|
1314
|
-
get: (input:
|
|
1302
|
+
get: (input: GetInput) => Operation<GetOutput>;
|
|
1315
1303
|
/**
|
|
1316
1304
|
* Retrieve revisions for a given definition
|
|
1317
1305
|
* @apiPath /automation/actions/2026-03/{appId}/{definitionId}/revisions
|
|
1318
1306
|
* @apiMethod GET
|
|
1319
1307
|
* @requiredScopes developers-read
|
|
1320
1308
|
*/
|
|
1321
|
-
list: (input:
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1324
|
-
/**
|
|
1325
|
-
* Usage example:
|
|
1326
|
-
* ```ts
|
|
1327
|
-
* import { automationActions } from '@hubspot/api-client-core';
|
|
1328
|
-
* client.send(automationActions.callbacks.complete(input));
|
|
1329
|
-
* ```
|
|
1330
|
-
*/
|
|
1331
|
-
export interface API {
|
|
1332
|
-
callbacks: CallbacksAPI;
|
|
1333
|
-
definitions: DefinitionsAPI;
|
|
1334
|
-
functions: FunctionsAPI;
|
|
1335
|
-
revisions: RevisionsAPI;
|
|
1309
|
+
list: (input: ListInput) => Operation<ListOutput>;
|
|
1336
1310
|
}
|
|
1337
1311
|
}
|