@hubspot/app-connect-sdk 1.0.0-alpha.1

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 (833) hide show
  1. package/.turbo/turbo-format$colon$check.log +4 -0
  2. package/.turbo/turbo-lint.log +2 -0
  3. package/.turbo/turbo-test.log +76 -0
  4. package/.turbo/turbo-tsc.log +2 -0
  5. package/.turbo/turbo-tsdown.log +521 -0
  6. package/README.md +5 -0
  7. package/build/tsconfig.browser.tsbuildinfo +1 -0
  8. package/build/tsconfig.server.tsbuildinfo +1 -0
  9. package/dist/browser/HubSpotAppConnect-BW45gyDs.js +489 -0
  10. package/dist/browser/HubSpotAppConnect-BW45gyDs.js.map +1 -0
  11. package/dist/browser/assets/src/browser/react/components/AppConnectHeader/AppConnectHeader.css.ts.vanilla-DpJ0aBGF.css +211 -0
  12. package/dist/browser/assets/src/browser/react/components/Button/Button.css.ts.vanilla-Df16gUKx.css +42 -0
  13. package/dist/browser/assets/src/browser/react/components/ConnectButton/ConnectButton.css.ts.vanilla-BXXMQqfA.css +66 -0
  14. package/dist/browser/assets/src/browser/react/components/DisconnectedBody/DisconnectedBody.css.ts.vanilla-DLvostZL.css +19 -0
  15. package/dist/browser/assets/src/browser/react/components/HubSpotAppConnect/HubSpotAppConnect.css.ts.vanilla-Boi40eip.css +17 -0
  16. package/dist/browser/assets/src/browser/react/components/LoadingIndicator/LoadingIndicator.css.ts.vanilla-RVWGi6Ny.css +25 -0
  17. package/dist/browser/assets/src/browser/react/components/ShareButton/ShareButton.css.ts.vanilla-CY8SC-0T.css +40 -0
  18. package/dist/browser/assets/src/browser/theme-tokens.generated.css.ts.vanilla-C8Rjb8NH.css +220 -0
  19. package/dist/browser/assets/src/browser/theme.css.ts.vanilla-D_GBwEeI.css +12 -0
  20. package/dist/browser/create-vctOhpX9.js +517 -0
  21. package/dist/browser/create-vctOhpX9.js.map +1 -0
  22. package/dist/browser/index.d.ts +465 -0
  23. package/dist/browser/index.js +3 -0
  24. package/dist/browser/react/lovable.d.ts +30 -0
  25. package/dist/browser/react/lovable.js +23 -0
  26. package/dist/browser/react/lovable.js.map +1 -0
  27. package/dist/browser/react.d.ts +47 -0
  28. package/dist/browser/react.js +2 -0
  29. package/dist/browser/theme.css-CJbxi5hC.js +368 -0
  30. package/dist/browser/theme.css-CJbxi5hC.js.map +1 -0
  31. package/dist/browser/types-rTQw6A54.d.ts +79 -0
  32. package/dist/server/api-client-core/apis/account/account-info-types.generated.d.ts +111 -0
  33. package/dist/server/api-client-core/apis/account/account-info.generated.d.ts +7 -0
  34. package/dist/server/api-client-core/apis/account/account-info.generated.js +9 -0
  35. package/dist/server/api-client-core/apis/account/account-info.generated.js.map +1 -0
  36. package/dist/server/api-client-core/apis/account/audit-logs-types.generated.d.ts +247 -0
  37. package/dist/server/api-client-core/apis/account/audit-logs.generated.d.ts +7 -0
  38. package/dist/server/api-client-core/apis/account/audit-logs.generated.js +28 -0
  39. package/dist/server/api-client-core/apis/account/audit-logs.generated.js.map +1 -0
  40. package/dist/server/api-client-core/apis/auth/oauth-types.generated.d.ts +121 -0
  41. package/dist/server/api-client-core/apis/auth/oauth.generated.d.ts +7 -0
  42. package/dist/server/api-client-core/apis/auth/oauth.generated.js +19 -0
  43. package/dist/server/api-client-core/apis/auth/oauth.generated.js.map +1 -0
  44. package/dist/server/api-client-core/apis/automation/actions-types.generated.d.ts +933 -0
  45. package/dist/server/api-client-core/apis/automation/actions.generated.d.ts +7 -0
  46. package/dist/server/api-client-core/apis/automation/actions.generated.js +121 -0
  47. package/dist/server/api-client-core/apis/automation/actions.generated.js.map +1 -0
  48. package/dist/server/api-client-core/apis/automation/sequences-types.generated.d.ts +422 -0
  49. package/dist/server/api-client-core/apis/automation/sequences.generated.d.ts +7 -0
  50. package/dist/server/api-client-core/apis/automation/sequences.generated.js +22 -0
  51. package/dist/server/api-client-core/apis/automation/sequences.generated.js.map +1 -0
  52. package/dist/server/api-client-core/apis/business-units-types.generated.d.ts +75 -0
  53. package/dist/server/api-client-core/apis/business-units.generated.d.ts +7 -0
  54. package/dist/server/api-client-core/apis/business-units.generated.js +12 -0
  55. package/dist/server/api-client-core/apis/business-units.generated.js.map +1 -0
  56. package/dist/server/api-client-core/apis/cms/authors-types.generated.d.ts +551 -0
  57. package/dist/server/api-client-core/apis/cms/authors.generated.d.ts +7 -0
  58. package/dist/server/api-client-core/apis/cms/authors.generated.js +163 -0
  59. package/dist/server/api-client-core/apis/cms/authors.generated.js.map +1 -0
  60. package/dist/server/api-client-core/apis/cms/blog-settings-types.generated.d.ts +366 -0
  61. package/dist/server/api-client-core/apis/cms/blog-settings.generated.d.ts +7 -0
  62. package/dist/server/api-client-core/apis/cms/blog-settings.generated.js +43 -0
  63. package/dist/server/api-client-core/apis/cms/blog-settings.generated.js.map +1 -0
  64. package/dist/server/api-client-core/apis/cms/cms-content-audit-types.generated.d.ts +157 -0
  65. package/dist/server/api-client-core/apis/cms/cms-content-audit.generated.d.ts +7 -0
  66. package/dist/server/api-client-core/apis/cms/cms-content-audit.generated.js +18 -0
  67. package/dist/server/api-client-core/apis/cms/cms-content-audit.generated.js.map +1 -0
  68. package/dist/server/api-client-core/apis/cms/domains-types.generated.d.ts +193 -0
  69. package/dist/server/api-client-core/apis/cms/domains.generated.d.ts +7 -0
  70. package/dist/server/api-client-core/apis/cms/domains.generated.js +20 -0
  71. package/dist/server/api-client-core/apis/cms/domains.generated.js.map +1 -0
  72. package/dist/server/api-client-core/apis/cms/hubdb-types.generated.d.ts +1097 -0
  73. package/dist/server/api-client-core/apis/cms/hubdb.generated.d.ts +7 -0
  74. package/dist/server/api-client-core/apis/cms/hubdb.generated.js +192 -0
  75. package/dist/server/api-client-core/apis/cms/hubdb.generated.js.map +1 -0
  76. package/dist/server/api-client-core/apis/cms/media-bridge-types.generated.d.ts +1780 -0
  77. package/dist/server/api-client-core/apis/cms/media-bridge.generated.d.ts +7 -0
  78. package/dist/server/api-client-core/apis/cms/media-bridge.generated.js +185 -0
  79. package/dist/server/api-client-core/apis/cms/media-bridge.generated.js.map +1 -0
  80. package/dist/server/api-client-core/apis/cms/pages-types.generated.d.ts +1768 -0
  81. package/dist/server/api-client-core/apis/cms/pages.generated.d.ts +7 -0
  82. package/dist/server/api-client-core/apis/cms/pages.generated.js +331 -0
  83. package/dist/server/api-client-core/apis/cms/pages.generated.js.map +1 -0
  84. package/dist/server/api-client-core/apis/cms/posts-types.generated.d.ts +1090 -0
  85. package/dist/server/api-client-core/apis/cms/posts.generated.d.ts +7 -0
  86. package/dist/server/api-client-core/apis/cms/posts.generated.js +201 -0
  87. package/dist/server/api-client-core/apis/cms/posts.generated.js.map +1 -0
  88. package/dist/server/api-client-core/apis/cms/site-search-types.generated.d.ts +200 -0
  89. package/dist/server/api-client-core/apis/cms/site-search.generated.d.ts +7 -0
  90. package/dist/server/api-client-core/apis/cms/site-search.generated.js +32 -0
  91. package/dist/server/api-client-core/apis/cms/site-search.generated.js.map +1 -0
  92. package/dist/server/api-client-core/apis/cms/source-code-types.generated.d.ts +218 -0
  93. package/dist/server/api-client-core/apis/cms/source-code.generated.d.ts +7 -0
  94. package/dist/server/api-client-core/apis/cms/source-code.generated.js +52 -0
  95. package/dist/server/api-client-core/apis/cms/source-code.generated.js.map +1 -0
  96. package/dist/server/api-client-core/apis/cms/tags-types.generated.d.ts +515 -0
  97. package/dist/server/api-client-core/apis/cms/tags.generated.d.ts +7 -0
  98. package/dist/server/api-client-core/apis/cms/tags.generated.js +163 -0
  99. package/dist/server/api-client-core/apis/cms/tags.generated.js.map +1 -0
  100. package/dist/server/api-client-core/apis/cms/url-mappings-types.generated.d.ts +177 -0
  101. package/dist/server/api-client-core/apis/cms/url-mappings.generated.d.ts +7 -0
  102. package/dist/server/api-client-core/apis/cms/url-mappings.generated.js +14 -0
  103. package/dist/server/api-client-core/apis/cms/url-mappings.generated.js.map +1 -0
  104. package/dist/server/api-client-core/apis/cms/url-redirects-types.generated.d.ts +226 -0
  105. package/dist/server/api-client-core/apis/cms/url-redirects.generated.d.ts +7 -0
  106. package/dist/server/api-client-core/apis/cms/url-redirects.generated.js +26 -0
  107. package/dist/server/api-client-core/apis/cms/url-redirects.generated.js.map +1 -0
  108. package/dist/server/api-client-core/apis/communication-preferences/subscriptions-types.generated.d.ts +802 -0
  109. package/dist/server/api-client-core/apis/communication-preferences/subscriptions.generated.d.ts +7 -0
  110. package/dist/server/api-client-core/apis/communication-preferences/subscriptions.generated.js +74 -0
  111. package/dist/server/api-client-core/apis/communication-preferences/subscriptions.generated.js.map +1 -0
  112. package/dist/server/api-client-core/apis/conversations/custom-channels-types.generated.d.ts +551 -0
  113. package/dist/server/api-client-core/apis/conversations/custom-channels.generated.d.ts +7 -0
  114. package/dist/server/api-client-core/apis/conversations/custom-channels.generated.js +80 -0
  115. package/dist/server/api-client-core/apis/conversations/custom-channels.generated.js.map +1 -0
  116. package/dist/server/api-client-core/apis/conversations/visitor-identification-types.generated.d.ts +60 -0
  117. package/dist/server/api-client-core/apis/conversations/visitor-identification.generated.d.ts +7 -0
  118. package/dist/server/api-client-core/apis/conversations/visitor-identification.generated.js +6 -0
  119. package/dist/server/api-client-core/apis/conversations/visitor-identification.generated.js.map +1 -0
  120. package/dist/server/api-client-core/apis/conversations-types.generated.d.ts +908 -0
  121. package/dist/server/api-client-core/apis/conversations.generated.d.ts +7 -0
  122. package/dist/server/api-client-core/apis/conversations.generated.js +108 -0
  123. package/dist/server/api-client-core/apis/conversations.generated.js.map +1 -0
  124. package/dist/server/api-client-core/apis/crm/app-uninstalls-types.generated.d.ts +37 -0
  125. package/dist/server/api-client-core/apis/crm/app-uninstalls.generated.d.ts +7 -0
  126. package/dist/server/api-client-core/apis/crm/app-uninstalls.generated.js +6 -0
  127. package/dist/server/api-client-core/apis/crm/app-uninstalls.generated.js.map +1 -0
  128. package/dist/server/api-client-core/apis/crm/appointments-types.generated.d.ts +989 -0
  129. package/dist/server/api-client-core/apis/crm/appointments.generated.d.ts +7 -0
  130. package/dist/server/api-client-core/apis/crm/appointments.generated.js +118 -0
  131. package/dist/server/api-client-core/apis/crm/appointments.generated.js.map +1 -0
  132. package/dist/server/api-client-core/apis/crm/associations-schema-types.generated.d.ts +329 -0
  133. package/dist/server/api-client-core/apis/crm/associations-schema.generated.d.ts +7 -0
  134. package/dist/server/api-client-core/apis/crm/associations-schema.generated.js +60 -0
  135. package/dist/server/api-client-core/apis/crm/associations-schema.generated.js.map +1 -0
  136. package/dist/server/api-client-core/apis/crm/associations-types.generated.d.ts +661 -0
  137. package/dist/server/api-client-core/apis/crm/associations.generated.d.ts +7 -0
  138. package/dist/server/api-client-core/apis/crm/associations.generated.js +83 -0
  139. package/dist/server/api-client-core/apis/crm/associations.generated.js.map +1 -0
  140. package/dist/server/api-client-core/apis/crm/calling-extensions-types.generated.d.ts +466 -0
  141. package/dist/server/api-client-core/apis/crm/calling-extensions.generated.d.ts +7 -0
  142. package/dist/server/api-client-core/apis/crm/calling-extensions.generated.js +42 -0
  143. package/dist/server/api-client-core/apis/crm/calling-extensions.generated.js.map +1 -0
  144. package/dist/server/api-client-core/apis/crm/calls-types.generated.d.ts +850 -0
  145. package/dist/server/api-client-core/apis/crm/calls.generated.d.ts +7 -0
  146. package/dist/server/api-client-core/apis/crm/calls.generated.js +66 -0
  147. package/dist/server/api-client-core/apis/crm/calls.generated.js.map +1 -0
  148. package/dist/server/api-client-core/apis/crm/carts-types.generated.d.ts +850 -0
  149. package/dist/server/api-client-core/apis/crm/carts.generated.d.ts +7 -0
  150. package/dist/server/api-client-core/apis/crm/carts.generated.js +66 -0
  151. package/dist/server/api-client-core/apis/crm/carts.generated.js.map +1 -0
  152. package/dist/server/api-client-core/apis/crm/commerce-payments-types.generated.d.ts +850 -0
  153. package/dist/server/api-client-core/apis/crm/commerce-payments.generated.d.ts +7 -0
  154. package/dist/server/api-client-core/apis/crm/commerce-payments.generated.js +66 -0
  155. package/dist/server/api-client-core/apis/crm/commerce-payments.generated.js.map +1 -0
  156. package/dist/server/api-client-core/apis/crm/commerce-subscriptions-types.generated.d.ts +847 -0
  157. package/dist/server/api-client-core/apis/crm/commerce-subscriptions.generated.d.ts +7 -0
  158. package/dist/server/api-client-core/apis/crm/commerce-subscriptions.generated.js +66 -0
  159. package/dist/server/api-client-core/apis/crm/commerce-subscriptions.generated.js.map +1 -0
  160. package/dist/server/api-client-core/apis/crm/communications-types.generated.d.ts +850 -0
  161. package/dist/server/api-client-core/apis/crm/communications.generated.d.ts +7 -0
  162. package/dist/server/api-client-core/apis/crm/communications.generated.js +66 -0
  163. package/dist/server/api-client-core/apis/crm/communications.generated.js.map +1 -0
  164. package/dist/server/api-client-core/apis/crm/companies-types.generated.d.ts +884 -0
  165. package/dist/server/api-client-core/apis/crm/companies.generated.d.ts +7 -0
  166. package/dist/server/api-client-core/apis/crm/companies.generated.js +67 -0
  167. package/dist/server/api-client-core/apis/crm/companies.generated.js.map +1 -0
  168. package/dist/server/api-client-core/apis/crm/contacts-types.generated.d.ts +899 -0
  169. package/dist/server/api-client-core/apis/crm/contacts.generated.d.ts +7 -0
  170. package/dist/server/api-client-core/apis/crm/contacts.generated.js +70 -0
  171. package/dist/server/api-client-core/apis/crm/contacts.generated.js.map +1 -0
  172. package/dist/server/api-client-core/apis/crm/contracts-types.generated.d.ts +850 -0
  173. package/dist/server/api-client-core/apis/crm/contracts.generated.d.ts +7 -0
  174. package/dist/server/api-client-core/apis/crm/contracts.generated.js +66 -0
  175. package/dist/server/api-client-core/apis/crm/contracts.generated.js.map +1 -0
  176. package/dist/server/api-client-core/apis/crm/courses-types.generated.d.ts +853 -0
  177. package/dist/server/api-client-core/apis/crm/courses.generated.d.ts +7 -0
  178. package/dist/server/api-client-core/apis/crm/courses.generated.js +66 -0
  179. package/dist/server/api-client-core/apis/crm/courses.generated.js.map +1 -0
  180. package/dist/server/api-client-core/apis/crm/crm-owners-types.generated.d.ts +140 -0
  181. package/dist/server/api-client-core/apis/crm/crm-owners.generated.d.ts +7 -0
  182. package/dist/server/api-client-core/apis/crm/crm-owners.generated.js +20 -0
  183. package/dist/server/api-client-core/apis/crm/crm-owners.generated.js.map +1 -0
  184. package/dist/server/api-client-core/apis/crm/custom-objects-types.generated.d.ts +934 -0
  185. package/dist/server/api-client-core/apis/crm/custom-objects.generated.d.ts +7 -0
  186. package/dist/server/api-client-core/apis/crm/custom-objects.generated.js +101 -0
  187. package/dist/server/api-client-core/apis/crm/custom-objects.generated.js.map +1 -0
  188. package/dist/server/api-client-core/apis/crm/deal-splits-types.generated.d.ts +196 -0
  189. package/dist/server/api-client-core/apis/crm/deal-splits.generated.d.ts +7 -0
  190. package/dist/server/api-client-core/apis/crm/deal-splits.generated.js +9 -0
  191. package/dist/server/api-client-core/apis/crm/deal-splits.generated.js.map +1 -0
  192. package/dist/server/api-client-core/apis/crm/deals-types.generated.d.ts +872 -0
  193. package/dist/server/api-client-core/apis/crm/deals.generated.d.ts +7 -0
  194. package/dist/server/api-client-core/apis/crm/deals.generated.js +67 -0
  195. package/dist/server/api-client-core/apis/crm/deals.generated.js.map +1 -0
  196. package/dist/server/api-client-core/apis/crm/discounts-types.generated.d.ts +846 -0
  197. package/dist/server/api-client-core/apis/crm/discounts.generated.d.ts +7 -0
  198. package/dist/server/api-client-core/apis/crm/discounts.generated.js +66 -0
  199. package/dist/server/api-client-core/apis/crm/discounts.generated.js.map +1 -0
  200. package/dist/server/api-client-core/apis/crm/emails-types.generated.d.ts +850 -0
  201. package/dist/server/api-client-core/apis/crm/emails.generated.d.ts +7 -0
  202. package/dist/server/api-client-core/apis/crm/emails.generated.js +66 -0
  203. package/dist/server/api-client-core/apis/crm/emails.generated.js.map +1 -0
  204. package/dist/server/api-client-core/apis/crm/exports-types.generated.d.ts +281 -0
  205. package/dist/server/api-client-core/apis/crm/exports.generated.d.ts +7 -0
  206. package/dist/server/api-client-core/apis/crm/exports.generated.js +12 -0
  207. package/dist/server/api-client-core/apis/crm/exports.generated.js.map +1 -0
  208. package/dist/server/api-client-core/apis/crm/feedback-submissions-types.generated.d.ts +616 -0
  209. package/dist/server/api-client-core/apis/crm/feedback-submissions.generated.d.ts +7 -0
  210. package/dist/server/api-client-core/apis/crm/feedback-submissions.generated.js +55 -0
  211. package/dist/server/api-client-core/apis/crm/feedback-submissions.generated.js.map +1 -0
  212. package/dist/server/api-client-core/apis/crm/fees-types.generated.d.ts +850 -0
  213. package/dist/server/api-client-core/apis/crm/fees.generated.d.ts +7 -0
  214. package/dist/server/api-client-core/apis/crm/fees.generated.js +66 -0
  215. package/dist/server/api-client-core/apis/crm/fees.generated.js.map +1 -0
  216. package/dist/server/api-client-core/apis/crm/goal-targets-types.generated.d.ts +850 -0
  217. package/dist/server/api-client-core/apis/crm/goal-targets.generated.d.ts +7 -0
  218. package/dist/server/api-client-core/apis/crm/goal-targets.generated.js +66 -0
  219. package/dist/server/api-client-core/apis/crm/goal-targets.generated.js.map +1 -0
  220. package/dist/server/api-client-core/apis/crm/imports-types.generated.d.ts +371 -0
  221. package/dist/server/api-client-core/apis/crm/imports.generated.d.ts +7 -0
  222. package/dist/server/api-client-core/apis/crm/imports.generated.js +30 -0
  223. package/dist/server/api-client-core/apis/crm/imports.generated.js.map +1 -0
  224. package/dist/server/api-client-core/apis/crm/invoices-types.generated.d.ts +850 -0
  225. package/dist/server/api-client-core/apis/crm/invoices.generated.d.ts +7 -0
  226. package/dist/server/api-client-core/apis/crm/invoices.generated.js +66 -0
  227. package/dist/server/api-client-core/apis/crm/invoices.generated.js.map +1 -0
  228. package/dist/server/api-client-core/apis/crm/leads-types.generated.d.ts +850 -0
  229. package/dist/server/api-client-core/apis/crm/leads.generated.d.ts +7 -0
  230. package/dist/server/api-client-core/apis/crm/leads.generated.js +66 -0
  231. package/dist/server/api-client-core/apis/crm/leads.generated.js.map +1 -0
  232. package/dist/server/api-client-core/apis/crm/limits-tracking-types.generated.d.ts +331 -0
  233. package/dist/server/api-client-core/apis/crm/limits-tracking.generated.d.ts +7 -0
  234. package/dist/server/api-client-core/apis/crm/limits-tracking.generated.js +22 -0
  235. package/dist/server/api-client-core/apis/crm/limits-tracking.generated.js.map +1 -0
  236. package/dist/server/api-client-core/apis/crm/line-items-types.generated.d.ts +850 -0
  237. package/dist/server/api-client-core/apis/crm/line-items.generated.d.ts +7 -0
  238. package/dist/server/api-client-core/apis/crm/line-items.generated.js +66 -0
  239. package/dist/server/api-client-core/apis/crm/line-items.generated.js.map +1 -0
  240. package/dist/server/api-client-core/apis/crm/listings-types.generated.d.ts +853 -0
  241. package/dist/server/api-client-core/apis/crm/listings.generated.d.ts +7 -0
  242. package/dist/server/api-client-core/apis/crm/listings.generated.js +66 -0
  243. package/dist/server/api-client-core/apis/crm/listings.generated.js.map +1 -0
  244. package/dist/server/api-client-core/apis/crm/lists-types.generated.d.ts +2265 -0
  245. package/dist/server/api-client-core/apis/crm/lists.generated.d.ts +7 -0
  246. package/dist/server/api-client-core/apis/crm/lists.generated.js +105 -0
  247. package/dist/server/api-client-core/apis/crm/lists.generated.js.map +1 -0
  248. package/dist/server/api-client-core/apis/crm/meetings-types.generated.d.ts +850 -0
  249. package/dist/server/api-client-core/apis/crm/meetings.generated.d.ts +7 -0
  250. package/dist/server/api-client-core/apis/crm/meetings.generated.js +66 -0
  251. package/dist/server/api-client-core/apis/crm/meetings.generated.js.map +1 -0
  252. package/dist/server/api-client-core/apis/crm/notes-types.generated.d.ts +850 -0
  253. package/dist/server/api-client-core/apis/crm/notes.generated.d.ts +7 -0
  254. package/dist/server/api-client-core/apis/crm/notes.generated.js +66 -0
  255. package/dist/server/api-client-core/apis/crm/notes.generated.js.map +1 -0
  256. package/dist/server/api-client-core/apis/crm/object-library-types.generated.d.ts +60 -0
  257. package/dist/server/api-client-core/apis/crm/object-library.generated.d.ts +7 -0
  258. package/dist/server/api-client-core/apis/crm/object-library.generated.js +9 -0
  259. package/dist/server/api-client-core/apis/crm/object-library.generated.js.map +1 -0
  260. package/dist/server/api-client-core/apis/crm/objects-types.generated.d.ts +712 -0
  261. package/dist/server/api-client-core/apis/crm/objects.generated.d.ts +7 -0
  262. package/dist/server/api-client-core/apis/crm/objects.generated.js +76 -0
  263. package/dist/server/api-client-core/apis/crm/objects.generated.js.map +1 -0
  264. package/dist/server/api-client-core/apis/crm/orders-types.generated.d.ts +850 -0
  265. package/dist/server/api-client-core/apis/crm/orders.generated.d.ts +7 -0
  266. package/dist/server/api-client-core/apis/crm/orders.generated.js +66 -0
  267. package/dist/server/api-client-core/apis/crm/orders.generated.js.map +1 -0
  268. package/dist/server/api-client-core/apis/crm/partner-clients-types.generated.d.ts +725 -0
  269. package/dist/server/api-client-core/apis/crm/partner-clients.generated.d.ts +7 -0
  270. package/dist/server/api-client-core/apis/crm/partner-clients.generated.js +71 -0
  271. package/dist/server/api-client-core/apis/crm/partner-clients.generated.js.map +1 -0
  272. package/dist/server/api-client-core/apis/crm/partner-services-types.generated.d.ts +725 -0
  273. package/dist/server/api-client-core/apis/crm/partner-services.generated.d.ts +7 -0
  274. package/dist/server/api-client-core/apis/crm/partner-services.generated.js +71 -0
  275. package/dist/server/api-client-core/apis/crm/partner-services.generated.js.map +1 -0
  276. package/dist/server/api-client-core/apis/crm/pipelines-types.generated.d.ts +430 -0
  277. package/dist/server/api-client-core/apis/crm/pipelines.generated.d.ts +7 -0
  278. package/dist/server/api-client-core/apis/crm/pipelines.generated.js +94 -0
  279. package/dist/server/api-client-core/apis/crm/pipelines.generated.js.map +1 -0
  280. package/dist/server/api-client-core/apis/crm/postal-mail-types.generated.d.ts +844 -0
  281. package/dist/server/api-client-core/apis/crm/postal-mail.generated.d.ts +7 -0
  282. package/dist/server/api-client-core/apis/crm/postal-mail.generated.js +66 -0
  283. package/dist/server/api-client-core/apis/crm/postal-mail.generated.js.map +1 -0
  284. package/dist/server/api-client-core/apis/crm/products-types.generated.d.ts +850 -0
  285. package/dist/server/api-client-core/apis/crm/products.generated.d.ts +7 -0
  286. package/dist/server/api-client-core/apis/crm/products.generated.js +66 -0
  287. package/dist/server/api-client-core/apis/crm/products.generated.js.map +1 -0
  288. package/dist/server/api-client-core/apis/crm/projects-types.generated.d.ts +881 -0
  289. package/dist/server/api-client-core/apis/crm/projects.generated.d.ts +7 -0
  290. package/dist/server/api-client-core/apis/crm/projects.generated.js +67 -0
  291. package/dist/server/api-client-core/apis/crm/projects.generated.js.map +1 -0
  292. package/dist/server/api-client-core/apis/crm/properties-types.generated.d.ts +603 -0
  293. package/dist/server/api-client-core/apis/crm/properties.generated.d.ts +7 -0
  294. package/dist/server/api-client-core/apis/crm/properties.generated.js +86 -0
  295. package/dist/server/api-client-core/apis/crm/properties.generated.js.map +1 -0
  296. package/dist/server/api-client-core/apis/crm/property-validations-types.generated.d.ts +121 -0
  297. package/dist/server/api-client-core/apis/crm/property-validations.generated.d.ts +7 -0
  298. package/dist/server/api-client-core/apis/crm/property-validations.generated.js +25 -0
  299. package/dist/server/api-client-core/apis/crm/property-validations.generated.js.map +1 -0
  300. package/dist/server/api-client-core/apis/crm/public-app-crm-cards-types.generated.d.ts +486 -0
  301. package/dist/server/api-client-core/apis/crm/public-app-crm-cards.generated.d.ts +7 -0
  302. package/dist/server/api-client-core/apis/crm/public-app-crm-cards.generated.js +34 -0
  303. package/dist/server/api-client-core/apis/crm/public-app-crm-cards.generated.js.map +1 -0
  304. package/dist/server/api-client-core/apis/crm/public-app-feature-flags-types.generated.d.ts +247 -0
  305. package/dist/server/api-client-core/apis/crm/public-app-feature-flags.generated.d.ts +7 -0
  306. package/dist/server/api-client-core/apis/crm/public-app-feature-flags.generated.js +69 -0
  307. package/dist/server/api-client-core/apis/crm/public-app-feature-flags.generated.js.map +1 -0
  308. package/dist/server/api-client-core/apis/crm/quotes-types.generated.d.ts +850 -0
  309. package/dist/server/api-client-core/apis/crm/quotes.generated.d.ts +7 -0
  310. package/dist/server/api-client-core/apis/crm/quotes.generated.js +66 -0
  311. package/dist/server/api-client-core/apis/crm/quotes.generated.js.map +1 -0
  312. package/dist/server/api-client-core/apis/crm/schemas-types.generated.d.ts +669 -0
  313. package/dist/server/api-client-core/apis/crm/schemas.generated.d.ts +7 -0
  314. package/dist/server/api-client-core/apis/crm/schemas.generated.js +41 -0
  315. package/dist/server/api-client-core/apis/crm/schemas.generated.js.map +1 -0
  316. package/dist/server/api-client-core/apis/crm/services-types.generated.d.ts +853 -0
  317. package/dist/server/api-client-core/apis/crm/services.generated.d.ts +7 -0
  318. package/dist/server/api-client-core/apis/crm/services.generated.js +66 -0
  319. package/dist/server/api-client-core/apis/crm/services.generated.js.map +1 -0
  320. package/dist/server/api-client-core/apis/crm/tasks-types.generated.d.ts +850 -0
  321. package/dist/server/api-client-core/apis/crm/tasks.generated.d.ts +7 -0
  322. package/dist/server/api-client-core/apis/crm/tasks.generated.js +66 -0
  323. package/dist/server/api-client-core/apis/crm/tasks.generated.js.map +1 -0
  324. package/dist/server/api-client-core/apis/crm/taxes-types.generated.d.ts +850 -0
  325. package/dist/server/api-client-core/apis/crm/taxes.generated.d.ts +7 -0
  326. package/dist/server/api-client-core/apis/crm/taxes.generated.js +66 -0
  327. package/dist/server/api-client-core/apis/crm/taxes.generated.js.map +1 -0
  328. package/dist/server/api-client-core/apis/crm/tickets-types.generated.d.ts +884 -0
  329. package/dist/server/api-client-core/apis/crm/tickets.generated.d.ts +7 -0
  330. package/dist/server/api-client-core/apis/crm/tickets.generated.js +67 -0
  331. package/dist/server/api-client-core/apis/crm/tickets.generated.js.map +1 -0
  332. package/dist/server/api-client-core/apis/crm/timeline-types.generated.d.ts +187 -0
  333. package/dist/server/api-client-core/apis/crm/timeline.generated.d.ts +7 -0
  334. package/dist/server/api-client-core/apis/crm/timeline.generated.js +12 -0
  335. package/dist/server/api-client-core/apis/crm/timeline.generated.js.map +1 -0
  336. package/dist/server/api-client-core/apis/crm/transcriptions-types.generated.d.ts +152 -0
  337. package/dist/server/api-client-core/apis/crm/transcriptions.generated.d.ts +7 -0
  338. package/dist/server/api-client-core/apis/crm/transcriptions.generated.js +15 -0
  339. package/dist/server/api-client-core/apis/crm/transcriptions.generated.js.map +1 -0
  340. package/dist/server/api-client-core/apis/crm/users-types.generated.d.ts +850 -0
  341. package/dist/server/api-client-core/apis/crm/users.generated.d.ts +7 -0
  342. package/dist/server/api-client-core/apis/crm/users.generated.js +66 -0
  343. package/dist/server/api-client-core/apis/crm/users.generated.js.map +1 -0
  344. package/dist/server/api-client-core/apis/crm/video-conferencing-extension-types.generated.d.ts +72 -0
  345. package/dist/server/api-client-core/apis/crm/video-conferencing-extension.generated.d.ts +7 -0
  346. package/dist/server/api-client-core/apis/crm/video-conferencing-extension.generated.js +13 -0
  347. package/dist/server/api-client-core/apis/crm/video-conferencing-extension.generated.js.map +1 -0
  348. package/dist/server/api-client-core/apis/events/manage-event-definitions-types.generated.d.ts +1005 -0
  349. package/dist/server/api-client-core/apis/events/manage-event-definitions.generated.d.ts +7 -0
  350. package/dist/server/api-client-core/apis/events/manage-event-definitions.generated.js +39 -0
  351. package/dist/server/api-client-core/apis/events/manage-event-definitions.generated.js.map +1 -0
  352. package/dist/server/api-client-core/apis/events/send-event-completions-types.generated.d.ts +94 -0
  353. package/dist/server/api-client-core/apis/events/send-event-completions.generated.d.ts +7 -0
  354. package/dist/server/api-client-core/apis/events/send-event-completions.generated.js +9 -0
  355. package/dist/server/api-client-core/apis/events/send-event-completions.generated.js.map +1 -0
  356. package/dist/server/api-client-core/apis/events-types.generated.d.ts +137 -0
  357. package/dist/server/api-client-core/apis/events.generated.d.ts +7 -0
  358. package/dist/server/api-client-core/apis/events.generated.js +23 -0
  359. package/dist/server/api-client-core/apis/events.generated.js.map +1 -0
  360. package/dist/server/api-client-core/apis/files-types.generated.d.ts +791 -0
  361. package/dist/server/api-client-core/apis/files.generated.d.ts +7 -0
  362. package/dist/server/api-client-core/apis/files.generated.js +119 -0
  363. package/dist/server/api-client-core/apis/files.generated.js.map +1 -0
  364. package/dist/server/api-client-core/apis/marketing/campaigns-public-api-types.generated.d.ts +989 -0
  365. package/dist/server/api-client-core/apis/marketing/campaigns-public-api.generated.d.ts +7 -0
  366. package/dist/server/api-client-core/apis/marketing/campaigns-public-api.generated.js +139 -0
  367. package/dist/server/api-client-core/apis/marketing/campaigns-public-api.generated.js.map +1 -0
  368. package/dist/server/api-client-core/apis/marketing/marketing-emails-types.generated.d.ts +883 -0
  369. package/dist/server/api-client-core/apis/marketing/marketing-emails.generated.d.ts +7 -0
  370. package/dist/server/api-client-core/apis/marketing/marketing-emails.generated.js +108 -0
  371. package/dist/server/api-client-core/apis/marketing/marketing-emails.generated.js.map +1 -0
  372. package/dist/server/api-client-core/apis/marketing/marketing-events-types.generated.d.ts +1788 -0
  373. package/dist/server/api-client-core/apis/marketing/marketing-events.generated.d.ts +7 -0
  374. package/dist/server/api-client-core/apis/marketing/marketing-events.generated.js +176 -0
  375. package/dist/server/api-client-core/apis/marketing/marketing-events.generated.js.map +1 -0
  376. package/dist/server/api-client-core/apis/marketing/single-send-types.generated.d.ts +123 -0
  377. package/dist/server/api-client-core/apis/marketing/single-send.generated.d.ts +7 -0
  378. package/dist/server/api-client-core/apis/marketing/single-send.generated.js +6 -0
  379. package/dist/server/api-client-core/apis/marketing/single-send.generated.js.map +1 -0
  380. package/dist/server/api-client-core/apis/marketing/transactional-single-send-types.generated.d.ts +257 -0
  381. package/dist/server/api-client-core/apis/marketing/transactional-single-send.generated.d.ts +7 -0
  382. package/dist/server/api-client-core/apis/marketing/transactional-single-send.generated.js +20 -0
  383. package/dist/server/api-client-core/apis/marketing/transactional-single-send.generated.js.map +1 -0
  384. package/dist/server/api-client-core/apis/meta/origins-types.generated.d.ts +77 -0
  385. package/dist/server/api-client-core/apis/meta/origins.generated.d.ts +7 -0
  386. package/dist/server/api-client-core/apis/meta/origins.generated.js +15 -0
  387. package/dist/server/api-client-core/apis/meta/origins.generated.js.map +1 -0
  388. package/dist/server/api-client-core/apis/scheduler/meetings-types.generated.d.ts +913 -0
  389. package/dist/server/api-client-core/apis/scheduler/meetings.generated.d.ts +7 -0
  390. package/dist/server/api-client-core/apis/scheduler/meetings.generated.js +34 -0
  391. package/dist/server/api-client-core/apis/scheduler/meetings.generated.js.map +1 -0
  392. package/dist/server/api-client-core/apis/settings/multicurrency-types.generated.d.ts +404 -0
  393. package/dist/server/api-client-core/apis/settings/multicurrency.generated.d.ts +7 -0
  394. package/dist/server/api-client-core/apis/settings/multicurrency.generated.js +38 -0
  395. package/dist/server/api-client-core/apis/settings/multicurrency.generated.js.map +1 -0
  396. package/dist/server/api-client-core/apis/settings/tax-rates-types.generated.d.ts +111 -0
  397. package/dist/server/api-client-core/apis/settings/tax-rates.generated.d.ts +7 -0
  398. package/dist/server/api-client-core/apis/settings/tax-rates.generated.js +13 -0
  399. package/dist/server/api-client-core/apis/settings/tax-rates.generated.js.map +1 -0
  400. package/dist/server/api-client-core/apis/settings/user-provisioning-types.generated.d.ts +297 -0
  401. package/dist/server/api-client-core/apis/settings/user-provisioning.generated.d.ts +7 -0
  402. package/dist/server/api-client-core/apis/settings/user-provisioning.generated.js +31 -0
  403. package/dist/server/api-client-core/apis/settings/user-provisioning.generated.js.map +1 -0
  404. package/dist/server/api-client-core/apis/webhooks-journal-types.generated.d.ts +643 -0
  405. package/dist/server/api-client-core/apis/webhooks-journal.generated.d.ts +7 -0
  406. package/dist/server/api-client-core/apis/webhooks-journal.generated.js +75 -0
  407. package/dist/server/api-client-core/apis/webhooks-journal.generated.js.map +1 -0
  408. package/dist/server/api-client-core/apis/webhooks-types.generated.d.ts +1016 -0
  409. package/dist/server/api-client-core/apis/webhooks.generated.d.ts +7 -0
  410. package/dist/server/api-client-core/apis/webhooks.generated.js +105 -0
  411. package/dist/server/api-client-core/apis/webhooks.generated.js.map +1 -0
  412. package/dist/server/api-client-core/binary-data.d.ts +33 -0
  413. package/dist/server/api-client-core/binary-data.js +29 -0
  414. package/dist/server/api-client-core/binary-data.js.map +1 -0
  415. package/dist/server/api-client-core/client.d.ts +14 -0
  416. package/dist/server/api-client-core/client.js +75 -0
  417. package/dist/server/api-client-core/client.js.map +1 -0
  418. package/dist/server/api-client-core/codegen-helpers/file-op-wrappers.js +25 -0
  419. package/dist/server/api-client-core/codegen-helpers/file-op-wrappers.js.map +1 -0
  420. package/dist/server/api-client-core/errors.d.ts +27 -0
  421. package/dist/server/api-client-core/errors.js +33 -0
  422. package/dist/server/api-client-core/errors.js.map +1 -0
  423. package/dist/server/api-client-core/op.d.ts +37 -0
  424. package/dist/server/api-client-core/op.js +44 -0
  425. package/dist/server/api-client-core/op.js.map +1 -0
  426. package/dist/server/api-client-core/pagination.d.ts +60 -0
  427. package/dist/server/api-client-core/pagination.js +103 -0
  428. package/dist/server/api-client-core/pagination.js.map +1 -0
  429. package/dist/server/api-client-core/plugins/fetch-transport.js +72 -0
  430. package/dist/server/api-client-core/plugins/fetch-transport.js.map +1 -0
  431. package/dist/server/api-client-core/types.d.ts +135 -0
  432. package/dist/server/api-client.d.ts +197 -0
  433. package/dist/server/api-client.js +101 -0
  434. package/dist/server/constants.js +46 -0
  435. package/dist/server/constants.js.map +1 -0
  436. package/dist/server/deno/start.d.ts +12 -0
  437. package/dist/server/deno/start.js +21 -0
  438. package/dist/server/deno/start.js.map +1 -0
  439. package/dist/server/hono/hono-request-handler.js +54 -0
  440. package/dist/server/hono/hono-request-handler.js.map +1 -0
  441. package/dist/server/hono/hubspot-connect-routes/auth-callback.js +125 -0
  442. package/dist/server/hono/hubspot-connect-routes/auth-callback.js.map +1 -0
  443. package/dist/server/hono/hubspot-connect-routes/auth-init-session.js +90 -0
  444. package/dist/server/hono/hubspot-connect-routes/auth-init-session.js.map +1 -0
  445. package/dist/server/hono/hubspot-connect-routes/auth-logout.js +97 -0
  446. package/dist/server/hono/hubspot-connect-routes/auth-logout.js.map +1 -0
  447. package/dist/server/hono/hubspot-connect-routes/auth-refresh.js +101 -0
  448. package/dist/server/hono/hubspot-connect-routes/auth-refresh.js.map +1 -0
  449. package/dist/server/hono/hubspot-connect-routes/cimd-client-metadata-types.d.ts +16 -0
  450. package/dist/server/hono/hubspot-connect-routes/cimd-client-metadata-types.js +13 -0
  451. package/dist/server/hono/hubspot-connect-routes/cimd-client-metadata-types.js.map +1 -0
  452. package/dist/server/hono/hubspot-connect-routes/cimd-public-routes.js +42 -0
  453. package/dist/server/hono/hubspot-connect-routes/cimd-public-routes.js.map +1 -0
  454. package/dist/server/hono/hubspot-connect-routes/constants.js +8 -0
  455. package/dist/server/hono/hubspot-connect-routes/constants.js.map +1 -0
  456. package/dist/server/hono/hubspot-connect-routes/fetch-hubspot-client-metadata.js +43 -0
  457. package/dist/server/hono/hubspot-connect-routes/fetch-hubspot-client-metadata.js.map +1 -0
  458. package/dist/server/hono/hubspot-connect-routes/hubspot-connect-routes.js +35 -0
  459. package/dist/server/hono/hubspot-connect-routes/hubspot-connect-routes.js.map +1 -0
  460. package/dist/server/hono/hubspot-connect-routes/load-hubspot-connect-routes-env.js +34 -0
  461. package/dist/server/hono/hubspot-connect-routes/load-hubspot-connect-routes-env.js.map +1 -0
  462. package/dist/server/hono/hubspot-connect-routes/oauth-client.js +104 -0
  463. package/dist/server/hono/hubspot-connect-routes/oauth-client.js.map +1 -0
  464. package/dist/server/hono/hubspot-connect-routes/utils.js +73 -0
  465. package/dist/server/hono/hubspot-connect-routes/utils.js.map +1 -0
  466. package/dist/server/hono/index.js +4 -0
  467. package/dist/server/hono/types.d.ts +28 -0
  468. package/dist/server/hono/utils/cookie-utils.js +29 -0
  469. package/dist/server/hono/utils/cookie-utils.js.map +1 -0
  470. package/dist/server/import-app-keys.js +42 -0
  471. package/dist/server/import-app-keys.js.map +1 -0
  472. package/dist/server/lovable/create-app-function-start.d.ts +26 -0
  473. package/dist/server/lovable/create-app-function-start.js +28 -0
  474. package/dist/server/lovable/create-app-function-start.js.map +1 -0
  475. package/dist/server/lovable/hubspot-connect/index.d.ts +15 -0
  476. package/dist/server/lovable/hubspot-connect/index.js +20 -0
  477. package/dist/server/lovable/hubspot-connect/index.js.map +1 -0
  478. package/dist/server/lovable/hubspot-connect/run-hubspot-connect-lovable-server.js +29 -0
  479. package/dist/server/lovable/hubspot-connect/run-hubspot-connect-lovable-server.js.map +1 -0
  480. package/dist/server/lovable.d.ts +6 -0
  481. package/dist/server/lovable.js +4 -0
  482. package/dist/server/oauth.d.ts +6 -0
  483. package/dist/server/oauth.js +5 -0
  484. package/dist/server/proxy.js +68 -0
  485. package/dist/server/proxy.js.map +1 -0
  486. package/dist/server/sanitize-request.js +41 -0
  487. package/dist/server/sanitize-request.js.map +1 -0
  488. package/dist/server/secure-start-core.d.ts +23 -0
  489. package/dist/server/secure-start-core.js +28 -0
  490. package/dist/server/secure-start-core.js.map +1 -0
  491. package/dist/server/shared/constants.js +17 -0
  492. package/dist/server/shared/constants.js.map +1 -0
  493. package/dist/server/shared/encoding/base64.js +45 -0
  494. package/dist/server/shared/encoding/base64.js.map +1 -0
  495. package/dist/server/shared/encoding/sha256.d.ts +10 -0
  496. package/dist/server/shared/encoding/sha256.js +15 -0
  497. package/dist/server/shared/encoding/sha256.js.map +1 -0
  498. package/dist/server/shared/logger.d.ts +15 -0
  499. package/dist/server/shared/logger.js +16 -0
  500. package/dist/server/shared/logger.js.map +1 -0
  501. package/dist/server/types.d.ts +56 -0
  502. package/dist/server/utils/cookie-utils.js +21 -0
  503. package/dist/server/utils/cookie-utils.js.map +1 -0
  504. package/dist/server/utils/dpop-utils.d.ts +67 -0
  505. package/dist/server/utils/dpop-utils.js +75 -0
  506. package/dist/server/utils/dpop-utils.js.map +1 -0
  507. package/dist/server/utils/env-utils.js +54 -0
  508. package/dist/server/utils/env-utils.js.map +1 -0
  509. package/dist/server/utils/jwk-utils.d.ts +16 -0
  510. package/dist/server/utils/jwk-utils.js +24 -0
  511. package/dist/server/utils/jwk-utils.js.map +1 -0
  512. package/dist/server/utils/jwt-utils.d.ts +39 -0
  513. package/dist/server/utils/jwt-utils.js +87 -0
  514. package/dist/server/utils/jwt-utils.js.map +1 -0
  515. package/eslint.config.js +5 -0
  516. package/package.json +68 -0
  517. package/src/browser/app-connect-controller/README.md +92 -0
  518. package/src/browser/app-connect-controller/connect-start.ts +45 -0
  519. package/src/browser/app-connect-controller/constants.ts +15 -0
  520. package/src/browser/app-connect-controller/create.ts +137 -0
  521. package/src/browser/app-connect-controller/default-session-storage.ts +21 -0
  522. package/src/browser/app-connect-controller/disconnect.ts +54 -0
  523. package/src/browser/app-connect-controller/init.ts +35 -0
  524. package/src/browser/app-connect-controller/refresh.ts +124 -0
  525. package/src/browser/app-connect-controller/types.ts +48 -0
  526. package/src/browser/app-connect-controller/utils/crypto-utils.ts +1 -0
  527. package/src/browser/app-connect-controller/utils/encode-utils.ts +1 -0
  528. package/src/browser/app-connect-controller/utils/memoize-utils.test.ts +48 -0
  529. package/src/browser/app-connect-controller/utils/memoize-utils.ts +26 -0
  530. package/src/browser/app-connect-controller/utils/session-utils.test.ts +127 -0
  531. package/src/browser/app-connect-controller/utils/session-utils.ts +58 -0
  532. package/src/browser/app-connect-controller/utils/store-utils.test.ts +102 -0
  533. package/src/browser/app-connect-controller/utils/store-utils.ts +119 -0
  534. package/src/browser/app-connect-controller/utils/timeout-utils.ts +8 -0
  535. package/src/browser/app-connect-controller/view-state.test.ts +70 -0
  536. package/src/browser/app-connect-controller/view-state.ts +40 -0
  537. package/src/browser/index.ts +13 -0
  538. package/src/browser/react/components/AppConnectHeader/AppConnectHeader.css.ts +231 -0
  539. package/src/browser/react/components/AppConnectHeader/AppConnectHeader.tsx +124 -0
  540. package/src/browser/react/components/Button/Button.css.ts +59 -0
  541. package/src/browser/react/components/Button/Button.tsx +38 -0
  542. package/src/browser/react/components/ConnectButton/ConnectButton.css.ts +73 -0
  543. package/src/browser/react/components/ConnectButton/ConnectButton.tsx +43 -0
  544. package/src/browser/react/components/DisconnectedBody/DisconnectedBody.css.ts +25 -0
  545. package/src/browser/react/components/DisconnectedBody/DisconnectedBody.tsx +25 -0
  546. package/src/browser/react/components/HubSpotAppConnect/HubSpotAppConnect.css.ts +23 -0
  547. package/src/browser/react/components/HubSpotAppConnect/HubSpotAppConnect.tsx +90 -0
  548. package/src/browser/react/components/LoadingIndicator/LoadingIndicator.css.ts +28 -0
  549. package/src/browser/react/components/LoadingIndicator/LoadingIndicator.tsx +9 -0
  550. package/src/browser/react/components/ShareButton/ShareButton.css.ts +52 -0
  551. package/src/browser/react/components/ShareButton/ShareButton.tsx +43 -0
  552. package/src/browser/react/components/icons/ChevronDownIcon.tsx +23 -0
  553. package/src/browser/react/components/icons/ExternalLinkIcon.tsx +23 -0
  554. package/src/browser/react/components/icons/HubSpotDataSourceIcon.tsx +33 -0
  555. package/src/browser/react/components/icons/LogoutIcon.tsx +37 -0
  556. package/src/browser/react/components/icons/ShareIcon.tsx +31 -0
  557. package/src/browser/react/context.ts +12 -0
  558. package/src/browser/react/hooks.ts +28 -0
  559. package/src/browser/react/index.ts +6 -0
  560. package/src/browser/react/lovable/LovableHubSpotAppConnect.tsx +37 -0
  561. package/src/browser/react/lovable/index.ts +4 -0
  562. package/src/browser/theme-tokens.generated.css.ts +424 -0
  563. package/src/browser/theme.css.ts +21 -0
  564. package/src/browser/types.ts +83 -0
  565. package/src/server/api-client-core/apis/account/account-info-types.generated.ts +116 -0
  566. package/src/server/api-client-core/apis/account/account-info.generated.ts +14 -0
  567. package/src/server/api-client-core/apis/account/audit-logs-types.generated.ts +409 -0
  568. package/src/server/api-client-core/apis/account/audit-logs.generated.ts +41 -0
  569. package/src/server/api-client-core/apis/auth/oauth-types.generated.ts +138 -0
  570. package/src/server/api-client-core/apis/auth/oauth.generated.ts +26 -0
  571. package/src/server/api-client-core/apis/automation/actions-types.generated.ts +1337 -0
  572. package/src/server/api-client-core/apis/automation/actions.generated.ts +166 -0
  573. package/src/server/api-client-core/apis/automation/sequences-types.generated.ts +456 -0
  574. package/src/server/api-client-core/apis/automation/sequences.generated.ts +34 -0
  575. package/src/server/api-client-core/apis/business-units-types.generated.ts +82 -0
  576. package/src/server/api-client-core/apis/business-units.generated.ts +16 -0
  577. package/src/server/api-client-core/apis/cms/authors-types.generated.ts +4003 -0
  578. package/src/server/api-client-core/apis/cms/authors.generated.ts +199 -0
  579. package/src/server/api-client-core/apis/cms/blog-settings-types.generated.ts +3795 -0
  580. package/src/server/api-client-core/apis/cms/blog-settings.generated.ts +79 -0
  581. package/src/server/api-client-core/apis/cms/cms-content-audit-types.generated.ts +198 -0
  582. package/src/server/api-client-core/apis/cms/cms-content-audit.generated.ts +31 -0
  583. package/src/server/api-client-core/apis/cms/domains-types.generated.ts +201 -0
  584. package/src/server/api-client-core/apis/cms/domains.generated.ts +30 -0
  585. package/src/server/api-client-core/apis/cms/hubdb-types.generated.ts +1276 -0
  586. package/src/server/api-client-core/apis/cms/hubdb.generated.ts +220 -0
  587. package/src/server/api-client-core/apis/cms/media-bridge-types.generated.ts +8928 -0
  588. package/src/server/api-client-core/apis/cms/media-bridge.generated.ts +244 -0
  589. package/src/server/api-client-core/apis/cms/pages-types.generated.ts +5548 -0
  590. package/src/server/api-client-core/apis/cms/pages.generated.ts +423 -0
  591. package/src/server/api-client-core/apis/cms/posts-types.generated.ts +4682 -0
  592. package/src/server/api-client-core/apis/cms/posts.generated.ts +254 -0
  593. package/src/server/api-client-core/apis/cms/site-search-types.generated.ts +1914 -0
  594. package/src/server/api-client-core/apis/cms/site-search.generated.ts +40 -0
  595. package/src/server/api-client-core/apis/cms/source-code-types.generated.ts +240 -0
  596. package/src/server/api-client-core/apis/cms/source-code.generated.ts +54 -0
  597. package/src/server/api-client-core/apis/cms/tags-types.generated.ts +3969 -0
  598. package/src/server/api-client-core/apis/cms/tags.generated.ts +199 -0
  599. package/src/server/api-client-core/apis/cms/url-mappings-types.generated.ts +245 -0
  600. package/src/server/api-client-core/apis/cms/url-mappings.generated.ts +25 -0
  601. package/src/server/api-client-core/apis/cms/url-redirects-types.generated.ts +241 -0
  602. package/src/server/api-client-core/apis/cms/url-redirects.generated.ts +40 -0
  603. package/src/server/api-client-core/apis/communication-preferences/subscriptions-types.generated.ts +893 -0
  604. package/src/server/api-client-core/apis/communication-preferences/subscriptions.generated.ts +108 -0
  605. package/src/server/api-client-core/apis/conversations/custom-channels-types.generated.ts +687 -0
  606. package/src/server/api-client-core/apis/conversations/custom-channels.generated.ts +121 -0
  607. package/src/server/api-client-core/apis/conversations/visitor-identification-types.generated.ts +66 -0
  608. package/src/server/api-client-core/apis/conversations/visitor-identification.generated.ts +14 -0
  609. package/src/server/api-client-core/apis/conversations-types.generated.ts +1126 -0
  610. package/src/server/api-client-core/apis/conversations.generated.ts +152 -0
  611. package/src/server/api-client-core/apis/crm/app-uninstalls-types.generated.ts +37 -0
  612. package/src/server/api-client-core/apis/crm/app-uninstalls.generated.ts +12 -0
  613. package/src/server/api-client-core/apis/crm/appointments-types.generated.ts +1094 -0
  614. package/src/server/api-client-core/apis/crm/appointments.generated.ts +153 -0
  615. package/src/server/api-client-core/apis/crm/associations-schema-types.generated.ts +403 -0
  616. package/src/server/api-client-core/apis/crm/associations-schema.generated.ts +99 -0
  617. package/src/server/api-client-core/apis/crm/associations-types.generated.ts +750 -0
  618. package/src/server/api-client-core/apis/crm/associations.generated.ts +134 -0
  619. package/src/server/api-client-core/apis/crm/calling-extensions-types.generated.ts +565 -0
  620. package/src/server/api-client-core/apis/crm/calling-extensions.generated.ts +75 -0
  621. package/src/server/api-client-core/apis/crm/calls-types.generated.ts +938 -0
  622. package/src/server/api-client-core/apis/crm/calls.generated.ts +106 -0
  623. package/src/server/api-client-core/apis/crm/carts-types.generated.ts +938 -0
  624. package/src/server/api-client-core/apis/crm/carts.generated.ts +106 -0
  625. package/src/server/api-client-core/apis/crm/commerce-payments-types.generated.ts +938 -0
  626. package/src/server/api-client-core/apis/crm/commerce-payments.generated.ts +115 -0
  627. package/src/server/api-client-core/apis/crm/commerce-subscriptions-types.generated.ts +935 -0
  628. package/src/server/api-client-core/apis/crm/commerce-subscriptions.generated.ts +109 -0
  629. package/src/server/api-client-core/apis/crm/communications-types.generated.ts +938 -0
  630. package/src/server/api-client-core/apis/crm/communications.generated.ts +115 -0
  631. package/src/server/api-client-core/apis/crm/companies-types.generated.ts +976 -0
  632. package/src/server/api-client-core/apis/crm/companies.generated.ts +112 -0
  633. package/src/server/api-client-core/apis/crm/contacts-types.generated.ts +996 -0
  634. package/src/server/api-client-core/apis/crm/contacts.generated.ts +114 -0
  635. package/src/server/api-client-core/apis/crm/contracts-types.generated.ts +938 -0
  636. package/src/server/api-client-core/apis/crm/contracts.generated.ts +106 -0
  637. package/src/server/api-client-core/apis/crm/courses-types.generated.ts +941 -0
  638. package/src/server/api-client-core/apis/crm/courses.generated.ts +106 -0
  639. package/src/server/api-client-core/apis/crm/crm-owners-types.generated.ts +148 -0
  640. package/src/server/api-client-core/apis/crm/crm-owners.generated.ts +25 -0
  641. package/src/server/api-client-core/apis/crm/custom-objects-types.generated.ts +1024 -0
  642. package/src/server/api-client-core/apis/crm/custom-objects.generated.ts +136 -0
  643. package/src/server/api-client-core/apis/crm/deal-splits-types.generated.ts +208 -0
  644. package/src/server/api-client-core/apis/crm/deal-splits.generated.ts +14 -0
  645. package/src/server/api-client-core/apis/crm/deals-types.generated.ts +963 -0
  646. package/src/server/api-client-core/apis/crm/deals.generated.ts +107 -0
  647. package/src/server/api-client-core/apis/crm/discounts-types.generated.ts +934 -0
  648. package/src/server/api-client-core/apis/crm/discounts.generated.ts +106 -0
  649. package/src/server/api-client-core/apis/crm/emails-types.generated.ts +938 -0
  650. package/src/server/api-client-core/apis/crm/emails.generated.ts +106 -0
  651. package/src/server/api-client-core/apis/crm/exports-types.generated.ts +360 -0
  652. package/src/server/api-client-core/apis/crm/exports.generated.ts +24 -0
  653. package/src/server/api-client-core/apis/crm/feedback-submissions-types.generated.ts +676 -0
  654. package/src/server/api-client-core/apis/crm/feedback-submissions.generated.ts +89 -0
  655. package/src/server/api-client-core/apis/crm/fees-types.generated.ts +938 -0
  656. package/src/server/api-client-core/apis/crm/fees.generated.ts +106 -0
  657. package/src/server/api-client-core/apis/crm/goal-targets-types.generated.ts +938 -0
  658. package/src/server/api-client-core/apis/crm/goal-targets.generated.ts +107 -0
  659. package/src/server/api-client-core/apis/crm/imports-types.generated.ts +754 -0
  660. package/src/server/api-client-core/apis/crm/imports.generated.ts +41 -0
  661. package/src/server/api-client-core/apis/crm/invoices-types.generated.ts +938 -0
  662. package/src/server/api-client-core/apis/crm/invoices.generated.ts +106 -0
  663. package/src/server/api-client-core/apis/crm/leads-types.generated.ts +938 -0
  664. package/src/server/api-client-core/apis/crm/leads.generated.ts +106 -0
  665. package/src/server/api-client-core/apis/crm/limits-tracking-types.generated.ts +371 -0
  666. package/src/server/api-client-core/apis/crm/limits-tracking.generated.ts +42 -0
  667. package/src/server/api-client-core/apis/crm/line-items-types.generated.ts +938 -0
  668. package/src/server/api-client-core/apis/crm/line-items.generated.ts +107 -0
  669. package/src/server/api-client-core/apis/crm/listings-types.generated.ts +941 -0
  670. package/src/server/api-client-core/apis/crm/listings.generated.ts +106 -0
  671. package/src/server/api-client-core/apis/crm/lists-types.generated.ts +3053 -0
  672. package/src/server/api-client-core/apis/crm/lists.generated.ts +166 -0
  673. package/src/server/api-client-core/apis/crm/meetings-types.generated.ts +938 -0
  674. package/src/server/api-client-core/apis/crm/meetings.generated.ts +106 -0
  675. package/src/server/api-client-core/apis/crm/notes-types.generated.ts +938 -0
  676. package/src/server/api-client-core/apis/crm/notes.generated.ts +106 -0
  677. package/src/server/api-client-core/apis/crm/object-library-types.generated.ts +67 -0
  678. package/src/server/api-client-core/apis/crm/object-library.generated.ts +16 -0
  679. package/src/server/api-client-core/apis/crm/objects-types.generated.ts +785 -0
  680. package/src/server/api-client-core/apis/crm/objects.generated.ts +90 -0
  681. package/src/server/api-client-core/apis/crm/orders-types.generated.ts +938 -0
  682. package/src/server/api-client-core/apis/crm/orders.generated.ts +106 -0
  683. package/src/server/api-client-core/apis/crm/partner-clients-types.generated.ts +804 -0
  684. package/src/server/api-client-core/apis/crm/partner-clients.generated.ts +108 -0
  685. package/src/server/api-client-core/apis/crm/partner-services-types.generated.ts +802 -0
  686. package/src/server/api-client-core/apis/crm/partner-services.generated.ts +108 -0
  687. package/src/server/api-client-core/apis/crm/pipelines-types.generated.ts +491 -0
  688. package/src/server/api-client-core/apis/crm/pipelines.generated.ts +144 -0
  689. package/src/server/api-client-core/apis/crm/postal-mail-types.generated.ts +932 -0
  690. package/src/server/api-client-core/apis/crm/postal-mail.generated.ts +107 -0
  691. package/src/server/api-client-core/apis/crm/products-types.generated.ts +938 -0
  692. package/src/server/api-client-core/apis/crm/products.generated.ts +106 -0
  693. package/src/server/api-client-core/apis/crm/projects-types.generated.ts +973 -0
  694. package/src/server/api-client-core/apis/crm/projects.generated.ts +112 -0
  695. package/src/server/api-client-core/apis/crm/properties-types.generated.ts +705 -0
  696. package/src/server/api-client-core/apis/crm/properties.generated.ts +97 -0
  697. package/src/server/api-client-core/apis/crm/property-validations-types.generated.ts +225 -0
  698. package/src/server/api-client-core/apis/crm/property-validations.generated.ts +47 -0
  699. package/src/server/api-client-core/apis/crm/public-app-crm-cards-types.generated.ts +550 -0
  700. package/src/server/api-client-core/apis/crm/public-app-crm-cards.generated.ts +46 -0
  701. package/src/server/api-client-core/apis/crm/public-app-feature-flags-types.generated.ts +284 -0
  702. package/src/server/api-client-core/apis/crm/public-app-feature-flags.generated.ts +89 -0
  703. package/src/server/api-client-core/apis/crm/quotes-types.generated.ts +938 -0
  704. package/src/server/api-client-core/apis/crm/quotes.generated.ts +106 -0
  705. package/src/server/api-client-core/apis/crm/schemas-types.generated.ts +735 -0
  706. package/src/server/api-client-core/apis/crm/schemas.generated.ts +68 -0
  707. package/src/server/api-client-core/apis/crm/services-types.generated.ts +941 -0
  708. package/src/server/api-client-core/apis/crm/services.generated.ts +106 -0
  709. package/src/server/api-client-core/apis/crm/tasks-types.generated.ts +938 -0
  710. package/src/server/api-client-core/apis/crm/tasks.generated.ts +106 -0
  711. package/src/server/api-client-core/apis/crm/taxes-types.generated.ts +938 -0
  712. package/src/server/api-client-core/apis/crm/taxes.generated.ts +106 -0
  713. package/src/server/api-client-core/apis/crm/tickets-types.generated.ts +976 -0
  714. package/src/server/api-client-core/apis/crm/tickets.generated.ts +112 -0
  715. package/src/server/api-client-core/apis/crm/timeline-types.generated.ts +207 -0
  716. package/src/server/api-client-core/apis/crm/timeline.generated.ts +23 -0
  717. package/src/server/api-client-core/apis/crm/transcriptions-types.generated.ts +200 -0
  718. package/src/server/api-client-core/apis/crm/transcriptions.generated.ts +29 -0
  719. package/src/server/api-client-core/apis/crm/users-types.generated.ts +938 -0
  720. package/src/server/api-client-core/apis/crm/users.generated.ts +106 -0
  721. package/src/server/api-client-core/apis/crm/video-conferencing-extension-types.generated.ts +78 -0
  722. package/src/server/api-client-core/apis/crm/video-conferencing-extension.generated.ts +25 -0
  723. package/src/server/api-client-core/apis/events/manage-event-definitions-types.generated.ts +1621 -0
  724. package/src/server/api-client-core/apis/events/manage-event-definitions.generated.ts +73 -0
  725. package/src/server/api-client-core/apis/events/send-event-completions-types.generated.ts +103 -0
  726. package/src/server/api-client-core/apis/events/send-event-completions.generated.ts +19 -0
  727. package/src/server/api-client-core/apis/events-types.generated.ts +145 -0
  728. package/src/server/api-client-core/apis/events.generated.ts +30 -0
  729. package/src/server/api-client-core/apis/files-types.generated.ts +904 -0
  730. package/src/server/api-client-core/apis/files.generated.ts +164 -0
  731. package/src/server/api-client-core/apis/index.generated.ts +97 -0
  732. package/src/server/api-client-core/apis/marketing/campaigns-public-api-types.generated.ts +1434 -0
  733. package/src/server/api-client-core/apis/marketing/campaigns-public-api.generated.ts +191 -0
  734. package/src/server/api-client-core/apis/marketing/marketing-emails-types.generated.ts +3858 -0
  735. package/src/server/api-client-core/apis/marketing/marketing-emails.generated.ts +146 -0
  736. package/src/server/api-client-core/apis/marketing/marketing-events-types.generated.ts +2122 -0
  737. package/src/server/api-client-core/apis/marketing/marketing-events.generated.ts +320 -0
  738. package/src/server/api-client-core/apis/marketing/single-send-types.generated.ts +178 -0
  739. package/src/server/api-client-core/apis/marketing/single-send.generated.ts +15 -0
  740. package/src/server/api-client-core/apis/marketing/transactional-single-send-types.generated.ts +337 -0
  741. package/src/server/api-client-core/apis/marketing/transactional-single-send.generated.ts +44 -0
  742. package/src/server/api-client-core/apis/meta/origins-types.generated.ts +84 -0
  743. package/src/server/api-client-core/apis/meta/origins.generated.ts +19 -0
  744. package/src/server/api-client-core/apis/scheduler/meetings-types.generated.ts +1110 -0
  745. package/src/server/api-client-core/apis/scheduler/meetings.generated.ts +50 -0
  746. package/src/server/api-client-core/apis/settings/multicurrency-types.generated.ts +2054 -0
  747. package/src/server/api-client-core/apis/settings/multicurrency.generated.ts +78 -0
  748. package/src/server/api-client-core/apis/settings/tax-rates-types.generated.ts +119 -0
  749. package/src/server/api-client-core/apis/settings/tax-rates.generated.ts +23 -0
  750. package/src/server/api-client-core/apis/settings/user-provisioning-types.generated.ts +322 -0
  751. package/src/server/api-client-core/apis/settings/user-provisioning.generated.ts +48 -0
  752. package/src/server/api-client-core/apis/webhooks-journal-types.generated.ts +906 -0
  753. package/src/server/api-client-core/apis/webhooks-journal.generated.ts +131 -0
  754. package/src/server/api-client-core/apis/webhooks-types.generated.ts +1423 -0
  755. package/src/server/api-client-core/apis/webhooks.generated.ts +171 -0
  756. package/src/server/api-client-core/binary-data.ts +38 -0
  757. package/src/server/api-client-core/client.ts +115 -0
  758. package/src/server/api-client-core/codegen-helpers/file-op-wrappers.ts +25 -0
  759. package/src/server/api-client-core/errors.ts +31 -0
  760. package/src/server/api-client-core/index.ts +49 -0
  761. package/src/server/api-client-core/op.ts +61 -0
  762. package/src/server/api-client-core/pagination.ts +106 -0
  763. package/src/server/api-client-core/plugins/fetch-transport.ts +115 -0
  764. package/src/server/api-client-core/plugins/index.ts +10 -0
  765. package/src/server/api-client-core/types.ts +148 -0
  766. package/src/server/api-client.ts +1 -0
  767. package/src/server/constants.ts +53 -0
  768. package/src/server/deno/index.ts +1 -0
  769. package/src/server/deno/start.ts +25 -0
  770. package/src/server/hono/hono-request-handler.ts +106 -0
  771. package/src/server/hono/hubspot-connect-routes/auth-callback.test.ts +225 -0
  772. package/src/server/hono/hubspot-connect-routes/auth-callback.ts +198 -0
  773. package/src/server/hono/hubspot-connect-routes/auth-init-session.test.ts +144 -0
  774. package/src/server/hono/hubspot-connect-routes/auth-init-session.ts +126 -0
  775. package/src/server/hono/hubspot-connect-routes/auth-logout.test.ts +124 -0
  776. package/src/server/hono/hubspot-connect-routes/auth-logout.ts +140 -0
  777. package/src/server/hono/hubspot-connect-routes/auth-refresh.test.ts +224 -0
  778. package/src/server/hono/hubspot-connect-routes/auth-refresh.ts +171 -0
  779. package/src/server/hono/hubspot-connect-routes/cimd-client-metadata-types.ts +54 -0
  780. package/src/server/hono/hubspot-connect-routes/cimd-public-routes.test.ts +128 -0
  781. package/src/server/hono/hubspot-connect-routes/cimd-public-routes.ts +72 -0
  782. package/src/server/hono/hubspot-connect-routes/constants.ts +3 -0
  783. package/src/server/hono/hubspot-connect-routes/fetch-hubspot-client-metadata.test.ts +75 -0
  784. package/src/server/hono/hubspot-connect-routes/fetch-hubspot-client-metadata.ts +73 -0
  785. package/src/server/hono/hubspot-connect-routes/hubspot-connect-routes.ts +95 -0
  786. package/src/server/hono/hubspot-connect-routes/load-hubspot-connect-routes-env.test.ts +145 -0
  787. package/src/server/hono/hubspot-connect-routes/load-hubspot-connect-routes-env.ts +67 -0
  788. package/src/server/hono/hubspot-connect-routes/oauth-client.ts +181 -0
  789. package/src/server/hono/hubspot-connect-routes/types.ts +36 -0
  790. package/src/server/hono/hubspot-connect-routes/utils.test.ts +132 -0
  791. package/src/server/hono/hubspot-connect-routes/utils.ts +138 -0
  792. package/src/server/hono/index.ts +6 -0
  793. package/src/server/hono/types.ts +25 -0
  794. package/src/server/hono/utils/cookie-utils.ts +55 -0
  795. package/src/server/import-app-keys.ts +55 -0
  796. package/src/server/lovable/create-app-function-start.ts +55 -0
  797. package/src/server/lovable/hubspot-connect/index.ts +28 -0
  798. package/src/server/lovable/hubspot-connect/run-hubspot-connect-lovable-server.ts +40 -0
  799. package/src/server/lovable/index.ts +16 -0
  800. package/src/server/node/index.ts +1 -0
  801. package/src/server/node/start.ts +25 -0
  802. package/src/server/oauth.ts +6 -0
  803. package/src/server/proxy.test.ts +80 -0
  804. package/src/server/proxy.ts +116 -0
  805. package/src/server/sanitize-request.test.ts +65 -0
  806. package/src/server/sanitize-request.ts +52 -0
  807. package/src/server/secure-start-core.ts +67 -0
  808. package/src/server/types.ts +62 -0
  809. package/src/server/utils/base64-utils.ts +5 -0
  810. package/src/server/utils/cookie-utils.test.ts +48 -0
  811. package/src/server/utils/cookie-utils.ts +26 -0
  812. package/src/server/utils/crypto-utils.ts +1 -0
  813. package/src/server/utils/dpop-utils.test.ts +102 -0
  814. package/src/server/utils/dpop-utils.ts +161 -0
  815. package/src/server/utils/env-utils.test.ts +92 -0
  816. package/src/server/utils/env-utils.ts +65 -0
  817. package/src/server/utils/jwk-utils.test.ts +34 -0
  818. package/src/server/utils/jwk-utils.ts +30 -0
  819. package/src/server/utils/jwt-utils.test.ts +81 -0
  820. package/src/server/utils/jwt-utils.ts +141 -0
  821. package/src/server/utils/test-fixtures.ts +32 -0
  822. package/src/shared/constants.ts +13 -0
  823. package/src/shared/encoding/base64.test.ts +57 -0
  824. package/src/shared/encoding/base64.ts +50 -0
  825. package/src/shared/encoding/sha256.test.ts +25 -0
  826. package/src/shared/encoding/sha256.ts +14 -0
  827. package/src/shared/logger.ts +50 -0
  828. package/src/shared/wire-types.ts +40 -0
  829. package/tsconfig.browser.json +10 -0
  830. package/tsconfig.json +8 -0
  831. package/tsconfig.server.json +12 -0
  832. package/tsdown.config.ts +38 -0
  833. package/vitest.config.ts +9 -0
@@ -0,0 +1,2265 @@
1
+ import { Operation } from "../../types.js";
2
+
3
+ //#region src/server/api-client-core/apis/crm/lists-types.generated.d.ts
4
+ declare namespace CRMLists {
5
+ namespace Basic {
6
+ interface AddAndRemoveMembershipsInput {
7
+ data: Schemas.MembershipChangeRequest;
8
+ listId: string;
9
+ }
10
+ type AddAndRemoveMembershipsOutput = Schemas.MembershipsUpdateResponse;
11
+ interface AddMembershipsFromInput {
12
+ listId: string;
13
+ sourceListId: string;
14
+ }
15
+ type AddMembershipsFromOutput = void;
16
+ interface AddMembershipsInput {
17
+ data: string[];
18
+ listId: string;
19
+ }
20
+ type AddMembershipsOutput = Schemas.MembershipsUpdateResponse;
21
+ type CreateFolderInput = Schemas.ListFolderCreateRequest;
22
+ type CreateFolderOutput = Schemas.ListFolderCreateResponse;
23
+ type CreateIdMappingInput = string[];
24
+ type CreateIdMappingOutput = Schemas.PublicBatchMigrationMapping;
25
+ type CreateInput = Schemas.ListCreateRequest;
26
+ type CreateOutput = Schemas.ListCreateResponse;
27
+ interface DeleteFolderInput {
28
+ folderId: string;
29
+ }
30
+ type DeleteFolderOutput = void;
31
+ interface DeleteInput {
32
+ listId: string;
33
+ }
34
+ interface DeleteMembershipsInput {
35
+ listId: string;
36
+ }
37
+ type DeleteMembershipsOutput = void;
38
+ type DeleteOutput = void;
39
+ interface GetByObjectTypeAndNameInput {
40
+ includeFilters?: boolean;
41
+ listName: string;
42
+ objectTypeId: string;
43
+ }
44
+ type GetByObjectTypeAndNameOutput = Schemas.ListFetchResponse;
45
+ interface GetIdMappingInput {
46
+ legacyListId?: string;
47
+ }
48
+ type GetIdMappingOutput = Schemas.PublicMigrationMapping;
49
+ interface GetInput {
50
+ includeFilters?: boolean;
51
+ listId: string;
52
+ }
53
+ interface GetMembershipsJoinOrderInput {
54
+ /**
55
+ * 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.
56
+ */
57
+ after?: string;
58
+ before?: string;
59
+ /**
60
+ * The maximum number of results to display per page.
61
+ */
62
+ limit?: number;
63
+ listId: string;
64
+ }
65
+ type GetMembershipsJoinOrderOutput = Schemas.ApiCollectionResponseJoinTimeAndRecordId;
66
+ type GetOutput = Schemas.ListFetchResponse;
67
+ interface GetRecordMembershipsInput {
68
+ objectTypeId: string;
69
+ recordId: string;
70
+ }
71
+ type GetRecordMembershipsOutput = Schemas.ApiCollectionResponseRecordListMembership;
72
+ interface GetScheduleConversionInput {
73
+ listId: string;
74
+ }
75
+ type GetScheduleConversionOutput = Schemas.PublicListConversionResponse;
76
+ interface GetSizeAndEditsHistoryBetweenInput {
77
+ endDate?: string;
78
+ listId: string;
79
+ startDate?: string;
80
+ }
81
+ type GetSizeAndEditsHistoryBetweenOutput = Schemas.ListSizeAndEditHistoryResponse;
82
+ interface ListFoldersInput {
83
+ folderId?: string;
84
+ }
85
+ type ListFoldersOutput = Schemas.ListFolderFetchResponse;
86
+ interface ListInput {
87
+ includeFilters?: boolean;
88
+ listIds?: string[];
89
+ }
90
+ interface ListMembershipsInput {
91
+ /**
92
+ * 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.
93
+ */
94
+ after?: string;
95
+ before?: string;
96
+ /**
97
+ * The maximum number of results to display per page.
98
+ */
99
+ limit?: number;
100
+ listId: string;
101
+ }
102
+ type ListMembershipsOutput = Schemas.ApiCollectionResponseJoinTimeAndRecordId;
103
+ type ListOutput = Schemas.ListsByIdResponse;
104
+ interface MoveFolderInput {
105
+ folderId: string;
106
+ newParentFolderId: string;
107
+ }
108
+ type MoveFolderOutput = Schemas.ListFolderFetchResponse;
109
+ type MoveListInput = Schemas.ListMoveRequest;
110
+ type MoveListOutput = void;
111
+ interface RemoveMembershipsInput {
112
+ data: string[];
113
+ listId: string;
114
+ }
115
+ type RemoveMembershipsOutput = Schemas.MembershipsUpdateResponse;
116
+ interface RenameFolderInput {
117
+ folderId: string;
118
+ newFolderName?: string;
119
+ }
120
+ type RenameFolderOutput = Schemas.ListFolderFetchResponse;
121
+ interface RestoreInput {
122
+ listId: string;
123
+ }
124
+ type RestoreOutput = void;
125
+ interface ScheduleConversionInput {
126
+ listId: string;
127
+ }
128
+ type ScheduleConversionOutput = void;
129
+ interface UpdateListFiltersInput {
130
+ data: Schemas.ListFilterUpdateRequest;
131
+ enrollObjectsInWorkflows?: boolean;
132
+ listId: string;
133
+ }
134
+ type UpdateListFiltersOutput = Schemas.ListUpdateResponse;
135
+ interface UpdateListNameInput {
136
+ includeFilters?: boolean;
137
+ listId: string;
138
+ listName?: string;
139
+ }
140
+ type UpdateListNameOutput = Schemas.ListUpdateResponse;
141
+ interface UpdateScheduleConversionInput {
142
+ data: Schemas.PublicListConversionTime;
143
+ listId: string;
144
+ }
145
+ type UpdateScheduleConversionOutput = Schemas.PublicListConversionResponse;
146
+ }
147
+ namespace Batch {
148
+ type BatchReadMembershipsInput = Schemas.BatchInputRecordIdInput;
149
+ type BatchReadMembershipsOutput = Schemas.BatchResponseRecordIdWithMemberships;
150
+ }
151
+ namespace Schemas {
152
+ interface ApiCollectionResponseJoinTimeAndRecordId {
153
+ paging?: Schemas.Paging;
154
+ results: Schemas.JoinTimeAndRecordId[];
155
+ /**
156
+ * The total number of records that match the query.
157
+ */
158
+ total?: number;
159
+ }
160
+ interface ApiCollectionResponseRecordListMembership {
161
+ paging?: Schemas.Paging;
162
+ results: Schemas.RecordListMembership[];
163
+ total?: number;
164
+ }
165
+ interface BatchInputRecordIdInput {
166
+ inputs: Schemas.RecordIdInput[];
167
+ }
168
+ interface BatchResponseRecordIdWithMemberships {
169
+ completedAt: string;
170
+ links?: Record<string, string>;
171
+ requestedAt?: string;
172
+ results: Schemas.RecordIdWithMemberships[];
173
+ startedAt: string;
174
+ status: 'CANCELED' | 'COMPLETE' | 'PENDING' | 'PROCESSING';
175
+ }
176
+ interface JoinTimeAndRecordId {
177
+ /**
178
+ * The date and time when the record was added to the list.
179
+ */
180
+ membershipTimestamp: string;
181
+ /**
182
+ * The unique identifier of the record.
183
+ */
184
+ recordId: string;
185
+ }
186
+ interface ListCreateRequest {
187
+ /**
188
+ * The list of custom properties to tie to the list. Custom property name is the key, the value is the value.
189
+ */
190
+ customProperties?: Record<string, string>;
191
+ /**
192
+ * Filter branch object containing filtering criteria for the list
193
+ */
194
+ filterBranch?: Schemas.PublicOrFilterBranch | Schemas.PublicAndFilterBranch | Schemas.PublicNotAllFilterBranch | Schemas.PublicNotAnyFilterBranch | Schemas.PublicRestrictedFilterBranch | Schemas.PublicUnifiedEventsFilterBranch | Schemas.PublicPropertyAssociationFilterBranch | Schemas.PublicAssociationFilterBranch;
195
+ /**
196
+ * The ID of the folder that the list should be created in. If left blank, then the list will be created in the root of the list folder structure.
197
+ */
198
+ listFolderId?: number;
199
+ listPermissions?: Schemas.PublicListPermissions;
200
+ membershipSettings?: Schemas.PublicMembershipSettings;
201
+ /**
202
+ * The name of the list, which must be globally unique across all public lists in the portal.
203
+ */
204
+ name: string;
205
+ /**
206
+ * The object type ID of the type of objects that the list will store.
207
+ */
208
+ objectTypeId: string;
209
+ /**
210
+ * The processing type of the list. One of: `SNAPSHOT`, `MANUAL`, or `DYNAMIC`.
211
+ */
212
+ processingType: string;
213
+ }
214
+ interface ListCreateResponse {
215
+ list: Schemas.PublicObjectList;
216
+ }
217
+ interface ListFetchResponse {
218
+ list: Schemas.PublicObjectList;
219
+ }
220
+ interface ListFilterUpdateRequest {
221
+ /**
222
+ * Updated filtering criteria for the list
223
+ */
224
+ filterBranch: Schemas.PublicOrFilterBranch | Schemas.PublicAndFilterBranch | Schemas.PublicNotAllFilterBranch | Schemas.PublicNotAnyFilterBranch | Schemas.PublicRestrictedFilterBranch | Schemas.PublicUnifiedEventsFilterBranch | Schemas.PublicPropertyAssociationFilterBranch | Schemas.PublicAssociationFilterBranch;
225
+ }
226
+ interface ListFolderCreateRequest {
227
+ /**
228
+ * The name of the folder to be created.
229
+ */
230
+ name: string;
231
+ /**
232
+ * The folder this should be created in, if not specified will be created in the root folder 0.
233
+ */
234
+ parentFolderId?: string;
235
+ }
236
+ interface ListFolderCreateResponse {
237
+ folder: Schemas.PublicListFolder;
238
+ }
239
+ interface ListFolderFetchResponse {
240
+ folder: Schemas.PublicListFolder;
241
+ }
242
+ interface ListMoveRequest {
243
+ /**
244
+ * The Id of the list to move.
245
+ */
246
+ listId: string;
247
+ /**
248
+ * The Id of folder to move the list to, the root folder is Id 0.
249
+ */
250
+ newFolderId: string;
251
+ }
252
+ interface ListsByIdResponse {
253
+ /**
254
+ * The object list definitions.
255
+ */
256
+ lists: Schemas.PublicObjectList[];
257
+ }
258
+ interface ListSearchRequest {
259
+ /**
260
+ * The property names of any additional list properties to include in the response. Properties that do not exist or that are empty for a particular list are not included in the response.
261
+ *
262
+ * By default, all requests will fetch the following properties for each list: `hs_list_size`, `hs_last_record_added_at`, `hs_last_record_removed_at`, `hs_folder_name`, and `hs_list_reference_count`.
263
+ */
264
+ additionalProperties: string[];
265
+ /**
266
+ * The number of lists to include in the response. Defaults to `20` if no value is provided. The max `count` is `500`.
267
+ */
268
+ count?: number;
269
+ /**
270
+ * ILS list ids to be included in search results. If not specified, all lists matching other criteria will be included
271
+ */
272
+ listIds: string[];
273
+ objectTypeId?: string;
274
+ /**
275
+ * Value used to paginate through lists. The `offset` provided in the response can be used in the next request to fetch the next page of results. Defaults to `0` if no offset is provided.
276
+ */
277
+ offset: number;
278
+ /**
279
+ * List processing types to be included in search results. If not specified, all lists with all processing types will be included.
280
+ */
281
+ processingTypes: string[];
282
+ /**
283
+ * The `query` that will be used to search for lists by list name. If no `query` is provided, then the results will include all lists.
284
+ */
285
+ query?: string;
286
+ /**
287
+ * Sort field and order
288
+ */
289
+ sort?: string;
290
+ }
291
+ interface ListSearchResponse {
292
+ /**
293
+ * Whether or not there are more results to page through.
294
+ */
295
+ hasMore: boolean;
296
+ /**
297
+ * The lists that matched the search criteria.
298
+ */
299
+ lists: Schemas.PublicObjectListSearchResult[];
300
+ /**
301
+ * Value to be passed in a future request to paginate through list search results.
302
+ */
303
+ offset: number;
304
+ /**
305
+ * The total number of lists that match the search criteria.
306
+ */
307
+ total: number;
308
+ }
309
+ interface ListSizeAndEditHistoryResponse {
310
+ editHistory: string[];
311
+ sizeHistory: Schemas.ListSizeDataPoint[];
312
+ }
313
+ interface ListSizeDataPoint {
314
+ size: number;
315
+ timestamp: string;
316
+ }
317
+ interface ListUpdateResponse {
318
+ updatedList?: Schemas.PublicObjectList;
319
+ }
320
+ interface MembershipChangeRequest {
321
+ recordIdsToAdd: string[];
322
+ recordIdsToRemove: string[];
323
+ }
324
+ interface MembershipsUpdateResponse {
325
+ /**
326
+ * The IDs of the records that were `missing` (e.g. did not exist in the portal) and so were not `added` or `removed`.
327
+ */
328
+ recordIdsMissing: string[];
329
+ /**
330
+ * The IDs of the records that were `removed` from the list.
331
+ */
332
+ recordIdsRemoved: string[];
333
+ recordsIdsAdded: string[];
334
+ }
335
+ /**
336
+ * Specifies the paging information needed to retrieve the next set of results in a paginated API response
337
+ */
338
+ interface NextPage {
339
+ /**
340
+ * The offset for the next page of records.
341
+ */
342
+ after: string;
343
+ /**
344
+ * A direct link to the request for the next page of records.
345
+ */
346
+ link?: string;
347
+ }
348
+ interface Paging {
349
+ next?: Schemas.NextPage;
350
+ prev?: Schemas.PreviousPage;
351
+ }
352
+ /**
353
+ * specifies the paging information needed to retrieve the previous set of results in a paginated API response
354
+ */
355
+ interface PreviousPage {
356
+ /**
357
+ * The offset of the previous page of records.
358
+ */
359
+ before: string;
360
+ /**
361
+ * A direct link to the request for the previous page of records.
362
+ */
363
+ link?: string;
364
+ }
365
+ interface PublicAbsoluteComparativeTimestampRefineBy {
366
+ /**
367
+ * Timestamp comparison options (BEFORE, AFTER)
368
+ */
369
+ comparison: string;
370
+ /**
371
+ * Timestamp to be used in refine by criteria
372
+ */
373
+ timestamp: number;
374
+ /**
375
+ * type of refine by criteria (ABSOLUTE_COMPARATIVE)
376
+ */
377
+ type: 'ABSOLUTE_COMPARATIVE';
378
+ }
379
+ interface PublicAbsoluteRangedTimestampRefineBy {
380
+ /**
381
+ * Lower range timestamp of refinement criteria
382
+ */
383
+ lowerTimestamp: number;
384
+ /**
385
+ * Type of range of refinement critaria (BETWEEN, NOT_BETWEEN)
386
+ */
387
+ rangeType: string;
388
+ /**
389
+ * type of refine by criteria (ABSOLUTE_RANGED)
390
+ */
391
+ type: 'ABSOLUTE_RANGED';
392
+ /**
393
+ * Upper range timestamp of refinement criteria
394
+ */
395
+ upperTimestamp: number;
396
+ }
397
+ interface PublicAdsSearchFilter {
398
+ /**
399
+ * Ad network (ADWORDS, FACEBOOK, LINKEDIN, ALL)
400
+ */
401
+ adNetwork: string;
402
+ /**
403
+ * Type of ad entity (KEYWORD, ADGROUP, AD, CAMPAIGN)
404
+ */
405
+ entityType: string;
406
+ /**
407
+ * Type of the filter (ADS_SEARCH)
408
+ */
409
+ filterType: 'ADS_SEARCH';
410
+ /**
411
+ * Operator to be applied (CONTAINS, IS_EQUAL_TO, ENDS_WITH, STARTS_WITH, IS_KNOWN)
412
+ */
413
+ operator: string;
414
+ searchTerms: string[];
415
+ /**
416
+ * Search term to match an ad
417
+ */
418
+ searchTermType: string;
419
+ }
420
+ interface PublicAdsTimeFilter {
421
+ /**
422
+ * Filter type (ADS_TIME)
423
+ */
424
+ filterType: 'ADS_TIME';
425
+ /**
426
+ * Refinement criteria
427
+ */
428
+ pruningRefineBy: Schemas.PublicNumOccurrencesRefineBy | Schemas.PublicSetOccurrencesRefineBy | Schemas.PublicRelativeComparativeTimestampRefineBy | Schemas.PublicRelativeRangedTimestampRefineBy | Schemas.PublicAbsoluteComparativeTimestampRefineBy | Schemas.PublicAbsoluteRangedTimestampRefineBy | Schemas.PublicAllHistoryRefineBy | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
429
+ }
430
+ interface PublicAllHistoryRefineBy {
431
+ /**
432
+ * Type of refine by (ALL_HISTORY)
433
+ */
434
+ type: 'ALL_HISTORY';
435
+ }
436
+ interface PublicAllPropertyTypesOperation {
437
+ /**
438
+ * Indication of whether objects with no value should be included
439
+ */
440
+ includeObjectsWithNoValueSet: boolean;
441
+ /**
442
+ * Type of operation (ALL_PROPERTY)
443
+ */
444
+ operationType: 'ALL_PROPERTY';
445
+ /**
446
+ * Operator to be applied (IS_KNOWN, IS_UNKNOWN)
447
+ */
448
+ operator: string;
449
+ }
450
+ interface PublicAndFilterBranch {
451
+ filterBranches: (Schemas.PublicOrFilterBranch | Schemas.PublicAndFilterBranch | Schemas.PublicNotAllFilterBranch | Schemas.PublicNotAnyFilterBranch | Schemas.PublicRestrictedFilterBranch | Schemas.PublicUnifiedEventsFilterBranch | Schemas.PublicPropertyAssociationFilterBranch | Schemas.PublicAssociationFilterBranch)[];
452
+ /**
453
+ * Filter branch operator (AND)
454
+ */
455
+ filterBranchOperator: string;
456
+ /**
457
+ * Type of filter branch (AND)
458
+ */
459
+ filterBranchType: 'AND';
460
+ filters: (Schemas.PublicPropertyFilter | Schemas.PublicAssociationInListFilter | Schemas.PublicPageViewAnalyticsFilter | Schemas.PublicCtaAnalyticsFilter | Schemas.PublicEventAnalyticsFilter | Schemas.PublicFormSubmissionFilter | Schemas.PublicFormSubmissionOnPageFilter | Schemas.PublicIntegrationEventFilter | Schemas.PublicEmailSubscriptionFilter | Schemas.PublicCommunicationSubscriptionFilter | Schemas.PublicCampaignInfluencedFilter | Schemas.PublicSurveyMonkeyFilter | Schemas.PublicSurveyMonkeyValueFilter | Schemas.PublicWebinarFilter | Schemas.PublicEmailEventFilter | Schemas.PublicPrivacyAnalyticsFilter | Schemas.PublicAdsSearchFilter | Schemas.PublicAdsTimeFilter | Schemas.PublicInListFilter | Schemas.PublicNumAssociationsFilter | Schemas.PublicUnifiedEventsFilter | Schemas.PublicPropertyAssociationInListFilter | Schemas.PublicConstantFilter)[];
461
+ }
462
+ interface PublicAssociationFilterBranch {
463
+ /**
464
+ * Specifies the category of the association for the filter branch (HUBSPOT_DEFINED, USER_DEFINED, INTEGRATOR_DEFINED, WORK).
465
+ */
466
+ associationCategory: string;
467
+ /**
468
+ * Type id of the association
469
+ */
470
+ associationTypeId: number;
471
+ filterBranches: (Schemas.PublicOrFilterBranch | Schemas.PublicAndFilterBranch | Schemas.PublicNotAllFilterBranch | Schemas.PublicNotAnyFilterBranch | Schemas.PublicRestrictedFilterBranch | Schemas.PublicUnifiedEventsFilterBranch | Schemas.PublicPropertyAssociationFilterBranch | Schemas.PublicAssociationFilterBranch)[];
472
+ /**
473
+ * Filter branch operator (AND)
474
+ */
475
+ filterBranchOperator: string;
476
+ /**
477
+ * Type of the filter branch (ASSOCIATION)
478
+ */
479
+ filterBranchType: 'ASSOCIATION';
480
+ filters: (Schemas.PublicPropertyFilter | Schemas.PublicAssociationInListFilter | Schemas.PublicPageViewAnalyticsFilter | Schemas.PublicCtaAnalyticsFilter | Schemas.PublicEventAnalyticsFilter | Schemas.PublicFormSubmissionFilter | Schemas.PublicFormSubmissionOnPageFilter | Schemas.PublicIntegrationEventFilter | Schemas.PublicEmailSubscriptionFilter | Schemas.PublicCommunicationSubscriptionFilter | Schemas.PublicCampaignInfluencedFilter | Schemas.PublicSurveyMonkeyFilter | Schemas.PublicSurveyMonkeyValueFilter | Schemas.PublicWebinarFilter | Schemas.PublicEmailEventFilter | Schemas.PublicPrivacyAnalyticsFilter | Schemas.PublicAdsSearchFilter | Schemas.PublicAdsTimeFilter | Schemas.PublicInListFilter | Schemas.PublicNumAssociationsFilter | Schemas.PublicUnifiedEventsFilter | Schemas.PublicPropertyAssociationInListFilter | Schemas.PublicConstantFilter)[];
481
+ /**
482
+ * The ID representing the type of object associated with the filter branch.
483
+ */
484
+ objectTypeId: string;
485
+ /**
486
+ * Defines the operation to be applied within the filter branch (IN_LIST, NOT_IN_LIST).
487
+ */
488
+ operator: string;
489
+ }
490
+ interface PublicAssociationInListFilter {
491
+ /**
492
+ * Defines the category of the association, such as (HUBSPOT_DEFINED, USER_DEFINED, INTEGRATOR_DEFINED, WORK).
493
+ */
494
+ associationCategory: string;
495
+ /**
496
+ * The ID representing the type of association being filtered.
497
+ */
498
+ associationTypeId: number;
499
+ /**
500
+ * Specifies the criteria for refining the association filter.
501
+ */
502
+ coalescingRefineBy: Schemas.PublicNumOccurrencesRefineBy | Schemas.PublicSetOccurrencesRefineBy | Schemas.PublicRelativeComparativeTimestampRefineBy | Schemas.PublicRelativeRangedTimestampRefineBy | Schemas.PublicAbsoluteComparativeTimestampRefineBy | Schemas.PublicAbsoluteRangedTimestampRefineBy | Schemas.PublicAllHistoryRefineBy | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
503
+ /**
504
+ * Indicates the type of filter being applied, which is 'ASSOCIATION' by default.
505
+ */
506
+ filterType: 'ASSOCIATION';
507
+ /**
508
+ * The ID of the list used in the association filter.
509
+ */
510
+ listId: string;
511
+ /**
512
+ * Specifies the operation to be performed by the filter, such as 'IN_LIST' or 'NOT_IN_LIST'.
513
+ */
514
+ operator: string;
515
+ /**
516
+ * The type of object that the association filter is targeting.
517
+ */
518
+ toObjectType?: string;
519
+ /**
520
+ * The ID representing the type of object that the association filter is targeting.
521
+ */
522
+ toObjectTypeId?: string;
523
+ }
524
+ interface PublicBatchMigrationMapping {
525
+ legacyListIdsToIdsMapping: Schemas.PublicMigrationMapping[];
526
+ /**
527
+ * A list of legacy list ids that were passed in but not found. It will be empty if no id's are missing
528
+ */
529
+ missingLegacyListIds: string[];
530
+ }
531
+ interface PublicBoolPropertyOperation {
532
+ /**
533
+ * Indicates whether objects with no value set for the property should be included in the operation.
534
+ */
535
+ includeObjectsWithNoValueSet: boolean;
536
+ /**
537
+ * Specifies the type of operation (BOOL).
538
+ */
539
+ operationType: 'BOOL';
540
+ /**
541
+ * Defines the operation to be applied in the boolean property operation (IS_EQUAL_TO, IS_NOT_EQUAL_TO, HAS_EVER_BEEN_EQUAL_TO, HAS_NEVER_BEEN_EQUAL_TO).
542
+ */
543
+ operator: string;
544
+ /**
545
+ * The boolean value to be used in the operation.
546
+ */
547
+ value: boolean;
548
+ }
549
+ interface PublicCalendarDatePropertyOperation {
550
+ /**
551
+ * The month in which the fiscal year starts.
552
+ */
553
+ fiscalYearStart?: 'APRIL' | 'AUGUST' | 'DECEMBER' | 'FEBRUARY' | 'JANUARY' | 'JULY' | 'JUNE' | 'MARCH' | 'MAY' | 'NOVEMBER' | 'OCTOBER' | 'SEPTEMBER';
554
+ /**
555
+ * Indicates whether objects with no value set for the property should be included.
556
+ */
557
+ includeObjectsWithNoValueSet: boolean;
558
+ /**
559
+ * The type of operation, which is (CALENDAR_DATE).
560
+ */
561
+ operationType: 'CALENDAR_DATE';
562
+ /**
563
+ * Defines the operation to be applied to the calendar date property (IN_THIS_TIME_UNIT, IN_THIS_TIME_UNIT_SO_FAR, IN_NEXT_TIME_UNIT, IN_LAST_TIME_UNIT).
564
+ */
565
+ operator: string;
566
+ /**
567
+ * The unit of time to be used in the operation (DAY, WEEK, MONTH, QUARTER, YEAR).
568
+ */
569
+ timeUnit: string;
570
+ /**
571
+ * The count of time units to be applied in the operation (1).
572
+ */
573
+ timeUnitCount?: number;
574
+ /**
575
+ * Specifies whether the fiscal year should be used in the operation.
576
+ */
577
+ useFiscalYear?: boolean;
578
+ }
579
+ interface PublicCampaignInfluencedFilter {
580
+ /**
581
+ * The ID of the campaign that influences the filter.
582
+ */
583
+ campaignId: string;
584
+ /**
585
+ * Indicates the type of filter (CAMPAIGN_INFLUENCED).
586
+ */
587
+ filterType: 'CAMPAIGN_INFLUENCED';
588
+ }
589
+ interface PublicCommunicationSubscriptionFilter {
590
+ acceptedOptStates: string[];
591
+ /**
592
+ * The ID of the business unit associated with the subscription filter.
593
+ */
594
+ businessUnitId?: string;
595
+ /**
596
+ * Specifies the communication channel associated with the subscription filter (EMAIL, WHATSAPP, SMS).
597
+ */
598
+ channel: string;
599
+ /**
600
+ * Indicates the type of filter, which is (COMMUNICATION_SUBSCRIPTION)
601
+ */
602
+ filterType: 'COMMUNICATION_SUBSCRIPTION';
603
+ subscriptionIds: string[];
604
+ /**
605
+ * Defines the type of subscription related to the filter (PORTAL_WIDE, BUSINESS_UNIT_WIDE, INDIVIDUAL_SUBSCRIPTION)
606
+ */
607
+ subscriptionType: string;
608
+ }
609
+ interface PublicComparativeDatePropertyOperation {
610
+ /**
611
+ * The name of the property to compare against in the operation.
612
+ */
613
+ comparisonPropertyName: string;
614
+ /**
615
+ * The default value used for comparison if the actual comparison property value is not set.
616
+ */
617
+ defaultComparisonValue?: string;
618
+ /**
619
+ * Indicates whether objects with no value set for the property should be included in the operation.
620
+ */
621
+ includeObjectsWithNoValueSet: boolean;
622
+ /**
623
+ * The type of operation (COMPARATIVE_DATE).
624
+ */
625
+ operationType: 'COMPARATIVE_DATE';
626
+ /**
627
+ * Defines the operation to be applied in the comparative date property operation (IS_BEFORE, IS_AFTER).
628
+ */
629
+ operator: string;
630
+ }
631
+ interface PublicComparativePropertyUpdatedOperation {
632
+ /**
633
+ * The name of the property to compare against in the operation.
634
+ */
635
+ comparisonPropertyName: string;
636
+ /**
637
+ * The default value used for comparison if the actual comparison property value is not set.
638
+ */
639
+ defaultComparisonValue?: string;
640
+ /**
641
+ * Indicates whether objects with no value set for the property should be included in the operation.
642
+ */
643
+ includeObjectsWithNoValueSet: boolean;
644
+ /**
645
+ * Specifies the type of operation (COMPARATIVE_PROPERTY_UPDATED).
646
+ */
647
+ operationType: 'COMPARATIVE_PROPERTY_UPDATED';
648
+ /**
649
+ * Defines the operation to be applied, such as comparison operators (IS_BEFORE, IS_AFTER).
650
+ */
651
+ operator: string;
652
+ }
653
+ interface PublicConstantFilter {
654
+ /**
655
+ * Specifies the type of filter, which is (CONSTANT).
656
+ */
657
+ filterType: 'CONSTANT';
658
+ /**
659
+ * Indicates whether the filter should accept the condition.
660
+ */
661
+ shouldAccept: boolean;
662
+ /**
663
+ * Defines the source of the constant filter.
664
+ */
665
+ source?: string;
666
+ }
667
+ interface PublicCtaAnalyticsFilter {
668
+ /**
669
+ * Specifies the criteria for refining the filter by coalescing.
670
+ */
671
+ coalescingRefineBy?: Schemas.PublicNumOccurrencesRefineBy | Schemas.PublicSetOccurrencesRefineBy | Schemas.PublicRelativeComparativeTimestampRefineBy | Schemas.PublicRelativeRangedTimestampRefineBy | Schemas.PublicAbsoluteComparativeTimestampRefineBy | Schemas.PublicAbsoluteRangedTimestampRefineBy | Schemas.PublicAllHistoryRefineBy | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
672
+ /**
673
+ * The name of the Call-to-Action (CTA) to be used in the filter.
674
+ */
675
+ ctaName: string;
676
+ /**
677
+ * Indicates the type of filter being applied, which is (CTA).
678
+ */
679
+ filterType: 'CTA';
680
+ /**
681
+ * Defines the operation to be applied within the filter (HAS_CLICKED_CTA, HAS_NOT_CLICKED_CTA, HAS_OPENED_CTA, HAS_NOT_OPENED_CTA, HAS_CLICKED_CTA_PLACEMENT, HAS_NOT_CLICKED_CTA_PLACEMENT, HAS_OPENED_CTA_PLACEMENT, HAS_NOT_OPENED_CTA_PLACEMENT).
682
+ */
683
+ operator: string;
684
+ /**
685
+ * Specifies the criteria for refining the filter by pruning.
686
+ */
687
+ pruningRefineBy?: Schemas.PublicNumOccurrencesRefineBy | Schemas.PublicSetOccurrencesRefineBy | Schemas.PublicRelativeComparativeTimestampRefineBy | Schemas.PublicRelativeRangedTimestampRefineBy | Schemas.PublicAbsoluteComparativeTimestampRefineBy | Schemas.PublicAbsoluteRangedTimestampRefineBy | Schemas.PublicAllHistoryRefineBy | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
688
+ }
689
+ interface PublicDatePoint {
690
+ /**
691
+ * The day component of the date.
692
+ */
693
+ day: number;
694
+ /**
695
+ * The hour component of the time.
696
+ */
697
+ hour?: number;
698
+ /**
699
+ * The millisecond component of the time.
700
+ */
701
+ millisecond?: number;
702
+ /**
703
+ * The minute component of the time.
704
+ */
705
+ minute?: number;
706
+ /**
707
+ * The month component of the date.
708
+ */
709
+ month: number;
710
+ /**
711
+ * The second component of the time.
712
+ */
713
+ second?: number;
714
+ /**
715
+ * Specifies the type of time (DATE).
716
+ */
717
+ timeType: 'DATE';
718
+ /**
719
+ * The source of the time zone information.
720
+ */
721
+ timezoneSource?: string;
722
+ /**
723
+ * The year component of the date.
724
+ */
725
+ year: number;
726
+ /**
727
+ * The identifier for the time zone.
728
+ */
729
+ zoneId: string;
730
+ }
731
+ interface PublicDatePropertyOperation {
732
+ /**
733
+ * The day of the month for the date operation.
734
+ */
735
+ day: number;
736
+ /**
737
+ * Indicates whether objects with no value set for the property should be included.
738
+ */
739
+ includeObjectsWithNoValueSet: boolean;
740
+ /**
741
+ * The month for the date operation.
742
+ */
743
+ month: string;
744
+ /**
745
+ * Specifies the type of operation (DATE).
746
+ */
747
+ operationType: 'DATE';
748
+ /**
749
+ * Defines the operation to be applied in the date property operation (IS_LESS_THAN_X_DAYS_AGO, IS_MORE_THAN_X_DAYS_AGO, IS_LESS_THAN_X_DAYS_FROM_NOW, IS_MORE_THAN_X_DAYS_FROM_NOW).
750
+ */
751
+ operator: string;
752
+ /**
753
+ * The year for the date operation.
754
+ */
755
+ year: number;
756
+ }
757
+ interface PublicDateTimePropertyOperation {
758
+ /**
759
+ * Specifies whether objects without a set value should be included in the operation.
760
+ */
761
+ includeObjectsWithNoValueSet: boolean;
762
+ /**
763
+ * The type of operation (DATETIME).
764
+ */
765
+ operationType: 'DATETIME';
766
+ /**
767
+ * Defines the operation to be applied, such as comparison operators (IS_BEFORE, IS_AFTER).
768
+ */
769
+ operator: string;
770
+ /**
771
+ * Indicates whether the timestamp requires conversion to a different time zone.
772
+ */
773
+ requiresTimeZoneConversion: boolean;
774
+ /**
775
+ * The specific point in time used in the operation.
776
+ */
777
+ timestamp: number;
778
+ }
779
+ interface PublicEmailEventFilter {
780
+ /**
781
+ * The ID of the application associated with the email event filter.
782
+ */
783
+ appId: string;
784
+ /**
785
+ * The URL that was clicked in the email event.
786
+ */
787
+ clickUrl?: string;
788
+ /**
789
+ * The ID of the email associated with the event filter.
790
+ */
791
+ emailId: string;
792
+ /**
793
+ * Indicates the type of filter (EMAIL_EVENT).
794
+ */
795
+ filterType: 'EMAIL_EVENT';
796
+ /**
797
+ * Specifies the level of the email event, such as EMAIL_API_CAMPAIGN_GROUP.
798
+ */
799
+ level: string;
800
+ /**
801
+ * Defines the operation to be applied within the filter (BOUNCED, LINK_CLICKED, MARKED_SPAM, OPENED, OPENED_BUT_LINK_NOT_CLICKED, OPENED_BUT_NOT_REPLIED, RECEIVED, RECEIVED_BUT_NOT_OPENED, REPLIED, SENT, SENT_BUT_LINK_NOT_CLICKED, SENT_BUT_NOT_RECEIVED, UNSUBSCRIBED).
802
+ */
803
+ operator: 'BOUNCED' | 'LINK_CLICKED' | 'MARKED_SPAM' | 'OPENED' | 'OPENED_BUT_LINK_NOT_CLICKED' | 'OPENED_BUT_NOT_REPLIED' | 'RECEIVED' | 'RECEIVED_BUT_NOT_OPENED' | 'REPLIED' | 'SENT' | 'SENT_BUT_LINK_NOT_CLICKED' | 'SENT_BUT_NOT_RECEIVED' | 'UNSUBSCRIBED';
804
+ /**
805
+ * Specifies the criteria for refining the filter by pruning.
806
+ */
807
+ pruningRefineBy?: Schemas.PublicNumOccurrencesRefineBy | Schemas.PublicSetOccurrencesRefineBy | Schemas.PublicRelativeComparativeTimestampRefineBy | Schemas.PublicRelativeRangedTimestampRefineBy | Schemas.PublicAbsoluteComparativeTimestampRefineBy | Schemas.PublicAbsoluteRangedTimestampRefineBy | Schemas.PublicAllHistoryRefineBy | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
808
+ }
809
+ interface PublicEmailSubscriptionFilter {
810
+ acceptedStatuses: string[];
811
+ /**
812
+ * Indicates the type of filter (EMAIL_SUBSCRIPTION).
813
+ */
814
+ filterType: 'EMAIL_SUBSCRIPTION';
815
+ subscriptionIds: string[];
816
+ /**
817
+ * The type of subscription related to the filter (PORTAL, BRAND, SUBSCRIPTION, HARDBOUNCE, SPAMREPORT).
818
+ */
819
+ subscriptionType?: string;
820
+ }
821
+ interface PublicEnumerationPropertyOperation {
822
+ /**
823
+ * Indicates whether objects with no value set for the property should be included in the operation.
824
+ */
825
+ includeObjectsWithNoValueSet: boolean;
826
+ /**
827
+ * Specifies the type of operation (ENUMERATION).
828
+ */
829
+ operationType: 'ENUMERATION';
830
+ /**
831
+ * Defines the operation to be applied in the enumeration property operation (IS_ANY_OF, IS_NONE_OF, IS_EXACTLY, IS_NOT_EXACTLY, CONTAINS_ALL, DOES_NOT_CONTAIN_ALL, HAS_EVER_BEEN_ANY_OF, HAS_NEVER_BEEN_ANY_OF, HAS_EVER_BEEN_EXACTLY, HAS_NEVER_BEEN_EXACTLY, HAS_EVER_CONTAINED_ALL, HAS_NEVER_CONTAINED_ALL).
832
+ */
833
+ operator: string;
834
+ values: string[];
835
+ }
836
+ interface PublicEventAnalyticsFilter {
837
+ /**
838
+ * Specifies the criteria for refining the event filter by coalescing.
839
+ */
840
+ coalescingRefineBy?: Schemas.PublicNumOccurrencesRefineBy | Schemas.PublicSetOccurrencesRefineBy | Schemas.PublicRelativeComparativeTimestampRefineBy | Schemas.PublicRelativeRangedTimestampRefineBy | Schemas.PublicAbsoluteComparativeTimestampRefineBy | Schemas.PublicAbsoluteRangedTimestampRefineBy | Schemas.PublicAllHistoryRefineBy | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
841
+ /**
842
+ * The ID of the event to be used in the filter.
843
+ */
844
+ eventId: string;
845
+ /**
846
+ * Indicates the type of filter being applied (EVENT).
847
+ */
848
+ filterType: 'EVENT';
849
+ /**
850
+ * Defines the operation to be applied within the event filter (HAS_EVENT, NOT_HAS_EVENT).
851
+ */
852
+ operator: string;
853
+ /**
854
+ * Specifies the criteria for refining the event filter by pruning.
855
+ */
856
+ pruningRefineBy?: Schemas.PublicNumOccurrencesRefineBy | Schemas.PublicSetOccurrencesRefineBy | Schemas.PublicRelativeComparativeTimestampRefineBy | Schemas.PublicRelativeRangedTimestampRefineBy | Schemas.PublicAbsoluteComparativeTimestampRefineBy | Schemas.PublicAbsoluteRangedTimestampRefineBy | Schemas.PublicAllHistoryRefineBy | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
857
+ }
858
+ interface PublicEventFilterMetadata {
859
+ /**
860
+ * Defines the operation to be performed on the property
861
+ */
862
+ operation: Schemas.PublicBoolPropertyOperation | Schemas.PublicNumberPropertyOperation | Schemas.PublicStringPropertyOperation | Schemas.PublicDateTimePropertyOperation | Schemas.PublicRangedDatePropertyOperation | Schemas.PublicComparativePropertyUpdatedOperation | Schemas.PublicComparativeDatePropertyOperation | Schemas.PublicRollingDateRangePropertyOperation | Schemas.PublicRollingPropertyUpdatedOperation | Schemas.PublicEnumerationPropertyOperation | Schemas.PublicAllPropertyTypesOperation | Schemas.PublicRangedNumberPropertyOperation | Schemas.PublicMultiStringPropertyOperation | Schemas.PublicDatePropertyOperation | Schemas.PublicCalendarDatePropertyOperation | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
863
+ /**
864
+ * Specifies the property on which the operation is to be applied.
865
+ */
866
+ property: string;
867
+ }
868
+ interface PublicFiscalQuarterReference {
869
+ /**
870
+ * The day component of the fiscal quarter reference.
871
+ */
872
+ day: number;
873
+ /**
874
+ * The hour component of the fiscal quarter reference.
875
+ */
876
+ hour?: number;
877
+ /**
878
+ * The millisecond component of the fiscal quarter reference.
879
+ */
880
+ millisecond?: number;
881
+ /**
882
+ * The minute component of the fiscal quarter reference.
883
+ */
884
+ minute?: number;
885
+ /**
886
+ * The month component of the fiscal quarter reference.
887
+ */
888
+ month: number;
889
+ /**
890
+ * Indicates the type of reference (FISCAL_QUARTER).
891
+ */
892
+ referenceType: 'FISCAL_QUARTER';
893
+ /**
894
+ * The second component of the fiscal quarter reference.
895
+ */
896
+ second?: number;
897
+ }
898
+ interface PublicFiscalYearReference {
899
+ /**
900
+ * The day component of the fiscal year reference.
901
+ */
902
+ day: number;
903
+ /**
904
+ * The hour component of the fiscal year reference.
905
+ */
906
+ hour?: number;
907
+ /**
908
+ * The millisecond component of the fiscal year reference.
909
+ */
910
+ millisecond?: number;
911
+ /**
912
+ * The minute component of the fiscal year reference.
913
+ */
914
+ minute?: number;
915
+ /**
916
+ * The month component of the fiscal year reference.
917
+ */
918
+ month: number;
919
+ /**
920
+ * Indicates the type of reference (FISCAL_YEAR).
921
+ */
922
+ referenceType: 'FISCAL_YEAR';
923
+ /**
924
+ * The second component of the fiscal year reference.
925
+ */
926
+ second?: number;
927
+ }
928
+ interface PublicFormSubmissionFilter {
929
+ /**
930
+ * Specifies the criteria for refining the filter by coalescing.
931
+ */
932
+ coalescingRefineBy?: Schemas.PublicNumOccurrencesRefineBy | Schemas.PublicSetOccurrencesRefineBy | Schemas.PublicRelativeComparativeTimestampRefineBy | Schemas.PublicRelativeRangedTimestampRefineBy | Schemas.PublicAbsoluteComparativeTimestampRefineBy | Schemas.PublicAbsoluteRangedTimestampRefineBy | Schemas.PublicAllHistoryRefineBy | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
933
+ /**
934
+ * Indicates the type of filter (FORM_SUBMISSION).
935
+ */
936
+ filterType: 'FORM_SUBMISSION';
937
+ /**
938
+ * The ID of the form used in the filter.
939
+ */
940
+ formId?: string;
941
+ /**
942
+ * Specifies the operation to be performed (FILLED_OUT, NOT_FILLED_OUT).
943
+ */
944
+ operator: 'FILLED_OUT' | 'NOT_FILLED_OUT';
945
+ /**
946
+ * Specifies the criteria for refining the filter by pruning.
947
+ */
948
+ pruningRefineBy?: Schemas.PublicNumOccurrencesRefineBy | Schemas.PublicSetOccurrencesRefineBy | Schemas.PublicRelativeComparativeTimestampRefineBy | Schemas.PublicRelativeRangedTimestampRefineBy | Schemas.PublicAbsoluteComparativeTimestampRefineBy | Schemas.PublicAbsoluteRangedTimestampRefineBy | Schemas.PublicAllHistoryRefineBy | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
949
+ }
950
+ interface PublicFormSubmissionOnPageFilter {
951
+ /**
952
+ * Defines the criteria for refining the filter by coalescing.
953
+ */
954
+ coalescingRefineBy?: Schemas.PublicNumOccurrencesRefineBy | Schemas.PublicSetOccurrencesRefineBy | Schemas.PublicRelativeComparativeTimestampRefineBy | Schemas.PublicRelativeRangedTimestampRefineBy | Schemas.PublicAbsoluteComparativeTimestampRefineBy | Schemas.PublicAbsoluteRangedTimestampRefineBy | Schemas.PublicAllHistoryRefineBy | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
955
+ /**
956
+ * Indicates the type of filter (FORM_SUBMISSION_ON_PAGE).
957
+ */
958
+ filterType: 'FORM_SUBMISSION_ON_PAGE';
959
+ /**
960
+ * The ID of the form associated with the submission filter.
961
+ */
962
+ formId?: string;
963
+ /**
964
+ * Specifies the operation to be applied (FILLED_OUT, NOT_FILLED_OUT).
965
+ */
966
+ operator: 'FILLED_OUT' | 'NOT_FILLED_OUT';
967
+ /**
968
+ * The ID of the page where the form submission occurred.
969
+ */
970
+ pageId: string;
971
+ /**
972
+ * Specifies the criteria for refining the filter by pruning.
973
+ */
974
+ pruningRefineBy?: Schemas.PublicNumOccurrencesRefineBy | Schemas.PublicSetOccurrencesRefineBy | Schemas.PublicRelativeComparativeTimestampRefineBy | Schemas.PublicRelativeRangedTimestampRefineBy | Schemas.PublicAbsoluteComparativeTimestampRefineBy | Schemas.PublicAbsoluteRangedTimestampRefineBy | Schemas.PublicAllHistoryRefineBy | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
975
+ }
976
+ interface PublicIndexedTimePoint {
977
+ /**
978
+ * Specifies the reference point in time for the indexed time point.
979
+ */
980
+ indexReference: Schemas.PublicNowReference | Schemas.PublicTodayReference | Schemas.PublicWeekReference | Schemas.PublicFiscalQuarterReference | Schemas.PublicFiscalYearReference | Schemas.PublicYearReference | Schemas.PublicQuarterReference | Schemas.PublicMonthReference;
981
+ offset?: Schemas.PublicIndexOffset;
982
+ /**
983
+ * Defines the type of time (INDEXED).
984
+ */
985
+ timeType: 'INDEXED';
986
+ /**
987
+ * Specifies the source of the time zone information for the indexed time point (CUSTOM, USER, PORTAL).
988
+ */
989
+ timezoneSource?: string;
990
+ /**
991
+ * Indicates the identifier for the time zone associated with the indexed time point.
992
+ */
993
+ zoneId: string;
994
+ }
995
+ interface PublicIndexOffset {
996
+ /**
997
+ * The number of days to offset.
998
+ */
999
+ days?: number;
1000
+ /**
1001
+ * The number of hours to offset.
1002
+ */
1003
+ hours?: number;
1004
+ /**
1005
+ * The number of milliseconds to offset.
1006
+ */
1007
+ milliseconds?: number;
1008
+ /**
1009
+ * The number of minutes to offset.
1010
+ */
1011
+ minutes?: number;
1012
+ /**
1013
+ * The number of months to offset.
1014
+ */
1015
+ months?: number;
1016
+ /**
1017
+ * The number of quarters to offset.
1018
+ */
1019
+ quarters?: number;
1020
+ /**
1021
+ * The number of seconds to offset.
1022
+ */
1023
+ seconds?: number;
1024
+ /**
1025
+ * The number of weeks to offset.
1026
+ */
1027
+ weeks?: number;
1028
+ /**
1029
+ * The number of years to offset.
1030
+ */
1031
+ years?: number;
1032
+ }
1033
+ interface PublicInListFilter {
1034
+ /**
1035
+ * Indicates the type of filter being applied (IN_LIST).
1036
+ */
1037
+ filterType: 'IN_LIST';
1038
+ /**
1039
+ * The ID of the list used in the association filter.
1040
+ */
1041
+ listId: string;
1042
+ metadata?: Schemas.PublicInListFilterMetadata;
1043
+ /**
1044
+ * Specifies the operation to be performed by the filter (IN_LIST, NOT_IN_LIST).
1045
+ */
1046
+ operator: string;
1047
+ }
1048
+ interface PublicInListFilterMetadata {
1049
+ /**
1050
+ * The identifier for the filter metadata.
1051
+ */
1052
+ id: string;
1053
+ /**
1054
+ * Specifies the type of list for the filter (WORKFLOWS_ENROLLMENT, WORKFLOWS_ACTIVE, WORKFLOWS_GOAL, WORKFLOWS_COMPLETED, IMPORT, DATASET, DATASETS).
1055
+ */
1056
+ inListType: string;
1057
+ }
1058
+ interface PublicIntegrationEventFilter {
1059
+ /**
1060
+ * The ID representing the type of event for the integration event filter.
1061
+ */
1062
+ eventTypeId: number;
1063
+ filterLines: Schemas.PublicEventFilterMetadata[];
1064
+ /**
1065
+ * Indicates the type of filter (INTEGRATION_EVENT).
1066
+ */
1067
+ filterType: 'INTEGRATION_EVENT';
1068
+ }
1069
+ interface PublicListConversionDate {
1070
+ /**
1071
+ * Specifies the type of conversion (CONVERSION_DATE).
1072
+ */
1073
+ conversionType: 'CONVERSION_DATE';
1074
+ /**
1075
+ * The day component of the conversion date.
1076
+ */
1077
+ day: number;
1078
+ /**
1079
+ * The month component of the conversion date.
1080
+ */
1081
+ month: number;
1082
+ /**
1083
+ * The year component of the conversion date.
1084
+ */
1085
+ year: number;
1086
+ }
1087
+ interface PublicListConversionInactivity {
1088
+ /**
1089
+ * Specifies the type of conversion (INACTIVITY).
1090
+ */
1091
+ conversionType: 'INACTIVITY';
1092
+ /**
1093
+ * Value used to paginate through lists. The `offset` provided in the response can be used in the next request to fetch the next page of results. Defaults to `0` if no offset is provided.
1094
+ */
1095
+ offset: number;
1096
+ /**
1097
+ * The unit of time for the inactivity period, such as (DAY, MONTH, WEEK).
1098
+ */
1099
+ timeUnit: 'DAY' | 'MONTH' | 'WEEK';
1100
+ }
1101
+ interface PublicListConversionResponse {
1102
+ /**
1103
+ * The date and time when the list was converted.
1104
+ */
1105
+ convertedAt?: string;
1106
+ /**
1107
+ * The unique identifier of the list for which the conversion details are provided.
1108
+ */
1109
+ listId: string;
1110
+ /**
1111
+ * The scheduled time for the list conversion, which can be based on a specific date or inactivity period.
1112
+ */
1113
+ requestedConversionTime?: Schemas.PublicListConversionDate | Schemas.PublicListConversionInactivity;
1114
+ }
1115
+ type PublicListConversionTime = Schemas.PublicListConversionDate | Schemas.PublicListConversionInactivity;
1116
+ interface PublicListFolder {
1117
+ /**
1118
+ * An array of list Id's contained in this folder.
1119
+ */
1120
+ childLists: number[];
1121
+ childNodes: Schemas.PublicListFolder[];
1122
+ /**
1123
+ * The time the folder was created at.
1124
+ */
1125
+ createdAt?: string;
1126
+ /**
1127
+ * The Id of the folder.
1128
+ */
1129
+ id: string;
1130
+ /**
1131
+ * The name of the folder.
1132
+ */
1133
+ name?: string;
1134
+ /**
1135
+ * The Id of the folder this folder is in, the root folder is represented as 0.
1136
+ */
1137
+ parentFolderId: string;
1138
+ /**
1139
+ * The time the folder was last updated at.
1140
+ */
1141
+ updatedAt?: string;
1142
+ /**
1143
+ * The time that the contents of the folder was last updated at.
1144
+ */
1145
+ updatedContentsAt?: string;
1146
+ /**
1147
+ * The user Id of the owner of the folder.
1148
+ */
1149
+ userId?: number;
1150
+ }
1151
+ interface PublicListPermissions {
1152
+ teamsWithEditAccess: number[];
1153
+ usersWithEditAccess: number[];
1154
+ }
1155
+ interface PublicMembershipSettings {
1156
+ /**
1157
+ * Indicates whether unassigned memberships should be included.
1158
+ */
1159
+ includeUnassigned?: boolean;
1160
+ /**
1161
+ * The ID of the team associated with the membership.
1162
+ */
1163
+ membershipTeamId?: number;
1164
+ }
1165
+ interface PublicMigrationMapping {
1166
+ /**
1167
+ * The legacy list id for the list
1168
+ */
1169
+ legacyListId: string;
1170
+ /**
1171
+ * The V3 list id for the list
1172
+ */
1173
+ listId: string;
1174
+ }
1175
+ interface PublicMonthReference {
1176
+ /**
1177
+ * The day component of the month reference.
1178
+ */
1179
+ day: number;
1180
+ /**
1181
+ * The hour component of the month reference.
1182
+ */
1183
+ hour?: number;
1184
+ /**
1185
+ * The millisecond component of the month reference.
1186
+ */
1187
+ millisecond?: number;
1188
+ /**
1189
+ * The minute component of the month reference.
1190
+ */
1191
+ minute?: number;
1192
+ /**
1193
+ * Indicates the type of reference, (MONTH).
1194
+ */
1195
+ referenceType: 'MONTH';
1196
+ /**
1197
+ * The second component of the month reference.
1198
+ */
1199
+ second?: number;
1200
+ }
1201
+ interface PublicMultiStringPropertyOperation {
1202
+ /**
1203
+ * Indicates whether objects with no value set for the property should be included in the operation.
1204
+ */
1205
+ includeObjectsWithNoValueSet: boolean;
1206
+ /**
1207
+ * Specifies the type of operation (MULTISTRING).
1208
+ */
1209
+ operationType: 'MULTISTRING';
1210
+ /**
1211
+ * Defines the operation to be applied in the multi-string property operation (IS_EQUAL_TO, IS_NOT_EQUAL_TO, CONTAINS, CONTAINS_EXACTLY, DOES_NOT_CONTAIN, DOES_NOT_CONTAIN_EXACTLY, STARTS_WITH, ENDS_WITH).
1212
+ */
1213
+ operator: string;
1214
+ values: string[];
1215
+ }
1216
+ interface PublicNotAllFilterBranch {
1217
+ filterBranches: (Schemas.PublicOrFilterBranch | Schemas.PublicAndFilterBranch | Schemas.PublicNotAllFilterBranch | Schemas.PublicNotAnyFilterBranch | Schemas.PublicRestrictedFilterBranch | Schemas.PublicUnifiedEventsFilterBranch | Schemas.PublicPropertyAssociationFilterBranch | Schemas.PublicAssociationFilterBranch)[];
1218
+ /**
1219
+ * The operator used to combine filters within the branch (NOT_ALL).
1220
+ */
1221
+ filterBranchOperator: string;
1222
+ /**
1223
+ * The type of the filter branch (NOT_ALL).
1224
+ */
1225
+ filterBranchType: 'NOT_ALL';
1226
+ filters: (Schemas.PublicPropertyFilter | Schemas.PublicAssociationInListFilter | Schemas.PublicPageViewAnalyticsFilter | Schemas.PublicCtaAnalyticsFilter | Schemas.PublicEventAnalyticsFilter | Schemas.PublicFormSubmissionFilter | Schemas.PublicFormSubmissionOnPageFilter | Schemas.PublicIntegrationEventFilter | Schemas.PublicEmailSubscriptionFilter | Schemas.PublicCommunicationSubscriptionFilter | Schemas.PublicCampaignInfluencedFilter | Schemas.PublicSurveyMonkeyFilter | Schemas.PublicSurveyMonkeyValueFilter | Schemas.PublicWebinarFilter | Schemas.PublicEmailEventFilter | Schemas.PublicPrivacyAnalyticsFilter | Schemas.PublicAdsSearchFilter | Schemas.PublicAdsTimeFilter | Schemas.PublicInListFilter | Schemas.PublicNumAssociationsFilter | Schemas.PublicUnifiedEventsFilter | Schemas.PublicPropertyAssociationInListFilter | Schemas.PublicConstantFilter)[];
1227
+ }
1228
+ interface PublicNotAnyFilterBranch {
1229
+ filterBranches: (Schemas.PublicOrFilterBranch | Schemas.PublicAndFilterBranch | Schemas.PublicNotAllFilterBranch | Schemas.PublicNotAnyFilterBranch | Schemas.PublicRestrictedFilterBranch | Schemas.PublicUnifiedEventsFilterBranch | Schemas.PublicPropertyAssociationFilterBranch | Schemas.PublicAssociationFilterBranch)[];
1230
+ /**
1231
+ * Specifies the logical operator used to combine filters within the branch (NOT_ANY).
1232
+ */
1233
+ filterBranchOperator: string;
1234
+ /**
1235
+ * Indicates the type of filter branch (NOT_ANY).
1236
+ */
1237
+ filterBranchType: 'NOT_ANY';
1238
+ filters: (Schemas.PublicPropertyFilter | Schemas.PublicAssociationInListFilter | Schemas.PublicPageViewAnalyticsFilter | Schemas.PublicCtaAnalyticsFilter | Schemas.PublicEventAnalyticsFilter | Schemas.PublicFormSubmissionFilter | Schemas.PublicFormSubmissionOnPageFilter | Schemas.PublicIntegrationEventFilter | Schemas.PublicEmailSubscriptionFilter | Schemas.PublicCommunicationSubscriptionFilter | Schemas.PublicCampaignInfluencedFilter | Schemas.PublicSurveyMonkeyFilter | Schemas.PublicSurveyMonkeyValueFilter | Schemas.PublicWebinarFilter | Schemas.PublicEmailEventFilter | Schemas.PublicPrivacyAnalyticsFilter | Schemas.PublicAdsSearchFilter | Schemas.PublicAdsTimeFilter | Schemas.PublicInListFilter | Schemas.PublicNumAssociationsFilter | Schemas.PublicUnifiedEventsFilter | Schemas.PublicPropertyAssociationInListFilter | Schemas.PublicConstantFilter)[];
1239
+ }
1240
+ interface PublicNowReference {
1241
+ /**
1242
+ * The hour component of the current time reference.
1243
+ */
1244
+ hour?: number;
1245
+ /**
1246
+ * The millisecond component of the current time reference.
1247
+ */
1248
+ millisecond?: number;
1249
+ /**
1250
+ * The minute component of the current time reference.
1251
+ */
1252
+ minute?: number;
1253
+ /**
1254
+ * Indicates the type of reference (NOW).
1255
+ */
1256
+ referenceType: 'NOW';
1257
+ /**
1258
+ * The second component of the current time reference.
1259
+ */
1260
+ second?: number;
1261
+ }
1262
+ interface PublicNumAssociationsFilter {
1263
+ /**
1264
+ * Defines the category of the association (HUBSPOT_DEFINED, USER_DEFINED, INTEGRATOR_DEFINED, WORK).
1265
+ */
1266
+ associationCategory: string;
1267
+ /**
1268
+ * The ID representing the type of association being filtered.
1269
+ */
1270
+ associationTypeId: number;
1271
+ /**
1272
+ * Specifies the criteria for refining the association filter.
1273
+ */
1274
+ coalescingRefineBy: Schemas.PublicNumOccurrencesRefineBy | Schemas.PublicSetOccurrencesRefineBy | Schemas.PublicRelativeComparativeTimestampRefineBy | Schemas.PublicRelativeRangedTimestampRefineBy | Schemas.PublicAbsoluteComparativeTimestampRefineBy | Schemas.PublicAbsoluteRangedTimestampRefineBy | Schemas.PublicAllHistoryRefineBy | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
1275
+ /**
1276
+ * Indicates the type of filter being applied (NUM_ASSOCIATIONS).
1277
+ */
1278
+ filterType: 'NUM_ASSOCIATIONS';
1279
+ }
1280
+ interface PublicNumberPropertyOperation {
1281
+ /**
1282
+ * Indicates whether objects with no value set for the property should be included in the operation.
1283
+ */
1284
+ includeObjectsWithNoValueSet: boolean;
1285
+ /**
1286
+ * Specifies the type of operation (NUMBER).
1287
+ */
1288
+ operationType: 'NUMBER';
1289
+ /**
1290
+ * Defines the operation to be applied in the number property operation (IS_EQUAL_TO, IS_NOT_EQUAL_TO, IS_GREATER_THAN, IS_GREATER_THAN_OR_EQUAL_TO, IS_LESS_THAN, IS_LESS_THAN_OR_EQUAL_TO, HAS_EVER_BEEN_EQUAL_TO, HAS_NEVER_BEEN_EQUAL_TO).
1291
+ */
1292
+ operator: string;
1293
+ /**
1294
+ * The numeric value to be used in the operation.
1295
+ */
1296
+ value: number;
1297
+ }
1298
+ interface PublicNumOccurrencesRefineBy {
1299
+ /**
1300
+ * The maximum number of occurrences allowed.
1301
+ */
1302
+ maxOccurrences?: number;
1303
+ /**
1304
+ * The minimum number of occurrences required.
1305
+ */
1306
+ minOccurrences?: number;
1307
+ /**
1308
+ * The type of refinement (NUM_OCCURRENCES).
1309
+ */
1310
+ type: 'NUM_OCCURRENCES';
1311
+ }
1312
+ interface PublicObjectList {
1313
+ /**
1314
+ * The time when the list was created.
1315
+ */
1316
+ createdAt?: string;
1317
+ /**
1318
+ * The ID of the user that created the list.
1319
+ */
1320
+ createdById?: string;
1321
+ /**
1322
+ * The time when the list was deleted.
1323
+ */
1324
+ deletedAt?: string;
1325
+ /**
1326
+ * Defines the filter criteria for the list, allowing for complex logical operations and nested filter branches to determine list membership.
1327
+ */
1328
+ filterBranch?: Schemas.PublicOrFilterBranch | Schemas.PublicAndFilterBranch | Schemas.PublicNotAllFilterBranch | Schemas.PublicNotAnyFilterBranch | Schemas.PublicRestrictedFilterBranch | Schemas.PublicUnifiedEventsFilterBranch | Schemas.PublicPropertyAssociationFilterBranch | Schemas.PublicAssociationFilterBranch;
1329
+ /**
1330
+ * The time when the filters for this list were last updated.
1331
+ */
1332
+ filtersUpdatedAt?: string;
1333
+ /**
1334
+ * The **ILS ID** of the list.
1335
+ */
1336
+ listId: string;
1337
+ listPermissions?: Schemas.PublicListPermissions;
1338
+ /**
1339
+ * The version of the list.
1340
+ */
1341
+ listVersion: number;
1342
+ membershipSettings?: Schemas.PublicMembershipSettings;
1343
+ /**
1344
+ * The name of the list.
1345
+ */
1346
+ name: string;
1347
+ /**
1348
+ * The object type of the list.
1349
+ */
1350
+ objectTypeId: string;
1351
+ /**
1352
+ * The processing status of the list.
1353
+ */
1354
+ processingStatus: string;
1355
+ /**
1356
+ * The processing type of the list.
1357
+ */
1358
+ processingType: string;
1359
+ /**
1360
+ * Size of the list
1361
+ */
1362
+ size?: number;
1363
+ /**
1364
+ * The time the list was last updated.
1365
+ */
1366
+ updatedAt?: string;
1367
+ /**
1368
+ * The ID of the user that last updated the list.
1369
+ */
1370
+ updatedById?: string;
1371
+ }
1372
+ interface PublicObjectListSearchResult {
1373
+ /**
1374
+ * The name and value of any additional properties that exist for this list and that were included in the search request.
1375
+ */
1376
+ additionalProperties: Record<string, string>;
1377
+ /**
1378
+ * The time when the list was created.
1379
+ */
1380
+ createdAt?: string;
1381
+ /**
1382
+ * The ID of the user that created the list.
1383
+ */
1384
+ createdById?: string;
1385
+ /**
1386
+ * The time when the list was deleted.
1387
+ */
1388
+ deletedAt?: string;
1389
+ /**
1390
+ * The time when the filters for this list were last updated.
1391
+ */
1392
+ filtersUpdatedAt?: string;
1393
+ /**
1394
+ * The **ILS ID** of the list.
1395
+ */
1396
+ listId: string;
1397
+ /**
1398
+ * The version of the list.
1399
+ */
1400
+ listVersion: number;
1401
+ /**
1402
+ * The name of the list.
1403
+ */
1404
+ name: string;
1405
+ /**
1406
+ * The object type of the list.
1407
+ */
1408
+ objectTypeId: string;
1409
+ /**
1410
+ * The processing status of the list.
1411
+ */
1412
+ processingStatus: string;
1413
+ /**
1414
+ * The processing type of the list.
1415
+ */
1416
+ processingType: string;
1417
+ /**
1418
+ * The time the list was last updated.
1419
+ */
1420
+ updatedAt?: string;
1421
+ /**
1422
+ * The ID of the user that last updated the list.
1423
+ */
1424
+ updatedById?: string;
1425
+ }
1426
+ interface PublicOrFilterBranch {
1427
+ filterBranches: (Schemas.PublicOrFilterBranch | Schemas.PublicAndFilterBranch | Schemas.PublicNotAllFilterBranch | Schemas.PublicNotAnyFilterBranch | Schemas.PublicRestrictedFilterBranch | Schemas.PublicUnifiedEventsFilterBranch | Schemas.PublicPropertyAssociationFilterBranch | Schemas.PublicAssociationFilterBranch)[];
1428
+ /**
1429
+ * The logical operator used to combine the filters within the branch (OR).
1430
+ */
1431
+ filterBranchOperator: string;
1432
+ /**
1433
+ * The type of the filter branch (OR).
1434
+ */
1435
+ filterBranchType: 'OR';
1436
+ filters: (Schemas.PublicPropertyFilter | Schemas.PublicAssociationInListFilter | Schemas.PublicPageViewAnalyticsFilter | Schemas.PublicCtaAnalyticsFilter | Schemas.PublicEventAnalyticsFilter | Schemas.PublicFormSubmissionFilter | Schemas.PublicFormSubmissionOnPageFilter | Schemas.PublicIntegrationEventFilter | Schemas.PublicEmailSubscriptionFilter | Schemas.PublicCommunicationSubscriptionFilter | Schemas.PublicCampaignInfluencedFilter | Schemas.PublicSurveyMonkeyFilter | Schemas.PublicSurveyMonkeyValueFilter | Schemas.PublicWebinarFilter | Schemas.PublicEmailEventFilter | Schemas.PublicPrivacyAnalyticsFilter | Schemas.PublicAdsSearchFilter | Schemas.PublicAdsTimeFilter | Schemas.PublicInListFilter | Schemas.PublicNumAssociationsFilter | Schemas.PublicUnifiedEventsFilter | Schemas.PublicPropertyAssociationInListFilter | Schemas.PublicConstantFilter)[];
1437
+ }
1438
+ interface PublicPageViewAnalyticsFilter {
1439
+ /**
1440
+ * Specifies the criteria for refining the filter by coalescing.
1441
+ */
1442
+ coalescingRefineBy?: Schemas.PublicNumOccurrencesRefineBy | Schemas.PublicSetOccurrencesRefineBy | Schemas.PublicRelativeComparativeTimestampRefineBy | Schemas.PublicRelativeRangedTimestampRefineBy | Schemas.PublicAbsoluteComparativeTimestampRefineBy | Schemas.PublicAbsoluteRangedTimestampRefineBy | Schemas.PublicAllHistoryRefineBy | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
1443
+ /**
1444
+ * Indicates whether tracking is enabled for the page view.
1445
+ */
1446
+ enableTracking?: boolean;
1447
+ /**
1448
+ * Indicates the type of filter being applied (PAGE_VIEW).
1449
+ */
1450
+ filterType: 'PAGE_VIEW';
1451
+ /**
1452
+ * Defines the operation to be applied within the filter (HAS_PAGEVIEW_EQ, HAS_PAGEVIEW_CONTAINS, HAS_PAGEVIEW_MATCHES_REGEX, NOT_HAS_PAGEVIEW_EQ, NOT_HAS_PAGEVIEW_CONTAINS).
1453
+ */
1454
+ operator: string;
1455
+ /**
1456
+ * The URL of the page to be used in the filter.
1457
+ */
1458
+ pageUrl: string;
1459
+ /**
1460
+ * Specifies the criteria for refining the filter by pruning.
1461
+ */
1462
+ pruningRefineBy?: Schemas.PublicNumOccurrencesRefineBy | Schemas.PublicSetOccurrencesRefineBy | Schemas.PublicRelativeComparativeTimestampRefineBy | Schemas.PublicRelativeRangedTimestampRefineBy | Schemas.PublicAbsoluteComparativeTimestampRefineBy | Schemas.PublicAbsoluteRangedTimestampRefineBy | Schemas.PublicAllHistoryRefineBy | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
1463
+ }
1464
+ interface PublicPrivacyAnalyticsFilter {
1465
+ /**
1466
+ * Specifies the type of filter (PRIVACY).
1467
+ */
1468
+ filterType: 'PRIVACY';
1469
+ /**
1470
+ * Defines the operation to be applied within the filter (PRIVACY_CONSENT_GRANTED, PRIVACY_CONSENT_NOT_GRANTED).
1471
+ */
1472
+ operator: string;
1473
+ /**
1474
+ * The name of the privacy setting used in the filter.
1475
+ */
1476
+ privacyName: string;
1477
+ }
1478
+ interface PublicPropertyAssociationFilterBranch {
1479
+ filterBranches: (Schemas.PublicOrFilterBranch | Schemas.PublicAndFilterBranch | Schemas.PublicNotAllFilterBranch | Schemas.PublicNotAnyFilterBranch | Schemas.PublicRestrictedFilterBranch | Schemas.PublicUnifiedEventsFilterBranch | Schemas.PublicPropertyAssociationFilterBranch | Schemas.PublicAssociationFilterBranch)[];
1480
+ /**
1481
+ * The logical operator used to combine filters within the branch.
1482
+ */
1483
+ filterBranchOperator: string;
1484
+ /**
1485
+ * The type of the filter branch (PROPERTY_ASSOCIATION).
1486
+ */
1487
+ filterBranchType: 'PROPERTY_ASSOCIATION';
1488
+ filters: (Schemas.PublicPropertyFilter | Schemas.PublicAssociationInListFilter | Schemas.PublicPageViewAnalyticsFilter | Schemas.PublicCtaAnalyticsFilter | Schemas.PublicEventAnalyticsFilter | Schemas.PublicFormSubmissionFilter | Schemas.PublicFormSubmissionOnPageFilter | Schemas.PublicIntegrationEventFilter | Schemas.PublicEmailSubscriptionFilter | Schemas.PublicCommunicationSubscriptionFilter | Schemas.PublicCampaignInfluencedFilter | Schemas.PublicSurveyMonkeyFilter | Schemas.PublicSurveyMonkeyValueFilter | Schemas.PublicWebinarFilter | Schemas.PublicEmailEventFilter | Schemas.PublicPrivacyAnalyticsFilter | Schemas.PublicAdsSearchFilter | Schemas.PublicAdsTimeFilter | Schemas.PublicInListFilter | Schemas.PublicNumAssociationsFilter | Schemas.PublicUnifiedEventsFilter | Schemas.PublicPropertyAssociationInListFilter | Schemas.PublicConstantFilter)[];
1489
+ /**
1490
+ * The ID representing the type of object associated with the filter branch.
1491
+ */
1492
+ objectTypeId: string;
1493
+ /**
1494
+ * Defines the operation to be applied within the filter branch (IN_LIST, NOT_IN_LIST).
1495
+ */
1496
+ operator: string;
1497
+ /**
1498
+ * The property that is associated with the object ID in the filter branch.
1499
+ */
1500
+ propertyWithObjectId: string;
1501
+ }
1502
+ interface PublicPropertyAssociationInListFilter {
1503
+ /**
1504
+ * Specifies the criteria for refining the filter by coalescing.
1505
+ */
1506
+ coalescingRefineBy: Schemas.PublicNumOccurrencesRefineBy | Schemas.PublicSetOccurrencesRefineBy | Schemas.PublicRelativeComparativeTimestampRefineBy | Schemas.PublicRelativeRangedTimestampRefineBy | Schemas.PublicAbsoluteComparativeTimestampRefineBy | Schemas.PublicAbsoluteRangedTimestampRefineBy | Schemas.PublicAllHistoryRefineBy | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
1507
+ /**
1508
+ * Indicates the type of filter being applied (PROPERTY_ASSOCIATION).
1509
+ */
1510
+ filterType: 'PROPERTY_ASSOCIATION';
1511
+ /**
1512
+ * The ID of the list used in the property association filter.
1513
+ */
1514
+ listId: string;
1515
+ /**
1516
+ * Defines the operation to be applied by the filter (IN_LIST, NOT_IN_LIST).
1517
+ */
1518
+ operator: string;
1519
+ /**
1520
+ * The property associated with the object ID in the filter.
1521
+ */
1522
+ propertyWithObjectId: string;
1523
+ /**
1524
+ * The ID representing the type of object that the property association filter is targeting.
1525
+ */
1526
+ toObjectTypeId?: string;
1527
+ }
1528
+ interface PublicPropertyFilter {
1529
+ /**
1530
+ * Indicates that the filter (PROPERTY).
1531
+ */
1532
+ filterType: 'PROPERTY';
1533
+ /**
1534
+ * Defines the operation to be performed on the property, such as comparison or value matching.
1535
+ */
1536
+ operation: Schemas.PublicBoolPropertyOperation | Schemas.PublicNumberPropertyOperation | Schemas.PublicStringPropertyOperation | Schemas.PublicDateTimePropertyOperation | Schemas.PublicRangedDatePropertyOperation | Schemas.PublicComparativePropertyUpdatedOperation | Schemas.PublicComparativeDatePropertyOperation | Schemas.PublicRollingDateRangePropertyOperation | Schemas.PublicRollingPropertyUpdatedOperation | Schemas.PublicEnumerationPropertyOperation | Schemas.PublicAllPropertyTypesOperation | Schemas.PublicRangedNumberPropertyOperation | Schemas.PublicMultiStringPropertyOperation | Schemas.PublicDatePropertyOperation | Schemas.PublicCalendarDatePropertyOperation | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
1537
+ /**
1538
+ * Specifies the name of the property that the filter is applied to.
1539
+ */
1540
+ property: string;
1541
+ }
1542
+ interface PublicPropertyReferencedTime {
1543
+ /**
1544
+ * Specifies the name of the property that the time reference is applied to.
1545
+ */
1546
+ property: string;
1547
+ /**
1548
+ * Specifies the type of reference for the property (VALUE, UPDATED_AT, ANNIVERSARY, VALUE_WITH_ZONE_SAME_LOCAL_CONVERSION, ANNIVERSARY_WITH_ZONE_SAME_LOCAL_CONVERSION).
1549
+ */
1550
+ referenceType: string;
1551
+ /**
1552
+ * Defines the type of time (PROPERTY_REFERENCED).
1553
+ */
1554
+ timeType: 'PROPERTY_REFERENCED';
1555
+ /**
1556
+ * Specifies the source of the time zone information for the property (CUSTOM, USER, PORTAL).
1557
+ */
1558
+ timezoneSource?: string;
1559
+ /**
1560
+ * Indicates the identifier for the time zone associated with the property.
1561
+ */
1562
+ zoneId: string;
1563
+ }
1564
+ interface PublicQuarterReference {
1565
+ /**
1566
+ * The day component of the quarter reference.
1567
+ */
1568
+ day: number;
1569
+ /**
1570
+ * The hour component of the quarter reference.
1571
+ */
1572
+ hour?: number;
1573
+ /**
1574
+ * The millisecond component of the quarter reference.
1575
+ */
1576
+ millisecond?: number;
1577
+ /**
1578
+ * The minute component of the quarter reference.
1579
+ */
1580
+ minute?: number;
1581
+ /**
1582
+ * The month component of the quarter reference.
1583
+ */
1584
+ month: number;
1585
+ /**
1586
+ * Indicates the type of reference (QUARTER).
1587
+ */
1588
+ referenceType: 'QUARTER';
1589
+ /**
1590
+ * The second component of the quarter reference.
1591
+ */
1592
+ second?: number;
1593
+ }
1594
+ interface PublicRangedDatePropertyOperation {
1595
+ /**
1596
+ * Specifies whether objects without a set value should be included in the operation.
1597
+ */
1598
+ includeObjectsWithNoValueSet: boolean;
1599
+ /**
1600
+ * The lower limit of the date range for the operation.
1601
+ */
1602
+ lowerBound: number;
1603
+ /**
1604
+ * Specifies the type of operation (RANGED_DATE).
1605
+ */
1606
+ operationType: 'RANGED_DATE';
1607
+ /**
1608
+ * Defines the operation to be applied in the ranged date property operation (IS_BETWEEN, IS_NOT_BETWEEN).
1609
+ */
1610
+ operator: string;
1611
+ /**
1612
+ * Indicates whether the operation requires conversion to a different time zone.
1613
+ */
1614
+ requiresTimeZoneConversion: boolean;
1615
+ /**
1616
+ * The upper limit of the date range for the operation.
1617
+ */
1618
+ upperBound: number;
1619
+ }
1620
+ interface PublicRangedNumberPropertyOperation {
1621
+ /**
1622
+ * Indicates whether objects with no value set for the property should be included in the operation.
1623
+ */
1624
+ includeObjectsWithNoValueSet: boolean;
1625
+ /**
1626
+ * The lower limit of the number range for the operation.
1627
+ */
1628
+ lowerBound: number;
1629
+ /**
1630
+ * Specifies the type of operation (NUMBER_RANGED).
1631
+ */
1632
+ operationType: 'NUMBER_RANGED';
1633
+ /**
1634
+ * Defines the operation to be applied in the ranged number property operation (IS_BETWEEN, IS_NOT_BETWEEN).
1635
+ */
1636
+ operator: string;
1637
+ /**
1638
+ * The upper limit of the number range for the operation.
1639
+ */
1640
+ upperBound: number;
1641
+ }
1642
+ interface PublicRangedTimeOperation {
1643
+ /**
1644
+ * Indicates whether objects with no value set for the property should be included in the operation.
1645
+ */
1646
+ includeObjectsWithNoValueSet: boolean;
1647
+ /**
1648
+ * Describes the behavior at the lower bound endpoint of the time range.
1649
+ */
1650
+ lowerBoundEndpointBehavior?: string;
1651
+ /**
1652
+ * Defines the lower bound time point for the operation.
1653
+ */
1654
+ lowerBoundTimePoint: Schemas.PublicDatePoint | Schemas.PublicIndexedTimePoint | Schemas.PublicPropertyReferencedTime;
1655
+ /**
1656
+ * Specifies the type of operation (TIME_RANGED).
1657
+ */
1658
+ operationType: string;
1659
+ /**
1660
+ * Defines the operation to be applied within the time range (IS_BETWEEN, IS_NOT_BETWEEN).
1661
+ */
1662
+ operator: string;
1663
+ /**
1664
+ * Specifies the parser used for the property in the operation.
1665
+ */
1666
+ propertyParser?: string;
1667
+ /**
1668
+ * Specifies the type of operation (TIME_RANGED).
1669
+ */
1670
+ type: 'TIME_RANGED';
1671
+ /**
1672
+ * Describes the behavior at the upper bound endpoint of the time range.
1673
+ */
1674
+ upperBoundEndpointBehavior?: string;
1675
+ /**
1676
+ * Defines the upper bound time point for the operation.
1677
+ */
1678
+ upperBoundTimePoint: Schemas.PublicDatePoint | Schemas.PublicIndexedTimePoint | Schemas.PublicPropertyReferencedTime;
1679
+ }
1680
+ interface PublicRelativeComparativeTimestampRefineBy {
1681
+ /**
1682
+ * Defines the comparison operation to be used in the refinement (BEFORE, AFTER).
1683
+ */
1684
+ comparison: string;
1685
+ timeOffset: Schemas.PublicTimeOffset;
1686
+ /**
1687
+ * Specifies the type of refinement, (RELATIVE_COMPARATIVE).
1688
+ */
1689
+ type: 'RELATIVE_COMPARATIVE';
1690
+ }
1691
+ interface PublicRelativeRangedTimestampRefineBy {
1692
+ lowerBoundOffset: Schemas.PublicTimeOffset;
1693
+ /**
1694
+ * Specifies the type of range for the refinement criteria (BETWEEN, NOT_BETWEEN).
1695
+ */
1696
+ rangeType: string;
1697
+ /**
1698
+ * Indicates the type of refinement (RELATIVE_RANGED).
1699
+ */
1700
+ type: 'RELATIVE_RANGED';
1701
+ upperBoundOffset: Schemas.PublicTimeOffset;
1702
+ }
1703
+ interface PublicRestrictedFilterBranch {
1704
+ filterBranches: (Schemas.PublicOrFilterBranch | Schemas.PublicAndFilterBranch | Schemas.PublicNotAllFilterBranch | Schemas.PublicNotAnyFilterBranch | Schemas.PublicRestrictedFilterBranch | Schemas.PublicUnifiedEventsFilterBranch | Schemas.PublicPropertyAssociationFilterBranch | Schemas.PublicAssociationFilterBranch)[];
1705
+ /**
1706
+ * The logical operator used to combine filters within the restricted filter branch.
1707
+ */
1708
+ filterBranchOperator: string;
1709
+ /**
1710
+ * Specifies the type of the filter branch (RESTRICTED).
1711
+ */
1712
+ filterBranchType: 'RESTRICTED';
1713
+ filters: (Schemas.PublicPropertyFilter | Schemas.PublicAssociationInListFilter | Schemas.PublicPageViewAnalyticsFilter | Schemas.PublicCtaAnalyticsFilter | Schemas.PublicEventAnalyticsFilter | Schemas.PublicFormSubmissionFilter | Schemas.PublicFormSubmissionOnPageFilter | Schemas.PublicIntegrationEventFilter | Schemas.PublicEmailSubscriptionFilter | Schemas.PublicCommunicationSubscriptionFilter | Schemas.PublicCampaignInfluencedFilter | Schemas.PublicSurveyMonkeyFilter | Schemas.PublicSurveyMonkeyValueFilter | Schemas.PublicWebinarFilter | Schemas.PublicEmailEventFilter | Schemas.PublicPrivacyAnalyticsFilter | Schemas.PublicAdsSearchFilter | Schemas.PublicAdsTimeFilter | Schemas.PublicInListFilter | Schemas.PublicNumAssociationsFilter | Schemas.PublicUnifiedEventsFilter | Schemas.PublicPropertyAssociationInListFilter | Schemas.PublicConstantFilter)[];
1714
+ }
1715
+ interface PublicRollingDateRangePropertyOperation {
1716
+ /**
1717
+ * Indicates whether objects with no value set for the property should be included in the operation.
1718
+ */
1719
+ includeObjectsWithNoValueSet: boolean;
1720
+ /**
1721
+ * The number of days to be considered in the rolling date range operation.
1722
+ */
1723
+ numberOfDays: number;
1724
+ /**
1725
+ * Specifies the type of operation (ROLLING_DATE_RANGE).
1726
+ */
1727
+ operationType: 'ROLLING_DATE_RANGE';
1728
+ /**
1729
+ * Defines the operation to be applied within the rolling date range property operation (IS_LESS_THAN_X_DAYS_AGO, IS_MORE_THAN_X_DAYS_AGO, IS_LESS_THAN_X_DAYS_FROM_NOW, IS_MORE_THAN_X_DAYS_FROM_NOW).
1730
+ */
1731
+ operator: string;
1732
+ /**
1733
+ * Specifies whether the operation requires conversion to a different time zone.
1734
+ */
1735
+ requiresTimeZoneConversion: boolean;
1736
+ }
1737
+ interface PublicRollingPropertyUpdatedOperation {
1738
+ /**
1739
+ * Indicates whether objects with no value set for the property should be included in the operation.
1740
+ */
1741
+ includeObjectsWithNoValueSet: boolean;
1742
+ /**
1743
+ * The number of days to be considered in the rolling property updated operation.
1744
+ */
1745
+ numberOfDays: number;
1746
+ /**
1747
+ * Specifies the type of operation (ROLLING_PROPERTY_UPDATED).
1748
+ */
1749
+ operationType: 'ROLLING_PROPERTY_UPDATED';
1750
+ /**
1751
+ * Defines the operation to be applied within the rolling property updated operation (UPDATED_IN_LAST_X_DAYS, NOT_UPDATED_IN_LAST_X_DAYS).
1752
+ */
1753
+ operator: string;
1754
+ }
1755
+ interface PublicSetOccurrencesRefineBy {
1756
+ /**
1757
+ * Indicates the specific set type used in the refinement (ALL, ALL_INCLUDE_EMPTY, ANY, NONE, NONE_EXCLUDE_EMPTY, ANY_INCLUDE_EMPTY).
1758
+ */
1759
+ setType: string;
1760
+ /**
1761
+ * Specifies the type of refinement (SET_OCCURRENCES).
1762
+ */
1763
+ type: 'SET_OCCURRENCES';
1764
+ }
1765
+ interface PublicStringPropertyOperation {
1766
+ /**
1767
+ * Indicates whether objects with no value set for the property should be included in the operation.
1768
+ */
1769
+ includeObjectsWithNoValueSet: boolean;
1770
+ /**
1771
+ * Specifies the type of operation (STRING).
1772
+ */
1773
+ operationType: 'STRING';
1774
+ /**
1775
+ * Defines the operation to be applied in the string property operation ()IS_EQUAL_TO, IS_NOT_EQUAL_TO, CONTAINS, DOES_NOT_CONTAIN, STARTS_WITH, ENDS_WITH, HAS_EVER_BEEN_EQUAL_TO, HAS_NEVER_BEEN_EQUAL_TO, HAS_EVER_CONTAINED, HAS_NEVER_CONTAINED).
1776
+ */
1777
+ operator: string;
1778
+ /**
1779
+ * The string value to be used in the operation.
1780
+ */
1781
+ value: string;
1782
+ }
1783
+ interface PublicSurveyMonkeyFilter {
1784
+ /**
1785
+ * Indicates the type of filter being applied (SURVEY_MONKEY).
1786
+ */
1787
+ filterType: 'SURVEY_MONKEY';
1788
+ /**
1789
+ * Specifies the operation to be performed by the filter (HAS_RESPONDED_TO_SURVEY, HAS_NOT_RESPONDED_TO_SURVEY).
1790
+ */
1791
+ operator: string;
1792
+ /**
1793
+ * The ID of the survey associated with the filter.
1794
+ */
1795
+ surveyId: string;
1796
+ }
1797
+ interface PublicSurveyMonkeyValueFilter {
1798
+ /**
1799
+ * Defines the type of filter (SURVEY_MONKEY_VALUE).
1800
+ */
1801
+ filterType: 'SURVEY_MONKEY_VALUE';
1802
+ /**
1803
+ * Defines the operation to be applied within the filter (HAS_ANSWERED_SURVEY_QUESTION_WITH_VALUE).
1804
+ */
1805
+ operator: string;
1806
+ /**
1807
+ * The column ID of the survey answer used in the filter.
1808
+ */
1809
+ surveyAnswerColId?: string;
1810
+ /**
1811
+ * The row ID of the survey answer used in the filter.
1812
+ */
1813
+ surveyAnswerRowId?: string;
1814
+ /**
1815
+ * The ID of the survey used in the filter.
1816
+ */
1817
+ surveyId: string;
1818
+ /**
1819
+ * The question from the survey used in the filter.
1820
+ */
1821
+ surveyQuestion: string;
1822
+ /**
1823
+ * Specifies the operation used to compare the survey answer value.
1824
+ */
1825
+ valueComparison: Schemas.PublicBoolPropertyOperation | Schemas.PublicNumberPropertyOperation | Schemas.PublicStringPropertyOperation | Schemas.PublicDateTimePropertyOperation | Schemas.PublicRangedDatePropertyOperation | Schemas.PublicComparativePropertyUpdatedOperation | Schemas.PublicComparativeDatePropertyOperation | Schemas.PublicRollingDateRangePropertyOperation | Schemas.PublicRollingPropertyUpdatedOperation | Schemas.PublicEnumerationPropertyOperation | Schemas.PublicAllPropertyTypesOperation | Schemas.PublicRangedNumberPropertyOperation | Schemas.PublicMultiStringPropertyOperation | Schemas.PublicDatePropertyOperation | Schemas.PublicCalendarDatePropertyOperation | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
1826
+ }
1827
+ interface PublicTimeOffset {
1828
+ /**
1829
+ * The numerical value representing the quantity of the time offset.
1830
+ */
1831
+ amount: number;
1832
+ /**
1833
+ * Indicates the direction of the time offset, such as forward or backward.
1834
+ */
1835
+ offsetDirection: string;
1836
+ /**
1837
+ * Specifies the unit of time for the offset, such as days, hours, or minutes.
1838
+ */
1839
+ timeUnit: string;
1840
+ }
1841
+ interface PublicTimePointOperation {
1842
+ /**
1843
+ * Describes the behavior at the endpoint of the time point operation.
1844
+ */
1845
+ endpointBehavior?: string;
1846
+ /**
1847
+ * Indicates whether objects with no value set for the property should be included in the operation.
1848
+ */
1849
+ includeObjectsWithNoValueSet: boolean;
1850
+ /**
1851
+ * Specifies the type of operation (TIME_POINT).
1852
+ */
1853
+ operationType: 'TIME_POINT';
1854
+ /**
1855
+ * Specifies the operation to be applied within the time point operation (IS_BEFORE, IS_AFTER).
1856
+ */
1857
+ operator: string;
1858
+ /**
1859
+ * Specifies the parser used for interpreting the property in the operation.
1860
+ */
1861
+ propertyParser?: string;
1862
+ /**
1863
+ * Defines the specific point in time for the operation, which can be a date, indexed time, or property-referenced time.
1864
+ */
1865
+ timePoint: Schemas.PublicDatePoint | Schemas.PublicIndexedTimePoint | Schemas.PublicPropertyReferencedTime;
1866
+ /**
1867
+ * Defines the type of operation being performed.
1868
+ */
1869
+ type: string;
1870
+ }
1871
+ interface PublicTodayReference {
1872
+ /**
1873
+ * The hour component of the current day reference.
1874
+ */
1875
+ hour?: number;
1876
+ /**
1877
+ * The millisecond component of the current day reference.
1878
+ */
1879
+ millisecond?: number;
1880
+ /**
1881
+ * The minute component of the current day reference.
1882
+ */
1883
+ minute?: number;
1884
+ /**
1885
+ * Indicates the type of reference (TODAY).
1886
+ */
1887
+ referenceType: 'TODAY';
1888
+ /**
1889
+ * The second component of the current day reference.
1890
+ */
1891
+ second?: number;
1892
+ }
1893
+ interface PublicUnifiedEventsFilter {
1894
+ /**
1895
+ * Specifies the criteria for refining the filter by coalescing.
1896
+ */
1897
+ coalescingRefineBy?: Schemas.PublicNumOccurrencesRefineBy | Schemas.PublicSetOccurrencesRefineBy | Schemas.PublicRelativeComparativeTimestampRefineBy | Schemas.PublicRelativeRangedTimestampRefineBy | Schemas.PublicAbsoluteComparativeTimestampRefineBy | Schemas.PublicAbsoluteRangedTimestampRefineBy | Schemas.PublicAllHistoryRefineBy | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
1898
+ /**
1899
+ * The identifier for the type of event in the unified events filter.
1900
+ */
1901
+ eventTypeId?: string;
1902
+ filterLines: Schemas.PublicEventFilterMetadata[];
1903
+ /**
1904
+ * Indicates the type of filter being applied (UNIFIED_EVENTS).
1905
+ */
1906
+ filterType: 'UNIFIED_EVENTS';
1907
+ /**
1908
+ * Specifies the criteria for refining the filter by pruning.
1909
+ */
1910
+ pruningRefineBy?: Schemas.PublicNumOccurrencesRefineBy | Schemas.PublicSetOccurrencesRefineBy | Schemas.PublicRelativeComparativeTimestampRefineBy | Schemas.PublicRelativeRangedTimestampRefineBy | Schemas.PublicAbsoluteComparativeTimestampRefineBy | Schemas.PublicAbsoluteRangedTimestampRefineBy | Schemas.PublicAllHistoryRefineBy | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
1911
+ }
1912
+ interface PublicUnifiedEventsFilterBranch {
1913
+ /**
1914
+ * Specifies the criteria for refining the filter by coalescing.
1915
+ */
1916
+ coalescingRefineBy?: Schemas.PublicNumOccurrencesRefineBy | Schemas.PublicSetOccurrencesRefineBy | Schemas.PublicRelativeComparativeTimestampRefineBy | Schemas.PublicRelativeRangedTimestampRefineBy | Schemas.PublicAbsoluteComparativeTimestampRefineBy | Schemas.PublicAbsoluteRangedTimestampRefineBy | Schemas.PublicAllHistoryRefineBy | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
1917
+ /**
1918
+ * The identifier for the type of event associated with the filter branch.
1919
+ */
1920
+ eventTypeId: string;
1921
+ filterBranches: (Schemas.PublicOrFilterBranch | Schemas.PublicAndFilterBranch | Schemas.PublicNotAllFilterBranch | Schemas.PublicNotAnyFilterBranch | Schemas.PublicRestrictedFilterBranch | Schemas.PublicUnifiedEventsFilterBranch | Schemas.PublicPropertyAssociationFilterBranch | Schemas.PublicAssociationFilterBranch)[];
1922
+ /**
1923
+ * The logical operator used to combine filters within the branch (AND).
1924
+ */
1925
+ filterBranchOperator: string;
1926
+ /**
1927
+ * The type of the filter branch (UNIFIED_EVENTS).
1928
+ */
1929
+ filterBranchType: 'UNIFIED_EVENTS';
1930
+ filters: (Schemas.PublicPropertyFilter | Schemas.PublicAssociationInListFilter | Schemas.PublicPageViewAnalyticsFilter | Schemas.PublicCtaAnalyticsFilter | Schemas.PublicEventAnalyticsFilter | Schemas.PublicFormSubmissionFilter | Schemas.PublicFormSubmissionOnPageFilter | Schemas.PublicIntegrationEventFilter | Schemas.PublicEmailSubscriptionFilter | Schemas.PublicCommunicationSubscriptionFilter | Schemas.PublicCampaignInfluencedFilter | Schemas.PublicSurveyMonkeyFilter | Schemas.PublicSurveyMonkeyValueFilter | Schemas.PublicWebinarFilter | Schemas.PublicEmailEventFilter | Schemas.PublicPrivacyAnalyticsFilter | Schemas.PublicAdsSearchFilter | Schemas.PublicAdsTimeFilter | Schemas.PublicInListFilter | Schemas.PublicNumAssociationsFilter | Schemas.PublicUnifiedEventsFilter | Schemas.PublicPropertyAssociationInListFilter | Schemas.PublicConstantFilter)[];
1931
+ /**
1932
+ * Defines the operation to be applied within the filter branch (HAS_COMPLETED, HAS_NOT_COMPLETED).
1933
+ */
1934
+ operator: 'HAS_COMPLETED' | 'HAS_NOT_COMPLETED';
1935
+ pruningRefineBy?: Schemas.PublicNumOccurrencesRefineBy | Schemas.PublicSetOccurrencesRefineBy | Schemas.PublicRelativeComparativeTimestampRefineBy | Schemas.PublicRelativeRangedTimestampRefineBy | Schemas.PublicAbsoluteComparativeTimestampRefineBy | Schemas.PublicAbsoluteRangedTimestampRefineBy | Schemas.PublicAllHistoryRefineBy | Schemas.PublicTimePointOperation | Schemas.PublicRangedTimeOperation;
1936
+ }
1937
+ interface PublicWebinarFilter {
1938
+ /**
1939
+ * Indicates the type of filter, (WEBINAR).
1940
+ */
1941
+ filterType: 'WEBINAR';
1942
+ /**
1943
+ * Specifies the operation to be performed by the filter (HAS_WEBINAR_REGISTRATION, NOT_HAS_WEBINAR_REGISTRATION, HAS_WEBINAR_ATTENDANCE, NOT_HAS_WEBINAR_ATTENDANCE).
1944
+ */
1945
+ operator: string;
1946
+ /**
1947
+ * The ID of the webinar associated with the filter.
1948
+ */
1949
+ webinarId?: string;
1950
+ }
1951
+ interface PublicWeekReference {
1952
+ /**
1953
+ * The day of the week (SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY).
1954
+ */
1955
+ dayOfWeek: 'FRIDAY' | 'MONDAY' | 'SATURDAY' | 'SUNDAY' | 'THURSDAY' | 'TUESDAY' | 'WEDNESDAY';
1956
+ /**
1957
+ * The hour component of the week reference.
1958
+ */
1959
+ hour?: number;
1960
+ /**
1961
+ * The millisecond component of the week reference.
1962
+ */
1963
+ millisecond?: number;
1964
+ /**
1965
+ * The minute component of the week reference.
1966
+ */
1967
+ minute?: number;
1968
+ /**
1969
+ * Indicates the type of reference (WEEK).
1970
+ */
1971
+ referenceType: 'WEEK';
1972
+ /**
1973
+ * The second component of the week reference.
1974
+ */
1975
+ second?: number;
1976
+ }
1977
+ interface PublicYearReference {
1978
+ /**
1979
+ * The day component of the year reference.
1980
+ */
1981
+ day: number;
1982
+ /**
1983
+ * The hour component of the year reference.
1984
+ */
1985
+ hour?: number;
1986
+ /**
1987
+ * The millisecond component of the year reference.
1988
+ */
1989
+ millisecond?: number;
1990
+ /**
1991
+ * The minute component of the year reference.
1992
+ */
1993
+ minute?: number;
1994
+ /**
1995
+ * The month component of the year reference.
1996
+ */
1997
+ month: number;
1998
+ /**
1999
+ * Indicates the type of reference (YEAR).
2000
+ */
2001
+ referenceType: 'YEAR';
2002
+ /**
2003
+ * The second component of the year reference.
2004
+ */
2005
+ second?: number;
2006
+ }
2007
+ interface RecordIdInput {
2008
+ objectTypeId: string;
2009
+ recordId: string;
2010
+ }
2011
+ interface RecordIdWithMemberships {
2012
+ objectTypeId: string;
2013
+ recordId: string;
2014
+ recordListMemberships: Schemas.RecordListMembership[];
2015
+ }
2016
+ interface RecordListMembership {
2017
+ /**
2018
+ * The timestamp when the record was first added to the list.
2019
+ */
2020
+ firstAddedTimestamp: string;
2021
+ /**
2022
+ * Indicates whether the list is public.
2023
+ */
2024
+ isPublicList?: boolean;
2025
+ /**
2026
+ * The timestamp when the record was last added to the list.
2027
+ */
2028
+ lastAddedTimestamp: string;
2029
+ /**
2030
+ * The unique identifier of the list.
2031
+ */
2032
+ listId: string;
2033
+ /**
2034
+ * The version number of the list.
2035
+ */
2036
+ listVersion: number;
2037
+ }
2038
+ }
2039
+ namespace Search {
2040
+ type ListBySearchInput = Schemas.ListSearchRequest;
2041
+ type ListBySearchOutput = Schemas.ListSearchResponse;
2042
+ }
2043
+ /**
2044
+ * Usage example:
2045
+ * ```ts
2046
+ * import { crmLists } from '@hubspot/api-client-core';
2047
+ * client.send(crmLists.basic.addAndRemoveMemberships(input));
2048
+ * ```
2049
+ */
2050
+ interface BasicAPI {
2051
+ /**
2052
+ * @apiPath /crm/lists/2026-03/{listId}/memberships/add-and-remove
2053
+ * @apiMethod PUT
2054
+ * @requiredScopes ils-lists-read, ils-lists-write
2055
+ */
2056
+ addAndRemoveMemberships: (input: Basic.AddAndRemoveMembershipsInput) => Operation<Basic.AddAndRemoveMembershipsOutput>;
2057
+ /**
2058
+ * @apiPath /crm/lists/2026-03/{listId}/memberships/add
2059
+ * @apiMethod PUT
2060
+ * @requiredScopes ils-lists-read, ils-lists-write
2061
+ */
2062
+ addMemberships: (input: Basic.AddMembershipsInput) => Operation<Basic.AddMembershipsOutput>;
2063
+ /**
2064
+ * @apiPath /crm/lists/2026-03/{listId}/memberships/add-from/{sourceListId}
2065
+ * @apiMethod PUT
2066
+ * @requiredScopes ils-lists-read, ils-lists-write
2067
+ */
2068
+ addMembershipsFrom: (input: Basic.AddMembershipsFromInput) => Operation<Basic.AddMembershipsFromOutput>;
2069
+ /**
2070
+ * @apiPath /crm/lists/2026-03
2071
+ * @apiMethod POST
2072
+ * @requiredScopes ils-lists-write
2073
+ */
2074
+ create: (input: Basic.CreateInput) => Operation<Basic.CreateOutput>;
2075
+ /**
2076
+ * @apiPath /crm/lists/2026-03/folders
2077
+ * @apiMethod POST
2078
+ * @requiredScopes ils-lists-read, ils-lists-write
2079
+ */
2080
+ createFolder: (input: Basic.CreateFolderInput) => Operation<Basic.CreateFolderOutput>;
2081
+ /**
2082
+ * @apiPath /crm/lists/2026-03/idmapping
2083
+ * @apiMethod POST
2084
+ * @requiredScopes ils-lists-read
2085
+ */
2086
+ createIdMapping: (input: Basic.CreateIdMappingInput) => Operation<Basic.CreateIdMappingOutput>;
2087
+ /**
2088
+ * @apiPath /crm/lists/2026-03/{listId}
2089
+ * @apiMethod DELETE
2090
+ * @requiredScopes ils-lists-read, ils-lists-write
2091
+ */
2092
+ delete: (input: Basic.DeleteInput) => Operation<Basic.DeleteOutput>;
2093
+ /**
2094
+ * @apiPath /crm/lists/2026-03/folders/{folderId}
2095
+ * @apiMethod DELETE
2096
+ * @requiredScopes ils-lists-read, ils-lists-write
2097
+ */
2098
+ deleteFolder: (input: Basic.DeleteFolderInput) => Operation<Basic.DeleteFolderOutput>;
2099
+ /**
2100
+ * @apiPath /crm/lists/2026-03/{listId}/memberships
2101
+ * @apiMethod DELETE
2102
+ * @requiredScopes ils-lists-read, ils-lists-write
2103
+ */
2104
+ deleteMemberships: (input: Basic.DeleteMembershipsInput) => Operation<Basic.DeleteMembershipsOutput>;
2105
+ /**
2106
+ * @apiPath /crm/lists/2026-03/{listId}
2107
+ * @apiMethod GET
2108
+ * @requiredScopes ils-lists-read
2109
+ */
2110
+ get: (input: Basic.GetInput) => Operation<Basic.GetOutput>;
2111
+ /**
2112
+ * @apiPath /crm/lists/2026-03/object-type-id/{objectTypeId}/name/{listName}
2113
+ * @apiMethod GET
2114
+ * @requiredScopes ils-lists-read
2115
+ */
2116
+ getByObjectTypeAndName: (input: Basic.GetByObjectTypeAndNameInput) => Operation<Basic.GetByObjectTypeAndNameOutput>;
2117
+ /**
2118
+ * @apiPath /crm/lists/2026-03/idmapping
2119
+ * @apiMethod GET
2120
+ * @requiredScopes ils-lists-read
2121
+ */
2122
+ getIdMapping: (input?: Basic.GetIdMappingInput) => Operation<Basic.GetIdMappingOutput>;
2123
+ /**
2124
+ * @apiPath /crm/lists/2026-03/{listId}/memberships/join-order
2125
+ * @apiMethod GET
2126
+ * @requiredScopes ils-lists-read
2127
+ */
2128
+ getMembershipsJoinOrder: (input: Basic.GetMembershipsJoinOrderInput) => Operation<Basic.GetMembershipsJoinOrderOutput>;
2129
+ /**
2130
+ * @apiPath /crm/lists/2026-03/records/{objectTypeId}/{recordId}/memberships
2131
+ * @apiMethod GET
2132
+ * @requiredScopes ils-lists-read
2133
+ */
2134
+ getRecordMemberships: (input: Basic.GetRecordMembershipsInput) => Operation<Basic.GetRecordMembershipsOutput>;
2135
+ /**
2136
+ * @apiPath /crm/lists/2026-03/{listId}/schedule-conversion
2137
+ * @apiMethod GET
2138
+ * @requiredScopes ils-lists-read
2139
+ */
2140
+ getScheduleConversion: (input: Basic.GetScheduleConversionInput) => Operation<Basic.GetScheduleConversionOutput>;
2141
+ /**
2142
+ * @apiPath /crm/lists/2026-03/{listId}/size-and-edits-history/between
2143
+ * @apiMethod GET
2144
+ * @requiredScopes ils-lists-read
2145
+ */
2146
+ getSizeAndEditsHistoryBetween: (input: Basic.GetSizeAndEditsHistoryBetweenInput) => Operation<Basic.GetSizeAndEditsHistoryBetweenOutput>;
2147
+ /**
2148
+ * @apiPath /crm/lists/2026-03
2149
+ * @apiMethod GET
2150
+ * @requiredScopes ils-lists-read
2151
+ */
2152
+ list: (input?: Basic.ListInput) => Operation<Basic.ListOutput>;
2153
+ /**
2154
+ * @apiPath /crm/lists/2026-03/folders
2155
+ * @apiMethod GET
2156
+ * @requiredScopes ils-lists-read
2157
+ */
2158
+ listFolders: (input?: Basic.ListFoldersInput) => Operation<Basic.ListFoldersOutput>;
2159
+ /**
2160
+ * @apiPath /crm/lists/2026-03/{listId}/memberships
2161
+ * @apiMethod GET
2162
+ * @requiredScopes ils-lists-read
2163
+ */
2164
+ listMemberships: (input: Basic.ListMembershipsInput) => Operation<Basic.ListMembershipsOutput>;
2165
+ /**
2166
+ * @apiPath /crm/lists/2026-03/folders/{folderId}/move/{newParentFolderId}
2167
+ * @apiMethod PUT
2168
+ * @requiredScopes ils-lists-read, ils-lists-write
2169
+ */
2170
+ moveFolder: (input: Basic.MoveFolderInput) => Operation<Basic.MoveFolderOutput>;
2171
+ /**
2172
+ * @apiPath /crm/lists/2026-03/folders/move-list
2173
+ * @apiMethod PUT
2174
+ * @requiredScopes ils-lists-read, ils-lists-write
2175
+ */
2176
+ moveList: (input: Basic.MoveListInput) => Operation<Basic.MoveListOutput>;
2177
+ /**
2178
+ * @apiPath /crm/lists/2026-03/{listId}/memberships/remove
2179
+ * @apiMethod PUT
2180
+ * @requiredScopes ils-lists-read, ils-lists-write
2181
+ */
2182
+ removeMemberships: (input: Basic.RemoveMembershipsInput) => Operation<Basic.RemoveMembershipsOutput>;
2183
+ /**
2184
+ * @apiPath /crm/lists/2026-03/folders/{folderId}/rename
2185
+ * @apiMethod PUT
2186
+ * @requiredScopes ils-lists-read, ils-lists-write
2187
+ */
2188
+ renameFolder: (input: Basic.RenameFolderInput) => Operation<Basic.RenameFolderOutput>;
2189
+ /**
2190
+ * @apiPath /crm/lists/2026-03/{listId}/restore
2191
+ * @apiMethod PUT
2192
+ * @requiredScopes ils-lists-read, ils-lists-write
2193
+ */
2194
+ restore: (input: Basic.RestoreInput) => Operation<Basic.RestoreOutput>;
2195
+ /**
2196
+ * @apiPath /crm/lists/2026-03/{listId}/schedule-conversion
2197
+ * @apiMethod DELETE
2198
+ * @requiredScopes ils-lists-read, ils-lists-write
2199
+ */
2200
+ scheduleConversion: (input: Basic.ScheduleConversionInput) => Operation<Basic.ScheduleConversionOutput>;
2201
+ /**
2202
+ * @apiPath /crm/lists/2026-03/{listId}/update-list-filters
2203
+ * @apiMethod PUT
2204
+ * @requiredScopes ils-lists-read, ils-lists-write
2205
+ */
2206
+ updateListFilters: (input: Basic.UpdateListFiltersInput) => Operation<Basic.UpdateListFiltersOutput>;
2207
+ /**
2208
+ * @apiPath /crm/lists/2026-03/{listId}/update-list-name
2209
+ * @apiMethod PUT
2210
+ * @requiredScopes ils-lists-read, ils-lists-write
2211
+ */
2212
+ updateListName: (input: Basic.UpdateListNameInput) => Operation<Basic.UpdateListNameOutput>;
2213
+ /**
2214
+ * @apiPath /crm/lists/2026-03/{listId}/schedule-conversion
2215
+ * @apiMethod PUT
2216
+ * @requiredScopes ils-lists-read, ils-lists-write
2217
+ */
2218
+ updateScheduleConversion: (input: Basic.UpdateScheduleConversionInput) => Operation<Basic.UpdateScheduleConversionOutput>;
2219
+ }
2220
+ /**
2221
+ * Usage example:
2222
+ * ```ts
2223
+ * import { crmLists } from '@hubspot/api-client-core';
2224
+ * client.send(crmLists.batch.batchReadMemberships(input));
2225
+ * ```
2226
+ */
2227
+ interface BatchAPI {
2228
+ /**
2229
+ * @apiPath /crm/lists/2026-03/records/memberships/batch/read
2230
+ * @apiMethod POST
2231
+ * @requiredScopes ils-lists-read
2232
+ */
2233
+ batchReadMemberships: (input: Batch.BatchReadMembershipsInput) => Operation<Batch.BatchReadMembershipsOutput>;
2234
+ }
2235
+ /**
2236
+ * Usage example:
2237
+ * ```ts
2238
+ * import { crmLists } from '@hubspot/api-client-core';
2239
+ * client.send(crmLists.search.listBySearch(input));
2240
+ * ```
2241
+ */
2242
+ interface SearchAPI {
2243
+ /**
2244
+ * @apiPath /crm/lists/2026-03/search
2245
+ * @apiMethod POST
2246
+ * @requiredScopes ils-lists-read
2247
+ */
2248
+ listBySearch: (input: Search.ListBySearchInput) => Operation<Search.ListBySearchOutput>;
2249
+ }
2250
+ /**
2251
+ * Usage example:
2252
+ * ```ts
2253
+ * import { crmLists } from '@hubspot/api-client-core';
2254
+ * client.send(crmLists.basic.addAndRemoveMemberships(input));
2255
+ * ```
2256
+ */
2257
+ interface API {
2258
+ basic: BasicAPI;
2259
+ batch: BatchAPI;
2260
+ search: SearchAPI;
2261
+ }
2262
+ }
2263
+ //#endregion
2264
+ export { CRMLists };
2265
+ //# sourceMappingURL=lists-types.generated.d.ts.map