@beabee/beabee-common 0.21.1-alpha.1 → 0.44.2

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 (2209) hide show
  1. package/README.md +5 -93
  2. package/dist/cjs/constants.cjs +96 -0
  3. package/dist/cjs/data/api-error-code.cjs +49 -0
  4. package/dist/cjs/data/callout-access.cjs +0 -1
  5. package/dist/cjs/data/callout-captcha.cjs +0 -1
  6. package/dist/cjs/data/callout-channel.cjs +0 -1
  7. package/dist/cjs/data/callout-component-base-type.cjs +0 -1
  8. package/dist/cjs/data/callout-component-input-selectable-types.cjs +0 -1
  9. package/dist/cjs/data/callout-component-input-text-types.cjs +0 -1
  10. package/dist/cjs/data/callout-component-input-types.cjs +1 -2
  11. package/dist/cjs/data/callout-component-nestable-types.cjs +0 -1
  12. package/dist/cjs/data/callout-component-type.cjs +0 -1
  13. package/dist/cjs/data/callout-component-types.cjs +1 -2
  14. package/dist/cjs/data/contact-mfa-type.cjs +30 -0
  15. package/dist/cjs/data/content-ids.cjs +1 -1
  16. package/dist/cjs/data/contribution-period.cjs +0 -1
  17. package/dist/cjs/data/contribution-type.cjs +0 -1
  18. package/dist/cjs/data/get-callout-response-with.cjs +35 -0
  19. package/dist/cjs/data/get-contact-with.cjs +34 -0
  20. package/dist/cjs/data/index.cjs +19 -2
  21. package/dist/cjs/data/item-status.cjs +0 -1
  22. package/dist/cjs/data/login-codes.cjs +37 -0
  23. package/dist/cjs/data/membership-status.cjs +0 -1
  24. package/dist/cjs/data/newsletter-status.cjs +0 -1
  25. package/dist/cjs/data/payment-method.cjs +1 -3
  26. package/dist/cjs/data/payment-status.cjs +0 -1
  27. package/dist/cjs/data/payment-type.cjs +33 -0
  28. package/dist/cjs/data/reset-security-flow-error-code.cjs +32 -0
  29. package/dist/cjs/data/reset-security-flow-type.cjs +31 -0
  30. package/dist/cjs/data/role-type-data.cjs +32 -0
  31. package/dist/cjs/error/InvalidRule.cjs +0 -1
  32. package/dist/cjs/error/index.cjs +0 -1
  33. package/dist/cjs/index.cjs +10 -8
  34. package/dist/cjs/search/api-keys.cjs +1 -1
  35. package/dist/cjs/search/callouts.cjs +43 -5
  36. package/dist/cjs/search/contacts.cjs +41 -6
  37. package/dist/cjs/search/emails.cjs +56 -0
  38. package/dist/cjs/search/index.cjs +5 -2
  39. package/dist/cjs/search/notices.cjs +1 -1
  40. package/dist/cjs/search/operators.cjs +15 -9
  41. package/dist/cjs/search/payments.cjs +11 -1
  42. package/dist/cjs/search/segments.cjs +1 -1
  43. package/dist/cjs/search/tags.cjs +38 -0
  44. package/dist/cjs/types/address.cjs +0 -1
  45. package/dist/cjs/types/allow-null.cjs +0 -1
  46. package/dist/cjs/types/{get-contact-with.cjs → api-error-data.cjs} +2 -3
  47. package/dist/cjs/types/api-key-filter-name.cjs +0 -1
  48. package/dist/cjs/types/array-filter-args.cjs +0 -1
  49. package/dist/cjs/types/{get-callout-tag-data.cjs → auth-info-data.cjs} +2 -3
  50. package/dist/cjs/types/base-filter-args.cjs +0 -1
  51. package/dist/cjs/types/base-validated-rule.cjs +0 -1
  52. package/dist/cjs/types/callout-channel-filter-name.cjs +0 -1
  53. package/dist/cjs/types/callout-component-base-input-schema.cjs +0 -1
  54. package/dist/cjs/types/callout-component-base-input-selectable-schema.cjs +0 -1
  55. package/dist/cjs/types/callout-component-base-input-text-schema.cjs +0 -1
  56. package/dist/cjs/types/callout-component-base-map.cjs +0 -1
  57. package/dist/cjs/types/callout-component-base-nestable-schema.cjs +0 -1
  58. package/dist/cjs/types/callout-component-base-rules.cjs +0 -1
  59. package/dist/cjs/types/callout-component-base-schema.cjs +0 -1
  60. package/dist/cjs/types/callout-component-content-schema.cjs +0 -1
  61. package/dist/cjs/types/callout-component-input-address-rules.cjs +0 -1
  62. package/dist/cjs/types/callout-component-input-address-schema.cjs +0 -1
  63. package/dist/cjs/types/callout-component-input-checkbox-rules.cjs +0 -1
  64. package/dist/cjs/types/callout-component-input-checkbox-schema.cjs +0 -1
  65. package/dist/cjs/types/callout-component-input-currency-rules.cjs +0 -1
  66. package/dist/cjs/types/callout-component-input-currency-schema.cjs +0 -1
  67. package/dist/cjs/types/callout-component-input-date-time-rules.cjs +0 -1
  68. package/dist/cjs/types/callout-component-input-date-time-schema.cjs +0 -1
  69. package/dist/cjs/types/callout-component-input-email-rules.cjs +0 -1
  70. package/dist/cjs/types/callout-component-input-email-schema.cjs +0 -1
  71. package/dist/cjs/types/callout-component-input-file-rules.cjs +0 -1
  72. package/dist/cjs/types/callout-component-input-file-schema.cjs +0 -1
  73. package/dist/cjs/types/callout-component-input-number-rules.cjs +0 -1
  74. package/dist/cjs/types/callout-component-input-number-schema.cjs +0 -1
  75. package/dist/cjs/types/callout-component-input-phone-number-rules.cjs +0 -1
  76. package/dist/cjs/types/callout-component-input-phone-number-schema.cjs +0 -1
  77. package/dist/cjs/types/callout-component-input-schema.cjs +0 -1
  78. package/dist/cjs/types/callout-component-input-select-rules.cjs +0 -1
  79. package/dist/cjs/types/callout-component-input-select-schema.cjs +0 -1
  80. package/dist/cjs/types/callout-component-input-selectable-radio-rules.cjs +0 -1
  81. package/dist/cjs/types/callout-component-input-selectable-radio-schema.cjs +0 -1
  82. package/dist/cjs/types/callout-component-input-selectable-schema.cjs +0 -1
  83. package/dist/cjs/types/callout-component-input-selectable-selectboxes-rules.cjs +0 -1
  84. package/dist/cjs/types/callout-component-input-selectable-selectboxes-schema.cjs +0 -1
  85. package/dist/cjs/types/callout-component-input-signature-rules.cjs +0 -1
  86. package/dist/cjs/types/callout-component-input-signature-schema.cjs +0 -1
  87. package/dist/cjs/types/callout-component-input-text-area-schema.cjs +0 -1
  88. package/dist/cjs/types/callout-component-input-text-field-schema.cjs +0 -1
  89. package/dist/cjs/types/callout-component-input-text-rules.cjs +0 -1
  90. package/dist/cjs/types/callout-component-input-text-schema.cjs +0 -1
  91. package/dist/cjs/types/callout-component-input-time-rules.cjs +0 -1
  92. package/dist/cjs/types/callout-component-input-time-schema.cjs +0 -1
  93. package/dist/cjs/types/callout-component-input-url-rules.cjs +0 -1
  94. package/dist/cjs/types/callout-component-input-url-schema.cjs +0 -1
  95. package/dist/cjs/types/callout-component-map.cjs +0 -1
  96. package/dist/cjs/types/callout-component-nestable-panel-schema.cjs +0 -1
  97. package/dist/cjs/types/callout-component-nestable-schema.cjs +0 -1
  98. package/dist/cjs/types/callout-component-nestable-tabs-schema.cjs +0 -1
  99. package/dist/cjs/types/callout-component-nestable-well-schema.cjs +0 -1
  100. package/dist/cjs/types/callout-component-schema.cjs +0 -1
  101. package/dist/cjs/types/callout-data.cjs +0 -1
  102. package/dist/cjs/types/callout-filter-name.cjs +0 -1
  103. package/dist/cjs/types/callout-map-schema-icon-styling-answer-icon-definition.cjs +15 -0
  104. package/dist/cjs/types/callout-map-schema-icon-styling-answer-icon.cjs +15 -0
  105. package/dist/cjs/types/callout-map-schema-icon-styling-answer.cjs +15 -0
  106. package/dist/cjs/types/callout-map-schema-icon-styling.cjs +15 -0
  107. package/dist/cjs/types/callout-map-schema.cjs +0 -1
  108. package/dist/cjs/types/{get-upload-flow-data.cjs → callout-newsletter-schema.cjs} +2 -3
  109. package/dist/cjs/types/callout-response-answer-address.cjs +0 -1
  110. package/dist/cjs/types/callout-response-answer-file-upload.cjs +0 -1
  111. package/dist/cjs/types/callout-response-answer.cjs +0 -1
  112. package/dist/cjs/types/callout-response-answers-slide.cjs +0 -1
  113. package/dist/cjs/types/callout-response-answers.cjs +0 -1
  114. package/dist/cjs/types/callout-response-comment-data.cjs +0 -1
  115. package/dist/cjs/types/callout-response-comment-filter-name.cjs +0 -1
  116. package/dist/cjs/types/callout-response-filter-name.cjs +0 -1
  117. package/dist/cjs/types/{client-api-error-data.cjs → callout-response-guest-data.cjs} +2 -3
  118. package/dist/cjs/types/{get-callout-response-with.cjs → callout-response-newsletter-data.cjs} +2 -3
  119. package/dist/cjs/types/callout-response-view-schema.cjs +0 -1
  120. package/dist/cjs/types/callout-reviewer-filter-name.cjs +15 -0
  121. package/dist/cjs/types/callout-tag-filter-name.cjs +0 -1
  122. package/dist/cjs/types/callout-variant-data.cjs +0 -1
  123. package/dist/cjs/types/callout-variant-navigation-data.cjs +0 -1
  124. package/dist/cjs/types/complete-signup-data.cjs +15 -0
  125. package/dist/cjs/types/contact-data.cjs +0 -1
  126. package/dist/cjs/types/contact-mfa-data.cjs +15 -0
  127. package/dist/cjs/types/contact-profile-data.cjs +0 -1
  128. package/dist/cjs/types/contact-role-data.cjs +0 -1
  129. package/dist/cjs/types/contact-tag-filter-name.cjs +15 -0
  130. package/dist/cjs/types/content-contacts-data.cjs +0 -1
  131. package/dist/cjs/types/content-data.cjs +0 -1
  132. package/dist/cjs/types/content-email-data.cjs +0 -1
  133. package/dist/cjs/types/content-general-data.cjs +0 -1
  134. package/dist/cjs/types/content-id.cjs +0 -1
  135. package/dist/cjs/types/content-join-data.cjs +0 -1
  136. package/dist/cjs/types/content-join-period-data.cjs +0 -1
  137. package/dist/cjs/types/content-join-setup-data.cjs +0 -1
  138. package/dist/cjs/types/content-payment-data.cjs +0 -1
  139. package/dist/cjs/types/content-profile-data.cjs +0 -1
  140. package/dist/cjs/types/content-share-data.cjs +0 -1
  141. package/dist/cjs/types/content-telegram-data.cjs +0 -1
  142. package/dist/cjs/types/contribution-info.cjs +0 -1
  143. package/dist/cjs/types/create-api-key-data.cjs +0 -1
  144. package/dist/cjs/types/create-callout-data.cjs +0 -1
  145. package/dist/cjs/types/create-callout-response-comment-data.cjs +0 -1
  146. package/dist/cjs/types/create-callout-response-data.cjs +0 -1
  147. package/dist/cjs/types/create-callout-response-segment-data.cjs +15 -0
  148. package/dist/cjs/types/create-callout-reviewer-data.cjs +15 -0
  149. package/dist/cjs/types/create-callout-variant-data.cjs +15 -0
  150. package/dist/cjs/types/create-contact-data.cjs +0 -1
  151. package/dist/cjs/types/create-contact-mfa-data.cjs +15 -0
  152. package/dist/cjs/types/create-email-data.cjs +15 -0
  153. package/dist/cjs/types/create-notice-data.cjs +0 -1
  154. package/dist/cjs/types/create-payment-data.cjs +15 -0
  155. package/dist/cjs/types/create-reset-device-data.cjs +15 -0
  156. package/dist/cjs/types/create-reset-password-data.cjs +15 -0
  157. package/dist/cjs/types/create-segment-data.cjs +0 -1
  158. package/dist/cjs/types/date-unit.cjs +0 -1
  159. package/dist/cjs/types/delete-contact-mfa-data.cjs +15 -0
  160. package/dist/cjs/types/duration.cjs +0 -1
  161. package/dist/cjs/types/email-filter-name.cjs +15 -0
  162. package/dist/cjs/types/email-preview-data.cjs +15 -0
  163. package/dist/cjs/types/email-template-type.cjs +15 -0
  164. package/dist/cjs/types/enum-filter-args.cjs +0 -1
  165. package/dist/cjs/types/feeable.cjs +0 -1
  166. package/dist/cjs/types/filter-args.cjs +0 -1
  167. package/dist/cjs/types/filter-type.cjs +0 -1
  168. package/dist/cjs/types/filters.cjs +0 -1
  169. package/dist/cjs/types/footer-link.cjs +0 -1
  170. package/dist/cjs/types/force-update-contribution-data.cjs +0 -1
  171. package/dist/cjs/types/formio-file.cjs +15 -0
  172. package/dist/cjs/types/get-api-key-data.cjs +0 -1
  173. package/dist/cjs/types/get-api-keys-query.cjs +0 -1
  174. package/dist/cjs/types/get-callout-data-with.cjs +0 -1
  175. package/dist/cjs/types/get-callout-data.cjs +0 -1
  176. package/dist/cjs/types/get-callout-form-data.cjs +0 -1
  177. package/dist/cjs/types/get-callout-form-schema.cjs +0 -1
  178. package/dist/cjs/types/get-callout-navigation-schema.cjs +0 -1
  179. package/dist/cjs/types/get-callout-response-comment-data.cjs +0 -1
  180. package/dist/cjs/types/get-callout-response-comments-query.cjs +0 -1
  181. package/dist/cjs/types/get-callout-response-data-with.cjs +0 -1
  182. package/dist/cjs/types/get-callout-response-data.cjs +0 -1
  183. package/dist/cjs/types/get-callout-response-map-data.cjs +0 -1
  184. package/dist/cjs/types/get-callout-responses-query.cjs +0 -1
  185. package/dist/cjs/types/get-callout-reviewer-data.cjs +15 -0
  186. package/dist/cjs/types/get-callout-slide-schema.cjs +0 -1
  187. package/dist/cjs/types/get-callout-with.cjs +0 -1
  188. package/dist/cjs/types/get-callouts-query.cjs +0 -1
  189. package/dist/cjs/types/get-contact-data-with.cjs +0 -1
  190. package/dist/cjs/types/get-contact-data.cjs +0 -1
  191. package/dist/cjs/types/get-contact-mfa-data.cjs +15 -0
  192. package/dist/cjs/types/get-contacts-query.cjs +0 -1
  193. package/dist/cjs/types/get-email-data.cjs +0 -1
  194. package/dist/cjs/types/get-email-template-info-data.cjs +15 -0
  195. package/dist/cjs/types/get-notice-data.cjs +0 -1
  196. package/dist/cjs/types/get-notices-query.cjs +0 -1
  197. package/dist/cjs/types/get-payment-aggregation-data.cjs +15 -0
  198. package/dist/cjs/types/get-payment-data-with.cjs +0 -1
  199. package/dist/cjs/types/get-payment-data.cjs +0 -1
  200. package/dist/cjs/types/get-payment-with.cjs +0 -1
  201. package/dist/cjs/types/{create-callout-tag-data.cjs → get-payments-aggregation-query.cjs} +2 -3
  202. package/dist/cjs/types/get-payments-query.cjs +0 -1
  203. package/dist/cjs/types/get-segment-data-with.cjs +0 -1
  204. package/dist/cjs/types/get-segment-data.cjs +0 -1
  205. package/dist/cjs/types/get-segment-with.cjs +0 -1
  206. package/dist/cjs/types/get-segments-query.cjs +15 -0
  207. package/dist/cjs/types/get-stats-data.cjs +0 -1
  208. package/dist/cjs/types/get-stats-query.cjs +0 -1
  209. package/dist/cjs/types/health-check-data.cjs +15 -0
  210. package/dist/cjs/types/index.cjs +0 -385
  211. package/dist/cjs/types/list-emails-query.cjs +15 -0
  212. package/dist/cjs/types/login-data.cjs +15 -0
  213. package/dist/cjs/types/newsletter-group-data.cjs +15 -0
  214. package/dist/cjs/types/noop.cjs +0 -1
  215. package/dist/cjs/types/notice-data.cjs +0 -1
  216. package/dist/cjs/types/notice-filter-name.cjs +0 -1
  217. package/dist/cjs/types/ongoing-email-fields.cjs +15 -0
  218. package/dist/cjs/types/operators-by-type.cjs +0 -1
  219. package/dist/cjs/types/other-filter-args.cjs +0 -1
  220. package/dist/cjs/types/paginated-query.cjs +0 -1
  221. package/dist/cjs/types/paginated.cjs +0 -1
  222. package/dist/cjs/types/parse-iso-options.cjs +0 -1
  223. package/dist/cjs/types/payment-filter-name.cjs +0 -1
  224. package/dist/cjs/types/payment-flow-params.cjs +15 -0
  225. package/dist/cjs/types/payment-flow-result.cjs +15 -0
  226. package/dist/cjs/types/payment-period.cjs +15 -0
  227. package/dist/cjs/types/payment-source-base.cjs +0 -1
  228. package/dist/cjs/types/payment-source-go-cardless-direct-debit.cjs +0 -1
  229. package/dist/cjs/types/payment-source-manual.cjs +0 -1
  230. package/dist/cjs/types/payment-source-stripe-bacs.cjs +0 -1
  231. package/dist/cjs/types/payment-source-stripe-card.cjs +0 -1
  232. package/dist/cjs/types/payment-source-stripe-paypal.cjs +0 -1
  233. package/dist/cjs/types/payment-source-stripe-sepa.cjs +0 -1
  234. package/dist/cjs/types/payment-source.cjs +0 -1
  235. package/dist/cjs/types/role-type.cjs +0 -1
  236. package/dist/cjs/types/rule-group.cjs +0 -1
  237. package/dist/cjs/types/rule-operator.cjs +0 -1
  238. package/dist/cjs/types/rule-opperator-params.cjs +0 -1
  239. package/dist/cjs/types/rule-value.cjs +0 -1
  240. package/dist/cjs/types/rule.cjs +0 -1
  241. package/dist/cjs/types/s3-metadata.cjs +15 -0
  242. package/dist/cjs/types/segment-filter-name.cjs +0 -1
  243. package/dist/cjs/types/segment-ongoing-email-trigger.cjs +15 -0
  244. package/dist/cjs/types/serial.cjs +0 -1
  245. package/dist/cjs/types/set-callout-form-schema.cjs +0 -1
  246. package/dist/cjs/types/set-callout-navigation-schema.cjs +0 -1
  247. package/dist/cjs/types/set-callout-slide-schema.cjs +0 -1
  248. package/dist/cjs/types/set-contribution-data.cjs +0 -1
  249. package/dist/cjs/types/signup-data.cjs +15 -0
  250. package/dist/cjs/types/start-contribution-data.cjs +0 -1
  251. package/dist/cjs/types/stripe-fee-country.cjs +0 -1
  252. package/dist/cjs/types/tag-create-data.cjs +15 -0
  253. package/dist/cjs/types/tag-data.cjs +15 -0
  254. package/dist/cjs/types/tag-get-data.cjs +15 -0
  255. package/dist/cjs/types/tag-update-data.cjs +15 -0
  256. package/dist/cjs/types/text-case.cjs +0 -1
  257. package/dist/cjs/types/unit-matches.cjs +0 -1
  258. package/dist/cjs/types/update-callout-data.cjs +0 -1
  259. package/dist/cjs/types/update-callout-response-comment-data.cjs +0 -1
  260. package/dist/cjs/types/update-callout-response-data.cjs +0 -1
  261. package/dist/cjs/types/update-callout-response-segment-data.cjs +15 -0
  262. package/dist/cjs/types/update-callout-reviewer-data.cjs +15 -0
  263. package/dist/cjs/types/update-contact-data.cjs +0 -1
  264. package/dist/cjs/types/update-contact-profile-data.cjs +0 -1
  265. package/dist/cjs/types/update-contact-role-data.cjs +0 -1
  266. package/dist/cjs/types/update-email-data.cjs +0 -1
  267. package/dist/cjs/types/update-notice-data.cjs +15 -0
  268. package/dist/cjs/types/update-reset-device-data.cjs +15 -0
  269. package/dist/cjs/types/update-reset-password-data.cjs +0 -1
  270. package/dist/cjs/types/update-segment-data.cjs +0 -1
  271. package/dist/cjs/types/upload-file-response.cjs +15 -0
  272. package/dist/cjs/types/validated-boolean-rule.cjs +0 -1
  273. package/dist/cjs/types/validated-number-rule.cjs +0 -1
  274. package/dist/cjs/types/validated-rule-group.cjs +0 -1
  275. package/dist/cjs/types/validated-rule-value.cjs +0 -1
  276. package/dist/cjs/types/validated-rule.cjs +0 -1
  277. package/dist/cjs/types/validated-string-rule.cjs +0 -1
  278. package/dist/cjs/types/validator-callout-component.cjs +0 -1
  279. package/dist/cjs/types/validator.cjs +0 -1
  280. package/dist/cjs/utils/callouts.cjs +25 -16
  281. package/dist/cjs/utils/conversions.cjs +0 -1
  282. package/dist/cjs/utils/date.cjs +1 -4
  283. package/dist/cjs/utils/debounce.cjs +73 -0
  284. package/dist/cjs/utils/file.cjs +61 -0
  285. package/dist/cjs/utils/index.cjs +6 -1
  286. package/dist/cjs/utils/payments.cjs +16 -14
  287. package/dist/cjs/utils/rules.cjs +8 -2
  288. package/dist/cjs/utils/slug.cjs +0 -1
  289. package/dist/cjs/utils/url.cjs +53 -0
  290. package/dist/cjs/utils/validations.cjs +1 -2
  291. package/dist/cjs/validators/callout-component-content.validator.cjs +0 -1
  292. package/dist/cjs/validators/callout-component-input-address.validator.cjs +0 -1
  293. package/dist/cjs/validators/callout-component-input-checkbox.validator.cjs +0 -1
  294. package/dist/cjs/validators/callout-component-input-currency.validator.cjs +0 -1
  295. package/dist/cjs/validators/callout-component-input-date-time.validator.cjs +0 -1
  296. package/dist/cjs/validators/callout-component-input-email.validator.cjs +0 -1
  297. package/dist/cjs/validators/callout-component-input-file.validator.cjs +1 -2
  298. package/dist/cjs/validators/callout-component-input-number.validator.cjs +0 -1
  299. package/dist/cjs/validators/callout-component-input-phone-number.validator.cjs +0 -1
  300. package/dist/cjs/validators/callout-component-input-select.validator.cjs +0 -1
  301. package/dist/cjs/validators/callout-component-input-selectable.validator.cjs +0 -1
  302. package/dist/cjs/validators/callout-component-input-signature.validator.cjs +0 -1
  303. package/dist/cjs/validators/callout-component-input-text.validator.cjs +0 -1
  304. package/dist/cjs/validators/callout-component-input-time.validator.cjs +1 -4
  305. package/dist/cjs/validators/callout-component-input-url.validator.cjs +0 -1
  306. package/dist/cjs/validators/callout-component.validator.cjs +4 -8
  307. package/dist/cjs/validators/index.cjs +0 -1
  308. package/dist/constants.d.ts +79 -0
  309. package/dist/constants.d.ts.map +1 -0
  310. package/dist/constants.js +104 -0
  311. package/dist/constants.js.map +1 -0
  312. package/dist/data/api-error-code.d.ts +23 -0
  313. package/dist/data/api-error-code.d.ts.map +1 -0
  314. package/dist/data/api-error-code.js +24 -0
  315. package/dist/data/api-error-code.js.map +1 -0
  316. package/dist/data/callout-access.d.ts +7 -0
  317. package/dist/data/callout-access.d.ts.map +1 -0
  318. package/dist/data/callout-access.js +8 -0
  319. package/dist/data/callout-access.js.map +1 -0
  320. package/dist/data/callout-captcha.d.ts +6 -0
  321. package/dist/data/callout-captcha.d.ts.map +1 -0
  322. package/dist/data/callout-captcha.js +7 -0
  323. package/dist/data/callout-captcha.js.map +1 -0
  324. package/dist/data/callout-channel.d.ts +4 -0
  325. package/dist/data/callout-channel.d.ts.map +1 -0
  326. package/dist/data/callout-channel.js +6 -0
  327. package/dist/data/callout-channel.js.map +1 -0
  328. package/dist/data/callout-component-base-type.d.ts +9 -0
  329. package/dist/data/callout-component-base-type.d.ts.map +1 -0
  330. package/dist/data/callout-component-base-type.js +10 -0
  331. package/dist/data/callout-component-base-type.js.map +1 -0
  332. package/dist/data/callout-component-input-selectable-types.d.ts +4 -0
  333. package/dist/data/callout-component-input-selectable-types.d.ts.map +1 -0
  334. package/dist/data/callout-component-input-selectable-types.js +7 -0
  335. package/dist/data/callout-component-input-selectable-types.js.map +1 -0
  336. package/dist/data/callout-component-input-text-types.d.ts +4 -0
  337. package/dist/data/callout-component-input-text-types.d.ts.map +1 -0
  338. package/dist/data/callout-component-input-text-types.js +7 -0
  339. package/dist/data/callout-component-input-text-types.js.map +1 -0
  340. package/dist/data/callout-component-input-types.d.ts +4 -0
  341. package/dist/data/callout-component-input-types.d.ts.map +1 -0
  342. package/dist/data/callout-component-input-types.js +21 -0
  343. package/dist/data/callout-component-input-types.js.map +1 -0
  344. package/dist/data/callout-component-nestable-types.d.ts +4 -0
  345. package/dist/data/callout-component-nestable-types.d.ts.map +1 -0
  346. package/dist/data/callout-component-nestable-types.js +8 -0
  347. package/dist/data/callout-component-nestable-types.js.map +1 -0
  348. package/dist/data/callout-component-type.d.ts +24 -0
  349. package/dist/data/callout-component-type.d.ts.map +1 -0
  350. package/dist/data/callout-component-type.js +25 -0
  351. package/dist/data/callout-component-type.js.map +1 -0
  352. package/dist/data/callout-component-types.d.ts +4 -0
  353. package/dist/data/callout-component-types.d.ts.map +1 -0
  354. package/dist/data/callout-component-types.js +10 -0
  355. package/dist/data/callout-component-types.js.map +1 -0
  356. package/dist/data/contact-mfa-type.d.ts +7 -0
  357. package/dist/data/contact-mfa-type.d.ts.map +1 -0
  358. package/dist/data/contact-mfa-type.js +9 -0
  359. package/dist/data/contact-mfa-type.js.map +1 -0
  360. package/dist/data/content-ids.d.ts +3 -0
  361. package/dist/data/content-ids.d.ts.map +1 -0
  362. package/dist/data/content-ids.js +14 -0
  363. package/dist/data/content-ids.js.map +1 -0
  364. package/dist/data/contribution-period.d.ts +5 -0
  365. package/dist/data/contribution-period.d.ts.map +1 -0
  366. package/dist/data/contribution-period.js +6 -0
  367. package/dist/data/contribution-period.js.map +1 -0
  368. package/dist/data/contribution-type.d.ts +7 -0
  369. package/dist/data/contribution-type.d.ts.map +1 -0
  370. package/dist/data/contribution-type.js +8 -0
  371. package/dist/data/contribution-type.js.map +1 -0
  372. package/dist/data/get-callout-response-with.d.ts +9 -0
  373. package/dist/data/get-callout-response-with.d.ts.map +1 -0
  374. package/dist/data/get-callout-response-with.js +10 -0
  375. package/dist/data/get-callout-response-with.js.map +1 -0
  376. package/dist/data/get-contact-with.d.ts +8 -0
  377. package/dist/data/get-contact-with.d.ts.map +1 -0
  378. package/dist/data/get-contact-with.js +9 -0
  379. package/dist/data/get-contact-with.js.map +1 -0
  380. package/dist/data/index.d.ts +28 -0
  381. package/dist/data/index.d.ts.map +1 -0
  382. package/dist/data/index.js +29 -0
  383. package/dist/data/index.js.map +1 -0
  384. package/dist/data/item-status.d.ts +7 -0
  385. package/dist/data/item-status.d.ts.map +1 -0
  386. package/dist/data/item-status.js +8 -0
  387. package/dist/data/item-status.js.map +1 -0
  388. package/dist/data/login-codes.d.ts +14 -0
  389. package/dist/data/login-codes.d.ts.map +1 -0
  390. package/dist/data/login-codes.js +15 -0
  391. package/dist/data/login-codes.js.map +1 -0
  392. package/dist/data/membership-status.d.ts +7 -0
  393. package/dist/data/membership-status.d.ts.map +1 -0
  394. package/dist/data/membership-status.js +8 -0
  395. package/dist/data/membership-status.js.map +1 -0
  396. package/dist/data/newsletter-status.d.ts +8 -0
  397. package/dist/data/newsletter-status.d.ts.map +1 -0
  398. package/dist/data/newsletter-status.js +9 -0
  399. package/dist/data/newsletter-status.js.map +1 -0
  400. package/dist/data/payment-method.d.ts +9 -0
  401. package/dist/data/payment-method.d.ts.map +1 -0
  402. package/dist/data/payment-method.js +10 -0
  403. package/dist/data/payment-method.js.map +1 -0
  404. package/dist/data/payment-status.d.ts +8 -0
  405. package/dist/data/payment-status.d.ts.map +1 -0
  406. package/dist/data/payment-status.js +9 -0
  407. package/dist/data/payment-status.js.map +1 -0
  408. package/dist/data/payment-type.d.ts +7 -0
  409. package/dist/data/payment-type.d.ts.map +1 -0
  410. package/dist/data/payment-type.js +8 -0
  411. package/dist/data/payment-type.js.map +1 -0
  412. package/dist/data/reset-security-flow-error-code.d.ts +9 -0
  413. package/dist/data/reset-security-flow-error-code.d.ts.map +1 -0
  414. package/dist/data/reset-security-flow-error-code.js +10 -0
  415. package/dist/data/reset-security-flow-error-code.js.map +1 -0
  416. package/dist/data/reset-security-flow-type.d.ts +8 -0
  417. package/dist/data/reset-security-flow-type.d.ts.map +1 -0
  418. package/dist/data/reset-security-flow-type.js +9 -0
  419. package/dist/data/reset-security-flow-type.js.map +1 -0
  420. package/dist/data/role-type-data.d.ts +6 -0
  421. package/dist/data/role-type-data.d.ts.map +1 -0
  422. package/dist/data/role-type-data.js +7 -0
  423. package/dist/data/role-type-data.js.map +1 -0
  424. package/dist/error/InvalidRule.d.ts +7 -0
  425. package/dist/error/InvalidRule.d.ts.map +1 -0
  426. package/dist/error/InvalidRule.js +11 -0
  427. package/dist/error/InvalidRule.js.map +1 -0
  428. package/dist/error/index.d.ts +2 -0
  429. package/dist/error/index.d.ts.map +1 -0
  430. package/dist/error/index.js +3 -0
  431. package/dist/error/index.js.map +1 -0
  432. package/dist/esm/constants.js +66 -0
  433. package/dist/esm/data/api-error-code.js +26 -0
  434. package/dist/esm/data/callout-component-input-types.js +1 -1
  435. package/dist/esm/data/callout-component-types.js +1 -1
  436. package/dist/esm/data/contact-mfa-type.js +7 -0
  437. package/dist/esm/data/content-ids.js +1 -0
  438. package/dist/esm/data/get-callout-response-with.js +12 -0
  439. package/dist/esm/data/get-contact-with.js +11 -0
  440. package/dist/esm/data/index.js +9 -0
  441. package/dist/esm/data/login-codes.js +14 -0
  442. package/dist/esm/data/payment-method.js +1 -2
  443. package/dist/esm/data/payment-type.js +10 -0
  444. package/dist/esm/data/reset-security-flow-error-code.js +9 -0
  445. package/dist/esm/data/reset-security-flow-type.js +8 -0
  446. package/dist/esm/data/role-type-data.js +9 -0
  447. package/dist/esm/index.js +1 -0
  448. package/dist/esm/search/api-keys.js +1 -0
  449. package/dist/esm/search/callouts.js +40 -3
  450. package/dist/esm/search/contacts.js +39 -4
  451. package/dist/esm/search/emails.js +33 -0
  452. package/dist/esm/search/index.js +2 -0
  453. package/dist/esm/search/notices.js +1 -0
  454. package/dist/esm/search/operators.js +15 -8
  455. package/dist/esm/search/payments.js +11 -0
  456. package/dist/esm/search/segments.js +1 -0
  457. package/dist/esm/search/tags.js +15 -0
  458. package/dist/esm/types/callout-response-guest-data.js +0 -0
  459. package/dist/esm/types/callout-response-newsletter-data.js +0 -0
  460. package/dist/esm/types/callout-reviewer-filter-name.js +0 -0
  461. package/dist/esm/types/complete-signup-data.js +0 -0
  462. package/dist/esm/types/contact-mfa-data.js +0 -0
  463. package/dist/esm/types/contact-tag-filter-name.js +0 -0
  464. package/dist/esm/types/create-callout-response-segment-data.js +0 -0
  465. package/dist/esm/types/create-callout-reviewer-data.js +0 -0
  466. package/dist/esm/types/create-callout-variant-data.js +0 -0
  467. package/dist/esm/types/create-contact-mfa-data.js +0 -0
  468. package/dist/esm/types/create-email-data.js +0 -0
  469. package/dist/esm/types/create-payment-data.js +0 -0
  470. package/dist/esm/types/create-reset-device-data.js +0 -0
  471. package/dist/esm/types/create-reset-password-data.js +0 -0
  472. package/dist/esm/types/delete-contact-mfa-data.js +0 -0
  473. package/dist/esm/types/email-filter-name.js +0 -0
  474. package/dist/esm/types/email-preview-data.js +0 -0
  475. package/dist/esm/types/email-template-type.js +0 -0
  476. package/dist/esm/types/formio-file.js +0 -0
  477. package/dist/esm/types/get-callout-reviewer-data.js +0 -0
  478. package/dist/esm/types/get-contact-mfa-data.js +0 -0
  479. package/dist/esm/types/get-email-template-info-data.js +0 -0
  480. package/dist/esm/types/get-payment-aggregation-data.js +0 -0
  481. package/dist/esm/types/get-payments-aggregation-query.js +0 -0
  482. package/dist/esm/types/get-segments-query.js +0 -0
  483. package/dist/esm/types/health-check-data.js +0 -0
  484. package/dist/esm/types/index.js +0 -190
  485. package/dist/esm/types/list-emails-query.js +0 -0
  486. package/dist/esm/types/login-data.js +0 -0
  487. package/dist/esm/types/newsletter-group-data.js +0 -0
  488. package/dist/esm/types/ongoing-email-fields.js +0 -0
  489. package/dist/esm/types/payment-flow-params.js +0 -0
  490. package/dist/esm/types/payment-flow-result.js +0 -0
  491. package/dist/esm/types/payment-period.js +0 -0
  492. package/dist/esm/types/s3-metadata.js +0 -0
  493. package/dist/esm/types/segment-ongoing-email-trigger.js +0 -0
  494. package/dist/esm/types/signup-data.js +0 -0
  495. package/dist/esm/types/tag-create-data.js +0 -0
  496. package/dist/esm/types/tag-data.js +0 -0
  497. package/dist/esm/types/tag-get-data.js +0 -0
  498. package/dist/esm/types/tag-update-data.js +0 -0
  499. package/dist/esm/types/update-callout-response-segment-data.js +0 -0
  500. package/dist/esm/types/update-callout-reviewer-data.js +0 -0
  501. package/dist/esm/types/update-notice-data.js +0 -0
  502. package/dist/esm/types/update-reset-device-data.js +0 -0
  503. package/dist/esm/types/upload-file-response.js +0 -0
  504. package/dist/esm/utils/callouts.js +25 -17
  505. package/dist/esm/utils/date.js +1 -3
  506. package/dist/esm/utils/debounce.js +49 -0
  507. package/dist/esm/utils/file.js +39 -0
  508. package/dist/esm/utils/index.js +3 -0
  509. package/dist/esm/utils/payments.js +16 -13
  510. package/dist/esm/utils/rules.js +7 -1
  511. package/dist/esm/utils/url.js +28 -0
  512. package/dist/esm/utils/validations.js +1 -1
  513. package/dist/esm/validators/callout-component-input-file.validator.js +1 -1
  514. package/dist/esm/validators/callout-component-input-time.validator.js +1 -3
  515. package/dist/esm/validators/callout-component.validator.js +7 -10
  516. package/dist/index.d.ts +8 -0
  517. package/dist/index.d.ts.map +1 -0
  518. package/dist/index.js +7 -0
  519. package/dist/index.js.map +1 -0
  520. package/dist/search/api-keys.d.ts +9 -0
  521. package/dist/search/api-keys.d.ts.map +1 -0
  522. package/dist/search/api-keys.js +10 -0
  523. package/dist/search/api-keys.js.map +1 -0
  524. package/dist/search/callouts.d.ts +142 -0
  525. package/dist/search/callouts.d.ts.map +1 -0
  526. package/dist/search/callouts.js +155 -0
  527. package/dist/search/callouts.js.map +1 -0
  528. package/dist/search/contacts.d.ts +104 -0
  529. package/dist/search/contacts.d.ts.map +1 -0
  530. package/dist/search/contacts.js +116 -0
  531. package/dist/search/contacts.js.map +1 -0
  532. package/dist/search/emails.d.ts +30 -0
  533. package/dist/search/emails.d.ts.map +1 -0
  534. package/dist/search/emails.js +31 -0
  535. package/dist/search/emails.js.map +1 -0
  536. package/dist/search/index.d.ts +10 -0
  537. package/dist/search/index.d.ts.map +1 -0
  538. package/dist/search/index.js +11 -0
  539. package/dist/search/index.js.map +1 -0
  540. package/dist/search/notices.d.ts +30 -0
  541. package/dist/search/notices.d.ts.map +1 -0
  542. package/dist/search/notices.js +36 -0
  543. package/dist/search/notices.js.map +1 -0
  544. package/dist/search/operators.d.ts +76 -0
  545. package/dist/search/operators.d.ts.map +1 -0
  546. package/dist/search/operators.js +66 -0
  547. package/dist/search/operators.js.map +1 -0
  548. package/dist/search/payments.d.ts +25 -0
  549. package/dist/search/payments.d.ts.map +1 -0
  550. package/dist/search/payments.js +37 -0
  551. package/dist/search/payments.js.map +1 -0
  552. package/dist/search/segments.d.ts +12 -0
  553. package/dist/search/segments.d.ts.map +1 -0
  554. package/dist/search/segments.js +13 -0
  555. package/dist/search/segments.js.map +1 -0
  556. package/dist/search/tags.d.ts +13 -0
  557. package/dist/search/tags.d.ts.map +1 -0
  558. package/dist/search/tags.js +13 -0
  559. package/dist/search/tags.js.map +1 -0
  560. package/dist/types/address.d.ts +7 -0
  561. package/dist/types/address.d.ts.map +1 -0
  562. package/dist/types/address.js +2 -0
  563. package/dist/types/address.js.map +1 -0
  564. package/dist/types/allow-null.d.ts +8 -0
  565. package/dist/types/allow-null.d.ts.map +1 -0
  566. package/dist/types/allow-null.js +2 -0
  567. package/dist/types/allow-null.js.map +1 -0
  568. package/dist/types/api-error-data.d.ts +112 -0
  569. package/dist/types/api-error-data.d.ts.map +1 -0
  570. package/dist/types/api-error-data.js +2 -0
  571. package/dist/types/api-error-data.js.map +1 -0
  572. package/dist/types/api-key-filter-name.d.ts +3 -0
  573. package/dist/types/api-key-filter-name.d.ts.map +1 -0
  574. package/dist/types/api-key-filter-name.js +2 -0
  575. package/dist/types/api-key-filter-name.js.map +1 -0
  576. package/dist/types/array-filter-args.d.ts +6 -0
  577. package/dist/types/array-filter-args.d.ts.map +1 -0
  578. package/dist/types/array-filter-args.js +2 -0
  579. package/dist/types/array-filter-args.js.map +1 -0
  580. package/dist/types/auth-info-data.d.ts +25 -0
  581. package/dist/types/auth-info-data.d.ts.map +1 -0
  582. package/dist/types/auth-info-data.js +2 -0
  583. package/dist/types/auth-info-data.js.map +1 -0
  584. package/dist/types/base-filter-args.d.ts +6 -0
  585. package/dist/types/base-filter-args.d.ts.map +1 -0
  586. package/dist/types/base-filter-args.js +2 -0
  587. package/dist/types/base-filter-args.js.map +1 -0
  588. package/dist/types/base-validated-rule.d.ts +10 -0
  589. package/dist/types/base-validated-rule.d.ts.map +1 -0
  590. package/dist/types/base-validated-rule.js +2 -0
  591. package/dist/types/base-validated-rule.js.map +1 -0
  592. package/dist/types/callout-channel-filter-name.d.ts +3 -0
  593. package/dist/types/callout-channel-filter-name.d.ts.map +1 -0
  594. package/dist/types/callout-channel-filter-name.js +2 -0
  595. package/dist/types/callout-channel-filter-name.js.map +1 -0
  596. package/dist/types/callout-component-base-input-schema.d.ts +12 -0
  597. package/dist/types/callout-component-base-input-schema.d.ts.map +1 -0
  598. package/dist/types/callout-component-base-input-schema.js +2 -0
  599. package/dist/types/callout-component-base-input-schema.js.map +1 -0
  600. package/dist/types/callout-component-base-input-selectable-schema.d.ts +12 -0
  601. package/dist/types/callout-component-base-input-selectable-schema.d.ts.map +1 -0
  602. package/dist/types/callout-component-base-input-selectable-schema.js +2 -0
  603. package/dist/types/callout-component-base-input-selectable-schema.js.map +1 -0
  604. package/dist/types/callout-component-base-input-text-schema.d.ts +13 -0
  605. package/dist/types/callout-component-base-input-text-schema.d.ts.map +1 -0
  606. package/dist/types/callout-component-base-input-text-schema.js +2 -0
  607. package/dist/types/callout-component-base-input-text-schema.js.map +1 -0
  608. package/dist/types/callout-component-base-map.d.ts +17 -0
  609. package/dist/types/callout-component-base-map.d.ts.map +1 -0
  610. package/dist/types/callout-component-base-map.js +2 -0
  611. package/dist/types/callout-component-base-map.js.map +1 -0
  612. package/dist/types/callout-component-base-nestable-schema.d.ts +8 -0
  613. package/dist/types/callout-component-base-nestable-schema.d.ts.map +1 -0
  614. package/dist/types/callout-component-base-nestable-schema.js +2 -0
  615. package/dist/types/callout-component-base-nestable-schema.js.map +1 -0
  616. package/dist/types/callout-component-base-rules.d.ts +7 -0
  617. package/dist/types/callout-component-base-rules.d.ts.map +1 -0
  618. package/dist/types/callout-component-base-rules.js +2 -0
  619. package/dist/types/callout-component-base-rules.js.map +1 -0
  620. package/dist/types/callout-component-base-schema.d.ts +23 -0
  621. package/dist/types/callout-component-base-schema.d.ts.map +1 -0
  622. package/dist/types/callout-component-base-schema.js +2 -0
  623. package/dist/types/callout-component-base-schema.js.map +1 -0
  624. package/dist/types/callout-component-content-schema.d.ts +13 -0
  625. package/dist/types/callout-component-content-schema.d.ts.map +1 -0
  626. package/dist/types/callout-component-content-schema.js +2 -0
  627. package/dist/types/callout-component-content-schema.js.map +1 -0
  628. package/dist/types/callout-component-input-address-rules.d.ts +3 -0
  629. package/dist/types/callout-component-input-address-rules.d.ts.map +1 -0
  630. package/dist/types/callout-component-input-address-rules.js +2 -0
  631. package/dist/types/callout-component-input-address-rules.js.map +1 -0
  632. package/dist/types/callout-component-input-address-schema.d.ts +10 -0
  633. package/dist/types/callout-component-input-address-schema.d.ts.map +1 -0
  634. package/dist/types/callout-component-input-address-schema.js +2 -0
  635. package/dist/types/callout-component-input-address-schema.js.map +1 -0
  636. package/dist/types/callout-component-input-checkbox-rules.d.ts +3 -0
  637. package/dist/types/callout-component-input-checkbox-rules.d.ts.map +1 -0
  638. package/dist/types/callout-component-input-checkbox-rules.js +2 -0
  639. package/dist/types/callout-component-input-checkbox-rules.js.map +1 -0
  640. package/dist/types/callout-component-input-checkbox-schema.d.ts +12 -0
  641. package/dist/types/callout-component-input-checkbox-schema.d.ts.map +1 -0
  642. package/dist/types/callout-component-input-checkbox-schema.js +2 -0
  643. package/dist/types/callout-component-input-checkbox-schema.js.map +1 -0
  644. package/dist/types/callout-component-input-currency-rules.d.ts +3 -0
  645. package/dist/types/callout-component-input-currency-rules.d.ts.map +1 -0
  646. package/dist/types/callout-component-input-currency-rules.js +2 -0
  647. package/dist/types/callout-component-input-currency-rules.js.map +1 -0
  648. package/dist/types/callout-component-input-currency-schema.d.ts +18 -0
  649. package/dist/types/callout-component-input-currency-schema.d.ts.map +1 -0
  650. package/dist/types/callout-component-input-currency-schema.js +2 -0
  651. package/dist/types/callout-component-input-currency-schema.js.map +1 -0
  652. package/dist/types/callout-component-input-date-time-rules.d.ts +3 -0
  653. package/dist/types/callout-component-input-date-time-rules.d.ts.map +1 -0
  654. package/dist/types/callout-component-input-date-time-rules.js +2 -0
  655. package/dist/types/callout-component-input-date-time-rules.js.map +1 -0
  656. package/dist/types/callout-component-input-date-time-schema.d.ts +40 -0
  657. package/dist/types/callout-component-input-date-time-schema.d.ts.map +1 -0
  658. package/dist/types/callout-component-input-date-time-schema.js +2 -0
  659. package/dist/types/callout-component-input-date-time-schema.js.map +1 -0
  660. package/dist/types/callout-component-input-email-rules.d.ts +10 -0
  661. package/dist/types/callout-component-input-email-rules.d.ts.map +1 -0
  662. package/dist/types/callout-component-input-email-rules.js +2 -0
  663. package/dist/types/callout-component-input-email-rules.js.map +1 -0
  664. package/dist/types/callout-component-input-email-schema.d.ts +12 -0
  665. package/dist/types/callout-component-input-email-schema.d.ts.map +1 -0
  666. package/dist/types/callout-component-input-email-schema.js +2 -0
  667. package/dist/types/callout-component-input-email-schema.js.map +1 -0
  668. package/dist/types/callout-component-input-file-rules.d.ts +3 -0
  669. package/dist/types/callout-component-input-file-rules.d.ts.map +1 -0
  670. package/dist/types/callout-component-input-file-rules.js +2 -0
  671. package/dist/types/callout-component-input-file-rules.js.map +1 -0
  672. package/dist/types/callout-component-input-file-schema.d.ts +20 -0
  673. package/dist/types/callout-component-input-file-schema.d.ts.map +1 -0
  674. package/dist/types/callout-component-input-file-schema.js +2 -0
  675. package/dist/types/callout-component-input-file-schema.js.map +1 -0
  676. package/dist/types/callout-component-input-number-rules.d.ts +10 -0
  677. package/dist/types/callout-component-input-number-rules.d.ts.map +1 -0
  678. package/dist/types/callout-component-input-number-rules.js +2 -0
  679. package/dist/types/callout-component-input-number-rules.js.map +1 -0
  680. package/dist/types/callout-component-input-number-schema.d.ts +18 -0
  681. package/dist/types/callout-component-input-number-schema.d.ts.map +1 -0
  682. package/dist/types/callout-component-input-number-schema.js +2 -0
  683. package/dist/types/callout-component-input-number-schema.js.map +1 -0
  684. package/dist/types/callout-component-input-phone-number-rules.d.ts +3 -0
  685. package/dist/types/callout-component-input-phone-number-rules.d.ts.map +1 -0
  686. package/dist/types/callout-component-input-phone-number-rules.js +2 -0
  687. package/dist/types/callout-component-input-phone-number-rules.js.map +1 -0
  688. package/dist/types/callout-component-input-phone-number-schema.d.ts +10 -0
  689. package/dist/types/callout-component-input-phone-number-schema.d.ts.map +1 -0
  690. package/dist/types/callout-component-input-phone-number-schema.js +2 -0
  691. package/dist/types/callout-component-input-phone-number-schema.js.map +1 -0
  692. package/dist/types/callout-component-input-schema.d.ts +4 -0
  693. package/dist/types/callout-component-input-schema.d.ts.map +1 -0
  694. package/dist/types/callout-component-input-schema.js +2 -0
  695. package/dist/types/callout-component-input-schema.js.map +1 -0
  696. package/dist/types/callout-component-input-select-rules.d.ts +3 -0
  697. package/dist/types/callout-component-input-select-rules.d.ts.map +1 -0
  698. package/dist/types/callout-component-input-select-rules.js +2 -0
  699. package/dist/types/callout-component-input-select-rules.js.map +1 -0
  700. package/dist/types/callout-component-input-select-schema.d.ts +18 -0
  701. package/dist/types/callout-component-input-select-schema.d.ts.map +1 -0
  702. package/dist/types/callout-component-input-select-schema.js +2 -0
  703. package/dist/types/callout-component-input-select-schema.js.map +1 -0
  704. package/dist/types/callout-component-input-selectable-radio-rules.d.ts +3 -0
  705. package/dist/types/callout-component-input-selectable-radio-rules.d.ts.map +1 -0
  706. package/dist/types/callout-component-input-selectable-radio-rules.js +2 -0
  707. package/dist/types/callout-component-input-selectable-radio-rules.js.map +1 -0
  708. package/dist/types/callout-component-input-selectable-radio-schema.d.ts +7 -0
  709. package/dist/types/callout-component-input-selectable-radio-schema.d.ts.map +1 -0
  710. package/dist/types/callout-component-input-selectable-radio-schema.js +2 -0
  711. package/dist/types/callout-component-input-selectable-radio-schema.js.map +1 -0
  712. package/dist/types/callout-component-input-selectable-schema.d.ts +4 -0
  713. package/dist/types/callout-component-input-selectable-schema.d.ts.map +1 -0
  714. package/dist/types/callout-component-input-selectable-schema.js +2 -0
  715. package/dist/types/callout-component-input-selectable-schema.js.map +1 -0
  716. package/dist/types/callout-component-input-selectable-selectboxes-rules.d.ts +3 -0
  717. package/dist/types/callout-component-input-selectable-selectboxes-rules.d.ts.map +1 -0
  718. package/dist/types/callout-component-input-selectable-selectboxes-rules.js +2 -0
  719. package/dist/types/callout-component-input-selectable-selectboxes-rules.js.map +1 -0
  720. package/dist/types/callout-component-input-selectable-selectboxes-schema.d.ts +7 -0
  721. package/dist/types/callout-component-input-selectable-selectboxes-schema.d.ts.map +1 -0
  722. package/dist/types/callout-component-input-selectable-selectboxes-schema.js +2 -0
  723. package/dist/types/callout-component-input-selectable-selectboxes-schema.js.map +1 -0
  724. package/dist/types/callout-component-input-signature-rules.d.ts +3 -0
  725. package/dist/types/callout-component-input-signature-rules.d.ts.map +1 -0
  726. package/dist/types/callout-component-input-signature-rules.js +2 -0
  727. package/dist/types/callout-component-input-signature-rules.js.map +1 -0
  728. package/dist/types/callout-component-input-signature-schema.d.ts +8 -0
  729. package/dist/types/callout-component-input-signature-schema.d.ts.map +1 -0
  730. package/dist/types/callout-component-input-signature-schema.js +2 -0
  731. package/dist/types/callout-component-input-signature-schema.js.map +1 -0
  732. package/dist/types/callout-component-input-text-area-schema.d.ts +6 -0
  733. package/dist/types/callout-component-input-text-area-schema.d.ts.map +1 -0
  734. package/dist/types/callout-component-input-text-area-schema.js +2 -0
  735. package/dist/types/callout-component-input-text-area-schema.js.map +1 -0
  736. package/dist/types/callout-component-input-text-field-schema.d.ts +6 -0
  737. package/dist/types/callout-component-input-text-field-schema.d.ts.map +1 -0
  738. package/dist/types/callout-component-input-text-field-schema.js +2 -0
  739. package/dist/types/callout-component-input-text-field-schema.js.map +1 -0
  740. package/dist/types/callout-component-input-text-rules.d.ts +14 -0
  741. package/dist/types/callout-component-input-text-rules.d.ts.map +1 -0
  742. package/dist/types/callout-component-input-text-rules.js +2 -0
  743. package/dist/types/callout-component-input-text-rules.js.map +1 -0
  744. package/dist/types/callout-component-input-text-schema.d.ts +4 -0
  745. package/dist/types/callout-component-input-text-schema.d.ts.map +1 -0
  746. package/dist/types/callout-component-input-text-schema.js +2 -0
  747. package/dist/types/callout-component-input-text-schema.js.map +1 -0
  748. package/dist/types/callout-component-input-time-rules.d.ts +3 -0
  749. package/dist/types/callout-component-input-time-rules.d.ts.map +1 -0
  750. package/dist/types/callout-component-input-time-rules.js +2 -0
  751. package/dist/types/callout-component-input-time-rules.js.map +1 -0
  752. package/dist/types/callout-component-input-time-schema.d.ts +10 -0
  753. package/dist/types/callout-component-input-time-schema.d.ts.map +1 -0
  754. package/dist/types/callout-component-input-time-schema.js +2 -0
  755. package/dist/types/callout-component-input-time-schema.js.map +1 -0
  756. package/dist/types/callout-component-input-url-rules.d.ts +10 -0
  757. package/dist/types/callout-component-input-url-rules.d.ts.map +1 -0
  758. package/dist/types/callout-component-input-url-rules.js +2 -0
  759. package/dist/types/callout-component-input-url-rules.js.map +1 -0
  760. package/dist/types/callout-component-input-url-schema.d.ts +12 -0
  761. package/dist/types/callout-component-input-url-schema.d.ts.map +1 -0
  762. package/dist/types/callout-component-input-url-schema.js +2 -0
  763. package/dist/types/callout-component-input-url-schema.js.map +1 -0
  764. package/dist/types/callout-component-map.d.ts +32 -0
  765. package/dist/types/callout-component-map.d.ts.map +1 -0
  766. package/dist/types/callout-component-map.js +2 -0
  767. package/dist/types/callout-component-map.js.map +1 -0
  768. package/dist/types/callout-component-nestable-panel-schema.d.ts +6 -0
  769. package/dist/types/callout-component-nestable-panel-schema.d.ts.map +1 -0
  770. package/dist/types/callout-component-nestable-panel-schema.js +2 -0
  771. package/dist/types/callout-component-nestable-panel-schema.js.map +1 -0
  772. package/dist/types/callout-component-nestable-schema.d.ts +3 -0
  773. package/dist/types/callout-component-nestable-schema.d.ts.map +1 -0
  774. package/dist/types/callout-component-nestable-schema.js +2 -0
  775. package/dist/types/callout-component-nestable-schema.js.map +1 -0
  776. package/dist/types/callout-component-nestable-tabs-schema.d.ts +6 -0
  777. package/dist/types/callout-component-nestable-tabs-schema.d.ts.map +1 -0
  778. package/dist/types/callout-component-nestable-tabs-schema.js +2 -0
  779. package/dist/types/callout-component-nestable-tabs-schema.js.map +1 -0
  780. package/dist/types/callout-component-nestable-well-schema.d.ts +6 -0
  781. package/dist/types/callout-component-nestable-well-schema.d.ts.map +1 -0
  782. package/dist/types/callout-component-nestable-well-schema.js +2 -0
  783. package/dist/types/callout-component-nestable-well-schema.js.map +1 -0
  784. package/dist/types/callout-component-schema.d.ts +4 -0
  785. package/dist/types/callout-component-schema.d.ts.map +1 -0
  786. package/dist/types/callout-component-schema.js +2 -0
  787. package/dist/types/callout-component-schema.js.map +1 -0
  788. package/dist/types/callout-data.d.ts +18 -0
  789. package/dist/types/callout-data.d.ts.map +1 -0
  790. package/dist/types/callout-data.js +2 -0
  791. package/dist/types/callout-data.js.map +1 -0
  792. package/dist/types/callout-filter-name.d.ts +3 -0
  793. package/dist/types/callout-filter-name.d.ts.map +1 -0
  794. package/dist/types/callout-filter-name.js +2 -0
  795. package/dist/types/callout-filter-name.js.map +1 -0
  796. package/dist/types/callout-map-schema-icon-styling-answer-icon-definition.d.ts +5 -0
  797. package/dist/types/callout-map-schema-icon-styling-answer-icon-definition.d.ts.map +1 -0
  798. package/dist/types/callout-map-schema-icon-styling-answer-icon-definition.js +2 -0
  799. package/dist/types/callout-map-schema-icon-styling-answer-icon-definition.js.map +1 -0
  800. package/dist/types/callout-map-schema-icon-styling-answer-icon.d.ts +6 -0
  801. package/dist/types/callout-map-schema-icon-styling-answer-icon.d.ts.map +1 -0
  802. package/dist/types/callout-map-schema-icon-styling-answer-icon.js +2 -0
  803. package/dist/types/callout-map-schema-icon-styling-answer-icon.js.map +1 -0
  804. package/dist/types/callout-map-schema-icon-styling-answer.d.ts +3 -0
  805. package/dist/types/callout-map-schema-icon-styling-answer.d.ts.map +1 -0
  806. package/dist/types/callout-map-schema-icon-styling-answer.js +2 -0
  807. package/dist/types/callout-map-schema-icon-styling-answer.js.map +1 -0
  808. package/dist/types/callout-map-schema-icon-styling.d.ts +3 -0
  809. package/dist/types/callout-map-schema-icon-styling.d.ts.map +1 -0
  810. package/dist/types/callout-map-schema-icon-styling.js +2 -0
  811. package/dist/types/callout-map-schema-icon-styling.js.map +1 -0
  812. package/dist/types/callout-map-schema.d.ts +21 -0
  813. package/dist/types/callout-map-schema.d.ts.map +1 -0
  814. package/dist/types/callout-map-schema.js +2 -0
  815. package/dist/types/callout-map-schema.js.map +1 -0
  816. package/dist/types/callout-newsletter-schema.d.ts +8 -0
  817. package/dist/types/callout-newsletter-schema.d.ts.map +1 -0
  818. package/dist/types/callout-newsletter-schema.js +2 -0
  819. package/dist/types/callout-newsletter-schema.js.map +1 -0
  820. package/dist/types/callout-response-answer-address.d.ts +18 -0
  821. package/dist/types/callout-response-answer-address.d.ts.map +1 -0
  822. package/dist/types/callout-response-answer-address.js +2 -0
  823. package/dist/types/callout-response-answer-address.js.map +1 -0
  824. package/dist/types/callout-response-answer-file-upload.d.ts +9 -0
  825. package/dist/types/callout-response-answer-file-upload.d.ts.map +1 -0
  826. package/dist/types/callout-response-answer-file-upload.js +2 -0
  827. package/dist/types/callout-response-answer-file-upload.js.map +1 -0
  828. package/dist/types/callout-response-answer.d.ts +3 -0
  829. package/dist/types/callout-response-answer.d.ts.map +1 -0
  830. package/dist/types/callout-response-answer.js +2 -0
  831. package/dist/types/callout-response-answer.js.map +1 -0
  832. package/dist/types/callout-response-answers-slide.d.ts +6 -0
  833. package/dist/types/callout-response-answers-slide.d.ts.map +1 -0
  834. package/dist/types/callout-response-answers-slide.js +2 -0
  835. package/dist/types/callout-response-answers-slide.js.map +1 -0
  836. package/dist/types/callout-response-answers.d.ts +6 -0
  837. package/dist/types/callout-response-answers.d.ts.map +1 -0
  838. package/dist/types/callout-response-answers.js +2 -0
  839. package/dist/types/callout-response-answers.js.map +1 -0
  840. package/dist/types/callout-response-comment-data.d.ts +5 -0
  841. package/dist/types/callout-response-comment-data.d.ts.map +1 -0
  842. package/dist/types/callout-response-comment-data.js +2 -0
  843. package/dist/types/callout-response-comment-data.js.map +1 -0
  844. package/dist/types/callout-response-comment-filter-name.d.ts +3 -0
  845. package/dist/types/callout-response-comment-filter-name.d.ts.map +1 -0
  846. package/dist/types/callout-response-comment-filter-name.js +2 -0
  847. package/dist/types/callout-response-comment-filter-name.js.map +1 -0
  848. package/dist/types/callout-response-filter-name.d.ts +3 -0
  849. package/dist/types/callout-response-filter-name.d.ts.map +1 -0
  850. package/dist/types/callout-response-filter-name.js +2 -0
  851. package/dist/types/callout-response-filter-name.js.map +1 -0
  852. package/dist/types/callout-response-guest-data.d.ts +6 -0
  853. package/dist/types/callout-response-guest-data.d.ts.map +1 -0
  854. package/dist/types/callout-response-guest-data.js +2 -0
  855. package/dist/types/callout-response-guest-data.js.map +1 -0
  856. package/dist/types/callout-response-newsletter-data.d.ts +5 -0
  857. package/dist/types/callout-response-newsletter-data.d.ts.map +1 -0
  858. package/dist/types/callout-response-newsletter-data.js +2 -0
  859. package/dist/types/callout-response-newsletter-data.js.map +1 -0
  860. package/dist/types/callout-response-view-schema.d.ts +14 -0
  861. package/dist/types/callout-response-view-schema.d.ts.map +1 -0
  862. package/dist/types/callout-response-view-schema.js +2 -0
  863. package/dist/types/callout-response-view-schema.js.map +1 -0
  864. package/dist/types/callout-reviewer-filter-name.d.ts +3 -0
  865. package/dist/types/callout-reviewer-filter-name.d.ts.map +1 -0
  866. package/dist/types/callout-reviewer-filter-name.js +2 -0
  867. package/dist/types/callout-reviewer-filter-name.js.map +1 -0
  868. package/dist/types/callout-tag-filter-name.d.ts +3 -0
  869. package/dist/types/callout-tag-filter-name.d.ts.map +1 -0
  870. package/dist/types/callout-tag-filter-name.js +2 -0
  871. package/dist/types/callout-tag-filter-name.js.map +1 -0
  872. package/dist/types/callout-variant-data.d.ts +20 -0
  873. package/dist/types/callout-variant-data.d.ts.map +1 -0
  874. package/dist/types/callout-variant-data.js +2 -0
  875. package/dist/types/callout-variant-data.js.map +1 -0
  876. package/dist/types/callout-variant-navigation-data.d.ts +6 -0
  877. package/dist/types/callout-variant-navigation-data.d.ts.map +1 -0
  878. package/dist/types/callout-variant-navigation-data.js +2 -0
  879. package/dist/types/callout-variant-navigation-data.js.map +1 -0
  880. package/dist/types/complete-signup-data.d.ts +7 -0
  881. package/dist/types/complete-signup-data.d.ts.map +1 -0
  882. package/dist/types/complete-signup-data.js +2 -0
  883. package/dist/types/complete-signup-data.js.map +1 -0
  884. package/dist/types/constants.d.ts +78 -0
  885. package/dist/types/contact-data.d.ts +7 -0
  886. package/dist/types/contact-data.d.ts.map +1 -0
  887. package/dist/types/contact-data.js +2 -0
  888. package/dist/types/contact-data.js.map +1 -0
  889. package/dist/types/contact-mfa-data.d.ts +9 -0
  890. package/dist/types/contact-mfa-data.d.ts.map +1 -0
  891. package/dist/types/contact-mfa-data.js +2 -0
  892. package/dist/types/contact-mfa-data.js.map +1 -0
  893. package/dist/types/contact-profile-data.d.ts +14 -0
  894. package/dist/types/contact-profile-data.d.ts.map +1 -0
  895. package/dist/types/contact-profile-data.js +2 -0
  896. package/dist/types/contact-profile-data.js.map +1 -0
  897. package/dist/types/contact-role-data.d.ts +6 -0
  898. package/dist/types/contact-role-data.d.ts.map +1 -0
  899. package/dist/types/contact-role-data.js +2 -0
  900. package/dist/types/contact-role-data.js.map +1 -0
  901. package/dist/types/contact-tag-filter-name.d.ts +3 -0
  902. package/dist/types/contact-tag-filter-name.d.ts.map +1 -0
  903. package/dist/types/contact-tag-filter-name.js +2 -0
  904. package/dist/types/contact-tag-filter-name.js.map +1 -0
  905. package/dist/types/content-contacts-data.d.ts +5 -0
  906. package/dist/types/content-contacts-data.d.ts.map +1 -0
  907. package/dist/types/content-contacts-data.js +2 -0
  908. package/dist/types/content-contacts-data.js.map +1 -0
  909. package/dist/types/content-data.d.ts +3 -0
  910. package/dist/types/content-data.d.ts.map +1 -0
  911. package/dist/types/content-data.js +2 -0
  912. package/dist/types/content-data.js.map +1 -0
  913. package/dist/types/content-email-data.d.ts +6 -0
  914. package/dist/types/content-email-data.d.ts.map +1 -0
  915. package/dist/types/content-email-data.js +2 -0
  916. package/dist/types/content-email-data.js.map +1 -0
  917. package/dist/types/content-general-data.d.ts +36 -0
  918. package/dist/types/content-general-data.d.ts.map +1 -0
  919. package/dist/types/content-general-data.js +2 -0
  920. package/dist/types/content-general-data.js.map +1 -0
  921. package/dist/types/content-id.d.ts +2 -0
  922. package/dist/types/content-id.d.ts.map +1 -0
  923. package/dist/types/content-id.js +2 -0
  924. package/dist/types/content-id.js.map +1 -0
  925. package/dist/types/content-join-data.d.ts +19 -0
  926. package/dist/types/content-join-data.d.ts.map +1 -0
  927. package/dist/types/content-join-data.js +2 -0
  928. package/dist/types/content-join-data.js.map +1 -0
  929. package/dist/types/content-join-period-data.d.ts +6 -0
  930. package/dist/types/content-join-period-data.d.ts.map +1 -0
  931. package/dist/types/content-join-period-data.js +2 -0
  932. package/dist/types/content-join-period-data.js.map +1 -0
  933. package/dist/types/content-join-setup-data.d.ts +17 -0
  934. package/dist/types/content-join-setup-data.d.ts.map +1 -0
  935. package/dist/types/content-join-setup-data.js +2 -0
  936. package/dist/types/content-join-setup-data.js.map +1 -0
  937. package/dist/types/content-payment-data.d.ts +10 -0
  938. package/dist/types/content-payment-data.d.ts.map +1 -0
  939. package/dist/types/content-payment-data.js +2 -0
  940. package/dist/types/content-payment-data.js.map +1 -0
  941. package/dist/types/content-profile-data.d.ts +4 -0
  942. package/dist/types/content-profile-data.d.ts.map +1 -0
  943. package/dist/types/content-profile-data.js +2 -0
  944. package/dist/types/content-profile-data.js.map +1 -0
  945. package/dist/types/content-share-data.d.ts +7 -0
  946. package/dist/types/content-share-data.d.ts.map +1 -0
  947. package/dist/types/content-share-data.js +2 -0
  948. package/dist/types/content-share-data.js.map +1 -0
  949. package/dist/types/content-telegram-data.d.ts +5 -0
  950. package/dist/types/content-telegram-data.d.ts.map +1 -0
  951. package/dist/types/content-telegram-data.js +2 -0
  952. package/dist/types/content-telegram-data.js.map +1 -0
  953. package/dist/types/contribution-info.d.ts +16 -0
  954. package/dist/types/contribution-info.d.ts.map +1 -0
  955. package/dist/types/contribution-info.js +2 -0
  956. package/dist/types/contribution-info.js.map +1 -0
  957. package/dist/types/create-api-key-data.d.ts +5 -0
  958. package/dist/types/create-api-key-data.d.ts.map +1 -0
  959. package/dist/types/create-api-key-data.js +2 -0
  960. package/dist/types/create-api-key-data.js.map +1 -0
  961. package/dist/types/create-callout-data.d.ts +6 -0
  962. package/dist/types/create-callout-data.d.ts.map +1 -0
  963. package/dist/types/create-callout-data.js +2 -0
  964. package/dist/types/create-callout-data.js.map +1 -0
  965. package/dist/types/create-callout-response-comment-data.d.ts +3 -0
  966. package/dist/types/create-callout-response-comment-data.d.ts.map +1 -0
  967. package/dist/types/create-callout-response-comment-data.js +2 -0
  968. package/dist/types/create-callout-response-comment-data.js.map +1 -0
  969. package/dist/types/create-callout-response-data.d.ts +11 -0
  970. package/dist/types/create-callout-response-data.d.ts.map +1 -0
  971. package/dist/types/create-callout-response-data.js +2 -0
  972. package/dist/types/create-callout-response-data.js.map +1 -0
  973. package/dist/types/create-callout-response-segment-data.d.ts +8 -0
  974. package/dist/types/create-callout-response-segment-data.d.ts.map +1 -0
  975. package/dist/types/create-callout-response-segment-data.js +2 -0
  976. package/dist/types/create-callout-response-segment-data.js.map +1 -0
  977. package/dist/types/create-callout-reviewer-data.d.ts +5 -0
  978. package/dist/types/create-callout-reviewer-data.d.ts.map +1 -0
  979. package/dist/types/create-callout-reviewer-data.js +2 -0
  980. package/dist/types/create-callout-reviewer-data.js.map +1 -0
  981. package/dist/types/create-callout-variant-data.d.ts +6 -0
  982. package/dist/types/create-callout-variant-data.d.ts.map +1 -0
  983. package/dist/types/create-callout-variant-data.js +2 -0
  984. package/dist/types/create-callout-variant-data.js.map +1 -0
  985. package/dist/types/create-contact-data.d.ts +9 -0
  986. package/dist/types/create-contact-data.d.ts.map +1 -0
  987. package/dist/types/create-contact-data.js +2 -0
  988. package/dist/types/create-contact-data.js.map +1 -0
  989. package/dist/types/create-contact-mfa-data.d.ts +7 -0
  990. package/dist/types/create-contact-mfa-data.d.ts.map +1 -0
  991. package/dist/types/create-contact-mfa-data.js +2 -0
  992. package/dist/types/create-contact-mfa-data.js.map +1 -0
  993. package/dist/types/create-email-data.d.ts +10 -0
  994. package/dist/types/create-email-data.d.ts.map +1 -0
  995. package/dist/types/create-email-data.js +2 -0
  996. package/dist/types/create-email-data.js.map +1 -0
  997. package/dist/types/create-notice-data.d.ts +3 -0
  998. package/dist/types/create-notice-data.d.ts.map +1 -0
  999. package/dist/types/create-notice-data.js +2 -0
  1000. package/dist/types/create-notice-data.js.map +1 -0
  1001. package/dist/types/create-payment-data.d.ts +8 -0
  1002. package/dist/types/create-payment-data.d.ts.map +1 -0
  1003. package/dist/types/create-payment-data.js +2 -0
  1004. package/dist/types/create-payment-data.js.map +1 -0
  1005. package/dist/types/create-reset-device-data.d.ts +8 -0
  1006. package/dist/types/create-reset-device-data.d.ts.map +1 -0
  1007. package/dist/types/create-reset-device-data.js +2 -0
  1008. package/dist/types/create-reset-device-data.js.map +1 -0
  1009. package/dist/types/create-reset-password-data.d.ts +5 -0
  1010. package/dist/types/create-reset-password-data.d.ts.map +1 -0
  1011. package/dist/types/create-reset-password-data.js +2 -0
  1012. package/dist/types/create-reset-password-data.js.map +1 -0
  1013. package/dist/types/create-segment-data.d.ts +7 -0
  1014. package/dist/types/create-segment-data.d.ts.map +1 -0
  1015. package/dist/types/create-segment-data.js +2 -0
  1016. package/dist/types/create-segment-data.js.map +1 -0
  1017. package/dist/types/data/api-error-code.d.ts +22 -0
  1018. package/dist/types/data/callout-component-input-selectable-types.d.ts +2 -2
  1019. package/dist/types/data/callout-component-input-text-types.d.ts +2 -2
  1020. package/dist/types/data/callout-component-input-types.d.ts +2 -2
  1021. package/dist/types/data/callout-component-nestable-types.d.ts +2 -2
  1022. package/dist/types/data/callout-component-types.d.ts +1 -1
  1023. package/dist/types/data/contact-mfa-type.d.ts +6 -0
  1024. package/dist/types/data/content-ids.d.ts +1 -1
  1025. package/dist/types/data/get-callout-response-with.d.ts +8 -0
  1026. package/dist/types/data/get-contact-with.d.ts +7 -0
  1027. package/dist/types/data/index.d.ts +27 -18
  1028. package/dist/types/data/login-codes.d.ts +13 -0
  1029. package/dist/types/data/payment-method.d.ts +1 -2
  1030. package/dist/types/data/payment-type.d.ts +6 -0
  1031. package/dist/types/data/reset-security-flow-error-code.d.ts +8 -0
  1032. package/dist/types/data/reset-security-flow-type.d.ts +7 -0
  1033. package/dist/types/data/role-type-data.d.ts +5 -0
  1034. package/dist/types/date-unit.d.ts +3 -0
  1035. package/dist/types/date-unit.d.ts.map +1 -0
  1036. package/dist/types/date-unit.js +2 -0
  1037. package/dist/types/date-unit.js.map +1 -0
  1038. package/dist/types/delete-contact-mfa-data.d.ts +6 -0
  1039. package/dist/types/delete-contact-mfa-data.d.ts.map +1 -0
  1040. package/dist/types/delete-contact-mfa-data.js +2 -0
  1041. package/dist/types/delete-contact-mfa-data.js.map +1 -0
  1042. package/dist/types/duration.d.ts +2 -0
  1043. package/dist/types/duration.d.ts.map +1 -0
  1044. package/dist/types/duration.js +2 -0
  1045. package/dist/types/duration.js.map +1 -0
  1046. package/dist/types/email-filter-name.d.ts +3 -0
  1047. package/dist/types/email-filter-name.d.ts.map +1 -0
  1048. package/dist/types/email-filter-name.js +2 -0
  1049. package/dist/types/email-filter-name.js.map +1 -0
  1050. package/dist/types/email-preview-data.d.ts +9 -0
  1051. package/dist/types/email-preview-data.d.ts.map +1 -0
  1052. package/dist/types/email-preview-data.js +2 -0
  1053. package/dist/types/email-preview-data.js.map +1 -0
  1054. package/dist/types/email-template-type.d.ts +2 -0
  1055. package/dist/types/email-template-type.d.ts.map +1 -0
  1056. package/dist/types/email-template-type.js +2 -0
  1057. package/dist/types/email-template-type.js.map +1 -0
  1058. package/dist/types/enum-filter-args.d.ts +6 -0
  1059. package/dist/types/enum-filter-args.d.ts.map +1 -0
  1060. package/dist/types/enum-filter-args.js +2 -0
  1061. package/dist/types/enum-filter-args.js.map +1 -0
  1062. package/dist/types/error/InvalidRule.d.ts +1 -1
  1063. package/dist/types/error/index.d.ts +1 -1
  1064. package/dist/types/feeable.d.ts +8 -0
  1065. package/dist/types/feeable.d.ts.map +1 -0
  1066. package/dist/types/feeable.js +2 -0
  1067. package/dist/types/feeable.js.map +1 -0
  1068. package/dist/types/filter-args.d.ts +3 -0
  1069. package/dist/types/filter-args.d.ts.map +1 -0
  1070. package/dist/types/filter-args.js +2 -0
  1071. package/dist/types/filter-args.js.map +1 -0
  1072. package/dist/types/filter-type.d.ts +2 -0
  1073. package/dist/types/filter-type.d.ts.map +1 -0
  1074. package/dist/types/filter-type.js +2 -0
  1075. package/dist/types/filter-type.js.map +1 -0
  1076. package/dist/types/filters.d.ts +3 -0
  1077. package/dist/types/filters.d.ts.map +1 -0
  1078. package/dist/types/filters.js +2 -0
  1079. package/dist/types/filters.js.map +1 -0
  1080. package/dist/types/footer-link.d.ts +5 -0
  1081. package/dist/types/footer-link.d.ts.map +1 -0
  1082. package/dist/types/footer-link.js +2 -0
  1083. package/dist/types/footer-link.js.map +1 -0
  1084. package/dist/types/force-update-contribution-data.d.ts +9 -0
  1085. package/dist/types/force-update-contribution-data.d.ts.map +1 -0
  1086. package/dist/types/force-update-contribution-data.js +2 -0
  1087. package/dist/types/force-update-contribution-data.js.map +1 -0
  1088. package/dist/types/formio-file.d.ts +14 -0
  1089. package/dist/types/formio-file.d.ts.map +1 -0
  1090. package/dist/types/formio-file.js +2 -0
  1091. package/dist/types/formio-file.js.map +1 -0
  1092. package/dist/types/get-api-key-data.d.ts +9 -0
  1093. package/dist/types/get-api-key-data.d.ts.map +1 -0
  1094. package/dist/types/get-api-key-data.js +2 -0
  1095. package/dist/types/get-api-key-data.js.map +1 -0
  1096. package/dist/types/get-api-keys-query.d.ts +3 -0
  1097. package/dist/types/get-api-keys-query.d.ts.map +1 -0
  1098. package/dist/types/get-api-keys-query.js +2 -0
  1099. package/dist/types/get-api-keys-query.js.map +1 -0
  1100. package/dist/types/get-callout-data-with.d.ts +13 -0
  1101. package/dist/types/get-callout-data-with.d.ts.map +1 -0
  1102. package/dist/types/get-callout-data-with.js +2 -0
  1103. package/dist/types/get-callout-data-with.js.map +1 -0
  1104. package/dist/types/get-callout-data.d.ts +10 -0
  1105. package/dist/types/get-callout-data.d.ts.map +1 -0
  1106. package/dist/types/get-callout-data.js +2 -0
  1107. package/dist/types/get-callout-data.js.map +1 -0
  1108. package/dist/types/get-callout-form-data.d.ts +11 -0
  1109. package/dist/types/get-callout-form-data.d.ts.map +1 -0
  1110. package/dist/types/get-callout-form-data.js +2 -0
  1111. package/dist/types/get-callout-form-data.js.map +1 -0
  1112. package/dist/types/get-callout-form-schema.d.ts +6 -0
  1113. package/dist/types/get-callout-form-schema.d.ts.map +1 -0
  1114. package/dist/types/get-callout-form-schema.js +2 -0
  1115. package/dist/types/get-callout-form-schema.js.map +1 -0
  1116. package/dist/types/get-callout-navigation-schema.d.ts +7 -0
  1117. package/dist/types/get-callout-navigation-schema.d.ts.map +1 -0
  1118. package/dist/types/get-callout-navigation-schema.js +2 -0
  1119. package/dist/types/get-callout-navigation-schema.js.map +1 -0
  1120. package/dist/types/get-callout-response-comment-data.d.ts +8 -0
  1121. package/dist/types/get-callout-response-comment-data.d.ts.map +1 -0
  1122. package/dist/types/get-callout-response-comment-data.js +2 -0
  1123. package/dist/types/get-callout-response-comment-data.js.map +1 -0
  1124. package/dist/types/get-callout-response-comments-query.d.ts +3 -0
  1125. package/dist/types/get-callout-response-comments-query.d.ts.map +1 -0
  1126. package/dist/types/get-callout-response-comments-query.js +2 -0
  1127. package/dist/types/get-callout-response-comments-query.js.map +1 -0
  1128. package/dist/types/get-callout-response-data-with.d.ts +19 -0
  1129. package/dist/types/get-callout-response-data-with.d.ts.map +1 -0
  1130. package/dist/types/get-callout-response-data-with.js +2 -0
  1131. package/dist/types/get-callout-response-data-with.js.map +1 -0
  1132. package/dist/types/get-callout-response-data.d.ts +10 -0
  1133. package/dist/types/get-callout-response-data.d.ts.map +1 -0
  1134. package/dist/types/get-callout-response-data.js +2 -0
  1135. package/dist/types/get-callout-response-data.js.map +1 -0
  1136. package/dist/types/get-callout-response-map-data.d.ts +9 -0
  1137. package/dist/types/get-callout-response-map-data.d.ts.map +1 -0
  1138. package/dist/types/get-callout-response-map-data.js +2 -0
  1139. package/dist/types/get-callout-response-map-data.js.map +1 -0
  1140. package/dist/types/get-callout-responses-query.d.ts +3 -0
  1141. package/dist/types/get-callout-responses-query.d.ts.map +1 -0
  1142. package/dist/types/get-callout-responses-query.js +2 -0
  1143. package/dist/types/get-callout-responses-query.js.map +1 -0
  1144. package/dist/types/get-callout-reviewer-data.d.ts +7 -0
  1145. package/dist/types/get-callout-reviewer-data.d.ts.map +1 -0
  1146. package/dist/types/get-callout-reviewer-data.js +2 -0
  1147. package/dist/types/get-callout-reviewer-data.js.map +1 -0
  1148. package/dist/types/get-callout-slide-schema.d.ts +5 -0
  1149. package/dist/types/get-callout-slide-schema.d.ts.map +1 -0
  1150. package/dist/types/get-callout-slide-schema.js +2 -0
  1151. package/dist/types/get-callout-slide-schema.js.map +1 -0
  1152. package/dist/types/get-callout-with.d.ts +2 -0
  1153. package/dist/types/get-callout-with.d.ts.map +1 -0
  1154. package/dist/types/get-callout-with.js +2 -0
  1155. package/dist/types/get-callout-with.js.map +1 -0
  1156. package/dist/types/get-callouts-query.d.ts +3 -0
  1157. package/dist/types/get-callouts-query.d.ts.map +1 -0
  1158. package/dist/types/get-callouts-query.js +2 -0
  1159. package/dist/types/get-callouts-query.js.map +1 -0
  1160. package/dist/types/get-contact-data-with.d.ts +17 -0
  1161. package/dist/types/get-contact-data-with.d.ts.map +1 -0
  1162. package/dist/types/get-contact-data-with.js +2 -0
  1163. package/dist/types/get-contact-data-with.js.map +1 -0
  1164. package/dist/types/get-contact-data.d.ts +11 -0
  1165. package/dist/types/get-contact-data.d.ts.map +1 -0
  1166. package/dist/types/get-contact-data.js +2 -0
  1167. package/dist/types/get-contact-data.js.map +1 -0
  1168. package/dist/types/get-contact-mfa-data.d.ts +3 -0
  1169. package/dist/types/get-contact-mfa-data.d.ts.map +1 -0
  1170. package/dist/types/get-contact-mfa-data.js +2 -0
  1171. package/dist/types/get-contact-mfa-data.js.map +1 -0
  1172. package/dist/types/get-contacts-query.d.ts +3 -0
  1173. package/dist/types/get-contacts-query.d.ts.map +1 -0
  1174. package/dist/types/get-contacts-query.js +2 -0
  1175. package/dist/types/get-contacts-query.js.map +1 -0
  1176. package/dist/types/get-email-data.d.ts +28 -0
  1177. package/dist/types/get-email-data.d.ts.map +1 -0
  1178. package/dist/types/get-email-data.js +2 -0
  1179. package/dist/types/get-email-data.js.map +1 -0
  1180. package/dist/types/get-email-template-info-data.d.ts +16 -0
  1181. package/dist/types/get-email-template-info-data.d.ts.map +1 -0
  1182. package/dist/types/get-email-template-info-data.js +2 -0
  1183. package/dist/types/get-email-template-info-data.js.map +1 -0
  1184. package/dist/types/get-notice-data.d.ts +9 -0
  1185. package/dist/types/get-notice-data.d.ts.map +1 -0
  1186. package/dist/types/get-notice-data.js +2 -0
  1187. package/dist/types/get-notice-data.js.map +1 -0
  1188. package/dist/types/get-notices-query.d.ts +3 -0
  1189. package/dist/types/get-notices-query.d.ts.map +1 -0
  1190. package/dist/types/get-notices-query.js +2 -0
  1191. package/dist/types/get-notices-query.js.map +1 -0
  1192. package/dist/types/get-payment-aggregation-data.d.ts +5 -0
  1193. package/dist/types/get-payment-aggregation-data.d.ts.map +1 -0
  1194. package/dist/types/get-payment-aggregation-data.js +2 -0
  1195. package/dist/types/get-payment-aggregation-data.js.map +1 -0
  1196. package/dist/types/get-payment-data-with.d.ts +5 -0
  1197. package/dist/types/get-payment-data-with.d.ts.map +1 -0
  1198. package/dist/types/get-payment-data-with.js +2 -0
  1199. package/dist/types/get-payment-data-with.js.map +1 -0
  1200. package/dist/types/get-payment-data.d.ts +9 -0
  1201. package/dist/types/get-payment-data.d.ts.map +1 -0
  1202. package/dist/types/get-payment-data.js +2 -0
  1203. package/dist/types/get-payment-data.js.map +1 -0
  1204. package/dist/types/get-payment-with.d.ts +2 -0
  1205. package/dist/types/get-payment-with.d.ts.map +1 -0
  1206. package/dist/types/get-payment-with.js +2 -0
  1207. package/dist/types/get-payment-with.js.map +1 -0
  1208. package/dist/types/get-payments-aggregation-query.d.ts +5 -0
  1209. package/dist/types/get-payments-aggregation-query.d.ts.map +1 -0
  1210. package/dist/types/get-payments-aggregation-query.js +2 -0
  1211. package/dist/types/get-payments-aggregation-query.js.map +1 -0
  1212. package/dist/types/get-payments-query.d.ts +3 -0
  1213. package/dist/types/get-payments-query.d.ts.map +1 -0
  1214. package/dist/types/get-payments-query.js +2 -0
  1215. package/dist/types/get-payments-query.js.map +1 -0
  1216. package/dist/types/get-segment-data-with.d.ts +5 -0
  1217. package/dist/types/get-segment-data-with.d.ts.map +1 -0
  1218. package/dist/types/get-segment-data-with.js +2 -0
  1219. package/dist/types/get-segment-data-with.js.map +1 -0
  1220. package/dist/types/get-segment-data.d.ts +8 -0
  1221. package/dist/types/get-segment-data.d.ts.map +1 -0
  1222. package/dist/types/get-segment-data.js +2 -0
  1223. package/dist/types/get-segment-data.js.map +1 -0
  1224. package/dist/types/get-segment-with.d.ts +2 -0
  1225. package/dist/types/get-segment-with.d.ts.map +1 -0
  1226. package/dist/types/get-segment-with.js +2 -0
  1227. package/dist/types/get-segment-with.js.map +1 -0
  1228. package/dist/types/get-segments-query.d.ts +3 -0
  1229. package/dist/types/get-segments-query.d.ts.map +1 -0
  1230. package/dist/types/get-segments-query.js +2 -0
  1231. package/dist/types/get-segments-query.js.map +1 -0
  1232. package/dist/types/get-stats-data.d.ts +6 -0
  1233. package/dist/types/get-stats-data.d.ts.map +1 -0
  1234. package/dist/types/get-stats-data.js +2 -0
  1235. package/dist/types/get-stats-data.js.map +1 -0
  1236. package/dist/types/get-stats-query.d.ts +5 -0
  1237. package/dist/types/get-stats-query.d.ts.map +1 -0
  1238. package/dist/types/get-stats-query.js +2 -0
  1239. package/dist/types/get-stats-query.js.map +1 -0
  1240. package/dist/types/health-check-data.d.ts +11 -0
  1241. package/dist/types/health-check-data.d.ts.map +1 -0
  1242. package/dist/types/health-check-data.js +2 -0
  1243. package/dist/types/health-check-data.js.map +1 -0
  1244. package/dist/types/index.d.cts +1 -1
  1245. package/dist/types/index.d.ts +236 -6
  1246. package/dist/types/index.d.ts.map +1 -0
  1247. package/dist/types/index.js +2 -0
  1248. package/dist/types/index.js.map +1 -0
  1249. package/dist/types/list-emails-query.d.ts +3 -0
  1250. package/dist/types/list-emails-query.d.ts.map +1 -0
  1251. package/dist/types/list-emails-query.js +2 -0
  1252. package/dist/types/list-emails-query.js.map +1 -0
  1253. package/dist/types/login-data.d.ts +7 -0
  1254. package/dist/types/login-data.d.ts.map +1 -0
  1255. package/dist/types/login-data.js +2 -0
  1256. package/dist/types/login-data.js.map +1 -0
  1257. package/dist/types/newsletter-group-data.d.ts +6 -0
  1258. package/dist/types/newsletter-group-data.d.ts.map +1 -0
  1259. package/dist/types/newsletter-group-data.js +2 -0
  1260. package/dist/types/newsletter-group-data.js.map +1 -0
  1261. package/dist/types/noop.d.ts +6 -0
  1262. package/dist/types/noop.d.ts.map +1 -0
  1263. package/dist/types/noop.js +2 -0
  1264. package/dist/types/noop.js.map +1 -0
  1265. package/dist/types/notice-data.d.ts +9 -0
  1266. package/dist/types/notice-data.d.ts.map +1 -0
  1267. package/dist/types/notice-data.js +2 -0
  1268. package/dist/types/notice-data.js.map +1 -0
  1269. package/dist/types/notice-filter-name.d.ts +3 -0
  1270. package/dist/types/notice-filter-name.d.ts.map +1 -0
  1271. package/dist/types/notice-filter-name.js +2 -0
  1272. package/dist/types/notice-filter-name.js.map +1 -0
  1273. package/dist/types/ongoing-email-fields.d.ts +11 -0
  1274. package/dist/types/ongoing-email-fields.d.ts.map +1 -0
  1275. package/dist/types/ongoing-email-fields.js +2 -0
  1276. package/dist/types/ongoing-email-fields.js.map +1 -0
  1277. package/dist/types/operators-by-type.d.ts +3 -0
  1278. package/dist/types/operators-by-type.d.ts.map +1 -0
  1279. package/dist/types/operators-by-type.js +2 -0
  1280. package/dist/types/operators-by-type.js.map +1 -0
  1281. package/dist/types/other-filter-args.d.ts +5 -0
  1282. package/dist/types/other-filter-args.d.ts.map +1 -0
  1283. package/dist/types/other-filter-args.js +2 -0
  1284. package/dist/types/other-filter-args.js.map +1 -0
  1285. package/dist/types/paginated-query.d.ts +9 -0
  1286. package/dist/types/paginated-query.d.ts.map +1 -0
  1287. package/dist/types/paginated-query.js +2 -0
  1288. package/dist/types/paginated-query.js.map +1 -0
  1289. package/dist/types/paginated.d.ts +7 -0
  1290. package/dist/types/paginated.d.ts.map +1 -0
  1291. package/dist/types/paginated.js +2 -0
  1292. package/dist/types/paginated.js.map +1 -0
  1293. package/dist/types/parse-iso-options.d.ts +8 -0
  1294. package/dist/types/parse-iso-options.d.ts.map +1 -0
  1295. package/dist/types/parse-iso-options.js +2 -0
  1296. package/dist/types/parse-iso-options.js.map +1 -0
  1297. package/dist/types/payment-filter-name.d.ts +3 -0
  1298. package/dist/types/payment-filter-name.d.ts.map +1 -0
  1299. package/dist/types/payment-filter-name.js +2 -0
  1300. package/dist/types/payment-filter-name.js.map +1 -0
  1301. package/dist/types/payment-flow-params.d.ts +14 -0
  1302. package/dist/types/payment-flow-params.d.ts.map +1 -0
  1303. package/dist/types/payment-flow-params.js +2 -0
  1304. package/dist/types/payment-flow-params.js.map +1 -0
  1305. package/dist/types/payment-flow-result.d.ts +5 -0
  1306. package/dist/types/payment-flow-result.d.ts.map +1 -0
  1307. package/dist/types/payment-flow-result.js +2 -0
  1308. package/dist/types/payment-flow-result.js.map +1 -0
  1309. package/dist/types/payment-period.d.ts +3 -0
  1310. package/dist/types/payment-period.d.ts.map +1 -0
  1311. package/dist/types/payment-period.js +2 -0
  1312. package/dist/types/payment-period.js.map +1 -0
  1313. package/dist/types/payment-source-base.d.ts +5 -0
  1314. package/dist/types/payment-source-base.d.ts.map +1 -0
  1315. package/dist/types/payment-source-base.js +2 -0
  1316. package/dist/types/payment-source-base.js.map +1 -0
  1317. package/dist/types/payment-source-go-cardless-direct-debit.d.ts +9 -0
  1318. package/dist/types/payment-source-go-cardless-direct-debit.d.ts.map +1 -0
  1319. package/dist/types/payment-source-go-cardless-direct-debit.js +2 -0
  1320. package/dist/types/payment-source-go-cardless-direct-debit.js.map +1 -0
  1321. package/dist/types/payment-source-manual.d.ts +7 -0
  1322. package/dist/types/payment-source-manual.d.ts.map +1 -0
  1323. package/dist/types/payment-source-manual.js +2 -0
  1324. package/dist/types/payment-source-manual.js.map +1 -0
  1325. package/dist/types/payment-source-stripe-bacs.d.ts +8 -0
  1326. package/dist/types/payment-source-stripe-bacs.d.ts.map +1 -0
  1327. package/dist/types/payment-source-stripe-bacs.js +2 -0
  1328. package/dist/types/payment-source-stripe-bacs.js.map +1 -0
  1329. package/dist/types/payment-source-stripe-card.d.ts +16 -0
  1330. package/dist/types/payment-source-stripe-card.d.ts.map +1 -0
  1331. package/dist/types/payment-source-stripe-card.js +2 -0
  1332. package/dist/types/payment-source-stripe-card.js.map +1 -0
  1333. package/dist/types/payment-source-stripe-paypal.d.ts +8 -0
  1334. package/dist/types/payment-source-stripe-paypal.d.ts.map +1 -0
  1335. package/dist/types/payment-source-stripe-paypal.js +2 -0
  1336. package/dist/types/payment-source-stripe-paypal.js.map +1 -0
  1337. package/dist/types/payment-source-stripe-sepa.d.ts +10 -0
  1338. package/dist/types/payment-source-stripe-sepa.d.ts.map +1 -0
  1339. package/dist/types/payment-source-stripe-sepa.js +2 -0
  1340. package/dist/types/payment-source-stripe-sepa.js.map +1 -0
  1341. package/dist/types/payment-source.d.ts +3 -0
  1342. package/dist/types/payment-source.d.ts.map +1 -0
  1343. package/dist/types/payment-source.js +2 -0
  1344. package/dist/types/payment-source.js.map +1 -0
  1345. package/dist/types/role-type.d.ts +3 -0
  1346. package/dist/types/role-type.d.ts.map +1 -0
  1347. package/dist/types/role-type.js +2 -0
  1348. package/dist/types/role-type.js.map +1 -0
  1349. package/dist/types/rule-group.d.ts +6 -0
  1350. package/dist/types/rule-group.d.ts.map +1 -0
  1351. package/dist/types/rule-group.js +2 -0
  1352. package/dist/types/rule-group.js.map +1 -0
  1353. package/dist/types/rule-operator.d.ts +3 -0
  1354. package/dist/types/rule-operator.d.ts.map +1 -0
  1355. package/dist/types/rule-operator.js +2 -0
  1356. package/dist/types/rule-operator.js.map +1 -0
  1357. package/dist/types/rule-opperator-params.d.ts +4 -0
  1358. package/dist/types/rule-opperator-params.d.ts.map +1 -0
  1359. package/dist/types/rule-opperator-params.js +2 -0
  1360. package/dist/types/rule-opperator-params.js.map +1 -0
  1361. package/dist/types/rule-value.d.ts +2 -0
  1362. package/dist/types/rule-value.d.ts.map +1 -0
  1363. package/dist/types/rule-value.js +2 -0
  1364. package/dist/types/rule-value.js.map +1 -0
  1365. package/dist/types/rule.d.ts +7 -0
  1366. package/dist/types/rule.d.ts.map +1 -0
  1367. package/dist/types/rule.js +2 -0
  1368. package/dist/types/rule.js.map +1 -0
  1369. package/dist/types/s3-metadata.d.ts +15 -0
  1370. package/dist/types/s3-metadata.d.ts.map +1 -0
  1371. package/dist/types/s3-metadata.js +2 -0
  1372. package/dist/types/s3-metadata.js.map +1 -0
  1373. package/dist/types/search/callouts.d.ts +30 -3
  1374. package/dist/types/search/contacts.d.ts +37 -6
  1375. package/dist/types/search/emails.d.ts +29 -0
  1376. package/dist/types/search/index.d.ts +9 -7
  1377. package/dist/types/search/notices.d.ts +2 -2
  1378. package/dist/types/search/operators.d.ts +65 -118
  1379. package/dist/types/search/payments.d.ts +7 -2
  1380. package/dist/types/search/tags.d.ts +12 -0
  1381. package/dist/types/segment-filter-name.d.ts +3 -0
  1382. package/dist/types/segment-filter-name.d.ts.map +1 -0
  1383. package/dist/types/segment-filter-name.js +2 -0
  1384. package/dist/types/segment-filter-name.js.map +1 -0
  1385. package/dist/types/segment-ongoing-email-trigger.d.ts +7 -0
  1386. package/dist/types/segment-ongoing-email-trigger.d.ts.map +1 -0
  1387. package/dist/types/segment-ongoing-email-trigger.js +2 -0
  1388. package/dist/types/segment-ongoing-email-trigger.js.map +1 -0
  1389. package/dist/types/serial.d.ts +4 -0
  1390. package/dist/types/serial.d.ts.map +1 -0
  1391. package/dist/types/serial.js +2 -0
  1392. package/dist/types/serial.js.map +1 -0
  1393. package/dist/types/set-callout-form-schema.d.ts +5 -0
  1394. package/dist/types/set-callout-form-schema.d.ts.map +1 -0
  1395. package/dist/types/set-callout-form-schema.js +2 -0
  1396. package/dist/types/set-callout-form-schema.js.map +1 -0
  1397. package/dist/types/set-callout-navigation-schema.d.ts +4 -0
  1398. package/dist/types/set-callout-navigation-schema.d.ts.map +1 -0
  1399. package/dist/types/set-callout-navigation-schema.js +2 -0
  1400. package/dist/types/set-callout-navigation-schema.js.map +1 -0
  1401. package/dist/types/set-callout-slide-schema.d.ts +8 -0
  1402. package/dist/types/set-callout-slide-schema.d.ts.map +1 -0
  1403. package/dist/types/set-callout-slide-schema.js +2 -0
  1404. package/dist/types/set-callout-slide-schema.js.map +1 -0
  1405. package/dist/types/set-contribution-data.d.ts +8 -0
  1406. package/dist/types/set-contribution-data.d.ts.map +1 -0
  1407. package/dist/types/set-contribution-data.js +2 -0
  1408. package/dist/types/set-contribution-data.js.map +1 -0
  1409. package/dist/types/signup-data.d.ts +7 -0
  1410. package/dist/types/signup-data.d.ts.map +1 -0
  1411. package/dist/types/signup-data.js +2 -0
  1412. package/dist/types/signup-data.js.map +1 -0
  1413. package/dist/types/start-contribution-data.d.ts +7 -0
  1414. package/dist/types/start-contribution-data.d.ts.map +1 -0
  1415. package/dist/types/start-contribution-data.js +2 -0
  1416. package/dist/types/start-contribution-data.js.map +1 -0
  1417. package/dist/types/stripe-fee-country.d.ts +2 -0
  1418. package/dist/types/stripe-fee-country.d.ts.map +1 -0
  1419. package/dist/types/stripe-fee-country.js +2 -0
  1420. package/dist/types/stripe-fee-country.js.map +1 -0
  1421. package/dist/types/tag-create-data.d.ts +3 -0
  1422. package/dist/types/tag-create-data.d.ts.map +1 -0
  1423. package/dist/types/tag-create-data.js +2 -0
  1424. package/dist/types/tag-create-data.js.map +1 -0
  1425. package/dist/types/tag-data.d.ts +6 -0
  1426. package/dist/types/tag-data.d.ts.map +1 -0
  1427. package/dist/types/tag-data.js +2 -0
  1428. package/dist/types/tag-data.js.map +1 -0
  1429. package/dist/types/tag-get-data.d.ts +3 -0
  1430. package/dist/types/tag-get-data.d.ts.map +1 -0
  1431. package/dist/types/tag-get-data.js +2 -0
  1432. package/dist/types/tag-get-data.js.map +1 -0
  1433. package/dist/types/tag-update-data.d.ts +3 -0
  1434. package/dist/types/tag-update-data.d.ts.map +1 -0
  1435. package/dist/types/tag-update-data.js +2 -0
  1436. package/dist/types/tag-update-data.js.map +1 -0
  1437. package/dist/types/text-case.d.ts +2 -0
  1438. package/dist/types/text-case.d.ts.map +1 -0
  1439. package/dist/types/text-case.js +2 -0
  1440. package/dist/types/text-case.js.map +1 -0
  1441. package/dist/types/types/api-error-data.d.ts +111 -0
  1442. package/dist/types/types/api-key-filter-name.d.ts +1 -1
  1443. package/dist/types/types/array-filter-args.d.ts +2 -2
  1444. package/dist/types/types/auth-info-data.d.ts +24 -0
  1445. package/dist/types/types/base-filter-args.d.ts +1 -1
  1446. package/dist/types/types/base-validated-rule.d.ts +2 -2
  1447. package/dist/types/types/callout-channel-filter-name.d.ts +1 -1
  1448. package/dist/types/types/callout-component-base-input-schema.d.ts +2 -2
  1449. package/dist/types/types/callout-component-base-input-selectable-schema.d.ts +2 -2
  1450. package/dist/types/types/callout-component-base-input-text-schema.d.ts +2 -2
  1451. package/dist/types/types/callout-component-base-map.d.ts +2 -2
  1452. package/dist/types/types/callout-component-base-nestable-schema.d.ts +2 -2
  1453. package/dist/types/types/callout-component-base-schema.d.ts +2 -2
  1454. package/dist/types/types/callout-component-content-schema.d.ts +2 -2
  1455. package/dist/types/types/callout-component-input-address-rules.d.ts +1 -1
  1456. package/dist/types/types/callout-component-input-address-schema.d.ts +2 -2
  1457. package/dist/types/types/callout-component-input-checkbox-rules.d.ts +1 -1
  1458. package/dist/types/types/callout-component-input-checkbox-schema.d.ts +2 -2
  1459. package/dist/types/types/callout-component-input-currency-rules.d.ts +1 -1
  1460. package/dist/types/types/callout-component-input-currency-schema.d.ts +2 -2
  1461. package/dist/types/types/callout-component-input-date-time-rules.d.ts +1 -1
  1462. package/dist/types/types/callout-component-input-date-time-schema.d.ts +3 -3
  1463. package/dist/types/types/callout-component-input-email-rules.d.ts +1 -1
  1464. package/dist/types/types/callout-component-input-email-schema.d.ts +2 -2
  1465. package/dist/types/types/callout-component-input-file-rules.d.ts +1 -1
  1466. package/dist/types/types/callout-component-input-file-schema.d.ts +2 -2
  1467. package/dist/types/types/callout-component-input-number-rules.d.ts +2 -2
  1468. package/dist/types/types/callout-component-input-number-schema.d.ts +2 -2
  1469. package/dist/types/types/callout-component-input-phone-number-rules.d.ts +1 -1
  1470. package/dist/types/types/callout-component-input-phone-number-schema.d.ts +2 -2
  1471. package/dist/types/types/callout-component-input-schema.d.ts +1 -1
  1472. package/dist/types/types/callout-component-input-select-rules.d.ts +1 -1
  1473. package/dist/types/types/callout-component-input-select-schema.d.ts +2 -2
  1474. package/dist/types/types/callout-component-input-selectable-radio-rules.d.ts +1 -1
  1475. package/dist/types/types/callout-component-input-selectable-radio-schema.d.ts +2 -2
  1476. package/dist/types/types/callout-component-input-selectable-schema.d.ts +1 -1
  1477. package/dist/types/types/callout-component-input-selectable-selectboxes-rules.d.ts +1 -1
  1478. package/dist/types/types/callout-component-input-selectable-selectboxes-schema.d.ts +2 -2
  1479. package/dist/types/types/callout-component-input-signature-rules.d.ts +1 -1
  1480. package/dist/types/types/callout-component-input-signature-schema.d.ts +2 -2
  1481. package/dist/types/types/callout-component-input-text-area-schema.d.ts +2 -2
  1482. package/dist/types/types/callout-component-input-text-field-schema.d.ts +2 -2
  1483. package/dist/types/types/callout-component-input-text-rules.d.ts +1 -1
  1484. package/dist/types/types/callout-component-input-text-schema.d.ts +1 -1
  1485. package/dist/types/types/callout-component-input-time-rules.d.ts +1 -1
  1486. package/dist/types/types/callout-component-input-time-schema.d.ts +2 -2
  1487. package/dist/types/types/callout-component-input-url-rules.d.ts +1 -1
  1488. package/dist/types/types/callout-component-input-url-schema.d.ts +2 -2
  1489. package/dist/types/types/callout-component-map.d.ts +2 -2
  1490. package/dist/types/types/callout-component-nestable-panel-schema.d.ts +2 -2
  1491. package/dist/types/types/callout-component-nestable-schema.d.ts +1 -1
  1492. package/dist/types/types/callout-component-nestable-tabs-schema.d.ts +2 -2
  1493. package/dist/types/types/callout-component-nestable-well-schema.d.ts +2 -2
  1494. package/dist/types/types/callout-component-schema.d.ts +1 -1
  1495. package/dist/types/types/callout-data.d.ts +4 -2
  1496. package/dist/types/types/callout-filter-name.d.ts +1 -1
  1497. package/dist/types/types/callout-map-schema-icon-styling-answer-icon-definition.d.ts +4 -0
  1498. package/dist/types/types/callout-map-schema-icon-styling-answer-icon.d.ts +5 -0
  1499. package/dist/types/types/callout-map-schema-icon-styling-answer.d.ts +2 -0
  1500. package/dist/types/types/callout-map-schema-icon-styling.d.ts +2 -0
  1501. package/dist/types/types/callout-map-schema.d.ts +9 -0
  1502. package/dist/types/types/callout-newsletter-schema.d.ts +7 -0
  1503. package/dist/types/types/callout-response-answer-address.d.ts +8 -0
  1504. package/dist/types/types/callout-response-answer-file-upload.d.ts +5 -0
  1505. package/dist/types/types/callout-response-answer.d.ts +1 -1
  1506. package/dist/types/types/callout-response-answers-slide.d.ts +1 -1
  1507. package/dist/types/types/callout-response-answers.d.ts +1 -1
  1508. package/dist/types/types/callout-response-comment-data.d.ts +1 -1
  1509. package/dist/types/types/callout-response-comment-filter-name.d.ts +1 -1
  1510. package/dist/types/types/callout-response-filter-name.d.ts +1 -1
  1511. package/dist/types/types/callout-response-guest-data.d.ts +5 -0
  1512. package/dist/types/types/callout-response-newsletter-data.d.ts +4 -0
  1513. package/dist/types/types/callout-response-view-schema.d.ts +1 -1
  1514. package/dist/types/types/callout-reviewer-filter-name.d.ts +2 -0
  1515. package/dist/types/types/callout-tag-filter-name.d.ts +1 -1
  1516. package/dist/types/types/callout-variant-data.d.ts +7 -1
  1517. package/dist/types/types/complete-signup-data.d.ts +6 -0
  1518. package/dist/types/types/contact-mfa-data.d.ts +8 -0
  1519. package/dist/types/types/contact-profile-data.d.ts +2 -3
  1520. package/dist/types/types/contact-role-data.d.ts +2 -1
  1521. package/dist/types/types/contact-tag-filter-name.d.ts +2 -0
  1522. package/dist/types/types/content-data.d.ts +2 -2
  1523. package/dist/types/types/content-general-data.d.ts +19 -2
  1524. package/dist/types/types/content-id.d.ts +1 -1
  1525. package/dist/types/types/content-join-data.d.ts +3 -3
  1526. package/dist/types/types/content-join-period-data.d.ts +2 -2
  1527. package/dist/types/types/content-join-setup-data.d.ts +2 -0
  1528. package/dist/types/types/content-payment-data.d.ts +5 -3
  1529. package/dist/types/types/contribution-info.d.ts +2 -2
  1530. package/dist/types/types/create-callout-data.d.ts +2 -2
  1531. package/dist/types/types/create-callout-response-comment-data.d.ts +1 -1
  1532. package/dist/types/types/create-callout-response-data.d.ts +4 -3
  1533. package/dist/types/types/create-callout-response-segment-data.d.ts +7 -0
  1534. package/dist/types/types/create-callout-reviewer-data.d.ts +4 -0
  1535. package/dist/types/types/create-callout-variant-data.d.ts +5 -0
  1536. package/dist/types/types/create-contact-data.d.ts +1 -1
  1537. package/dist/types/types/create-contact-mfa-data.d.ts +6 -0
  1538. package/dist/types/types/create-email-data.d.ts +9 -0
  1539. package/dist/types/types/create-notice-data.d.ts +1 -1
  1540. package/dist/types/types/create-payment-data.d.ts +7 -0
  1541. package/dist/types/types/create-reset-device-data.d.ts +7 -0
  1542. package/dist/types/types/create-reset-password-data.d.ts +4 -0
  1543. package/dist/types/types/create-segment-data.d.ts +1 -1
  1544. package/dist/types/types/date-unit.d.ts +1 -1
  1545. package/dist/types/types/delete-contact-mfa-data.d.ts +5 -0
  1546. package/dist/types/types/duration.d.ts +1 -1
  1547. package/dist/types/types/email-filter-name.d.ts +2 -0
  1548. package/dist/types/types/email-preview-data.d.ts +8 -0
  1549. package/dist/types/types/email-template-type.d.ts +1 -0
  1550. package/dist/types/types/enum-filter-args.d.ts +2 -2
  1551. package/dist/types/types/feeable.d.ts +3 -2
  1552. package/dist/types/types/filter-args.d.ts +1 -1
  1553. package/dist/types/types/filter-type.d.ts +1 -1
  1554. package/dist/types/types/filters.d.ts +1 -1
  1555. package/dist/types/types/force-update-contribution-data.d.ts +1 -1
  1556. package/dist/types/types/formio-file.d.ts +13 -0
  1557. package/dist/types/types/get-api-key-data.d.ts +1 -1
  1558. package/dist/types/types/get-api-keys-query.d.ts +1 -1
  1559. package/dist/types/types/get-callout-data-with.d.ts +9 -5
  1560. package/dist/types/types/get-callout-data.d.ts +2 -2
  1561. package/dist/types/types/get-callout-form-data.d.ts +1 -1
  1562. package/dist/types/types/get-callout-form-schema.d.ts +1 -1
  1563. package/dist/types/types/get-callout-navigation-schema.d.ts +1 -1
  1564. package/dist/types/types/get-callout-response-comment-data.d.ts +1 -1
  1565. package/dist/types/types/get-callout-response-comments-query.d.ts +1 -1
  1566. package/dist/types/types/get-callout-response-data-with.d.ts +9 -8
  1567. package/dist/types/types/get-callout-response-map-data.d.ts +2 -2
  1568. package/dist/types/types/get-callout-responses-query.d.ts +1 -1
  1569. package/dist/types/types/get-callout-reviewer-data.d.ts +6 -0
  1570. package/dist/types/types/get-callout-slide-schema.d.ts +1 -1
  1571. package/dist/types/types/get-callout-with.d.ts +1 -1
  1572. package/dist/types/types/get-callouts-query.d.ts +1 -1
  1573. package/dist/types/types/get-contact-data-with.d.ts +12 -4
  1574. package/dist/types/types/get-contact-data.d.ts +2 -2
  1575. package/dist/types/types/get-contact-mfa-data.d.ts +2 -0
  1576. package/dist/types/types/get-contacts-query.d.ts +1 -1
  1577. package/dist/types/types/get-email-data.d.ts +23 -0
  1578. package/dist/types/types/get-email-template-info-data.d.ts +15 -0
  1579. package/dist/types/types/get-notice-data.d.ts +2 -2
  1580. package/dist/types/types/get-notices-query.d.ts +1 -1
  1581. package/dist/types/types/get-payment-aggregation-data.d.ts +4 -0
  1582. package/dist/types/types/get-payment-data-with.d.ts +2 -2
  1583. package/dist/types/types/get-payment-data.d.ts +3 -1
  1584. package/dist/types/types/get-payment-with.d.ts +1 -1
  1585. package/dist/types/types/get-payments-aggregation-query.d.ts +4 -0
  1586. package/dist/types/types/get-payments-query.d.ts +1 -1
  1587. package/dist/types/types/get-segment-data-with.d.ts +3 -3
  1588. package/dist/types/types/get-segment-data.d.ts +1 -1
  1589. package/dist/types/types/get-segment-with.d.ts +1 -1
  1590. package/dist/types/types/get-segments-query.d.ts +2 -0
  1591. package/dist/types/types/health-check-data.d.ts +10 -0
  1592. package/dist/types/types/index.d.ts +235 -190
  1593. package/dist/types/types/list-emails-query.d.ts +2 -0
  1594. package/dist/types/types/login-data.d.ts +6 -0
  1595. package/dist/types/types/newsletter-group-data.d.ts +5 -0
  1596. package/dist/types/types/notice-filter-name.d.ts +1 -1
  1597. package/dist/types/types/ongoing-email-fields.d.ts +10 -0
  1598. package/dist/types/types/operators-by-type.d.ts +1 -1
  1599. package/dist/types/types/other-filter-args.d.ts +2 -2
  1600. package/dist/types/types/paginated-query.d.ts +2 -2
  1601. package/dist/types/types/payment-filter-name.d.ts +1 -1
  1602. package/dist/types/types/payment-flow-params.d.ts +13 -0
  1603. package/dist/types/types/payment-flow-result.d.ts +4 -0
  1604. package/dist/types/types/payment-period.d.ts +2 -0
  1605. package/dist/types/types/payment-source-base.d.ts +1 -1
  1606. package/dist/types/types/payment-source-go-cardless-direct-debit.d.ts +2 -2
  1607. package/dist/types/types/payment-source-manual.d.ts +1 -1
  1608. package/dist/types/types/payment-source-stripe-bacs.d.ts +2 -2
  1609. package/dist/types/types/payment-source-stripe-card.d.ts +2 -2
  1610. package/dist/types/types/payment-source-stripe-paypal.d.ts +2 -2
  1611. package/dist/types/types/payment-source-stripe-sepa.d.ts +2 -2
  1612. package/dist/types/types/payment-source.d.ts +1 -1
  1613. package/dist/types/types/role-type.d.ts +1 -1
  1614. package/dist/types/types/rule-group.d.ts +2 -2
  1615. package/dist/types/types/rule-operator.d.ts +1 -1
  1616. package/dist/types/types/rule.d.ts +1 -1
  1617. package/dist/types/types/s3-metadata.d.ts +14 -0
  1618. package/dist/types/types/segment-filter-name.d.ts +1 -1
  1619. package/dist/types/types/segment-ongoing-email-trigger.d.ts +6 -0
  1620. package/dist/types/types/set-callout-form-schema.d.ts +1 -1
  1621. package/dist/types/types/set-callout-slide-schema.d.ts +1 -1
  1622. package/dist/types/types/set-contribution-data.d.ts +1 -1
  1623. package/dist/types/types/signup-data.d.ts +6 -0
  1624. package/dist/types/types/start-contribution-data.d.ts +3 -2
  1625. package/dist/types/types/stripe-fee-country.d.ts +1 -1
  1626. package/dist/types/types/tag-create-data.d.ts +2 -0
  1627. package/dist/types/types/{create-callout-tag-data.d.ts → tag-data.d.ts} +2 -1
  1628. package/dist/types/types/tag-get-data.d.ts +2 -0
  1629. package/dist/types/types/tag-update-data.d.ts +2 -0
  1630. package/dist/types/types/text-case.d.ts +1 -1
  1631. package/dist/types/types/unit-matches.d.ts +1 -1
  1632. package/dist/types/types/update-callout-data.d.ts +4 -2
  1633. package/dist/types/types/update-callout-response-data.d.ts +1 -1
  1634. package/dist/types/types/update-callout-response-segment-data.d.ts +2 -0
  1635. package/dist/types/types/update-callout-reviewer-data.d.ts +3 -0
  1636. package/dist/types/types/update-contact-data.d.ts +3 -1
  1637. package/dist/types/types/update-contact-profile-data.d.ts +1 -1
  1638. package/dist/types/types/update-contact-role-data.d.ts +12 -2
  1639. package/dist/types/types/update-email-data.d.ts +13 -2
  1640. package/dist/types/types/update-notice-data.d.ts +2 -0
  1641. package/dist/types/types/update-reset-device-data.d.ts +6 -0
  1642. package/dist/types/types/update-segment-data.d.ts +1 -1
  1643. package/dist/types/types/upload-file-response.d.ts +18 -0
  1644. package/dist/types/types/validated-boolean-rule.d.ts +2 -2
  1645. package/dist/types/types/validated-number-rule.d.ts +2 -2
  1646. package/dist/types/types/validated-rule-group.d.ts +2 -2
  1647. package/dist/types/types/validated-rule-value.d.ts +2 -2
  1648. package/dist/types/types/validated-rule.d.ts +1 -1
  1649. package/dist/types/types/validated-string-rule.d.ts +2 -2
  1650. package/dist/types/types/validator-callout-component.d.ts +1 -1
  1651. package/dist/types/unit-matches.d.ts +7 -0
  1652. package/dist/types/unit-matches.d.ts.map +1 -0
  1653. package/dist/types/unit-matches.js +2 -0
  1654. package/dist/types/unit-matches.js.map +1 -0
  1655. package/dist/types/update-callout-data.d.ts +5 -0
  1656. package/dist/types/update-callout-data.d.ts.map +1 -0
  1657. package/dist/types/update-callout-data.js +2 -0
  1658. package/dist/types/update-callout-data.js.map +1 -0
  1659. package/dist/types/update-callout-response-comment-data.d.ts +4 -0
  1660. package/dist/types/update-callout-response-comment-data.d.ts.map +1 -0
  1661. package/dist/types/update-callout-response-comment-data.js +2 -0
  1662. package/dist/types/update-callout-response-comment-data.js.map +1 -0
  1663. package/dist/types/update-callout-response-data.d.ts +3 -0
  1664. package/dist/types/update-callout-response-data.d.ts.map +1 -0
  1665. package/dist/types/update-callout-response-data.js +2 -0
  1666. package/dist/types/update-callout-response-data.js.map +1 -0
  1667. package/dist/types/update-callout-response-segment-data.d.ts +3 -0
  1668. package/dist/types/update-callout-response-segment-data.d.ts.map +1 -0
  1669. package/dist/types/update-callout-response-segment-data.js +2 -0
  1670. package/dist/types/update-callout-response-segment-data.js.map +1 -0
  1671. package/dist/types/update-callout-reviewer-data.d.ts +4 -0
  1672. package/dist/types/update-callout-reviewer-data.d.ts.map +1 -0
  1673. package/dist/types/update-callout-reviewer-data.js +2 -0
  1674. package/dist/types/update-callout-reviewer-data.js.map +1 -0
  1675. package/dist/types/update-contact-data.d.ts +8 -0
  1676. package/dist/types/update-contact-data.d.ts.map +1 -0
  1677. package/dist/types/update-contact-data.js +2 -0
  1678. package/dist/types/update-contact-data.js.map +1 -0
  1679. package/dist/types/update-contact-profile-data.d.ts +3 -0
  1680. package/dist/types/update-contact-profile-data.d.ts.map +1 -0
  1681. package/dist/types/update-contact-profile-data.js +2 -0
  1682. package/dist/types/update-contact-profile-data.js.map +1 -0
  1683. package/dist/types/update-contact-role-data.d.ts +15 -0
  1684. package/dist/types/update-contact-role-data.d.ts.map +1 -0
  1685. package/dist/types/update-contact-role-data.js +2 -0
  1686. package/dist/types/update-contact-role-data.js.map +1 -0
  1687. package/dist/types/update-email-data.d.ts +14 -0
  1688. package/dist/types/update-email-data.d.ts.map +1 -0
  1689. package/dist/types/update-email-data.js +2 -0
  1690. package/dist/types/update-email-data.js.map +1 -0
  1691. package/dist/types/update-notice-data.d.ts +3 -0
  1692. package/dist/types/update-notice-data.d.ts.map +1 -0
  1693. package/dist/types/update-notice-data.js +2 -0
  1694. package/dist/types/update-notice-data.js.map +1 -0
  1695. package/dist/types/update-reset-device-data.d.ts +7 -0
  1696. package/dist/types/update-reset-device-data.d.ts.map +1 -0
  1697. package/dist/types/update-reset-device-data.js +2 -0
  1698. package/dist/types/update-reset-device-data.js.map +1 -0
  1699. package/dist/types/update-reset-password-data.d.ts +6 -0
  1700. package/dist/types/update-reset-password-data.d.ts.map +1 -0
  1701. package/dist/types/update-reset-password-data.js +2 -0
  1702. package/dist/types/update-reset-password-data.js.map +1 -0
  1703. package/dist/types/update-segment-data.d.ts +3 -0
  1704. package/dist/types/update-segment-data.d.ts.map +1 -0
  1705. package/dist/types/update-segment-data.js +2 -0
  1706. package/dist/types/update-segment-data.js.map +1 -0
  1707. package/dist/types/upload-file-response.d.ts +19 -0
  1708. package/dist/types/upload-file-response.d.ts.map +1 -0
  1709. package/dist/types/upload-file-response.js +2 -0
  1710. package/dist/types/upload-file-response.js.map +1 -0
  1711. package/dist/types/utils/callouts.d.ts +27 -2
  1712. package/dist/types/utils/date.d.ts +1 -1
  1713. package/dist/types/utils/debounce.d.ts +22 -0
  1714. package/dist/types/utils/file.d.ts +45 -0
  1715. package/dist/types/utils/index.d.ts +10 -7
  1716. package/dist/types/utils/payments.d.ts +1 -1
  1717. package/dist/types/utils/rules.d.ts +29 -1
  1718. package/dist/types/utils/slug.d.ts +1 -1
  1719. package/dist/types/utils/url.d.ts +15 -0
  1720. package/dist/types/utils/validations.d.ts +2 -2
  1721. package/dist/types/validated-boolean-rule.d.ts +3 -0
  1722. package/dist/types/validated-boolean-rule.d.ts.map +1 -0
  1723. package/dist/types/validated-boolean-rule.js +2 -0
  1724. package/dist/types/validated-boolean-rule.js.map +1 -0
  1725. package/dist/types/validated-number-rule.d.ts +3 -0
  1726. package/dist/types/validated-number-rule.d.ts.map +1 -0
  1727. package/dist/types/validated-number-rule.js +2 -0
  1728. package/dist/types/validated-number-rule.js.map +1 -0
  1729. package/dist/types/validated-rule-group.d.ts +6 -0
  1730. package/dist/types/validated-rule-group.d.ts.map +1 -0
  1731. package/dist/types/validated-rule-group.js +2 -0
  1732. package/dist/types/validated-rule-group.js.map +1 -0
  1733. package/dist/types/validated-rule-value.d.ts +3 -0
  1734. package/dist/types/validated-rule-value.d.ts.map +1 -0
  1735. package/dist/types/validated-rule-value.js +2 -0
  1736. package/dist/types/validated-rule-value.js.map +1 -0
  1737. package/dist/types/validated-rule.d.ts +3 -0
  1738. package/dist/types/validated-rule.d.ts.map +1 -0
  1739. package/dist/types/validated-rule.js +2 -0
  1740. package/dist/types/validated-rule.js.map +1 -0
  1741. package/dist/types/validated-string-rule.d.ts +3 -0
  1742. package/dist/types/validated-string-rule.d.ts.map +1 -0
  1743. package/dist/types/validated-string-rule.js +2 -0
  1744. package/dist/types/validated-string-rule.js.map +1 -0
  1745. package/dist/types/validator-callout-component.d.ts +3 -0
  1746. package/dist/types/validator-callout-component.d.ts.map +1 -0
  1747. package/dist/types/validator-callout-component.js +2 -0
  1748. package/dist/types/validator-callout-component.js.map +1 -0
  1749. package/dist/types/validator.d.ts +2 -0
  1750. package/dist/types/validator.d.ts.map +1 -0
  1751. package/dist/types/validator.js +2 -0
  1752. package/dist/types/validator.js.map +1 -0
  1753. package/dist/types/validators/callout-component-content.validator.d.ts +1 -1
  1754. package/dist/types/validators/callout-component-input-address.validator.d.ts +1 -1
  1755. package/dist/types/validators/callout-component-input-checkbox.validator.d.ts +1 -1
  1756. package/dist/types/validators/callout-component-input-currency.validator.d.ts +1 -1
  1757. package/dist/types/validators/callout-component-input-date-time.validator.d.ts +1 -1
  1758. package/dist/types/validators/callout-component-input-email.validator.d.ts +1 -1
  1759. package/dist/types/validators/callout-component-input-file.validator.d.ts +1 -1
  1760. package/dist/types/validators/callout-component-input-number.validator.d.ts +1 -1
  1761. package/dist/types/validators/callout-component-input-phone-number.validator.d.ts +1 -1
  1762. package/dist/types/validators/callout-component-input-select.validator.d.ts +1 -1
  1763. package/dist/types/validators/callout-component-input-selectable.validator.d.ts +1 -1
  1764. package/dist/types/validators/callout-component-input-signature.validator.d.ts +1 -1
  1765. package/dist/types/validators/callout-component-input-text.validator.d.ts +1 -1
  1766. package/dist/types/validators/callout-component-input-time.validator.d.ts +1 -1
  1767. package/dist/types/validators/callout-component-input-url.validator.d.ts +1 -1
  1768. package/dist/types/validators/callout-component.validator.d.ts +1 -1
  1769. package/dist/types/validators/index.d.ts +16 -16
  1770. package/dist/utils/callouts.d.ts +56 -0
  1771. package/dist/utils/callouts.d.ts.map +1 -0
  1772. package/dist/utils/callouts.js +186 -0
  1773. package/dist/utils/callouts.js.map +1 -0
  1774. package/dist/utils/conversions.d.ts +15 -0
  1775. package/dist/utils/conversions.d.ts.map +1 -0
  1776. package/dist/utils/conversions.js +37 -0
  1777. package/dist/utils/conversions.js.map +1 -0
  1778. package/dist/utils/date.d.ts +9 -0
  1779. package/dist/utils/date.d.ts.map +1 -0
  1780. package/dist/utils/date.js +76 -0
  1781. package/dist/utils/date.js.map +1 -0
  1782. package/dist/utils/debounce.d.ts +23 -0
  1783. package/dist/utils/debounce.d.ts.map +1 -0
  1784. package/dist/utils/debounce.js +63 -0
  1785. package/dist/utils/debounce.js.map +1 -0
  1786. package/dist/utils/file.d.ts +46 -0
  1787. package/dist/utils/file.d.ts.map +1 -0
  1788. package/dist/utils/file.js +72 -0
  1789. package/dist/utils/file.js.map +1 -0
  1790. package/dist/utils/index.d.ts +11 -0
  1791. package/dist/utils/index.d.ts.map +1 -0
  1792. package/dist/utils/index.js +12 -0
  1793. package/dist/utils/index.js.map +1 -0
  1794. package/dist/utils/payments.d.ts +3 -0
  1795. package/dist/utils/payments.d.ts.map +1 -0
  1796. package/dist/utils/payments.js +39 -0
  1797. package/dist/utils/payments.js.map +1 -0
  1798. package/dist/utils/rules.d.ts +33 -0
  1799. package/dist/utils/rules.d.ts.map +1 -0
  1800. package/dist/utils/rules.js +94 -0
  1801. package/dist/utils/rules.js.map +1 -0
  1802. package/dist/utils/slug.d.ts +17 -0
  1803. package/dist/utils/slug.d.ts.map +1 -0
  1804. package/dist/utils/slug.js +835 -0
  1805. package/dist/utils/slug.js.map +1 -0
  1806. package/dist/utils/url.d.ts +16 -0
  1807. package/dist/utils/url.d.ts.map +1 -0
  1808. package/dist/utils/url.js +43 -0
  1809. package/dist/utils/url.js.map +1 -0
  1810. package/dist/utils/validations.d.ts +91 -0
  1811. package/dist/utils/validations.d.ts.map +1 -0
  1812. package/dist/utils/validations.js +205 -0
  1813. package/dist/utils/validations.js.map +1 -0
  1814. package/dist/validators/callout-component-content.validator.d.ts +3 -0
  1815. package/dist/validators/callout-component-content.validator.d.ts.map +1 -0
  1816. package/dist/validators/callout-component-content.validator.js +5 -0
  1817. package/dist/validators/callout-component-content.validator.js.map +1 -0
  1818. package/dist/validators/callout-component-input-address.validator.d.ts +3 -0
  1819. package/dist/validators/callout-component-input-address.validator.d.ts.map +1 -0
  1820. package/dist/validators/callout-component-input-address.validator.js +4 -0
  1821. package/dist/validators/callout-component-input-address.validator.js.map +1 -0
  1822. package/dist/validators/callout-component-input-checkbox.validator.d.ts +3 -0
  1823. package/dist/validators/callout-component-input-checkbox.validator.d.ts.map +1 -0
  1824. package/dist/validators/callout-component-input-checkbox.validator.js +4 -0
  1825. package/dist/validators/callout-component-input-checkbox.validator.js.map +1 -0
  1826. package/dist/validators/callout-component-input-currency.validator.d.ts +3 -0
  1827. package/dist/validators/callout-component-input-currency.validator.d.ts.map +1 -0
  1828. package/dist/validators/callout-component-input-currency.validator.js +5 -0
  1829. package/dist/validators/callout-component-input-currency.validator.js.map +1 -0
  1830. package/dist/validators/callout-component-input-date-time.validator.d.ts +3 -0
  1831. package/dist/validators/callout-component-input-date-time.validator.d.ts.map +1 -0
  1832. package/dist/validators/callout-component-input-date-time.validator.js +8 -0
  1833. package/dist/validators/callout-component-input-date-time.validator.js.map +1 -0
  1834. package/dist/validators/callout-component-input-email.validator.d.ts +3 -0
  1835. package/dist/validators/callout-component-input-email.validator.d.ts.map +1 -0
  1836. package/dist/validators/callout-component-input-email.validator.js +5 -0
  1837. package/dist/validators/callout-component-input-email.validator.js.map +1 -0
  1838. package/dist/validators/callout-component-input-file.validator.d.ts +3 -0
  1839. package/dist/validators/callout-component-input-file.validator.d.ts.map +1 -0
  1840. package/dist/validators/callout-component-input-file.validator.js +10 -0
  1841. package/dist/validators/callout-component-input-file.validator.js.map +1 -0
  1842. package/dist/validators/callout-component-input-number.validator.d.ts +3 -0
  1843. package/dist/validators/callout-component-input-number.validator.d.ts.map +1 -0
  1844. package/dist/validators/callout-component-input-number.validator.js +9 -0
  1845. package/dist/validators/callout-component-input-number.validator.js.map +1 -0
  1846. package/dist/validators/callout-component-input-phone-number.validator.d.ts +3 -0
  1847. package/dist/validators/callout-component-input-phone-number.validator.d.ts.map +1 -0
  1848. package/dist/validators/callout-component-input-phone-number.validator.js +5 -0
  1849. package/dist/validators/callout-component-input-phone-number.validator.js.map +1 -0
  1850. package/dist/validators/callout-component-input-select.validator.d.ts +3 -0
  1851. package/dist/validators/callout-component-input-select.validator.d.ts.map +1 -0
  1852. package/dist/validators/callout-component-input-select.validator.js +5 -0
  1853. package/dist/validators/callout-component-input-select.validator.js.map +1 -0
  1854. package/dist/validators/callout-component-input-selectable.validator.d.ts +3 -0
  1855. package/dist/validators/callout-component-input-selectable.validator.d.ts.map +1 -0
  1856. package/dist/validators/callout-component-input-selectable.validator.js +5 -0
  1857. package/dist/validators/callout-component-input-selectable.validator.js.map +1 -0
  1858. package/dist/validators/callout-component-input-signature.validator.d.ts +3 -0
  1859. package/dist/validators/callout-component-input-signature.validator.d.ts.map +1 -0
  1860. package/dist/validators/callout-component-input-signature.validator.js +4 -0
  1861. package/dist/validators/callout-component-input-signature.validator.js.map +1 -0
  1862. package/dist/validators/callout-component-input-text.validator.d.ts +3 -0
  1863. package/dist/validators/callout-component-input-text.validator.d.ts.map +1 -0
  1864. package/dist/validators/callout-component-input-text.validator.js +33 -0
  1865. package/dist/validators/callout-component-input-text.validator.js.map +1 -0
  1866. package/dist/validators/callout-component-input-time.validator.d.ts +3 -0
  1867. package/dist/validators/callout-component-input-time.validator.d.ts.map +1 -0
  1868. package/dist/validators/callout-component-input-time.validator.js +4 -0
  1869. package/dist/validators/callout-component-input-time.validator.js.map +1 -0
  1870. package/dist/validators/callout-component-input-url.validator.d.ts +3 -0
  1871. package/dist/validators/callout-component-input-url.validator.d.ts.map +1 -0
  1872. package/dist/validators/callout-component-input-url.validator.js +5 -0
  1873. package/dist/validators/callout-component-input-url.validator.js.map +1 -0
  1874. package/dist/validators/callout-component.validator.d.ts +6 -0
  1875. package/dist/validators/callout-component.validator.d.ts.map +1 -0
  1876. package/dist/validators/callout-component.validator.js +81 -0
  1877. package/dist/validators/callout-component.validator.js.map +1 -0
  1878. package/dist/validators/index.d.ts +17 -0
  1879. package/dist/validators/index.d.ts.map +1 -0
  1880. package/dist/validators/index.js +18 -0
  1881. package/dist/validators/index.js.map +1 -0
  1882. package/package.json +33 -53
  1883. package/src/constants.ts +109 -0
  1884. package/src/data/api-error-code.ts +22 -0
  1885. package/src/data/callout-access.ts +6 -0
  1886. package/src/data/callout-captcha.ts +5 -0
  1887. package/src/data/callout-channel.ts +4 -0
  1888. package/src/data/callout-component-base-type.ts +8 -0
  1889. package/src/data/callout-component-input-selectable-types.ts +10 -0
  1890. package/src/data/callout-component-input-text-types.ts +10 -0
  1891. package/src/data/callout-component-input-types.ts +24 -0
  1892. package/src/data/callout-component-nestable-types.ts +11 -0
  1893. package/src/data/callout-component-type.ts +23 -0
  1894. package/src/data/callout-component-types.ts +10 -0
  1895. package/src/data/contact-mfa-type.ts +7 -0
  1896. package/src/data/content-ids.ts +15 -0
  1897. package/src/data/contribution-period.ts +4 -0
  1898. package/src/data/contribution-type.ts +6 -0
  1899. package/src/data/get-callout-response-with.ts +8 -0
  1900. package/src/data/get-contact-with.ts +7 -0
  1901. package/src/data/index.ts +28 -0
  1902. package/src/data/item-status.ts +6 -0
  1903. package/src/data/login-codes.ts +13 -0
  1904. package/src/data/membership-status.ts +6 -0
  1905. package/src/data/newsletter-status.ts +7 -0
  1906. package/src/data/payment-method.ts +8 -0
  1907. package/src/data/payment-status.ts +7 -0
  1908. package/src/data/payment-type.ts +6 -0
  1909. package/src/data/reset-security-flow-error-code.ts +8 -0
  1910. package/src/data/reset-security-flow-type.ts +7 -0
  1911. package/src/data/role-type-data.ts +5 -0
  1912. package/src/error/InvalidRule.ts +11 -0
  1913. package/src/error/index.ts +2 -0
  1914. package/src/index.ts +8 -0
  1915. package/src/search/api-keys.ts +12 -0
  1916. package/src/search/callouts.ts +163 -0
  1917. package/src/search/contacts.ts +129 -0
  1918. package/src/search/emails.ts +32 -0
  1919. package/src/search/index.ts +10 -0
  1920. package/src/search/notices.ts +37 -0
  1921. package/src/search/operators.ts +78 -0
  1922. package/src/search/payments.ts +38 -0
  1923. package/src/search/segments.ts +14 -0
  1924. package/src/search/tags.ts +16 -0
  1925. package/src/types/address.ts +6 -0
  1926. package/src/types/allow-null.ts +7 -0
  1927. package/src/types/api-error-data.ts +166 -0
  1928. package/src/types/api-key-filter-name.ts +3 -0
  1929. package/src/types/array-filter-args.ts +8 -0
  1930. package/src/types/auth-info-data.ts +33 -0
  1931. package/src/types/base-filter-args.ts +6 -0
  1932. package/src/types/base-validated-rule.ts +10 -0
  1933. package/src/types/callout-channel-filter-name.ts +3 -0
  1934. package/src/types/callout-component-base-input-schema.ts +31 -0
  1935. package/src/types/callout-component-base-input-selectable-schema.ts +13 -0
  1936. package/src/types/callout-component-base-input-text-schema.ts +19 -0
  1937. package/src/types/callout-component-base-map.ts +24 -0
  1938. package/src/types/callout-component-base-nestable-schema.ts +14 -0
  1939. package/src/types/callout-component-base-rules.ts +6 -0
  1940. package/src/types/callout-component-base-schema.ts +26 -0
  1941. package/src/types/callout-component-content-schema.ts +13 -0
  1942. package/src/types/callout-component-input-address-rules.ts +3 -0
  1943. package/src/types/callout-component-input-address-schema.ts +13 -0
  1944. package/src/types/callout-component-input-checkbox-rules.ts +3 -0
  1945. package/src/types/callout-component-input-checkbox-schema.ts +18 -0
  1946. package/src/types/callout-component-input-currency-rules.ts +3 -0
  1947. package/src/types/callout-component-input-currency-schema.ts +22 -0
  1948. package/src/types/callout-component-input-date-time-rules.ts +3 -0
  1949. package/src/types/callout-component-input-date-time-schema.ts +44 -0
  1950. package/src/types/callout-component-input-email-rules.ts +10 -0
  1951. package/src/types/callout-component-input-email-schema.ts +16 -0
  1952. package/src/types/callout-component-input-file-rules.ts +3 -0
  1953. package/src/types/callout-component-input-file-schema.ts +23 -0
  1954. package/src/types/callout-component-input-number-rules.ts +10 -0
  1955. package/src/types/callout-component-input-number-schema.ts +21 -0
  1956. package/src/types/callout-component-input-phone-number-rules.ts +3 -0
  1957. package/src/types/callout-component-input-phone-number-schema.ts +13 -0
  1958. package/src/types/callout-component-input-schema.ts +33 -0
  1959. package/src/types/callout-component-input-select-rules.ts +3 -0
  1960. package/src/types/callout-component-input-select-schema.ts +18 -0
  1961. package/src/types/callout-component-input-selectable-radio-rules.ts +4 -0
  1962. package/src/types/callout-component-input-selectable-radio-schema.ts +10 -0
  1963. package/src/types/callout-component-input-selectable-schema.ts +9 -0
  1964. package/src/types/callout-component-input-selectable-selectboxes-rules.ts +3 -0
  1965. package/src/types/callout-component-input-selectable-selectboxes-schema.ts +10 -0
  1966. package/src/types/callout-component-input-signature-rules.ts +3 -0
  1967. package/src/types/callout-component-input-signature-schema.ts +11 -0
  1968. package/src/types/callout-component-input-text-area-schema.ts +6 -0
  1969. package/src/types/callout-component-input-text-field-schema.ts +6 -0
  1970. package/src/types/callout-component-input-text-rules.ts +14 -0
  1971. package/src/types/callout-component-input-text-schema.ts +9 -0
  1972. package/src/types/callout-component-input-time-rules.ts +3 -0
  1973. package/src/types/callout-component-input-time-schema.ts +13 -0
  1974. package/src/types/callout-component-input-url-rules.ts +10 -0
  1975. package/src/types/callout-component-input-url-schema.ts +15 -0
  1976. package/src/types/callout-component-map.ts +55 -0
  1977. package/src/types/callout-component-nestable-panel-schema.ts +6 -0
  1978. package/src/types/callout-component-nestable-schema.ts +10 -0
  1979. package/src/types/callout-component-nestable-tabs-schema.ts +6 -0
  1980. package/src/types/callout-component-nestable-well-schema.ts +6 -0
  1981. package/src/types/callout-component-schema.ts +11 -0
  1982. package/src/types/callout-data.ts +25 -0
  1983. package/src/types/callout-filter-name.ts +3 -0
  1984. package/src/types/callout-map-schema-icon-styling-answer-icon-definition.ts +4 -0
  1985. package/src/types/callout-map-schema-icon-styling-answer-icon.ts +6 -0
  1986. package/src/types/callout-map-schema-icon-styling-answer.ts +6 -0
  1987. package/src/types/callout-map-schema-icon-styling.ts +6 -0
  1988. package/src/types/callout-map-schema.ts +21 -0
  1989. package/src/types/callout-newsletter-schema.ts +8 -0
  1990. package/src/types/callout-response-answer-address.ts +19 -0
  1991. package/src/types/callout-response-answer-file-upload.ts +8 -0
  1992. package/src/types/callout-response-answer.ts +12 -0
  1993. package/src/types/callout-response-answers-slide.ts +9 -0
  1994. package/src/types/callout-response-answers.ts +9 -0
  1995. package/src/types/callout-response-comment-data.ts +5 -0
  1996. package/src/types/callout-response-comment-filter-name.ts +4 -0
  1997. package/src/types/callout-response-filter-name.ts +3 -0
  1998. package/src/types/callout-response-guest-data.ts +5 -0
  1999. package/src/types/callout-response-newsletter-data.ts +4 -0
  2000. package/src/types/callout-response-view-schema.ts +11 -0
  2001. package/src/types/callout-reviewer-filter-name.ts +3 -0
  2002. package/src/types/callout-tag-filter-name.ts +3 -0
  2003. package/src/types/callout-variant-data.ts +20 -0
  2004. package/src/types/callout-variant-navigation-data.ts +5 -0
  2005. package/src/types/complete-signup-data.ts +6 -0
  2006. package/src/types/contact-data.ts +7 -0
  2007. package/src/types/contact-mfa-data.ts +9 -0
  2008. package/src/types/contact-profile-data.ts +16 -0
  2009. package/src/types/contact-role-data.ts +6 -0
  2010. package/src/types/contact-tag-filter-name.ts +3 -0
  2011. package/src/types/content-contacts-data.ts +4 -0
  2012. package/src/types/content-data.ts +33 -0
  2013. package/src/types/content-email-data.ts +5 -0
  2014. package/src/types/content-general-data.ts +36 -0
  2015. package/src/types/content-id.ts +10 -0
  2016. package/src/types/content-join-data.ts +23 -0
  2017. package/src/types/content-join-period-data.ts +6 -0
  2018. package/src/types/content-join-setup-data.ts +17 -0
  2019. package/src/types/content-payment-data.ts +10 -0
  2020. package/src/types/content-profile-data.ts +3 -0
  2021. package/src/types/content-share-data.ts +6 -0
  2022. package/src/types/content-telegram-data.ts +4 -0
  2023. package/src/types/contribution-info.ts +20 -0
  2024. package/src/types/create-api-key-data.ts +4 -0
  2025. package/src/types/create-callout-data.ts +10 -0
  2026. package/src/types/create-callout-response-comment-data.ts +3 -0
  2027. package/src/types/create-callout-response-data.ts +15 -0
  2028. package/src/types/create-callout-response-segment-data.ts +8 -0
  2029. package/src/types/create-callout-reviewer-data.ts +4 -0
  2030. package/src/types/create-callout-variant-data.ts +6 -0
  2031. package/src/types/create-contact-data.ts +13 -0
  2032. package/src/types/create-contact-mfa-data.ts +7 -0
  2033. package/src/types/create-email-data.ts +10 -0
  2034. package/src/types/create-notice-data.ts +3 -0
  2035. package/src/types/create-payment-data.ts +8 -0
  2036. package/src/types/create-reset-device-data.ts +8 -0
  2037. package/src/types/create-reset-password-data.ts +4 -0
  2038. package/src/types/create-segment-data.ts +7 -0
  2039. package/src/types/date-unit.ts +3 -0
  2040. package/src/types/delete-contact-mfa-data.ts +6 -0
  2041. package/src/types/duration.ts +1 -0
  2042. package/src/types/email-filter-name.ts +3 -0
  2043. package/src/types/email-preview-data.ts +8 -0
  2044. package/src/types/email-template-type.ts +1 -0
  2045. package/src/types/enum-filter-args.ts +8 -0
  2046. package/src/types/feeable.ts +8 -0
  2047. package/src/types/filter-args.ts +10 -0
  2048. package/src/types/filter-type.ts +9 -0
  2049. package/src/types/filters.ts +3 -0
  2050. package/src/types/footer-link.ts +4 -0
  2051. package/src/types/force-update-contribution-data.ts +9 -0
  2052. package/src/types/formio-file.ts +13 -0
  2053. package/src/types/get-api-key-data.ts +9 -0
  2054. package/src/types/get-api-keys-query.ts +3 -0
  2055. package/src/types/get-callout-data-with.ts +20 -0
  2056. package/src/types/get-callout-data.ts +10 -0
  2057. package/src/types/get-callout-form-data.ts +11 -0
  2058. package/src/types/get-callout-form-schema.ts +6 -0
  2059. package/src/types/get-callout-navigation-schema.ts +7 -0
  2060. package/src/types/get-callout-response-comment-data.ts +8 -0
  2061. package/src/types/get-callout-response-comments-query.ts +3 -0
  2062. package/src/types/get-callout-response-data-with.ts +33 -0
  2063. package/src/types/get-callout-response-data.ts +9 -0
  2064. package/src/types/get-callout-response-map-data.ts +13 -0
  2065. package/src/types/get-callout-responses-query.ts +3 -0
  2066. package/src/types/get-callout-reviewer-data.ts +7 -0
  2067. package/src/types/get-callout-slide-schema.ts +8 -0
  2068. package/src/types/get-callout-with.ts +8 -0
  2069. package/src/types/get-callouts-query.ts +3 -0
  2070. package/src/types/get-contact-data-with.ts +22 -0
  2071. package/src/types/get-contact-data.ts +11 -0
  2072. package/src/types/get-contact-mfa-data.ts +3 -0
  2073. package/src/types/get-contacts-query.ts +3 -0
  2074. package/src/types/get-email-data.ts +28 -0
  2075. package/src/types/get-email-template-info-data.ts +16 -0
  2076. package/src/types/get-notice-data.ts +9 -0
  2077. package/src/types/get-notices-query.ts +3 -0
  2078. package/src/types/get-payment-aggregation-data.ts +4 -0
  2079. package/src/types/get-payment-data-with.ts +9 -0
  2080. package/src/types/get-payment-data.ts +9 -0
  2081. package/src/types/get-payment-with.ts +1 -0
  2082. package/src/types/get-payments-aggregation-query.ts +7 -0
  2083. package/src/types/get-payments-query.ts +3 -0
  2084. package/src/types/get-segment-data-with.ts +4 -0
  2085. package/src/types/get-segment-data.ts +8 -0
  2086. package/src/types/get-segment-with.ts +1 -0
  2087. package/src/types/get-segments-query.ts +3 -0
  2088. package/src/types/get-stats-data.ts +5 -0
  2089. package/src/types/get-stats-query.ts +4 -0
  2090. package/src/types/health-check-data.ts +10 -0
  2091. package/src/types/index.ts +236 -0
  2092. package/src/types/list-emails-query.ts +3 -0
  2093. package/src/types/login-data.ts +6 -0
  2094. package/src/types/newsletter-group-data.ts +5 -0
  2095. package/src/types/noop.ts +5 -0
  2096. package/src/types/notice-data.ts +8 -0
  2097. package/src/types/notice-filter-name.ts +3 -0
  2098. package/src/types/ongoing-email-fields.ts +11 -0
  2099. package/src/types/operators-by-type.ts +6 -0
  2100. package/src/types/other-filter-args.ts +5 -0
  2101. package/src/types/paginated-query.ts +9 -0
  2102. package/src/types/paginated.ts +6 -0
  2103. package/src/types/parse-iso-options.ts +7 -0
  2104. package/src/types/payment-filter-name.ts +3 -0
  2105. package/src/types/payment-flow-params.ts +23 -0
  2106. package/src/types/payment-flow-result.ts +4 -0
  2107. package/src/types/payment-period.ts +3 -0
  2108. package/src/types/payment-source-base.ts +5 -0
  2109. package/src/types/payment-source-go-cardless-direct-debit.ts +9 -0
  2110. package/src/types/payment-source-manual.ts +7 -0
  2111. package/src/types/payment-source-stripe-bacs.ts +8 -0
  2112. package/src/types/payment-source-stripe-card.ts +20 -0
  2113. package/src/types/payment-source-stripe-paypal.ts +8 -0
  2114. package/src/types/payment-source-stripe-sepa.ts +10 -0
  2115. package/src/types/payment-source.ts +16 -0
  2116. package/src/types/role-type.ts +3 -0
  2117. package/src/types/rule-group.ts +6 -0
  2118. package/src/types/rule-operator.ts +3 -0
  2119. package/src/types/rule-opperator-params.ts +3 -0
  2120. package/src/types/rule-value.ts +1 -0
  2121. package/src/types/rule.ts +7 -0
  2122. package/src/types/s3-metadata.ts +15 -0
  2123. package/src/types/segment-filter-name.ts +3 -0
  2124. package/src/types/segment-ongoing-email-trigger.ts +6 -0
  2125. package/src/types/serial.ts +10 -0
  2126. package/src/types/set-callout-form-schema.ts +5 -0
  2127. package/src/types/set-callout-navigation-schema.ts +3 -0
  2128. package/src/types/set-callout-slide-schema.ts +11 -0
  2129. package/src/types/set-contribution-data.ts +9 -0
  2130. package/src/types/signup-data.ts +10 -0
  2131. package/src/types/start-contribution-data.ts +7 -0
  2132. package/src/types/stripe-fee-country.ts +1 -0
  2133. package/src/types/tag-create-data.ts +3 -0
  2134. package/src/types/tag-data.ts +5 -0
  2135. package/src/types/tag-get-data.ts +3 -0
  2136. package/src/types/tag-update-data.ts +5 -0
  2137. package/src/types/text-case.ts +1 -0
  2138. package/src/types/unit-matches.ts +5 -0
  2139. package/src/types/update-callout-data.ts +7 -0
  2140. package/src/types/update-callout-response-comment-data.ts +3 -0
  2141. package/src/types/update-callout-response-data.ts +3 -0
  2142. package/src/types/update-callout-response-segment-data.ts +4 -0
  2143. package/src/types/update-callout-reviewer-data.ts +3 -0
  2144. package/src/types/update-contact-data.ts +8 -0
  2145. package/src/types/update-contact-profile-data.ts +3 -0
  2146. package/src/types/update-contact-role-data.ts +14 -0
  2147. package/src/types/update-email-data.ts +14 -0
  2148. package/src/types/update-notice-data.ts +3 -0
  2149. package/src/types/update-reset-device-data.ts +7 -0
  2150. package/src/types/update-reset-password-data.ts +5 -0
  2151. package/src/types/update-segment-data.ts +3 -0
  2152. package/src/types/upload-file-response.ts +18 -0
  2153. package/src/types/validated-boolean-rule.ts +6 -0
  2154. package/src/types/validated-number-rule.ts +6 -0
  2155. package/src/types/validated-rule-group.ts +6 -0
  2156. package/src/types/validated-rule-value.ts +7 -0
  2157. package/src/types/validated-rule.ts +10 -0
  2158. package/src/types/validated-string-rule.ts +6 -0
  2159. package/src/types/validator-callout-component.ts +9 -0
  2160. package/src/types/validator.ts +1 -0
  2161. package/src/utils/callouts.ts +291 -0
  2162. package/src/utils/conversions.ts +40 -0
  2163. package/src/utils/date.ts +106 -0
  2164. package/src/utils/debounce.ts +77 -0
  2165. package/src/utils/file.ts +79 -0
  2166. package/src/utils/index.ts +11 -0
  2167. package/src/utils/payments.ts +51 -0
  2168. package/src/utils/rules.ts +145 -0
  2169. package/src/utils/slug.ts +876 -0
  2170. package/src/utils/url.ts +52 -0
  2171. package/src/utils/validations.ts +273 -0
  2172. package/src/validators/callout-component-content.validator.ts +12 -0
  2173. package/src/validators/callout-component-input-address.validator.ts +16 -0
  2174. package/src/validators/callout-component-input-checkbox.validator.ts +14 -0
  2175. package/src/validators/callout-component-input-currency.validator.ts +15 -0
  2176. package/src/validators/callout-component-input-date-time.validator.ts +19 -0
  2177. package/src/validators/callout-component-input-email.validator.ts +15 -0
  2178. package/src/validators/callout-component-input-file.validator.ts +22 -0
  2179. package/src/validators/callout-component-input-number.validator.ts +22 -0
  2180. package/src/validators/callout-component-input-phone-number.validator.ts +15 -0
  2181. package/src/validators/callout-component-input-select.validator.ts +15 -0
  2182. package/src/validators/callout-component-input-selectable.validator.ts +15 -0
  2183. package/src/validators/callout-component-input-signature.validator.ts +16 -0
  2184. package/src/validators/callout-component-input-text.validator.ts +56 -0
  2185. package/src/validators/callout-component-input-time.validator.ts +14 -0
  2186. package/src/validators/callout-component-input-url.validator.ts +15 -0
  2187. package/src/validators/callout-component.validator.ts +139 -0
  2188. package/src/validators/index.ts +17 -0
  2189. package/dist/browser/beabee-common.js +0 -2433
  2190. package/dist/browser/beabee-common.js.map +0 -7
  2191. package/dist/browser/beabee-common.min.js +0 -1
  2192. package/dist/browser/index.js +0 -2417
  2193. package/dist/cjs/index.browser.cjs +0 -26
  2194. package/dist/cjs/types/update-callout-tag-data.cjs +0 -16
  2195. package/dist/esm/index.browser.js +0 -3
  2196. package/dist/types/index.browser.d.ts +0 -1
  2197. package/dist/types/types/client-api-error-data.d.ts +0 -7
  2198. package/dist/types/types/get-callout-response-with.d.ts +0 -1
  2199. package/dist/types/types/get-callout-tag-data.d.ts +0 -4
  2200. package/dist/types/types/get-contact-with.d.ts +0 -1
  2201. package/dist/types/types/get-upload-flow-data.d.ts +0 -3
  2202. package/dist/types/types/update-callout-tag-data.d.ts +0 -2
  2203. /package/dist/esm/types/{client-api-error-data.js → api-error-data.js} +0 -0
  2204. /package/dist/esm/types/{create-callout-tag-data.js → auth-info-data.js} +0 -0
  2205. /package/dist/esm/types/{get-callout-response-with.js → callout-map-schema-icon-styling-answer-icon-definition.js} +0 -0
  2206. /package/dist/esm/types/{get-callout-tag-data.js → callout-map-schema-icon-styling-answer-icon.js} +0 -0
  2207. /package/dist/esm/types/{get-contact-with.js → callout-map-schema-icon-styling-answer.js} +0 -0
  2208. /package/dist/esm/types/{get-upload-flow-data.js → callout-map-schema-icon-styling.js} +0 -0
  2209. /package/dist/esm/types/{update-callout-tag-data.js → callout-newsletter-schema.js} +0 -0
@@ -1,2433 +0,0 @@
1
- (() => {
2
- var __defProp = Object.defineProperty;
3
- var __export = (target, all) => {
4
- for (var name in all)
5
- __defProp(target, name, { get: all[name], enumerable: true });
6
- };
7
-
8
- // src/index.ts
9
- var src_exports = {};
10
- __export(src_exports, {
11
- CalloutAccess: () => CalloutAccess,
12
- CalloutCaptcha: () => CalloutCaptcha,
13
- CalloutChannel: () => CalloutChannel,
14
- CalloutComponentBaseType: () => CalloutComponentBaseType,
15
- CalloutComponentType: () => CalloutComponentType,
16
- ContributionPeriod: () => ContributionPeriod,
17
- ContributionType: () => ContributionType,
18
- InvalidRule: () => InvalidRule,
19
- ItemStatus: () => ItemStatus,
20
- MembershipStatus: () => MembershipStatus,
21
- NewsletterStatus: () => NewsletterStatus,
22
- PaymentMethod: () => PaymentMethod,
23
- PaymentStatus: () => PaymentStatus,
24
- RoleTypes: () => RoleTypes,
25
- apiKeyFilters: () => apiKeyFilters,
26
- calcPaymentFee: () => calcPaymentFee,
27
- calloutChannelFilters: () => calloutChannelFilters,
28
- calloutComponentContentValidator: () => calloutComponentContentValidator,
29
- calloutComponentInputAddressValidator: () => calloutComponentInputAddressValidator,
30
- calloutComponentInputCheckboxValidator: () => calloutComponentInputCheckboxValidator,
31
- calloutComponentInputCurrencyValidator: () => calloutComponentInputCurrencyValidator,
32
- calloutComponentInputDateTimeValidator: () => calloutComponentInputDateTimeValidator,
33
- calloutComponentInputEmailValidator: () => calloutComponentInputEmailValidator,
34
- calloutComponentInputFileValidator: () => calloutComponentInputFileValidator,
35
- calloutComponentInputNumberValidator: () => calloutComponentInputNumberValidator,
36
- calloutComponentInputPhoneNumberValidator: () => calloutComponentInputPhoneNumberValidator,
37
- calloutComponentInputSelectValidator: () => calloutComponentInputSelectValidator,
38
- calloutComponentInputSelectableTypes: () => calloutComponentInputSelectableTypes,
39
- calloutComponentInputSelectableValidator: () => calloutComponentInputSelectableValidator,
40
- calloutComponentInputSignatureValidator: () => calloutComponentInputSignatureValidator,
41
- calloutComponentInputTextTypes: () => calloutComponentInputTextTypes,
42
- calloutComponentInputTextValidator: () => calloutComponentInputTextValidator,
43
- calloutComponentInputTimeValidator: () => calloutComponentInputTimeValidator,
44
- calloutComponentInputTypes: () => calloutComponentInputTypes,
45
- calloutComponentInputUrlValidator: () => calloutComponentInputUrlValidator,
46
- calloutComponentInputValidator: () => calloutComponentInputValidator,
47
- calloutComponentNestableTypes: () => calloutComponentNestableTypes,
48
- calloutComponentNestableValidator: () => calloutComponentNestableValidator,
49
- calloutComponentTypes: () => calloutComponentTypes,
50
- calloutComponentValidator: () => calloutComponentValidator,
51
- calloutFilters: () => calloutFilters,
52
- calloutResponseCommentFilters: () => calloutResponseCommentFilters,
53
- calloutResponseFilters: () => calloutResponseFilters,
54
- calloutTagFilters: () => calloutTagFilters,
55
- contactCalloutFilters: () => contactCalloutFilters,
56
- contactFilters: () => contactFilters,
57
- contentIds: () => contentIds,
58
- dateUnitMap: () => dateUnitMap,
59
- dateUnits: () => dateUnits,
60
- filterComponents: () => filterComponents,
61
- flattenComponents: () => flattenComponents,
62
- getCalloutComponents: () => getCalloutComponents,
63
- getCalloutFilters: () => getCalloutFilters,
64
- getMinDateUnit: () => getMinDateUnit,
65
- isAddressAnswer: () => isAddressAnswer,
66
- isAmountOfMoney: () => isAmountOfMoney,
67
- isAngle: () => isAngle,
68
- isCalloutComponentOfBaseType: () => isCalloutComponentOfBaseType,
69
- isCalloutComponentOfType: () => isCalloutComponentOfType,
70
- isDateBetween: () => isDateBetween,
71
- isEmail: () => isEmail,
72
- isFileUploadAnswer: () => isFileUploadAnswer,
73
- isLngLat: () => isLngLat,
74
- isMapBounds: () => isMapBounds,
75
- isNumber: () => isNumber,
76
- isNumberInRange: () => isNumberInRange,
77
- isPassword: () => isPassword,
78
- isPeriod: () => isPeriod,
79
- isPhoneNumber: () => isPhoneNumber,
80
- isRuleGroup: () => isRuleGroup,
81
- isSlug: () => isSlug,
82
- isTextInRange: () => isTextInRange,
83
- isTextInWordRange: () => isTextInWordRange,
84
- isType: () => isType,
85
- isURL: () => isURL,
86
- isValidDate: () => isValidDate,
87
- isValidPayFee: () => isValidPayFee,
88
- noticeFilters: () => noticeFilters,
89
- nullableOperators: () => nullableOperators,
90
- operatorsByType: () => operatorsByType,
91
- operatorsByTypeMap: () => operatorsByTypeMap,
92
- parseDate: () => parseDate2,
93
- paymentFilters: () => paymentFilters,
94
- ruleOperators: () => ruleOperators,
95
- segmentFilters: () => segmentFilters,
96
- slug: () => slug,
97
- stringifyAnswer: () => stringifyAnswer,
98
- toBytes: () => toBytes,
99
- toPhoneNumber: () => toPhoneNumber,
100
- validateRule: () => validateRule,
101
- validateRuleGroup: () => validateRuleGroup
102
- });
103
-
104
- // src/data/callout-access.ts
105
- var CalloutAccess = /* @__PURE__ */ ((CalloutAccess2) => {
106
- CalloutAccess2["Member"] = "member";
107
- CalloutAccess2["Guest"] = "guest";
108
- CalloutAccess2["Anonymous"] = "anonymous";
109
- CalloutAccess2["OnlyAnonymous"] = "only-anonymous";
110
- return CalloutAccess2;
111
- })(CalloutAccess || {});
112
-
113
- // src/data/callout-captcha.ts
114
- var CalloutCaptcha = /* @__PURE__ */ ((CalloutCaptcha2) => {
115
- CalloutCaptcha2["None"] = "none";
116
- CalloutCaptcha2["Guest"] = "guest";
117
- CalloutCaptcha2["All"] = "all";
118
- return CalloutCaptcha2;
119
- })(CalloutCaptcha || {});
120
-
121
- // src/data/callout-channel.ts
122
- var CalloutChannel = /* @__PURE__ */ ((CalloutChannel2) => {
123
- CalloutChannel2["TELEGRAM"] = "telegram";
124
- return CalloutChannel2;
125
- })(CalloutChannel || {});
126
-
127
- // src/data/callout-component-base-type.ts
128
- var CalloutComponentBaseType = /* @__PURE__ */ ((CalloutComponentBaseType2) => {
129
- CalloutComponentBaseType2[CalloutComponentBaseType2["CONTENT"] = 0] = "CONTENT";
130
- CalloutComponentBaseType2[CalloutComponentBaseType2["INPUT"] = 1] = "INPUT";
131
- CalloutComponentBaseType2[CalloutComponentBaseType2["INPUT_TEXT"] = 2] = "INPUT_TEXT";
132
- CalloutComponentBaseType2[CalloutComponentBaseType2["INPUT_SELECTABLE"] = 3] = "INPUT_SELECTABLE";
133
- CalloutComponentBaseType2[CalloutComponentBaseType2["NESTABLE"] = 4] = "NESTABLE";
134
- return CalloutComponentBaseType2;
135
- })(CalloutComponentBaseType || {});
136
-
137
- // src/data/callout-component-type.ts
138
- var CalloutComponentType = /* @__PURE__ */ ((CalloutComponentType2) => {
139
- CalloutComponentType2["CONTENT"] = "content";
140
- CalloutComponentType2["INPUT_ADDRESS"] = "address";
141
- CalloutComponentType2["INPUT_CHECKBOX"] = "checkbox";
142
- CalloutComponentType2["INPUT_CURRENCY"] = "currency";
143
- CalloutComponentType2["INPUT_DATE_TIME"] = "datetime";
144
- CalloutComponentType2["INPUT_EMAIL"] = "email";
145
- CalloutComponentType2["INPUT_FILE"] = "file";
146
- CalloutComponentType2["INPUT_NUMBER"] = "number";
147
- CalloutComponentType2["INPUT_PHONE_NUMBER"] = "phoneNumber";
148
- CalloutComponentType2["INPUT_SELECT"] = "select";
149
- CalloutComponentType2["INPUT_SELECTABLE_RADIO"] = "radio";
150
- CalloutComponentType2["INPUT_SELECTABLE_SELECTBOXES"] = "selectboxes";
151
- CalloutComponentType2["INPUT_SIGNATURE"] = "signature";
152
- CalloutComponentType2["INPUT_TEXT_AREA"] = "textarea";
153
- CalloutComponentType2["INPUT_TEXT_FIELD"] = "textfield";
154
- CalloutComponentType2["INPUT_TIME"] = "time";
155
- CalloutComponentType2["INPUT_URL"] = "url";
156
- CalloutComponentType2["NESTABLE_PANEL"] = "panel";
157
- CalloutComponentType2["NESTABLE_TABS"] = "tabs";
158
- CalloutComponentType2["NESTABLE_WELL"] = "well";
159
- return CalloutComponentType2;
160
- })(CalloutComponentType || {});
161
-
162
- // src/data/callout-component-input-selectable-types.ts
163
- var calloutComponentInputSelectableTypes = [
164
- "radio" /* INPUT_SELECTABLE_RADIO */,
165
- "selectboxes" /* INPUT_SELECTABLE_SELECTBOXES */
166
- ];
167
-
168
- // src/data/callout-component-input-text-types.ts
169
- var calloutComponentInputTextTypes = [
170
- "textarea" /* INPUT_TEXT_AREA */,
171
- "textfield" /* INPUT_TEXT_FIELD */
172
- ];
173
-
174
- // src/data/callout-component-input-types.ts
175
- var calloutComponentInputTypes = [
176
- ...calloutComponentInputSelectableTypes,
177
- ...calloutComponentInputTextTypes,
178
- "address" /* INPUT_ADDRESS */,
179
- "checkbox" /* INPUT_CHECKBOX */,
180
- "currency" /* INPUT_CURRENCY */,
181
- "datetime" /* INPUT_DATE_TIME */,
182
- "email" /* INPUT_EMAIL */,
183
- "file" /* INPUT_FILE */,
184
- "number" /* INPUT_NUMBER */,
185
- "phoneNumber" /* INPUT_PHONE_NUMBER */,
186
- "select" /* INPUT_SELECT */,
187
- "signature" /* INPUT_SIGNATURE */,
188
- "time" /* INPUT_TIME */,
189
- "url" /* INPUT_URL */
190
- ];
191
-
192
- // src/data/callout-component-nestable-types.ts
193
- var calloutComponentNestableTypes = [
194
- "panel" /* NESTABLE_PANEL */,
195
- "well" /* NESTABLE_WELL */,
196
- "tabs" /* NESTABLE_TABS */
197
- ];
198
-
199
- // src/data/callout-component-types.ts
200
- var calloutComponentTypes = [
201
- ...calloutComponentNestableTypes,
202
- ...calloutComponentInputTypes,
203
- "content" /* CONTENT */
204
- ];
205
-
206
- // src/data/content-ids.ts
207
- var contentIds = [
208
- "contacts",
209
- "email",
210
- "general",
211
- "join",
212
- "join/setup",
213
- "profile",
214
- "share",
215
- "payment",
216
- "telegram"
217
- ];
218
-
219
- // src/data/contribution-period.ts
220
- var ContributionPeriod = /* @__PURE__ */ ((ContributionPeriod2) => {
221
- ContributionPeriod2["Monthly"] = "monthly";
222
- ContributionPeriod2["Annually"] = "annually";
223
- return ContributionPeriod2;
224
- })(ContributionPeriod || {});
225
-
226
- // src/data/contribution-type.ts
227
- var ContributionType = /* @__PURE__ */ ((ContributionType2) => {
228
- ContributionType2["Automatic"] = "Automatic";
229
- ContributionType2["Manual"] = "Manual";
230
- ContributionType2["Gift"] = "Gift";
231
- ContributionType2["None"] = "None";
232
- return ContributionType2;
233
- })(ContributionType || {});
234
-
235
- // src/data/item-status.ts
236
- var ItemStatus = /* @__PURE__ */ ((ItemStatus2) => {
237
- ItemStatus2["Draft"] = "draft";
238
- ItemStatus2["Scheduled"] = "scheduled";
239
- ItemStatus2["Open"] = "open";
240
- ItemStatus2["Ended"] = "ended";
241
- return ItemStatus2;
242
- })(ItemStatus || {});
243
-
244
- // src/data/membership-status.ts
245
- var MembershipStatus = /* @__PURE__ */ ((MembershipStatus2) => {
246
- MembershipStatus2["Active"] = "active";
247
- MembershipStatus2["Expiring"] = "expiring";
248
- MembershipStatus2["Expired"] = "expired";
249
- MembershipStatus2["None"] = "none";
250
- return MembershipStatus2;
251
- })(MembershipStatus || {});
252
-
253
- // src/data/newsletter-status.ts
254
- var NewsletterStatus = /* @__PURE__ */ ((NewsletterStatus2) => {
255
- NewsletterStatus2["Subscribed"] = "subscribed";
256
- NewsletterStatus2["Unsubscribed"] = "unsubscribed";
257
- NewsletterStatus2["Cleaned"] = "cleaned";
258
- NewsletterStatus2["Pending"] = "pending";
259
- NewsletterStatus2["None"] = "none";
260
- return NewsletterStatus2;
261
- })(NewsletterStatus || {});
262
-
263
- // src/data/payment-method.ts
264
- var PaymentMethod = /* @__PURE__ */ ((PaymentMethod2) => {
265
- PaymentMethod2["None"] = "none";
266
- PaymentMethod2["Manual"] = "manual";
267
- PaymentMethod2["StripeCard"] = "s_card";
268
- PaymentMethod2["StripeSEPA"] = "s_sepa";
269
- PaymentMethod2["StripeBACS"] = "s_bacs";
270
- PaymentMethod2["StripePayPal"] = "s_paypal";
271
- PaymentMethod2["GoCardlessDirectDebit"] = "gc_direct-debit";
272
- return PaymentMethod2;
273
- })(PaymentMethod || {});
274
-
275
- // src/data/payment-status.ts
276
- var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {
277
- PaymentStatus2["Draft"] = "draft";
278
- PaymentStatus2["Pending"] = "pending";
279
- PaymentStatus2["Successful"] = "successful";
280
- PaymentStatus2["Failed"] = "failed";
281
- PaymentStatus2["Cancelled"] = "cancelled";
282
- return PaymentStatus2;
283
- })(PaymentStatus || {});
284
-
285
- // src/error/InvalidRule.ts
286
- var InvalidRule = class _InvalidRule extends Error {
287
- constructor(rule, message) {
288
- super();
289
- this.rule = rule;
290
- this.message = message;
291
- Object.setPrototypeOf(this, _InvalidRule.prototype);
292
- }
293
- };
294
-
295
- // src/search/api-keys.ts
296
- var apiKeyFilters = {
297
- id: {
298
- type: "text"
299
- },
300
- createdAt: {
301
- type: "date"
302
- }
303
- };
304
-
305
- // src/search/callouts.ts
306
- var calloutFilters = {
307
- id: {
308
- type: "text"
309
- },
310
- slug: {
311
- type: "text"
312
- },
313
- title: {
314
- type: "text"
315
- },
316
- status: {
317
- type: "enum",
318
- options: [
319
- "draft" /* Draft */,
320
- "scheduled" /* Scheduled */,
321
- "open" /* Open */,
322
- "ended" /* Ended */
323
- ]
324
- },
325
- answeredBy: {
326
- type: "contact"
327
- },
328
- starts: {
329
- type: "date",
330
- nullable: true
331
- },
332
- expires: {
333
- type: "date",
334
- nullable: true
335
- },
336
- hidden: {
337
- type: "boolean"
338
- },
339
- channels: {
340
- type: "array",
341
- nullable: true
342
- }
343
- };
344
- var calloutResponseFilters = {
345
- id: {
346
- type: "text"
347
- },
348
- contact: {
349
- type: "contact",
350
- nullable: true
351
- },
352
- calloutId: {
353
- type: "text"
354
- },
355
- createdAt: {
356
- type: "date"
357
- },
358
- updatedAt: {
359
- type: "date"
360
- },
361
- bucket: {
362
- type: "text",
363
- nullable: true
364
- },
365
- tags: {
366
- type: "array"
367
- },
368
- assignee: {
369
- type: "contact",
370
- nullable: true
371
- },
372
- answers: {
373
- type: "blob"
374
- }
375
- };
376
- var calloutResponseCommentFilters = {
377
- id: {
378
- type: "text"
379
- },
380
- responseId: {
381
- type: "text"
382
- },
383
- contact: {
384
- type: "contact"
385
- },
386
- createdAt: {
387
- type: "date"
388
- },
389
- updatedAt: {
390
- type: "date"
391
- },
392
- text: {
393
- type: "text"
394
- }
395
- };
396
- var calloutTagFilters = {
397
- id: {
398
- type: "text"
399
- },
400
- name: {
401
- type: "text"
402
- },
403
- description: {
404
- type: "text"
405
- },
406
- calloutId: {
407
- type: "text"
408
- }
409
- };
410
- var calloutChannelFilters = {
411
- id: {
412
- type: "text"
413
- },
414
- name: {
415
- type: "text"
416
- },
417
- description: {
418
- type: "text"
419
- },
420
- calloutId: {
421
- type: "text"
422
- }
423
- };
424
-
425
- // src/search/contacts.ts
426
- var RoleTypes = ["member", "admin", "superadmin"];
427
- var contactFilters = {
428
- id: {
429
- type: "contact"
430
- },
431
- firstname: {
432
- type: "text"
433
- },
434
- lastname: {
435
- type: "text"
436
- },
437
- email: {
438
- type: "text"
439
- },
440
- joined: {
441
- type: "date"
442
- },
443
- lastSeen: {
444
- type: "date"
445
- },
446
- contributionCancelled: {
447
- type: "date",
448
- nullable: true
449
- },
450
- contributionType: {
451
- type: "enum",
452
- options: [
453
- "Automatic" /* Automatic */,
454
- "Gift" /* Gift */,
455
- "Manual" /* Manual */,
456
- "None" /* None */
457
- ]
458
- },
459
- contributionMonthlyAmount: {
460
- type: "number"
461
- },
462
- contributionPeriod: {
463
- type: "enum",
464
- options: ["monthly" /* Monthly */, "annually" /* Annually */]
465
- },
466
- deliveryOptIn: {
467
- type: "boolean"
468
- },
469
- newsletterStatus: {
470
- type: "enum",
471
- options: [
472
- "subscribed" /* Subscribed */,
473
- "unsubscribed" /* Unsubscribed */,
474
- "cleaned" /* Cleaned */,
475
- "pending" /* Pending */,
476
- "none" /* None */
477
- ]
478
- },
479
- activePermission: {
480
- type: "enum",
481
- options: RoleTypes
482
- },
483
- activeMembership: {
484
- type: "boolean"
485
- },
486
- membershipStarts: {
487
- type: "date"
488
- },
489
- membershipExpires: {
490
- type: "date"
491
- },
492
- manualPaymentSource: {
493
- type: "text",
494
- nullable: true
495
- },
496
- tags: {
497
- type: "array",
498
- nullable: true
499
- }
500
- };
501
- var contactCalloutFilters = {
502
- hasAnswered: {
503
- type: "boolean"
504
- }
505
- };
506
-
507
- // src/search/notices.ts
508
- var noticeFilters = {
509
- id: {
510
- type: "text"
511
- },
512
- createdAt: {
513
- type: "date"
514
- },
515
- updatedAt: {
516
- type: "date"
517
- },
518
- name: {
519
- type: "text"
520
- },
521
- expires: {
522
- type: "date",
523
- nullable: true
524
- },
525
- enabled: {
526
- type: "boolean"
527
- },
528
- text: {
529
- type: "text"
530
- },
531
- status: {
532
- type: "enum",
533
- options: [
534
- "draft" /* Draft */,
535
- "scheduled" /* Scheduled */,
536
- "open" /* Open */,
537
- "ended" /* Ended */
538
- ]
539
- }
540
- };
541
-
542
- // src/search/operators.ts
543
- var equalityOperators = {
544
- equal: { args: 1 },
545
- not_equal: { args: 1 }
546
- };
547
- var stringOperators = {
548
- begins_with: { args: 1 },
549
- ends_with: { args: 1 },
550
- not_begins_with: { args: 1 },
551
- not_ends_with: { args: 1 }
552
- };
553
- var numericOperators = {
554
- ...equalityOperators,
555
- between: { args: 2 },
556
- not_between: { args: 2 },
557
- less: { args: 1 },
558
- greater: { args: 1 },
559
- less_or_equal: { args: 1 },
560
- greater_or_equal: { args: 1 }
561
- };
562
- var arrayOperators = {
563
- contains: { args: 1 },
564
- not_contains: { args: 1 }
565
- };
566
- var nullableOperators = {
567
- is_empty: { args: 0 },
568
- is_not_empty: { args: 0 }
569
- };
570
- var operatorsByType = {
571
- text: { ...equalityOperators, ...arrayOperators, ...stringOperators },
572
- blob: arrayOperators,
573
- date: numericOperators,
574
- number: numericOperators,
575
- boolean: { equal: equalityOperators.equal },
576
- array: arrayOperators,
577
- enum: equalityOperators,
578
- contact: equalityOperators
579
- };
580
- var operatorsByTypeMap = operatorsByType;
581
- var ruleOperators = [
582
- "equal",
583
- "not_equal",
584
- "less",
585
- "less_or_equal",
586
- "greater",
587
- "greater_or_equal",
588
- "between",
589
- "not_between",
590
- "begins_with",
591
- "not_begins_with",
592
- "contains",
593
- "not_contains",
594
- "ends_with",
595
- "not_ends_with",
596
- "is_empty",
597
- "is_not_empty"
598
- ];
599
-
600
- // src/search/payments.ts
601
- var paymentFilters = {
602
- id: {
603
- type: "text"
604
- },
605
- contact: {
606
- type: "contact"
607
- },
608
- chargeDate: {
609
- type: "date"
610
- },
611
- amount: {
612
- type: "number"
613
- },
614
- status: {
615
- type: "enum",
616
- options: [
617
- "draft" /* Draft */,
618
- "pending" /* Pending */,
619
- "successful" /* Successful */,
620
- "failed" /* Failed */,
621
- "cancelled" /* Cancelled */
622
- ]
623
- }
624
- };
625
-
626
- // src/search/segments.ts
627
- var segmentFilters = {
628
- id: {
629
- type: "text"
630
- },
631
- name: {
632
- type: "text"
633
- },
634
- description: {
635
- type: "text"
636
- }
637
- };
638
-
639
- // src/utils/callouts.ts
640
- function convertValuesToOptions(values) {
641
- return values.map(({ value }) => value);
642
- }
643
- function convertComponentToFilter(component) {
644
- const baseItem = {
645
- label: component.label || component.fullKey,
646
- nullable: true
647
- };
648
- if (isCalloutComponentOfType(component, "checkbox" /* INPUT_CHECKBOX */)) {
649
- return { ...baseItem, type: "boolean", nullable: false };
650
- }
651
- if (isCalloutComponentOfType(component, "number" /* INPUT_NUMBER */)) {
652
- return { ...baseItem, type: "number" };
653
- }
654
- if (isCalloutComponentOfType(
655
- component,
656
- "select" /* INPUT_SELECT */
657
- )) {
658
- return {
659
- ...baseItem,
660
- type: "enum",
661
- options: convertValuesToOptions(component.data.values)
662
- };
663
- }
664
- if (isCalloutComponentOfType(component, "textarea" /* INPUT_TEXT_AREA */)) {
665
- return { ...baseItem, type: "blob" };
666
- }
667
- return { ...baseItem, type: "text" };
668
- }
669
- function getSelectableLabelFromValue(component, value) {
670
- if (isCalloutComponentOfBaseType(
671
- component,
672
- 3 /* INPUT_SELECTABLE */
673
- )) {
674
- return component.values.find((v) => v.value === value)?.label || value;
675
- }
676
- if (isCalloutComponentOfType(component, "select" /* INPUT_SELECT */)) {
677
- return component.data.values.find((v) => v.value === value)?.label || value;
678
- }
679
- return value;
680
- }
681
- function isCalloutComponentOfType(component, type) {
682
- return "type" in component && component.type === type;
683
- }
684
- function isCalloutComponentOfBaseType(component, type) {
685
- if (!("type" in component)) {
686
- return false;
687
- }
688
- if (type === 0 /* CONTENT */) {
689
- return isCalloutComponentOfType(
690
- component,
691
- "content" /* CONTENT */
692
- );
693
- }
694
- if (type === 1 /* INPUT */) {
695
- return calloutComponentInputTypes.includes(
696
- component.type
697
- );
698
- }
699
- if (type === 2 /* INPUT_TEXT */) {
700
- return calloutComponentInputTextTypes.includes(
701
- component.type
702
- );
703
- }
704
- if (type === 3 /* INPUT_SELECTABLE */) {
705
- return calloutComponentInputSelectableTypes.includes(
706
- component.type
707
- );
708
- }
709
- if (type === 4 /* NESTABLE */) {
710
- return calloutComponentNestableTypes.includes(
711
- component.type
712
- );
713
- }
714
- return false;
715
- }
716
- function flattenComponents(components) {
717
- return components.flatMap(
718
- (component) => isCalloutComponentOfBaseType(component, 4 /* NESTABLE */) ? [component, ...flattenComponents(component.components)] : [component]
719
- );
720
- }
721
- function filterComponents(components, filterFn) {
722
- return components.filter(filterFn).map((component) => {
723
- return {
724
- ...component,
725
- ...isCalloutComponentOfBaseType(
726
- component,
727
- 4 /* NESTABLE */
728
- ) && {
729
- components: filterComponents(component.components, filterFn)
730
- }
731
- };
732
- });
733
- }
734
- function getCalloutComponents(formSchema) {
735
- return formSchema.slides.flatMap(
736
- (slide) => flattenComponents(slide.components).map((component) => ({
737
- ...component,
738
- slideId: slide.id,
739
- fullKey: `${slide.id}.${component.key}`
740
- }))
741
- );
742
- }
743
- function getCalloutFilters(formSchema) {
744
- const items = getCalloutComponents(formSchema).filter((c) => c.input).map((c) => [`answers.${c.fullKey}`, convertComponentToFilter(c)]);
745
- return Object.fromEntries(items);
746
- }
747
- function isAddressAnswer(answer) {
748
- return !!answer && typeof answer === "object" && "geometry" in answer;
749
- }
750
- function isFileUploadAnswer(answer) {
751
- return !!answer && typeof answer === "object" && "url" in answer;
752
- }
753
- function stringifyAnswer(component, answer) {
754
- if (Array.isArray(answer)) {
755
- return answer.map((a) => stringifyAnswer(component, a)).join(", ");
756
- } else if (!answer) {
757
- return "";
758
- } else if (isAddressAnswer(answer)) {
759
- return answer.geometry.location.lat + ", " + answer.geometry.location.lng;
760
- } else if (isFileUploadAnswer(answer)) {
761
- return answer.url;
762
- } else if (typeof answer === "object") {
763
- return Object.entries(answer).filter(([, selected]) => selected).map(([value]) => getSelectableLabelFromValue(component, value)).join(", ");
764
- } else if (typeof answer === "string") {
765
- return getSelectableLabelFromValue(component, answer);
766
- } else {
767
- return answer.toString();
768
- }
769
- }
770
-
771
- // src/utils/slug.ts
772
- function getWholeCharAndI(str, i) {
773
- const code = str.charCodeAt(i);
774
- if (isNaN(code)) {
775
- throw new RangeError(
776
- "Index " + i + ' out of range for string "' + str + '"; please open an issue at https://github.com/Trott/slug/issues/new'
777
- );
778
- }
779
- if (code < 55296 || code > 57343) {
780
- return [str.charAt(i), i];
781
- }
782
- if (code >= 55296 && code <= 56319) {
783
- if (str.length <= i + 1) {
784
- return [" ", i];
785
- }
786
- const next = str.charCodeAt(i + 1);
787
- if (next < 56320 || next > 57343) {
788
- return [" ", i];
789
- }
790
- return [str.charAt(i) + str.charAt(i + 1), i + 1];
791
- }
792
- if (i === 0) {
793
- return [" ", i];
794
- }
795
- const prev = str.charCodeAt(i - 1);
796
- if (prev < 55296 || prev > 56319) {
797
- return [" ", i];
798
- }
799
- throw new Error(
800
- 'String "' + str + '" reaches code believed to be unreachable; please open an issue at https://github.com/Trott/slug/issues/new'
801
- );
802
- }
803
- function base64(input) {
804
- return btoa(unescape(encodeURIComponent(input)));
805
- }
806
- function slug(s, opts) {
807
- let result = slugify(s, opts);
808
- const fallback = opts && opts.fallback !== void 0 ? opts.fallback : defaults.fallback;
809
- if (fallback === true && result === "") {
810
- let input = "";
811
- for (let i = 0; i < s.length; i++) {
812
- const charAndI = getWholeCharAndI(s, i);
813
- i = charAndI[1];
814
- input += charAndI[0];
815
- }
816
- result = slugify(base64(input), opts);
817
- }
818
- return result;
819
- }
820
- var locales = {
821
- // http://www.eki.ee/wgrs/rom1_bg.pdf
822
- bg: {
823
- \u0419: "Y",
824
- \u0439: "y",
825
- X: "H",
826
- x: "h",
827
- \u0426: "Ts",
828
- \u0446: "ts",
829
- \u0429: "Sht",
830
- \u0449: "sht",
831
- \u042A: "A",
832
- \u044A: "a",
833
- \u042C: "Y",
834
- \u044C: "y"
835
- },
836
- // Need a reference URL for German, although this is pretty well-known.
837
- de: { \u00C4: "AE", \u00E4: "ae", \u00D6: "OE", \u00F6: "oe", \u00DC: "UE", \u00FC: "ue" },
838
- // Need a reference URL for Serbian.
839
- sr: { \u0111: "dj", \u0110: "DJ" },
840
- // https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/864314/ROMANIZATION_OF_UKRAINIAN.pdf
841
- uk: {
842
- \u0418: "Y",
843
- \u0438: "y",
844
- \u0419: "Y",
845
- \u0439: "y",
846
- \u0426: "Ts",
847
- \u0446: "ts",
848
- \u0425: "Kh",
849
- \u0445: "kh",
850
- \u0429: "Shch",
851
- \u0449: "shch",
852
- \u0413: "H",
853
- \u0433: "h"
854
- }
855
- };
856
- function slugify(str, partialOpts) {
857
- const mode = partialOpts?.mode || defaults.mode;
858
- const opts = { ...defaults.modes[mode], ...partialOpts };
859
- const localeMap = !!opts.locale && locales[opts.locale] || {};
860
- let lengths = [];
861
- for (const key in opts.multicharmap) {
862
- if (!Object.prototype.hasOwnProperty.call(opts.multicharmap, key)) {
863
- continue;
864
- }
865
- const len = key.length;
866
- if (lengths.indexOf(len) === -1) {
867
- lengths.push(len);
868
- }
869
- }
870
- lengths = lengths.sort(function(a, b) {
871
- return b - a;
872
- });
873
- const disallowedChars = opts.mode === "rfc3986" ? /[^\w\s\-.~]/ : /[^A-Za-z0-9\s]/;
874
- let result = "";
875
- for (let char, i = 0, l = str.length; i < l; i++) {
876
- char = str[i];
877
- let matchedMultichar = false;
878
- for (let j = 0; j < lengths.length; j++) {
879
- const len = lengths[j];
880
- const substr = str.substr(i, len);
881
- if (opts.multicharmap[substr]) {
882
- i += len - 1;
883
- char = opts.multicharmap[substr];
884
- matchedMultichar = true;
885
- break;
886
- }
887
- }
888
- if (!matchedMultichar) {
889
- if (localeMap[char]) {
890
- char = localeMap[char];
891
- } else if (opts.charmap[char]) {
892
- char = opts.charmap[char].replace(opts.replacement, " ");
893
- } else if (char.includes(opts.replacement)) {
894
- char = char.replace(opts.replacement, " ");
895
- } else {
896
- char = char.replace(disallowedChars, "");
897
- }
898
- }
899
- result += char;
900
- }
901
- if (opts.remove) {
902
- result = result.replace(opts.remove, "");
903
- }
904
- if (opts.trim) {
905
- result = result.trim();
906
- }
907
- result = result.replace(/\s+/g, opts.replacement);
908
- if (opts.lower) {
909
- result = result.toLowerCase();
910
- }
911
- return result;
912
- }
913
- var initialMulticharmap = {
914
- // multibyte devanagari characters (hindi, sanskrit, etc.)
915
- \u092B\u093C: "Fi",
916
- \u0917\u093C: "Ghi",
917
- \u0916\u093C: "Khi",
918
- \u0915\u093C: "Qi",
919
- \u0921\u093C: "ugDha",
920
- \u0922\u093C: "ugDhha",
921
- \u092F\u093C: "Yi",
922
- \u091C\u093C: "Za",
923
- // hebrew
924
- // Refs: http://www.eki.ee/wgrs/rom1_he.pdf
925
- // Refs: https://en.wikipedia.org/wiki/Niqqud
926
- \u05D1\u05B4\u05D9: "i",
927
- \u05D1\u05B5: "e",
928
- \u05D1\u05B5\u05D9: "e",
929
- \u05D1\u05B6: "e",
930
- \u05D1\u05B7: "a",
931
- \u05D1\u05B8: "a",
932
- \u05D1\u05B9: "o",
933
- \u05D5\u05B9: "o",
934
- \u05D1\u05BB: "u",
935
- \u05D5\u05BC: "u",
936
- \u05D1\u05BC: "b",
937
- \u05DB\u05BC: "k",
938
- \u05DA\u05BC: "k",
939
- \u05E4\u05BC: "p",
940
- \u05E9\u05C1: "sh",
941
- \u05E9\u05C2: "s",
942
- \u05D1\u05B0: "e",
943
- \u05D7\u05B1: "e",
944
- \u05D7\u05B2: "a",
945
- \u05D7\u05B3: "o",
946
- \u05D1\u05B4: "i"
947
- };
948
- var initialCharmap = {
949
- // latin
950
- \u00C0: "A",
951
- \u00C1: "A",
952
- \u00C2: "A",
953
- \u00C3: "A",
954
- \u00C4: "A",
955
- \u00C5: "A",
956
- \u00C6: "AE",
957
- \u00C7: "C",
958
- \u00C8: "E",
959
- \u00C9: "E",
960
- \u00CA: "E",
961
- \u00CB: "E",
962
- \u00CC: "I",
963
- \u00CD: "I",
964
- \u00CE: "I",
965
- \u00CF: "I",
966
- \u00D0: "D",
967
- \u00D1: "N",
968
- \u00D2: "O",
969
- \u00D3: "O",
970
- \u00D4: "O",
971
- \u00D5: "O",
972
- \u00D6: "O",
973
- \u0150: "O",
974
- \u00D8: "O",
975
- \u014C: "O",
976
- \u00D9: "U",
977
- \u00DA: "U",
978
- \u00DB: "U",
979
- \u00DC: "U",
980
- \u0170: "U",
981
- \u00DD: "Y",
982
- \u00DE: "TH",
983
- \u00DF: "ss",
984
- \u00E0: "a",
985
- \u00E1: "a",
986
- \u00E2: "a",
987
- \u00E3: "a",
988
- \u00E4: "a",
989
- \u00E5: "a",
990
- \u00E6: "ae",
991
- \u00E7: "c",
992
- \u00E8: "e",
993
- \u00E9: "e",
994
- \u00EA: "e",
995
- \u00EB: "e",
996
- \u00EC: "i",
997
- \u00ED: "i",
998
- \u00EE: "i",
999
- \u00EF: "i",
1000
- \u00F0: "d",
1001
- \u00F1: "n",
1002
- \u00F2: "o",
1003
- \u00F3: "o",
1004
- \u00F4: "o",
1005
- \u00F5: "o",
1006
- \u00F6: "o",
1007
- \u0151: "o",
1008
- \u00F8: "o",
1009
- \u014D: "o",
1010
- \u0152: "OE",
1011
- \u0153: "oe",
1012
- \u00F9: "u",
1013
- \u00FA: "u",
1014
- \u00FB: "u",
1015
- \u00FC: "u",
1016
- \u0171: "u",
1017
- \u00FD: "y",
1018
- \u00FE: "th",
1019
- \u00FF: "y",
1020
- "\u1E9E": "SS",
1021
- // greek
1022
- \u03B1: "a",
1023
- \u03B2: "b",
1024
- \u03B3: "g",
1025
- \u03B4: "d",
1026
- \u03B5: "e",
1027
- \u03B6: "z",
1028
- \u03B7: "h",
1029
- \u03B8: "th",
1030
- \u03B9: "i",
1031
- \u03BA: "k",
1032
- \u03BB: "l",
1033
- \u03BC: "m",
1034
- \u03BD: "n",
1035
- \u03BE: "3",
1036
- \u03BF: "o",
1037
- \u03C0: "p",
1038
- \u03C1: "r",
1039
- \u03C3: "s",
1040
- \u03C4: "t",
1041
- \u03C5: "y",
1042
- \u03C6: "f",
1043
- \u03C7: "x",
1044
- \u03C8: "ps",
1045
- \u03C9: "w",
1046
- \u03AC: "a",
1047
- \u03AD: "e",
1048
- \u03AF: "i",
1049
- \u03CC: "o",
1050
- \u03CD: "y",
1051
- \u03AE: "h",
1052
- \u03CE: "w",
1053
- \u03C2: "s",
1054
- \u03CA: "i",
1055
- \u03B0: "y",
1056
- \u03CB: "y",
1057
- \u0390: "i",
1058
- \u0391: "A",
1059
- \u0392: "B",
1060
- \u0393: "G",
1061
- \u0394: "D",
1062
- \u0395: "E",
1063
- \u0396: "Z",
1064
- \u0397: "H",
1065
- \u0398: "Th",
1066
- \u0399: "I",
1067
- \u039A: "K",
1068
- \u039B: "L",
1069
- \u039C: "M",
1070
- \u039D: "N",
1071
- \u039E: "3",
1072
- \u039F: "O",
1073
- \u03A0: "P",
1074
- \u03A1: "R",
1075
- \u03A3: "S",
1076
- \u03A4: "T",
1077
- \u03A5: "Y",
1078
- \u03A6: "F",
1079
- \u03A7: "X",
1080
- \u03A8: "PS",
1081
- \u03A9: "W",
1082
- \u0386: "A",
1083
- \u0388: "E",
1084
- \u038A: "I",
1085
- \u038C: "O",
1086
- \u038E: "Y",
1087
- \u0389: "H",
1088
- \u038F: "W",
1089
- \u03AA: "I",
1090
- \u03AB: "Y",
1091
- // turkish
1092
- \u015F: "s",
1093
- \u015E: "S",
1094
- \u0131: "i",
1095
- \u0130: "I",
1096
- \u011F: "g",
1097
- \u011E: "G",
1098
- // russian
1099
- \u0430: "a",
1100
- \u0431: "b",
1101
- \u0432: "v",
1102
- \u0433: "g",
1103
- \u0434: "d",
1104
- \u0435: "e",
1105
- \u0451: "yo",
1106
- \u0436: "zh",
1107
- \u0437: "z",
1108
- \u0438: "i",
1109
- \u0439: "j",
1110
- \u043A: "k",
1111
- \u043B: "l",
1112
- \u043C: "m",
1113
- \u043D: "n",
1114
- \u043E: "o",
1115
- \u043F: "p",
1116
- \u0440: "r",
1117
- \u0441: "s",
1118
- \u0442: "t",
1119
- \u0443: "u",
1120
- \u0444: "f",
1121
- \u0445: "h",
1122
- \u0446: "c",
1123
- \u0447: "ch",
1124
- \u0448: "sh",
1125
- \u0449: "sh",
1126
- \u044A: "u",
1127
- \u044B: "y",
1128
- \u044C: "",
1129
- \u044D: "e",
1130
- \u044E: "yu",
1131
- \u044F: "ya",
1132
- \u0410: "A",
1133
- \u0411: "B",
1134
- \u0412: "V",
1135
- \u0413: "G",
1136
- \u0414: "D",
1137
- \u0415: "E",
1138
- \u0401: "Yo",
1139
- \u0416: "Zh",
1140
- \u0417: "Z",
1141
- \u0418: "I",
1142
- \u0419: "J",
1143
- \u041A: "K",
1144
- \u041B: "L",
1145
- \u041C: "M",
1146
- \u041D: "N",
1147
- \u041E: "O",
1148
- \u041F: "P",
1149
- \u0420: "R",
1150
- \u0421: "S",
1151
- \u0422: "T",
1152
- \u0423: "U",
1153
- \u0424: "F",
1154
- \u0425: "H",
1155
- \u0426: "C",
1156
- \u0427: "Ch",
1157
- \u0428: "Sh",
1158
- \u0429: "Sh",
1159
- \u042A: "U",
1160
- \u042B: "Y",
1161
- \u042C: "",
1162
- \u042D: "E",
1163
- \u042E: "Yu",
1164
- \u042F: "Ya",
1165
- // ukranian
1166
- \u0404: "Ye",
1167
- \u0406: "I",
1168
- \u0407: "Yi",
1169
- \u0490: "G",
1170
- \u0454: "ye",
1171
- \u0456: "i",
1172
- \u0457: "yi",
1173
- \u0491: "g",
1174
- // czech
1175
- \u010D: "c",
1176
- \u010F: "d",
1177
- \u011B: "e",
1178
- \u0148: "n",
1179
- \u0159: "r",
1180
- \u0161: "s",
1181
- \u0165: "t",
1182
- \u016F: "u",
1183
- \u017E: "z",
1184
- \u010C: "C",
1185
- \u010E: "D",
1186
- \u011A: "E",
1187
- \u0147: "N",
1188
- \u0158: "R",
1189
- \u0160: "S",
1190
- \u0164: "T",
1191
- \u016E: "U",
1192
- \u017D: "Z",
1193
- // slovak
1194
- \u013E: "l",
1195
- \u013A: "l",
1196
- \u0155: "r",
1197
- \u013D: "L",
1198
- \u0139: "L",
1199
- \u0154: "R",
1200
- // polish
1201
- \u0105: "a",
1202
- \u0107: "c",
1203
- \u0119: "e",
1204
- \u0142: "l",
1205
- \u0144: "n",
1206
- \u015B: "s",
1207
- \u017A: "z",
1208
- \u017C: "z",
1209
- \u0104: "A",
1210
- \u0106: "C",
1211
- \u0118: "E",
1212
- \u0141: "L",
1213
- \u0143: "N",
1214
- \u015A: "S",
1215
- \u0179: "Z",
1216
- \u017B: "Z",
1217
- // latvian
1218
- \u0101: "a",
1219
- \u0113: "e",
1220
- \u0123: "g",
1221
- \u012B: "i",
1222
- \u0137: "k",
1223
- \u013C: "l",
1224
- \u0146: "n",
1225
- \u016B: "u",
1226
- \u0100: "A",
1227
- \u0112: "E",
1228
- \u0122: "G",
1229
- \u012A: "I",
1230
- \u0136: "K",
1231
- \u013B: "L",
1232
- \u0145: "N",
1233
- \u016A: "U",
1234
- // arabic
1235
- \u0623: "a",
1236
- \u0625: "i",
1237
- \u0628: "b",
1238
- \u062A: "t",
1239
- \u062B: "th",
1240
- \u062C: "g",
1241
- \u062D: "h",
1242
- \u062E: "kh",
1243
- \u062F: "d",
1244
- \u0630: "th",
1245
- \u0631: "r",
1246
- \u0632: "z",
1247
- \u0633: "s",
1248
- \u0634: "sh",
1249
- \u0635: "s",
1250
- \u0636: "d",
1251
- \u0637: "t",
1252
- \u0638: "th",
1253
- \u0639: "aa",
1254
- \u063A: "gh",
1255
- \u0641: "f",
1256
- \u0642: "k",
1257
- \u0643: "k",
1258
- \u0644: "l",
1259
- \u0645: "m",
1260
- \u0646: "n",
1261
- \u0647: "h",
1262
- \u0648: "o",
1263
- \u064A: "y",
1264
- \u0621: "aa",
1265
- \u0629: "a",
1266
- // farsi
1267
- \u0622: "a",
1268
- \u0627: "a",
1269
- \u067E: "p",
1270
- \u0698: "zh",
1271
- \u06AF: "g",
1272
- \u0686: "ch",
1273
- \u06A9: "k",
1274
- \u06CC: "i",
1275
- // lithuanian
1276
- \u0117: "e",
1277
- \u012F: "i",
1278
- \u0173: "u",
1279
- \u0116: "E",
1280
- \u012E: "I",
1281
- \u0172: "U",
1282
- // romanian
1283
- \u021B: "t",
1284
- \u021A: "T",
1285
- \u0163: "t",
1286
- \u0162: "T",
1287
- \u0219: "s",
1288
- \u0218: "S",
1289
- \u0103: "a",
1290
- \u0102: "A",
1291
- // vietnamese
1292
- \u1EA0: "A",
1293
- \u1EA2: "A",
1294
- \u1EA6: "A",
1295
- \u1EA4: "A",
1296
- \u1EAC: "A",
1297
- \u1EA8: "A",
1298
- \u1EAA: "A",
1299
- \u1EB0: "A",
1300
- \u1EAE: "A",
1301
- \u1EB6: "A",
1302
- \u1EB2: "A",
1303
- \u1EB4: "A",
1304
- \u1EB8: "E",
1305
- \u1EBA: "E",
1306
- \u1EBC: "E",
1307
- \u1EC0: "E",
1308
- \u1EBE: "E",
1309
- \u1EC6: "E",
1310
- \u1EC2: "E",
1311
- \u1EC4: "E",
1312
- \u1ECA: "I",
1313
- \u1EC8: "I",
1314
- \u0128: "I",
1315
- \u1ECC: "O",
1316
- \u1ECE: "O",
1317
- \u1ED2: "O",
1318
- \u1ED0: "O",
1319
- \u1ED8: "O",
1320
- \u1ED4: "O",
1321
- \u1ED6: "O",
1322
- \u01A0: "O",
1323
- \u1EDC: "O",
1324
- \u1EDA: "O",
1325
- \u1EE2: "O",
1326
- \u1EDE: "O",
1327
- \u1EE0: "O",
1328
- \u1EE4: "U",
1329
- \u1EE6: "U",
1330
- \u0168: "U",
1331
- \u01AF: "U",
1332
- \u1EEA: "U",
1333
- \u1EE8: "U",
1334
- \u1EF0: "U",
1335
- \u1EEC: "U",
1336
- \u1EEE: "U",
1337
- \u1EF2: "Y",
1338
- \u1EF4: "Y",
1339
- \u1EF6: "Y",
1340
- \u1EF8: "Y",
1341
- \u0110: "D",
1342
- \u1EA1: "a",
1343
- \u1EA3: "a",
1344
- \u1EA7: "a",
1345
- \u1EA5: "a",
1346
- \u1EAD: "a",
1347
- \u1EA9: "a",
1348
- \u1EAB: "a",
1349
- \u1EB1: "a",
1350
- \u1EAF: "a",
1351
- \u1EB7: "a",
1352
- \u1EB3: "a",
1353
- \u1EB5: "a",
1354
- \u1EB9: "e",
1355
- \u1EBB: "e",
1356
- \u1EBD: "e",
1357
- \u1EC1: "e",
1358
- \u1EBF: "e",
1359
- \u1EC7: "e",
1360
- \u1EC3: "e",
1361
- \u1EC5: "e",
1362
- \u1ECB: "i",
1363
- \u1EC9: "i",
1364
- \u0129: "i",
1365
- \u1ECD: "o",
1366
- \u1ECF: "o",
1367
- \u1ED3: "o",
1368
- \u1ED1: "o",
1369
- \u1ED9: "o",
1370
- \u1ED5: "o",
1371
- \u1ED7: "o",
1372
- \u01A1: "o",
1373
- \u1EDD: "o",
1374
- \u1EDB: "o",
1375
- \u1EE3: "o",
1376
- \u1EDF: "o",
1377
- \u1EE1: "o",
1378
- \u1EE5: "u",
1379
- \u1EE7: "u",
1380
- \u0169: "u",
1381
- \u01B0: "u",
1382
- \u1EEB: "u",
1383
- \u1EE9: "u",
1384
- \u1EF1: "u",
1385
- \u1EED: "u",
1386
- \u1EEF: "u",
1387
- \u1EF3: "y",
1388
- \u1EF5: "y",
1389
- \u1EF7: "y",
1390
- \u1EF9: "y",
1391
- \u0111: "d",
1392
- // kazakh
1393
- \u04D8: "AE",
1394
- \u04D9: "ae",
1395
- \u0492: "GH",
1396
- \u0493: "gh",
1397
- \u049A: "KH",
1398
- \u049B: "kh",
1399
- \u04A2: "NG",
1400
- \u04A3: "ng",
1401
- \u04AE: "UE",
1402
- \u04AF: "ue",
1403
- \u04B0: "U",
1404
- \u04B1: "u",
1405
- \u04BA: "H",
1406
- \u04BB: "h",
1407
- \u04E8: "OE",
1408
- \u04E9: "oe",
1409
- // serbian
1410
- \u0452: "dj",
1411
- \u0458: "j",
1412
- \u0459: "lj",
1413
- \u045A: "nj",
1414
- \u045B: "c",
1415
- \u045F: "dz",
1416
- \u0402: "Dj",
1417
- \u0408: "j",
1418
- \u0409: "Lj",
1419
- \u040A: "Nj",
1420
- \u040B: "C",
1421
- \u040F: "Dz",
1422
- \u01CC: "nj",
1423
- \u01C9: "lj",
1424
- \u01CB: "NJ",
1425
- \u01C8: "LJ",
1426
- // hindi
1427
- \u0905: "a",
1428
- \u0906: "aa",
1429
- \u090F: "e",
1430
- \u0908: "ii",
1431
- \u090D: "ei",
1432
- \u090E: "ae",
1433
- \u0910: "ai",
1434
- \u0907: "i",
1435
- \u0913: "o",
1436
- \u0911: "oi",
1437
- \u0912: "oii",
1438
- \u090A: "uu",
1439
- \u0914: "ou",
1440
- \u0909: "u",
1441
- \u092C: "B",
1442
- \u092D: "Bha",
1443
- \u091A: "Ca",
1444
- \u091B: "Chha",
1445
- \u0921: "Da",
1446
- \u0922: "Dha",
1447
- \u092B: "Fa",
1448
- \u0917: "Ga",
1449
- \u0918: "Gha",
1450
- \u0917\u093C: "Ghi",
1451
- \u0939: "Ha",
1452
- \u091C: "Ja",
1453
- \u091D: "Jha",
1454
- \u0915: "Ka",
1455
- \u0916: "Kha",
1456
- \u0916\u093C: "Khi",
1457
- \u0932: "L",
1458
- \u0933: "Li",
1459
- \u090C: "Li",
1460
- \u0934: "Lii",
1461
- \u0961: "Lii",
1462
- \u092E: "Ma",
1463
- \u0928: "Na",
1464
- \u0919: "Na",
1465
- \u091E: "Nia",
1466
- \u0923: "Nae",
1467
- \u0929: "Ni",
1468
- \u0950: "oms",
1469
- \u092A: "Pa",
1470
- \u0915\u093C: "Qi",
1471
- \u0930: "Ra",
1472
- \u090B: "Ri",
1473
- \u0960: "Ri",
1474
- \u0931: "Ri",
1475
- \u0938: "Sa",
1476
- \u0936: "Sha",
1477
- \u0937: "Shha",
1478
- \u091F: "Ta",
1479
- \u0924: "Ta",
1480
- \u0920: "Tha",
1481
- \u0926: "Tha",
1482
- \u0925: "Tha",
1483
- \u0927: "Thha",
1484
- \u0921\u093C: "ugDha",
1485
- \u0922\u093C: "ugDhha",
1486
- \u0935: "Va",
1487
- \u092F: "Ya",
1488
- \u092F\u093C: "Yi",
1489
- \u091C\u093C: "Za",
1490
- // azerbaijani
1491
- \u0259: "e",
1492
- \u018F: "E",
1493
- // georgian
1494
- \u10D0: "a",
1495
- \u10D1: "b",
1496
- \u10D2: "g",
1497
- \u10D3: "d",
1498
- \u10D4: "e",
1499
- \u10D5: "v",
1500
- \u10D6: "z",
1501
- \u10D7: "t",
1502
- \u10D8: "i",
1503
- \u10D9: "k",
1504
- \u10DA: "l",
1505
- \u10DB: "m",
1506
- \u10DC: "n",
1507
- \u10DD: "o",
1508
- \u10DE: "p",
1509
- \u10DF: "zh",
1510
- \u10E0: "r",
1511
- \u10E1: "s",
1512
- \u10E2: "t",
1513
- \u10E3: "u",
1514
- \u10E4: "p",
1515
- \u10E5: "k",
1516
- \u10E6: "gh",
1517
- \u10E7: "q",
1518
- \u10E8: "sh",
1519
- \u10E9: "ch",
1520
- \u10EA: "ts",
1521
- \u10EB: "dz",
1522
- \u10EC: "ts",
1523
- \u10ED: "ch",
1524
- \u10EE: "kh",
1525
- \u10EF: "j",
1526
- \u10F0: "h",
1527
- // hebrew
1528
- \u05D1: "v",
1529
- \u05D2\u05BC: "g",
1530
- \u05D2: "g",
1531
- \u05D3: "d",
1532
- \u05D3\u05BC: "d",
1533
- \u05D4: "h",
1534
- \u05D5: "v",
1535
- \u05D6: "z",
1536
- \u05D7: "h",
1537
- \u05D8: "t",
1538
- \u05D9: "y",
1539
- \u05DB: "kh",
1540
- \u05DA: "kh",
1541
- \u05DC: "l",
1542
- \u05DE: "m",
1543
- \u05DD: "m",
1544
- \u05E0: "n",
1545
- \u05DF: "n",
1546
- \u05E1: "s",
1547
- \u05E4: "f",
1548
- \u05E3: "f",
1549
- \u05E5: "ts",
1550
- \u05E6: "ts",
1551
- \u05E7: "k",
1552
- \u05E8: "r",
1553
- \u05EA\u05BC: "t",
1554
- \u05EA: "t"
1555
- };
1556
- var defaults = {
1557
- locale: "",
1558
- mode: "pretty",
1559
- fallback: true,
1560
- modes: {
1561
- rfc3986: {
1562
- replacement: "-",
1563
- lower: true,
1564
- charmap: initialCharmap,
1565
- multicharmap: initialMulticharmap,
1566
- remove: null,
1567
- trim: true
1568
- },
1569
- pretty: {
1570
- replacement: "-",
1571
- lower: true,
1572
- charmap: initialCharmap,
1573
- multicharmap: initialMulticharmap,
1574
- remove: null,
1575
- trim: true
1576
- }
1577
- }
1578
- };
1579
-
1580
- // src/utils/validations.ts
1581
- var isAngle = (value, span = 180) => {
1582
- return typeof value === "number" && value >= span * -1 && value <= span;
1583
- };
1584
- var isEmail = (value) => {
1585
- if (typeof value !== "string" || value.length === 0) {
1586
- return false;
1587
- }
1588
- const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
1589
- return emailRegex.test(value);
1590
- };
1591
- var isLngLat = (value) => {
1592
- if (!Array.isArray(value) || value.length !== 2) {
1593
- return false;
1594
- }
1595
- const [longitude, latitude] = value;
1596
- if (!isAngle(longitude, 180) || !isAngle(latitude, 90)) {
1597
- return false;
1598
- }
1599
- return true;
1600
- };
1601
- var isMapBounds = (value) => {
1602
- return Array.isArray(value) && value.length === 2 && value.every(isLngLat);
1603
- };
1604
- var isPassword = (value) => {
1605
- return typeof value === "string" && value.length >= 8 && /[a-z]/.test(value) && /[A-Z]/.test(value) && /[0-9]/.test(value);
1606
- };
1607
- var isPeriod = (value) => {
1608
- return value === "monthly" /* Monthly */ || value === "annually" /* Annually */;
1609
- };
1610
- var isSlug = (value) => {
1611
- return typeof value === "string" && value === slug(value);
1612
- };
1613
- function isType(types, value) {
1614
- return types.includes(typeof value);
1615
- }
1616
- var isURL = (value) => {
1617
- if (typeof value !== "string" || !value.length) {
1618
- return false;
1619
- }
1620
- const urlRegex = /^(https?:\/\/)([\da-z\-]+\.)+[a-z]{2,6}(:[0-9]{1,5})?([\/\w \.-]*)*\/?(\?[a-zA-Z0-9=&]*)?$/;
1621
- return urlRegex.test(value);
1622
- };
1623
- var isNumber = (value) => {
1624
- return typeof value === "number" && !isNaN(value);
1625
- };
1626
- var isAmountOfMoney = (value) => {
1627
- if (!isNumber(value) || value < 0) {
1628
- return false;
1629
- }
1630
- const decimalPart = value.toString().split(".")[1];
1631
- if (decimalPart && decimalPart.length > 2) {
1632
- return false;
1633
- }
1634
- return true;
1635
- };
1636
- var isPhoneNumber = (value) => {
1637
- if (typeof value !== "string" || !value.length) {
1638
- return false;
1639
- }
1640
- if (value.length > 15 || value.length < 5) {
1641
- return false;
1642
- }
1643
- const phoneRegex = /^(\+?[0-9])\d*$/;
1644
- return phoneRegex.test(value);
1645
- };
1646
- var isValidPayFee = (value, amount, period) => {
1647
- if (typeof value !== "boolean" || typeof amount !== "number" || !isPeriod(period)) {
1648
- return false;
1649
- }
1650
- if (value && period === "annually" /* Annually */) {
1651
- return false;
1652
- }
1653
- if (!value && period === "monthly" /* Monthly */ && amount === 1) {
1654
- return false;
1655
- }
1656
- return true;
1657
- };
1658
- var isNumberInRange = (value, min, max) => {
1659
- if (!isNumber(value)) {
1660
- return false;
1661
- }
1662
- if (typeof min === "number") {
1663
- if (value < min) {
1664
- return false;
1665
- }
1666
- }
1667
- if (typeof max === "number") {
1668
- if (value > max) {
1669
- return false;
1670
- }
1671
- }
1672
- return true;
1673
- };
1674
- var isTextInRange = (value, minLength = 0, maxLength) => {
1675
- if (typeof value !== "string") {
1676
- return false;
1677
- }
1678
- if (typeof minLength === "number" && value.length < minLength) {
1679
- return false;
1680
- }
1681
- if (typeof maxLength === "number" && value.length > maxLength) {
1682
- return false;
1683
- }
1684
- return true;
1685
- };
1686
- var isTextInWordRange = (value, minWordLength = 0, maxWordLength) => {
1687
- if (typeof value !== "string") {
1688
- return false;
1689
- }
1690
- const words = value.length > 0 ? value.split(" ") : [];
1691
- if (typeof minWordLength === "number" && words.length < minWordLength) {
1692
- return false;
1693
- }
1694
- if (typeof maxWordLength === "number" && words.length > maxWordLength) {
1695
- return false;
1696
- }
1697
- return true;
1698
- };
1699
-
1700
- // src/utils/conversions.ts
1701
- var toPhoneNumber = (value) => {
1702
- if (typeof value !== "string" || !value.length) {
1703
- return false;
1704
- }
1705
- const result = value.replace(/(?!^\+)\D/g, "");
1706
- if (!isPhoneNumber(result)) {
1707
- return false;
1708
- }
1709
- return result;
1710
- };
1711
- var toBytes = (value) => {
1712
- if (typeof value !== "string" || !value.length) {
1713
- return null;
1714
- }
1715
- const lowerCase = value.toLowerCase();
1716
- const units = ["b", "kb", "mb", "gb", "tb", "pb", "eb", "zb", "yb"];
1717
- const [, num, unit] = lowerCase.match(/(\d+)(\w+)/);
1718
- const unitIndex = units.indexOf(unit.toLowerCase());
1719
- if (unitIndex === -1) {
1720
- return null;
1721
- }
1722
- return Number(num) * Math.pow(1024, unitIndex);
1723
- };
1724
-
1725
- // ../../../.cache/deno/deno_esbuild/date-fns@3.6.0/node_modules/date-fns/toDate.mjs
1726
- function toDate(argument) {
1727
- const argStr = Object.prototype.toString.call(argument);
1728
- if (argument instanceof Date || typeof argument === "object" && argStr === "[object Date]") {
1729
- return new argument.constructor(+argument);
1730
- } else if (typeof argument === "number" || argStr === "[object Number]" || typeof argument === "string" || argStr === "[object String]") {
1731
- return new Date(argument);
1732
- } else {
1733
- return /* @__PURE__ */ new Date(NaN);
1734
- }
1735
- }
1736
-
1737
- // ../../../.cache/deno/deno_esbuild/date-fns@3.6.0/node_modules/date-fns/constructFrom.mjs
1738
- function constructFrom(date, value) {
1739
- if (date instanceof Date) {
1740
- return new date.constructor(value);
1741
- } else {
1742
- return new Date(value);
1743
- }
1744
- }
1745
-
1746
- // ../../../.cache/deno/deno_esbuild/date-fns@3.6.0/node_modules/date-fns/addDays.mjs
1747
- function addDays(date, amount) {
1748
- const _date = toDate(date);
1749
- if (isNaN(amount))
1750
- return constructFrom(date, NaN);
1751
- if (!amount) {
1752
- return _date;
1753
- }
1754
- _date.setDate(_date.getDate() + amount);
1755
- return _date;
1756
- }
1757
-
1758
- // ../../../.cache/deno/deno_esbuild/date-fns@3.6.0/node_modules/date-fns/addMonths.mjs
1759
- function addMonths(date, amount) {
1760
- const _date = toDate(date);
1761
- if (isNaN(amount))
1762
- return constructFrom(date, NaN);
1763
- if (!amount) {
1764
- return _date;
1765
- }
1766
- const dayOfMonth = _date.getDate();
1767
- const endOfDesiredMonth = constructFrom(date, _date.getTime());
1768
- endOfDesiredMonth.setMonth(_date.getMonth() + amount + 1, 0);
1769
- const daysInMonth = endOfDesiredMonth.getDate();
1770
- if (dayOfMonth >= daysInMonth) {
1771
- return endOfDesiredMonth;
1772
- } else {
1773
- _date.setFullYear(
1774
- endOfDesiredMonth.getFullYear(),
1775
- endOfDesiredMonth.getMonth(),
1776
- dayOfMonth
1777
- );
1778
- return _date;
1779
- }
1780
- }
1781
-
1782
- // ../../../.cache/deno/deno_esbuild/date-fns@3.6.0/node_modules/date-fns/add.mjs
1783
- function add(date, duration) {
1784
- const {
1785
- years = 0,
1786
- months = 0,
1787
- weeks = 0,
1788
- days = 0,
1789
- hours = 0,
1790
- minutes = 0,
1791
- seconds = 0
1792
- } = duration;
1793
- const _date = toDate(date);
1794
- const dateWithMonths = months || years ? addMonths(_date, months + years * 12) : _date;
1795
- const dateWithDays = days || weeks ? addDays(dateWithMonths, days + weeks * 7) : dateWithMonths;
1796
- const minutesToAdd = minutes + hours * 60;
1797
- const secondsToAdd = seconds + minutesToAdd * 60;
1798
- const msToAdd = secondsToAdd * 1e3;
1799
- const finalDate = constructFrom(date, dateWithDays.getTime() + msToAdd);
1800
- return finalDate;
1801
- }
1802
-
1803
- // ../../../.cache/deno/deno_esbuild/date-fns@3.6.0/node_modules/date-fns/constants.mjs
1804
- var daysInYear = 365.2425;
1805
- var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1e3;
1806
- var minTime = -maxTime;
1807
- var millisecondsInMinute = 6e4;
1808
- var millisecondsInHour = 36e5;
1809
- var secondsInHour = 3600;
1810
- var secondsInDay = secondsInHour * 24;
1811
- var secondsInWeek = secondsInDay * 7;
1812
- var secondsInYear = secondsInDay * daysInYear;
1813
- var secondsInMonth = secondsInYear / 12;
1814
- var secondsInQuarter = secondsInMonth * 3;
1815
-
1816
- // ../../../.cache/deno/deno_esbuild/date-fns@3.6.0/node_modules/date-fns/startOfDay.mjs
1817
- function startOfDay(date) {
1818
- const _date = toDate(date);
1819
- _date.setHours(0, 0, 0, 0);
1820
- return _date;
1821
- }
1822
-
1823
- // ../../../.cache/deno/deno_esbuild/date-fns@3.6.0/node_modules/date-fns/isDate.mjs
1824
- function isDate(value) {
1825
- return value instanceof Date || typeof value === "object" && Object.prototype.toString.call(value) === "[object Date]";
1826
- }
1827
-
1828
- // ../../../.cache/deno/deno_esbuild/date-fns@3.6.0/node_modules/date-fns/isValid.mjs
1829
- function isValid(date) {
1830
- if (!isDate(date) && typeof date !== "number") {
1831
- return false;
1832
- }
1833
- const _date = toDate(date);
1834
- return !isNaN(Number(_date));
1835
- }
1836
-
1837
- // ../../../.cache/deno/deno_esbuild/date-fns@3.6.0/node_modules/date-fns/startOfMinute.mjs
1838
- function startOfMinute(date) {
1839
- const _date = toDate(date);
1840
- _date.setSeconds(0, 0);
1841
- return _date;
1842
- }
1843
-
1844
- // ../../../.cache/deno/deno_esbuild/date-fns@3.6.0/node_modules/date-fns/startOfMonth.mjs
1845
- function startOfMonth(date) {
1846
- const _date = toDate(date);
1847
- _date.setDate(1);
1848
- _date.setHours(0, 0, 0, 0);
1849
- return _date;
1850
- }
1851
-
1852
- // ../../../.cache/deno/deno_esbuild/date-fns@3.6.0/node_modules/date-fns/startOfYear.mjs
1853
- function startOfYear(date) {
1854
- const cleanDate = toDate(date);
1855
- const _date = constructFrom(date, 0);
1856
- _date.setFullYear(cleanDate.getFullYear(), 0, 1);
1857
- _date.setHours(0, 0, 0, 0);
1858
- return _date;
1859
- }
1860
-
1861
- // ../../../.cache/deno/deno_esbuild/date-fns@3.6.0/node_modules/date-fns/startOfHour.mjs
1862
- function startOfHour(date) {
1863
- const _date = toDate(date);
1864
- _date.setMinutes(0, 0, 0);
1865
- return _date;
1866
- }
1867
-
1868
- // ../../../.cache/deno/deno_esbuild/date-fns@3.6.0/node_modules/date-fns/startOfSecond.mjs
1869
- function startOfSecond(date) {
1870
- const _date = toDate(date);
1871
- _date.setMilliseconds(0);
1872
- return _date;
1873
- }
1874
-
1875
- // ../../../.cache/deno/deno_esbuild/date-fns@3.6.0/node_modules/date-fns/parseISO.mjs
1876
- function parseISO(argument, options) {
1877
- const additionalDigits = options?.additionalDigits ?? 2;
1878
- const dateStrings = splitDateString(argument);
1879
- let date;
1880
- if (dateStrings.date) {
1881
- const parseYearResult = parseYear(dateStrings.date, additionalDigits);
1882
- date = parseDate(parseYearResult.restDateString, parseYearResult.year);
1883
- }
1884
- if (!date || isNaN(date.getTime())) {
1885
- return /* @__PURE__ */ new Date(NaN);
1886
- }
1887
- const timestamp = date.getTime();
1888
- let time = 0;
1889
- let offset;
1890
- if (dateStrings.time) {
1891
- time = parseTime(dateStrings.time);
1892
- if (isNaN(time)) {
1893
- return /* @__PURE__ */ new Date(NaN);
1894
- }
1895
- }
1896
- if (dateStrings.timezone) {
1897
- offset = parseTimezone(dateStrings.timezone);
1898
- if (isNaN(offset)) {
1899
- return /* @__PURE__ */ new Date(NaN);
1900
- }
1901
- } else {
1902
- const dirtyDate = new Date(timestamp + time);
1903
- const result = /* @__PURE__ */ new Date(0);
1904
- result.setFullYear(
1905
- dirtyDate.getUTCFullYear(),
1906
- dirtyDate.getUTCMonth(),
1907
- dirtyDate.getUTCDate()
1908
- );
1909
- result.setHours(
1910
- dirtyDate.getUTCHours(),
1911
- dirtyDate.getUTCMinutes(),
1912
- dirtyDate.getUTCSeconds(),
1913
- dirtyDate.getUTCMilliseconds()
1914
- );
1915
- return result;
1916
- }
1917
- return new Date(timestamp + time + offset);
1918
- }
1919
- var patterns = {
1920
- dateTimeDelimiter: /[T ]/,
1921
- timeZoneDelimiter: /[Z ]/i,
1922
- timezone: /([Z+-].*)$/
1923
- };
1924
- var dateRegex = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/;
1925
- var timeRegex = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/;
1926
- var timezoneRegex = /^([+-])(\d{2})(?::?(\d{2}))?$/;
1927
- function splitDateString(dateString) {
1928
- const dateStrings = {};
1929
- const array = dateString.split(patterns.dateTimeDelimiter);
1930
- let timeString;
1931
- if (array.length > 2) {
1932
- return dateStrings;
1933
- }
1934
- if (/:/.test(array[0])) {
1935
- timeString = array[0];
1936
- } else {
1937
- dateStrings.date = array[0];
1938
- timeString = array[1];
1939
- if (patterns.timeZoneDelimiter.test(dateStrings.date)) {
1940
- dateStrings.date = dateString.split(patterns.timeZoneDelimiter)[0];
1941
- timeString = dateString.substr(
1942
- dateStrings.date.length,
1943
- dateString.length
1944
- );
1945
- }
1946
- }
1947
- if (timeString) {
1948
- const token = patterns.timezone.exec(timeString);
1949
- if (token) {
1950
- dateStrings.time = timeString.replace(token[1], "");
1951
- dateStrings.timezone = token[1];
1952
- } else {
1953
- dateStrings.time = timeString;
1954
- }
1955
- }
1956
- return dateStrings;
1957
- }
1958
- function parseYear(dateString, additionalDigits) {
1959
- const regex = new RegExp(
1960
- "^(?:(\\d{4}|[+-]\\d{" + (4 + additionalDigits) + "})|(\\d{2}|[+-]\\d{" + (2 + additionalDigits) + "})$)"
1961
- );
1962
- const captures = dateString.match(regex);
1963
- if (!captures)
1964
- return { year: NaN, restDateString: "" };
1965
- const year = captures[1] ? parseInt(captures[1]) : null;
1966
- const century = captures[2] ? parseInt(captures[2]) : null;
1967
- return {
1968
- year: century === null ? year : century * 100,
1969
- restDateString: dateString.slice((captures[1] || captures[2]).length)
1970
- };
1971
- }
1972
- function parseDate(dateString, year) {
1973
- if (year === null)
1974
- return /* @__PURE__ */ new Date(NaN);
1975
- const captures = dateString.match(dateRegex);
1976
- if (!captures)
1977
- return /* @__PURE__ */ new Date(NaN);
1978
- const isWeekDate = !!captures[4];
1979
- const dayOfYear = parseDateUnit(captures[1]);
1980
- const month = parseDateUnit(captures[2]) - 1;
1981
- const day = parseDateUnit(captures[3]);
1982
- const week = parseDateUnit(captures[4]);
1983
- const dayOfWeek = parseDateUnit(captures[5]) - 1;
1984
- if (isWeekDate) {
1985
- if (!validateWeekDate(year, week, dayOfWeek)) {
1986
- return /* @__PURE__ */ new Date(NaN);
1987
- }
1988
- return dayOfISOWeekYear(year, week, dayOfWeek);
1989
- } else {
1990
- const date = /* @__PURE__ */ new Date(0);
1991
- if (!validateDate(year, month, day) || !validateDayOfYearDate(year, dayOfYear)) {
1992
- return /* @__PURE__ */ new Date(NaN);
1993
- }
1994
- date.setUTCFullYear(year, month, Math.max(dayOfYear, day));
1995
- return date;
1996
- }
1997
- }
1998
- function parseDateUnit(value) {
1999
- return value ? parseInt(value) : 1;
2000
- }
2001
- function parseTime(timeString) {
2002
- const captures = timeString.match(timeRegex);
2003
- if (!captures)
2004
- return NaN;
2005
- const hours = parseTimeUnit(captures[1]);
2006
- const minutes = parseTimeUnit(captures[2]);
2007
- const seconds = parseTimeUnit(captures[3]);
2008
- if (!validateTime(hours, minutes, seconds)) {
2009
- return NaN;
2010
- }
2011
- return hours * millisecondsInHour + minutes * millisecondsInMinute + seconds * 1e3;
2012
- }
2013
- function parseTimeUnit(value) {
2014
- return value && parseFloat(value.replace(",", ".")) || 0;
2015
- }
2016
- function parseTimezone(timezoneString) {
2017
- if (timezoneString === "Z")
2018
- return 0;
2019
- const captures = timezoneString.match(timezoneRegex);
2020
- if (!captures)
2021
- return 0;
2022
- const sign = captures[1] === "+" ? -1 : 1;
2023
- const hours = parseInt(captures[2]);
2024
- const minutes = captures[3] && parseInt(captures[3]) || 0;
2025
- if (!validateTimezone(hours, minutes)) {
2026
- return NaN;
2027
- }
2028
- return sign * (hours * millisecondsInHour + minutes * millisecondsInMinute);
2029
- }
2030
- function dayOfISOWeekYear(isoWeekYear, week, day) {
2031
- const date = /* @__PURE__ */ new Date(0);
2032
- date.setUTCFullYear(isoWeekYear, 0, 4);
2033
- const fourthOfJanuaryDay = date.getUTCDay() || 7;
2034
- const diff = (week - 1) * 7 + day + 1 - fourthOfJanuaryDay;
2035
- date.setUTCDate(date.getUTCDate() + diff);
2036
- return date;
2037
- }
2038
- var daysInMonths = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
2039
- function isLeapYearIndex(year) {
2040
- return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;
2041
- }
2042
- function validateDate(year, month, date) {
2043
- return month >= 0 && month <= 11 && date >= 1 && date <= (daysInMonths[month] || (isLeapYearIndex(year) ? 29 : 28));
2044
- }
2045
- function validateDayOfYearDate(year, dayOfYear) {
2046
- return dayOfYear >= 1 && dayOfYear <= (isLeapYearIndex(year) ? 366 : 365);
2047
- }
2048
- function validateWeekDate(_year, week, day) {
2049
- return week >= 1 && week <= 53 && day >= 0 && day <= 6;
2050
- }
2051
- function validateTime(hours, minutes, seconds) {
2052
- if (hours === 24) {
2053
- return minutes === 0 && seconds === 0;
2054
- }
2055
- return seconds >= 0 && seconds < 60 && minutes >= 0 && minutes < 60 && hours >= 0 && hours < 25;
2056
- }
2057
- function validateTimezone(_hours, minutes) {
2058
- return minutes >= 0 && minutes <= 59;
2059
- }
2060
-
2061
- // src/utils/date.ts
2062
- var dateUnits = ["s", "m", "h", "d", "M", "y"];
2063
- var dateUnitMap = {
2064
- y: "years",
2065
- M: "months",
2066
- d: "days",
2067
- h: "hours",
2068
- m: "minutes",
2069
- s: "seconds"
2070
- };
2071
- var startOf = {
2072
- y: startOfYear,
2073
- M: startOfMonth,
2074
- d: startOfDay,
2075
- h: startOfHour,
2076
- m: startOfMinute,
2077
- s: startOfSecond
2078
- };
2079
- var relativeDate = /^\$now(?<units>\(((y|M|d|h|m|s):(-?\d+),?)+\))?$/;
2080
- var relativeUnit = /(y|M|d|h|m|s):(-?\d+)/g;
2081
- var absoluteDate = /^(?<y>\d{4,})(-(?<M>\d\d)(-(?<d>\d\d)([T ](?<h>\d\d)(:(?<m>\d\d)(:(?<s>\d\d))?)?)?)?)?/;
2082
- function parseDate2(value, now = /* @__PURE__ */ new Date()) {
2083
- let date;
2084
- let units;
2085
- const relativeMatch = relativeDate.exec(value);
2086
- if (relativeMatch) {
2087
- date = now;
2088
- const unitsGroup = relativeMatch.groups?.units;
2089
- if (unitsGroup) {
2090
- const unitMatches = unitsGroup.matchAll(
2091
- relativeUnit
2092
- );
2093
- units = [];
2094
- for (const [_, unit, delta] of unitMatches) {
2095
- date = add(date, { [dateUnitMap[unit]]: Number(delta) });
2096
- units.push(unit);
2097
- }
2098
- } else {
2099
- units = ["d"];
2100
- }
2101
- } else {
2102
- date = parseISO(value);
2103
- units = Object.entries(absoluteDate.exec(value)?.groups || {}).filter(([_, n]) => !!n).map(([unit]) => unit);
2104
- }
2105
- const minUnit = getMinDateUnit(units) || "s";
2106
- return [startOf[minUnit](date), minUnit];
2107
- }
2108
- function getMinDateUnit(units) {
2109
- return dateUnits.find((unit) => units.includes(unit));
2110
- }
2111
- function isValidDate(s) {
2112
- if (typeof s === "string") {
2113
- return relativeDate.test(s) || isValid(parseISO(s));
2114
- }
2115
- return isValid(s);
2116
- }
2117
- function isDateBetween(date, start, end) {
2118
- let valid = isValidDate(date);
2119
- if (start) {
2120
- start = typeof start === "string" ? parseISO(start) : start;
2121
- valid = valid && date >= start;
2122
- }
2123
- if (end) {
2124
- end = typeof end === "string" ? parseISO(end) : end;
2125
- valid = valid && date <= end;
2126
- }
2127
- return valid;
2128
- }
2129
-
2130
- // src/utils/payments.ts
2131
- var stripeFees = {
2132
- gb: {
2133
- ["s_card" /* StripeCard */]: (amount) => 0.2 + 0.015 * amount,
2134
- ["s_sepa" /* StripeSEPA */]: () => 0.3,
2135
- ["s_bacs" /* StripeBACS */]: (amount) => Math.min(2, Math.max(0.2, 0.01 * amount)),
2136
- ["s_paypal" /* StripePayPal */]: (amount) => 0.1 + 0.02 * amount
2137
- },
2138
- eu: {
2139
- ["s_card" /* StripeCard */]: (amount) => 0.25 + 0.015 * amount,
2140
- ["s_sepa" /* StripeSEPA */]: () => 0.35,
2141
- ["s_bacs" /* StripeBACS */]: () => 0,
2142
- // Not available
2143
- ["s_paypal" /* StripePayPal */]: (amount) => 0.1 + 0.02 * amount
2144
- },
2145
- ca: {
2146
- ["s_card" /* StripeCard */]: (amount) => 0.3 + 0.029 * amount,
2147
- ["s_sepa" /* StripeSEPA */]: () => 0,
2148
- // Not available
2149
- ["s_bacs" /* StripeBACS */]: () => 0,
2150
- // Not available
2151
- ["s_paypal" /* StripePayPal */]: () => 0
2152
- // Not available
2153
- }
2154
- };
2155
- var gcFee = (amount) => 0.2 + amount * 0.01;
2156
- function calcPaymentFee(feeable, country) {
2157
- if (feeable.period === "annually" /* Annually */) {
2158
- return 0;
2159
- }
2160
- switch (feeable.paymentMethod) {
2161
- case "none" /* None */:
2162
- case "manual" /* Manual */:
2163
- return 0;
2164
- case "gc_direct-debit" /* GoCardlessDirectDebit */:
2165
- return gcFee(feeable.amount);
2166
- default:
2167
- return stripeFees[country][feeable.paymentMethod](feeable.amount);
2168
- }
2169
- }
2170
-
2171
- // src/utils/rules.ts
2172
- function isRuleGroup(ruleOrGroup) {
2173
- return "condition" in ruleOrGroup;
2174
- }
2175
- function validateRule(filters, rule) {
2176
- const filter = filters[rule.field];
2177
- if (!filter) {
2178
- throw new InvalidRule(rule, `Invalid field: ${rule.field}`);
2179
- }
2180
- let expectedArgs = 0;
2181
- if (rule.operator in nullableOperators) {
2182
- if (!filter.nullable && filter.type !== "text") {
2183
- throw new InvalidRule(
2184
- rule,
2185
- `Invalid nullable operator: field is not nullable`
2186
- );
2187
- }
2188
- } else {
2189
- const operator = operatorsByTypeMap[filter.type][rule.operator];
2190
- if (!operator) {
2191
- throw new InvalidRule(
2192
- rule,
2193
- `Invalid operator for type: ${filter.type} type doesn't define ${rule.operator}`
2194
- );
2195
- }
2196
- expectedArgs = operator.args;
2197
- }
2198
- if (expectedArgs !== rule.value.length) {
2199
- throw new InvalidRule(
2200
- rule,
2201
- `Invalid operator argument count: ${rule.operator} needs ${expectedArgs}, ${rule.value.length} given`
2202
- );
2203
- }
2204
- const expectedType = filter.type === "boolean" || filter.type === "number" ? filter.type : "string";
2205
- if (rule.value.some((v) => typeof v !== expectedType)) {
2206
- throw new InvalidRule(
2207
- rule,
2208
- `Invalid operator argument type: ${rule.operator} needs ${expectedType}, ${rule.value.map(
2209
- (v) => typeof v
2210
- )} given`
2211
- );
2212
- }
2213
- if (filter.type === "date" && rule.value.some((v) => !isValidDate(v))) {
2214
- throw new InvalidRule(
2215
- rule,
2216
- `Invalid operator argument: date type needs valid absolute or relative date, ${rule.value} given`
2217
- );
2218
- }
2219
- if ((filter.type === "enum" || filter.type === "array") && rule.value.some((v) => filter.options?.indexOf(v) === -1)) {
2220
- throw new InvalidRule(
2221
- rule,
2222
- `Invalid operator argument: ${filter.type} type expected ${filter.options}, ${rule.value} given`
2223
- );
2224
- }
2225
- return {
2226
- field: rule.field,
2227
- type: filter.type,
2228
- nullable: !!filter.nullable,
2229
- operator: rule.operator,
2230
- value: rule.value
2231
- };
2232
- }
2233
- function validateRuleGroup(filters, ruleGroup) {
2234
- const validatedRuleGroup = {
2235
- condition: ruleGroup.condition,
2236
- rules: []
2237
- };
2238
- for (const rule of ruleGroup.rules) {
2239
- const valid = isRuleGroup(rule) ? validateRuleGroup(filters, rule) : validateRule(filters, rule);
2240
- validatedRuleGroup.rules.push(valid);
2241
- }
2242
- return validatedRuleGroup;
2243
- }
2244
-
2245
- // src/validators/callout-component-content.validator.ts
2246
- var calloutComponentContentValidator = (_, answer) => {
2247
- return !answer;
2248
- };
2249
-
2250
- // src/validators/callout-component-input-address.validator.ts
2251
- var calloutComponentInputAddressValidator = (_schema, _answer) => {
2252
- throw new Error(
2253
- `[calloutComponentInputAddressValidator] Not implemented yet`
2254
- );
2255
- };
2256
-
2257
- // src/validators/callout-component-input-checkbox.validator.ts
2258
- var calloutComponentInputCheckboxValidator = (_schema, answer) => {
2259
- return typeof answer === "boolean";
2260
- };
2261
-
2262
- // src/validators/callout-component-input-currency.validator.ts
2263
- var calloutComponentInputCurrencyValidator = (_schema, answer) => {
2264
- return isAmountOfMoney(answer);
2265
- };
2266
-
2267
- // src/validators/callout-component-input-date-time.validator.ts
2268
- var calloutComponentInputDateTimeValidator = (schema, answer) => {
2269
- if (typeof answer !== "string") {
2270
- return false;
2271
- }
2272
- return isDateBetween(answer, schema.widget.minDate, schema.widget.maxDate);
2273
- };
2274
-
2275
- // src/validators/callout-component-input-email.validator.ts
2276
- var calloutComponentInputEmailValidator = (_schema, answer) => {
2277
- return isEmail(answer);
2278
- };
2279
-
2280
- // src/validators/callout-component-input-file.validator.ts
2281
- var calloutComponentInputFileValidator = (_schema, answer) => {
2282
- if (isFileUploadAnswer(answer)) {
2283
- return isURL(answer.url);
2284
- }
2285
- return false;
2286
- };
2287
-
2288
- // src/validators/callout-component-input-number.validator.ts
2289
- var calloutComponentInputNumberValidator = (schema, answer) => {
2290
- if (schema.validate && !isNumberInRange(answer, schema.validate.min, schema.validate.max)) {
2291
- return false;
2292
- }
2293
- return isNumber(answer);
2294
- };
2295
-
2296
- // src/validators/callout-component-input-phone-number.validator.ts
2297
- var calloutComponentInputPhoneNumberValidator = (_schema, answer) => {
2298
- return isPhoneNumber(answer);
2299
- };
2300
-
2301
- // src/validators/callout-component-input-select.validator.ts
2302
- var calloutComponentInputSelectValidator = (schema, answer) => {
2303
- const optionValue = schema.data.values.find((v) => v.value === answer);
2304
- return !!optionValue;
2305
- };
2306
-
2307
- // src/validators/callout-component-input-selectable.validator.ts
2308
- var calloutComponentInputSelectableValidator = (schema, answer) => {
2309
- const optionValue = schema.values.find((v) => v.value === answer);
2310
- return !!optionValue;
2311
- };
2312
-
2313
- // src/validators/callout-component-input-signature.validator.ts
2314
- var calloutComponentInputSignatureValidator = (_, _answer) => {
2315
- throw new Error(
2316
- `[calloutComponentInputSignatureValidator] Not implemented yet`
2317
- );
2318
- };
2319
-
2320
- // src/validators/callout-component-input-text.validator.ts
2321
- var validateRules = (rules, answer) => {
2322
- if (!rules) {
2323
- return true;
2324
- }
2325
- if (!answer && rules.required) {
2326
- return false;
2327
- }
2328
- if (typeof rules.pattern === "string" && rules.pattern.length && !new RegExp(rules.pattern).test(answer || "")) {
2329
- return false;
2330
- }
2331
- if (!isTextInWordRange(answer, rules.minWords, rules.maxWords)) {
2332
- return false;
2333
- }
2334
- if (!isTextInRange(answer, rules.minLength, rules.maxLength)) {
2335
- return false;
2336
- }
2337
- return true;
2338
- };
2339
- var calloutComponentInputTextValidator = (schema, answer) => {
2340
- if (typeof answer !== "string") {
2341
- return false;
2342
- }
2343
- return validateRules(schema?.validate, answer);
2344
- };
2345
-
2346
- // src/validators/callout-component-input-time.validator.ts
2347
- var calloutComponentInputTimeValidator = (_schema, _answer) => {
2348
- throw new Error(
2349
- `[calloutComponentInputTimeValidator] Not implemented yet`
2350
- );
2351
- };
2352
-
2353
- // src/validators/callout-component-input-url.validator.ts
2354
- var calloutComponentInputUrlValidator = (_schema, answer) => {
2355
- return isURL(answer);
2356
- };
2357
-
2358
- // src/validators/callout-component.validator.ts
2359
- var calloutComponentNestableValidator = (schema, answers) => {
2360
- for (const component of schema.components) {
2361
- const valid = calloutComponentValidator(
2362
- component,
2363
- answers[component.key]
2364
- );
2365
- if (!valid) {
2366
- return false;
2367
- }
2368
- }
2369
- return true;
2370
- };
2371
- var calloutInputValidatorsMap = {
2372
- // Input
2373
- ["email" /* INPUT_EMAIL */]: calloutComponentInputEmailValidator,
2374
- ["address" /* INPUT_ADDRESS */]: calloutComponentInputAddressValidator,
2375
- ["checkbox" /* INPUT_CHECKBOX */]: calloutComponentInputCheckboxValidator,
2376
- ["currency" /* INPUT_CURRENCY */]: calloutComponentInputCurrencyValidator,
2377
- ["datetime" /* INPUT_DATE_TIME */]: calloutComponentInputDateTimeValidator,
2378
- ["number" /* INPUT_NUMBER */]: calloutComponentInputNumberValidator,
2379
- ["phoneNumber" /* INPUT_PHONE_NUMBER */]: calloutComponentInputPhoneNumberValidator,
2380
- ["signature" /* INPUT_SIGNATURE */]: calloutComponentInputSignatureValidator,
2381
- ["time" /* INPUT_TIME */]: calloutComponentInputTimeValidator,
2382
- ["url" /* INPUT_URL */]: calloutComponentInputUrlValidator,
2383
- ["file" /* INPUT_FILE */]: calloutComponentInputFileValidator,
2384
- ["select" /* INPUT_SELECT */]: calloutComponentInputSelectValidator,
2385
- // Text
2386
- ["textfield" /* INPUT_TEXT_FIELD */]: calloutComponentInputTextValidator,
2387
- ["textarea" /* INPUT_TEXT_AREA */]: calloutComponentInputTextValidator,
2388
- // Selectable
2389
- ["radio" /* INPUT_SELECTABLE_RADIO */]: calloutComponentInputSelectableValidator,
2390
- ["selectboxes" /* INPUT_SELECTABLE_SELECTBOXES */]: calloutComponentInputSelectableValidator
2391
- };
2392
- function calloutComponentInputValidator(schema, answer) {
2393
- const validator = calloutInputValidatorsMap[schema.type];
2394
- if (!validator) {
2395
- console.error(`No validator found for ${schema.type}`);
2396
- return false;
2397
- }
2398
- if (answer === void 0) {
2399
- return schema.validate?.required ? false : true;
2400
- }
2401
- const values = Array.isArray(answer) ? answer : [answer];
2402
- for (const value of values) {
2403
- const valid = validator(schema, value);
2404
- if (!valid) {
2405
- return false;
2406
- }
2407
- }
2408
- return true;
2409
- }
2410
- function calloutComponentValidator(schema, answer) {
2411
- if (isCalloutComponentOfBaseType(schema, 4 /* NESTABLE */)) {
2412
- return calloutComponentNestableValidator(
2413
- schema,
2414
- answer
2415
- );
2416
- }
2417
- if (isCalloutComponentOfBaseType(schema, 1 /* INPUT */)) {
2418
- return calloutComponentInputValidator(
2419
- schema,
2420
- answer
2421
- );
2422
- }
2423
- if (isCalloutComponentOfBaseType(schema, 0 /* CONTENT */)) {
2424
- return calloutComponentContentValidator(schema, answer);
2425
- }
2426
- throw new Error("Invalid schema type");
2427
- }
2428
-
2429
- // src/index.browser.ts
2430
- globalThis.Beabee ||= {};
2431
- globalThis.Beabee.Common = src_exports;
2432
- })();
2433
- //# sourceMappingURL=beabee-common.js.map