Skip to content

Variable: JqlQueryClauseSchema ​

ts
const JqlQueryClauseSchema: ZodUnion<readonly [ZodType<CompoundClause, CompoundClauseInput, $ZodTypeInternals<CompoundClause, CompoundClauseInput>>, ZodObject<{
  field: ZodObject<{
     encodedName: ZodOptional<ZodString>;
     name: ZodString;
     property: ZodOptional<ZodArray<ZodObject<{
        entity: ZodString;
        key: ZodString;
        path: ZodString;
        type: ZodOptional<...>;
     }, ApiObjectConfig<undefined>>>>;
  }, ApiObjectConfig<undefined>>;
  operand: ZodUnion<readonly [ZodObject<{
     encodedOperand: ZodOptional<ZodString>;
     values: ZodArray<ZodUnion<readonly [..., ..., ...]>>;
   }, ApiObjectConfig<undefined>>, ZodObject<{
     encodedValue: ZodOptional<ZodString>;
     value: ZodString;
   }, ApiObjectConfig<undefined>>, ZodObject<{
     arguments: ZodArray<ZodString>;
     encodedOperand: ZodOptional<ZodString>;
     function: ZodString;
   }, ApiObjectConfig<undefined>>, ZodObject<{
     keyword: ZodCustom<... & ... | "empty", ... & ... | "empty">;
  }, ApiObjectConfig<undefined>>]>;
  operator: ZodCustom<
     | "in"
     | string & object
     | "="
     | "!="
     | ">"
     | "<"
     | ">="
     | "<="
     | "not in"
     | "~"
     | "~="
     | "is"
     | "is not", 
     | "in"
     | string & object
     | "="
     | "!="
     | ">"
     | "<"
     | ">="
     | "<="
     | "not in"
     | "~"
     | "~="
     | "is"
    | "is not">;
}, ApiObjectConfig<undefined>>, ZodObject<{
  field: ZodObject<{
     encodedName: ZodOptional<ZodString>;
     name: ZodString;
     property: ZodOptional<ZodArray<ZodObject<{
        entity: ZodString;
        key: ZodString;
        path: ZodString;
        type: ZodOptional<...>;
     }, ApiObjectConfig<undefined>>>>;
  }, ApiObjectConfig<undefined>>;
  operand: ZodUnion<readonly [ZodObject<{
     encodedOperand: ZodOptional<ZodString>;
     values: ZodArray<ZodUnion<readonly [..., ..., ...]>>;
   }, ApiObjectConfig<undefined>>, ZodObject<{
     encodedValue: ZodOptional<ZodString>;
     value: ZodString;
   }, ApiObjectConfig<undefined>>, ZodObject<{
     arguments: ZodArray<ZodString>;
     encodedOperand: ZodOptional<ZodString>;
     function: ZodString;
   }, ApiObjectConfig<undefined>>, ZodObject<{
     keyword: ZodCustom<... & ... | "empty", ... & ... | "empty">;
  }, ApiObjectConfig<undefined>>]>;
  operator: ZodCustom<string & object | "was" | "was in" | "was not in" | "was not", string & object | "was" | "was in" | "was not in" | "was not">;
  predicates: ZodArray<ZodObject<{
     operand: ZodUnion<readonly [ZodObject<{
        encodedOperand: ...;
        values: ...;
      }, ApiObjectConfig<...>>, ZodObject<{
        encodedValue: ...;
        value: ...;
      }, ApiObjectConfig<...>>, ZodObject<{
        arguments: ...;
        encodedOperand: ...;
        function: ...;
      }, ApiObjectConfig<...>>, ZodObject<{
        keyword: ...;
     }, ApiObjectConfig<...>>]>;
     operator: ZodCustom<
        | "from"
        | "on"
        | "after"
        | "before"
        | string & object
        | "to"
        | "during"
        | "by", 
        | "from"
        | "on"
        | "after"
        | "before"
        | string & object
        | "to"
        | "during"
       | "by">;
  }, ApiObjectConfig<undefined>>>;
}, ApiObjectConfig<undefined>>, ZodObject<{
  field: ZodObject<{
     encodedName: ZodOptional<ZodString>;
     name: ZodString;
     property: ZodOptional<ZodArray<ZodObject<{
        entity: ZodString;
        key: ZodString;
        path: ZodString;
        type: ZodOptional<...>;
     }, ApiObjectConfig<undefined>>>>;
  }, ApiObjectConfig<undefined>>;
  operator: ZodCustom<"changed" | string & object, "changed" | string & object>;
  predicates: ZodArray<ZodObject<{
     operand: ZodUnion<readonly [ZodObject<{
        encodedOperand: ...;
        values: ...;
      }, ApiObjectConfig<...>>, ZodObject<{
        encodedValue: ...;
        value: ...;
      }, ApiObjectConfig<...>>, ZodObject<{
        arguments: ...;
        encodedOperand: ...;
        function: ...;
      }, ApiObjectConfig<...>>, ZodObject<{
        keyword: ...;
     }, ApiObjectConfig<...>>]>;
     operator: ZodCustom<
        | "from"
        | "on"
        | "after"
        | "before"
        | string & object
        | "to"
        | "during"
        | "by", 
        | "from"
        | "on"
        | "after"
        | "before"
        | string & object
        | "to"
        | "during"
       | "by">;
  }, ApiObjectConfig<undefined>>>;
}, ApiObjectConfig<undefined>>]>;

Defined in: src/cloud/models/jqlQueryClause.ts:16

A JQL query clause.