@hubspot/app-connect-sdk 1.0.0-alpha.2 → 1.0.0-alpha.20

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.
Files changed (721) hide show
  1. package/.turbo/turbo-format$colon$check.log +1 -1
  2. package/.turbo/turbo-test.log +93 -52
  3. package/.turbo/turbo-tsdown.log +475 -472
  4. package/build/tsconfig.browser.tsbuildinfo +1 -1
  5. package/build/tsconfig.server.tsbuildinfo +1 -1
  6. package/dist/browser/{HubSpotAppConnect-BW45gyDs.js → HubSpotAppConnect-DFe9b90e.js} +4 -3
  7. package/dist/browser/HubSpotAppConnect-DFe9b90e.js.map +1 -0
  8. package/dist/browser/{create-vctOhpX9.js → create-BNQazCF-.js} +277 -86
  9. package/dist/browser/create-BNQazCF-.js.map +1 -0
  10. package/dist/browser/index.d.ts +2 -2
  11. package/dist/browser/index.js +1 -1
  12. package/dist/browser/react/lovable.d.ts +9 -2
  13. package/dist/browser/react/lovable.js +7 -4
  14. package/dist/browser/react/lovable.js.map +1 -1
  15. package/dist/browser/react.d.ts +2 -3
  16. package/dist/browser/react.js +1 -1
  17. package/dist/browser/{types-rTQw6A54.d.ts → types-DkAmHcZt.d.ts} +22 -7
  18. package/dist/server/api-client-core/apis/account/account-info-types.generated.d.ts +73 -85
  19. package/dist/server/api-client-core/apis/account/account-info.generated.d.ts +3 -3
  20. package/dist/server/api-client-core/apis/account/account-info.generated.js +4 -3
  21. package/dist/server/api-client-core/apis/account/account-info.generated.js.map +1 -1
  22. package/dist/server/api-client-core/apis/account/audit-logs-types.generated.d.ts +203 -215
  23. package/dist/server/api-client-core/apis/account/audit-logs.generated.d.ts +3 -3
  24. package/dist/server/api-client-core/apis/account/audit-logs.generated.js +4 -3
  25. package/dist/server/api-client-core/apis/account/audit-logs.generated.js.map +1 -1
  26. package/dist/server/api-client-core/apis/auth/oauth-types.generated.d.ts +78 -90
  27. package/dist/server/api-client-core/apis/auth/oauth.generated.d.ts +1 -1
  28. package/dist/server/api-client-core/apis/auth/oauth.generated.js +3 -2
  29. package/dist/server/api-client-core/apis/auth/oauth.generated.js.map +1 -1
  30. package/dist/server/api-client-core/apis/automation/actions-types.generated.d.ts +779 -794
  31. package/dist/server/api-client-core/apis/automation/actions.generated.d.ts +6 -3
  32. package/dist/server/api-client-core/apis/automation/actions.generated.js +101 -102
  33. package/dist/server/api-client-core/apis/automation/actions.generated.js.map +1 -1
  34. package/dist/server/api-client-core/apis/automation/sequences-types.generated.d.ts +370 -382
  35. package/dist/server/api-client-core/apis/automation/sequences.generated.d.ts +1 -1
  36. package/dist/server/api-client-core/apis/automation/sequences.generated.js +3 -2
  37. package/dist/server/api-client-core/apis/automation/sequences.generated.js.map +1 -1
  38. package/dist/server/api-client-core/apis/business-units-types.generated.d.ts +43 -55
  39. package/dist/server/api-client-core/apis/business-units.generated.d.ts +3 -3
  40. package/dist/server/api-client-core/apis/business-units.generated.js +4 -3
  41. package/dist/server/api-client-core/apis/business-units.generated.js.map +1 -1
  42. package/dist/server/api-client-core/apis/cms/authors-types.generated.d.ts +420 -445
  43. package/dist/server/api-client-core/apis/cms/authors.generated.d.ts +4 -3
  44. package/dist/server/api-client-core/apis/cms/authors.generated.js +155 -158
  45. package/dist/server/api-client-core/apis/cms/authors.generated.js.map +1 -1
  46. package/dist/server/api-client-core/apis/cms/blog-settings-types.generated.d.ts +270 -295
  47. package/dist/server/api-client-core/apis/cms/blog-settings.generated.d.ts +4 -3
  48. package/dist/server/api-client-core/apis/cms/blog-settings.generated.js +35 -38
  49. package/dist/server/api-client-core/apis/cms/blog-settings.generated.js.map +1 -1
  50. package/dist/server/api-client-core/apis/cms/cms-content-audit-types.generated.d.ts +107 -131
  51. package/dist/server/api-client-core/apis/cms/cms-content-audit.generated.d.ts +3 -3
  52. package/dist/server/api-client-core/apis/cms/cms-content-audit.generated.js +6 -5
  53. package/dist/server/api-client-core/apis/cms/cms-content-audit.generated.js.map +1 -1
  54. package/dist/server/api-client-core/apis/cms/domains-types.generated.d.ts +155 -167
  55. package/dist/server/api-client-core/apis/cms/domains.generated.d.ts +2 -2
  56. package/dist/server/api-client-core/apis/cms/domains.generated.js +3 -2
  57. package/dist/server/api-client-core/apis/cms/domains.generated.js.map +1 -1
  58. package/dist/server/api-client-core/apis/cms/hubdb-types.generated.d.ts +876 -889
  59. package/dist/server/api-client-core/apis/cms/hubdb.generated.d.ts +4 -3
  60. package/dist/server/api-client-core/apis/cms/hubdb.generated.js +184 -185
  61. package/dist/server/api-client-core/apis/cms/hubdb.generated.js.map +1 -1
  62. package/dist/server/api-client-core/apis/cms/media-bridge-types.generated.d.ts +1550 -1575
  63. package/dist/server/api-client-core/apis/cms/media-bridge.generated.d.ts +4 -3
  64. package/dist/server/api-client-core/apis/cms/media-bridge.generated.js +161 -164
  65. package/dist/server/api-client-core/apis/cms/media-bridge.generated.js.map +1 -1
  66. package/dist/server/api-client-core/apis/cms/pages-types.generated.d.ts +1583 -1547
  67. package/dist/server/api-client-core/apis/cms/pages.generated.d.ts +15 -3
  68. package/dist/server/api-client-core/apis/cms/pages.generated.js +335 -326
  69. package/dist/server/api-client-core/apis/cms/pages.generated.js.map +1 -1
  70. package/dist/server/api-client-core/apis/cms/posts-types.generated.d.ts +900 -904
  71. package/dist/server/api-client-core/apis/cms/posts.generated.d.ts +7 -3
  72. package/dist/server/api-client-core/apis/cms/posts.generated.js +197 -196
  73. package/dist/server/api-client-core/apis/cms/posts.generated.js.map +1 -1
  74. package/dist/server/api-client-core/apis/cms/site-search-types.generated.d.ts +162 -174
  75. package/dist/server/api-client-core/apis/cms/site-search.generated.d.ts +3 -3
  76. package/dist/server/api-client-core/apis/cms/site-search.generated.js +4 -3
  77. package/dist/server/api-client-core/apis/cms/site-search.generated.js.map +1 -1
  78. package/dist/server/api-client-core/apis/cms/source-code-types.generated.d.ts +148 -172
  79. package/dist/server/api-client-core/apis/cms/source-code.generated.d.ts +3 -3
  80. package/dist/server/api-client-core/apis/cms/source-code.generated.js +40 -43
  81. package/dist/server/api-client-core/apis/cms/source-code.generated.js.map +1 -1
  82. package/dist/server/api-client-core/apis/cms/tags-types.generated.d.ts +406 -420
  83. package/dist/server/api-client-core/apis/cms/tags.generated.d.ts +5 -3
  84. package/dist/server/api-client-core/apis/cms/tags.generated.js +157 -158
  85. package/dist/server/api-client-core/apis/cms/tags.generated.js.map +1 -1
  86. package/dist/server/api-client-core/apis/cms/url-mappings-types.generated.d.ts +127 -139
  87. package/dist/server/api-client-core/apis/cms/url-mappings.generated.d.ts +3 -3
  88. package/dist/server/api-client-core/apis/cms/url-mappings.generated.js +4 -3
  89. package/dist/server/api-client-core/apis/cms/url-mappings.generated.js.map +1 -1
  90. package/dist/server/api-client-core/apis/cms/url-redirects-types.generated.d.ts +170 -182
  91. package/dist/server/api-client-core/apis/cms/url-redirects.generated.d.ts +3 -3
  92. package/dist/server/api-client-core/apis/cms/url-redirects.generated.js +4 -3
  93. package/dist/server/api-client-core/apis/cms/url-redirects.generated.js.map +1 -1
  94. package/dist/server/api-client-core/apis/communication-preferences/subscriptions-types.generated.d.ts +728 -742
  95. package/dist/server/api-client-core/apis/communication-preferences/subscriptions.generated.d.ts +5 -3
  96. package/dist/server/api-client-core/apis/communication-preferences/subscriptions.generated.js +66 -69
  97. package/dist/server/api-client-core/apis/communication-preferences/subscriptions.generated.js.map +1 -1
  98. package/dist/server/api-client-core/apis/conversations/custom-channels-types.generated.d.ts +445 -471
  99. package/dist/server/api-client-core/apis/conversations/custom-channels.generated.d.ts +5 -3
  100. package/dist/server/api-client-core/apis/conversations/custom-channels.generated.js +70 -73
  101. package/dist/server/api-client-core/apis/conversations/custom-channels.generated.js.map +1 -1
  102. package/dist/server/api-client-core/apis/conversations/visitor-identification-types.generated.d.ts +28 -40
  103. package/dist/server/api-client-core/apis/conversations/visitor-identification.generated.d.ts +3 -3
  104. package/dist/server/api-client-core/apis/conversations/visitor-identification.generated.js +3 -2
  105. package/dist/server/api-client-core/apis/conversations/visitor-identification.generated.js.map +1 -1
  106. package/dist/server/api-client-core/apis/conversations-types.generated.d.ts +768 -781
  107. package/dist/server/api-client-core/apis/conversations.generated.d.ts +4 -3
  108. package/dist/server/api-client-core/apis/conversations.generated.js +101 -102
  109. package/dist/server/api-client-core/apis/conversations.generated.js.map +1 -1
  110. package/dist/server/api-client-core/apis/crm/app-uninstalls-types.generated.d.ts +8 -19
  111. package/dist/server/api-client-core/apis/crm/app-uninstalls.generated.d.ts +3 -3
  112. package/dist/server/api-client-core/apis/crm/app-uninstalls.generated.js +3 -2
  113. package/dist/server/api-client-core/apis/crm/app-uninstalls.generated.js.map +1 -1
  114. package/dist/server/api-client-core/apis/crm/appointments-types.generated.d.ts +887 -891
  115. package/dist/server/api-client-core/apis/crm/appointments.generated.d.ts +7 -3
  116. package/dist/server/api-client-core/apis/crm/appointments.generated.js +105 -106
  117. package/dist/server/api-client-core/apis/crm/appointments.generated.js.map +1 -1
  118. package/dist/server/api-client-core/apis/crm/associations-schema-types.generated.d.ts +247 -260
  119. package/dist/server/api-client-core/apis/crm/associations-schema.generated.d.ts +4 -3
  120. package/dist/server/api-client-core/apis/crm/associations-schema.generated.js +48 -49
  121. package/dist/server/api-client-core/apis/crm/associations-schema.generated.js.map +1 -1
  122. package/dist/server/api-client-core/apis/crm/associations-types.generated.d.ts +576 -590
  123. package/dist/server/api-client-core/apis/crm/associations.generated.d.ts +5 -3
  124. package/dist/server/api-client-core/apis/crm/associations.generated.js +71 -72
  125. package/dist/server/api-client-core/apis/crm/associations.generated.js.map +1 -1
  126. package/dist/server/api-client-core/apis/crm/calling-extensions-types.generated.d.ts +355 -379
  127. package/dist/server/api-client-core/apis/crm/calling-extensions.generated.d.ts +3 -3
  128. package/dist/server/api-client-core/apis/crm/calling-extensions.generated.js +34 -37
  129. package/dist/server/api-client-core/apis/crm/calling-extensions.generated.js.map +1 -1
  130. package/dist/server/api-client-core/apis/crm/calls-types.generated.d.ts +755 -769
  131. package/dist/server/api-client-core/apis/crm/calls.generated.d.ts +5 -3
  132. package/dist/server/api-client-core/apis/crm/calls.generated.js +58 -57
  133. package/dist/server/api-client-core/apis/crm/calls.generated.js.map +1 -1
  134. package/dist/server/api-client-core/apis/crm/carts-types.generated.d.ts +755 -769
  135. package/dist/server/api-client-core/apis/crm/carts.generated.d.ts +5 -3
  136. package/dist/server/api-client-core/apis/crm/carts.generated.js +58 -57
  137. package/dist/server/api-client-core/apis/crm/carts.generated.js.map +1 -1
  138. package/dist/server/api-client-core/apis/crm/commerce-payments-types.generated.d.ts +755 -769
  139. package/dist/server/api-client-core/apis/crm/commerce-payments.generated.d.ts +5 -3
  140. package/dist/server/api-client-core/apis/crm/commerce-payments.generated.js +58 -57
  141. package/dist/server/api-client-core/apis/crm/commerce-payments.generated.js.map +1 -1
  142. package/dist/server/api-client-core/apis/crm/commerce-subscriptions-types.generated.d.ts +752 -766
  143. package/dist/server/api-client-core/apis/crm/commerce-subscriptions.generated.d.ts +5 -3
  144. package/dist/server/api-client-core/apis/crm/commerce-subscriptions.generated.js +58 -57
  145. package/dist/server/api-client-core/apis/crm/commerce-subscriptions.generated.js.map +1 -1
  146. package/dist/server/api-client-core/apis/crm/communications-types.generated.d.ts +755 -769
  147. package/dist/server/api-client-core/apis/crm/communications.generated.d.ts +5 -3
  148. package/dist/server/api-client-core/apis/crm/communications.generated.js +58 -57
  149. package/dist/server/api-client-core/apis/crm/communications.generated.js.map +1 -1
  150. package/dist/server/api-client-core/apis/crm/companies-types.generated.d.ts +769 -795
  151. package/dist/server/api-client-core/apis/crm/companies.generated.d.ts +5 -3
  152. package/dist/server/api-client-core/apis/crm/companies.generated.js +59 -58
  153. package/dist/server/api-client-core/apis/crm/companies.generated.js.map +1 -1
  154. package/dist/server/api-client-core/apis/crm/contacts-types.generated.d.ts +786 -812
  155. package/dist/server/api-client-core/apis/crm/contacts.generated.d.ts +5 -3
  156. package/dist/server/api-client-core/apis/crm/contacts.generated.js +60 -61
  157. package/dist/server/api-client-core/apis/crm/contacts.generated.js.map +1 -1
  158. package/dist/server/api-client-core/apis/crm/contracts-types.generated.d.ts +796 -777
  159. package/dist/server/api-client-core/apis/crm/contracts.generated.d.ts +8 -3
  160. package/dist/server/api-client-core/apis/crm/contracts.generated.js +60 -57
  161. package/dist/server/api-client-core/apis/crm/contracts.generated.js.map +1 -1
  162. package/dist/server/api-client-core/apis/crm/courses-types.generated.d.ts +758 -772
  163. package/dist/server/api-client-core/apis/crm/courses.generated.d.ts +5 -3
  164. package/dist/server/api-client-core/apis/crm/courses.generated.js +58 -57
  165. package/dist/server/api-client-core/apis/crm/courses.generated.js.map +1 -1
  166. package/dist/server/api-client-core/apis/crm/crm-owners-types.generated.d.ts +103 -115
  167. package/dist/server/api-client-core/apis/crm/crm-owners.generated.d.ts +3 -3
  168. package/dist/server/api-client-core/apis/crm/crm-owners.generated.js +4 -3
  169. package/dist/server/api-client-core/apis/crm/crm-owners.generated.js.map +1 -1
  170. package/dist/server/api-client-core/apis/crm/custom-objects-types.generated.d.ts +833 -848
  171. package/dist/server/api-client-core/apis/crm/custom-objects.generated.d.ts +6 -3
  172. package/dist/server/api-client-core/apis/crm/custom-objects.generated.js +91 -90
  173. package/dist/server/api-client-core/apis/crm/custom-objects.generated.js.map +1 -1
  174. package/dist/server/api-client-core/apis/crm/deal-splits-types.generated.d.ts +158 -170
  175. package/dist/server/api-client-core/apis/crm/deal-splits.generated.d.ts +3 -3
  176. package/dist/server/api-client-core/apis/crm/deal-splits.generated.js +4 -3
  177. package/dist/server/api-client-core/apis/crm/deal-splits.generated.js.map +1 -1
  178. package/dist/server/api-client-core/apis/crm/deals-types.generated.d.ts +771 -785
  179. package/dist/server/api-client-core/apis/crm/deals.generated.d.ts +5 -3
  180. package/dist/server/api-client-core/apis/crm/deals.generated.js +59 -58
  181. package/dist/server/api-client-core/apis/crm/deals.generated.js.map +1 -1
  182. package/dist/server/api-client-core/apis/crm/discounts-types.generated.d.ts +754 -768
  183. package/dist/server/api-client-core/apis/crm/discounts.generated.d.ts +5 -3
  184. package/dist/server/api-client-core/apis/crm/discounts.generated.js +58 -57
  185. package/dist/server/api-client-core/apis/crm/discounts.generated.js.map +1 -1
  186. package/dist/server/api-client-core/apis/crm/emails-types.generated.d.ts +755 -769
  187. package/dist/server/api-client-core/apis/crm/emails.generated.d.ts +5 -3
  188. package/dist/server/api-client-core/apis/crm/emails.generated.js +58 -57
  189. package/dist/server/api-client-core/apis/crm/emails.generated.js.map +1 -1
  190. package/dist/server/api-client-core/apis/crm/exports-types.generated.d.ts +227 -251
  191. package/dist/server/api-client-core/apis/crm/exports.generated.d.ts +2 -2
  192. package/dist/server/api-client-core/apis/crm/exports.generated.js +4 -5
  193. package/dist/server/api-client-core/apis/crm/exports.generated.js.map +1 -1
  194. package/dist/server/api-client-core/apis/crm/feedback-submissions-types.generated.d.ts +551 -565
  195. package/dist/server/api-client-core/apis/crm/feedback-submissions.generated.d.ts +5 -3
  196. package/dist/server/api-client-core/apis/crm/feedback-submissions.generated.js +45 -46
  197. package/dist/server/api-client-core/apis/crm/feedback-submissions.generated.js.map +1 -1
  198. package/dist/server/api-client-core/apis/crm/fees-types.generated.d.ts +755 -769
  199. package/dist/server/api-client-core/apis/crm/fees.generated.d.ts +5 -3
  200. package/dist/server/api-client-core/apis/crm/fees.generated.js +58 -57
  201. package/dist/server/api-client-core/apis/crm/fees.generated.js.map +1 -1
  202. package/dist/server/api-client-core/apis/crm/goal-targets-types.generated.d.ts +755 -769
  203. package/dist/server/api-client-core/apis/crm/goal-targets.generated.d.ts +5 -3
  204. package/dist/server/api-client-core/apis/crm/goal-targets.generated.js +58 -57
  205. package/dist/server/api-client-core/apis/crm/goal-targets.generated.js.map +1 -1
  206. package/dist/server/api-client-core/apis/crm/imports-types.generated.d.ts +305 -329
  207. package/dist/server/api-client-core/apis/crm/imports.generated.d.ts +2 -2
  208. package/dist/server/api-client-core/apis/crm/imports.generated.js +20 -23
  209. package/dist/server/api-client-core/apis/crm/imports.generated.js.map +1 -1
  210. package/dist/server/api-client-core/apis/crm/invoices-types.generated.d.ts +755 -769
  211. package/dist/server/api-client-core/apis/crm/invoices.generated.d.ts +5 -3
  212. package/dist/server/api-client-core/apis/crm/invoices.generated.js +58 -57
  213. package/dist/server/api-client-core/apis/crm/invoices.generated.js.map +1 -1
  214. package/dist/server/api-client-core/apis/crm/leads-types.generated.d.ts +755 -769
  215. package/dist/server/api-client-core/apis/crm/leads.generated.d.ts +5 -3
  216. package/dist/server/api-client-core/apis/crm/leads.generated.js +58 -57
  217. package/dist/server/api-client-core/apis/crm/leads.generated.js.map +1 -1
  218. package/dist/server/api-client-core/apis/crm/limits-tracking-types.generated.d.ts +251 -263
  219. package/dist/server/api-client-core/apis/crm/limits-tracking.generated.d.ts +3 -3
  220. package/dist/server/api-client-core/apis/crm/limits-tracking.generated.js +4 -3
  221. package/dist/server/api-client-core/apis/crm/limits-tracking.generated.js.map +1 -1
  222. package/dist/server/api-client-core/apis/crm/line-items-types.generated.d.ts +755 -769
  223. package/dist/server/api-client-core/apis/crm/line-items.generated.d.ts +5 -3
  224. package/dist/server/api-client-core/apis/crm/line-items.generated.js +58 -57
  225. package/dist/server/api-client-core/apis/crm/line-items.generated.js.map +1 -1
  226. package/dist/server/api-client-core/apis/crm/listings-types.generated.d.ts +758 -772
  227. package/dist/server/api-client-core/apis/crm/listings.generated.d.ts +5 -3
  228. package/dist/server/api-client-core/apis/crm/listings.generated.js +58 -57
  229. package/dist/server/api-client-core/apis/crm/listings.generated.js.map +1 -1
  230. package/dist/server/api-client-core/apis/crm/lists-types.generated.d.ts +2075 -2111
  231. package/dist/server/api-client-core/apis/crm/lists.generated.d.ts +2 -2
  232. package/dist/server/api-client-core/apis/crm/lists.generated.js +97 -98
  233. package/dist/server/api-client-core/apis/crm/lists.generated.js.map +1 -1
  234. package/dist/server/api-client-core/apis/crm/meetings-types.generated.d.ts +755 -769
  235. package/dist/server/api-client-core/apis/crm/meetings.generated.d.ts +5 -3
  236. package/dist/server/api-client-core/apis/crm/meetings.generated.js +58 -57
  237. package/dist/server/api-client-core/apis/crm/meetings.generated.js.map +1 -1
  238. package/dist/server/api-client-core/apis/crm/notes-types.generated.d.ts +755 -769
  239. package/dist/server/api-client-core/apis/crm/notes.generated.d.ts +5 -3
  240. package/dist/server/api-client-core/apis/crm/notes.generated.js +58 -57
  241. package/dist/server/api-client-core/apis/crm/notes.generated.js.map +1 -1
  242. package/dist/server/api-client-core/apis/crm/object-library-types.generated.d.ts +24 -36
  243. package/dist/server/api-client-core/apis/crm/object-library.generated.d.ts +3 -3
  244. package/dist/server/api-client-core/apis/crm/object-library.generated.js +4 -3
  245. package/dist/server/api-client-core/apis/crm/object-library.generated.js.map +1 -1
  246. package/dist/server/api-client-core/apis/crm/objects-types.generated.d.ts +620 -645
  247. package/dist/server/api-client-core/apis/crm/objects.generated.d.ts +4 -3
  248. package/dist/server/api-client-core/apis/crm/objects.generated.js +66 -67
  249. package/dist/server/api-client-core/apis/crm/objects.generated.js.map +1 -1
  250. package/dist/server/api-client-core/apis/crm/orders-types.generated.d.ts +747 -761
  251. package/dist/server/api-client-core/apis/crm/orders.generated.d.ts +5 -3
  252. package/dist/server/api-client-core/apis/crm/orders.generated.js +58 -57
  253. package/dist/server/api-client-core/apis/crm/orders.generated.js.map +1 -1
  254. package/dist/server/api-client-core/apis/crm/partner-clients-types.generated.d.ts +646 -660
  255. package/dist/server/api-client-core/apis/crm/partner-clients.generated.d.ts +5 -3
  256. package/dist/server/api-client-core/apis/crm/partner-clients.generated.js +63 -62
  257. package/dist/server/api-client-core/apis/crm/partner-clients.generated.js.map +1 -1
  258. package/dist/server/api-client-core/apis/crm/partner-services-types.generated.d.ts +646 -660
  259. package/dist/server/api-client-core/apis/crm/partner-services.generated.d.ts +5 -3
  260. package/dist/server/api-client-core/apis/crm/partner-services.generated.js +63 -62
  261. package/dist/server/api-client-core/apis/crm/partner-services.generated.js.map +1 -1
  262. package/dist/server/api-client-core/apis/crm/pipelines-types.generated.d.ts +320 -332
  263. package/dist/server/api-client-core/apis/crm/pipelines.generated.d.ts +2 -2
  264. package/dist/server/api-client-core/apis/crm/pipelines.generated.js +3 -2
  265. package/dist/server/api-client-core/apis/crm/pipelines.generated.js.map +1 -1
  266. package/dist/server/api-client-core/apis/crm/postal-mail-types.generated.d.ts +744 -758
  267. package/dist/server/api-client-core/apis/crm/postal-mail.generated.d.ts +5 -3
  268. package/dist/server/api-client-core/apis/crm/postal-mail.generated.js +58 -57
  269. package/dist/server/api-client-core/apis/crm/postal-mail.generated.js.map +1 -1
  270. package/dist/server/api-client-core/apis/crm/products-types.generated.d.ts +747 -761
  271. package/dist/server/api-client-core/apis/crm/products.generated.d.ts +5 -3
  272. package/dist/server/api-client-core/apis/crm/products.generated.js +58 -57
  273. package/dist/server/api-client-core/apis/crm/products.generated.js.map +1 -1
  274. package/dist/server/api-client-core/apis/crm/projects-types.generated.d.ts +761 -787
  275. package/dist/server/api-client-core/apis/crm/projects.generated.d.ts +5 -3
  276. package/dist/server/api-client-core/apis/crm/projects.generated.js +59 -58
  277. package/dist/server/api-client-core/apis/crm/projects.generated.js.map +1 -1
  278. package/dist/server/api-client-core/apis/crm/properties-types.generated.d.ts +526 -528
  279. package/dist/server/api-client-core/apis/crm/properties.generated.d.ts +5 -3
  280. package/dist/server/api-client-core/apis/crm/properties.generated.js +79 -78
  281. package/dist/server/api-client-core/apis/crm/properties.generated.js.map +1 -1
  282. package/dist/server/api-client-core/apis/crm/property-validations-types.generated.d.ts +71 -83
  283. package/dist/server/api-client-core/apis/crm/property-validations.generated.d.ts +3 -3
  284. package/dist/server/api-client-core/apis/crm/property-validations.generated.js +4 -3
  285. package/dist/server/api-client-core/apis/crm/property-validations.generated.js.map +1 -1
  286. package/dist/server/api-client-core/apis/crm/public-app-crm-cards-types.generated.d.ts +409 -433
  287. package/dist/server/api-client-core/apis/crm/public-app-crm-cards.generated.d.ts +3 -3
  288. package/dist/server/api-client-core/apis/crm/public-app-crm-cards.generated.js +24 -25
  289. package/dist/server/api-client-core/apis/crm/public-app-crm-cards.generated.js.map +1 -1
  290. package/dist/server/api-client-core/apis/crm/public-app-feature-flags-types.generated.d.ts +156 -169
  291. package/dist/server/api-client-core/apis/crm/public-app-feature-flags.generated.d.ts +4 -3
  292. package/dist/server/api-client-core/apis/crm/public-app-feature-flags.generated.js +55 -56
  293. package/dist/server/api-client-core/apis/crm/public-app-feature-flags.generated.js.map +1 -1
  294. package/dist/server/api-client-core/apis/crm/quotes-types.generated.d.ts +747 -761
  295. package/dist/server/api-client-core/apis/crm/quotes.generated.d.ts +5 -3
  296. package/dist/server/api-client-core/apis/crm/quotes.generated.js +58 -57
  297. package/dist/server/api-client-core/apis/crm/quotes.generated.js.map +1 -1
  298. package/dist/server/api-client-core/apis/crm/schemas-types.generated.d.ts +575 -600
  299. package/dist/server/api-client-core/apis/crm/schemas.generated.d.ts +4 -3
  300. package/dist/server/api-client-core/apis/crm/schemas.generated.js +33 -34
  301. package/dist/server/api-client-core/apis/crm/schemas.generated.js.map +1 -1
  302. package/dist/server/api-client-core/apis/crm/services-types.generated.d.ts +750 -764
  303. package/dist/server/api-client-core/apis/crm/services.generated.d.ts +5 -3
  304. package/dist/server/api-client-core/apis/crm/services.generated.js +58 -57
  305. package/dist/server/api-client-core/apis/crm/services.generated.js.map +1 -1
  306. package/dist/server/api-client-core/apis/crm/tasks-types.generated.d.ts +747 -761
  307. package/dist/server/api-client-core/apis/crm/tasks.generated.d.ts +5 -3
  308. package/dist/server/api-client-core/apis/crm/tasks.generated.js +58 -57
  309. package/dist/server/api-client-core/apis/crm/tasks.generated.js.map +1 -1
  310. package/dist/server/api-client-core/apis/crm/taxes-types.generated.d.ts +747 -761
  311. package/dist/server/api-client-core/apis/crm/taxes.generated.d.ts +5 -3
  312. package/dist/server/api-client-core/apis/crm/taxes.generated.js +58 -57
  313. package/dist/server/api-client-core/apis/crm/taxes.generated.js.map +1 -1
  314. package/dist/server/api-client-core/apis/crm/tickets-types.generated.d.ts +764 -790
  315. package/dist/server/api-client-core/apis/crm/tickets.generated.d.ts +5 -3
  316. package/dist/server/api-client-core/apis/crm/tickets.generated.js +59 -58
  317. package/dist/server/api-client-core/apis/crm/tickets.generated.js.map +1 -1
  318. package/dist/server/api-client-core/apis/crm/timeline-types.generated.d.ts +136 -149
  319. package/dist/server/api-client-core/apis/crm/timeline.generated.d.ts +4 -3
  320. package/dist/server/api-client-core/apis/crm/timeline.generated.js +5 -6
  321. package/dist/server/api-client-core/apis/crm/timeline.generated.js.map +1 -1
  322. package/dist/server/api-client-core/apis/crm/transcriptions-types.generated.d.ts +104 -117
  323. package/dist/server/api-client-core/apis/crm/transcriptions.generated.d.ts +4 -3
  324. package/dist/server/api-client-core/apis/crm/transcriptions.generated.js +7 -10
  325. package/dist/server/api-client-core/apis/crm/transcriptions.generated.js.map +1 -1
  326. package/dist/server/api-client-core/apis/crm/users-types.generated.d.ts +747 -761
  327. package/dist/server/api-client-core/apis/crm/users.generated.d.ts +5 -3
  328. package/dist/server/api-client-core/apis/crm/users.generated.js +58 -57
  329. package/dist/server/api-client-core/apis/crm/users.generated.js.map +1 -1
  330. package/dist/server/api-client-core/apis/crm/video-conferencing-extension-types.generated.d.ts +28 -40
  331. package/dist/server/api-client-core/apis/crm/video-conferencing-extension.generated.d.ts +3 -3
  332. package/dist/server/api-client-core/apis/crm/video-conferencing-extension.generated.js +4 -3
  333. package/dist/server/api-client-core/apis/crm/video-conferencing-extension.generated.js.map +1 -1
  334. package/dist/server/api-client-core/apis/events/manage-event-definitions-types.generated.d.ts +909 -945
  335. package/dist/server/api-client-core/apis/events/manage-event-definitions.generated.d.ts +3 -3
  336. package/dist/server/api-client-core/apis/events/manage-event-definitions.generated.js +29 -30
  337. package/dist/server/api-client-core/apis/events/manage-event-definitions.generated.js.map +1 -1
  338. package/dist/server/api-client-core/apis/events/send-event-completions-types.generated.d.ts +49 -62
  339. package/dist/server/api-client-core/apis/events/send-event-completions.generated.d.ts +4 -3
  340. package/dist/server/api-client-core/apis/events/send-event-completions.generated.js +4 -5
  341. package/dist/server/api-client-core/apis/events/send-event-completions.generated.js.map +1 -1
  342. package/dist/server/api-client-core/apis/events-types.generated.d.ts +99 -111
  343. package/dist/server/api-client-core/apis/events.generated.d.ts +3 -3
  344. package/dist/server/api-client-core/apis/events.generated.js +4 -3
  345. package/dist/server/api-client-core/apis/events.generated.js.map +1 -1
  346. package/dist/server/api-client-core/apis/files-types.generated.d.ts +636 -649
  347. package/dist/server/api-client-core/apis/files.generated.d.ts +4 -3
  348. package/dist/server/api-client-core/apis/files.generated.js +112 -113
  349. package/dist/server/api-client-core/apis/files.generated.js.map +1 -1
  350. package/dist/server/api-client-core/apis/marketing/campaigns-public-api-types.generated.d.ts +799 -816
  351. package/dist/server/api-client-core/apis/marketing/campaigns-public-api.generated.d.ts +8 -3
  352. package/dist/server/api-client-core/apis/marketing/campaigns-public-api.generated.js +126 -127
  353. package/dist/server/api-client-core/apis/marketing/campaigns-public-api.generated.js.map +1 -1
  354. package/dist/server/api-client-core/apis/marketing/marketing-emails-types.generated.d.ts +745 -769
  355. package/dist/server/api-client-core/apis/marketing/marketing-emails.generated.d.ts +3 -3
  356. package/dist/server/api-client-core/apis/marketing/marketing-emails.generated.js +100 -103
  357. package/dist/server/api-client-core/apis/marketing/marketing-emails.generated.js.map +1 -1
  358. package/dist/server/api-client-core/apis/marketing/marketing-events-types.generated.d.ts +1504 -1546
  359. package/dist/server/api-client-core/apis/marketing/marketing-events.generated.d.ts +9 -3
  360. package/dist/server/api-client-core/apis/marketing/marketing-events.generated.js +162 -167
  361. package/dist/server/api-client-core/apis/marketing/marketing-events.generated.js.map +1 -1
  362. package/dist/server/api-client-core/apis/marketing/single-send-types.generated.d.ts +91 -103
  363. package/dist/server/api-client-core/apis/marketing/single-send.generated.d.ts +3 -3
  364. package/dist/server/api-client-core/apis/marketing/single-send.generated.js +3 -2
  365. package/dist/server/api-client-core/apis/marketing/single-send.generated.js.map +1 -1
  366. package/dist/server/api-client-core/apis/marketing/transactional-single-send-types.generated.d.ts +187 -200
  367. package/dist/server/api-client-core/apis/marketing/transactional-single-send.generated.d.ts +4 -3
  368. package/dist/server/api-client-core/apis/marketing/transactional-single-send.generated.js +14 -15
  369. package/dist/server/api-client-core/apis/marketing/transactional-single-send.generated.js.map +1 -1
  370. package/dist/server/api-client-core/apis/meta/origins-types.generated.d.ts +41 -53
  371. package/dist/server/api-client-core/apis/meta/origins.generated.d.ts +3 -3
  372. package/dist/server/api-client-core/apis/meta/origins.generated.js +4 -3
  373. package/dist/server/api-client-core/apis/meta/origins.generated.js.map +1 -1
  374. package/dist/server/api-client-core/apis/scheduler/meetings-types.generated.d.ts +850 -863
  375. package/dist/server/api-client-core/apis/scheduler/meetings.generated.d.ts +4 -3
  376. package/dist/server/api-client-core/apis/scheduler/meetings.generated.js +28 -29
  377. package/dist/server/api-client-core/apis/scheduler/meetings.generated.js.map +1 -1
  378. package/dist/server/api-client-core/apis/settings/multicurrency-types.generated.d.ts +281 -296
  379. package/dist/server/api-client-core/apis/settings/multicurrency.generated.d.ts +6 -3
  380. package/dist/server/api-client-core/apis/settings/multicurrency.generated.js +32 -33
  381. package/dist/server/api-client-core/apis/settings/multicurrency.generated.js.map +1 -1
  382. package/dist/server/api-client-core/apis/settings/tax-rates-types.generated.d.ts +71 -83
  383. package/dist/server/api-client-core/apis/settings/tax-rates.generated.d.ts +3 -3
  384. package/dist/server/api-client-core/apis/settings/tax-rates.generated.js +4 -3
  385. package/dist/server/api-client-core/apis/settings/tax-rates.generated.js.map +1 -1
  386. package/dist/server/api-client-core/apis/settings/user-provisioning-types.generated.d.ts +202 -250
  387. package/dist/server/api-client-core/apis/settings/user-provisioning.generated.d.ts +3 -3
  388. package/dist/server/api-client-core/apis/settings/user-provisioning.generated.js +23 -26
  389. package/dist/server/api-client-core/apis/settings/user-provisioning.generated.js.map +1 -1
  390. package/dist/server/api-client-core/apis/webhooks-journal-types.generated.d.ts +490 -526
  391. package/dist/server/api-client-core/apis/webhooks-journal.generated.d.ts +3 -3
  392. package/dist/server/api-client-core/apis/webhooks-journal.generated.js +65 -70
  393. package/dist/server/api-client-core/apis/webhooks-journal.generated.js.map +1 -1
  394. package/dist/server/api-client-core/apis/webhooks-types.generated.d.ts +816 -852
  395. package/dist/server/api-client-core/apis/webhooks.generated.d.ts +3 -3
  396. package/dist/server/api-client-core/apis/webhooks.generated.js +93 -98
  397. package/dist/server/api-client-core/apis/webhooks.generated.js.map +1 -1
  398. package/dist/server/api-client-core/binary-data.js.map +1 -1
  399. package/dist/server/api-client-core/client.js +5 -1
  400. package/dist/server/api-client-core/client.js.map +1 -1
  401. package/dist/server/api-client-core/codegen-helpers/file-op-wrappers.js.map +1 -1
  402. package/dist/server/api-client-core/errors.js.map +1 -1
  403. package/dist/server/api-client-core/op.js.map +1 -1
  404. package/dist/server/api-client-core/pagination.d.ts +2 -2
  405. package/dist/server/api-client-core/pagination.js +2 -2
  406. package/dist/server/api-client-core/pagination.js.map +1 -1
  407. package/dist/server/api-client-core/plugins/fetch-transport.js +33 -9
  408. package/dist/server/api-client-core/plugins/fetch-transport.js.map +1 -1
  409. package/dist/server/api-client-core/types.d.ts +1 -1
  410. package/dist/server/api-client.d.ts +184 -184
  411. package/dist/server/api-client.js +89 -89
  412. package/dist/server/constants.js +33 -6
  413. package/dist/server/constants.js.map +1 -1
  414. package/dist/server/deno/start.js.map +1 -1
  415. package/dist/server/hono/hono-request-handler.js +32 -23
  416. package/dist/server/hono/hono-request-handler.js.map +1 -1
  417. package/dist/server/hono/hubspot-connect-routes/auth-complete.js +155 -0
  418. package/dist/server/hono/hubspot-connect-routes/auth-complete.js.map +1 -0
  419. package/dist/server/hono/hubspot-connect-routes/auth-init-session.js +25 -12
  420. package/dist/server/hono/hubspot-connect-routes/auth-init-session.js.map +1 -1
  421. package/dist/server/hono/hubspot-connect-routes/auth-logout.js +32 -9
  422. package/dist/server/hono/hubspot-connect-routes/auth-logout.js.map +1 -1
  423. package/dist/server/hono/hubspot-connect-routes/auth-refresh.js +32 -18
  424. package/dist/server/hono/hubspot-connect-routes/auth-refresh.js.map +1 -1
  425. package/dist/server/hono/hubspot-connect-routes/cimd-client-metadata-types.js.map +1 -1
  426. package/dist/server/hono/hubspot-connect-routes/cimd-public-routes.js +4 -1
  427. package/dist/server/hono/hubspot-connect-routes/cimd-public-routes.js.map +1 -1
  428. package/dist/server/hono/hubspot-connect-routes/fetch-hubspot-client-metadata.js.map +1 -1
  429. package/dist/server/hono/hubspot-connect-routes/hubspot-connect-routes.js +4 -2
  430. package/dist/server/hono/hubspot-connect-routes/hubspot-connect-routes.js.map +1 -1
  431. package/dist/server/hono/hubspot-connect-routes/load-hubspot-connect-routes-env.js +5 -5
  432. package/dist/server/hono/hubspot-connect-routes/load-hubspot-connect-routes-env.js.map +1 -1
  433. package/dist/server/hono/hubspot-connect-routes/oauth-client.js.map +1 -1
  434. package/dist/server/hono/hubspot-connect-routes/utils.js +53 -6
  435. package/dist/server/hono/hubspot-connect-routes/utils.js.map +1 -1
  436. package/dist/server/hono/types.d.ts +9 -10
  437. package/dist/server/hono/utils/cookie-utils.js +2 -1
  438. package/dist/server/hono/utils/cookie-utils.js.map +1 -1
  439. package/dist/server/hono/utils/cors-middleware.js +85 -0
  440. package/dist/server/hono/utils/cors-middleware.js.map +1 -0
  441. package/dist/server/import-app-keys.js.map +1 -1
  442. package/dist/server/lovable/create-app-function-start.d.ts +1 -1
  443. package/dist/server/lovable/create-app-function-start.js +4 -6
  444. package/dist/server/lovable/create-app-function-start.js.map +1 -1
  445. package/dist/server/lovable/hubspot-connect/index.js.map +1 -1
  446. package/dist/server/lovable/hubspot-connect/run-hubspot-connect-lovable-server.js +14 -15
  447. package/dist/server/lovable/hubspot-connect/run-hubspot-connect-lovable-server.js.map +1 -1
  448. package/dist/server/sanitize-request.js +14 -11
  449. package/dist/server/sanitize-request.js.map +1 -1
  450. package/dist/server/secure-start-core.js +4 -5
  451. package/dist/server/secure-start-core.js.map +1 -1
  452. package/dist/server/shared/constants.js +22 -9
  453. package/dist/server/shared/constants.js.map +1 -1
  454. package/dist/server/shared/encoding/base64.js.map +1 -1
  455. package/dist/server/shared/encoding/sha256.js.map +1 -1
  456. package/dist/server/shared/logger.js.map +1 -1
  457. package/dist/server/types.d.ts +1 -35
  458. package/dist/server/utils/cookie-utils.js.map +1 -1
  459. package/dist/server/utils/dpop-utils.js.map +1 -1
  460. package/dist/server/utils/env-utils.js +60 -7
  461. package/dist/server/utils/env-utils.js.map +1 -1
  462. package/dist/server/utils/hubspot-dpop-auth-headers.js +38 -0
  463. package/dist/server/utils/hubspot-dpop-auth-headers.js.map +1 -0
  464. package/dist/server/utils/jwk-utils.js.map +1 -1
  465. package/dist/server/utils/jwt-utils.js.map +1 -1
  466. package/package.json +16 -22
  467. package/src/browser/app-connect-controller/README.md +5 -2
  468. package/src/browser/app-connect-controller/connect-start.test.ts +156 -0
  469. package/src/browser/app-connect-controller/connect-start.ts +18 -3
  470. package/src/browser/app-connect-controller/disconnect.ts +4 -7
  471. package/src/browser/app-connect-controller/init.test.ts +260 -0
  472. package/src/browser/app-connect-controller/init.ts +44 -19
  473. package/src/browser/app-connect-controller/oauth-complete.test.ts +106 -0
  474. package/src/browser/app-connect-controller/oauth-complete.ts +53 -0
  475. package/src/browser/app-connect-controller/oauth-popup.test.ts +238 -0
  476. package/src/browser/app-connect-controller/oauth-popup.ts +160 -0
  477. package/src/browser/app-connect-controller/utils/iframe-utils.ts +12 -0
  478. package/src/browser/app-connect-controller/utils/resolve-oauth-connect-mode.test.ts +35 -0
  479. package/src/browser/app-connect-controller/utils/resolve-oauth-connect-mode.ts +21 -0
  480. package/src/browser/index.ts +1 -0
  481. package/src/browser/react/components/AppConnectHeader/AppConnectHeader.tsx +3 -5
  482. package/src/browser/react/components/ConnectButton/ConnectButton.tsx +1 -1
  483. package/src/browser/react/lovable/LovableHubSpotAppConnect.tsx +12 -2
  484. package/src/browser/types.ts +21 -5
  485. package/src/server/api-client-core/__tests__/errors.test.ts +309 -0
  486. package/src/server/api-client-core/__tests__/operation-headers.test.ts +251 -0
  487. package/src/server/api-client-core/apis/account/account-info-types.generated.ts +74 -88
  488. package/src/server/api-client-core/apis/account/account-info.generated.ts +2 -4
  489. package/src/server/api-client-core/apis/account/audit-logs-types.generated.ts +346 -360
  490. package/src/server/api-client-core/apis/account/audit-logs.generated.ts +2 -4
  491. package/src/server/api-client-core/apis/auth/oauth-types.generated.ts +81 -99
  492. package/src/server/api-client-core/apis/auth/oauth.generated.ts +1 -3
  493. package/src/server/api-client-core/apis/automation/actions-types.generated.ts +1162 -1188
  494. package/src/server/api-client-core/apis/automation/actions.generated.ts +10 -12
  495. package/src/server/api-client-core/apis/automation/sequences-types.generated.ts +379 -393
  496. package/src/server/api-client-core/apis/automation/sequences.generated.ts +1 -3
  497. package/src/server/api-client-core/apis/business-units-types.generated.ts +43 -59
  498. package/src/server/api-client-core/apis/business-units.generated.ts +9 -10
  499. package/src/server/api-client-core/apis/cms/authors-types.generated.ts +3823 -3853
  500. package/src/server/api-client-core/apis/cms/authors.generated.ts +31 -37
  501. package/src/server/api-client-core/apis/cms/blog-settings-types.generated.ts +3667 -3696
  502. package/src/server/api-client-core/apis/cms/blog-settings.generated.ts +46 -51
  503. package/src/server/api-client-core/apis/cms/cms-content-audit-types.generated.ts +138 -163
  504. package/src/server/api-client-core/apis/cms/cms-content-audit.generated.ts +2 -10
  505. package/src/server/api-client-core/apis/cms/domains-types.generated.ts +153 -167
  506. package/src/server/api-client-core/apis/cms/domains.generated.ts +2 -4
  507. package/src/server/api-client-core/apis/cms/hubdb-types.generated.ts +1013 -1063
  508. package/src/server/api-client-core/apis/cms/hubdb.generated.ts +3 -5
  509. package/src/server/api-client-core/apis/cms/media-bridge-types.generated.ts +8623 -8657
  510. package/src/server/api-client-core/apis/cms/media-bridge.generated.ts +16 -22
  511. package/src/server/api-client-core/apis/cms/pages-types.generated.ts +5259 -5272
  512. package/src/server/api-client-core/apis/cms/pages.generated.ts +262 -226
  513. package/src/server/api-client-core/apis/cms/posts-types.generated.ts +4420 -4438
  514. package/src/server/api-client-core/apis/cms/posts.generated.ts +108 -106
  515. package/src/server/api-client-core/apis/cms/site-search-types.generated.ts +1867 -1881
  516. package/src/server/api-client-core/apis/cms/site-search.generated.ts +2 -4
  517. package/src/server/api-client-core/apis/cms/source-code-types.generated.ts +144 -177
  518. package/src/server/api-client-core/apis/cms/source-code.generated.ts +15 -23
  519. package/src/server/api-client-core/apis/cms/tags-types.generated.ts +3820 -3845
  520. package/src/server/api-client-core/apis/cms/tags.generated.ts +80 -82
  521. package/src/server/api-client-core/apis/cms/url-mappings-types.generated.ts +188 -202
  522. package/src/server/api-client-core/apis/cms/url-mappings.generated.ts +2 -4
  523. package/src/server/api-client-core/apis/cms/url-redirects-types.generated.ts +182 -196
  524. package/src/server/api-client-core/apis/cms/url-redirects.generated.ts +2 -4
  525. package/src/server/api-client-core/apis/communication-preferences/subscriptions-types.generated.ts +810 -828
  526. package/src/server/api-client-core/apis/communication-preferences/subscriptions.generated.ts +66 -63
  527. package/src/server/api-client-core/apis/conversations/custom-channels-types.generated.ts +564 -601
  528. package/src/server/api-client-core/apis/conversations/custom-channels.generated.ts +90 -86
  529. package/src/server/api-client-core/apis/conversations/visitor-identification-types.generated.ts +31 -44
  530. package/src/server/api-client-core/apis/conversations/visitor-identification.generated.ts +6 -8
  531. package/src/server/api-client-core/apis/conversations-types.generated.ts +955 -991
  532. package/src/server/api-client-core/apis/conversations.generated.ts +6 -5
  533. package/src/server/api-client-core/apis/crm/app-uninstalls-types.generated.ts +7 -19
  534. package/src/server/api-client-core/apis/crm/app-uninstalls.generated.ts +2 -4
  535. package/src/server/api-client-core/apis/crm/appointments-types.generated.ts +965 -969
  536. package/src/server/api-client-core/apis/crm/appointments.generated.ts +143 -137
  537. package/src/server/api-client-core/apis/crm/associations-schema-types.generated.ts +292 -322
  538. package/src/server/api-client-core/apis/crm/associations-schema.generated.ts +17 -19
  539. package/src/server/api-client-core/apis/crm/associations-types.generated.ts +657 -675
  540. package/src/server/api-client-core/apis/crm/associations.generated.ts +70 -70
  541. package/src/server/api-client-core/apis/crm/calling-extensions-types.generated.ts +417 -441
  542. package/src/server/api-client-core/apis/crm/calling-extensions.generated.ts +62 -69
  543. package/src/server/api-client-core/apis/crm/calls-types.generated.ts +839 -856
  544. package/src/server/api-client-core/apis/crm/calls.generated.ts +42 -44
  545. package/src/server/api-client-core/apis/crm/carts-types.generated.ts +839 -856
  546. package/src/server/api-client-core/apis/crm/carts.generated.ts +42 -44
  547. package/src/server/api-client-core/apis/crm/commerce-payments-types.generated.ts +847 -856
  548. package/src/server/api-client-core/apis/crm/commerce-payments.generated.ts +73 -73
  549. package/src/server/api-client-core/apis/crm/commerce-subscriptions-types.generated.ts +844 -853
  550. package/src/server/api-client-core/apis/crm/commerce-subscriptions.generated.ts +50 -51
  551. package/src/server/api-client-core/apis/crm/communications-types.generated.ts +846 -856
  552. package/src/server/api-client-core/apis/crm/communications.generated.ts +73 -73
  553. package/src/server/api-client-core/apis/crm/companies-types.generated.ts +859 -885
  554. package/src/server/api-client-core/apis/crm/companies.generated.ts +44 -50
  555. package/src/server/api-client-core/apis/crm/contacts-types.generated.ts +875 -907
  556. package/src/server/api-client-core/apis/crm/contacts.generated.ts +46 -52
  557. package/src/server/api-client-core/apis/crm/contracts-types.generated.ts +894 -862
  558. package/src/server/api-client-core/apis/crm/contracts.generated.ts +66 -56
  559. package/src/server/api-client-core/apis/crm/courses-types.generated.ts +842 -859
  560. package/src/server/api-client-core/apis/crm/courses.generated.ts +42 -44
  561. package/src/server/api-client-core/apis/crm/crm-owners-types.generated.ts +102 -115
  562. package/src/server/api-client-core/apis/crm/crm-owners.generated.ts +2 -4
  563. package/src/server/api-client-core/apis/crm/custom-objects-types.generated.ts +900 -915
  564. package/src/server/api-client-core/apis/crm/custom-objects.generated.ts +128 -126
  565. package/src/server/api-client-core/apis/crm/deal-splits-types.generated.ts +157 -170
  566. package/src/server/api-client-core/apis/crm/deal-splits.generated.ts +2 -4
  567. package/src/server/api-client-core/apis/crm/deals-types.generated.ts +858 -875
  568. package/src/server/api-client-core/apis/crm/deals.generated.ts +42 -44
  569. package/src/server/api-client-core/apis/crm/discounts-types.generated.ts +842 -855
  570. package/src/server/api-client-core/apis/crm/discounts.generated.ts +42 -44
  571. package/src/server/api-client-core/apis/crm/emails-types.generated.ts +839 -856
  572. package/src/server/api-client-core/apis/crm/emails.generated.ts +42 -44
  573. package/src/server/api-client-core/apis/crm/exports-types.generated.ts +284 -314
  574. package/src/server/api-client-core/apis/crm/exports.generated.ts +6 -11
  575. package/src/server/api-client-core/apis/crm/feedback-submissions-types.generated.ts +607 -622
  576. package/src/server/api-client-core/apis/crm/feedback-submissions.generated.ts +84 -80
  577. package/src/server/api-client-core/apis/crm/fees-types.generated.ts +839 -856
  578. package/src/server/api-client-core/apis/crm/fees.generated.ts +42 -44
  579. package/src/server/api-client-core/apis/crm/goal-targets-types.generated.ts +845 -856
  580. package/src/server/api-client-core/apis/crm/goal-targets.generated.ts +50 -51
  581. package/src/server/api-client-core/apis/crm/imports-types.generated.ts +663 -692
  582. package/src/server/api-client-core/apis/crm/imports.generated.ts +2 -7
  583. package/src/server/api-client-core/apis/crm/invoices-types.generated.ts +839 -856
  584. package/src/server/api-client-core/apis/crm/invoices.generated.ts +42 -44
  585. package/src/server/api-client-core/apis/crm/leads-types.generated.ts +839 -856
  586. package/src/server/api-client-core/apis/crm/leads.generated.ts +42 -44
  587. package/src/server/api-client-core/apis/crm/limits-tracking-types.generated.ts +263 -275
  588. package/src/server/api-client-core/apis/crm/limits-tracking.generated.ts +2 -4
  589. package/src/server/api-client-core/apis/crm/line-items-types.generated.ts +843 -856
  590. package/src/server/api-client-core/apis/crm/line-items.generated.ts +42 -44
  591. package/src/server/api-client-core/apis/crm/listings-types.generated.ts +842 -859
  592. package/src/server/api-client-core/apis/crm/listings.generated.ts +42 -44
  593. package/src/server/api-client-core/apis/crm/lists-types.generated.ts +2794 -2845
  594. package/src/server/api-client-core/apis/crm/lists.generated.ts +8 -20
  595. package/src/server/api-client-core/apis/crm/meetings-types.generated.ts +839 -856
  596. package/src/server/api-client-core/apis/crm/meetings.generated.ts +42 -44
  597. package/src/server/api-client-core/apis/crm/notes-types.generated.ts +839 -856
  598. package/src/server/api-client-core/apis/crm/notes.generated.ts +42 -44
  599. package/src/server/api-client-core/apis/crm/object-library-types.generated.ts +26 -39
  600. package/src/server/api-client-core/apis/crm/object-library.generated.ts +2 -4
  601. package/src/server/api-client-core/apis/crm/objects-types.generated.ts +688 -716
  602. package/src/server/api-client-core/apis/crm/objects.generated.ts +79 -83
  603. package/src/server/api-client-core/apis/crm/orders-types.generated.ts +829 -846
  604. package/src/server/api-client-core/apis/crm/orders.generated.ts +45 -47
  605. package/src/server/api-client-core/apis/crm/partner-clients-types.generated.ts +721 -735
  606. package/src/server/api-client-core/apis/crm/partner-clients.generated.ts +60 -60
  607. package/src/server/api-client-core/apis/crm/partner-services-types.generated.ts +720 -734
  608. package/src/server/api-client-core/apis/crm/partner-services.generated.ts +60 -60
  609. package/src/server/api-client-core/apis/crm/pipelines-types.generated.ts +366 -388
  610. package/src/server/api-client-core/apis/crm/pipelines.generated.ts +2 -4
  611. package/src/server/api-client-core/apis/crm/postal-mail-types.generated.ts +830 -843
  612. package/src/server/api-client-core/apis/crm/postal-mail.generated.ts +45 -47
  613. package/src/server/api-client-core/apis/crm/products-types.generated.ts +829 -846
  614. package/src/server/api-client-core/apis/crm/products.generated.ts +45 -47
  615. package/src/server/api-client-core/apis/crm/projects-types.generated.ts +845 -875
  616. package/src/server/api-client-core/apis/crm/projects.generated.ts +47 -53
  617. package/src/server/api-client-core/apis/crm/properties-types.generated.ts +623 -626
  618. package/src/server/api-client-core/apis/crm/properties.generated.ts +33 -28
  619. package/src/server/api-client-core/apis/crm/property-validations-types.generated.ts +160 -174
  620. package/src/server/api-client-core/apis/crm/property-validations.generated.ts +2 -6
  621. package/src/server/api-client-core/apis/crm/public-app-crm-cards-types.generated.ts +467 -494
  622. package/src/server/api-client-core/apis/crm/public-app-crm-cards.generated.ts +7 -15
  623. package/src/server/api-client-core/apis/crm/public-app-feature-flags-types.generated.ts +166 -177
  624. package/src/server/api-client-core/apis/crm/public-app-feature-flags.generated.ts +6 -8
  625. package/src/server/api-client-core/apis/crm/quotes-types.generated.ts +829 -846
  626. package/src/server/api-client-core/apis/crm/quotes.generated.ts +45 -47
  627. package/src/server/api-client-core/apis/crm/schemas-types.generated.ts +613 -640
  628. package/src/server/api-client-core/apis/crm/schemas.generated.ts +8 -14
  629. package/src/server/api-client-core/apis/crm/services-types.generated.ts +832 -849
  630. package/src/server/api-client-core/apis/crm/services.generated.ts +45 -47
  631. package/src/server/api-client-core/apis/crm/tasks-types.generated.ts +829 -846
  632. package/src/server/api-client-core/apis/crm/tasks.generated.ts +45 -47
  633. package/src/server/api-client-core/apis/crm/taxes-types.generated.ts +829 -846
  634. package/src/server/api-client-core/apis/crm/taxes.generated.ts +45 -47
  635. package/src/server/api-client-core/apis/crm/tickets-types.generated.ts +848 -878
  636. package/src/server/api-client-core/apis/crm/tickets.generated.ts +47 -53
  637. package/src/server/api-client-core/apis/crm/timeline-types.generated.ts +144 -161
  638. package/src/server/api-client-core/apis/crm/timeline.generated.ts +6 -8
  639. package/src/server/api-client-core/apis/crm/transcriptions-types.generated.ts +149 -164
  640. package/src/server/api-client-core/apis/crm/transcriptions.generated.ts +22 -22
  641. package/src/server/api-client-core/apis/crm/users-types.generated.ts +829 -846
  642. package/src/server/api-client-core/apis/crm/users.generated.ts +45 -47
  643. package/src/server/api-client-core/apis/crm/video-conferencing-extension-types.generated.ts +29 -42
  644. package/src/server/api-client-core/apis/crm/video-conferencing-extension.generated.ts +17 -19
  645. package/src/server/api-client-core/apis/events/manage-event-definitions-types.generated.ts +1509 -1558
  646. package/src/server/api-client-core/apis/events/manage-event-definitions.generated.ts +55 -65
  647. package/src/server/api-client-core/apis/events/send-event-completions-types.generated.ts +51 -68
  648. package/src/server/api-client-core/apis/events/send-event-completions.generated.ts +10 -10
  649. package/src/server/api-client-core/apis/events-types.generated.ts +97 -110
  650. package/src/server/api-client-core/apis/events.generated.ts +2 -4
  651. package/src/server/api-client-core/apis/files-types.generated.ts +727 -757
  652. package/src/server/api-client-core/apis/files.generated.ts +3 -5
  653. package/src/server/api-client-core/apis/marketing/campaigns-public-api-types.generated.ts +1221 -1234
  654. package/src/server/api-client-core/apis/marketing/campaigns-public-api.generated.ts +45 -47
  655. package/src/server/api-client-core/apis/marketing/marketing-emails-types.generated.ts +3704 -3733
  656. package/src/server/api-client-core/apis/marketing/marketing-emails.generated.ts +44 -52
  657. package/src/server/api-client-core/apis/marketing/marketing-events-types.generated.ts +1787 -1848
  658. package/src/server/api-client-core/apis/marketing/marketing-events.generated.ts +236 -241
  659. package/src/server/api-client-core/apis/marketing/single-send-types.generated.ts +142 -155
  660. package/src/server/api-client-core/apis/marketing/single-send.generated.ts +2 -6
  661. package/src/server/api-client-core/apis/marketing/transactional-single-send-types.generated.ts +253 -269
  662. package/src/server/api-client-core/apis/marketing/transactional-single-send.generated.ts +32 -31
  663. package/src/server/api-client-core/apis/meta/origins-types.generated.ts +40 -56
  664. package/src/server/api-client-core/apis/meta/origins.generated.ts +2 -4
  665. package/src/server/api-client-core/apis/scheduler/meetings-types.generated.ts +1001 -1014
  666. package/src/server/api-client-core/apis/scheduler/meetings.generated.ts +6 -8
  667. package/src/server/api-client-core/apis/settings/multicurrency-types.generated.ts +1906 -1912
  668. package/src/server/api-client-core/apis/settings/multicurrency.generated.ts +64 -63
  669. package/src/server/api-client-core/apis/settings/tax-rates-types.generated.ts +71 -85
  670. package/src/server/api-client-core/apis/settings/tax-rates.generated.ts +2 -4
  671. package/src/server/api-client-core/apis/settings/user-provisioning-types.generated.ts +207 -257
  672. package/src/server/api-client-core/apis/settings/user-provisioning.generated.ts +8 -24
  673. package/src/server/api-client-core/apis/webhooks-journal-types.generated.ts +740 -771
  674. package/src/server/api-client-core/apis/webhooks-journal.generated.ts +47 -59
  675. package/src/server/api-client-core/apis/webhooks-types.generated.ts +1194 -1228
  676. package/src/server/api-client-core/apis/webhooks.generated.ts +52 -64
  677. package/src/server/api-client-core/client.ts +5 -1
  678. package/src/server/api-client-core/pagination.ts +2 -2
  679. package/src/server/api-client-core/plugins/fetch-transport.ts +70 -12
  680. package/src/server/api-client-core/types.ts +1 -1
  681. package/src/server/constants.ts +29 -4
  682. package/src/server/hono/hono-request-handler.ts +68 -27
  683. package/src/server/hono/hubspot-connect-routes/auth-complete.test.ts +285 -0
  684. package/src/server/hono/hubspot-connect-routes/{auth-callback.ts → auth-complete.ts} +74 -30
  685. package/src/server/hono/hubspot-connect-routes/auth-init-session.test.ts +114 -30
  686. package/src/server/hono/hubspot-connect-routes/auth-init-session.ts +35 -10
  687. package/src/server/hono/hubspot-connect-routes/auth-logout.test.ts +13 -0
  688. package/src/server/hono/hubspot-connect-routes/auth-logout.ts +39 -10
  689. package/src/server/hono/hubspot-connect-routes/auth-refresh.test.ts +6 -0
  690. package/src/server/hono/hubspot-connect-routes/auth-refresh.ts +24 -9
  691. package/src/server/hono/hubspot-connect-routes/cimd-public-routes.test.ts +7 -6
  692. package/src/server/hono/hubspot-connect-routes/cimd-public-routes.ts +5 -1
  693. package/src/server/hono/hubspot-connect-routes/hubspot-connect-routes.ts +11 -3
  694. package/src/server/hono/hubspot-connect-routes/load-hubspot-connect-routes-env.test.ts +17 -24
  695. package/src/server/hono/hubspot-connect-routes/load-hubspot-connect-routes-env.ts +8 -8
  696. package/src/server/hono/hubspot-connect-routes/utils.test.ts +16 -46
  697. package/src/server/hono/hubspot-connect-routes/utils.ts +61 -5
  698. package/src/server/hono/types.ts +11 -10
  699. package/src/server/hono/utils/cookie-utils.ts +27 -2
  700. package/src/server/hono/utils/cors-middleware.test.ts +80 -0
  701. package/src/server/hono/utils/cors-middleware.ts +95 -0
  702. package/src/server/lovable/create-app-function-start.ts +4 -7
  703. package/src/server/lovable/hubspot-connect/run-hubspot-connect-lovable-server.ts +21 -16
  704. package/src/server/sanitize-request.ts +15 -12
  705. package/src/server/secure-start-core.ts +7 -6
  706. package/src/server/types.ts +2 -38
  707. package/src/server/utils/env-utils.test.ts +140 -12
  708. package/src/server/utils/env-utils.ts +80 -6
  709. package/src/server/utils/hubspot-dpop-auth-headers.test.ts +43 -0
  710. package/src/server/utils/hubspot-dpop-auth-headers.ts +48 -0
  711. package/src/shared/constants.ts +40 -3
  712. package/src/shared/wire-types.ts +19 -0
  713. package/dist/browser/HubSpotAppConnect-BW45gyDs.js.map +0 -1
  714. package/dist/browser/create-vctOhpX9.js.map +0 -1
  715. package/dist/server/hono/hubspot-connect-routes/auth-callback.js +0 -125
  716. package/dist/server/hono/hubspot-connect-routes/auth-callback.js.map +0 -1
  717. package/dist/server/proxy.js +0 -68
  718. package/dist/server/proxy.js.map +0 -1
  719. package/src/server/hono/hubspot-connect-routes/auth-callback.test.ts +0 -225
  720. package/src/server/proxy.test.ts +0 -80
  721. 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 AutomationActions {
6
- export namespace Callbacks {
7
- export type CompleteBatchInput =
8
- Schemas.BatchInputCallbackCompletionBatchRequest;
9
-
10
- export type CompleteBatchOutput = void;
11
-
12
- export interface CompleteInput {
13
- callbackId: string;
14
- data: Schemas.CallbackCompletionRequest;
15
- }
16
-
17
- export type CompleteOutput = void;
18
- }
19
-
20
- export namespace Definitions {
21
- export interface CreateInput {
22
- appId: number;
23
- data: Schemas.PublicActionDefinitionEgg;
24
- }
25
-
26
- export type CreateOutput = Schemas.PublicActionDefinition;
27
-
28
- export interface CreateRequiresObjectInput {
29
- appId: number;
30
- data: Schemas.PublicActionDefinitionRequiresObjectRequest;
31
- definitionId: string;
32
- }
33
-
34
- export type CreateRequiresObjectOutput = void;
35
-
36
- export interface DeleteInput {
37
- appId: number;
38
- definitionId: string;
39
- }
40
-
41
- export type DeleteOutput = void;
42
-
43
- export interface GetInput {
44
- appId: number;
45
- /**
46
- * Whether to return only results that have been archived.
47
- */
48
- archived?: boolean;
49
- definitionId: string;
50
- }
51
-
52
- export type GetOutput = Schemas.PublicActionDefinition;
53
-
54
- export interface GetRequiresObjectInput {
55
- appId: number;
56
- definitionId: string;
57
- }
58
-
59
- export type GetRequiresObjectOutput =
60
- Schemas.PublicActionDefinitionRequiresObjectResponse;
61
-
62
- export interface ListInput {
63
- /**
64
- * 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.
65
- */
66
- after?: string;
67
- appId: number;
68
- /**
69
- * Whether to return only results that have been archived.
70
- */
71
- archived?: boolean;
72
- /**
73
- * The maximum number of results to display per page.
74
- */
75
- limit?: number;
76
- }
77
-
78
- export type ListOutput =
79
- Schemas.CollectionResponsePublicActionDefinitionForwardPaging;
80
-
81
- export interface UpdateInput {
82
- appId: number;
83
- data: Schemas.PublicActionDefinitionPatch;
84
- definitionId: string;
85
- }
86
-
87
- export type UpdateOutput = Schemas.PublicActionDefinition;
88
- }
89
-
90
- export namespace Functions {
91
- export interface CreateOrReplaceByFunctionTypeInput {
92
- appId: number;
93
- data: string;
94
- definitionId: string;
95
- functionType:
96
- | 'POST_ACTION_EXECUTION'
97
- | 'POST_FETCH_OPTIONS'
98
- | 'PRE_ACTION_EXECUTION'
99
- | 'PRE_FETCH_OPTIONS';
100
- }
101
-
102
- export type CreateOrReplaceByFunctionTypeOutput =
103
- Schemas.PublicActionFunctionIdentifier;
104
-
105
- export interface CreateOrReplaceInput {
106
- appId: number;
107
- data: string;
108
- definitionId: string;
109
- functionId: string;
110
- functionType:
111
- | 'POST_ACTION_EXECUTION'
112
- | 'POST_FETCH_OPTIONS'
113
- | 'PRE_ACTION_EXECUTION'
114
- | 'PRE_FETCH_OPTIONS';
115
- }
116
-
117
- export type CreateOrReplaceOutput = Schemas.PublicActionFunctionIdentifier;
118
-
119
- export interface DeleteByFunctionTypeInput {
120
- appId: number;
121
- definitionId: string;
122
- functionType:
123
- | 'POST_ACTION_EXECUTION'
124
- | 'POST_FETCH_OPTIONS'
125
- | 'PRE_ACTION_EXECUTION'
126
- | 'PRE_FETCH_OPTIONS';
127
- }
128
-
129
- export type DeleteByFunctionTypeOutput = void;
130
-
131
- export interface DeleteInput {
132
- appId: number;
133
- definitionId: string;
134
- functionId: string;
135
- functionType:
136
- | 'POST_ACTION_EXECUTION'
137
- | 'POST_FETCH_OPTIONS'
138
- | 'PRE_ACTION_EXECUTION'
139
- | 'PRE_FETCH_OPTIONS';
140
- }
141
-
142
- export type DeleteOutput = void;
143
-
144
- export interface GetByFunctionTypeInput {
145
- appId: number;
146
- definitionId: string;
147
- functionType:
148
- | 'POST_ACTION_EXECUTION'
149
- | 'POST_FETCH_OPTIONS'
150
- | 'PRE_ACTION_EXECUTION'
151
- | 'PRE_FETCH_OPTIONS';
152
- }
153
-
154
- export type GetByFunctionTypeOutput = Schemas.PublicActionFunction;
155
-
156
- export interface GetInput {
157
- appId: number;
158
- definitionId: string;
159
- functionId: string;
160
- functionType:
161
- | 'POST_ACTION_EXECUTION'
162
- | 'POST_FETCH_OPTIONS'
163
- | 'PRE_ACTION_EXECUTION'
164
- | 'PRE_FETCH_OPTIONS';
165
- }
166
-
167
- export type GetOutput = Schemas.PublicActionFunction;
168
-
169
- export interface ListInput {
170
- appId: number;
171
- definitionId: string;
172
- }
173
-
174
- export type ListOutput =
175
- Schemas.CollectionResponsePublicActionFunctionIdentifierNoPaging;
176
- }
177
-
178
- export namespace Revisions {
179
- export interface GetInput {
180
- appId: number;
181
- definitionId: string;
182
- revisionId: string;
183
- }
184
-
185
- export type GetOutput = Schemas.PublicActionRevision;
186
-
187
- export interface ListInput {
188
- /**
189
- * 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.
190
- */
191
- after?: string;
192
- appId: number;
193
- definitionId: string;
194
- /**
195
- * The maximum number of results to display per page.
196
- */
197
- limit?: number;
198
- }
199
-
200
- export type ListOutput =
201
- Schemas.CollectionResponsePublicActionRevisionForwardPaging;
202
- }
203
-
204
- export namespace Schemas {
205
- export interface ActionExecutionIndexIdentifier {
206
- /**
207
- * The index number representing the execution order of the action.
208
- */
209
- actionExecutionIndex: number;
210
- /**
211
- * The ID associated with the enrollment process.
212
- */
213
- enrollmentId: number;
214
- }
215
-
216
- export interface AgentRequestContext {
217
- /**
218
- * The unique identifier for the agent making the request.
219
- */
220
- agentId: number;
221
- chirpAiContextObject: Schemas.ChirpAiContextObject;
222
- /**
223
- * Indicates the source of the request, with the default value being 'AGENTS'.
224
- */
225
- source: 'AGENTS';
226
- /**
227
- * The unique identifier for the trajectory associated with the agent request.
228
- */
229
- trajectoryId?: string;
230
- }
231
-
232
- export interface ArrayFieldSchema {
233
- /**
234
- * Defines the type of elements contained within the array, which can be an integer, long, double, string, boolean, another array, or an object.
235
- */
236
- items:
237
- | Schemas.IntegerFieldSchema
238
- | Schemas.LongFieldSchema
239
- | Schemas.DoubleFieldSchema
240
- | Schemas.StringFieldSchema
241
- | Schemas.BooleanFieldSchema
242
- | Schemas.ArrayFieldSchema
243
- | Schemas.ObjectFieldSchema;
244
- /**
245
- * Specifies that the field is of type 'ARRAY'.
246
- */
247
- type: 'ARRAY';
248
- }
249
-
250
- export interface BatchInputCallbackCompletionBatchRequest {
251
- inputs: Schemas.CallbackCompletionBatchRequest[];
252
- }
253
-
254
- export interface BooleanFieldSchema {
255
- /**
256
- * Specifies the field type as BOOLEAN, indicating that the field can hold a true or false value.
257
- */
258
- type: 'BOOLEAN';
259
- }
260
-
261
- export interface CallbackCompletionBatchRequest {
262
- /**
263
- * The unique identifier for the callback.
264
- */
265
- callbackId: string;
266
- /**
267
- * Specifies the type of failure reason for the callback completion.
268
- */
269
- failureReasonType?: string;
270
- /**
271
- * Holds the output fields for the callback completion.
272
- */
273
- outputFields: Record<string, string>;
274
- /**
275
- * Defines the context of the request, which can be one of several predefined types.
276
- */
277
- requestContext?:
278
- | Schemas.WorkflowsRequestContext
279
- | Schemas.AgentRequestContext
280
- | Schemas.CopilotRequestContext
281
- | Schemas.StandaloneRequestContext
282
- | Schemas.TestRequestContext;
283
- /**
284
- * Contains the typed outputs for the callback completion.
285
- */
286
- typedOutputs: Record<string, never>;
287
- }
288
-
289
- export interface CallbackCompletionRequest {
290
- /**
291
- * Indicates the reason for the failure of a callback completion.
292
- */
293
- failureReasonType?: string;
294
- /**
295
- * Contains the output fields associated with the callback, with each field represented as a key-value pair.
296
- */
297
- outputFields: Record<string, string>;
298
- /**
299
- * Specifies the context in which the request is made, which can be one of several predefined contexts.
300
- */
301
- requestContext?:
302
- | Schemas.WorkflowsRequestContext
303
- | Schemas.AgentRequestContext
304
- | Schemas.CopilotRequestContext
305
- | Schemas.StandaloneRequestContext
306
- | Schemas.TestRequestContext;
307
- /**
308
- * Holds the typed outputs related to the callback, structured as an object.
309
- */
310
- typedOutputs: Record<string, never>;
311
- }
312
-
313
- export interface ChirpAiContextObject {
314
- /**
315
- * The group to which the application belongs.
316
- */
317
- applicationGroup: string;
318
- /**
319
- * The identifier for the application associated with the context.
320
- */
321
- applicationId: string;
322
- complianceIds?: Schemas.ComplianceIds;
323
- conversationId?: string;
324
- /**
325
- * The identifier for the feature associated with the context.
326
- */
327
- featureId?: string;
328
- /**
329
- * The identifier for the inference associated with the context.
330
- */
331
- inferenceId?: string;
332
- isPrivate: boolean;
333
- /**
334
- * Additional metadata related to the context, represented as key-value pairs.
335
- */
336
- metadata: Record<string, string>;
337
- /**
338
- * Holds OpenTelemetry context information as key-value pairs.
339
- */
340
- otelContextHolder: Record<string, string>;
341
- /**
342
- * The identifier for the trajectory, formatted as a UUID.
343
- */
344
- trajectoryId?: string;
345
- unstructuredSources: (
346
- | 'AUDIO_CALL'
347
- | 'CALL_TRANSCRIPT'
348
- | 'CHAT'
349
- | 'CUSTOM_CHANNEL_OR_API'
350
- | 'DERIVED'
351
- | 'FACEBOOK_MESSENGER'
352
- | 'FEEDBACK_SURVEY'
353
- | 'FORMS'
354
- | 'INVOICE'
355
- | 'LOGGED_EMAIL'
356
- | 'MANY'
357
- | 'MEETING_TRANSCRIPT'
358
- | 'NONE'
359
- | 'NOTE'
360
- | 'OTHER_ATTACHMENT_DOC'
361
- | 'PDF'
362
- | 'QUOTE'
363
- | 'SMS'
364
- | 'USER_INPUT'
365
- | 'VIDEO_CALL'
366
- | 'WHATSAPP'
367
- )[];
368
- }
369
-
370
- export interface CollectionResponsePublicActionDefinitionForwardPaging {
371
- paging?: Schemas.ForwardPaging;
372
- results: Schemas.PublicActionDefinition[];
373
- }
374
-
375
- export interface CollectionResponsePublicActionFunctionIdentifierNoPaging {
376
- results: Schemas.PublicActionFunctionIdentifier[];
377
- }
378
-
379
- export interface CollectionResponsePublicActionRevisionForwardPaging {
380
- paging?: Schemas.ForwardPaging;
381
- results: Schemas.PublicActionRevision[];
382
- }
383
-
384
- export interface ComplianceIds {
385
- contactIds: Schemas.ContactId[];
386
- /**
387
- * The reason why no contact ID is available.
388
- */
389
- noContactIdReason?: string;
390
- /**
391
- * The reason why no portal ID is available.
392
- */
393
- noPortalIdReason?: string;
394
- /**
395
- * The reason why no user ID is available.
396
- */
397
- noUserIdReason?: string;
398
- portalIds: number[];
399
- userIds: number[];
400
- }
401
-
402
- export interface ContactId {
403
- /**
404
- * The email address of the contact.
405
- */
406
- email?: string;
407
- /**
408
- * The ID of the portal associated with the contact.
409
- */
410
- portalId: number;
411
- /**
412
- * The unique identifier for the contact.
413
- */
414
- vid?: number;
415
- }
416
-
417
- export interface CopilotRequestContext {
418
- /**
419
- * Indicates the source of the request, with the default value being 'COPILOT'.
420
- */
421
- source: 'COPILOT';
422
- /**
423
- * The unique identifier for the trajectory.
424
- */
425
- trajectoryId?: string;
426
- }
427
-
428
- export interface DoubleFieldSchema {
429
- /**
430
- * The maximum allowable value for the double field.
431
- */
432
- maximum?: number;
433
- /**
434
- * The minimum allowable value for the double field.
435
- */
436
- minimum?: number;
437
- /**
438
- * Indicates the field type as DOUBLE.
439
- */
440
- type: 'DOUBLE';
441
- }
442
-
443
- export interface FieldTypeDefinition {
444
- /**
445
- * A detailed explanation of the field's purpose and usage.
446
- */
447
- description?: string;
448
- /**
449
- * Indicates whether the field's options are sourced externally.
450
- */
451
- externalOptions: boolean;
452
- /**
453
- * Specifies the type of external reference for options.
454
- */
455
- externalOptionsReferenceType?: string;
456
- /**
457
- * 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.
458
- */
459
- fieldType?:
460
- | 'booleancheckbox'
461
- | 'calculation_equation'
462
- | 'calculation_read_time'
463
- | 'calculation_rollup'
464
- | 'calculation_score'
465
- | 'checkbox'
466
- | 'date'
467
- | 'file'
468
- | 'html'
469
- | 'number'
470
- | 'phonenumber'
471
- | 'radio'
472
- | 'select'
473
- | 'text'
474
- | 'textarea'
475
- | 'unknown';
476
- /**
477
- * Additional information or guidance about the field.
478
- */
479
- helpText?: string;
480
- /**
481
- * The user-friendly label for the field.
482
- */
483
- label?: string;
484
- /**
485
- * The unique identifier for the field.
486
- */
487
- name: string;
488
- options: Schemas.Option[];
489
- /**
490
- * A URL that provides options for the field.
491
- */
492
- optionsUrl?: string;
493
- /**
494
- * Indicates the type of object that the field references, with accepted values like OWNER.
495
- */
496
- referencedObjectType?:
497
- | 'ABANDONED_CART'
498
- | 'ACCEPTANCE_TEST'
499
- | 'AD'
500
- | 'AD_ACCOUNT'
501
- | 'AD_CAMPAIGN'
502
- | 'AD_GROUP'
503
- | 'AI_FORECAST'
504
- | 'ALL_PAGES'
505
- | 'APPROVAL'
506
- | 'APPROVAL_STEP'
507
- | 'ATTRIBUTION'
508
- | 'AUDIENCE'
509
- | 'AUTOMATION_JOURNEY'
510
- | 'AUTOMATION_PLATFORM_FLOW'
511
- | 'AUTOMATION_PLATFORM_FLOW_ACTION'
512
- | 'BET_ALERT'
513
- | 'BET_DELIVERABLE_SERVICE'
514
- | 'BLOG_LISTING_PAGE'
515
- | 'BLOG_POST'
516
- | 'CALL'
517
- | 'CAMPAIGN'
518
- | 'CAMPAIGN_BUDGET_ITEM'
519
- | 'CAMPAIGN_SPEND_ITEM'
520
- | 'CAMPAIGN_STEP'
521
- | 'CAMPAIGN_TEMPLATE'
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 { automationActions } from '@hubspot/api-client-core';
1140
- * client.send(automationActions.callbacks.complete(input));
952
+ * import { automationActionsCallbacks } from '@hubspot/api-client-core';
953
+ * client.send(automationActionsCallbacks.complete(input));
1141
954
  * ```
1142
955
  */
1143
- export interface CallbacksAPI {
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: Callbacks.CompleteBatchInput
1161
- ) => Operation<Callbacks.CompleteBatchOutput>;
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 { automationActions } from '@hubspot/api-client-core';
1168
- * client.send(automationActions.definitions.create(input));
1047
+ * import { automationActionsDefinitions } from '@hubspot/api-client-core';
1048
+ * client.send(automationActionsDefinitions.create(input));
1169
1049
  * ```
1170
1050
  */
1171
- export interface DefinitionsAPI {
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: Definitions.CreateRequiresObjectInput
1189
- ) => Operation<Definitions.CreateRequiresObjectOutput>;
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: Definitions.GetInput) => Operation<Definitions.GetOutput>;
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: Definitions.GetRequiresObjectInput
1214
- ) => Operation<Definitions.GetRequiresObjectOutput>;
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: Definitions.ListInput) => Operation<Definitions.ListOutput>;
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 { automationActions } from '@hubspot/api-client-core';
1237
- * client.send(automationActions.functions.createOrReplace(input));
1199
+ * import { automationActionsFunctions } from '@hubspot/api-client-core';
1200
+ * client.send(automationActionsFunctions.createOrReplace(input));
1238
1201
  * ```
1239
1202
  */
1240
- export interface FunctionsAPI {
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: Functions.CreateOrReplaceInput
1249
- ) => Operation<Functions.CreateOrReplaceOutput>;
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: Functions.CreateOrReplaceByFunctionTypeInput
1258
- ) => Operation<Functions.CreateOrReplaceByFunctionTypeOutput>;
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: Functions.DeleteInput) => Operation<Functions.DeleteOutput>;
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: Functions.DeleteByFunctionTypeInput
1274
- ) => Operation<Functions.DeleteByFunctionTypeOutput>;
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: Functions.GetInput) => Operation<Functions.GetOutput>;
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: Functions.GetByFunctionTypeInput
1290
- ) => Operation<Functions.GetByFunctionTypeOutput>;
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: Functions.ListInput) => Operation<Functions.ListOutput>;
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 { automationActions } from '@hubspot/api-client-core';
1304
- * client.send(automationActions.revisions.get(input));
1291
+ * import { automationActionsRevisions } from '@hubspot/api-client-core';
1292
+ * client.send(automationActionsRevisions.get(input));
1305
1293
  * ```
1306
1294
  */
1307
- export interface RevisionsAPI {
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: Revisions.GetInput) => Operation<Revisions.GetOutput>;
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: Revisions.ListInput) => Operation<Revisions.ListOutput>;
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
  }