@beabee/beabee-common 0.44.2 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data/api-health-status.d.ts +6 -0
- package/dist/data/api-health-status.d.ts.map +1 -0
- package/dist/data/api-health-status.js +7 -0
- package/dist/data/api-health-status.js.map +1 -0
- package/dist/data/index.d.ts +1 -0
- package/dist/data/index.d.ts.map +1 -1
- package/dist/data/index.js +1 -0
- package/dist/data/index.js.map +1 -1
- package/dist/types/get-newsletter-integration-data-with.d.ts +9 -0
- package/dist/types/get-newsletter-integration-data-with.d.ts.map +1 -0
- package/dist/types/get-newsletter-integration-data-with.js +2 -0
- package/dist/types/get-newsletter-integration-data-with.js.map +1 -0
- package/dist/types/get-newsletter-with.d.ts +2 -0
- package/dist/types/get-newsletter-with.d.ts.map +1 -0
- package/dist/types/get-newsletter-with.js +2 -0
- package/dist/types/get-newsletter-with.js.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/newsletter-diff-data.d.ts +11 -0
- package/dist/types/newsletter-diff-data.d.ts.map +1 -0
- package/dist/types/newsletter-diff-data.js +2 -0
- package/dist/types/newsletter-diff-data.js.map +1 -0
- package/dist/types/newsletter-integration-data.d.ts +14 -0
- package/dist/types/newsletter-integration-data.d.ts.map +1 -0
- package/dist/types/newsletter-integration-data.js +2 -0
- package/dist/types/newsletter-integration-data.js.map +1 -0
- package/package.json +4 -3
- package/src/data/api-health-status.ts +5 -0
- package/src/data/index.ts +1 -0
- package/src/types/get-newsletter-integration-data-with.ts +16 -0
- package/src/types/get-newsletter-with.ts +1 -0
- package/src/types/index.ts +4 -0
- package/src/types/newsletter-diff-data.ts +12 -0
- package/src/types/newsletter-integration-data.ts +18 -0
- package/dist/cjs/constants.cjs +0 -96
- package/dist/cjs/data/api-error-code.cjs +0 -49
- package/dist/cjs/data/callout-access.cjs +0 -33
- package/dist/cjs/data/callout-captcha.cjs +0 -32
- package/dist/cjs/data/callout-channel.cjs +0 -30
- package/dist/cjs/data/callout-component-base-type.cjs +0 -34
- package/dist/cjs/data/callout-component-input-selectable-types.cjs +0 -31
- package/dist/cjs/data/callout-component-input-text-types.cjs +0 -31
- package/dist/cjs/data/callout-component-input-types.cjs +0 -45
- package/dist/cjs/data/callout-component-nestable-types.cjs +0 -32
- package/dist/cjs/data/callout-component-type.cjs +0 -49
- package/dist/cjs/data/callout-component-types.cjs +0 -34
- package/dist/cjs/data/contact-mfa-type.cjs +0 -30
- package/dist/cjs/data/content-ids.cjs +0 -38
- package/dist/cjs/data/contribution-period.cjs +0 -31
- package/dist/cjs/data/contribution-type.cjs +0 -33
- package/dist/cjs/data/get-callout-response-with.cjs +0 -35
- package/dist/cjs/data/get-contact-with.cjs +0 -34
- package/dist/cjs/data/index.cjs +0 -73
- package/dist/cjs/data/item-status.cjs +0 -33
- package/dist/cjs/data/login-codes.cjs +0 -37
- package/dist/cjs/data/membership-status.cjs +0 -33
- package/dist/cjs/data/newsletter-status.cjs +0 -34
- package/dist/cjs/data/payment-method.cjs +0 -35
- package/dist/cjs/data/payment-status.cjs +0 -34
- package/dist/cjs/data/payment-type.cjs +0 -33
- package/dist/cjs/data/reset-security-flow-error-code.cjs +0 -32
- package/dist/cjs/data/reset-security-flow-type.cjs +0 -31
- package/dist/cjs/data/role-type-data.cjs +0 -32
- package/dist/cjs/error/InvalidRule.cjs +0 -34
- package/dist/cjs/error/index.cjs +0 -21
- package/dist/cjs/index.cjs +0 -31
- package/dist/cjs/search/api-keys.cjs +0 -35
- package/dist/cjs/search/callouts.cjs +0 -192
- package/dist/cjs/search/contacts.cjs +0 -147
- package/dist/cjs/search/emails.cjs +0 -56
- package/dist/cjs/search/index.cjs +0 -37
- package/dist/cjs/search/notices.cjs +0 -61
- package/dist/cjs/search/operators.cjs +0 -95
- package/dist/cjs/search/payments.cjs +0 -62
- package/dist/cjs/search/segments.cjs +0 -38
- package/dist/cjs/search/tags.cjs +0 -38
- package/dist/cjs/types/address.cjs +0 -15
- package/dist/cjs/types/allow-null.cjs +0 -15
- package/dist/cjs/types/api-error-data.cjs +0 -15
- package/dist/cjs/types/api-key-filter-name.cjs +0 -15
- package/dist/cjs/types/array-filter-args.cjs +0 -15
- package/dist/cjs/types/auth-info-data.cjs +0 -15
- package/dist/cjs/types/base-filter-args.cjs +0 -15
- package/dist/cjs/types/base-validated-rule.cjs +0 -15
- package/dist/cjs/types/callout-channel-filter-name.cjs +0 -15
- package/dist/cjs/types/callout-component-base-input-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-base-input-selectable-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-base-input-text-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-base-map.cjs +0 -15
- package/dist/cjs/types/callout-component-base-nestable-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-base-rules.cjs +0 -15
- package/dist/cjs/types/callout-component-base-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-content-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-input-address-rules.cjs +0 -15
- package/dist/cjs/types/callout-component-input-address-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-input-checkbox-rules.cjs +0 -15
- package/dist/cjs/types/callout-component-input-checkbox-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-input-currency-rules.cjs +0 -15
- package/dist/cjs/types/callout-component-input-currency-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-input-date-time-rules.cjs +0 -15
- package/dist/cjs/types/callout-component-input-date-time-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-input-email-rules.cjs +0 -15
- package/dist/cjs/types/callout-component-input-email-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-input-file-rules.cjs +0 -15
- package/dist/cjs/types/callout-component-input-file-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-input-number-rules.cjs +0 -15
- package/dist/cjs/types/callout-component-input-number-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-input-phone-number-rules.cjs +0 -15
- package/dist/cjs/types/callout-component-input-phone-number-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-input-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-input-select-rules.cjs +0 -15
- package/dist/cjs/types/callout-component-input-select-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-input-selectable-radio-rules.cjs +0 -15
- package/dist/cjs/types/callout-component-input-selectable-radio-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-input-selectable-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-input-selectable-selectboxes-rules.cjs +0 -15
- package/dist/cjs/types/callout-component-input-selectable-selectboxes-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-input-signature-rules.cjs +0 -15
- package/dist/cjs/types/callout-component-input-signature-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-input-text-area-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-input-text-field-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-input-text-rules.cjs +0 -15
- package/dist/cjs/types/callout-component-input-text-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-input-time-rules.cjs +0 -15
- package/dist/cjs/types/callout-component-input-time-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-input-url-rules.cjs +0 -15
- package/dist/cjs/types/callout-component-input-url-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-map.cjs +0 -15
- package/dist/cjs/types/callout-component-nestable-panel-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-nestable-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-nestable-tabs-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-nestable-well-schema.cjs +0 -15
- package/dist/cjs/types/callout-component-schema.cjs +0 -15
- package/dist/cjs/types/callout-data.cjs +0 -15
- package/dist/cjs/types/callout-filter-name.cjs +0 -15
- package/dist/cjs/types/callout-map-schema-icon-styling-answer-icon-definition.cjs +0 -15
- package/dist/cjs/types/callout-map-schema-icon-styling-answer-icon.cjs +0 -15
- package/dist/cjs/types/callout-map-schema-icon-styling-answer.cjs +0 -15
- package/dist/cjs/types/callout-map-schema-icon-styling.cjs +0 -15
- package/dist/cjs/types/callout-map-schema.cjs +0 -15
- package/dist/cjs/types/callout-newsletter-schema.cjs +0 -15
- package/dist/cjs/types/callout-response-answer-address.cjs +0 -15
- package/dist/cjs/types/callout-response-answer-file-upload.cjs +0 -15
- package/dist/cjs/types/callout-response-answer.cjs +0 -15
- package/dist/cjs/types/callout-response-answers-slide.cjs +0 -15
- package/dist/cjs/types/callout-response-answers.cjs +0 -15
- package/dist/cjs/types/callout-response-comment-data.cjs +0 -15
- package/dist/cjs/types/callout-response-comment-filter-name.cjs +0 -15
- package/dist/cjs/types/callout-response-filter-name.cjs +0 -15
- package/dist/cjs/types/callout-response-guest-data.cjs +0 -15
- package/dist/cjs/types/callout-response-newsletter-data.cjs +0 -15
- package/dist/cjs/types/callout-response-view-schema.cjs +0 -15
- package/dist/cjs/types/callout-reviewer-filter-name.cjs +0 -15
- package/dist/cjs/types/callout-tag-filter-name.cjs +0 -15
- package/dist/cjs/types/callout-variant-data.cjs +0 -15
- package/dist/cjs/types/callout-variant-navigation-data.cjs +0 -15
- package/dist/cjs/types/complete-signup-data.cjs +0 -15
- package/dist/cjs/types/contact-data.cjs +0 -15
- package/dist/cjs/types/contact-mfa-data.cjs +0 -15
- package/dist/cjs/types/contact-profile-data.cjs +0 -15
- package/dist/cjs/types/contact-role-data.cjs +0 -15
- package/dist/cjs/types/contact-tag-filter-name.cjs +0 -15
- package/dist/cjs/types/content-contacts-data.cjs +0 -15
- package/dist/cjs/types/content-data.cjs +0 -15
- package/dist/cjs/types/content-email-data.cjs +0 -15
- package/dist/cjs/types/content-general-data.cjs +0 -15
- package/dist/cjs/types/content-id.cjs +0 -15
- package/dist/cjs/types/content-join-data.cjs +0 -15
- package/dist/cjs/types/content-join-period-data.cjs +0 -15
- package/dist/cjs/types/content-join-setup-data.cjs +0 -15
- package/dist/cjs/types/content-payment-data.cjs +0 -15
- package/dist/cjs/types/content-profile-data.cjs +0 -15
- package/dist/cjs/types/content-share-data.cjs +0 -15
- package/dist/cjs/types/content-telegram-data.cjs +0 -15
- package/dist/cjs/types/contribution-info.cjs +0 -15
- package/dist/cjs/types/create-api-key-data.cjs +0 -15
- package/dist/cjs/types/create-callout-data.cjs +0 -15
- package/dist/cjs/types/create-callout-response-comment-data.cjs +0 -15
- package/dist/cjs/types/create-callout-response-data.cjs +0 -15
- package/dist/cjs/types/create-callout-response-segment-data.cjs +0 -15
- package/dist/cjs/types/create-callout-reviewer-data.cjs +0 -15
- package/dist/cjs/types/create-callout-variant-data.cjs +0 -15
- package/dist/cjs/types/create-contact-data.cjs +0 -15
- package/dist/cjs/types/create-contact-mfa-data.cjs +0 -15
- package/dist/cjs/types/create-email-data.cjs +0 -15
- package/dist/cjs/types/create-notice-data.cjs +0 -15
- package/dist/cjs/types/create-payment-data.cjs +0 -15
- package/dist/cjs/types/create-reset-device-data.cjs +0 -15
- package/dist/cjs/types/create-reset-password-data.cjs +0 -15
- package/dist/cjs/types/create-segment-data.cjs +0 -15
- package/dist/cjs/types/date-unit.cjs +0 -15
- package/dist/cjs/types/delete-contact-mfa-data.cjs +0 -15
- package/dist/cjs/types/duration.cjs +0 -15
- package/dist/cjs/types/email-filter-name.cjs +0 -15
- package/dist/cjs/types/email-preview-data.cjs +0 -15
- package/dist/cjs/types/email-template-type.cjs +0 -15
- package/dist/cjs/types/enum-filter-args.cjs +0 -15
- package/dist/cjs/types/feeable.cjs +0 -15
- package/dist/cjs/types/filter-args.cjs +0 -15
- package/dist/cjs/types/filter-type.cjs +0 -15
- package/dist/cjs/types/filters.cjs +0 -15
- package/dist/cjs/types/footer-link.cjs +0 -15
- package/dist/cjs/types/force-update-contribution-data.cjs +0 -15
- package/dist/cjs/types/formio-file.cjs +0 -15
- package/dist/cjs/types/get-api-key-data.cjs +0 -15
- package/dist/cjs/types/get-api-keys-query.cjs +0 -15
- package/dist/cjs/types/get-callout-data-with.cjs +0 -15
- package/dist/cjs/types/get-callout-data.cjs +0 -15
- package/dist/cjs/types/get-callout-form-data.cjs +0 -15
- package/dist/cjs/types/get-callout-form-schema.cjs +0 -15
- package/dist/cjs/types/get-callout-navigation-schema.cjs +0 -15
- package/dist/cjs/types/get-callout-response-comment-data.cjs +0 -15
- package/dist/cjs/types/get-callout-response-comments-query.cjs +0 -15
- package/dist/cjs/types/get-callout-response-data-with.cjs +0 -15
- package/dist/cjs/types/get-callout-response-data.cjs +0 -15
- package/dist/cjs/types/get-callout-response-map-data.cjs +0 -15
- package/dist/cjs/types/get-callout-responses-query.cjs +0 -15
- package/dist/cjs/types/get-callout-reviewer-data.cjs +0 -15
- package/dist/cjs/types/get-callout-slide-schema.cjs +0 -15
- package/dist/cjs/types/get-callout-with.cjs +0 -15
- package/dist/cjs/types/get-callouts-query.cjs +0 -15
- package/dist/cjs/types/get-contact-data-with.cjs +0 -15
- package/dist/cjs/types/get-contact-data.cjs +0 -15
- package/dist/cjs/types/get-contact-mfa-data.cjs +0 -15
- package/dist/cjs/types/get-contacts-query.cjs +0 -15
- package/dist/cjs/types/get-email-data.cjs +0 -15
- package/dist/cjs/types/get-email-template-info-data.cjs +0 -15
- package/dist/cjs/types/get-notice-data.cjs +0 -15
- package/dist/cjs/types/get-notices-query.cjs +0 -15
- package/dist/cjs/types/get-payment-aggregation-data.cjs +0 -15
- package/dist/cjs/types/get-payment-data-with.cjs +0 -15
- package/dist/cjs/types/get-payment-data.cjs +0 -15
- package/dist/cjs/types/get-payment-with.cjs +0 -15
- package/dist/cjs/types/get-payments-aggregation-query.cjs +0 -15
- package/dist/cjs/types/get-payments-query.cjs +0 -15
- package/dist/cjs/types/get-segment-data-with.cjs +0 -15
- package/dist/cjs/types/get-segment-data.cjs +0 -15
- package/dist/cjs/types/get-segment-with.cjs +0 -15
- package/dist/cjs/types/get-segments-query.cjs +0 -15
- package/dist/cjs/types/get-stats-data.cjs +0 -15
- package/dist/cjs/types/get-stats-query.cjs +0 -15
- package/dist/cjs/types/health-check-data.cjs +0 -15
- package/dist/cjs/types/index.cjs +0 -15
- package/dist/cjs/types/list-emails-query.cjs +0 -15
- package/dist/cjs/types/login-data.cjs +0 -15
- package/dist/cjs/types/newsletter-group-data.cjs +0 -15
- package/dist/cjs/types/noop.cjs +0 -15
- package/dist/cjs/types/notice-data.cjs +0 -15
- package/dist/cjs/types/notice-filter-name.cjs +0 -15
- package/dist/cjs/types/ongoing-email-fields.cjs +0 -15
- package/dist/cjs/types/operators-by-type.cjs +0 -15
- package/dist/cjs/types/other-filter-args.cjs +0 -15
- package/dist/cjs/types/paginated-query.cjs +0 -15
- package/dist/cjs/types/paginated.cjs +0 -15
- package/dist/cjs/types/parse-iso-options.cjs +0 -15
- package/dist/cjs/types/payment-filter-name.cjs +0 -15
- package/dist/cjs/types/payment-flow-params.cjs +0 -15
- package/dist/cjs/types/payment-flow-result.cjs +0 -15
- package/dist/cjs/types/payment-period.cjs +0 -15
- package/dist/cjs/types/payment-source-base.cjs +0 -15
- package/dist/cjs/types/payment-source-go-cardless-direct-debit.cjs +0 -15
- package/dist/cjs/types/payment-source-manual.cjs +0 -15
- package/dist/cjs/types/payment-source-stripe-bacs.cjs +0 -15
- package/dist/cjs/types/payment-source-stripe-card.cjs +0 -15
- package/dist/cjs/types/payment-source-stripe-paypal.cjs +0 -15
- package/dist/cjs/types/payment-source-stripe-sepa.cjs +0 -15
- package/dist/cjs/types/payment-source.cjs +0 -15
- package/dist/cjs/types/role-type.cjs +0 -15
- package/dist/cjs/types/rule-group.cjs +0 -15
- package/dist/cjs/types/rule-operator.cjs +0 -15
- package/dist/cjs/types/rule-opperator-params.cjs +0 -15
- package/dist/cjs/types/rule-value.cjs +0 -15
- package/dist/cjs/types/rule.cjs +0 -15
- package/dist/cjs/types/s3-metadata.cjs +0 -15
- package/dist/cjs/types/segment-filter-name.cjs +0 -15
- package/dist/cjs/types/segment-ongoing-email-trigger.cjs +0 -15
- package/dist/cjs/types/serial.cjs +0 -15
- package/dist/cjs/types/set-callout-form-schema.cjs +0 -15
- package/dist/cjs/types/set-callout-navigation-schema.cjs +0 -15
- package/dist/cjs/types/set-callout-slide-schema.cjs +0 -15
- package/dist/cjs/types/set-contribution-data.cjs +0 -15
- package/dist/cjs/types/signup-data.cjs +0 -15
- package/dist/cjs/types/start-contribution-data.cjs +0 -15
- package/dist/cjs/types/stripe-fee-country.cjs +0 -15
- package/dist/cjs/types/tag-create-data.cjs +0 -15
- package/dist/cjs/types/tag-data.cjs +0 -15
- package/dist/cjs/types/tag-get-data.cjs +0 -15
- package/dist/cjs/types/tag-update-data.cjs +0 -15
- package/dist/cjs/types/text-case.cjs +0 -15
- package/dist/cjs/types/unit-matches.cjs +0 -15
- package/dist/cjs/types/update-callout-data.cjs +0 -15
- package/dist/cjs/types/update-callout-response-comment-data.cjs +0 -15
- package/dist/cjs/types/update-callout-response-data.cjs +0 -15
- package/dist/cjs/types/update-callout-response-segment-data.cjs +0 -15
- package/dist/cjs/types/update-callout-reviewer-data.cjs +0 -15
- package/dist/cjs/types/update-contact-data.cjs +0 -15
- package/dist/cjs/types/update-contact-profile-data.cjs +0 -15
- package/dist/cjs/types/update-contact-role-data.cjs +0 -15
- package/dist/cjs/types/update-email-data.cjs +0 -15
- package/dist/cjs/types/update-notice-data.cjs +0 -15
- package/dist/cjs/types/update-reset-device-data.cjs +0 -15
- package/dist/cjs/types/update-reset-password-data.cjs +0 -15
- package/dist/cjs/types/update-segment-data.cjs +0 -15
- package/dist/cjs/types/upload-file-response.cjs +0 -15
- package/dist/cjs/types/validated-boolean-rule.cjs +0 -15
- package/dist/cjs/types/validated-number-rule.cjs +0 -15
- package/dist/cjs/types/validated-rule-group.cjs +0 -15
- package/dist/cjs/types/validated-rule-value.cjs +0 -15
- package/dist/cjs/types/validated-rule.cjs +0 -15
- package/dist/cjs/types/validated-string-rule.cjs +0 -15
- package/dist/cjs/types/validator-callout-component.cjs +0 -15
- package/dist/cjs/types/validator.cjs +0 -15
- package/dist/cjs/utils/callouts.cjs +0 -184
- package/dist/cjs/utils/conversions.cjs +0 -52
- package/dist/cjs/utils/date.cjs +0 -103
- package/dist/cjs/utils/debounce.cjs +0 -73
- package/dist/cjs/utils/file.cjs +0 -61
- package/dist/cjs/utils/index.cjs +0 -39
- package/dist/cjs/utils/payments.cjs +0 -69
- package/dist/cjs/utils/rules.cjs +0 -115
- package/dist/cjs/utils/slug.cjs +0 -833
- package/dist/cjs/utils/url.cjs +0 -53
- package/dist/cjs/utils/validations.cjs +0 -176
- package/dist/cjs/validators/callout-component-content.validator.cjs +0 -29
- package/dist/cjs/validators/callout-component-input-address.validator.cjs +0 -31
- package/dist/cjs/validators/callout-component-input-checkbox.validator.cjs +0 -29
- package/dist/cjs/validators/callout-component-input-currency.validator.cjs +0 -30
- package/dist/cjs/validators/callout-component-input-date-time.validator.cjs +0 -33
- package/dist/cjs/validators/callout-component-input-email.validator.cjs +0 -30
- package/dist/cjs/validators/callout-component-input-file.validator.cjs +0 -34
- package/dist/cjs/validators/callout-component-input-number.validator.cjs +0 -33
- package/dist/cjs/validators/callout-component-input-phone-number.validator.cjs +0 -30
- package/dist/cjs/validators/callout-component-input-select.validator.cjs +0 -30
- package/dist/cjs/validators/callout-component-input-selectable.validator.cjs +0 -30
- package/dist/cjs/validators/callout-component-input-signature.validator.cjs +0 -31
- package/dist/cjs/validators/callout-component-input-text.validator.cjs +0 -51
- package/dist/cjs/validators/callout-component-input-time.validator.cjs +0 -29
- package/dist/cjs/validators/callout-component-input-url.validator.cjs +0 -30
- package/dist/cjs/validators/callout-component.validator.cjs +0 -114
- package/dist/cjs/validators/index.cjs +0 -51
- package/dist/esm/constants.js +0 -66
- package/dist/esm/data/api-error-code.js +0 -26
- package/dist/esm/data/callout-access.js +0 -10
- package/dist/esm/data/callout-captcha.js +0 -9
- package/dist/esm/data/callout-channel.js +0 -7
- package/dist/esm/data/callout-component-base-type.js +0 -11
- package/dist/esm/data/callout-component-input-selectable-types.js +0 -8
- package/dist/esm/data/callout-component-input-text-types.js +0 -8
- package/dist/esm/data/callout-component-input-types.js +0 -22
- package/dist/esm/data/callout-component-nestable-types.js +0 -9
- package/dist/esm/data/callout-component-type.js +0 -26
- package/dist/esm/data/callout-component-types.js +0 -11
- package/dist/esm/data/contact-mfa-type.js +0 -7
- package/dist/esm/data/content-ids.js +0 -15
- package/dist/esm/data/contribution-period.js +0 -8
- package/dist/esm/data/contribution-type.js +0 -10
- package/dist/esm/data/get-callout-response-with.js +0 -12
- package/dist/esm/data/get-contact-with.js +0 -11
- package/dist/esm/data/index.js +0 -27
- package/dist/esm/data/item-status.js +0 -10
- package/dist/esm/data/login-codes.js +0 -14
- package/dist/esm/data/membership-status.js +0 -10
- package/dist/esm/data/newsletter-status.js +0 -11
- package/dist/esm/data/payment-method.js +0 -12
- package/dist/esm/data/payment-status.js +0 -11
- package/dist/esm/data/payment-type.js +0 -10
- package/dist/esm/data/reset-security-flow-error-code.js +0 -9
- package/dist/esm/data/reset-security-flow-type.js +0 -8
- package/dist/esm/data/role-type-data.js +0 -9
- package/dist/esm/error/InvalidRule.js +0 -11
- package/dist/esm/error/index.js +0 -1
- package/dist/esm/index.js +0 -6
- package/dist/esm/search/api-keys.js +0 -12
- package/dist/esm/search/callouts.js +0 -163
- package/dist/esm/search/contacts.js +0 -125
- package/dist/esm/search/emails.js +0 -33
- package/dist/esm/search/index.js +0 -9
- package/dist/esm/search/notices.js +0 -38
- package/dist/esm/search/operators.js +0 -69
- package/dist/esm/search/payments.js +0 -39
- package/dist/esm/search/segments.js +0 -15
- package/dist/esm/search/tags.js +0 -15
- package/dist/esm/types/address.js +0 -0
- package/dist/esm/types/allow-null.js +0 -0
- package/dist/esm/types/api-error-data.js +0 -0
- package/dist/esm/types/api-key-filter-name.js +0 -0
- package/dist/esm/types/array-filter-args.js +0 -0
- package/dist/esm/types/auth-info-data.js +0 -0
- package/dist/esm/types/base-filter-args.js +0 -0
- package/dist/esm/types/base-validated-rule.js +0 -0
- package/dist/esm/types/callout-channel-filter-name.js +0 -0
- package/dist/esm/types/callout-component-base-input-schema.js +0 -0
- package/dist/esm/types/callout-component-base-input-selectable-schema.js +0 -0
- package/dist/esm/types/callout-component-base-input-text-schema.js +0 -0
- package/dist/esm/types/callout-component-base-map.js +0 -0
- package/dist/esm/types/callout-component-base-nestable-schema.js +0 -0
- package/dist/esm/types/callout-component-base-rules.js +0 -0
- package/dist/esm/types/callout-component-base-schema.js +0 -0
- package/dist/esm/types/callout-component-content-schema.js +0 -0
- package/dist/esm/types/callout-component-input-address-rules.js +0 -0
- package/dist/esm/types/callout-component-input-address-schema.js +0 -0
- package/dist/esm/types/callout-component-input-checkbox-rules.js +0 -0
- package/dist/esm/types/callout-component-input-checkbox-schema.js +0 -0
- package/dist/esm/types/callout-component-input-currency-rules.js +0 -0
- package/dist/esm/types/callout-component-input-currency-schema.js +0 -0
- package/dist/esm/types/callout-component-input-date-time-rules.js +0 -0
- package/dist/esm/types/callout-component-input-date-time-schema.js +0 -0
- package/dist/esm/types/callout-component-input-email-rules.js +0 -0
- package/dist/esm/types/callout-component-input-email-schema.js +0 -0
- package/dist/esm/types/callout-component-input-file-rules.js +0 -0
- package/dist/esm/types/callout-component-input-file-schema.js +0 -0
- package/dist/esm/types/callout-component-input-number-rules.js +0 -0
- package/dist/esm/types/callout-component-input-number-schema.js +0 -0
- package/dist/esm/types/callout-component-input-phone-number-rules.js +0 -0
- package/dist/esm/types/callout-component-input-phone-number-schema.js +0 -0
- package/dist/esm/types/callout-component-input-schema.js +0 -0
- package/dist/esm/types/callout-component-input-select-rules.js +0 -0
- package/dist/esm/types/callout-component-input-select-schema.js +0 -0
- package/dist/esm/types/callout-component-input-selectable-radio-rules.js +0 -0
- package/dist/esm/types/callout-component-input-selectable-radio-schema.js +0 -0
- package/dist/esm/types/callout-component-input-selectable-schema.js +0 -0
- package/dist/esm/types/callout-component-input-selectable-selectboxes-rules.js +0 -0
- package/dist/esm/types/callout-component-input-selectable-selectboxes-schema.js +0 -0
- package/dist/esm/types/callout-component-input-signature-rules.js +0 -0
- package/dist/esm/types/callout-component-input-signature-schema.js +0 -0
- package/dist/esm/types/callout-component-input-text-area-schema.js +0 -0
- package/dist/esm/types/callout-component-input-text-field-schema.js +0 -0
- package/dist/esm/types/callout-component-input-text-rules.js +0 -0
- package/dist/esm/types/callout-component-input-text-schema.js +0 -0
- package/dist/esm/types/callout-component-input-time-rules.js +0 -0
- package/dist/esm/types/callout-component-input-time-schema.js +0 -0
- package/dist/esm/types/callout-component-input-url-rules.js +0 -0
- package/dist/esm/types/callout-component-input-url-schema.js +0 -0
- package/dist/esm/types/callout-component-map.js +0 -0
- package/dist/esm/types/callout-component-nestable-panel-schema.js +0 -0
- package/dist/esm/types/callout-component-nestable-schema.js +0 -0
- package/dist/esm/types/callout-component-nestable-tabs-schema.js +0 -0
- package/dist/esm/types/callout-component-nestable-well-schema.js +0 -0
- package/dist/esm/types/callout-component-schema.js +0 -0
- package/dist/esm/types/callout-data.js +0 -0
- package/dist/esm/types/callout-filter-name.js +0 -0
- package/dist/esm/types/callout-map-schema-icon-styling-answer-icon-definition.js +0 -0
- package/dist/esm/types/callout-map-schema-icon-styling-answer-icon.js +0 -0
- package/dist/esm/types/callout-map-schema-icon-styling-answer.js +0 -0
- package/dist/esm/types/callout-map-schema-icon-styling.js +0 -0
- package/dist/esm/types/callout-map-schema.js +0 -0
- package/dist/esm/types/callout-newsletter-schema.js +0 -0
- package/dist/esm/types/callout-response-answer-address.js +0 -0
- package/dist/esm/types/callout-response-answer-file-upload.js +0 -0
- package/dist/esm/types/callout-response-answer.js +0 -0
- package/dist/esm/types/callout-response-answers-slide.js +0 -0
- package/dist/esm/types/callout-response-answers.js +0 -0
- package/dist/esm/types/callout-response-comment-data.js +0 -0
- package/dist/esm/types/callout-response-comment-filter-name.js +0 -0
- package/dist/esm/types/callout-response-filter-name.js +0 -0
- package/dist/esm/types/callout-response-guest-data.js +0 -0
- package/dist/esm/types/callout-response-newsletter-data.js +0 -0
- package/dist/esm/types/callout-response-view-schema.js +0 -0
- package/dist/esm/types/callout-reviewer-filter-name.js +0 -0
- package/dist/esm/types/callout-tag-filter-name.js +0 -0
- package/dist/esm/types/callout-variant-data.js +0 -0
- package/dist/esm/types/callout-variant-navigation-data.js +0 -0
- package/dist/esm/types/complete-signup-data.js +0 -0
- package/dist/esm/types/contact-data.js +0 -0
- package/dist/esm/types/contact-mfa-data.js +0 -0
- package/dist/esm/types/contact-profile-data.js +0 -0
- package/dist/esm/types/contact-role-data.js +0 -0
- package/dist/esm/types/contact-tag-filter-name.js +0 -0
- package/dist/esm/types/content-contacts-data.js +0 -0
- package/dist/esm/types/content-data.js +0 -0
- package/dist/esm/types/content-email-data.js +0 -0
- package/dist/esm/types/content-general-data.js +0 -0
- package/dist/esm/types/content-id.js +0 -0
- package/dist/esm/types/content-join-data.js +0 -0
- package/dist/esm/types/content-join-period-data.js +0 -0
- package/dist/esm/types/content-join-setup-data.js +0 -0
- package/dist/esm/types/content-payment-data.js +0 -0
- package/dist/esm/types/content-profile-data.js +0 -0
- package/dist/esm/types/content-share-data.js +0 -0
- package/dist/esm/types/content-telegram-data.js +0 -0
- package/dist/esm/types/contribution-info.js +0 -0
- package/dist/esm/types/create-api-key-data.js +0 -0
- package/dist/esm/types/create-callout-data.js +0 -0
- package/dist/esm/types/create-callout-response-comment-data.js +0 -0
- package/dist/esm/types/create-callout-response-data.js +0 -0
- package/dist/esm/types/create-callout-response-segment-data.js +0 -0
- package/dist/esm/types/create-callout-reviewer-data.js +0 -0
- package/dist/esm/types/create-callout-variant-data.js +0 -0
- package/dist/esm/types/create-contact-data.js +0 -0
- package/dist/esm/types/create-contact-mfa-data.js +0 -0
- package/dist/esm/types/create-email-data.js +0 -0
- package/dist/esm/types/create-notice-data.js +0 -0
- package/dist/esm/types/create-payment-data.js +0 -0
- package/dist/esm/types/create-reset-device-data.js +0 -0
- package/dist/esm/types/create-reset-password-data.js +0 -0
- package/dist/esm/types/create-segment-data.js +0 -0
- package/dist/esm/types/date-unit.js +0 -0
- package/dist/esm/types/delete-contact-mfa-data.js +0 -0
- package/dist/esm/types/duration.js +0 -0
- package/dist/esm/types/email-filter-name.js +0 -0
- package/dist/esm/types/email-preview-data.js +0 -0
- package/dist/esm/types/email-template-type.js +0 -0
- package/dist/esm/types/enum-filter-args.js +0 -0
- package/dist/esm/types/feeable.js +0 -0
- package/dist/esm/types/filter-args.js +0 -0
- package/dist/esm/types/filter-type.js +0 -0
- package/dist/esm/types/filters.js +0 -0
- package/dist/esm/types/footer-link.js +0 -0
- package/dist/esm/types/force-update-contribution-data.js +0 -0
- package/dist/esm/types/formio-file.js +0 -0
- package/dist/esm/types/get-api-key-data.js +0 -0
- package/dist/esm/types/get-api-keys-query.js +0 -0
- package/dist/esm/types/get-callout-data-with.js +0 -0
- package/dist/esm/types/get-callout-data.js +0 -0
- package/dist/esm/types/get-callout-form-data.js +0 -0
- package/dist/esm/types/get-callout-form-schema.js +0 -0
- package/dist/esm/types/get-callout-navigation-schema.js +0 -0
- package/dist/esm/types/get-callout-response-comment-data.js +0 -0
- package/dist/esm/types/get-callout-response-comments-query.js +0 -0
- package/dist/esm/types/get-callout-response-data-with.js +0 -0
- package/dist/esm/types/get-callout-response-data.js +0 -0
- package/dist/esm/types/get-callout-response-map-data.js +0 -0
- package/dist/esm/types/get-callout-responses-query.js +0 -0
- package/dist/esm/types/get-callout-reviewer-data.js +0 -0
- package/dist/esm/types/get-callout-slide-schema.js +0 -0
- package/dist/esm/types/get-callout-with.js +0 -0
- package/dist/esm/types/get-callouts-query.js +0 -0
- package/dist/esm/types/get-contact-data-with.js +0 -0
- package/dist/esm/types/get-contact-data.js +0 -0
- package/dist/esm/types/get-contact-mfa-data.js +0 -0
- package/dist/esm/types/get-contacts-query.js +0 -0
- package/dist/esm/types/get-email-data.js +0 -0
- package/dist/esm/types/get-email-template-info-data.js +0 -0
- package/dist/esm/types/get-notice-data.js +0 -0
- package/dist/esm/types/get-notices-query.js +0 -0
- package/dist/esm/types/get-payment-aggregation-data.js +0 -0
- package/dist/esm/types/get-payment-data-with.js +0 -0
- package/dist/esm/types/get-payment-data.js +0 -0
- package/dist/esm/types/get-payment-with.js +0 -0
- package/dist/esm/types/get-payments-aggregation-query.js +0 -0
- package/dist/esm/types/get-payments-query.js +0 -0
- package/dist/esm/types/get-segment-data-with.js +0 -0
- package/dist/esm/types/get-segment-data.js +0 -0
- package/dist/esm/types/get-segment-with.js +0 -0
- package/dist/esm/types/get-segments-query.js +0 -0
- package/dist/esm/types/get-stats-data.js +0 -0
- package/dist/esm/types/get-stats-query.js +0 -0
- package/dist/esm/types/health-check-data.js +0 -0
- package/dist/esm/types/index.js +0 -0
- package/dist/esm/types/list-emails-query.js +0 -0
- package/dist/esm/types/login-data.js +0 -0
- package/dist/esm/types/newsletter-group-data.js +0 -0
- package/dist/esm/types/noop.js +0 -0
- package/dist/esm/types/notice-data.js +0 -0
- package/dist/esm/types/notice-filter-name.js +0 -0
- package/dist/esm/types/ongoing-email-fields.js +0 -0
- package/dist/esm/types/operators-by-type.js +0 -0
- package/dist/esm/types/other-filter-args.js +0 -0
- package/dist/esm/types/paginated-query.js +0 -0
- package/dist/esm/types/paginated.js +0 -0
- package/dist/esm/types/parse-iso-options.js +0 -0
- package/dist/esm/types/payment-filter-name.js +0 -0
- package/dist/esm/types/payment-flow-params.js +0 -0
- package/dist/esm/types/payment-flow-result.js +0 -0
- package/dist/esm/types/payment-period.js +0 -0
- package/dist/esm/types/payment-source-base.js +0 -0
- package/dist/esm/types/payment-source-go-cardless-direct-debit.js +0 -0
- package/dist/esm/types/payment-source-manual.js +0 -0
- package/dist/esm/types/payment-source-stripe-bacs.js +0 -0
- package/dist/esm/types/payment-source-stripe-card.js +0 -0
- package/dist/esm/types/payment-source-stripe-paypal.js +0 -0
- package/dist/esm/types/payment-source-stripe-sepa.js +0 -0
- package/dist/esm/types/payment-source.js +0 -0
- package/dist/esm/types/role-type.js +0 -0
- package/dist/esm/types/rule-group.js +0 -0
- package/dist/esm/types/rule-operator.js +0 -0
- package/dist/esm/types/rule-opperator-params.js +0 -0
- package/dist/esm/types/rule-value.js +0 -0
- package/dist/esm/types/rule.js +0 -0
- package/dist/esm/types/s3-metadata.js +0 -0
- package/dist/esm/types/segment-filter-name.js +0 -0
- package/dist/esm/types/segment-ongoing-email-trigger.js +0 -0
- package/dist/esm/types/serial.js +0 -0
- package/dist/esm/types/set-callout-form-schema.js +0 -0
- package/dist/esm/types/set-callout-navigation-schema.js +0 -0
- package/dist/esm/types/set-callout-slide-schema.js +0 -0
- package/dist/esm/types/set-contribution-data.js +0 -0
- package/dist/esm/types/signup-data.js +0 -0
- package/dist/esm/types/start-contribution-data.js +0 -0
- package/dist/esm/types/stripe-fee-country.js +0 -0
- package/dist/esm/types/tag-create-data.js +0 -0
- package/dist/esm/types/tag-data.js +0 -0
- package/dist/esm/types/tag-get-data.js +0 -0
- package/dist/esm/types/tag-update-data.js +0 -0
- package/dist/esm/types/text-case.js +0 -0
- package/dist/esm/types/unit-matches.js +0 -0
- package/dist/esm/types/update-callout-data.js +0 -0
- package/dist/esm/types/update-callout-response-comment-data.js +0 -0
- package/dist/esm/types/update-callout-response-data.js +0 -0
- package/dist/esm/types/update-callout-response-segment-data.js +0 -0
- package/dist/esm/types/update-callout-reviewer-data.js +0 -0
- package/dist/esm/types/update-contact-data.js +0 -0
- package/dist/esm/types/update-contact-profile-data.js +0 -0
- package/dist/esm/types/update-contact-role-data.js +0 -0
- package/dist/esm/types/update-email-data.js +0 -0
- package/dist/esm/types/update-notice-data.js +0 -0
- package/dist/esm/types/update-reset-device-data.js +0 -0
- package/dist/esm/types/update-reset-password-data.js +0 -0
- package/dist/esm/types/update-segment-data.js +0 -0
- package/dist/esm/types/upload-file-response.js +0 -0
- package/dist/esm/types/validated-boolean-rule.js +0 -0
- package/dist/esm/types/validated-number-rule.js +0 -0
- package/dist/esm/types/validated-rule-group.js +0 -0
- package/dist/esm/types/validated-rule-value.js +0 -0
- package/dist/esm/types/validated-rule.js +0 -0
- package/dist/esm/types/validated-string-rule.js +0 -0
- package/dist/esm/types/validator-callout-component.js +0 -0
- package/dist/esm/types/validator.js +0 -0
- package/dist/esm/utils/callouts.js +0 -157
- package/dist/esm/utils/conversions.js +0 -28
- package/dist/esm/utils/date.js +0 -84
- package/dist/esm/utils/debounce.js +0 -49
- package/dist/esm/utils/file.js +0 -39
- package/dist/esm/utils/index.js +0 -10
- package/dist/esm/utils/payments.js +0 -46
- package/dist/esm/utils/rules.js +0 -86
- package/dist/esm/utils/slug.js +0 -810
- package/dist/esm/utils/url.js +0 -28
- package/dist/esm/utils/validations.js +0 -138
- package/dist/esm/validators/callout-component-content.validator.js +0 -6
- package/dist/esm/validators/callout-component-input-address.validator.js +0 -8
- package/dist/esm/validators/callout-component-input-checkbox.validator.js +0 -6
- package/dist/esm/validators/callout-component-input-currency.validator.js +0 -7
- package/dist/esm/validators/callout-component-input-date-time.validator.js +0 -10
- package/dist/esm/validators/callout-component-input-email.validator.js +0 -7
- package/dist/esm/validators/callout-component-input-file.validator.js +0 -11
- package/dist/esm/validators/callout-component-input-number.validator.js +0 -10
- package/dist/esm/validators/callout-component-input-phone-number.validator.js +0 -7
- package/dist/esm/validators/callout-component-input-select.validator.js +0 -7
- package/dist/esm/validators/callout-component-input-selectable.validator.js +0 -7
- package/dist/esm/validators/callout-component-input-signature.validator.js +0 -8
- package/dist/esm/validators/callout-component-input-text.validator.js +0 -28
- package/dist/esm/validators/callout-component-input-time.validator.js +0 -6
- package/dist/esm/validators/callout-component-input-url.validator.js +0 -7
- package/dist/esm/validators/callout-component.validator.js +0 -91
- package/dist/esm/validators/index.js +0 -16
- package/dist/types/constants.d.ts +0 -78
- package/dist/types/data/api-error-code.d.ts +0 -22
- package/dist/types/data/callout-access.d.ts +0 -6
- package/dist/types/data/callout-captcha.d.ts +0 -5
- package/dist/types/data/callout-channel.d.ts +0 -3
- package/dist/types/data/callout-component-base-type.d.ts +0 -8
- package/dist/types/data/callout-component-input-selectable-types.d.ts +0 -3
- package/dist/types/data/callout-component-input-text-types.d.ts +0 -3
- package/dist/types/data/callout-component-input-types.d.ts +0 -3
- package/dist/types/data/callout-component-nestable-types.d.ts +0 -3
- package/dist/types/data/callout-component-type.d.ts +0 -23
- package/dist/types/data/callout-component-types.d.ts +0 -3
- package/dist/types/data/contact-mfa-type.d.ts +0 -6
- package/dist/types/data/content-ids.d.ts +0 -2
- package/dist/types/data/contribution-period.d.ts +0 -4
- package/dist/types/data/contribution-type.d.ts +0 -6
- package/dist/types/data/get-callout-response-with.d.ts +0 -8
- package/dist/types/data/get-contact-with.d.ts +0 -7
- package/dist/types/data/index.d.ts +0 -27
- package/dist/types/data/item-status.d.ts +0 -6
- package/dist/types/data/login-codes.d.ts +0 -13
- package/dist/types/data/membership-status.d.ts +0 -6
- package/dist/types/data/newsletter-status.d.ts +0 -7
- package/dist/types/data/payment-method.d.ts +0 -8
- package/dist/types/data/payment-status.d.ts +0 -7
- package/dist/types/data/payment-type.d.ts +0 -6
- package/dist/types/data/reset-security-flow-error-code.d.ts +0 -8
- package/dist/types/data/reset-security-flow-type.d.ts +0 -7
- package/dist/types/data/role-type-data.d.ts +0 -5
- package/dist/types/error/InvalidRule.d.ts +0 -6
- package/dist/types/error/index.d.ts +0 -1
- package/dist/types/index.d.cts +0 -1
- package/dist/types/search/api-keys.d.ts +0 -8
- package/dist/types/search/callouts.d.ts +0 -141
- package/dist/types/search/contacts.d.ts +0 -103
- package/dist/types/search/emails.d.ts +0 -29
- package/dist/types/search/index.d.ts +0 -9
- package/dist/types/search/notices.d.ts +0 -29
- package/dist/types/search/operators.d.ts +0 -75
- package/dist/types/search/payments.d.ts +0 -24
- package/dist/types/search/segments.d.ts +0 -11
- package/dist/types/search/tags.d.ts +0 -12
- package/dist/types/types/address.d.ts +0 -6
- package/dist/types/types/allow-null.d.ts +0 -7
- package/dist/types/types/api-error-data.d.ts +0 -111
- package/dist/types/types/api-key-filter-name.d.ts +0 -2
- package/dist/types/types/array-filter-args.d.ts +0 -5
- package/dist/types/types/auth-info-data.d.ts +0 -24
- package/dist/types/types/base-filter-args.d.ts +0 -5
- package/dist/types/types/base-validated-rule.d.ts +0 -9
- package/dist/types/types/callout-channel-filter-name.d.ts +0 -2
- package/dist/types/types/callout-component-base-input-schema.d.ts +0 -11
- package/dist/types/types/callout-component-base-input-selectable-schema.d.ts +0 -11
- package/dist/types/types/callout-component-base-input-text-schema.d.ts +0 -12
- package/dist/types/types/callout-component-base-map.d.ts +0 -16
- package/dist/types/types/callout-component-base-nestable-schema.d.ts +0 -7
- package/dist/types/types/callout-component-base-rules.d.ts +0 -6
- package/dist/types/types/callout-component-base-schema.d.ts +0 -22
- package/dist/types/types/callout-component-content-schema.d.ts +0 -12
- package/dist/types/types/callout-component-input-address-rules.d.ts +0 -2
- package/dist/types/types/callout-component-input-address-schema.d.ts +0 -9
- package/dist/types/types/callout-component-input-checkbox-rules.d.ts +0 -2
- package/dist/types/types/callout-component-input-checkbox-schema.d.ts +0 -11
- package/dist/types/types/callout-component-input-currency-rules.d.ts +0 -2
- package/dist/types/types/callout-component-input-currency-schema.d.ts +0 -17
- package/dist/types/types/callout-component-input-date-time-rules.d.ts +0 -2
- package/dist/types/types/callout-component-input-date-time-schema.d.ts +0 -39
- package/dist/types/types/callout-component-input-email-rules.d.ts +0 -9
- package/dist/types/types/callout-component-input-email-schema.d.ts +0 -11
- package/dist/types/types/callout-component-input-file-rules.d.ts +0 -2
- package/dist/types/types/callout-component-input-file-schema.d.ts +0 -19
- package/dist/types/types/callout-component-input-number-rules.d.ts +0 -9
- package/dist/types/types/callout-component-input-number-schema.d.ts +0 -17
- package/dist/types/types/callout-component-input-phone-number-rules.d.ts +0 -2
- package/dist/types/types/callout-component-input-phone-number-schema.d.ts +0 -9
- package/dist/types/types/callout-component-input-schema.d.ts +0 -3
- package/dist/types/types/callout-component-input-select-rules.d.ts +0 -2
- package/dist/types/types/callout-component-input-select-schema.d.ts +0 -17
- package/dist/types/types/callout-component-input-selectable-radio-rules.d.ts +0 -2
- package/dist/types/types/callout-component-input-selectable-radio-schema.d.ts +0 -6
- package/dist/types/types/callout-component-input-selectable-schema.d.ts +0 -3
- package/dist/types/types/callout-component-input-selectable-selectboxes-rules.d.ts +0 -2
- package/dist/types/types/callout-component-input-selectable-selectboxes-schema.d.ts +0 -6
- package/dist/types/types/callout-component-input-signature-rules.d.ts +0 -2
- package/dist/types/types/callout-component-input-signature-schema.d.ts +0 -7
- package/dist/types/types/callout-component-input-text-area-schema.d.ts +0 -5
- package/dist/types/types/callout-component-input-text-field-schema.d.ts +0 -5
- package/dist/types/types/callout-component-input-text-rules.d.ts +0 -13
- package/dist/types/types/callout-component-input-text-schema.d.ts +0 -3
- package/dist/types/types/callout-component-input-time-rules.d.ts +0 -2
- package/dist/types/types/callout-component-input-time-schema.d.ts +0 -9
- package/dist/types/types/callout-component-input-url-rules.d.ts +0 -9
- package/dist/types/types/callout-component-input-url-schema.d.ts +0 -11
- package/dist/types/types/callout-component-map.d.ts +0 -31
- package/dist/types/types/callout-component-nestable-panel-schema.d.ts +0 -5
- package/dist/types/types/callout-component-nestable-schema.d.ts +0 -2
- package/dist/types/types/callout-component-nestable-tabs-schema.d.ts +0 -5
- package/dist/types/types/callout-component-nestable-well-schema.d.ts +0 -5
- package/dist/types/types/callout-component-schema.d.ts +0 -3
- package/dist/types/types/callout-data.d.ts +0 -17
- package/dist/types/types/callout-filter-name.d.ts +0 -2
- package/dist/types/types/callout-map-schema-icon-styling-answer-icon-definition.d.ts +0 -4
- package/dist/types/types/callout-map-schema-icon-styling-answer-icon.d.ts +0 -5
- package/dist/types/types/callout-map-schema-icon-styling-answer.d.ts +0 -2
- package/dist/types/types/callout-map-schema-icon-styling.d.ts +0 -2
- package/dist/types/types/callout-map-schema.d.ts +0 -20
- package/dist/types/types/callout-newsletter-schema.d.ts +0 -7
- package/dist/types/types/callout-response-answer-address.d.ts +0 -17
- package/dist/types/types/callout-response-answer-file-upload.d.ts +0 -8
- package/dist/types/types/callout-response-answer.d.ts +0 -2
- package/dist/types/types/callout-response-answers-slide.d.ts +0 -5
- package/dist/types/types/callout-response-answers.d.ts +0 -5
- package/dist/types/types/callout-response-comment-data.d.ts +0 -4
- package/dist/types/types/callout-response-comment-filter-name.d.ts +0 -2
- package/dist/types/types/callout-response-filter-name.d.ts +0 -2
- package/dist/types/types/callout-response-guest-data.d.ts +0 -5
- package/dist/types/types/callout-response-newsletter-data.d.ts +0 -4
- package/dist/types/types/callout-response-view-schema.d.ts +0 -13
- package/dist/types/types/callout-reviewer-filter-name.d.ts +0 -2
- package/dist/types/types/callout-tag-filter-name.d.ts +0 -2
- package/dist/types/types/callout-variant-data.d.ts +0 -19
- package/dist/types/types/callout-variant-navigation-data.d.ts +0 -5
- package/dist/types/types/complete-signup-data.d.ts +0 -6
- package/dist/types/types/contact-data.d.ts +0 -6
- package/dist/types/types/contact-mfa-data.d.ts +0 -8
- package/dist/types/types/contact-profile-data.d.ts +0 -13
- package/dist/types/types/contact-role-data.d.ts +0 -5
- package/dist/types/types/contact-tag-filter-name.d.ts +0 -2
- package/dist/types/types/content-contacts-data.d.ts +0 -4
- package/dist/types/types/content-data.d.ts +0 -2
- package/dist/types/types/content-email-data.d.ts +0 -5
- package/dist/types/types/content-general-data.d.ts +0 -35
- package/dist/types/types/content-id.d.ts +0 -1
- package/dist/types/types/content-join-data.d.ts +0 -17
- package/dist/types/types/content-join-period-data.d.ts +0 -5
- package/dist/types/types/content-join-setup-data.d.ts +0 -16
- package/dist/types/types/content-payment-data.d.ts +0 -9
- package/dist/types/types/content-profile-data.d.ts +0 -3
- package/dist/types/types/content-share-data.d.ts +0 -6
- package/dist/types/types/content-telegram-data.d.ts +0 -4
- package/dist/types/types/contribution-info.d.ts +0 -15
- package/dist/types/types/create-api-key-data.d.ts +0 -4
- package/dist/types/types/create-callout-data.d.ts +0 -5
- package/dist/types/types/create-callout-response-comment-data.d.ts +0 -2
- package/dist/types/types/create-callout-response-data.d.ts +0 -10
- package/dist/types/types/create-callout-response-segment-data.d.ts +0 -7
- package/dist/types/types/create-callout-reviewer-data.d.ts +0 -4
- package/dist/types/types/create-callout-variant-data.d.ts +0 -5
- package/dist/types/types/create-contact-data.d.ts +0 -8
- package/dist/types/types/create-contact-mfa-data.d.ts +0 -6
- package/dist/types/types/create-email-data.d.ts +0 -9
- package/dist/types/types/create-notice-data.d.ts +0 -2
- package/dist/types/types/create-payment-data.d.ts +0 -7
- package/dist/types/types/create-reset-device-data.d.ts +0 -7
- package/dist/types/types/create-reset-password-data.d.ts +0 -4
- package/dist/types/types/create-segment-data.d.ts +0 -6
- package/dist/types/types/date-unit.d.ts +0 -2
- package/dist/types/types/delete-contact-mfa-data.d.ts +0 -5
- package/dist/types/types/duration.d.ts +0 -1
- package/dist/types/types/email-filter-name.d.ts +0 -2
- package/dist/types/types/email-preview-data.d.ts +0 -8
- package/dist/types/types/email-template-type.d.ts +0 -1
- package/dist/types/types/enum-filter-args.d.ts +0 -5
- package/dist/types/types/feeable.d.ts +0 -7
- package/dist/types/types/filter-args.d.ts +0 -2
- package/dist/types/types/filter-type.d.ts +0 -1
- package/dist/types/types/filters.d.ts +0 -2
- package/dist/types/types/footer-link.d.ts +0 -4
- package/dist/types/types/force-update-contribution-data.d.ts +0 -8
- package/dist/types/types/formio-file.d.ts +0 -13
- package/dist/types/types/get-api-key-data.d.ts +0 -8
- package/dist/types/types/get-api-keys-query.d.ts +0 -2
- package/dist/types/types/get-callout-data-with.d.ts +0 -12
- package/dist/types/types/get-callout-data.d.ts +0 -9
- package/dist/types/types/get-callout-form-data.d.ts +0 -10
- package/dist/types/types/get-callout-form-schema.d.ts +0 -5
- package/dist/types/types/get-callout-navigation-schema.d.ts +0 -6
- package/dist/types/types/get-callout-response-comment-data.d.ts +0 -7
- package/dist/types/types/get-callout-response-comments-query.d.ts +0 -2
- package/dist/types/types/get-callout-response-data-with.d.ts +0 -18
- package/dist/types/types/get-callout-response-data.d.ts +0 -9
- package/dist/types/types/get-callout-response-map-data.d.ts +0 -8
- package/dist/types/types/get-callout-responses-query.d.ts +0 -2
- package/dist/types/types/get-callout-reviewer-data.d.ts +0 -6
- package/dist/types/types/get-callout-slide-schema.d.ts +0 -4
- package/dist/types/types/get-callout-with.d.ts +0 -1
- package/dist/types/types/get-callouts-query.d.ts +0 -2
- package/dist/types/types/get-contact-data-with.d.ts +0 -16
- package/dist/types/types/get-contact-data.d.ts +0 -10
- package/dist/types/types/get-contact-mfa-data.d.ts +0 -2
- package/dist/types/types/get-contacts-query.d.ts +0 -2
- package/dist/types/types/get-email-data.d.ts +0 -27
- package/dist/types/types/get-email-template-info-data.d.ts +0 -15
- package/dist/types/types/get-notice-data.d.ts +0 -8
- package/dist/types/types/get-notices-query.d.ts +0 -2
- package/dist/types/types/get-payment-aggregation-data.d.ts +0 -4
- package/dist/types/types/get-payment-data-with.d.ts +0 -4
- package/dist/types/types/get-payment-data.d.ts +0 -8
- package/dist/types/types/get-payment-with.d.ts +0 -1
- package/dist/types/types/get-payments-aggregation-query.d.ts +0 -4
- package/dist/types/types/get-payments-query.d.ts +0 -2
- package/dist/types/types/get-segment-data-with.d.ts +0 -4
- package/dist/types/types/get-segment-data.d.ts +0 -7
- package/dist/types/types/get-segment-with.d.ts +0 -1
- package/dist/types/types/get-segments-query.d.ts +0 -2
- package/dist/types/types/get-stats-data.d.ts +0 -5
- package/dist/types/types/get-stats-query.d.ts +0 -4
- package/dist/types/types/health-check-data.d.ts +0 -10
- package/dist/types/types/index.d.ts +0 -235
- package/dist/types/types/list-emails-query.d.ts +0 -2
- package/dist/types/types/login-data.d.ts +0 -6
- package/dist/types/types/newsletter-group-data.d.ts +0 -5
- package/dist/types/types/noop.d.ts +0 -5
- package/dist/types/types/notice-data.d.ts +0 -8
- package/dist/types/types/notice-filter-name.d.ts +0 -2
- package/dist/types/types/ongoing-email-fields.d.ts +0 -10
- package/dist/types/types/operators-by-type.d.ts +0 -2
- package/dist/types/types/other-filter-args.d.ts +0 -4
- package/dist/types/types/paginated-query.d.ts +0 -8
- package/dist/types/types/paginated.d.ts +0 -6
- package/dist/types/types/parse-iso-options.d.ts +0 -7
- package/dist/types/types/payment-filter-name.d.ts +0 -2
- package/dist/types/types/payment-flow-params.d.ts +0 -13
- package/dist/types/types/payment-flow-result.d.ts +0 -4
- package/dist/types/types/payment-period.d.ts +0 -2
- package/dist/types/types/payment-source-base.d.ts +0 -4
- package/dist/types/types/payment-source-go-cardless-direct-debit.d.ts +0 -8
- package/dist/types/types/payment-source-manual.d.ts +0 -6
- package/dist/types/types/payment-source-stripe-bacs.d.ts +0 -7
- package/dist/types/types/payment-source-stripe-card.d.ts +0 -15
- package/dist/types/types/payment-source-stripe-paypal.d.ts +0 -7
- package/dist/types/types/payment-source-stripe-sepa.d.ts +0 -9
- package/dist/types/types/payment-source.d.ts +0 -2
- package/dist/types/types/role-type.d.ts +0 -2
- package/dist/types/types/rule-group.d.ts +0 -5
- package/dist/types/types/rule-operator.d.ts +0 -2
- package/dist/types/types/rule-opperator-params.d.ts +0 -3
- package/dist/types/types/rule-value.d.ts +0 -1
- package/dist/types/types/rule.d.ts +0 -6
- package/dist/types/types/s3-metadata.d.ts +0 -14
- package/dist/types/types/segment-filter-name.d.ts +0 -2
- package/dist/types/types/segment-ongoing-email-trigger.d.ts +0 -6
- package/dist/types/types/serial.d.ts +0 -3
- package/dist/types/types/set-callout-form-schema.d.ts +0 -4
- package/dist/types/types/set-callout-navigation-schema.d.ts +0 -3
- package/dist/types/types/set-callout-slide-schema.d.ts +0 -7
- package/dist/types/types/set-contribution-data.d.ts +0 -7
- package/dist/types/types/signup-data.d.ts +0 -6
- package/dist/types/types/start-contribution-data.d.ts +0 -6
- package/dist/types/types/stripe-fee-country.d.ts +0 -1
- package/dist/types/types/tag-create-data.d.ts +0 -2
- package/dist/types/types/tag-data.d.ts +0 -5
- package/dist/types/types/tag-get-data.d.ts +0 -2
- package/dist/types/types/tag-update-data.d.ts +0 -2
- package/dist/types/types/text-case.d.ts +0 -1
- package/dist/types/types/unit-matches.d.ts +0 -6
- package/dist/types/types/update-callout-data.d.ts +0 -4
- package/dist/types/types/update-callout-response-comment-data.d.ts +0 -3
- package/dist/types/types/update-callout-response-data.d.ts +0 -2
- package/dist/types/types/update-callout-response-segment-data.d.ts +0 -2
- package/dist/types/types/update-callout-reviewer-data.d.ts +0 -3
- package/dist/types/types/update-contact-data.d.ts +0 -7
- package/dist/types/types/update-contact-profile-data.d.ts +0 -2
- package/dist/types/types/update-contact-role-data.d.ts +0 -14
- package/dist/types/types/update-email-data.d.ts +0 -13
- package/dist/types/types/update-notice-data.d.ts +0 -2
- package/dist/types/types/update-reset-device-data.d.ts +0 -6
- package/dist/types/types/update-reset-password-data.d.ts +0 -5
- package/dist/types/types/update-segment-data.d.ts +0 -2
- package/dist/types/types/upload-file-response.d.ts +0 -18
- package/dist/types/types/validated-boolean-rule.d.ts +0 -2
- package/dist/types/types/validated-number-rule.d.ts +0 -2
- package/dist/types/types/validated-rule-group.d.ts +0 -5
- package/dist/types/types/validated-rule-value.d.ts +0 -2
- package/dist/types/types/validated-rule.d.ts +0 -2
- package/dist/types/types/validated-string-rule.d.ts +0 -2
- package/dist/types/types/validator-callout-component.d.ts +0 -2
- package/dist/types/types/validator.d.ts +0 -1
- package/dist/types/utils/callouts.d.ts +0 -55
- package/dist/types/utils/conversions.d.ts +0 -14
- package/dist/types/utils/date.d.ts +0 -8
- package/dist/types/utils/debounce.d.ts +0 -22
- package/dist/types/utils/file.d.ts +0 -45
- package/dist/types/utils/index.d.ts +0 -10
- package/dist/types/utils/payments.d.ts +0 -2
- package/dist/types/utils/rules.d.ts +0 -32
- package/dist/types/utils/slug.d.ts +0 -16
- package/dist/types/utils/url.d.ts +0 -15
- package/dist/types/utils/validations.d.ts +0 -90
- package/dist/types/validators/callout-component-content.validator.d.ts +0 -2
- package/dist/types/validators/callout-component-input-address.validator.d.ts +0 -2
- package/dist/types/validators/callout-component-input-checkbox.validator.d.ts +0 -2
- package/dist/types/validators/callout-component-input-currency.validator.d.ts +0 -2
- package/dist/types/validators/callout-component-input-date-time.validator.d.ts +0 -2
- package/dist/types/validators/callout-component-input-email.validator.d.ts +0 -2
- package/dist/types/validators/callout-component-input-file.validator.d.ts +0 -2
- package/dist/types/validators/callout-component-input-number.validator.d.ts +0 -2
- package/dist/types/validators/callout-component-input-phone-number.validator.d.ts +0 -2
- package/dist/types/validators/callout-component-input-select.validator.d.ts +0 -2
- package/dist/types/validators/callout-component-input-selectable.validator.d.ts +0 -2
- package/dist/types/validators/callout-component-input-signature.validator.d.ts +0 -2
- package/dist/types/validators/callout-component-input-text.validator.d.ts +0 -2
- package/dist/types/validators/callout-component-input-time.validator.d.ts +0 -2
- package/dist/types/validators/callout-component-input-url.validator.d.ts +0 -2
- package/dist/types/validators/callout-component.validator.d.ts +0 -5
- package/dist/types/validators/index.d.ts +0 -16
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import type { ApiErrorCode, LOGIN_CODES, RESET_SECURITY_FLOW_ERROR_CODE } from '../data';
|
|
2
|
-
import type { Rule } from './rule';
|
|
3
|
-
interface BaseApiErrorData {
|
|
4
|
-
httpCode: number;
|
|
5
|
-
code: ApiErrorCode | LOGIN_CODES;
|
|
6
|
-
message: string;
|
|
7
|
-
}
|
|
8
|
-
export interface BadRequestErrorData extends BaseApiErrorData {
|
|
9
|
-
httpCode: 400;
|
|
10
|
-
code: ApiErrorCode.BAD_REQUEST;
|
|
11
|
-
}
|
|
12
|
-
export interface UnauthorizedErrorData extends BaseApiErrorData {
|
|
13
|
-
httpCode: 401;
|
|
14
|
-
code: LOGIN_CODES;
|
|
15
|
-
}
|
|
16
|
-
export interface NotFoundErrorData extends BaseApiErrorData {
|
|
17
|
-
httpCode: 404;
|
|
18
|
-
code: ApiErrorCode.NOT_FOUND;
|
|
19
|
-
}
|
|
20
|
-
export interface PaymentFailedErrorData extends BaseApiErrorData {
|
|
21
|
-
httpCode: 400;
|
|
22
|
-
code: ApiErrorCode.PAYMENT_FAILED;
|
|
23
|
-
subCode: string;
|
|
24
|
-
}
|
|
25
|
-
export interface PaymentRequiresActionErrorData extends BaseApiErrorData {
|
|
26
|
-
httpCode: 400;
|
|
27
|
-
code: ApiErrorCode.PAYMENT_REQUIRES_ACTION;
|
|
28
|
-
clientSecret: string;
|
|
29
|
-
}
|
|
30
|
-
export interface TooManyRequestsErrorData extends BaseApiErrorData {
|
|
31
|
-
httpCode: 429;
|
|
32
|
-
code: ApiErrorCode.TOO_MANY_REQUESTS;
|
|
33
|
-
retryAfter: number;
|
|
34
|
-
}
|
|
35
|
-
export interface FileTooLargeErrorData extends BaseApiErrorData {
|
|
36
|
-
httpCode: 413;
|
|
37
|
-
code: ApiErrorCode.FILE_TOO_LARGE;
|
|
38
|
-
maxSize: number | undefined;
|
|
39
|
-
maxSizeDisplay: string | undefined;
|
|
40
|
-
}
|
|
41
|
-
export interface UnsupportedFileTypeErrorData extends BaseApiErrorData {
|
|
42
|
-
httpCode: 415;
|
|
43
|
-
code: ApiErrorCode.UNSUPPORTED_FILE_TYPE;
|
|
44
|
-
type: string;
|
|
45
|
-
allowedTypes: string[] | undefined;
|
|
46
|
-
}
|
|
47
|
-
export interface DuplicateIdErrorData extends BaseApiErrorData {
|
|
48
|
-
httpCode: 400;
|
|
49
|
-
code: ApiErrorCode.DUPLICATE_ID;
|
|
50
|
-
id: string;
|
|
51
|
-
}
|
|
52
|
-
export interface DuplicateEmailErrorData extends BaseApiErrorData {
|
|
53
|
-
httpCode: 400;
|
|
54
|
-
code: ApiErrorCode.DUPLICATE_EMAIL;
|
|
55
|
-
email: string;
|
|
56
|
-
}
|
|
57
|
-
export interface DuplicateTagNameErrorData extends BaseApiErrorData {
|
|
58
|
-
httpCode: 400;
|
|
59
|
-
code: ApiErrorCode.DUPLICATE_TAG_NAME;
|
|
60
|
-
tagName: string;
|
|
61
|
-
}
|
|
62
|
-
export interface NoPaymentMethodErrorData extends BaseApiErrorData {
|
|
63
|
-
httpCode: 400;
|
|
64
|
-
code: ApiErrorCode.NO_PAYMENT_METHOD;
|
|
65
|
-
}
|
|
66
|
-
export interface CantUpdateContributionErrorData extends BaseApiErrorData {
|
|
67
|
-
httpCode: 400;
|
|
68
|
-
code: ApiErrorCode.CANT_UPDATE_CONTRIBUTION;
|
|
69
|
-
}
|
|
70
|
-
export type InvalidCalloutResponseCode = 'only-anonymous' | 'expired-user' | 'closed' | 'cant-update' | 'guest-fields-missing' | 'logged-in-guest-fields' | 'unknown-user';
|
|
71
|
-
export interface InvalidCalloutResponseErrorData extends BaseApiErrorData {
|
|
72
|
-
httpCode: 400;
|
|
73
|
-
code: ApiErrorCode.INVALID_CALLOUT_RESPONSE;
|
|
74
|
-
subCode: InvalidCalloutResponseCode;
|
|
75
|
-
}
|
|
76
|
-
export interface InvalidRuleErrorData extends BaseApiErrorData {
|
|
77
|
-
httpCode: 400;
|
|
78
|
-
code: ApiErrorCode.INVALID_RULE;
|
|
79
|
-
rule: Rule;
|
|
80
|
-
}
|
|
81
|
-
export interface CaptchaFailedErrorData extends BaseApiErrorData {
|
|
82
|
-
httpCode: 400;
|
|
83
|
-
code: ApiErrorCode.CAPTCHA_FAILED;
|
|
84
|
-
}
|
|
85
|
-
export interface CaptchaRequiredErrorData extends BaseApiErrorData {
|
|
86
|
-
httpCode: 400;
|
|
87
|
-
code: ApiErrorCode.CAPTCHA_REQUIRED;
|
|
88
|
-
}
|
|
89
|
-
export interface InternalServerErrorData extends BaseApiErrorData {
|
|
90
|
-
httpCode: 500;
|
|
91
|
-
code: ApiErrorCode.INTERNAL_SERVER_ERROR;
|
|
92
|
-
}
|
|
93
|
-
export interface CantUpdateNewsletterContactErrorData extends BaseApiErrorData {
|
|
94
|
-
httpCode: 500;
|
|
95
|
-
code: ApiErrorCode.CANT_UPDATE_NEWSLETTER_CONTACT;
|
|
96
|
-
email: string;
|
|
97
|
-
status: number;
|
|
98
|
-
data: any;
|
|
99
|
-
}
|
|
100
|
-
export interface FileUploadErrorData extends BaseApiErrorData {
|
|
101
|
-
httpCode: 400;
|
|
102
|
-
code: ApiErrorCode.FILE_UPLOAD_ERROR;
|
|
103
|
-
subCode: string;
|
|
104
|
-
}
|
|
105
|
-
export interface ResetSecurityFlowErrorData extends BaseApiErrorData {
|
|
106
|
-
httpCode: 400;
|
|
107
|
-
code: ApiErrorCode.RESET_SECURITY_FLOW_ERROR;
|
|
108
|
-
subCode: RESET_SECURITY_FLOW_ERROR_CODE;
|
|
109
|
-
}
|
|
110
|
-
export type ApiErrorData = BadRequestErrorData | UnauthorizedErrorData | NotFoundErrorData | NoPaymentMethodErrorData | InvalidCalloutResponseErrorData | InvalidRuleErrorData | CaptchaFailedErrorData | CaptchaRequiredErrorData | PaymentFailedErrorData | PaymentRequiresActionErrorData | TooManyRequestsErrorData | FileTooLargeErrorData | UnsupportedFileTypeErrorData | DuplicateIdErrorData | DuplicateEmailErrorData | DuplicateTagNameErrorData | InternalServerErrorData | CantUpdateContributionErrorData | CantUpdateNewsletterContactErrorData | FileUploadErrorData | ResetSecurityFlowErrorData;
|
|
111
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { RoleType } from '@beabee/beabee-common';
|
|
2
|
-
import type { GetContactData } from './get-contact-data';
|
|
3
|
-
interface AuthInfoNoneData {
|
|
4
|
-
method: 'none';
|
|
5
|
-
contact?: undefined;
|
|
6
|
-
roles: RoleType[];
|
|
7
|
-
}
|
|
8
|
-
interface AuthInfoContactData {
|
|
9
|
-
method: 'user';
|
|
10
|
-
contact: GetContactData;
|
|
11
|
-
roles: RoleType[];
|
|
12
|
-
}
|
|
13
|
-
interface AuthInfoApiKeyData {
|
|
14
|
-
method: 'api-key';
|
|
15
|
-
contact?: GetContactData;
|
|
16
|
-
roles: RoleType[];
|
|
17
|
-
}
|
|
18
|
-
interface AuthInfoInternalData {
|
|
19
|
-
method: 'internal';
|
|
20
|
-
contact?: undefined;
|
|
21
|
-
roles: RoleType[];
|
|
22
|
-
}
|
|
23
|
-
export type AuthInfoData = AuthInfoNoneData | AuthInfoContactData | AuthInfoApiKeyData | AuthInfoInternalData;
|
|
24
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { operatorsByType } from '../search/operators.js';
|
|
2
|
-
import type { FilterType, ValidatedRuleValue } from './index.js';
|
|
3
|
-
export interface BaseValidatedRule<T extends FilterType, F extends string> {
|
|
4
|
-
type: T;
|
|
5
|
-
field: F;
|
|
6
|
-
nullable: boolean;
|
|
7
|
-
operator: keyof (typeof operatorsByType)[T];
|
|
8
|
-
value: ValidatedRuleValue<T>[];
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseRules, CalloutComponentBaseSchema } from './index.js';
|
|
3
|
-
export interface CalloutComponentBaseInputSchema extends CalloutComponentBaseSchema {
|
|
4
|
-
type: CalloutComponentType.INPUT_ADDRESS | CalloutComponentType.INPUT_CHECKBOX | CalloutComponentType.INPUT_CURRENCY | CalloutComponentType.INPUT_DATE_TIME | CalloutComponentType.INPUT_EMAIL | CalloutComponentType.INPUT_FILE | CalloutComponentType.INPUT_NUMBER | CalloutComponentType.INPUT_PHONE_NUMBER | CalloutComponentType.INPUT_SELECT | CalloutComponentType.INPUT_SELECTABLE_RADIO | CalloutComponentType.INPUT_SELECTABLE_SELECTBOXES | CalloutComponentType.INPUT_SIGNATURE | CalloutComponentType.INPUT_TEXT_AREA | CalloutComponentType.INPUT_TEXT_FIELD | CalloutComponentType.INPUT_TIME | CalloutComponentType.INPUT_URL;
|
|
5
|
-
/** This is always true for input forms */
|
|
6
|
-
input: true;
|
|
7
|
-
/** The validation rules for input forms */
|
|
8
|
-
validate?: CalloutComponentBaseRules;
|
|
9
|
-
/** The description for the component */
|
|
10
|
-
description?: string;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseInputSchema, CalloutComponentBaseRules } from './index.js';
|
|
3
|
-
export interface CalloutComponentBaseInputSelectableSchema extends CalloutComponentBaseInputSchema {
|
|
4
|
-
type: CalloutComponentType.INPUT_SELECTABLE_RADIO | CalloutComponentType.INPUT_SELECTABLE_SELECTBOXES;
|
|
5
|
-
values: {
|
|
6
|
-
label: string;
|
|
7
|
-
value: string;
|
|
8
|
-
nextSlideId?: string;
|
|
9
|
-
}[];
|
|
10
|
-
validate?: CalloutComponentBaseRules;
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseInputSchema, CalloutComponentInputTextRules, TextCase } from './index.js';
|
|
3
|
-
/** The schema for input text forms */
|
|
4
|
-
export interface CalloutComponentBaseInputTextSchema extends CalloutComponentBaseInputSchema {
|
|
5
|
-
type: CalloutComponentType.INPUT_TEXT_FIELD | CalloutComponentType.INPUT_TEXT_AREA;
|
|
6
|
-
/** Placeholder for the form */
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
/** The text case for the form */
|
|
9
|
-
case?: TextCase;
|
|
10
|
-
/** The validation rules for the form */
|
|
11
|
-
validate?: CalloutComponentInputTextRules;
|
|
12
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentBaseType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentContentSchema, CalloutComponentInputSchema, CalloutComponentInputSelectableSchema, CalloutComponentInputTextSchema, CalloutComponentNestableSchema } from './index.js';
|
|
3
|
-
type CalloutComponentBaseSchemas = {
|
|
4
|
-
[CalloutComponentBaseType.CONTENT]: CalloutComponentContentSchema;
|
|
5
|
-
[CalloutComponentBaseType.INPUT]: CalloutComponentInputSchema;
|
|
6
|
-
[CalloutComponentBaseType.INPUT_TEXT]: CalloutComponentInputTextSchema;
|
|
7
|
-
[CalloutComponentBaseType.INPUT_SELECTABLE]: CalloutComponentInputSelectableSchema;
|
|
8
|
-
[CalloutComponentBaseType.NESTABLE]: CalloutComponentNestableSchema;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Each key is a CalloutComponentBaseType and the value is the corresponding schema from CalloutComponentBaseSchemas
|
|
12
|
-
*/
|
|
13
|
-
export type CalloutComponentBaseMap = {
|
|
14
|
-
[K in CalloutComponentBaseType]: CalloutComponentBaseSchemas[K];
|
|
15
|
-
};
|
|
16
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseSchema, CalloutComponentSchema } from './index.js';
|
|
3
|
-
export interface CalloutComponentBaseNestableSchema extends CalloutComponentBaseSchema {
|
|
4
|
-
type: CalloutComponentType.NESTABLE_TABS | CalloutComponentType.NESTABLE_PANEL | CalloutComponentType.NESTABLE_WELL;
|
|
5
|
-
input: false;
|
|
6
|
-
components: CalloutComponentSchema[];
|
|
7
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export interface CalloutComponentBaseRules {
|
|
2
|
-
/** A required field must be filled in before the form can be submitted. */
|
|
3
|
-
required?: boolean;
|
|
4
|
-
/** Probably unused property from [formio](https://github.com/beabee-communityrm/formio.js) */
|
|
5
|
-
[key: string]: unknown;
|
|
6
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseRules, CalloutResponseAnswer } from './index.js';
|
|
3
|
-
export interface CalloutComponentBaseSchema {
|
|
4
|
-
id: string;
|
|
5
|
-
type: CalloutComponentType;
|
|
6
|
-
key: string;
|
|
7
|
-
label?: string;
|
|
8
|
-
/** `true` if this is an input component */
|
|
9
|
-
input?: boolean;
|
|
10
|
-
/** `true` if the answer should only visible for admins */
|
|
11
|
-
adminOnly?: boolean;
|
|
12
|
-
/** Validation rules */
|
|
13
|
-
validate?: CalloutComponentBaseRules;
|
|
14
|
-
/** True if multiple responses / answers allowed */
|
|
15
|
-
multiple?: boolean;
|
|
16
|
-
/** If defined then this is the default value */
|
|
17
|
-
defaultValue?: CalloutResponseAnswer | CalloutResponseAnswer[] | null;
|
|
18
|
-
/** `true` if this component should be hidden */
|
|
19
|
-
hidden?: boolean;
|
|
20
|
-
/** Unused property */
|
|
21
|
-
[key: string]: unknown;
|
|
22
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseSchema } from './index.js';
|
|
3
|
-
/** A Callout content component only providing html content and accepts no answers. */
|
|
4
|
-
export interface CalloutComponentContentSchema extends CalloutComponentBaseSchema {
|
|
5
|
-
type: CalloutComponentType.CONTENT;
|
|
6
|
-
/** The html content of the callout component. */
|
|
7
|
-
html: string;
|
|
8
|
-
/** The label for this field that will appear next to it. */
|
|
9
|
-
label: string;
|
|
10
|
-
/** This is always false for content components. */
|
|
11
|
-
input: false;
|
|
12
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseInputSchema, CalloutComponentInputAddressRules } from './index.js';
|
|
3
|
-
export interface CalloutComponentInputAddressSchema extends CalloutComponentBaseInputSchema {
|
|
4
|
-
type: CalloutComponentType.INPUT_ADDRESS;
|
|
5
|
-
/** The validation rules for the form */
|
|
6
|
-
validate?: CalloutComponentInputAddressRules;
|
|
7
|
-
/** Placeholder for the form */
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseInputSchema, CalloutComponentInputCheckboxRules } from './index.js';
|
|
3
|
-
export interface CalloutComponentInputCheckboxSchema extends CalloutComponentBaseInputSchema {
|
|
4
|
-
type: CalloutComponentType.INPUT_CHECKBOX;
|
|
5
|
-
/** Can not be set to true for checkboxes */
|
|
6
|
-
multiple?: false;
|
|
7
|
-
/** The default value for the checkbox */
|
|
8
|
-
defaultValue?: boolean;
|
|
9
|
-
/** The validation rules for the form */
|
|
10
|
-
validate?: CalloutComponentInputCheckboxRules;
|
|
11
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseInputSchema, CalloutComponentInputCurrencyRules, TextCase } from './index.js';
|
|
3
|
-
export interface CalloutComponentInputCurrencySchema extends CalloutComponentBaseInputSchema {
|
|
4
|
-
type: CalloutComponentType.INPUT_CURRENCY;
|
|
5
|
-
/** Placeholder for the form */
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
/** The text case for the form */
|
|
8
|
-
case: TextCase;
|
|
9
|
-
/** If `true` multiple spaces will be truncated to a single space */
|
|
10
|
-
truncateMultipleSpaces?: boolean;
|
|
11
|
-
/** E.g. USD, EUR, GBP, etc. */
|
|
12
|
-
currency: string;
|
|
13
|
-
/** The default value for the form */
|
|
14
|
-
defaultValue?: number | number[];
|
|
15
|
-
/** The validation rules for the form */
|
|
16
|
-
validate?: CalloutComponentInputCurrencyRules;
|
|
17
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseInputSchema, CalloutComponentInputDateTimeRules, TextCase } from './index.js';
|
|
3
|
-
export interface CalloutComponentInputDateTimeSchema extends CalloutComponentBaseInputSchema {
|
|
4
|
-
type: CalloutComponentType.INPUT_DATE_TIME;
|
|
5
|
-
/** Placeholder for the form */
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
/** The text case for the form */
|
|
8
|
-
case?: TextCase;
|
|
9
|
-
/** If `true` multiple spaces will be truncated to a single space */
|
|
10
|
-
truncateMultipleSpaces?: boolean;
|
|
11
|
-
datePicker?: {
|
|
12
|
-
disableWeekends: boolean;
|
|
13
|
-
disableWeekdays: boolean;
|
|
14
|
-
/** Unused property */
|
|
15
|
-
[key: string]: unknown;
|
|
16
|
-
};
|
|
17
|
-
widget: {
|
|
18
|
-
mode: 'single';
|
|
19
|
-
enableTime: boolean;
|
|
20
|
-
/** E.g. "yyyy-MM-dd hh:mm a" */
|
|
21
|
-
format: string;
|
|
22
|
-
hourIncrement?: number;
|
|
23
|
-
minuteIncrement?: number;
|
|
24
|
-
/** E.g. "en" */
|
|
25
|
-
locale: string;
|
|
26
|
-
minDate: string | null;
|
|
27
|
-
maxDate: string | null;
|
|
28
|
-
disableWeekends: boolean;
|
|
29
|
-
disableWeekdays: boolean;
|
|
30
|
-
/** Unused property */
|
|
31
|
-
[key: string]: unknown;
|
|
32
|
-
};
|
|
33
|
-
/** E.g. "2024-02-02T13:02:00+01:00" */
|
|
34
|
-
defaultValue?: string | string[];
|
|
35
|
-
enableMinDateInput: boolean;
|
|
36
|
-
enableMaxDateInput: boolean;
|
|
37
|
-
/** The validation rules for the form */
|
|
38
|
-
validate?: CalloutComponentInputDateTimeRules;
|
|
39
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentBaseRules } from './index.js';
|
|
2
|
-
export interface CalloutComponentInputEmailRules extends CalloutComponentBaseRules {
|
|
3
|
-
/** The regular expression pattern test that the field value must pass before the form can be submitted. */
|
|
4
|
-
pattern?: string;
|
|
5
|
-
/** The maximum length requirement this field must meet */
|
|
6
|
-
maxLength?: number;
|
|
7
|
-
/** The minimum length requirement this field must meet. */
|
|
8
|
-
minLength?: number;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseInputSchema, CalloutComponentInputEmailRules, TextCase } from './index.js';
|
|
3
|
-
export interface CalloutComponentInputEmailSchema extends CalloutComponentBaseInputSchema {
|
|
4
|
-
type: CalloutComponentType.INPUT_EMAIL;
|
|
5
|
-
/** Placeholder for the form */
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
/** The text case for the form */
|
|
8
|
-
case?: TextCase;
|
|
9
|
-
/** The validation rules for the form */
|
|
10
|
-
validate?: CalloutComponentInputEmailRules;
|
|
11
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseInputSchema, CalloutComponentInputFileRules } from './index.js';
|
|
3
|
-
export interface CalloutComponentInputFileSchema extends CalloutComponentBaseInputSchema {
|
|
4
|
-
type: CalloutComponentType.INPUT_FILE;
|
|
5
|
-
filePattern?: string;
|
|
6
|
-
/** E.g. `"0KB"` */
|
|
7
|
-
fileMinSize?: string;
|
|
8
|
-
/** E.g. `"1GB"` */
|
|
9
|
-
fileMaxSize?: string;
|
|
10
|
-
/** E.g. `"200"` */
|
|
11
|
-
imageSize?: string;
|
|
12
|
-
/** The storage target for the uploaded file */
|
|
13
|
-
storage?: string;
|
|
14
|
-
/** If the file must be an image */
|
|
15
|
-
image?: boolean;
|
|
16
|
-
/** Allow the user to upload a file from their device's webcam */
|
|
17
|
-
webcam?: boolean;
|
|
18
|
-
validate?: CalloutComponentInputFileRules;
|
|
19
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentBaseRules } from './index.js';
|
|
2
|
-
export interface CalloutComponentInputNumberRules extends CalloutComponentBaseRules {
|
|
3
|
-
/** TODO: For what is this property? */
|
|
4
|
-
integer?: '';
|
|
5
|
-
/** The maximum value that can be entered for this field. */
|
|
6
|
-
max?: number;
|
|
7
|
-
/** The minimum value that can be entered for this field. */
|
|
8
|
-
min?: number;
|
|
9
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseInputSchema, CalloutComponentInputNumberRules } from './index.js';
|
|
3
|
-
export interface CalloutComponentInputNumberSchema extends CalloutComponentBaseInputSchema {
|
|
4
|
-
type: CalloutComponentType.INPUT_NUMBER;
|
|
5
|
-
/** Placeholder for the form */
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
/** `100` -> `100.00` if `true` */
|
|
8
|
-
requireDecimal?: boolean;
|
|
9
|
-
/** `3.14159265358979323846` -> `3.14159` if `decimalLimit === 5` */
|
|
10
|
-
decimalLimit?: number;
|
|
11
|
-
/** `10000000000` -> `10,000,000,000` if `true` */
|
|
12
|
-
delimiter?: boolean;
|
|
13
|
-
/** The default value for the form */
|
|
14
|
-
defaultValue?: number | number[];
|
|
15
|
-
/** The validation rules for the form */
|
|
16
|
-
validate?: CalloutComponentInputNumberRules;
|
|
17
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseInputSchema, CalloutComponentInputPhoneNumberRules } from './index.js';
|
|
3
|
-
export interface CalloutComponentInputPhoneNumberSchema extends CalloutComponentBaseInputSchema {
|
|
4
|
-
type: CalloutComponentType.INPUT_PHONE_NUMBER;
|
|
5
|
-
/** The validation rules for the form */
|
|
6
|
-
validate?: CalloutComponentInputPhoneNumberRules;
|
|
7
|
-
/** The placeholder for the component */
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentInputAddressSchema, CalloutComponentInputCheckboxSchema, CalloutComponentInputCurrencySchema, CalloutComponentInputDateTimeSchema, CalloutComponentInputEmailSchema, CalloutComponentInputFileSchema, CalloutComponentInputNumberSchema, CalloutComponentInputPhoneNumberSchema, CalloutComponentInputSelectSchema, CalloutComponentInputSelectableSchema, CalloutComponentInputSignatureSchema, CalloutComponentInputTextSchema, CalloutComponentInputTimeSchema, CalloutComponentInputUrlSchema } from './index.js';
|
|
2
|
-
/** Any callout input component schema */
|
|
3
|
-
export type CalloutComponentInputSchema = CalloutComponentInputSelectableSchema | CalloutComponentInputAddressSchema | CalloutComponentInputCheckboxSchema | CalloutComponentInputCurrencySchema | CalloutComponentInputDateTimeSchema | CalloutComponentInputEmailSchema | CalloutComponentInputFileSchema | CalloutComponentInputNumberSchema | CalloutComponentInputPhoneNumberSchema | CalloutComponentInputSelectSchema | CalloutComponentInputSignatureSchema | CalloutComponentInputTextSchema | CalloutComponentInputTimeSchema | CalloutComponentInputUrlSchema;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseInputSchema, CalloutComponentInputSelectRules } from './index.js';
|
|
3
|
-
/** Dropdown menu component schema */
|
|
4
|
-
export interface CalloutComponentInputSelectSchema extends CalloutComponentBaseInputSchema {
|
|
5
|
-
type: CalloutComponentType.INPUT_SELECT;
|
|
6
|
-
data: {
|
|
7
|
-
values: {
|
|
8
|
-
label: string;
|
|
9
|
-
value: string;
|
|
10
|
-
}[];
|
|
11
|
-
/** Unused property */
|
|
12
|
-
[key: string]: unknown;
|
|
13
|
-
};
|
|
14
|
-
validate?: CalloutComponentInputSelectRules;
|
|
15
|
-
/** The placeholder for the component */
|
|
16
|
-
placeholder?: string;
|
|
17
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseInputSelectableSchema, CalloutComponentInputSelectableRadioRules } from './index.js';
|
|
3
|
-
export interface CalloutComponentInputSelectableRadioSchema extends CalloutComponentBaseInputSelectableSchema {
|
|
4
|
-
type: CalloutComponentType.INPUT_SELECTABLE_RADIO;
|
|
5
|
-
validate?: CalloutComponentInputSelectableRadioRules;
|
|
6
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentInputSelectableRadioSchema, CalloutComponentInputSelectableSelectboxesSchema } from './index.js';
|
|
2
|
-
/** Any callout input selectable component schema */
|
|
3
|
-
export type CalloutComponentInputSelectableSchema = CalloutComponentInputSelectableSelectboxesSchema | CalloutComponentInputSelectableRadioSchema;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseInputSelectableSchema, CalloutComponentSelectboxesRules } from './index.js';
|
|
3
|
-
export interface CalloutComponentInputSelectableSelectboxesSchema extends CalloutComponentBaseInputSelectableSchema {
|
|
4
|
-
type: CalloutComponentType.INPUT_SELECTABLE_SELECTBOXES;
|
|
5
|
-
validate?: CalloutComponentSelectboxesRules;
|
|
6
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseInputSchema, CalloutComponentInputSignatureRules } from './index.js';
|
|
3
|
-
export interface CalloutComponentInputSignatureSchema extends CalloutComponentBaseInputSchema {
|
|
4
|
-
type: CalloutComponentType.INPUT_SIGNATURE;
|
|
5
|
-
/** The validation rules for the form */
|
|
6
|
-
validate?: CalloutComponentInputSignatureRules;
|
|
7
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseInputTextSchema } from './index.js';
|
|
3
|
-
export interface CalloutComponentInputTextAreaSchema extends CalloutComponentBaseInputTextSchema {
|
|
4
|
-
type: CalloutComponentType.INPUT_TEXT_AREA;
|
|
5
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseInputTextSchema } from './index.js';
|
|
3
|
-
export interface CalloutComponentInputTextFieldSchema extends CalloutComponentBaseInputTextSchema {
|
|
4
|
-
type: CalloutComponentType.INPUT_TEXT_FIELD;
|
|
5
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentBaseRules } from './index.js';
|
|
2
|
-
export interface CalloutComponentInputTextRules extends CalloutComponentBaseRules {
|
|
3
|
-
/** The regular expression pattern test that the field value must pass before the form can be submitted. */
|
|
4
|
-
pattern?: string;
|
|
5
|
-
/** The maximum amount of words that can be added to this field. */
|
|
6
|
-
maxWords?: number;
|
|
7
|
-
/** The minimum amount of words that can be added to this field. */
|
|
8
|
-
minWords?: number;
|
|
9
|
-
/** The maximum length requirement this field must meet */
|
|
10
|
-
maxLength?: number;
|
|
11
|
-
/** The minimum length requirement this field must meet. */
|
|
12
|
-
minLength?: number;
|
|
13
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentInputTextAreaSchema, CalloutComponentInputTextFieldSchema } from './index.js';
|
|
2
|
-
/** Any callout input text component schema */
|
|
3
|
-
export type CalloutComponentInputTextSchema = CalloutComponentInputTextAreaSchema | CalloutComponentInputTextFieldSchema;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseInputSchema, CalloutComponentInputTimeRules } from './index.js';
|
|
3
|
-
export interface CalloutComponentInputTimeSchema extends CalloutComponentBaseInputSchema {
|
|
4
|
-
type: CalloutComponentType.INPUT_TIME;
|
|
5
|
-
/** E.g. 99:99 */
|
|
6
|
-
inputMask: string;
|
|
7
|
-
/** The validation rules for the form */
|
|
8
|
-
validate?: CalloutComponentInputTimeRules;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentBaseRules } from './index.js';
|
|
2
|
-
export interface CalloutComponentInputUrlRules extends CalloutComponentBaseRules {
|
|
3
|
-
/** The regular expression pattern test that the field value must pass before the form can be submitted. */
|
|
4
|
-
pattern?: string;
|
|
5
|
-
/** The maximum length requirement this field must meet */
|
|
6
|
-
maxLength?: number;
|
|
7
|
-
/** The minimum length requirement this field must meet. */
|
|
8
|
-
minLength?: number;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { CalloutComponentType } from '../data/index.js';
|
|
2
|
-
import type { CalloutComponentBaseInputSchema, CalloutComponentInputUrlRules } from './index.js';
|
|
3
|
-
export interface CalloutComponentInputUrlSchema extends CalloutComponentBaseInputSchema {
|
|
4
|
-
type: CalloutComponentType.INPUT_URL;
|
|
5
|
-
/** Placeholder for the form */
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
/** If `true` multiple spaces will be truncated to a single space */
|
|
8
|
-
truncateMultipleSpaces?: boolean;
|
|
9
|
-
/** The validation rules for the form */
|
|
10
|
-
validate?: CalloutComponentInputUrlRules;
|
|
11
|
-
}
|