"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ASSERTION_TYPES_AS_MAP = exports.ASSERTION_TYPES = void 0;
const AssertStepTypes = {
    PRESENT: 'present',
    NOT_PRESENT: 'not_present',
    EQUALS: 'equals',
    DOES_NOT_EQUAL: 'does_not_equal',
    CONTAINS: 'contains',
    DOES_NOT_CONTAIN: 'does_not_contain',
    STARTS_WITH: 'starts_with',
    STARTS_WITHOUT: 'starts_without',
    ENDS_WITH: 'ends_with',
    ENDS_WITHOUT: 'ends_without',
    GREATER_THAN: 'greater_than',
    LESS_THAN: 'less_than',
    GREATER_THAN_OR_EQUALS: 'greater_than_or_equals',
    LESS_THAN_OR_EQUALS: 'less_than_or_equals',
    MATCHES_REGEX: 'matches_regex',
};
exports.ASSERTION_TYPES = [
    {
        value: AssertStepTypes.PRESENT,
        label: 'is present',
    },
    {
        value: AssertStepTypes.NOT_PRESENT,
        label: 'is absent',
    },
    { value: AssertStepTypes.EQUALS, label: 'equals' },
    {
        value: AssertStepTypes.DOES_NOT_EQUAL,
        label: 'does not equal',
    },
    {
        value: AssertStepTypes.CONTAINS,
        label: 'contains',
    },
    {
        value: AssertStepTypes.DOES_NOT_CONTAIN,
        label: 'does not contain',
    },
    {
        value: AssertStepTypes.STARTS_WITH,
        label: 'starts with',
    },
    {
        value: AssertStepTypes.STARTS_WITHOUT,
        label: 'does not start with',
    },
    {
        value: AssertStepTypes.ENDS_WITH,
        label: 'ends with',
    },
    {
        value: AssertStepTypes.ENDS_WITHOUT,
        label: 'ends without',
    },
    {
        value: AssertStepTypes.GREATER_THAN,
        label: 'is greater than',
    },
    {
        value: AssertStepTypes.GREATER_THAN_OR_EQUALS,
        label: 'is greater than or equal to',
    },
    {
        value: AssertStepTypes.LESS_THAN,
        label: 'is less than',
    },
    {
        value: AssertStepTypes.LESS_THAN_OR_EQUALS,
        label: 'is less than or equal to',
    },
    {
        value: AssertStepTypes.MATCHES_REGEX,
        label: 'matches regex',
    },
];
exports.ASSERTION_TYPES_AS_MAP = exports.ASSERTION_TYPES.reduce((result, type) => {
    result[type.value] = type;
    return result;
}, {});
exports.default = AssertStepTypes;
