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