@beabee/beabee-common 0.44.2 → 0.45.0

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 (952) hide show
  1. package/dist/data/api-health-status.d.ts +6 -0
  2. package/dist/data/api-health-status.d.ts.map +1 -0
  3. package/dist/data/api-health-status.js +7 -0
  4. package/dist/data/api-health-status.js.map +1 -0
  5. package/dist/data/index.d.ts +1 -0
  6. package/dist/data/index.d.ts.map +1 -1
  7. package/dist/data/index.js +1 -0
  8. package/dist/data/index.js.map +1 -1
  9. package/dist/types/get-newsletter-integration-data-with.d.ts +9 -0
  10. package/dist/types/get-newsletter-integration-data-with.d.ts.map +1 -0
  11. package/dist/types/get-newsletter-integration-data-with.js +2 -0
  12. package/dist/types/get-newsletter-integration-data-with.js.map +1 -0
  13. package/dist/types/get-newsletter-with.d.ts +2 -0
  14. package/dist/types/get-newsletter-with.d.ts.map +1 -0
  15. package/dist/types/get-newsletter-with.js +2 -0
  16. package/dist/types/get-newsletter-with.js.map +1 -0
  17. package/dist/types/index.d.ts +4 -0
  18. package/dist/types/index.d.ts.map +1 -1
  19. package/dist/types/newsletter-diff-data.d.ts +11 -0
  20. package/dist/types/newsletter-diff-data.d.ts.map +1 -0
  21. package/dist/types/newsletter-diff-data.js +2 -0
  22. package/dist/types/newsletter-diff-data.js.map +1 -0
  23. package/dist/types/newsletter-integration-data.d.ts +14 -0
  24. package/dist/types/newsletter-integration-data.d.ts.map +1 -0
  25. package/dist/types/newsletter-integration-data.js +2 -0
  26. package/dist/types/newsletter-integration-data.js.map +1 -0
  27. package/package.json +4 -3
  28. package/src/data/api-health-status.ts +5 -0
  29. package/src/data/index.ts +1 -0
  30. package/src/types/get-newsletter-integration-data-with.ts +16 -0
  31. package/src/types/get-newsletter-with.ts +1 -0
  32. package/src/types/index.ts +4 -0
  33. package/src/types/newsletter-diff-data.ts +12 -0
  34. package/src/types/newsletter-integration-data.ts +18 -0
  35. package/dist/cjs/constants.cjs +0 -96
  36. package/dist/cjs/data/api-error-code.cjs +0 -49
  37. package/dist/cjs/data/callout-access.cjs +0 -33
  38. package/dist/cjs/data/callout-captcha.cjs +0 -32
  39. package/dist/cjs/data/callout-channel.cjs +0 -30
  40. package/dist/cjs/data/callout-component-base-type.cjs +0 -34
  41. package/dist/cjs/data/callout-component-input-selectable-types.cjs +0 -31
  42. package/dist/cjs/data/callout-component-input-text-types.cjs +0 -31
  43. package/dist/cjs/data/callout-component-input-types.cjs +0 -45
  44. package/dist/cjs/data/callout-component-nestable-types.cjs +0 -32
  45. package/dist/cjs/data/callout-component-type.cjs +0 -49
  46. package/dist/cjs/data/callout-component-types.cjs +0 -34
  47. package/dist/cjs/data/contact-mfa-type.cjs +0 -30
  48. package/dist/cjs/data/content-ids.cjs +0 -38
  49. package/dist/cjs/data/contribution-period.cjs +0 -31
  50. package/dist/cjs/data/contribution-type.cjs +0 -33
  51. package/dist/cjs/data/get-callout-response-with.cjs +0 -35
  52. package/dist/cjs/data/get-contact-with.cjs +0 -34
  53. package/dist/cjs/data/index.cjs +0 -73
  54. package/dist/cjs/data/item-status.cjs +0 -33
  55. package/dist/cjs/data/login-codes.cjs +0 -37
  56. package/dist/cjs/data/membership-status.cjs +0 -33
  57. package/dist/cjs/data/newsletter-status.cjs +0 -34
  58. package/dist/cjs/data/payment-method.cjs +0 -35
  59. package/dist/cjs/data/payment-status.cjs +0 -34
  60. package/dist/cjs/data/payment-type.cjs +0 -33
  61. package/dist/cjs/data/reset-security-flow-error-code.cjs +0 -32
  62. package/dist/cjs/data/reset-security-flow-type.cjs +0 -31
  63. package/dist/cjs/data/role-type-data.cjs +0 -32
  64. package/dist/cjs/error/InvalidRule.cjs +0 -34
  65. package/dist/cjs/error/index.cjs +0 -21
  66. package/dist/cjs/index.cjs +0 -31
  67. package/dist/cjs/search/api-keys.cjs +0 -35
  68. package/dist/cjs/search/callouts.cjs +0 -192
  69. package/dist/cjs/search/contacts.cjs +0 -147
  70. package/dist/cjs/search/emails.cjs +0 -56
  71. package/dist/cjs/search/index.cjs +0 -37
  72. package/dist/cjs/search/notices.cjs +0 -61
  73. package/dist/cjs/search/operators.cjs +0 -95
  74. package/dist/cjs/search/payments.cjs +0 -62
  75. package/dist/cjs/search/segments.cjs +0 -38
  76. package/dist/cjs/search/tags.cjs +0 -38
  77. package/dist/cjs/types/address.cjs +0 -15
  78. package/dist/cjs/types/allow-null.cjs +0 -15
  79. package/dist/cjs/types/api-error-data.cjs +0 -15
  80. package/dist/cjs/types/api-key-filter-name.cjs +0 -15
  81. package/dist/cjs/types/array-filter-args.cjs +0 -15
  82. package/dist/cjs/types/auth-info-data.cjs +0 -15
  83. package/dist/cjs/types/base-filter-args.cjs +0 -15
  84. package/dist/cjs/types/base-validated-rule.cjs +0 -15
  85. package/dist/cjs/types/callout-channel-filter-name.cjs +0 -15
  86. package/dist/cjs/types/callout-component-base-input-schema.cjs +0 -15
  87. package/dist/cjs/types/callout-component-base-input-selectable-schema.cjs +0 -15
  88. package/dist/cjs/types/callout-component-base-input-text-schema.cjs +0 -15
  89. package/dist/cjs/types/callout-component-base-map.cjs +0 -15
  90. package/dist/cjs/types/callout-component-base-nestable-schema.cjs +0 -15
  91. package/dist/cjs/types/callout-component-base-rules.cjs +0 -15
  92. package/dist/cjs/types/callout-component-base-schema.cjs +0 -15
  93. package/dist/cjs/types/callout-component-content-schema.cjs +0 -15
  94. package/dist/cjs/types/callout-component-input-address-rules.cjs +0 -15
  95. package/dist/cjs/types/callout-component-input-address-schema.cjs +0 -15
  96. package/dist/cjs/types/callout-component-input-checkbox-rules.cjs +0 -15
  97. package/dist/cjs/types/callout-component-input-checkbox-schema.cjs +0 -15
  98. package/dist/cjs/types/callout-component-input-currency-rules.cjs +0 -15
  99. package/dist/cjs/types/callout-component-input-currency-schema.cjs +0 -15
  100. package/dist/cjs/types/callout-component-input-date-time-rules.cjs +0 -15
  101. package/dist/cjs/types/callout-component-input-date-time-schema.cjs +0 -15
  102. package/dist/cjs/types/callout-component-input-email-rules.cjs +0 -15
  103. package/dist/cjs/types/callout-component-input-email-schema.cjs +0 -15
  104. package/dist/cjs/types/callout-component-input-file-rules.cjs +0 -15
  105. package/dist/cjs/types/callout-component-input-file-schema.cjs +0 -15
  106. package/dist/cjs/types/callout-component-input-number-rules.cjs +0 -15
  107. package/dist/cjs/types/callout-component-input-number-schema.cjs +0 -15
  108. package/dist/cjs/types/callout-component-input-phone-number-rules.cjs +0 -15
  109. package/dist/cjs/types/callout-component-input-phone-number-schema.cjs +0 -15
  110. package/dist/cjs/types/callout-component-input-schema.cjs +0 -15
  111. package/dist/cjs/types/callout-component-input-select-rules.cjs +0 -15
  112. package/dist/cjs/types/callout-component-input-select-schema.cjs +0 -15
  113. package/dist/cjs/types/callout-component-input-selectable-radio-rules.cjs +0 -15
  114. package/dist/cjs/types/callout-component-input-selectable-radio-schema.cjs +0 -15
  115. package/dist/cjs/types/callout-component-input-selectable-schema.cjs +0 -15
  116. package/dist/cjs/types/callout-component-input-selectable-selectboxes-rules.cjs +0 -15
  117. package/dist/cjs/types/callout-component-input-selectable-selectboxes-schema.cjs +0 -15
  118. package/dist/cjs/types/callout-component-input-signature-rules.cjs +0 -15
  119. package/dist/cjs/types/callout-component-input-signature-schema.cjs +0 -15
  120. package/dist/cjs/types/callout-component-input-text-area-schema.cjs +0 -15
  121. package/dist/cjs/types/callout-component-input-text-field-schema.cjs +0 -15
  122. package/dist/cjs/types/callout-component-input-text-rules.cjs +0 -15
  123. package/dist/cjs/types/callout-component-input-text-schema.cjs +0 -15
  124. package/dist/cjs/types/callout-component-input-time-rules.cjs +0 -15
  125. package/dist/cjs/types/callout-component-input-time-schema.cjs +0 -15
  126. package/dist/cjs/types/callout-component-input-url-rules.cjs +0 -15
  127. package/dist/cjs/types/callout-component-input-url-schema.cjs +0 -15
  128. package/dist/cjs/types/callout-component-map.cjs +0 -15
  129. package/dist/cjs/types/callout-component-nestable-panel-schema.cjs +0 -15
  130. package/dist/cjs/types/callout-component-nestable-schema.cjs +0 -15
  131. package/dist/cjs/types/callout-component-nestable-tabs-schema.cjs +0 -15
  132. package/dist/cjs/types/callout-component-nestable-well-schema.cjs +0 -15
  133. package/dist/cjs/types/callout-component-schema.cjs +0 -15
  134. package/dist/cjs/types/callout-data.cjs +0 -15
  135. package/dist/cjs/types/callout-filter-name.cjs +0 -15
  136. package/dist/cjs/types/callout-map-schema-icon-styling-answer-icon-definition.cjs +0 -15
  137. package/dist/cjs/types/callout-map-schema-icon-styling-answer-icon.cjs +0 -15
  138. package/dist/cjs/types/callout-map-schema-icon-styling-answer.cjs +0 -15
  139. package/dist/cjs/types/callout-map-schema-icon-styling.cjs +0 -15
  140. package/dist/cjs/types/callout-map-schema.cjs +0 -15
  141. package/dist/cjs/types/callout-newsletter-schema.cjs +0 -15
  142. package/dist/cjs/types/callout-response-answer-address.cjs +0 -15
  143. package/dist/cjs/types/callout-response-answer-file-upload.cjs +0 -15
  144. package/dist/cjs/types/callout-response-answer.cjs +0 -15
  145. package/dist/cjs/types/callout-response-answers-slide.cjs +0 -15
  146. package/dist/cjs/types/callout-response-answers.cjs +0 -15
  147. package/dist/cjs/types/callout-response-comment-data.cjs +0 -15
  148. package/dist/cjs/types/callout-response-comment-filter-name.cjs +0 -15
  149. package/dist/cjs/types/callout-response-filter-name.cjs +0 -15
  150. package/dist/cjs/types/callout-response-guest-data.cjs +0 -15
  151. package/dist/cjs/types/callout-response-newsletter-data.cjs +0 -15
  152. package/dist/cjs/types/callout-response-view-schema.cjs +0 -15
  153. package/dist/cjs/types/callout-reviewer-filter-name.cjs +0 -15
  154. package/dist/cjs/types/callout-tag-filter-name.cjs +0 -15
  155. package/dist/cjs/types/callout-variant-data.cjs +0 -15
  156. package/dist/cjs/types/callout-variant-navigation-data.cjs +0 -15
  157. package/dist/cjs/types/complete-signup-data.cjs +0 -15
  158. package/dist/cjs/types/contact-data.cjs +0 -15
  159. package/dist/cjs/types/contact-mfa-data.cjs +0 -15
  160. package/dist/cjs/types/contact-profile-data.cjs +0 -15
  161. package/dist/cjs/types/contact-role-data.cjs +0 -15
  162. package/dist/cjs/types/contact-tag-filter-name.cjs +0 -15
  163. package/dist/cjs/types/content-contacts-data.cjs +0 -15
  164. package/dist/cjs/types/content-data.cjs +0 -15
  165. package/dist/cjs/types/content-email-data.cjs +0 -15
  166. package/dist/cjs/types/content-general-data.cjs +0 -15
  167. package/dist/cjs/types/content-id.cjs +0 -15
  168. package/dist/cjs/types/content-join-data.cjs +0 -15
  169. package/dist/cjs/types/content-join-period-data.cjs +0 -15
  170. package/dist/cjs/types/content-join-setup-data.cjs +0 -15
  171. package/dist/cjs/types/content-payment-data.cjs +0 -15
  172. package/dist/cjs/types/content-profile-data.cjs +0 -15
  173. package/dist/cjs/types/content-share-data.cjs +0 -15
  174. package/dist/cjs/types/content-telegram-data.cjs +0 -15
  175. package/dist/cjs/types/contribution-info.cjs +0 -15
  176. package/dist/cjs/types/create-api-key-data.cjs +0 -15
  177. package/dist/cjs/types/create-callout-data.cjs +0 -15
  178. package/dist/cjs/types/create-callout-response-comment-data.cjs +0 -15
  179. package/dist/cjs/types/create-callout-response-data.cjs +0 -15
  180. package/dist/cjs/types/create-callout-response-segment-data.cjs +0 -15
  181. package/dist/cjs/types/create-callout-reviewer-data.cjs +0 -15
  182. package/dist/cjs/types/create-callout-variant-data.cjs +0 -15
  183. package/dist/cjs/types/create-contact-data.cjs +0 -15
  184. package/dist/cjs/types/create-contact-mfa-data.cjs +0 -15
  185. package/dist/cjs/types/create-email-data.cjs +0 -15
  186. package/dist/cjs/types/create-notice-data.cjs +0 -15
  187. package/dist/cjs/types/create-payment-data.cjs +0 -15
  188. package/dist/cjs/types/create-reset-device-data.cjs +0 -15
  189. package/dist/cjs/types/create-reset-password-data.cjs +0 -15
  190. package/dist/cjs/types/create-segment-data.cjs +0 -15
  191. package/dist/cjs/types/date-unit.cjs +0 -15
  192. package/dist/cjs/types/delete-contact-mfa-data.cjs +0 -15
  193. package/dist/cjs/types/duration.cjs +0 -15
  194. package/dist/cjs/types/email-filter-name.cjs +0 -15
  195. package/dist/cjs/types/email-preview-data.cjs +0 -15
  196. package/dist/cjs/types/email-template-type.cjs +0 -15
  197. package/dist/cjs/types/enum-filter-args.cjs +0 -15
  198. package/dist/cjs/types/feeable.cjs +0 -15
  199. package/dist/cjs/types/filter-args.cjs +0 -15
  200. package/dist/cjs/types/filter-type.cjs +0 -15
  201. package/dist/cjs/types/filters.cjs +0 -15
  202. package/dist/cjs/types/footer-link.cjs +0 -15
  203. package/dist/cjs/types/force-update-contribution-data.cjs +0 -15
  204. package/dist/cjs/types/formio-file.cjs +0 -15
  205. package/dist/cjs/types/get-api-key-data.cjs +0 -15
  206. package/dist/cjs/types/get-api-keys-query.cjs +0 -15
  207. package/dist/cjs/types/get-callout-data-with.cjs +0 -15
  208. package/dist/cjs/types/get-callout-data.cjs +0 -15
  209. package/dist/cjs/types/get-callout-form-data.cjs +0 -15
  210. package/dist/cjs/types/get-callout-form-schema.cjs +0 -15
  211. package/dist/cjs/types/get-callout-navigation-schema.cjs +0 -15
  212. package/dist/cjs/types/get-callout-response-comment-data.cjs +0 -15
  213. package/dist/cjs/types/get-callout-response-comments-query.cjs +0 -15
  214. package/dist/cjs/types/get-callout-response-data-with.cjs +0 -15
  215. package/dist/cjs/types/get-callout-response-data.cjs +0 -15
  216. package/dist/cjs/types/get-callout-response-map-data.cjs +0 -15
  217. package/dist/cjs/types/get-callout-responses-query.cjs +0 -15
  218. package/dist/cjs/types/get-callout-reviewer-data.cjs +0 -15
  219. package/dist/cjs/types/get-callout-slide-schema.cjs +0 -15
  220. package/dist/cjs/types/get-callout-with.cjs +0 -15
  221. package/dist/cjs/types/get-callouts-query.cjs +0 -15
  222. package/dist/cjs/types/get-contact-data-with.cjs +0 -15
  223. package/dist/cjs/types/get-contact-data.cjs +0 -15
  224. package/dist/cjs/types/get-contact-mfa-data.cjs +0 -15
  225. package/dist/cjs/types/get-contacts-query.cjs +0 -15
  226. package/dist/cjs/types/get-email-data.cjs +0 -15
  227. package/dist/cjs/types/get-email-template-info-data.cjs +0 -15
  228. package/dist/cjs/types/get-notice-data.cjs +0 -15
  229. package/dist/cjs/types/get-notices-query.cjs +0 -15
  230. package/dist/cjs/types/get-payment-aggregation-data.cjs +0 -15
  231. package/dist/cjs/types/get-payment-data-with.cjs +0 -15
  232. package/dist/cjs/types/get-payment-data.cjs +0 -15
  233. package/dist/cjs/types/get-payment-with.cjs +0 -15
  234. package/dist/cjs/types/get-payments-aggregation-query.cjs +0 -15
  235. package/dist/cjs/types/get-payments-query.cjs +0 -15
  236. package/dist/cjs/types/get-segment-data-with.cjs +0 -15
  237. package/dist/cjs/types/get-segment-data.cjs +0 -15
  238. package/dist/cjs/types/get-segment-with.cjs +0 -15
  239. package/dist/cjs/types/get-segments-query.cjs +0 -15
  240. package/dist/cjs/types/get-stats-data.cjs +0 -15
  241. package/dist/cjs/types/get-stats-query.cjs +0 -15
  242. package/dist/cjs/types/health-check-data.cjs +0 -15
  243. package/dist/cjs/types/index.cjs +0 -15
  244. package/dist/cjs/types/list-emails-query.cjs +0 -15
  245. package/dist/cjs/types/login-data.cjs +0 -15
  246. package/dist/cjs/types/newsletter-group-data.cjs +0 -15
  247. package/dist/cjs/types/noop.cjs +0 -15
  248. package/dist/cjs/types/notice-data.cjs +0 -15
  249. package/dist/cjs/types/notice-filter-name.cjs +0 -15
  250. package/dist/cjs/types/ongoing-email-fields.cjs +0 -15
  251. package/dist/cjs/types/operators-by-type.cjs +0 -15
  252. package/dist/cjs/types/other-filter-args.cjs +0 -15
  253. package/dist/cjs/types/paginated-query.cjs +0 -15
  254. package/dist/cjs/types/paginated.cjs +0 -15
  255. package/dist/cjs/types/parse-iso-options.cjs +0 -15
  256. package/dist/cjs/types/payment-filter-name.cjs +0 -15
  257. package/dist/cjs/types/payment-flow-params.cjs +0 -15
  258. package/dist/cjs/types/payment-flow-result.cjs +0 -15
  259. package/dist/cjs/types/payment-period.cjs +0 -15
  260. package/dist/cjs/types/payment-source-base.cjs +0 -15
  261. package/dist/cjs/types/payment-source-go-cardless-direct-debit.cjs +0 -15
  262. package/dist/cjs/types/payment-source-manual.cjs +0 -15
  263. package/dist/cjs/types/payment-source-stripe-bacs.cjs +0 -15
  264. package/dist/cjs/types/payment-source-stripe-card.cjs +0 -15
  265. package/dist/cjs/types/payment-source-stripe-paypal.cjs +0 -15
  266. package/dist/cjs/types/payment-source-stripe-sepa.cjs +0 -15
  267. package/dist/cjs/types/payment-source.cjs +0 -15
  268. package/dist/cjs/types/role-type.cjs +0 -15
  269. package/dist/cjs/types/rule-group.cjs +0 -15
  270. package/dist/cjs/types/rule-operator.cjs +0 -15
  271. package/dist/cjs/types/rule-opperator-params.cjs +0 -15
  272. package/dist/cjs/types/rule-value.cjs +0 -15
  273. package/dist/cjs/types/rule.cjs +0 -15
  274. package/dist/cjs/types/s3-metadata.cjs +0 -15
  275. package/dist/cjs/types/segment-filter-name.cjs +0 -15
  276. package/dist/cjs/types/segment-ongoing-email-trigger.cjs +0 -15
  277. package/dist/cjs/types/serial.cjs +0 -15
  278. package/dist/cjs/types/set-callout-form-schema.cjs +0 -15
  279. package/dist/cjs/types/set-callout-navigation-schema.cjs +0 -15
  280. package/dist/cjs/types/set-callout-slide-schema.cjs +0 -15
  281. package/dist/cjs/types/set-contribution-data.cjs +0 -15
  282. package/dist/cjs/types/signup-data.cjs +0 -15
  283. package/dist/cjs/types/start-contribution-data.cjs +0 -15
  284. package/dist/cjs/types/stripe-fee-country.cjs +0 -15
  285. package/dist/cjs/types/tag-create-data.cjs +0 -15
  286. package/dist/cjs/types/tag-data.cjs +0 -15
  287. package/dist/cjs/types/tag-get-data.cjs +0 -15
  288. package/dist/cjs/types/tag-update-data.cjs +0 -15
  289. package/dist/cjs/types/text-case.cjs +0 -15
  290. package/dist/cjs/types/unit-matches.cjs +0 -15
  291. package/dist/cjs/types/update-callout-data.cjs +0 -15
  292. package/dist/cjs/types/update-callout-response-comment-data.cjs +0 -15
  293. package/dist/cjs/types/update-callout-response-data.cjs +0 -15
  294. package/dist/cjs/types/update-callout-response-segment-data.cjs +0 -15
  295. package/dist/cjs/types/update-callout-reviewer-data.cjs +0 -15
  296. package/dist/cjs/types/update-contact-data.cjs +0 -15
  297. package/dist/cjs/types/update-contact-profile-data.cjs +0 -15
  298. package/dist/cjs/types/update-contact-role-data.cjs +0 -15
  299. package/dist/cjs/types/update-email-data.cjs +0 -15
  300. package/dist/cjs/types/update-notice-data.cjs +0 -15
  301. package/dist/cjs/types/update-reset-device-data.cjs +0 -15
  302. package/dist/cjs/types/update-reset-password-data.cjs +0 -15
  303. package/dist/cjs/types/update-segment-data.cjs +0 -15
  304. package/dist/cjs/types/upload-file-response.cjs +0 -15
  305. package/dist/cjs/types/validated-boolean-rule.cjs +0 -15
  306. package/dist/cjs/types/validated-number-rule.cjs +0 -15
  307. package/dist/cjs/types/validated-rule-group.cjs +0 -15
  308. package/dist/cjs/types/validated-rule-value.cjs +0 -15
  309. package/dist/cjs/types/validated-rule.cjs +0 -15
  310. package/dist/cjs/types/validated-string-rule.cjs +0 -15
  311. package/dist/cjs/types/validator-callout-component.cjs +0 -15
  312. package/dist/cjs/types/validator.cjs +0 -15
  313. package/dist/cjs/utils/callouts.cjs +0 -184
  314. package/dist/cjs/utils/conversions.cjs +0 -52
  315. package/dist/cjs/utils/date.cjs +0 -103
  316. package/dist/cjs/utils/debounce.cjs +0 -73
  317. package/dist/cjs/utils/file.cjs +0 -61
  318. package/dist/cjs/utils/index.cjs +0 -39
  319. package/dist/cjs/utils/payments.cjs +0 -69
  320. package/dist/cjs/utils/rules.cjs +0 -115
  321. package/dist/cjs/utils/slug.cjs +0 -833
  322. package/dist/cjs/utils/url.cjs +0 -53
  323. package/dist/cjs/utils/validations.cjs +0 -176
  324. package/dist/cjs/validators/callout-component-content.validator.cjs +0 -29
  325. package/dist/cjs/validators/callout-component-input-address.validator.cjs +0 -31
  326. package/dist/cjs/validators/callout-component-input-checkbox.validator.cjs +0 -29
  327. package/dist/cjs/validators/callout-component-input-currency.validator.cjs +0 -30
  328. package/dist/cjs/validators/callout-component-input-date-time.validator.cjs +0 -33
  329. package/dist/cjs/validators/callout-component-input-email.validator.cjs +0 -30
  330. package/dist/cjs/validators/callout-component-input-file.validator.cjs +0 -34
  331. package/dist/cjs/validators/callout-component-input-number.validator.cjs +0 -33
  332. package/dist/cjs/validators/callout-component-input-phone-number.validator.cjs +0 -30
  333. package/dist/cjs/validators/callout-component-input-select.validator.cjs +0 -30
  334. package/dist/cjs/validators/callout-component-input-selectable.validator.cjs +0 -30
  335. package/dist/cjs/validators/callout-component-input-signature.validator.cjs +0 -31
  336. package/dist/cjs/validators/callout-component-input-text.validator.cjs +0 -51
  337. package/dist/cjs/validators/callout-component-input-time.validator.cjs +0 -29
  338. package/dist/cjs/validators/callout-component-input-url.validator.cjs +0 -30
  339. package/dist/cjs/validators/callout-component.validator.cjs +0 -114
  340. package/dist/cjs/validators/index.cjs +0 -51
  341. package/dist/esm/constants.js +0 -66
  342. package/dist/esm/data/api-error-code.js +0 -26
  343. package/dist/esm/data/callout-access.js +0 -10
  344. package/dist/esm/data/callout-captcha.js +0 -9
  345. package/dist/esm/data/callout-channel.js +0 -7
  346. package/dist/esm/data/callout-component-base-type.js +0 -11
  347. package/dist/esm/data/callout-component-input-selectable-types.js +0 -8
  348. package/dist/esm/data/callout-component-input-text-types.js +0 -8
  349. package/dist/esm/data/callout-component-input-types.js +0 -22
  350. package/dist/esm/data/callout-component-nestable-types.js +0 -9
  351. package/dist/esm/data/callout-component-type.js +0 -26
  352. package/dist/esm/data/callout-component-types.js +0 -11
  353. package/dist/esm/data/contact-mfa-type.js +0 -7
  354. package/dist/esm/data/content-ids.js +0 -15
  355. package/dist/esm/data/contribution-period.js +0 -8
  356. package/dist/esm/data/contribution-type.js +0 -10
  357. package/dist/esm/data/get-callout-response-with.js +0 -12
  358. package/dist/esm/data/get-contact-with.js +0 -11
  359. package/dist/esm/data/index.js +0 -27
  360. package/dist/esm/data/item-status.js +0 -10
  361. package/dist/esm/data/login-codes.js +0 -14
  362. package/dist/esm/data/membership-status.js +0 -10
  363. package/dist/esm/data/newsletter-status.js +0 -11
  364. package/dist/esm/data/payment-method.js +0 -12
  365. package/dist/esm/data/payment-status.js +0 -11
  366. package/dist/esm/data/payment-type.js +0 -10
  367. package/dist/esm/data/reset-security-flow-error-code.js +0 -9
  368. package/dist/esm/data/reset-security-flow-type.js +0 -8
  369. package/dist/esm/data/role-type-data.js +0 -9
  370. package/dist/esm/error/InvalidRule.js +0 -11
  371. package/dist/esm/error/index.js +0 -1
  372. package/dist/esm/index.js +0 -6
  373. package/dist/esm/search/api-keys.js +0 -12
  374. package/dist/esm/search/callouts.js +0 -163
  375. package/dist/esm/search/contacts.js +0 -125
  376. package/dist/esm/search/emails.js +0 -33
  377. package/dist/esm/search/index.js +0 -9
  378. package/dist/esm/search/notices.js +0 -38
  379. package/dist/esm/search/operators.js +0 -69
  380. package/dist/esm/search/payments.js +0 -39
  381. package/dist/esm/search/segments.js +0 -15
  382. package/dist/esm/search/tags.js +0 -15
  383. package/dist/esm/types/address.js +0 -0
  384. package/dist/esm/types/allow-null.js +0 -0
  385. package/dist/esm/types/api-error-data.js +0 -0
  386. package/dist/esm/types/api-key-filter-name.js +0 -0
  387. package/dist/esm/types/array-filter-args.js +0 -0
  388. package/dist/esm/types/auth-info-data.js +0 -0
  389. package/dist/esm/types/base-filter-args.js +0 -0
  390. package/dist/esm/types/base-validated-rule.js +0 -0
  391. package/dist/esm/types/callout-channel-filter-name.js +0 -0
  392. package/dist/esm/types/callout-component-base-input-schema.js +0 -0
  393. package/dist/esm/types/callout-component-base-input-selectable-schema.js +0 -0
  394. package/dist/esm/types/callout-component-base-input-text-schema.js +0 -0
  395. package/dist/esm/types/callout-component-base-map.js +0 -0
  396. package/dist/esm/types/callout-component-base-nestable-schema.js +0 -0
  397. package/dist/esm/types/callout-component-base-rules.js +0 -0
  398. package/dist/esm/types/callout-component-base-schema.js +0 -0
  399. package/dist/esm/types/callout-component-content-schema.js +0 -0
  400. package/dist/esm/types/callout-component-input-address-rules.js +0 -0
  401. package/dist/esm/types/callout-component-input-address-schema.js +0 -0
  402. package/dist/esm/types/callout-component-input-checkbox-rules.js +0 -0
  403. package/dist/esm/types/callout-component-input-checkbox-schema.js +0 -0
  404. package/dist/esm/types/callout-component-input-currency-rules.js +0 -0
  405. package/dist/esm/types/callout-component-input-currency-schema.js +0 -0
  406. package/dist/esm/types/callout-component-input-date-time-rules.js +0 -0
  407. package/dist/esm/types/callout-component-input-date-time-schema.js +0 -0
  408. package/dist/esm/types/callout-component-input-email-rules.js +0 -0
  409. package/dist/esm/types/callout-component-input-email-schema.js +0 -0
  410. package/dist/esm/types/callout-component-input-file-rules.js +0 -0
  411. package/dist/esm/types/callout-component-input-file-schema.js +0 -0
  412. package/dist/esm/types/callout-component-input-number-rules.js +0 -0
  413. package/dist/esm/types/callout-component-input-number-schema.js +0 -0
  414. package/dist/esm/types/callout-component-input-phone-number-rules.js +0 -0
  415. package/dist/esm/types/callout-component-input-phone-number-schema.js +0 -0
  416. package/dist/esm/types/callout-component-input-schema.js +0 -0
  417. package/dist/esm/types/callout-component-input-select-rules.js +0 -0
  418. package/dist/esm/types/callout-component-input-select-schema.js +0 -0
  419. package/dist/esm/types/callout-component-input-selectable-radio-rules.js +0 -0
  420. package/dist/esm/types/callout-component-input-selectable-radio-schema.js +0 -0
  421. package/dist/esm/types/callout-component-input-selectable-schema.js +0 -0
  422. package/dist/esm/types/callout-component-input-selectable-selectboxes-rules.js +0 -0
  423. package/dist/esm/types/callout-component-input-selectable-selectboxes-schema.js +0 -0
  424. package/dist/esm/types/callout-component-input-signature-rules.js +0 -0
  425. package/dist/esm/types/callout-component-input-signature-schema.js +0 -0
  426. package/dist/esm/types/callout-component-input-text-area-schema.js +0 -0
  427. package/dist/esm/types/callout-component-input-text-field-schema.js +0 -0
  428. package/dist/esm/types/callout-component-input-text-rules.js +0 -0
  429. package/dist/esm/types/callout-component-input-text-schema.js +0 -0
  430. package/dist/esm/types/callout-component-input-time-rules.js +0 -0
  431. package/dist/esm/types/callout-component-input-time-schema.js +0 -0
  432. package/dist/esm/types/callout-component-input-url-rules.js +0 -0
  433. package/dist/esm/types/callout-component-input-url-schema.js +0 -0
  434. package/dist/esm/types/callout-component-map.js +0 -0
  435. package/dist/esm/types/callout-component-nestable-panel-schema.js +0 -0
  436. package/dist/esm/types/callout-component-nestable-schema.js +0 -0
  437. package/dist/esm/types/callout-component-nestable-tabs-schema.js +0 -0
  438. package/dist/esm/types/callout-component-nestable-well-schema.js +0 -0
  439. package/dist/esm/types/callout-component-schema.js +0 -0
  440. package/dist/esm/types/callout-data.js +0 -0
  441. package/dist/esm/types/callout-filter-name.js +0 -0
  442. package/dist/esm/types/callout-map-schema-icon-styling-answer-icon-definition.js +0 -0
  443. package/dist/esm/types/callout-map-schema-icon-styling-answer-icon.js +0 -0
  444. package/dist/esm/types/callout-map-schema-icon-styling-answer.js +0 -0
  445. package/dist/esm/types/callout-map-schema-icon-styling.js +0 -0
  446. package/dist/esm/types/callout-map-schema.js +0 -0
  447. package/dist/esm/types/callout-newsletter-schema.js +0 -0
  448. package/dist/esm/types/callout-response-answer-address.js +0 -0
  449. package/dist/esm/types/callout-response-answer-file-upload.js +0 -0
  450. package/dist/esm/types/callout-response-answer.js +0 -0
  451. package/dist/esm/types/callout-response-answers-slide.js +0 -0
  452. package/dist/esm/types/callout-response-answers.js +0 -0
  453. package/dist/esm/types/callout-response-comment-data.js +0 -0
  454. package/dist/esm/types/callout-response-comment-filter-name.js +0 -0
  455. package/dist/esm/types/callout-response-filter-name.js +0 -0
  456. package/dist/esm/types/callout-response-guest-data.js +0 -0
  457. package/dist/esm/types/callout-response-newsletter-data.js +0 -0
  458. package/dist/esm/types/callout-response-view-schema.js +0 -0
  459. package/dist/esm/types/callout-reviewer-filter-name.js +0 -0
  460. package/dist/esm/types/callout-tag-filter-name.js +0 -0
  461. package/dist/esm/types/callout-variant-data.js +0 -0
  462. package/dist/esm/types/callout-variant-navigation-data.js +0 -0
  463. package/dist/esm/types/complete-signup-data.js +0 -0
  464. package/dist/esm/types/contact-data.js +0 -0
  465. package/dist/esm/types/contact-mfa-data.js +0 -0
  466. package/dist/esm/types/contact-profile-data.js +0 -0
  467. package/dist/esm/types/contact-role-data.js +0 -0
  468. package/dist/esm/types/contact-tag-filter-name.js +0 -0
  469. package/dist/esm/types/content-contacts-data.js +0 -0
  470. package/dist/esm/types/content-data.js +0 -0
  471. package/dist/esm/types/content-email-data.js +0 -0
  472. package/dist/esm/types/content-general-data.js +0 -0
  473. package/dist/esm/types/content-id.js +0 -0
  474. package/dist/esm/types/content-join-data.js +0 -0
  475. package/dist/esm/types/content-join-period-data.js +0 -0
  476. package/dist/esm/types/content-join-setup-data.js +0 -0
  477. package/dist/esm/types/content-payment-data.js +0 -0
  478. package/dist/esm/types/content-profile-data.js +0 -0
  479. package/dist/esm/types/content-share-data.js +0 -0
  480. package/dist/esm/types/content-telegram-data.js +0 -0
  481. package/dist/esm/types/contribution-info.js +0 -0
  482. package/dist/esm/types/create-api-key-data.js +0 -0
  483. package/dist/esm/types/create-callout-data.js +0 -0
  484. package/dist/esm/types/create-callout-response-comment-data.js +0 -0
  485. package/dist/esm/types/create-callout-response-data.js +0 -0
  486. package/dist/esm/types/create-callout-response-segment-data.js +0 -0
  487. package/dist/esm/types/create-callout-reviewer-data.js +0 -0
  488. package/dist/esm/types/create-callout-variant-data.js +0 -0
  489. package/dist/esm/types/create-contact-data.js +0 -0
  490. package/dist/esm/types/create-contact-mfa-data.js +0 -0
  491. package/dist/esm/types/create-email-data.js +0 -0
  492. package/dist/esm/types/create-notice-data.js +0 -0
  493. package/dist/esm/types/create-payment-data.js +0 -0
  494. package/dist/esm/types/create-reset-device-data.js +0 -0
  495. package/dist/esm/types/create-reset-password-data.js +0 -0
  496. package/dist/esm/types/create-segment-data.js +0 -0
  497. package/dist/esm/types/date-unit.js +0 -0
  498. package/dist/esm/types/delete-contact-mfa-data.js +0 -0
  499. package/dist/esm/types/duration.js +0 -0
  500. package/dist/esm/types/email-filter-name.js +0 -0
  501. package/dist/esm/types/email-preview-data.js +0 -0
  502. package/dist/esm/types/email-template-type.js +0 -0
  503. package/dist/esm/types/enum-filter-args.js +0 -0
  504. package/dist/esm/types/feeable.js +0 -0
  505. package/dist/esm/types/filter-args.js +0 -0
  506. package/dist/esm/types/filter-type.js +0 -0
  507. package/dist/esm/types/filters.js +0 -0
  508. package/dist/esm/types/footer-link.js +0 -0
  509. package/dist/esm/types/force-update-contribution-data.js +0 -0
  510. package/dist/esm/types/formio-file.js +0 -0
  511. package/dist/esm/types/get-api-key-data.js +0 -0
  512. package/dist/esm/types/get-api-keys-query.js +0 -0
  513. package/dist/esm/types/get-callout-data-with.js +0 -0
  514. package/dist/esm/types/get-callout-data.js +0 -0
  515. package/dist/esm/types/get-callout-form-data.js +0 -0
  516. package/dist/esm/types/get-callout-form-schema.js +0 -0
  517. package/dist/esm/types/get-callout-navigation-schema.js +0 -0
  518. package/dist/esm/types/get-callout-response-comment-data.js +0 -0
  519. package/dist/esm/types/get-callout-response-comments-query.js +0 -0
  520. package/dist/esm/types/get-callout-response-data-with.js +0 -0
  521. package/dist/esm/types/get-callout-response-data.js +0 -0
  522. package/dist/esm/types/get-callout-response-map-data.js +0 -0
  523. package/dist/esm/types/get-callout-responses-query.js +0 -0
  524. package/dist/esm/types/get-callout-reviewer-data.js +0 -0
  525. package/dist/esm/types/get-callout-slide-schema.js +0 -0
  526. package/dist/esm/types/get-callout-with.js +0 -0
  527. package/dist/esm/types/get-callouts-query.js +0 -0
  528. package/dist/esm/types/get-contact-data-with.js +0 -0
  529. package/dist/esm/types/get-contact-data.js +0 -0
  530. package/dist/esm/types/get-contact-mfa-data.js +0 -0
  531. package/dist/esm/types/get-contacts-query.js +0 -0
  532. package/dist/esm/types/get-email-data.js +0 -0
  533. package/dist/esm/types/get-email-template-info-data.js +0 -0
  534. package/dist/esm/types/get-notice-data.js +0 -0
  535. package/dist/esm/types/get-notices-query.js +0 -0
  536. package/dist/esm/types/get-payment-aggregation-data.js +0 -0
  537. package/dist/esm/types/get-payment-data-with.js +0 -0
  538. package/dist/esm/types/get-payment-data.js +0 -0
  539. package/dist/esm/types/get-payment-with.js +0 -0
  540. package/dist/esm/types/get-payments-aggregation-query.js +0 -0
  541. package/dist/esm/types/get-payments-query.js +0 -0
  542. package/dist/esm/types/get-segment-data-with.js +0 -0
  543. package/dist/esm/types/get-segment-data.js +0 -0
  544. package/dist/esm/types/get-segment-with.js +0 -0
  545. package/dist/esm/types/get-segments-query.js +0 -0
  546. package/dist/esm/types/get-stats-data.js +0 -0
  547. package/dist/esm/types/get-stats-query.js +0 -0
  548. package/dist/esm/types/health-check-data.js +0 -0
  549. package/dist/esm/types/index.js +0 -0
  550. package/dist/esm/types/list-emails-query.js +0 -0
  551. package/dist/esm/types/login-data.js +0 -0
  552. package/dist/esm/types/newsletter-group-data.js +0 -0
  553. package/dist/esm/types/noop.js +0 -0
  554. package/dist/esm/types/notice-data.js +0 -0
  555. package/dist/esm/types/notice-filter-name.js +0 -0
  556. package/dist/esm/types/ongoing-email-fields.js +0 -0
  557. package/dist/esm/types/operators-by-type.js +0 -0
  558. package/dist/esm/types/other-filter-args.js +0 -0
  559. package/dist/esm/types/paginated-query.js +0 -0
  560. package/dist/esm/types/paginated.js +0 -0
  561. package/dist/esm/types/parse-iso-options.js +0 -0
  562. package/dist/esm/types/payment-filter-name.js +0 -0
  563. package/dist/esm/types/payment-flow-params.js +0 -0
  564. package/dist/esm/types/payment-flow-result.js +0 -0
  565. package/dist/esm/types/payment-period.js +0 -0
  566. package/dist/esm/types/payment-source-base.js +0 -0
  567. package/dist/esm/types/payment-source-go-cardless-direct-debit.js +0 -0
  568. package/dist/esm/types/payment-source-manual.js +0 -0
  569. package/dist/esm/types/payment-source-stripe-bacs.js +0 -0
  570. package/dist/esm/types/payment-source-stripe-card.js +0 -0
  571. package/dist/esm/types/payment-source-stripe-paypal.js +0 -0
  572. package/dist/esm/types/payment-source-stripe-sepa.js +0 -0
  573. package/dist/esm/types/payment-source.js +0 -0
  574. package/dist/esm/types/role-type.js +0 -0
  575. package/dist/esm/types/rule-group.js +0 -0
  576. package/dist/esm/types/rule-operator.js +0 -0
  577. package/dist/esm/types/rule-opperator-params.js +0 -0
  578. package/dist/esm/types/rule-value.js +0 -0
  579. package/dist/esm/types/rule.js +0 -0
  580. package/dist/esm/types/s3-metadata.js +0 -0
  581. package/dist/esm/types/segment-filter-name.js +0 -0
  582. package/dist/esm/types/segment-ongoing-email-trigger.js +0 -0
  583. package/dist/esm/types/serial.js +0 -0
  584. package/dist/esm/types/set-callout-form-schema.js +0 -0
  585. package/dist/esm/types/set-callout-navigation-schema.js +0 -0
  586. package/dist/esm/types/set-callout-slide-schema.js +0 -0
  587. package/dist/esm/types/set-contribution-data.js +0 -0
  588. package/dist/esm/types/signup-data.js +0 -0
  589. package/dist/esm/types/start-contribution-data.js +0 -0
  590. package/dist/esm/types/stripe-fee-country.js +0 -0
  591. package/dist/esm/types/tag-create-data.js +0 -0
  592. package/dist/esm/types/tag-data.js +0 -0
  593. package/dist/esm/types/tag-get-data.js +0 -0
  594. package/dist/esm/types/tag-update-data.js +0 -0
  595. package/dist/esm/types/text-case.js +0 -0
  596. package/dist/esm/types/unit-matches.js +0 -0
  597. package/dist/esm/types/update-callout-data.js +0 -0
  598. package/dist/esm/types/update-callout-response-comment-data.js +0 -0
  599. package/dist/esm/types/update-callout-response-data.js +0 -0
  600. package/dist/esm/types/update-callout-response-segment-data.js +0 -0
  601. package/dist/esm/types/update-callout-reviewer-data.js +0 -0
  602. package/dist/esm/types/update-contact-data.js +0 -0
  603. package/dist/esm/types/update-contact-profile-data.js +0 -0
  604. package/dist/esm/types/update-contact-role-data.js +0 -0
  605. package/dist/esm/types/update-email-data.js +0 -0
  606. package/dist/esm/types/update-notice-data.js +0 -0
  607. package/dist/esm/types/update-reset-device-data.js +0 -0
  608. package/dist/esm/types/update-reset-password-data.js +0 -0
  609. package/dist/esm/types/update-segment-data.js +0 -0
  610. package/dist/esm/types/upload-file-response.js +0 -0
  611. package/dist/esm/types/validated-boolean-rule.js +0 -0
  612. package/dist/esm/types/validated-number-rule.js +0 -0
  613. package/dist/esm/types/validated-rule-group.js +0 -0
  614. package/dist/esm/types/validated-rule-value.js +0 -0
  615. package/dist/esm/types/validated-rule.js +0 -0
  616. package/dist/esm/types/validated-string-rule.js +0 -0
  617. package/dist/esm/types/validator-callout-component.js +0 -0
  618. package/dist/esm/types/validator.js +0 -0
  619. package/dist/esm/utils/callouts.js +0 -157
  620. package/dist/esm/utils/conversions.js +0 -28
  621. package/dist/esm/utils/date.js +0 -84
  622. package/dist/esm/utils/debounce.js +0 -49
  623. package/dist/esm/utils/file.js +0 -39
  624. package/dist/esm/utils/index.js +0 -10
  625. package/dist/esm/utils/payments.js +0 -46
  626. package/dist/esm/utils/rules.js +0 -86
  627. package/dist/esm/utils/slug.js +0 -810
  628. package/dist/esm/utils/url.js +0 -28
  629. package/dist/esm/utils/validations.js +0 -138
  630. package/dist/esm/validators/callout-component-content.validator.js +0 -6
  631. package/dist/esm/validators/callout-component-input-address.validator.js +0 -8
  632. package/dist/esm/validators/callout-component-input-checkbox.validator.js +0 -6
  633. package/dist/esm/validators/callout-component-input-currency.validator.js +0 -7
  634. package/dist/esm/validators/callout-component-input-date-time.validator.js +0 -10
  635. package/dist/esm/validators/callout-component-input-email.validator.js +0 -7
  636. package/dist/esm/validators/callout-component-input-file.validator.js +0 -11
  637. package/dist/esm/validators/callout-component-input-number.validator.js +0 -10
  638. package/dist/esm/validators/callout-component-input-phone-number.validator.js +0 -7
  639. package/dist/esm/validators/callout-component-input-select.validator.js +0 -7
  640. package/dist/esm/validators/callout-component-input-selectable.validator.js +0 -7
  641. package/dist/esm/validators/callout-component-input-signature.validator.js +0 -8
  642. package/dist/esm/validators/callout-component-input-text.validator.js +0 -28
  643. package/dist/esm/validators/callout-component-input-time.validator.js +0 -6
  644. package/dist/esm/validators/callout-component-input-url.validator.js +0 -7
  645. package/dist/esm/validators/callout-component.validator.js +0 -91
  646. package/dist/esm/validators/index.js +0 -16
  647. package/dist/types/constants.d.ts +0 -78
  648. package/dist/types/data/api-error-code.d.ts +0 -22
  649. package/dist/types/data/callout-access.d.ts +0 -6
  650. package/dist/types/data/callout-captcha.d.ts +0 -5
  651. package/dist/types/data/callout-channel.d.ts +0 -3
  652. package/dist/types/data/callout-component-base-type.d.ts +0 -8
  653. package/dist/types/data/callout-component-input-selectable-types.d.ts +0 -3
  654. package/dist/types/data/callout-component-input-text-types.d.ts +0 -3
  655. package/dist/types/data/callout-component-input-types.d.ts +0 -3
  656. package/dist/types/data/callout-component-nestable-types.d.ts +0 -3
  657. package/dist/types/data/callout-component-type.d.ts +0 -23
  658. package/dist/types/data/callout-component-types.d.ts +0 -3
  659. package/dist/types/data/contact-mfa-type.d.ts +0 -6
  660. package/dist/types/data/content-ids.d.ts +0 -2
  661. package/dist/types/data/contribution-period.d.ts +0 -4
  662. package/dist/types/data/contribution-type.d.ts +0 -6
  663. package/dist/types/data/get-callout-response-with.d.ts +0 -8
  664. package/dist/types/data/get-contact-with.d.ts +0 -7
  665. package/dist/types/data/index.d.ts +0 -27
  666. package/dist/types/data/item-status.d.ts +0 -6
  667. package/dist/types/data/login-codes.d.ts +0 -13
  668. package/dist/types/data/membership-status.d.ts +0 -6
  669. package/dist/types/data/newsletter-status.d.ts +0 -7
  670. package/dist/types/data/payment-method.d.ts +0 -8
  671. package/dist/types/data/payment-status.d.ts +0 -7
  672. package/dist/types/data/payment-type.d.ts +0 -6
  673. package/dist/types/data/reset-security-flow-error-code.d.ts +0 -8
  674. package/dist/types/data/reset-security-flow-type.d.ts +0 -7
  675. package/dist/types/data/role-type-data.d.ts +0 -5
  676. package/dist/types/error/InvalidRule.d.ts +0 -6
  677. package/dist/types/error/index.d.ts +0 -1
  678. package/dist/types/index.d.cts +0 -1
  679. package/dist/types/search/api-keys.d.ts +0 -8
  680. package/dist/types/search/callouts.d.ts +0 -141
  681. package/dist/types/search/contacts.d.ts +0 -103
  682. package/dist/types/search/emails.d.ts +0 -29
  683. package/dist/types/search/index.d.ts +0 -9
  684. package/dist/types/search/notices.d.ts +0 -29
  685. package/dist/types/search/operators.d.ts +0 -75
  686. package/dist/types/search/payments.d.ts +0 -24
  687. package/dist/types/search/segments.d.ts +0 -11
  688. package/dist/types/search/tags.d.ts +0 -12
  689. package/dist/types/types/address.d.ts +0 -6
  690. package/dist/types/types/allow-null.d.ts +0 -7
  691. package/dist/types/types/api-error-data.d.ts +0 -111
  692. package/dist/types/types/api-key-filter-name.d.ts +0 -2
  693. package/dist/types/types/array-filter-args.d.ts +0 -5
  694. package/dist/types/types/auth-info-data.d.ts +0 -24
  695. package/dist/types/types/base-filter-args.d.ts +0 -5
  696. package/dist/types/types/base-validated-rule.d.ts +0 -9
  697. package/dist/types/types/callout-channel-filter-name.d.ts +0 -2
  698. package/dist/types/types/callout-component-base-input-schema.d.ts +0 -11
  699. package/dist/types/types/callout-component-base-input-selectable-schema.d.ts +0 -11
  700. package/dist/types/types/callout-component-base-input-text-schema.d.ts +0 -12
  701. package/dist/types/types/callout-component-base-map.d.ts +0 -16
  702. package/dist/types/types/callout-component-base-nestable-schema.d.ts +0 -7
  703. package/dist/types/types/callout-component-base-rules.d.ts +0 -6
  704. package/dist/types/types/callout-component-base-schema.d.ts +0 -22
  705. package/dist/types/types/callout-component-content-schema.d.ts +0 -12
  706. package/dist/types/types/callout-component-input-address-rules.d.ts +0 -2
  707. package/dist/types/types/callout-component-input-address-schema.d.ts +0 -9
  708. package/dist/types/types/callout-component-input-checkbox-rules.d.ts +0 -2
  709. package/dist/types/types/callout-component-input-checkbox-schema.d.ts +0 -11
  710. package/dist/types/types/callout-component-input-currency-rules.d.ts +0 -2
  711. package/dist/types/types/callout-component-input-currency-schema.d.ts +0 -17
  712. package/dist/types/types/callout-component-input-date-time-rules.d.ts +0 -2
  713. package/dist/types/types/callout-component-input-date-time-schema.d.ts +0 -39
  714. package/dist/types/types/callout-component-input-email-rules.d.ts +0 -9
  715. package/dist/types/types/callout-component-input-email-schema.d.ts +0 -11
  716. package/dist/types/types/callout-component-input-file-rules.d.ts +0 -2
  717. package/dist/types/types/callout-component-input-file-schema.d.ts +0 -19
  718. package/dist/types/types/callout-component-input-number-rules.d.ts +0 -9
  719. package/dist/types/types/callout-component-input-number-schema.d.ts +0 -17
  720. package/dist/types/types/callout-component-input-phone-number-rules.d.ts +0 -2
  721. package/dist/types/types/callout-component-input-phone-number-schema.d.ts +0 -9
  722. package/dist/types/types/callout-component-input-schema.d.ts +0 -3
  723. package/dist/types/types/callout-component-input-select-rules.d.ts +0 -2
  724. package/dist/types/types/callout-component-input-select-schema.d.ts +0 -17
  725. package/dist/types/types/callout-component-input-selectable-radio-rules.d.ts +0 -2
  726. package/dist/types/types/callout-component-input-selectable-radio-schema.d.ts +0 -6
  727. package/dist/types/types/callout-component-input-selectable-schema.d.ts +0 -3
  728. package/dist/types/types/callout-component-input-selectable-selectboxes-rules.d.ts +0 -2
  729. package/dist/types/types/callout-component-input-selectable-selectboxes-schema.d.ts +0 -6
  730. package/dist/types/types/callout-component-input-signature-rules.d.ts +0 -2
  731. package/dist/types/types/callout-component-input-signature-schema.d.ts +0 -7
  732. package/dist/types/types/callout-component-input-text-area-schema.d.ts +0 -5
  733. package/dist/types/types/callout-component-input-text-field-schema.d.ts +0 -5
  734. package/dist/types/types/callout-component-input-text-rules.d.ts +0 -13
  735. package/dist/types/types/callout-component-input-text-schema.d.ts +0 -3
  736. package/dist/types/types/callout-component-input-time-rules.d.ts +0 -2
  737. package/dist/types/types/callout-component-input-time-schema.d.ts +0 -9
  738. package/dist/types/types/callout-component-input-url-rules.d.ts +0 -9
  739. package/dist/types/types/callout-component-input-url-schema.d.ts +0 -11
  740. package/dist/types/types/callout-component-map.d.ts +0 -31
  741. package/dist/types/types/callout-component-nestable-panel-schema.d.ts +0 -5
  742. package/dist/types/types/callout-component-nestable-schema.d.ts +0 -2
  743. package/dist/types/types/callout-component-nestable-tabs-schema.d.ts +0 -5
  744. package/dist/types/types/callout-component-nestable-well-schema.d.ts +0 -5
  745. package/dist/types/types/callout-component-schema.d.ts +0 -3
  746. package/dist/types/types/callout-data.d.ts +0 -17
  747. package/dist/types/types/callout-filter-name.d.ts +0 -2
  748. package/dist/types/types/callout-map-schema-icon-styling-answer-icon-definition.d.ts +0 -4
  749. package/dist/types/types/callout-map-schema-icon-styling-answer-icon.d.ts +0 -5
  750. package/dist/types/types/callout-map-schema-icon-styling-answer.d.ts +0 -2
  751. package/dist/types/types/callout-map-schema-icon-styling.d.ts +0 -2
  752. package/dist/types/types/callout-map-schema.d.ts +0 -20
  753. package/dist/types/types/callout-newsletter-schema.d.ts +0 -7
  754. package/dist/types/types/callout-response-answer-address.d.ts +0 -17
  755. package/dist/types/types/callout-response-answer-file-upload.d.ts +0 -8
  756. package/dist/types/types/callout-response-answer.d.ts +0 -2
  757. package/dist/types/types/callout-response-answers-slide.d.ts +0 -5
  758. package/dist/types/types/callout-response-answers.d.ts +0 -5
  759. package/dist/types/types/callout-response-comment-data.d.ts +0 -4
  760. package/dist/types/types/callout-response-comment-filter-name.d.ts +0 -2
  761. package/dist/types/types/callout-response-filter-name.d.ts +0 -2
  762. package/dist/types/types/callout-response-guest-data.d.ts +0 -5
  763. package/dist/types/types/callout-response-newsletter-data.d.ts +0 -4
  764. package/dist/types/types/callout-response-view-schema.d.ts +0 -13
  765. package/dist/types/types/callout-reviewer-filter-name.d.ts +0 -2
  766. package/dist/types/types/callout-tag-filter-name.d.ts +0 -2
  767. package/dist/types/types/callout-variant-data.d.ts +0 -19
  768. package/dist/types/types/callout-variant-navigation-data.d.ts +0 -5
  769. package/dist/types/types/complete-signup-data.d.ts +0 -6
  770. package/dist/types/types/contact-data.d.ts +0 -6
  771. package/dist/types/types/contact-mfa-data.d.ts +0 -8
  772. package/dist/types/types/contact-profile-data.d.ts +0 -13
  773. package/dist/types/types/contact-role-data.d.ts +0 -5
  774. package/dist/types/types/contact-tag-filter-name.d.ts +0 -2
  775. package/dist/types/types/content-contacts-data.d.ts +0 -4
  776. package/dist/types/types/content-data.d.ts +0 -2
  777. package/dist/types/types/content-email-data.d.ts +0 -5
  778. package/dist/types/types/content-general-data.d.ts +0 -35
  779. package/dist/types/types/content-id.d.ts +0 -1
  780. package/dist/types/types/content-join-data.d.ts +0 -17
  781. package/dist/types/types/content-join-period-data.d.ts +0 -5
  782. package/dist/types/types/content-join-setup-data.d.ts +0 -16
  783. package/dist/types/types/content-payment-data.d.ts +0 -9
  784. package/dist/types/types/content-profile-data.d.ts +0 -3
  785. package/dist/types/types/content-share-data.d.ts +0 -6
  786. package/dist/types/types/content-telegram-data.d.ts +0 -4
  787. package/dist/types/types/contribution-info.d.ts +0 -15
  788. package/dist/types/types/create-api-key-data.d.ts +0 -4
  789. package/dist/types/types/create-callout-data.d.ts +0 -5
  790. package/dist/types/types/create-callout-response-comment-data.d.ts +0 -2
  791. package/dist/types/types/create-callout-response-data.d.ts +0 -10
  792. package/dist/types/types/create-callout-response-segment-data.d.ts +0 -7
  793. package/dist/types/types/create-callout-reviewer-data.d.ts +0 -4
  794. package/dist/types/types/create-callout-variant-data.d.ts +0 -5
  795. package/dist/types/types/create-contact-data.d.ts +0 -8
  796. package/dist/types/types/create-contact-mfa-data.d.ts +0 -6
  797. package/dist/types/types/create-email-data.d.ts +0 -9
  798. package/dist/types/types/create-notice-data.d.ts +0 -2
  799. package/dist/types/types/create-payment-data.d.ts +0 -7
  800. package/dist/types/types/create-reset-device-data.d.ts +0 -7
  801. package/dist/types/types/create-reset-password-data.d.ts +0 -4
  802. package/dist/types/types/create-segment-data.d.ts +0 -6
  803. package/dist/types/types/date-unit.d.ts +0 -2
  804. package/dist/types/types/delete-contact-mfa-data.d.ts +0 -5
  805. package/dist/types/types/duration.d.ts +0 -1
  806. package/dist/types/types/email-filter-name.d.ts +0 -2
  807. package/dist/types/types/email-preview-data.d.ts +0 -8
  808. package/dist/types/types/email-template-type.d.ts +0 -1
  809. package/dist/types/types/enum-filter-args.d.ts +0 -5
  810. package/dist/types/types/feeable.d.ts +0 -7
  811. package/dist/types/types/filter-args.d.ts +0 -2
  812. package/dist/types/types/filter-type.d.ts +0 -1
  813. package/dist/types/types/filters.d.ts +0 -2
  814. package/dist/types/types/footer-link.d.ts +0 -4
  815. package/dist/types/types/force-update-contribution-data.d.ts +0 -8
  816. package/dist/types/types/formio-file.d.ts +0 -13
  817. package/dist/types/types/get-api-key-data.d.ts +0 -8
  818. package/dist/types/types/get-api-keys-query.d.ts +0 -2
  819. package/dist/types/types/get-callout-data-with.d.ts +0 -12
  820. package/dist/types/types/get-callout-data.d.ts +0 -9
  821. package/dist/types/types/get-callout-form-data.d.ts +0 -10
  822. package/dist/types/types/get-callout-form-schema.d.ts +0 -5
  823. package/dist/types/types/get-callout-navigation-schema.d.ts +0 -6
  824. package/dist/types/types/get-callout-response-comment-data.d.ts +0 -7
  825. package/dist/types/types/get-callout-response-comments-query.d.ts +0 -2
  826. package/dist/types/types/get-callout-response-data-with.d.ts +0 -18
  827. package/dist/types/types/get-callout-response-data.d.ts +0 -9
  828. package/dist/types/types/get-callout-response-map-data.d.ts +0 -8
  829. package/dist/types/types/get-callout-responses-query.d.ts +0 -2
  830. package/dist/types/types/get-callout-reviewer-data.d.ts +0 -6
  831. package/dist/types/types/get-callout-slide-schema.d.ts +0 -4
  832. package/dist/types/types/get-callout-with.d.ts +0 -1
  833. package/dist/types/types/get-callouts-query.d.ts +0 -2
  834. package/dist/types/types/get-contact-data-with.d.ts +0 -16
  835. package/dist/types/types/get-contact-data.d.ts +0 -10
  836. package/dist/types/types/get-contact-mfa-data.d.ts +0 -2
  837. package/dist/types/types/get-contacts-query.d.ts +0 -2
  838. package/dist/types/types/get-email-data.d.ts +0 -27
  839. package/dist/types/types/get-email-template-info-data.d.ts +0 -15
  840. package/dist/types/types/get-notice-data.d.ts +0 -8
  841. package/dist/types/types/get-notices-query.d.ts +0 -2
  842. package/dist/types/types/get-payment-aggregation-data.d.ts +0 -4
  843. package/dist/types/types/get-payment-data-with.d.ts +0 -4
  844. package/dist/types/types/get-payment-data.d.ts +0 -8
  845. package/dist/types/types/get-payment-with.d.ts +0 -1
  846. package/dist/types/types/get-payments-aggregation-query.d.ts +0 -4
  847. package/dist/types/types/get-payments-query.d.ts +0 -2
  848. package/dist/types/types/get-segment-data-with.d.ts +0 -4
  849. package/dist/types/types/get-segment-data.d.ts +0 -7
  850. package/dist/types/types/get-segment-with.d.ts +0 -1
  851. package/dist/types/types/get-segments-query.d.ts +0 -2
  852. package/dist/types/types/get-stats-data.d.ts +0 -5
  853. package/dist/types/types/get-stats-query.d.ts +0 -4
  854. package/dist/types/types/health-check-data.d.ts +0 -10
  855. package/dist/types/types/index.d.ts +0 -235
  856. package/dist/types/types/list-emails-query.d.ts +0 -2
  857. package/dist/types/types/login-data.d.ts +0 -6
  858. package/dist/types/types/newsletter-group-data.d.ts +0 -5
  859. package/dist/types/types/noop.d.ts +0 -5
  860. package/dist/types/types/notice-data.d.ts +0 -8
  861. package/dist/types/types/notice-filter-name.d.ts +0 -2
  862. package/dist/types/types/ongoing-email-fields.d.ts +0 -10
  863. package/dist/types/types/operators-by-type.d.ts +0 -2
  864. package/dist/types/types/other-filter-args.d.ts +0 -4
  865. package/dist/types/types/paginated-query.d.ts +0 -8
  866. package/dist/types/types/paginated.d.ts +0 -6
  867. package/dist/types/types/parse-iso-options.d.ts +0 -7
  868. package/dist/types/types/payment-filter-name.d.ts +0 -2
  869. package/dist/types/types/payment-flow-params.d.ts +0 -13
  870. package/dist/types/types/payment-flow-result.d.ts +0 -4
  871. package/dist/types/types/payment-period.d.ts +0 -2
  872. package/dist/types/types/payment-source-base.d.ts +0 -4
  873. package/dist/types/types/payment-source-go-cardless-direct-debit.d.ts +0 -8
  874. package/dist/types/types/payment-source-manual.d.ts +0 -6
  875. package/dist/types/types/payment-source-stripe-bacs.d.ts +0 -7
  876. package/dist/types/types/payment-source-stripe-card.d.ts +0 -15
  877. package/dist/types/types/payment-source-stripe-paypal.d.ts +0 -7
  878. package/dist/types/types/payment-source-stripe-sepa.d.ts +0 -9
  879. package/dist/types/types/payment-source.d.ts +0 -2
  880. package/dist/types/types/role-type.d.ts +0 -2
  881. package/dist/types/types/rule-group.d.ts +0 -5
  882. package/dist/types/types/rule-operator.d.ts +0 -2
  883. package/dist/types/types/rule-opperator-params.d.ts +0 -3
  884. package/dist/types/types/rule-value.d.ts +0 -1
  885. package/dist/types/types/rule.d.ts +0 -6
  886. package/dist/types/types/s3-metadata.d.ts +0 -14
  887. package/dist/types/types/segment-filter-name.d.ts +0 -2
  888. package/dist/types/types/segment-ongoing-email-trigger.d.ts +0 -6
  889. package/dist/types/types/serial.d.ts +0 -3
  890. package/dist/types/types/set-callout-form-schema.d.ts +0 -4
  891. package/dist/types/types/set-callout-navigation-schema.d.ts +0 -3
  892. package/dist/types/types/set-callout-slide-schema.d.ts +0 -7
  893. package/dist/types/types/set-contribution-data.d.ts +0 -7
  894. package/dist/types/types/signup-data.d.ts +0 -6
  895. package/dist/types/types/start-contribution-data.d.ts +0 -6
  896. package/dist/types/types/stripe-fee-country.d.ts +0 -1
  897. package/dist/types/types/tag-create-data.d.ts +0 -2
  898. package/dist/types/types/tag-data.d.ts +0 -5
  899. package/dist/types/types/tag-get-data.d.ts +0 -2
  900. package/dist/types/types/tag-update-data.d.ts +0 -2
  901. package/dist/types/types/text-case.d.ts +0 -1
  902. package/dist/types/types/unit-matches.d.ts +0 -6
  903. package/dist/types/types/update-callout-data.d.ts +0 -4
  904. package/dist/types/types/update-callout-response-comment-data.d.ts +0 -3
  905. package/dist/types/types/update-callout-response-data.d.ts +0 -2
  906. package/dist/types/types/update-callout-response-segment-data.d.ts +0 -2
  907. package/dist/types/types/update-callout-reviewer-data.d.ts +0 -3
  908. package/dist/types/types/update-contact-data.d.ts +0 -7
  909. package/dist/types/types/update-contact-profile-data.d.ts +0 -2
  910. package/dist/types/types/update-contact-role-data.d.ts +0 -14
  911. package/dist/types/types/update-email-data.d.ts +0 -13
  912. package/dist/types/types/update-notice-data.d.ts +0 -2
  913. package/dist/types/types/update-reset-device-data.d.ts +0 -6
  914. package/dist/types/types/update-reset-password-data.d.ts +0 -5
  915. package/dist/types/types/update-segment-data.d.ts +0 -2
  916. package/dist/types/types/upload-file-response.d.ts +0 -18
  917. package/dist/types/types/validated-boolean-rule.d.ts +0 -2
  918. package/dist/types/types/validated-number-rule.d.ts +0 -2
  919. package/dist/types/types/validated-rule-group.d.ts +0 -5
  920. package/dist/types/types/validated-rule-value.d.ts +0 -2
  921. package/dist/types/types/validated-rule.d.ts +0 -2
  922. package/dist/types/types/validated-string-rule.d.ts +0 -2
  923. package/dist/types/types/validator-callout-component.d.ts +0 -2
  924. package/dist/types/types/validator.d.ts +0 -1
  925. package/dist/types/utils/callouts.d.ts +0 -55
  926. package/dist/types/utils/conversions.d.ts +0 -14
  927. package/dist/types/utils/date.d.ts +0 -8
  928. package/dist/types/utils/debounce.d.ts +0 -22
  929. package/dist/types/utils/file.d.ts +0 -45
  930. package/dist/types/utils/index.d.ts +0 -10
  931. package/dist/types/utils/payments.d.ts +0 -2
  932. package/dist/types/utils/rules.d.ts +0 -32
  933. package/dist/types/utils/slug.d.ts +0 -16
  934. package/dist/types/utils/url.d.ts +0 -15
  935. package/dist/types/utils/validations.d.ts +0 -90
  936. package/dist/types/validators/callout-component-content.validator.d.ts +0 -2
  937. package/dist/types/validators/callout-component-input-address.validator.d.ts +0 -2
  938. package/dist/types/validators/callout-component-input-checkbox.validator.d.ts +0 -2
  939. package/dist/types/validators/callout-component-input-currency.validator.d.ts +0 -2
  940. package/dist/types/validators/callout-component-input-date-time.validator.d.ts +0 -2
  941. package/dist/types/validators/callout-component-input-email.validator.d.ts +0 -2
  942. package/dist/types/validators/callout-component-input-file.validator.d.ts +0 -2
  943. package/dist/types/validators/callout-component-input-number.validator.d.ts +0 -2
  944. package/dist/types/validators/callout-component-input-phone-number.validator.d.ts +0 -2
  945. package/dist/types/validators/callout-component-input-select.validator.d.ts +0 -2
  946. package/dist/types/validators/callout-component-input-selectable.validator.d.ts +0 -2
  947. package/dist/types/validators/callout-component-input-signature.validator.d.ts +0 -2
  948. package/dist/types/validators/callout-component-input-text.validator.d.ts +0 -2
  949. package/dist/types/validators/callout-component-input-time.validator.d.ts +0 -2
  950. package/dist/types/validators/callout-component-input-url.validator.d.ts +0 -2
  951. package/dist/types/validators/callout-component.validator.d.ts +0 -5
  952. package/dist/types/validators/index.d.ts +0 -16
@@ -1,111 +0,0 @@
1
- import type { ApiErrorCode, LOGIN_CODES, RESET_SECURITY_FLOW_ERROR_CODE } from '../data';
2
- import type { Rule } from './rule';
3
- interface BaseApiErrorData {
4
- httpCode: number;
5
- code: ApiErrorCode | LOGIN_CODES;
6
- message: string;
7
- }
8
- export interface BadRequestErrorData extends BaseApiErrorData {
9
- httpCode: 400;
10
- code: ApiErrorCode.BAD_REQUEST;
11
- }
12
- export interface UnauthorizedErrorData extends BaseApiErrorData {
13
- httpCode: 401;
14
- code: LOGIN_CODES;
15
- }
16
- export interface NotFoundErrorData extends BaseApiErrorData {
17
- httpCode: 404;
18
- code: ApiErrorCode.NOT_FOUND;
19
- }
20
- export interface PaymentFailedErrorData extends BaseApiErrorData {
21
- httpCode: 400;
22
- code: ApiErrorCode.PAYMENT_FAILED;
23
- subCode: string;
24
- }
25
- export interface PaymentRequiresActionErrorData extends BaseApiErrorData {
26
- httpCode: 400;
27
- code: ApiErrorCode.PAYMENT_REQUIRES_ACTION;
28
- clientSecret: string;
29
- }
30
- export interface TooManyRequestsErrorData extends BaseApiErrorData {
31
- httpCode: 429;
32
- code: ApiErrorCode.TOO_MANY_REQUESTS;
33
- retryAfter: number;
34
- }
35
- export interface FileTooLargeErrorData extends BaseApiErrorData {
36
- httpCode: 413;
37
- code: ApiErrorCode.FILE_TOO_LARGE;
38
- maxSize: number | undefined;
39
- maxSizeDisplay: string | undefined;
40
- }
41
- export interface UnsupportedFileTypeErrorData extends BaseApiErrorData {
42
- httpCode: 415;
43
- code: ApiErrorCode.UNSUPPORTED_FILE_TYPE;
44
- type: string;
45
- allowedTypes: string[] | undefined;
46
- }
47
- export interface DuplicateIdErrorData extends BaseApiErrorData {
48
- httpCode: 400;
49
- code: ApiErrorCode.DUPLICATE_ID;
50
- id: string;
51
- }
52
- export interface DuplicateEmailErrorData extends BaseApiErrorData {
53
- httpCode: 400;
54
- code: ApiErrorCode.DUPLICATE_EMAIL;
55
- email: string;
56
- }
57
- export interface DuplicateTagNameErrorData extends BaseApiErrorData {
58
- httpCode: 400;
59
- code: ApiErrorCode.DUPLICATE_TAG_NAME;
60
- tagName: string;
61
- }
62
- export interface NoPaymentMethodErrorData extends BaseApiErrorData {
63
- httpCode: 400;
64
- code: ApiErrorCode.NO_PAYMENT_METHOD;
65
- }
66
- export interface CantUpdateContributionErrorData extends BaseApiErrorData {
67
- httpCode: 400;
68
- code: ApiErrorCode.CANT_UPDATE_CONTRIBUTION;
69
- }
70
- export type InvalidCalloutResponseCode = 'only-anonymous' | 'expired-user' | 'closed' | 'cant-update' | 'guest-fields-missing' | 'logged-in-guest-fields' | 'unknown-user';
71
- export interface InvalidCalloutResponseErrorData extends BaseApiErrorData {
72
- httpCode: 400;
73
- code: ApiErrorCode.INVALID_CALLOUT_RESPONSE;
74
- subCode: InvalidCalloutResponseCode;
75
- }
76
- export interface InvalidRuleErrorData extends BaseApiErrorData {
77
- httpCode: 400;
78
- code: ApiErrorCode.INVALID_RULE;
79
- rule: Rule;
80
- }
81
- export interface CaptchaFailedErrorData extends BaseApiErrorData {
82
- httpCode: 400;
83
- code: ApiErrorCode.CAPTCHA_FAILED;
84
- }
85
- export interface CaptchaRequiredErrorData extends BaseApiErrorData {
86
- httpCode: 400;
87
- code: ApiErrorCode.CAPTCHA_REQUIRED;
88
- }
89
- export interface InternalServerErrorData extends BaseApiErrorData {
90
- httpCode: 500;
91
- code: ApiErrorCode.INTERNAL_SERVER_ERROR;
92
- }
93
- export interface CantUpdateNewsletterContactErrorData extends BaseApiErrorData {
94
- httpCode: 500;
95
- code: ApiErrorCode.CANT_UPDATE_NEWSLETTER_CONTACT;
96
- email: string;
97
- status: number;
98
- data: any;
99
- }
100
- export interface FileUploadErrorData extends BaseApiErrorData {
101
- httpCode: 400;
102
- code: ApiErrorCode.FILE_UPLOAD_ERROR;
103
- subCode: string;
104
- }
105
- export interface ResetSecurityFlowErrorData extends BaseApiErrorData {
106
- httpCode: 400;
107
- code: ApiErrorCode.RESET_SECURITY_FLOW_ERROR;
108
- subCode: RESET_SECURITY_FLOW_ERROR_CODE;
109
- }
110
- export type ApiErrorData = BadRequestErrorData | UnauthorizedErrorData | NotFoundErrorData | NoPaymentMethodErrorData | InvalidCalloutResponseErrorData | InvalidRuleErrorData | CaptchaFailedErrorData | CaptchaRequiredErrorData | PaymentFailedErrorData | PaymentRequiresActionErrorData | TooManyRequestsErrorData | FileTooLargeErrorData | UnsupportedFileTypeErrorData | DuplicateIdErrorData | DuplicateEmailErrorData | DuplicateTagNameErrorData | InternalServerErrorData | CantUpdateContributionErrorData | CantUpdateNewsletterContactErrorData | FileUploadErrorData | ResetSecurityFlowErrorData;
111
- export {};
@@ -1,2 +0,0 @@
1
- import type { apiKeyFilters } from '../search/api-keys.js';
2
- export type ApiKeyFilterName = keyof typeof apiKeyFilters;
@@ -1,5 +0,0 @@
1
- import type { BaseFilterArgs } from './index.js';
2
- export interface ArrayFilterArgs<T extends readonly string[] | undefined> extends BaseFilterArgs {
3
- type: 'array';
4
- options?: T;
5
- }
@@ -1,24 +0,0 @@
1
- import { RoleType } from '@beabee/beabee-common';
2
- import type { GetContactData } from './get-contact-data';
3
- interface AuthInfoNoneData {
4
- method: 'none';
5
- contact?: undefined;
6
- roles: RoleType[];
7
- }
8
- interface AuthInfoContactData {
9
- method: 'user';
10
- contact: GetContactData;
11
- roles: RoleType[];
12
- }
13
- interface AuthInfoApiKeyData {
14
- method: 'api-key';
15
- contact?: GetContactData;
16
- roles: RoleType[];
17
- }
18
- interface AuthInfoInternalData {
19
- method: 'internal';
20
- contact?: undefined;
21
- roles: RoleType[];
22
- }
23
- export type AuthInfoData = AuthInfoNoneData | AuthInfoContactData | AuthInfoApiKeyData | AuthInfoInternalData;
24
- export {};
@@ -1,5 +0,0 @@
1
- import type { FilterType } from './index.js';
2
- export interface BaseFilterArgs {
3
- type: FilterType;
4
- nullable?: boolean;
5
- }
@@ -1,9 +0,0 @@
1
- import type { operatorsByType } from '../search/operators.js';
2
- import type { FilterType, ValidatedRuleValue } from './index.js';
3
- export interface BaseValidatedRule<T extends FilterType, F extends string> {
4
- type: T;
5
- field: F;
6
- nullable: boolean;
7
- operator: keyof (typeof operatorsByType)[T];
8
- value: ValidatedRuleValue<T>[];
9
- }
@@ -1,2 +0,0 @@
1
- import type { calloutChannelFilters } from '../search/callouts.js';
2
- export type CalloutChannelFilterName = keyof typeof calloutChannelFilters;
@@ -1,11 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseRules, CalloutComponentBaseSchema } from './index.js';
3
- export interface CalloutComponentBaseInputSchema extends CalloutComponentBaseSchema {
4
- type: CalloutComponentType.INPUT_ADDRESS | CalloutComponentType.INPUT_CHECKBOX | CalloutComponentType.INPUT_CURRENCY | CalloutComponentType.INPUT_DATE_TIME | CalloutComponentType.INPUT_EMAIL | CalloutComponentType.INPUT_FILE | CalloutComponentType.INPUT_NUMBER | CalloutComponentType.INPUT_PHONE_NUMBER | CalloutComponentType.INPUT_SELECT | CalloutComponentType.INPUT_SELECTABLE_RADIO | CalloutComponentType.INPUT_SELECTABLE_SELECTBOXES | CalloutComponentType.INPUT_SIGNATURE | CalloutComponentType.INPUT_TEXT_AREA | CalloutComponentType.INPUT_TEXT_FIELD | CalloutComponentType.INPUT_TIME | CalloutComponentType.INPUT_URL;
5
- /** This is always true for input forms */
6
- input: true;
7
- /** The validation rules for input forms */
8
- validate?: CalloutComponentBaseRules;
9
- /** The description for the component */
10
- description?: string;
11
- }
@@ -1,11 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseInputSchema, CalloutComponentBaseRules } from './index.js';
3
- export interface CalloutComponentBaseInputSelectableSchema extends CalloutComponentBaseInputSchema {
4
- type: CalloutComponentType.INPUT_SELECTABLE_RADIO | CalloutComponentType.INPUT_SELECTABLE_SELECTBOXES;
5
- values: {
6
- label: string;
7
- value: string;
8
- nextSlideId?: string;
9
- }[];
10
- validate?: CalloutComponentBaseRules;
11
- }
@@ -1,12 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseInputSchema, CalloutComponentInputTextRules, TextCase } from './index.js';
3
- /** The schema for input text forms */
4
- export interface CalloutComponentBaseInputTextSchema extends CalloutComponentBaseInputSchema {
5
- type: CalloutComponentType.INPUT_TEXT_FIELD | CalloutComponentType.INPUT_TEXT_AREA;
6
- /** Placeholder for the form */
7
- placeholder?: string;
8
- /** The text case for the form */
9
- case?: TextCase;
10
- /** The validation rules for the form */
11
- validate?: CalloutComponentInputTextRules;
12
- }
@@ -1,16 +0,0 @@
1
- import type { CalloutComponentBaseType } from '../data/index.js';
2
- import type { CalloutComponentContentSchema, CalloutComponentInputSchema, CalloutComponentInputSelectableSchema, CalloutComponentInputTextSchema, CalloutComponentNestableSchema } from './index.js';
3
- type CalloutComponentBaseSchemas = {
4
- [CalloutComponentBaseType.CONTENT]: CalloutComponentContentSchema;
5
- [CalloutComponentBaseType.INPUT]: CalloutComponentInputSchema;
6
- [CalloutComponentBaseType.INPUT_TEXT]: CalloutComponentInputTextSchema;
7
- [CalloutComponentBaseType.INPUT_SELECTABLE]: CalloutComponentInputSelectableSchema;
8
- [CalloutComponentBaseType.NESTABLE]: CalloutComponentNestableSchema;
9
- };
10
- /**
11
- * Each key is a CalloutComponentBaseType and the value is the corresponding schema from CalloutComponentBaseSchemas
12
- */
13
- export type CalloutComponentBaseMap = {
14
- [K in CalloutComponentBaseType]: CalloutComponentBaseSchemas[K];
15
- };
16
- export {};
@@ -1,7 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseSchema, CalloutComponentSchema } from './index.js';
3
- export interface CalloutComponentBaseNestableSchema extends CalloutComponentBaseSchema {
4
- type: CalloutComponentType.NESTABLE_TABS | CalloutComponentType.NESTABLE_PANEL | CalloutComponentType.NESTABLE_WELL;
5
- input: false;
6
- components: CalloutComponentSchema[];
7
- }
@@ -1,6 +0,0 @@
1
- export interface CalloutComponentBaseRules {
2
- /** A required field must be filled in before the form can be submitted. */
3
- required?: boolean;
4
- /** Probably unused property from [formio](https://github.com/beabee-communityrm/formio.js) */
5
- [key: string]: unknown;
6
- }
@@ -1,22 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseRules, CalloutResponseAnswer } from './index.js';
3
- export interface CalloutComponentBaseSchema {
4
- id: string;
5
- type: CalloutComponentType;
6
- key: string;
7
- label?: string;
8
- /** `true` if this is an input component */
9
- input?: boolean;
10
- /** `true` if the answer should only visible for admins */
11
- adminOnly?: boolean;
12
- /** Validation rules */
13
- validate?: CalloutComponentBaseRules;
14
- /** True if multiple responses / answers allowed */
15
- multiple?: boolean;
16
- /** If defined then this is the default value */
17
- defaultValue?: CalloutResponseAnswer | CalloutResponseAnswer[] | null;
18
- /** `true` if this component should be hidden */
19
- hidden?: boolean;
20
- /** Unused property */
21
- [key: string]: unknown;
22
- }
@@ -1,12 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseSchema } from './index.js';
3
- /** A Callout content component only providing html content and accepts no answers. */
4
- export interface CalloutComponentContentSchema extends CalloutComponentBaseSchema {
5
- type: CalloutComponentType.CONTENT;
6
- /** The html content of the callout component. */
7
- html: string;
8
- /** The label for this field that will appear next to it. */
9
- label: string;
10
- /** This is always false for content components. */
11
- input: false;
12
- }
@@ -1,2 +0,0 @@
1
- import type { CalloutComponentBaseRules } from './index.js';
2
- export type CalloutComponentInputAddressRules = CalloutComponentBaseRules;
@@ -1,9 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseInputSchema, CalloutComponentInputAddressRules } from './index.js';
3
- export interface CalloutComponentInputAddressSchema extends CalloutComponentBaseInputSchema {
4
- type: CalloutComponentType.INPUT_ADDRESS;
5
- /** The validation rules for the form */
6
- validate?: CalloutComponentInputAddressRules;
7
- /** Placeholder for the form */
8
- placeholder?: string;
9
- }
@@ -1,2 +0,0 @@
1
- import type { CalloutComponentBaseRules } from './index.js';
2
- export type CalloutComponentInputCheckboxRules = CalloutComponentBaseRules;
@@ -1,11 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseInputSchema, CalloutComponentInputCheckboxRules } from './index.js';
3
- export interface CalloutComponentInputCheckboxSchema extends CalloutComponentBaseInputSchema {
4
- type: CalloutComponentType.INPUT_CHECKBOX;
5
- /** Can not be set to true for checkboxes */
6
- multiple?: false;
7
- /** The default value for the checkbox */
8
- defaultValue?: boolean;
9
- /** The validation rules for the form */
10
- validate?: CalloutComponentInputCheckboxRules;
11
- }
@@ -1,2 +0,0 @@
1
- import type { CalloutComponentBaseRules } from './index.js';
2
- export type CalloutComponentInputCurrencyRules = CalloutComponentBaseRules;
@@ -1,17 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseInputSchema, CalloutComponentInputCurrencyRules, TextCase } from './index.js';
3
- export interface CalloutComponentInputCurrencySchema extends CalloutComponentBaseInputSchema {
4
- type: CalloutComponentType.INPUT_CURRENCY;
5
- /** Placeholder for the form */
6
- placeholder?: string;
7
- /** The text case for the form */
8
- case: TextCase;
9
- /** If `true` multiple spaces will be truncated to a single space */
10
- truncateMultipleSpaces?: boolean;
11
- /** E.g. USD, EUR, GBP, etc. */
12
- currency: string;
13
- /** The default value for the form */
14
- defaultValue?: number | number[];
15
- /** The validation rules for the form */
16
- validate?: CalloutComponentInputCurrencyRules;
17
- }
@@ -1,2 +0,0 @@
1
- import type { CalloutComponentBaseRules } from './index.js';
2
- export type CalloutComponentInputDateTimeRules = CalloutComponentBaseRules;
@@ -1,39 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseInputSchema, CalloutComponentInputDateTimeRules, TextCase } from './index.js';
3
- export interface CalloutComponentInputDateTimeSchema extends CalloutComponentBaseInputSchema {
4
- type: CalloutComponentType.INPUT_DATE_TIME;
5
- /** Placeholder for the form */
6
- placeholder?: string;
7
- /** The text case for the form */
8
- case?: TextCase;
9
- /** If `true` multiple spaces will be truncated to a single space */
10
- truncateMultipleSpaces?: boolean;
11
- datePicker?: {
12
- disableWeekends: boolean;
13
- disableWeekdays: boolean;
14
- /** Unused property */
15
- [key: string]: unknown;
16
- };
17
- widget: {
18
- mode: 'single';
19
- enableTime: boolean;
20
- /** E.g. "yyyy-MM-dd hh:mm a" */
21
- format: string;
22
- hourIncrement?: number;
23
- minuteIncrement?: number;
24
- /** E.g. "en" */
25
- locale: string;
26
- minDate: string | null;
27
- maxDate: string | null;
28
- disableWeekends: boolean;
29
- disableWeekdays: boolean;
30
- /** Unused property */
31
- [key: string]: unknown;
32
- };
33
- /** E.g. "2024-02-02T13:02:00+01:00" */
34
- defaultValue?: string | string[];
35
- enableMinDateInput: boolean;
36
- enableMaxDateInput: boolean;
37
- /** The validation rules for the form */
38
- validate?: CalloutComponentInputDateTimeRules;
39
- }
@@ -1,9 +0,0 @@
1
- import type { CalloutComponentBaseRules } from './index.js';
2
- export interface CalloutComponentInputEmailRules extends CalloutComponentBaseRules {
3
- /** The regular expression pattern test that the field value must pass before the form can be submitted. */
4
- pattern?: string;
5
- /** The maximum length requirement this field must meet */
6
- maxLength?: number;
7
- /** The minimum length requirement this field must meet. */
8
- minLength?: number;
9
- }
@@ -1,11 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseInputSchema, CalloutComponentInputEmailRules, TextCase } from './index.js';
3
- export interface CalloutComponentInputEmailSchema extends CalloutComponentBaseInputSchema {
4
- type: CalloutComponentType.INPUT_EMAIL;
5
- /** Placeholder for the form */
6
- placeholder?: string;
7
- /** The text case for the form */
8
- case?: TextCase;
9
- /** The validation rules for the form */
10
- validate?: CalloutComponentInputEmailRules;
11
- }
@@ -1,2 +0,0 @@
1
- import type { CalloutComponentBaseRules } from './index.js';
2
- export type CalloutComponentInputFileRules = CalloutComponentBaseRules;
@@ -1,19 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseInputSchema, CalloutComponentInputFileRules } from './index.js';
3
- export interface CalloutComponentInputFileSchema extends CalloutComponentBaseInputSchema {
4
- type: CalloutComponentType.INPUT_FILE;
5
- filePattern?: string;
6
- /** E.g. `"0KB"` */
7
- fileMinSize?: string;
8
- /** E.g. `"1GB"` */
9
- fileMaxSize?: string;
10
- /** E.g. `"200"` */
11
- imageSize?: string;
12
- /** The storage target for the uploaded file */
13
- storage?: string;
14
- /** If the file must be an image */
15
- image?: boolean;
16
- /** Allow the user to upload a file from their device's webcam */
17
- webcam?: boolean;
18
- validate?: CalloutComponentInputFileRules;
19
- }
@@ -1,9 +0,0 @@
1
- import type { CalloutComponentBaseRules } from './index.js';
2
- export interface CalloutComponentInputNumberRules extends CalloutComponentBaseRules {
3
- /** TODO: For what is this property? */
4
- integer?: '';
5
- /** The maximum value that can be entered for this field. */
6
- max?: number;
7
- /** The minimum value that can be entered for this field. */
8
- min?: number;
9
- }
@@ -1,17 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseInputSchema, CalloutComponentInputNumberRules } from './index.js';
3
- export interface CalloutComponentInputNumberSchema extends CalloutComponentBaseInputSchema {
4
- type: CalloutComponentType.INPUT_NUMBER;
5
- /** Placeholder for the form */
6
- placeholder?: string;
7
- /** `100` -> `100.00` if `true` */
8
- requireDecimal?: boolean;
9
- /** `3.14159265358979323846` -> `3.14159` if `decimalLimit === 5` */
10
- decimalLimit?: number;
11
- /** `10000000000` -> `10,000,000,000` if `true` */
12
- delimiter?: boolean;
13
- /** The default value for the form */
14
- defaultValue?: number | number[];
15
- /** The validation rules for the form */
16
- validate?: CalloutComponentInputNumberRules;
17
- }
@@ -1,2 +0,0 @@
1
- import type { CalloutComponentBaseRules } from './index.js';
2
- export type CalloutComponentInputPhoneNumberRules = CalloutComponentBaseRules;
@@ -1,9 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseInputSchema, CalloutComponentInputPhoneNumberRules } from './index.js';
3
- export interface CalloutComponentInputPhoneNumberSchema extends CalloutComponentBaseInputSchema {
4
- type: CalloutComponentType.INPUT_PHONE_NUMBER;
5
- /** The validation rules for the form */
6
- validate?: CalloutComponentInputPhoneNumberRules;
7
- /** The placeholder for the component */
8
- placeholder?: string;
9
- }
@@ -1,3 +0,0 @@
1
- import type { CalloutComponentInputAddressSchema, CalloutComponentInputCheckboxSchema, CalloutComponentInputCurrencySchema, CalloutComponentInputDateTimeSchema, CalloutComponentInputEmailSchema, CalloutComponentInputFileSchema, CalloutComponentInputNumberSchema, CalloutComponentInputPhoneNumberSchema, CalloutComponentInputSelectSchema, CalloutComponentInputSelectableSchema, CalloutComponentInputSignatureSchema, CalloutComponentInputTextSchema, CalloutComponentInputTimeSchema, CalloutComponentInputUrlSchema } from './index.js';
2
- /** Any callout input component schema */
3
- export type CalloutComponentInputSchema = CalloutComponentInputSelectableSchema | CalloutComponentInputAddressSchema | CalloutComponentInputCheckboxSchema | CalloutComponentInputCurrencySchema | CalloutComponentInputDateTimeSchema | CalloutComponentInputEmailSchema | CalloutComponentInputFileSchema | CalloutComponentInputNumberSchema | CalloutComponentInputPhoneNumberSchema | CalloutComponentInputSelectSchema | CalloutComponentInputSignatureSchema | CalloutComponentInputTextSchema | CalloutComponentInputTimeSchema | CalloutComponentInputUrlSchema;
@@ -1,2 +0,0 @@
1
- import type { CalloutComponentBaseRules } from './index.js';
2
- export type CalloutComponentInputSelectRules = CalloutComponentBaseRules;
@@ -1,17 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseInputSchema, CalloutComponentInputSelectRules } from './index.js';
3
- /** Dropdown menu component schema */
4
- export interface CalloutComponentInputSelectSchema extends CalloutComponentBaseInputSchema {
5
- type: CalloutComponentType.INPUT_SELECT;
6
- data: {
7
- values: {
8
- label: string;
9
- value: string;
10
- }[];
11
- /** Unused property */
12
- [key: string]: unknown;
13
- };
14
- validate?: CalloutComponentInputSelectRules;
15
- /** The placeholder for the component */
16
- placeholder?: string;
17
- }
@@ -1,2 +0,0 @@
1
- import type { CalloutComponentBaseRules } from './index.js';
2
- export type CalloutComponentInputSelectableRadioRules = CalloutComponentBaseRules;
@@ -1,6 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseInputSelectableSchema, CalloutComponentInputSelectableRadioRules } from './index.js';
3
- export interface CalloutComponentInputSelectableRadioSchema extends CalloutComponentBaseInputSelectableSchema {
4
- type: CalloutComponentType.INPUT_SELECTABLE_RADIO;
5
- validate?: CalloutComponentInputSelectableRadioRules;
6
- }
@@ -1,3 +0,0 @@
1
- import type { CalloutComponentInputSelectableRadioSchema, CalloutComponentInputSelectableSelectboxesSchema } from './index.js';
2
- /** Any callout input selectable component schema */
3
- export type CalloutComponentInputSelectableSchema = CalloutComponentInputSelectableSelectboxesSchema | CalloutComponentInputSelectableRadioSchema;
@@ -1,2 +0,0 @@
1
- import type { CalloutComponentBaseRules } from './index.js';
2
- export type CalloutComponentSelectboxesRules = CalloutComponentBaseRules;
@@ -1,6 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseInputSelectableSchema, CalloutComponentSelectboxesRules } from './index.js';
3
- export interface CalloutComponentInputSelectableSelectboxesSchema extends CalloutComponentBaseInputSelectableSchema {
4
- type: CalloutComponentType.INPUT_SELECTABLE_SELECTBOXES;
5
- validate?: CalloutComponentSelectboxesRules;
6
- }
@@ -1,2 +0,0 @@
1
- import type { CalloutComponentBaseRules } from './index.js';
2
- export type CalloutComponentInputSignatureRules = CalloutComponentBaseRules;
@@ -1,7 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseInputSchema, CalloutComponentInputSignatureRules } from './index.js';
3
- export interface CalloutComponentInputSignatureSchema extends CalloutComponentBaseInputSchema {
4
- type: CalloutComponentType.INPUT_SIGNATURE;
5
- /** The validation rules for the form */
6
- validate?: CalloutComponentInputSignatureRules;
7
- }
@@ -1,5 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseInputTextSchema } from './index.js';
3
- export interface CalloutComponentInputTextAreaSchema extends CalloutComponentBaseInputTextSchema {
4
- type: CalloutComponentType.INPUT_TEXT_AREA;
5
- }
@@ -1,5 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseInputTextSchema } from './index.js';
3
- export interface CalloutComponentInputTextFieldSchema extends CalloutComponentBaseInputTextSchema {
4
- type: CalloutComponentType.INPUT_TEXT_FIELD;
5
- }
@@ -1,13 +0,0 @@
1
- import type { CalloutComponentBaseRules } from './index.js';
2
- export interface CalloutComponentInputTextRules extends CalloutComponentBaseRules {
3
- /** The regular expression pattern test that the field value must pass before the form can be submitted. */
4
- pattern?: string;
5
- /** The maximum amount of words that can be added to this field. */
6
- maxWords?: number;
7
- /** The minimum amount of words that can be added to this field. */
8
- minWords?: number;
9
- /** The maximum length requirement this field must meet */
10
- maxLength?: number;
11
- /** The minimum length requirement this field must meet. */
12
- minLength?: number;
13
- }
@@ -1,3 +0,0 @@
1
- import type { CalloutComponentInputTextAreaSchema, CalloutComponentInputTextFieldSchema } from './index.js';
2
- /** Any callout input text component schema */
3
- export type CalloutComponentInputTextSchema = CalloutComponentInputTextAreaSchema | CalloutComponentInputTextFieldSchema;
@@ -1,2 +0,0 @@
1
- import type { CalloutComponentBaseRules } from './index.js';
2
- export type CalloutComponentInputTimeRules = CalloutComponentBaseRules;
@@ -1,9 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseInputSchema, CalloutComponentInputTimeRules } from './index.js';
3
- export interface CalloutComponentInputTimeSchema extends CalloutComponentBaseInputSchema {
4
- type: CalloutComponentType.INPUT_TIME;
5
- /** E.g. 99:99 */
6
- inputMask: string;
7
- /** The validation rules for the form */
8
- validate?: CalloutComponentInputTimeRules;
9
- }
@@ -1,9 +0,0 @@
1
- import type { CalloutComponentBaseRules } from './index.js';
2
- export interface CalloutComponentInputUrlRules extends CalloutComponentBaseRules {
3
- /** The regular expression pattern test that the field value must pass before the form can be submitted. */
4
- pattern?: string;
5
- /** The maximum length requirement this field must meet */
6
- maxLength?: number;
7
- /** The minimum length requirement this field must meet. */
8
- minLength?: number;
9
- }
@@ -1,11 +0,0 @@
1
- import type { CalloutComponentType } from '../data/index.js';
2
- import type { CalloutComponentBaseInputSchema, CalloutComponentInputUrlRules } from './index.js';
3
- export interface CalloutComponentInputUrlSchema extends CalloutComponentBaseInputSchema {
4
- type: CalloutComponentType.INPUT_URL;
5
- /** Placeholder for the form */
6
- placeholder?: string;
7
- /** If `true` multiple spaces will be truncated to a single space */
8
- truncateMultipleSpaces?: boolean;
9
- /** The validation rules for the form */
10
- validate?: CalloutComponentInputUrlRules;
11
- }