@beabee/beabee-common 0.0.2 → 0.20.0-alpha.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.
- package/README.md +126 -0
- package/dist/cjs/data/callout-component-base-type.cjs +35 -0
- package/dist/cjs/data/callout-component-input-selectable-types.cjs +32 -0
- package/dist/cjs/data/callout-component-input-text-types.cjs +32 -0
- package/dist/cjs/data/callout-component-input-types.cjs +46 -0
- package/dist/cjs/data/callout-component-nestable-types.cjs +33 -0
- package/dist/cjs/data/callout-component-type.cjs +50 -0
- package/dist/cjs/data/callout-component-types.cjs +35 -0
- package/dist/cjs/data/contribution-period.cjs +32 -0
- package/dist/cjs/data/contribution-type.cjs +34 -0
- package/dist/cjs/data/index.cjs +48 -0
- package/dist/cjs/data/item-status.cjs +34 -0
- package/dist/cjs/data/membership-status.cjs +34 -0
- package/dist/cjs/data/newsletter-status.cjs +35 -0
- package/dist/cjs/data/payment-method.cjs +34 -0
- package/dist/cjs/data/payment-status.cjs +34 -0
- package/dist/cjs/error/InvalidRule.cjs +35 -0
- package/dist/cjs/error/index.cjs +22 -0
- package/dist/cjs/index.cjs +30 -0
- package/dist/cjs/search/api-keys.cjs +35 -0
- package/dist/cjs/search/callouts.cjs +131 -0
- package/dist/cjs/search/contacts.cjs +105 -0
- package/dist/cjs/search/index.cjs +32 -0
- package/dist/cjs/search/notices.cjs +61 -0
- package/dist/cjs/search/operators.cjs +89 -0
- package/dist/cjs/search/payments.cjs +51 -0
- package/dist/cjs/types/api-key-filter-name.cjs +16 -0
- package/dist/cjs/types/array-filter-args.cjs +16 -0
- package/dist/cjs/types/base-filter-args.cjs +16 -0
- package/dist/cjs/types/base-validated-rule.cjs +16 -0
- package/dist/cjs/types/callout-component-base-input-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-base-input-selectable-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-base-input-text-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-base-map.cjs +16 -0
- package/dist/cjs/types/callout-component-base-nestable-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-base-rules.cjs +16 -0
- package/dist/cjs/types/callout-component-base-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-content-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-input-address-rules.cjs +16 -0
- package/dist/cjs/types/callout-component-input-address-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-input-checkbox-rules.cjs +16 -0
- package/dist/cjs/types/callout-component-input-checkbox-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-input-currency-rules.cjs +16 -0
- package/dist/cjs/types/callout-component-input-currency-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-input-date-time-rules.cjs +16 -0
- package/dist/cjs/types/callout-component-input-date-time-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-input-email-rules.cjs +16 -0
- package/dist/cjs/types/callout-component-input-email-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-input-file-rules.cjs +16 -0
- package/dist/cjs/types/callout-component-input-file-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-input-number-rules.cjs +16 -0
- package/dist/cjs/types/callout-component-input-number-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-input-phone-number-rules.cjs +16 -0
- package/dist/cjs/types/callout-component-input-phone-number-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-input-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-input-select-rules.cjs +16 -0
- package/dist/cjs/types/callout-component-input-select-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-input-selectable-radio-rules.cjs +16 -0
- package/dist/cjs/types/callout-component-input-selectable-radio-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-input-selectable-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-input-selectable-selectboxes-rules.cjs +16 -0
- package/dist/cjs/types/callout-component-input-selectable-selectboxes-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-input-signature-rules.cjs +16 -0
- package/dist/cjs/types/callout-component-input-signature-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-input-text-area-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-input-text-field-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-input-text-rules.cjs +16 -0
- package/dist/cjs/types/callout-component-input-text-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-input-time-rules.cjs +16 -0
- package/dist/cjs/types/callout-component-input-time-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-input-url-rules.cjs +16 -0
- package/dist/cjs/types/callout-component-input-url-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-map.cjs +16 -0
- package/dist/cjs/types/callout-component-nestable-panel-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-nestable-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-nestable-tabs-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-nestable-well-schema.cjs +16 -0
- package/dist/cjs/types/callout-component-schema.cjs +16 -0
- package/dist/cjs/types/callout-filter-name.cjs +16 -0
- package/dist/cjs/types/callout-form-schema.cjs +16 -0
- package/dist/cjs/types/callout-navigation-schema.cjs +16 -0
- package/dist/cjs/types/callout-response-answer-address.cjs +16 -0
- package/dist/cjs/types/callout-response-answer-file-upload.cjs +16 -0
- package/dist/cjs/types/callout-response-answer.cjs +16 -0
- package/dist/cjs/types/callout-response-answers-nestable.cjs +16 -0
- package/dist/cjs/types/callout-response-answers-slide.cjs +16 -0
- package/dist/cjs/types/callout-response-comment-filter-name.cjs +16 -0
- package/dist/cjs/types/callout-response-filter-name.cjs +16 -0
- package/dist/cjs/types/callout-slide-schema.cjs +16 -0
- package/dist/cjs/types/callout-tag-filter-name.cjs +16 -0
- package/dist/cjs/types/date-unit.cjs +16 -0
- package/dist/cjs/types/duration.cjs +16 -0
- package/dist/cjs/types/enum-filter-args.cjs +16 -0
- package/dist/cjs/types/feeable.cjs +16 -0
- package/dist/cjs/types/filter-args.cjs +16 -0
- package/dist/cjs/types/filter-type.cjs +16 -0
- package/dist/cjs/types/filters.cjs +16 -0
- package/dist/cjs/types/index.cjs +208 -0
- package/dist/cjs/types/notice-filter-name.cjs +16 -0
- package/dist/cjs/types/operators-by-type.cjs +16 -0
- package/dist/cjs/types/other-filter-args.cjs +16 -0
- package/dist/cjs/types/paginated-query.cjs +16 -0
- package/dist/cjs/types/paginated.cjs +16 -0
- package/dist/cjs/types/payment-filter-name.cjs +16 -0
- package/dist/cjs/types/role-type.cjs +16 -0
- package/dist/cjs/types/rule-group.cjs +16 -0
- package/dist/cjs/types/rule-operator.cjs +16 -0
- package/dist/cjs/types/rule-opperator-params.cjs +16 -0
- package/dist/cjs/types/rule-value.cjs +16 -0
- package/dist/cjs/types/rule.cjs +16 -0
- package/dist/cjs/types/stripe-fee-country.cjs +16 -0
- package/dist/cjs/types/text-case.cjs +16 -0
- package/dist/cjs/types/unit-matches.cjs +16 -0
- package/dist/cjs/types/validated-boolean-rule.cjs +16 -0
- package/dist/cjs/types/validated-number-rule.cjs +16 -0
- package/dist/cjs/types/validated-rule-group.cjs +16 -0
- package/dist/cjs/types/validated-rule-value.cjs +16 -0
- package/dist/cjs/types/validated-rule.cjs +16 -0
- package/dist/cjs/types/validated-string-rule.cjs +16 -0
- package/dist/cjs/types/validator-callout-component.cjs +16 -0
- package/dist/cjs/types/validator.cjs +16 -0
- package/dist/cjs/utils/callouts.cjs +175 -0
- package/dist/cjs/utils/conversions.cjs +53 -0
- package/dist/cjs/utils/date.cjs +104 -0
- package/dist/cjs/utils/index.cjs +34 -0
- package/dist/cjs/utils/payments.cjs +53 -0
- package/dist/cjs/utils/rules.cjs +109 -0
- package/dist/cjs/utils/slug.cjs +834 -0
- package/dist/cjs/utils/validations.cjs +177 -0
- package/dist/cjs/validators/callout-component-content.validator.cjs +30 -0
- package/dist/cjs/validators/callout-component-input-address.validator.cjs +36 -0
- package/dist/cjs/validators/callout-component-input-checkbox.validator.cjs +34 -0
- package/dist/cjs/validators/callout-component-input-currency.validator.cjs +35 -0
- package/dist/cjs/validators/callout-component-input-date-time.validator.cjs +38 -0
- package/dist/cjs/validators/callout-component-input-email.validator.cjs +39 -0
- package/dist/cjs/validators/callout-component-input-file.validator.cjs +35 -0
- package/dist/cjs/validators/callout-component-input-number.validator.cjs +38 -0
- package/dist/cjs/validators/callout-component-input-phone-number.validator.cjs +35 -0
- package/dist/cjs/validators/callout-component-input-select.validator.cjs +40 -0
- package/dist/cjs/validators/callout-component-input-selectable.validator.cjs +43 -0
- package/dist/cjs/validators/callout-component-input-signature.validator.cjs +32 -0
- package/dist/cjs/validators/callout-component-input-text.validator.cjs +53 -0
- package/dist/cjs/validators/callout-component-input-time.validator.cjs +36 -0
- package/dist/cjs/validators/callout-component-input-url.validator.cjs +39 -0
- package/dist/cjs/validators/callout-component.validator.cjs +104 -0
- package/dist/cjs/validators/index.cjs +52 -0
- package/dist/esm/data/callout-component-base-type.js +11 -0
- package/dist/esm/data/callout-component-input-selectable-types.js +8 -0
- package/dist/esm/data/callout-component-input-text-types.js +8 -0
- package/dist/esm/data/callout-component-input-types.js +22 -0
- package/dist/esm/data/callout-component-nestable-types.js +9 -0
- package/dist/esm/data/callout-component-type.js +26 -0
- package/dist/esm/data/callout-component-types.js +11 -0
- package/dist/esm/data/contribution-period.js +8 -0
- package/dist/esm/data/contribution-type.js +10 -0
- package/dist/esm/data/index.js +14 -0
- package/dist/esm/data/item-status.js +10 -0
- package/dist/esm/data/membership-status.js +10 -0
- package/dist/esm/data/newsletter-status.js +11 -0
- package/dist/esm/data/payment-method.js +10 -0
- package/dist/esm/data/payment-status.js +10 -0
- package/dist/esm/error/InvalidRule.js +11 -0
- package/dist/esm/error/index.js +1 -0
- package/dist/esm/index.js +5 -3
- package/dist/esm/search/api-keys.js +11 -0
- package/dist/esm/search/callouts.js +104 -0
- package/dist/esm/search/contacts.js +84 -0
- package/dist/esm/search/index.js +6 -0
- package/dist/esm/search/notices.js +37 -0
- package/dist/esm/search/operators.js +62 -0
- package/dist/esm/search/payments.js +27 -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/base-filter-args.js +0 -0
- package/dist/esm/types/base-validated-rule.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-filter-name.js +0 -0
- package/dist/esm/types/callout-form-schema.js +0 -0
- package/dist/esm/types/callout-navigation-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-nestable.js +0 -0
- package/dist/esm/types/callout-response-answers-slide.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-slide-schema.js +0 -0
- package/dist/esm/types/callout-tag-filter-name.js +0 -0
- package/dist/esm/types/date-unit.js +0 -0
- package/dist/esm/types/duration.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/index.js +94 -0
- package/dist/esm/types/notice-filter-name.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/payment-filter-name.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/stripe-fee-country.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/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 +149 -0
- package/dist/esm/utils/conversions.js +28 -0
- package/dist/esm/utils/date.js +84 -0
- package/dist/esm/utils/index.js +7 -0
- package/dist/esm/utils/payments.js +29 -0
- package/dist/esm/utils/rules.js +80 -0
- package/dist/esm/utils/slug.js +810 -0
- package/dist/esm/utils/validations.js +138 -0
- package/dist/esm/validators/callout-component-content.validator.js +6 -0
- package/dist/esm/validators/callout-component-input-address.validator.js +11 -0
- package/dist/esm/validators/callout-component-input-checkbox.validator.js +9 -0
- package/dist/esm/validators/callout-component-input-currency.validator.js +10 -0
- package/dist/esm/validators/callout-component-input-date-time.validator.js +13 -0
- package/dist/esm/validators/callout-component-input-email.validator.js +14 -0
- package/dist/esm/validators/callout-component-input-file.validator.js +10 -0
- package/dist/esm/validators/callout-component-input-number.validator.js +13 -0
- package/dist/esm/validators/callout-component-input-phone-number.validator.js +10 -0
- package/dist/esm/validators/callout-component-input-select.validator.js +15 -0
- package/dist/esm/validators/callout-component-input-selectable.validator.js +18 -0
- package/dist/esm/validators/callout-component-input-signature.validator.js +8 -0
- package/dist/esm/validators/callout-component-input-text.validator.js +28 -0
- package/dist/esm/validators/callout-component-input-time.validator.js +11 -0
- package/dist/esm/validators/callout-component-input-url.validator.js +14 -0
- package/dist/esm/validators/callout-component.validator.js +79 -0
- package/dist/esm/validators/index.js +16 -0
- package/dist/types/data/callout-component-base-type.d.ts +8 -0
- package/dist/types/data/callout-component-input-selectable-types.d.ts +3 -0
- package/dist/types/data/callout-component-input-text-types.d.ts +3 -0
- package/dist/types/data/callout-component-input-types.d.ts +3 -0
- package/dist/types/data/callout-component-nestable-types.d.ts +3 -0
- package/dist/types/data/callout-component-type.d.ts +23 -0
- package/dist/types/data/callout-component-types.d.ts +3 -0
- package/dist/types/data/contribution-period.d.ts +4 -0
- package/dist/types/data/contribution-type.d.ts +6 -0
- package/dist/types/data/index.d.ts +14 -0
- package/dist/types/data/item-status.d.ts +6 -0
- package/dist/types/data/membership-status.d.ts +6 -0
- package/dist/types/data/newsletter-status.d.ts +7 -0
- package/dist/types/data/payment-method.d.ts +6 -0
- package/dist/types/data/payment-status.d.ts +6 -0
- package/dist/types/error/InvalidRule.d.ts +6 -0
- package/dist/types/error/index.d.ts +1 -0
- package/dist/types/index.d.cts +1 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/search/api-keys.d.ts +8 -0
- package/dist/types/search/callouts.d.ts +93 -0
- package/dist/types/search/contacts.d.ts +66 -0
- package/dist/types/search/index.d.ts +6 -0
- package/dist/types/search/notices.d.ts +29 -0
- package/dist/types/search/operators.d.ts +128 -0
- package/dist/types/search/payments.d.ts +19 -0
- package/dist/types/types/api-key-filter-name.d.ts +2 -0
- package/dist/types/types/array-filter-args.d.ts +5 -0
- package/dist/types/types/base-filter-args.d.ts +5 -0
- package/dist/types/types/base-validated-rule.d.ts +9 -0
- package/dist/types/types/callout-component-base-input-schema.d.ts +9 -0
- package/dist/types/types/callout-component-base-input-selectable-schema.d.ts +11 -0
- package/dist/types/types/callout-component-base-input-text-schema.d.ts +12 -0
- package/dist/types/types/callout-component-base-map.d.ts +16 -0
- package/dist/types/types/callout-component-base-nestable-schema.d.ts +7 -0
- package/dist/types/types/callout-component-base-rules.d.ts +6 -0
- package/dist/types/types/callout-component-base-schema.d.ts +22 -0
- package/dist/types/types/callout-component-content-schema.d.ts +5 -0
- package/dist/types/types/callout-component-input-address-rules.d.ts +2 -0
- package/dist/types/types/callout-component-input-address-schema.d.ts +7 -0
- package/dist/types/types/callout-component-input-checkbox-rules.d.ts +2 -0
- package/dist/types/types/callout-component-input-checkbox-schema.d.ts +11 -0
- package/dist/types/types/callout-component-input-currency-rules.d.ts +2 -0
- package/dist/types/types/callout-component-input-currency-schema.d.ts +17 -0
- package/dist/types/types/callout-component-input-date-time-rules.d.ts +2 -0
- package/dist/types/types/callout-component-input-date-time-schema.d.ts +39 -0
- package/dist/types/types/callout-component-input-email-rules.d.ts +9 -0
- package/dist/types/types/callout-component-input-email-schema.d.ts +11 -0
- package/dist/types/types/callout-component-input-file-rules.d.ts +2 -0
- package/dist/types/types/callout-component-input-file-schema.d.ts +19 -0
- package/dist/types/types/callout-component-input-number-rules.d.ts +9 -0
- package/dist/types/types/callout-component-input-number-schema.d.ts +17 -0
- package/dist/types/types/callout-component-input-phone-number-rules.d.ts +2 -0
- package/dist/types/types/callout-component-input-phone-number-schema.d.ts +7 -0
- package/dist/types/types/callout-component-input-schema.d.ts +3 -0
- package/dist/types/types/callout-component-input-select-rules.d.ts +2 -0
- package/dist/types/types/callout-component-input-select-schema.d.ts +15 -0
- package/dist/types/types/callout-component-input-selectable-radio-rules.d.ts +2 -0
- package/dist/types/types/callout-component-input-selectable-radio-schema.d.ts +6 -0
- package/dist/types/types/callout-component-input-selectable-schema.d.ts +3 -0
- package/dist/types/types/callout-component-input-selectable-selectboxes-rules.d.ts +2 -0
- package/dist/types/types/callout-component-input-selectable-selectboxes-schema.d.ts +6 -0
- package/dist/types/types/callout-component-input-signature-rules.d.ts +2 -0
- package/dist/types/types/callout-component-input-signature-schema.d.ts +7 -0
- package/dist/types/types/callout-component-input-text-area-schema.d.ts +5 -0
- package/dist/types/types/callout-component-input-text-field-schema.d.ts +5 -0
- package/dist/types/types/callout-component-input-text-rules.d.ts +13 -0
- package/dist/types/types/callout-component-input-text-schema.d.ts +3 -0
- package/dist/types/types/callout-component-input-time-rules.d.ts +2 -0
- package/dist/types/types/callout-component-input-time-schema.d.ts +9 -0
- package/dist/types/types/callout-component-input-url-rules.d.ts +9 -0
- package/dist/types/types/callout-component-input-url-schema.d.ts +11 -0
- package/dist/types/types/callout-component-map.d.ts +31 -0
- package/dist/types/types/callout-component-nestable-panel-schema.d.ts +5 -0
- package/dist/types/types/callout-component-nestable-schema.d.ts +2 -0
- package/dist/types/types/callout-component-nestable-tabs-schema.d.ts +5 -0
- package/dist/types/types/callout-component-nestable-well-schema.d.ts +5 -0
- package/dist/types/types/callout-component-schema.d.ts +3 -0
- package/dist/types/types/callout-filter-name.d.ts +2 -0
- package/dist/types/types/callout-form-schema.d.ts +4 -0
- package/dist/types/types/callout-navigation-schema.d.ts +6 -0
- package/dist/types/types/callout-response-answer-address.d.ts +9 -0
- package/dist/types/types/callout-response-answer-file-upload.d.ts +3 -0
- package/dist/types/types/callout-response-answer.d.ts +2 -0
- package/dist/types/types/callout-response-answers-nestable.d.ts +5 -0
- package/dist/types/types/callout-response-answers-slide.d.ts +5 -0
- package/dist/types/types/callout-response-comment-filter-name.d.ts +2 -0
- package/dist/types/types/callout-response-filter-name.d.ts +2 -0
- package/dist/types/types/callout-slide-schema.d.ts +7 -0
- package/dist/types/types/callout-tag-filter-name.d.ts +2 -0
- package/dist/types/types/date-unit.d.ts +2 -0
- package/dist/types/types/duration.d.ts +1 -0
- package/dist/types/types/enum-filter-args.d.ts +5 -0
- package/dist/types/types/feeable.d.ts +6 -0
- package/dist/types/types/filter-args.d.ts +2 -0
- package/dist/types/types/filter-type.d.ts +1 -0
- package/dist/types/types/filters.d.ts +2 -0
- package/dist/types/types/index.d.ts +94 -0
- package/dist/types/types/notice-filter-name.d.ts +2 -0
- package/dist/types/types/operators-by-type.d.ts +2 -0
- package/dist/types/types/other-filter-args.d.ts +4 -0
- package/dist/types/types/paginated-query.d.ts +8 -0
- package/dist/types/types/paginated.d.ts +6 -0
- package/dist/types/types/payment-filter-name.d.ts +2 -0
- package/dist/types/types/role-type.d.ts +2 -0
- package/dist/types/types/rule-group.d.ts +5 -0
- package/dist/types/types/rule-operator.d.ts +2 -0
- package/dist/types/types/rule-opperator-params.d.ts +3 -0
- package/dist/types/types/rule-value.d.ts +1 -0
- package/dist/types/types/rule.d.ts +6 -0
- package/dist/types/types/stripe-fee-country.d.ts +1 -0
- package/dist/types/types/text-case.d.ts +1 -0
- package/dist/types/types/unit-matches.d.ts +2 -0
- package/dist/types/types/validated-boolean-rule.d.ts +2 -0
- package/dist/types/types/validated-number-rule.d.ts +2 -0
- package/dist/types/types/validated-rule-group.d.ts +5 -0
- package/dist/types/types/validated-rule-value.d.ts +2 -0
- package/dist/types/types/validated-rule.d.ts +2 -0
- package/dist/types/types/validated-string-rule.d.ts +2 -0
- package/dist/types/types/validator-callout-component.d.ts +2 -0
- package/dist/types/types/validator.d.ts +1 -0
- package/dist/types/utils/callouts.d.ts +30 -0
- package/dist/types/utils/conversions.d.ts +14 -0
- package/dist/types/utils/date.d.ts +8 -0
- package/dist/types/utils/index.d.ts +7 -0
- package/dist/types/utils/payments.d.ts +2 -0
- package/dist/types/utils/rules.d.ts +4 -0
- package/dist/types/utils/slug.d.ts +16 -0
- package/dist/types/utils/validations.d.ts +90 -0
- package/dist/types/validators/callout-component-content.validator.d.ts +2 -0
- package/dist/types/validators/callout-component-input-address.validator.d.ts +2 -0
- package/dist/types/validators/callout-component-input-checkbox.validator.d.ts +2 -0
- package/dist/types/validators/callout-component-input-currency.validator.d.ts +2 -0
- package/dist/types/validators/callout-component-input-date-time.validator.d.ts +2 -0
- package/dist/types/validators/callout-component-input-email.validator.d.ts +2 -0
- package/dist/types/validators/callout-component-input-file.validator.d.ts +2 -0
- package/dist/types/validators/callout-component-input-number.validator.d.ts +2 -0
- package/dist/types/validators/callout-component-input-phone-number.validator.d.ts +2 -0
- package/dist/types/validators/callout-component-input-select.validator.d.ts +2 -0
- package/dist/types/validators/callout-component-input-selectable.validator.d.ts +2 -0
- package/dist/types/validators/callout-component-input-signature.validator.d.ts +2 -0
- package/dist/types/validators/callout-component-input-text.validator.d.ts +2 -0
- package/dist/types/validators/callout-component-input-time.validator.d.ts +2 -0
- package/dist/types/validators/callout-component-input-url.validator.d.ts +2 -0
- package/dist/types/validators/callout-component.validator.d.ts +3 -0
- package/dist/types/validators/index.d.ts +16 -0
- package/package.json +39 -9
- package/dist/cjs/index.d.ts +0 -1
- package/dist/cjs/index.js +0 -7
- package/dist/esm/index.d.ts +0 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var payment_status_exports = {};
|
|
20
|
+
__export(payment_status_exports, {
|
|
21
|
+
PaymentStatus: () => PaymentStatus
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(payment_status_exports);
|
|
24
|
+
var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {
|
|
25
|
+
PaymentStatus2["Pending"] = "pending";
|
|
26
|
+
PaymentStatus2["Successful"] = "successful";
|
|
27
|
+
PaymentStatus2["Failed"] = "failed";
|
|
28
|
+
PaymentStatus2["Cancelled"] = "cancelled";
|
|
29
|
+
return PaymentStatus2;
|
|
30
|
+
})(PaymentStatus || {});
|
|
31
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
+
0 && (module.exports = {
|
|
33
|
+
PaymentStatus
|
|
34
|
+
});
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var InvalidRule_exports = {};
|
|
20
|
+
__export(InvalidRule_exports, {
|
|
21
|
+
InvalidRule: () => InvalidRule
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(InvalidRule_exports);
|
|
24
|
+
class InvalidRule extends Error {
|
|
25
|
+
constructor(rule, message) {
|
|
26
|
+
super();
|
|
27
|
+
this.rule = rule;
|
|
28
|
+
this.message = message;
|
|
29
|
+
Object.setPrototypeOf(this, InvalidRule.prototype);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
+
0 && (module.exports = {
|
|
34
|
+
InvalidRule
|
|
35
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var error_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(error_exports);
|
|
18
|
+
__reExport(error_exports, require("./InvalidRule.cjs"), module.exports);
|
|
19
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
20
|
+
0 && (module.exports = {
|
|
21
|
+
...require("./InvalidRule.cjs")
|
|
22
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var src_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(src_exports);
|
|
18
|
+
__reExport(src_exports, require("./data/index.cjs"), module.exports);
|
|
19
|
+
__reExport(src_exports, require("./error/index.cjs"), module.exports);
|
|
20
|
+
__reExport(src_exports, require("./search/index.cjs"), module.exports);
|
|
21
|
+
__reExport(src_exports, require("./utils/index.cjs"), module.exports);
|
|
22
|
+
__reExport(src_exports, require("./validators/index.cjs"), module.exports);
|
|
23
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
24
|
+
0 && (module.exports = {
|
|
25
|
+
...require("./data/index.cjs"),
|
|
26
|
+
...require("./error/index.cjs"),
|
|
27
|
+
...require("./search/index.cjs"),
|
|
28
|
+
...require("./utils/index.cjs"),
|
|
29
|
+
...require("./validators/index.cjs")
|
|
30
|
+
});
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var api_keys_exports = {};
|
|
20
|
+
__export(api_keys_exports, {
|
|
21
|
+
apiKeyFilters: () => apiKeyFilters
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(api_keys_exports);
|
|
24
|
+
const apiKeyFilters = {
|
|
25
|
+
id: {
|
|
26
|
+
type: "text"
|
|
27
|
+
},
|
|
28
|
+
createdAt: {
|
|
29
|
+
type: "date"
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
+
0 && (module.exports = {
|
|
34
|
+
apiKeyFilters
|
|
35
|
+
});
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var callouts_exports = {};
|
|
20
|
+
__export(callouts_exports, {
|
|
21
|
+
calloutFilters: () => calloutFilters,
|
|
22
|
+
calloutResponseCommentFilters: () => calloutResponseCommentFilters,
|
|
23
|
+
calloutResponseFilters: () => calloutResponseFilters,
|
|
24
|
+
calloutTagFilters: () => calloutTagFilters
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(callouts_exports);
|
|
27
|
+
var import_data = require("../data/index.cjs");
|
|
28
|
+
const calloutFilters = {
|
|
29
|
+
slug: {
|
|
30
|
+
type: "text"
|
|
31
|
+
},
|
|
32
|
+
title: {
|
|
33
|
+
type: "text"
|
|
34
|
+
},
|
|
35
|
+
status: {
|
|
36
|
+
type: "enum",
|
|
37
|
+
options: [
|
|
38
|
+
import_data.ItemStatus.Draft,
|
|
39
|
+
import_data.ItemStatus.Scheduled,
|
|
40
|
+
import_data.ItemStatus.Open,
|
|
41
|
+
import_data.ItemStatus.Ended
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
answeredBy: {
|
|
45
|
+
type: "contact"
|
|
46
|
+
},
|
|
47
|
+
starts: {
|
|
48
|
+
type: "date",
|
|
49
|
+
nullable: true
|
|
50
|
+
},
|
|
51
|
+
expires: {
|
|
52
|
+
type: "date",
|
|
53
|
+
nullable: true
|
|
54
|
+
},
|
|
55
|
+
hidden: {
|
|
56
|
+
type: "boolean"
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
const calloutResponseFilters = {
|
|
60
|
+
id: {
|
|
61
|
+
type: "text"
|
|
62
|
+
},
|
|
63
|
+
contact: {
|
|
64
|
+
type: "contact",
|
|
65
|
+
nullable: true
|
|
66
|
+
},
|
|
67
|
+
callout: {
|
|
68
|
+
type: "text"
|
|
69
|
+
},
|
|
70
|
+
createdAt: {
|
|
71
|
+
type: "date"
|
|
72
|
+
},
|
|
73
|
+
updatedAt: {
|
|
74
|
+
type: "date"
|
|
75
|
+
},
|
|
76
|
+
bucket: {
|
|
77
|
+
type: "text",
|
|
78
|
+
nullable: true
|
|
79
|
+
},
|
|
80
|
+
tags: {
|
|
81
|
+
type: "array"
|
|
82
|
+
},
|
|
83
|
+
assignee: {
|
|
84
|
+
type: "contact",
|
|
85
|
+
nullable: true
|
|
86
|
+
},
|
|
87
|
+
answers: {
|
|
88
|
+
type: "blob"
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
const calloutResponseCommentFilters = {
|
|
92
|
+
id: {
|
|
93
|
+
type: "text"
|
|
94
|
+
},
|
|
95
|
+
responseId: {
|
|
96
|
+
type: "text"
|
|
97
|
+
},
|
|
98
|
+
contact: {
|
|
99
|
+
type: "contact"
|
|
100
|
+
},
|
|
101
|
+
createdAt: {
|
|
102
|
+
type: "date"
|
|
103
|
+
},
|
|
104
|
+
updatedAt: {
|
|
105
|
+
type: "date"
|
|
106
|
+
},
|
|
107
|
+
text: {
|
|
108
|
+
type: "text"
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
const calloutTagFilters = {
|
|
112
|
+
id: {
|
|
113
|
+
type: "text"
|
|
114
|
+
},
|
|
115
|
+
name: {
|
|
116
|
+
type: "text"
|
|
117
|
+
},
|
|
118
|
+
description: {
|
|
119
|
+
type: "text"
|
|
120
|
+
},
|
|
121
|
+
calloutSlug: {
|
|
122
|
+
type: "text"
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
126
|
+
0 && (module.exports = {
|
|
127
|
+
calloutFilters,
|
|
128
|
+
calloutResponseCommentFilters,
|
|
129
|
+
calloutResponseFilters,
|
|
130
|
+
calloutTagFilters
|
|
131
|
+
});
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var contacts_exports = {};
|
|
20
|
+
__export(contacts_exports, {
|
|
21
|
+
RoleTypes: () => RoleTypes,
|
|
22
|
+
contactFilters: () => contactFilters
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(contacts_exports);
|
|
25
|
+
var import_data = require("../data/index.cjs");
|
|
26
|
+
const RoleTypes = ["member", "admin", "superadmin"];
|
|
27
|
+
const contactFilters = {
|
|
28
|
+
id: {
|
|
29
|
+
type: "contact"
|
|
30
|
+
},
|
|
31
|
+
firstname: {
|
|
32
|
+
type: "text"
|
|
33
|
+
},
|
|
34
|
+
lastname: {
|
|
35
|
+
type: "text"
|
|
36
|
+
},
|
|
37
|
+
email: {
|
|
38
|
+
type: "text"
|
|
39
|
+
},
|
|
40
|
+
joined: {
|
|
41
|
+
type: "date"
|
|
42
|
+
},
|
|
43
|
+
lastSeen: {
|
|
44
|
+
type: "date"
|
|
45
|
+
},
|
|
46
|
+
contributionCancelled: {
|
|
47
|
+
type: "date",
|
|
48
|
+
nullable: true
|
|
49
|
+
},
|
|
50
|
+
contributionType: {
|
|
51
|
+
type: "enum",
|
|
52
|
+
options: [
|
|
53
|
+
import_data.ContributionType.Automatic,
|
|
54
|
+
import_data.ContributionType.Gift,
|
|
55
|
+
import_data.ContributionType.Manual,
|
|
56
|
+
import_data.ContributionType.None
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
contributionMonthlyAmount: {
|
|
60
|
+
type: "number"
|
|
61
|
+
},
|
|
62
|
+
contributionPeriod: {
|
|
63
|
+
type: "enum",
|
|
64
|
+
options: [import_data.ContributionPeriod.Monthly, import_data.ContributionPeriod.Annually]
|
|
65
|
+
},
|
|
66
|
+
deliveryOptIn: {
|
|
67
|
+
type: "boolean"
|
|
68
|
+
},
|
|
69
|
+
newsletterStatus: {
|
|
70
|
+
type: "enum",
|
|
71
|
+
options: [
|
|
72
|
+
import_data.NewsletterStatus.Subscribed,
|
|
73
|
+
import_data.NewsletterStatus.Unsubscribed,
|
|
74
|
+
import_data.NewsletterStatus.Cleaned,
|
|
75
|
+
import_data.NewsletterStatus.Pending,
|
|
76
|
+
import_data.NewsletterStatus.None
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
activePermission: {
|
|
80
|
+
type: "enum",
|
|
81
|
+
options: RoleTypes
|
|
82
|
+
},
|
|
83
|
+
activeMembership: {
|
|
84
|
+
type: "boolean"
|
|
85
|
+
},
|
|
86
|
+
membershipStarts: {
|
|
87
|
+
type: "date"
|
|
88
|
+
},
|
|
89
|
+
membershipExpires: {
|
|
90
|
+
type: "date"
|
|
91
|
+
},
|
|
92
|
+
manualPaymentSource: {
|
|
93
|
+
type: "text",
|
|
94
|
+
nullable: true
|
|
95
|
+
},
|
|
96
|
+
tags: {
|
|
97
|
+
type: "array",
|
|
98
|
+
nullable: true
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
102
|
+
0 && (module.exports = {
|
|
103
|
+
RoleTypes,
|
|
104
|
+
contactFilters
|
|
105
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var search_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(search_exports);
|
|
18
|
+
__reExport(search_exports, require("./api-keys.cjs"), module.exports);
|
|
19
|
+
__reExport(search_exports, require("./callouts.cjs"), module.exports);
|
|
20
|
+
__reExport(search_exports, require("./contacts.cjs"), module.exports);
|
|
21
|
+
__reExport(search_exports, require("./notices.cjs"), module.exports);
|
|
22
|
+
__reExport(search_exports, require("./operators.cjs"), module.exports);
|
|
23
|
+
__reExport(search_exports, require("./payments.cjs"), module.exports);
|
|
24
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
25
|
+
0 && (module.exports = {
|
|
26
|
+
...require("./api-keys.cjs"),
|
|
27
|
+
...require("./callouts.cjs"),
|
|
28
|
+
...require("./contacts.cjs"),
|
|
29
|
+
...require("./notices.cjs"),
|
|
30
|
+
...require("./operators.cjs"),
|
|
31
|
+
...require("./payments.cjs")
|
|
32
|
+
});
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var notices_exports = {};
|
|
20
|
+
__export(notices_exports, {
|
|
21
|
+
noticeFilters: () => noticeFilters
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(notices_exports);
|
|
24
|
+
var import_data = require("../data/index.cjs");
|
|
25
|
+
const noticeFilters = {
|
|
26
|
+
id: {
|
|
27
|
+
type: "text"
|
|
28
|
+
},
|
|
29
|
+
createdAt: {
|
|
30
|
+
type: "date"
|
|
31
|
+
},
|
|
32
|
+
updatedAt: {
|
|
33
|
+
type: "date"
|
|
34
|
+
},
|
|
35
|
+
name: {
|
|
36
|
+
type: "text"
|
|
37
|
+
},
|
|
38
|
+
expires: {
|
|
39
|
+
type: "date",
|
|
40
|
+
nullable: true
|
|
41
|
+
},
|
|
42
|
+
enabled: {
|
|
43
|
+
type: "boolean"
|
|
44
|
+
},
|
|
45
|
+
text: {
|
|
46
|
+
type: "text"
|
|
47
|
+
},
|
|
48
|
+
status: {
|
|
49
|
+
type: "enum",
|
|
50
|
+
options: [
|
|
51
|
+
import_data.ItemStatus.Draft,
|
|
52
|
+
import_data.ItemStatus.Scheduled,
|
|
53
|
+
import_data.ItemStatus.Open,
|
|
54
|
+
import_data.ItemStatus.Ended
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
59
|
+
0 && (module.exports = {
|
|
60
|
+
noticeFilters
|
|
61
|
+
});
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var operators_exports = {};
|
|
20
|
+
__export(operators_exports, {
|
|
21
|
+
nullableOperators: () => nullableOperators,
|
|
22
|
+
operatorsByType: () => operatorsByType,
|
|
23
|
+
operatorsByTypeMap: () => operatorsByTypeMap,
|
|
24
|
+
ruleOperators: () => ruleOperators
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(operators_exports);
|
|
27
|
+
const equalityOperators = {
|
|
28
|
+
equal: { args: 1 },
|
|
29
|
+
not_equal: { args: 1 }
|
|
30
|
+
};
|
|
31
|
+
const stringOperators = {
|
|
32
|
+
begins_with: { args: 1 },
|
|
33
|
+
ends_with: { args: 1 },
|
|
34
|
+
not_begins_with: { args: 1 },
|
|
35
|
+
not_ends_with: { args: 1 }
|
|
36
|
+
};
|
|
37
|
+
const numericOperators = {
|
|
38
|
+
...equalityOperators,
|
|
39
|
+
between: { args: 2 },
|
|
40
|
+
not_between: { args: 2 },
|
|
41
|
+
less: { args: 1 },
|
|
42
|
+
greater: { args: 1 },
|
|
43
|
+
less_or_equal: { args: 1 },
|
|
44
|
+
greater_or_equal: { args: 1 }
|
|
45
|
+
};
|
|
46
|
+
const arrayOperators = {
|
|
47
|
+
contains: { args: 1 },
|
|
48
|
+
not_contains: { args: 1 }
|
|
49
|
+
};
|
|
50
|
+
const nullableOperators = {
|
|
51
|
+
is_empty: { args: 0 },
|
|
52
|
+
is_not_empty: { args: 0 }
|
|
53
|
+
};
|
|
54
|
+
const operatorsByType = {
|
|
55
|
+
text: { ...equalityOperators, ...arrayOperators, ...stringOperators },
|
|
56
|
+
blob: arrayOperators,
|
|
57
|
+
date: numericOperators,
|
|
58
|
+
number: numericOperators,
|
|
59
|
+
boolean: { equal: equalityOperators.equal },
|
|
60
|
+
array: arrayOperators,
|
|
61
|
+
enum: equalityOperators,
|
|
62
|
+
contact: equalityOperators
|
|
63
|
+
};
|
|
64
|
+
const operatorsByTypeMap = operatorsByType;
|
|
65
|
+
const ruleOperators = [
|
|
66
|
+
"equal",
|
|
67
|
+
"not_equal",
|
|
68
|
+
"less",
|
|
69
|
+
"less_or_equal",
|
|
70
|
+
"greater",
|
|
71
|
+
"greater_or_equal",
|
|
72
|
+
"between",
|
|
73
|
+
"not_between",
|
|
74
|
+
"begins_with",
|
|
75
|
+
"not_begins_with",
|
|
76
|
+
"contains",
|
|
77
|
+
"not_contains",
|
|
78
|
+
"ends_with",
|
|
79
|
+
"not_ends_with",
|
|
80
|
+
"is_empty",
|
|
81
|
+
"is_not_empty"
|
|
82
|
+
];
|
|
83
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
84
|
+
0 && (module.exports = {
|
|
85
|
+
nullableOperators,
|
|
86
|
+
operatorsByType,
|
|
87
|
+
operatorsByTypeMap,
|
|
88
|
+
ruleOperators
|
|
89
|
+
});
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var payments_exports = {};
|
|
20
|
+
__export(payments_exports, {
|
|
21
|
+
paymentFilters: () => paymentFilters
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(payments_exports);
|
|
24
|
+
var import_data = require("../data/index.cjs");
|
|
25
|
+
const paymentFilters = {
|
|
26
|
+
id: {
|
|
27
|
+
type: "text"
|
|
28
|
+
},
|
|
29
|
+
contact: {
|
|
30
|
+
type: "contact"
|
|
31
|
+
},
|
|
32
|
+
chargeDate: {
|
|
33
|
+
type: "date"
|
|
34
|
+
},
|
|
35
|
+
amount: {
|
|
36
|
+
type: "number"
|
|
37
|
+
},
|
|
38
|
+
status: {
|
|
39
|
+
type: "enum",
|
|
40
|
+
options: [
|
|
41
|
+
import_data.PaymentStatus.Successful,
|
|
42
|
+
import_data.PaymentStatus.Pending,
|
|
43
|
+
import_data.PaymentStatus.Failed,
|
|
44
|
+
import_data.PaymentStatus.Cancelled
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
49
|
+
0 && (module.exports = {
|
|
50
|
+
paymentFilters
|
|
51
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var api_key_filter_name_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(api_key_filter_name_exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var array_filter_args_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(array_filter_args_exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var base_filter_args_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(base_filter_args_exports);
|