# US 2024/0199610 A1 · Tyk2 inhibitors and uses thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0199610 A1
- Document ID: US20240199610A1
- Status: Published application
- Kind: A1
- Application number: 18/546,943
- Filed: 2022-02-16
- Published: 2024-06-20
- Earliest claimed: 2021-02-19
- Assignees: Sudo Biosciences Limited
- Applicants: Sudo Biosciences Limited
- Inventors: Anjali PANDEY; Gregory DIETSCH; Bhaskar CHAUDHURI; Seetharaman MANOJVEER; Mahesh THAKKAR; Athisayamani Jeyaraj DURAISWAMY; Sukesh KALVA
- Web page: https://patentgrep.com/patent/US20240199610A1

## CPC

- C07D 471/04: Ortho-condensed systems
- A61K 9/0014: {Skin, i.e. galenical aspects of topical compositions (non-active ingredients are additionally classified in A61K47/00; A61K9/0009, A61K9/0021, A61K9/7015, A61K9/7023 take precedence; cosmetic preparations A61K8/00, A61Q; preparations for wound dressings or bandages A61L26/00)}
- A61K 9/0048: {Eye, e.g. artificial tears}
- A61K 9/008: {comprising drug dissolved or suspended in liquid propellant for inhalation via a pressurized metered dose inhaler [MDI]}
- A61K 9/107: Emulsions {; Emulsion preconcentrates; Micelles (composition of emulsions A61K47/00)}
- A61K 9/2054: {Cellulose; Cellulose derivatives, e.g. hydroxypropyl methylcellulose}
- A61K 31/444: containing a six-membered ring with nitrogen as a ring heteroatom, e.g. amrinone
- A61K 31/4985: Pyrazines or piperazines ortho- or peri-condensed with heterocyclic ring systems
- A61K 31/501: not condensed and containing further heterocyclic rings
- A61K 31/5025: ortho- or peri-condensed with heterocyclic ring systems
- A61K 31/519: ortho- or peri-condensed with heterocyclic rings
- A61P 25/00: Drugs for disorders of the nervous system
- A61P 29/00: Non-central analgesic, antipyretic or antiinflammatory agents, e.g. antirheumatic agents; Non-steroidal antiinflammatory drugs [NSAID]
- A61P 37/00: Drugs for immunological or allergic disorders
- C07D 221/04: Ortho- or peri-condensed ring systems
- C07D 471/14: Ortho-condensed systems
- C07D: HETEROCYCLIC COMPOUNDS (macromolecular compounds C08)
- A61K: PREPARATIONS FOR MEDICAL, DENTAL OR TOILETRY PURPOSES (devices or methods specially adapted for bringing pharmaceutical products into particular physical or administering forms A61J3/00; chemical aspects of, or use of materials for deodorisation of air, for disinfection or sterilisation, or for bandages, dressings, absorbent pads or surgical articles A61L; soap compositions C11D)
- A61P: SPECIFIC THERAPEUTIC ACTIVITY OF CHEMICAL COMPOUNDS OR MEDICINAL PREPARATIONS

## Abstract

Described herein are compounds that are TYK2 inhibitors, methods of making such compounds, pharmaceutical compositions and medicaments comprising such compounds, and methods of using such compounds in the treatment of conditions, diseases, or disorders that would benefit from modulation of TYK2 activity.

## Claims

### Claim 1

A compound of Formula (I):
or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein:
Ring A is an unsubstituted or substituted 6-membered heterocyclic ring wherein A1 and A2 are independently N or C, wherein if Ring A is substituted then Ring A is substituted with p instances of R8;
each R8 is independently hydrogen, halogen, unsubstituted or substituted C1-C6 alkyl, unsubstituted or substituted C1-C6 deuteroalkyl, unsubstituted or substituted C2-C6 alkenyl, unsubstituted or substituted C2-C6 alkynyl, unsubstituted or substituted C1-C6 fluoroalkyl, unsubstituted or substituted C1-C6 heteroalkyl, unsubstituted or substituted carbocycle, unsubstituted or substituted heterocycle, —CN, —OH, —OR17, —C(═O)R16, —CO2R16, —C(═O)N(R16)2, —N(R16)2, —NR16C(═O)R17, —SR16, —S(═O)R17, —SO2R17, or —SO2N(R16)2, wherein if R8 is attached to a nitrogen atom, then R8 is hydrogen, unsubstituted or substituted C1-C6 alkyl, unsubstituted or substituted C1-C6 deuteroalkyl, unsubstituted or substituted C2-C6 alkenyl, unsubstituted or substituted C2-C6 alkynyl, unsubstituted or substituted C1-C6 fluoroalkyl, unsubstituted or substituted C1-C6 heteroalkyl, unsubstituted or substituted carbocycle, unsubstituted or substituted heterocycle, —C(═O)R16, —CO2R16, —C(═O)N(R16)2, —S(═O)R17, —SO2R17, or —SO2N(R16)2; or two R8 attached to the same carbon atom are taken together to form ═O, ═S, or ═NH;
Z is —NR10—, —O—, —S—, —S(═O)—, or —SO2—;
R10 is hydrogen, C1-C6 alkyl, C1-C6 deuteroalkyl, C1-C6 fluoroalkyl, C3-C6 cycloalkyl, or monocyclic heterocycle;
X1, X2, and X3 are each independently CR11 or N;
each R11 is independently hydrogen, halogen, unsubstituted or substituted C1-C6 alkyl, unsubstituted or substituted C2-C6 alkenyl, unsubstituted or substituted C2-C6 alkynyl, unsubstituted or substituted C1-C6 fluoroalkyl, unsubstituted or substituted C1-C6 heteroalkyl, unsubstituted or substituted carbocycle, unsubstituted or substituted heterocycle, —CN, —OH, —OR17, —C(═O)R16, —CO2R16, —C(═O)N(R16)2, —N(R16)2, —NR16C(═O)R17, —SR16, —S(═O)R17, —SO2R17, or —SO2N(R16)2;
B1 is N or CR12a,
B2 is N or CR12b;
R12a and R12b are each independently hydrogen, halogen, unsubstituted or substituted C1-C6 alkyl, unsubstituted or substituted C2-C6 alkenyl, unsubstituted or substituted C2-C6 alkynyl, unsubstituted or substituted C1-C6 fluoroalkyl, unsubstituted or substituted C1-C6 heteroalkyl, unsubstituted or substituted carbocycle, unsubstituted or substituted heterocycle, —CN, —OH, —OR17, —C(═O)R16, —CO2R16, —C(═O)N(R16)2, —N(R16)2, —NR16C(═O)R17, —SR16, —S(═O)R17, —SO2R17, or —SO2N(R16)2;
R1 is hydrogen, C1-C6 alkyl, or C1-C6 fluoroalkyl;
R2 is a Ring B that is an unsubstituted or substituted heterocycle or unsubstituted or substituted carbocycle, wherein if Ring B is substituted then Ring B is substituted with q instances of R13;
each R13 is independently halogen, unsubstituted or substituted C1-C6 alkyl, unsubstituted or substituted C2-C6 alkenyl, unsubstituted or substituted C2-C6 alkynyl, unsubstituted or substituted C1-C6 fluoroalkyl, unsubstituted or substituted C1-C6 heteroalkyl, unsubstituted or substituted carbocycle, unsubstituted or substituted heterocycle, —CN, —OH, —OR17, —C(═O)R16, —CO2R16, —C(═O)N(R16)2, —N(R16)2, —NR16C(═O)R17, —SR16, —S(═O)R17, —SO2R17, or —SO2N(R16)2;
or two R13 groups on adjacent atoms of Ring B are taken together with the intervening atoms to which they are attached to form an unsubstituted or substituted 5- or 6-membered monocyclic carbocycle or an unsubstituted or substituted 5- or 6-membered monocyclic heterocycle;
or R2 is —C(═O)R14, —C(═O)NR14R15, or —C(═O)OR14;
R14 is hydrogen, unsubstituted or substituted C1-C6 alkyl, C1-C6 deuteroalkyl unsubstituted or substituted C2-C6 alkenyl, unsubstituted or substituted C2-C6 alkynyl, unsubstituted or substituted C1-C6 heteroalkyl, unsubstituted or substituted monocyclic carbocycle, unsubstituted or substituted bicyclic carbocycle, unsubstituted or substituted monocyclic heterocycle, or unsubstituted or substituted bicyclic heterocycle;
R15 is hydrogen, C1-C6 alkyl, or C1-C6 fluoroalkyl;
or R14 and R15 are taken together with the intervening atoms to which they are attached to form an unsubstituted or substituted 4- to 6-membered monocyclic heterocycle;
or R1 and R15 are taken together with the intervening atoms to which they are attached to form an unsubstituted or substituted 5- or 6-membered monocyclic heterocycle;
W is —NR3— or —O—;
R3 is hydrogen, C1-C6 alkyl, C1-C6 deuteroalkyl, C1-C6 fluoroalkyl, C3-C6 cycloalkyl, or monocyclic heterocycle;
R4 is hydrogen, C1-C6 alkyl, C1-C6 deuteroalkyl, C1-C6 fluoroalkyl, C3-C6 cycloalkyl, or monocyclic heterocycle;
or R3 and R4 are taken together with the N atom to which they are attached to form a substituted or unsubstituted N-containing heterocycle;
or R3 and R12a are taken together with the intervening atoms to which they are attached to form a substituted or unsubstituted 5- or 6-membered heterocycle;
R5 is hydrogen, C1-C6 alkyl, C1-C6 fluoroalkyl, C3-C6 cycloalkyl, or monocyclic heterocycle;
each R6 and R7 is independently hydrogen, deuterium, halogen, C1-C6 alkyl, C1-C6 deuteroalkyl, C1-C6 fluoroalkyl, C3-C6 cycloalkyl, or monocyclic heterocycle, —CN, —OH, —OR17, —C(═O)R16, —CO2R16, —C(═O)N(R16)2, —N(R16)2, —NR16C(═O)R17, —SR16, —S(═O)R17, —SO2R17, or —SO2N(R16)2;
or one R6 and one R7 attached to the same carbon atom are taken together with the carbon atom to which they are attached to form C═O or C3-C4 cycloalkyl;
each R16 is independently hydrogen, substituted or unsubstituted C1-C6 alkyl, substituted or unsubstituted C1-C6 fluoroalkyl, substituted or unsubstituted C1-C6 heteroalkyl, substituted or unsubstituted C3-C7 cycloalkyl, substituted or unsubstituted monocyclic 3- to 8-membered heterocycloalkyl, substituted or unsubstituted phenyl, or substituted or unsubstituted monocyclic heteroaryl;
or two R16 on the same N atom are taken together with the N atom to which they are attached to form a substituted or unsubstituted N-containing heterocycle; and
each R17 is independently substituted or unsubstituted C1-C6 alkyl, substituted or unsubstituted C1-C6 fluoroalkyl, substituted or unsubstituted C1-C6 heteroalkyl, substituted or unsubstituted C3-C7 cycloalkyl, substituted or unsubstituted monocyclic 3- to 8-membered heterocycloalkyl, substituted or unsubstituted phenyl, or substituted or unsubstituted monocyclic heteroaryl;
wherein each substituted alkyl, substituted fluoroalkyl, substituted deuteroalkyl, substituted alkoxy, substituted fluoroalkoxy, substituted heteroalkyl, substituted carbocycle, and substituted heterocycle is substituted with one or more Rs groups independently selected from the group consisting of deuterium, halogen, C1-C6 alkyl, monocyclic carbocycle, monocyclic heterocycle, —CN, —CH2CN, —OR18, —CH2OR18, —CO2R18, —CH2CO2R18, —C(═O)N(R18)2, —CH2C(═O)N(R18)2, —N(R18)2, —CH2N(R18)2, —NR18C(═O)R18, —CH2NR18C(═O)R18, —NR18SO2R19, —CH2NR18SO2R19, —SR18, —CH2SR18, —S(═O)R19, —CH2S(═O)R19, —SO2R19, —CH2SO2R19, —SO2N(R18)2, or —CH2SO2N(R18)2;
each R18 is independently selected from hydrogen, C1-C6 alkyl, C1-C6 fluoroalkyl, C1-C6 heteroalkyl, C3-C6 cycloalkyl, C2-C6 heterocycloalkyl, phenyl, benzyl, 5-membered heteroaryl and 6-membered heteroaryl;
or two R18 groups are taken together with the N atom to which they are attached to form a N-containing heterocycle;
each R19 is independently selected from C1-C6 alkyl, C1-C6 heteroalkyl, C3-C6 cycloalkyl, C2-C6 heterocycloalkyl, phenyl, benzyl, 5-membered heteroaryl, and 6-membered heteroaryl;
n is 1, 2, or 3;
p is 0, 1, 2, 3, or 4; and
q is 0, 1, 2, 3, or 4.

### Claim 2 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein R1 is hydrogen or C1-C4 alkyl.

### Claim 3 (depends on 1, 2)

The compound of claim 1 or claim 2, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein R5 is hydrogen or C1-C4 alkyl.

### Claim 4 (depends on 1, 2, 3)

The compound of any one of claims 1-3, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein R5 is hydrogen.

### Claim 5 (depends on 1, 2, 3, 4)

The compound of any one of claims 1-4, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein W is —NR3—.

### Claim 6 (depends on 5)

The compound of claim 5, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein R3 is hydrogen, C1-C4 alkyl, or C1-C4 deuteroalkyl.

### Claim 7 (depends on 5, 6)

The compound of claim 5 or claim 6, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein R3 is hydrogen.

### Claim 8 (depends on 1, 2, 3, 4, 5, 6, 7)

The compound of any one of claims 1-7, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein R4 is hydrogen, C1-C4 alkyl, or C1-C4 deuteroalkyl.

### Claim 9 (depends on 1)

The compound of claim 1 having a structure of Formula (II):
or a pharmaceutically acceptable salt, tautomer, or solvate thereof.

### Claim 10 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9)

The compound of any one of claims 1-9, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein:
X1 is CR11, X2 is CR11, and X3 is CR11;
or X1 is CR11, X2 is CR11, and X3 is N;
or X1 is CR11, X2 is N, and X3 is CR11;
or X1 is CR11, X2 is N, and X3 is N;
or X1 is N, X2 is CR11, and X3 is CR11;
or X1 is N, X2 is CR11, and X3 is N;
or X1 is N, X2 is N, and X3 is CR11.

### Claim 11 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10)

The compound of any one of claims 1-10, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein:
X1 is CR11, X2 is CR11, and X3 is CR11;
or X1 is CR11, X2 is CR11, and X3 is N;
or X1 is CR11, X2 is N, and X3 is CR11;
or X1 is N, X2 is CR11, and X3 is CR11.

### Claim 12 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)

The compound of any one of claims 1-11, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein:
X1 is CR11, X2 is CR11, and X3 is CR11.

### Claim 13 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)

The compound of any one of claims 1-12, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein each R11 is independently hydrogen, halogen, C1-C6 alkyl, C1-C6 fluoroalkyl, —CN, —OH, —OR17, or —N(R16)2.

### Claim 14 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)

The compound of any one of claims 1-13, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein each R11 is independently hydrogen or fluoro.

### Claim 15 (depends on 1)

The compound of claim 1 having a structure of Formula (IV):
or a pharmaceutically acceptable salt, tautomer, or solvate thereof.

### Claim 16 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)

The compound of any one of claims 1-15, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein Ring A is an unsubstituted or substituted 6-membered heteroaryl ring wherein A1 and A2 are independently N or C, wherein if Ring A is substituted then Ring A is substituted with p instances of R8.

### Claim 17 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)

The compound of any one of claims 1-16, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein Ring A is an unsubstituted or substituted pyridine, unsubstituted or substituted pyridazine, unsubstituted or substituted pyrimidine, unsubstituted or substituted pyrazine, unsubstituted or substituted triazine, or unsubstituted or substituted pyridone, wherein if Ring A is substituted then Ring A is substituted with p instances of R8.

### Claim 18 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)

The compound of any one of claims 1-17, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein Ring A is an unsubstituted or substituted pyridine, unsubstituted or substituted pyrimidine, unsubstituted or substituted pyrazine, or unsubstituted or substituted pyridone, wherein if Ring A is substituted then Ring A is substituted with p instances of R8.

### Claim 19 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)

The compound of any one of claims 1-18, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein Ring A is an unsubstituted or substituted pyridone; wherein if Ring A is substituted then Ring A is substituted with p instances of R8.

### Claim 20 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)

The compound of any one of claims 1-18, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein Ring A is an unsubstituted or substituted pyridine, or unsubstituted or substituted pyrimidine, wherein if Ring A is substituted then Ring A is substituted with p instances of R8.

### Claim 21 (depends on 1)

The compound of claim 1 having a structure of Formula (VI):
or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein:
(i) A1 and A2 are each C; and A6, A7, A8, and A9 are each independently CR8 or N;
(ii) A1 is N; A2 is C; A6, A7, and A8 are each independently CR8 or N; and A9 is C(═O);
(iii) A1 is C; A2 is N; A6 is C(═O); and A7, A8, and A9 are each independently CR8 or N; or
(iv) A1 and A2 are each C; one of A6, A7, A8, and A9 is NR8, wherein A6, A7, A8, or A9 adjacent to the NR8 is C(═O) and the remaining members of A6, A7, A8, and A9 are each independently CR8 or N.

### Claim 22 (depends on 21)

The compound of claim 21, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein:
A1 is C; A2 is C; A6 is N; A7 is CR8; A8 is CR8, and A9 is CR8,
or A1 is C; A2 is C; A6 is CR8; A7 is N; A8 is CR8; and A9 is CR8,
or A1 is C; A2 is C; A6 is CR8; A1 is CR8; A8 is N; and A9 is CR8,
or A1 is C; A2 is C; A6 is CR8, A7 is CR8; A8 is CR8, and A9 is N;
or A1 is N; A2 is C; A6 is CR8; A7 is CR8, A8 is CR8; and A9 is C(═O);
or A1 is C; A2 is N; A6 is C(═O); A7 is CR8; A8 is CR8; and A9 is CR8;
or A1 is C; A2 is C; A6 is NR8; A7 is C(═O); A8 is CR8; and A9 is CR8,
or A1 is C; A2 is C; A6 is C(═O); A7 is NR8; A8 is CR8; and A9 is CR8;
or A1 is C; A2 is C; A6 is CR8; A7 is NR8, A8 is C(═O); and A9 is CR8;
or A1 is C; A2 is C; A6 is CR8; A1 is C(═O); A8 is NR8; and A9 is CR8;
or A1 is C; A2 is C; A6 is CR8; A1 is CR8; A8 is NR8; and A9 is C(═O);
or A1 is C; A2 is C; A6 is CR8; A7 is CR8; A8 is C(═O); and A9 is NR8;
or A1 is C; A2 is C; A6 is N; A7 is N; A8 is CR8; and A9 is CR8;
or A1 is C; A2 is C; A6 is N; A7 is CR8; A8 is N; and A9 is CR8;
or A1 is C; A2 is C; A6 is N; A7 is CR8; A8 is CR8; and A9 is N;
or A1 is C; A2 is C; A6 is CR8; A7 is N; A8 is N; and A9 is CR8;
or A1 is C; A2 is C; A6 is CR8; A7 is N; A8 is CR8, and A9 is N;
or A1 is C; A2 is C; A6 is CR8; A7 is CR8; A8 is N; and A9 is N.

### Claim 23 (depends on 21)

The compound of claim 21, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein:
A1 is C; A2 is C; A6 is N; A7 is CR8; A8 is CR8; and A9 is CR8;
or A1 is C; A2 is C; A6 is N; A7 is CR8; A8 is N; and A9 is CR8;
or A1 is C; A2 is C; A6 is N; A7 is CR8; A8 is CR8; and A9 is N;
or A1 is C; A2 is C; A6 is C(═O); A7 is NR8; A8 is CR8; and A9 is CR8.

### Claim 24 (depends on 21)

The compound of claim 21 having a structure of Formula (VIa):
or a pharmaceutically acceptable salt, tautomer, or solvate thereof; wherein A8 is CR8 or N.

### Claim 25 (depends on 21)

The compound of claim 21 having a structure of Formula (VIb) or Formula (VIc):
or a pharmaceutically acceptable salt, tautomer, or solvate thereof.

### Claim 26 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25)

The compound of any one of claims 1-25, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein each R8 is independently hydrogen, halogen, unsubstituted or substituted C1-C6 alkyl, unsubstituted or substituted C1-C6 deuteroalkyl, unsubstituted or substituted C1-C6 fluoroalkyl, unsubstituted or substituted carbocycle, unsubstituted or substituted heterocycle, —CN, —OH, —OR17, —C(═O)R16, —CO2R16, or —C(═O)N(R16)2; wherein if R8 is attached to a nitrogen atom, then R8 is hydrogen, unsubstituted or substituted C1-C6 alkyl, unsubstituted or substituted C1-C6 deuteroalkyl, unsubstituted or substituted C1-C6 fluoroalkyl, unsubstituted or substituted carbocycle, unsubstituted or substituted heterocycle, —C(═O)R16, —CO2R16, or —C(═O)N(R16)2.

### Claim 27 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26)

The compound of any one of claims 1-26, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein each R8 is independently hydrogen, —C1, —F, methyl, ethyl, isopropyl, —CD3, —CH2OH, —CF3, cyclopropyl, oxetanyl, azetidinyl, —CN, —OH, —CO2H, or —CO2CH3; wherein if R8 is attached to a nitrogen atom, then R8 is hydrogen, methyl, ethyl, isopropyl, —CD3, —CH2OH, —CF3, cyclopropyl, oxetanyl, azetidinyl, —CO2H, or —CO2CH3.

### Claim 28 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27)

The compound of any one of claims 1-27, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein each R8 is independently hydrogen, methyl, —CD3, —OH, —CH2OH, —CF3, oxetanyl, —CN, or —CO2CH3; wherein if R8 is attached to a nitrogen atom, then R8 is hydrogen, methyl, —CD3, —CH2OH, oxetanyl, or —CO2CH3.

### Claim 29 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)

The compound of any one of claims 1-28, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein each R6 and R7 is independently hydrogen, deuterium, halogen, C1-C4 alkyl, or C1-C4 deuteroalkyl.

### Claim 30 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29)

The compound of any one of claims 1-29, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein each R6 and R7 is independently hydrogen, deuterium, F, or methyl.

### Claim 31 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30)

The compound of any one of claims 1-30, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein Z is —NR10—, —O—, or —SO2—.

### Claim 32 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31)

The compound of any one of claims 1-31, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein Z is —NR10— or —O—.

### Claim 33 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32)

The compound of any one of claims 1-32, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein Z is —NR10—.

### Claim 34 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33)

The compound of any one of claims 1-33, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein R10 is hydrogen, C1-C4 alkyl, C1-C4 deuteroalkyl, or cyclopropyl.

### Claim 35 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32)

The compound of any one of claims 1-32, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein Z is —O—.

### Claim 36 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35)

The compound of any one of claims 1-35, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein R2 is a Ring B that is an unsubstituted or substituted heterocycle or unsubstituted or substituted carbocycle, wherein if Ring B is substituted then Ring B is substituted with q instances of R13.

### Claim 37 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36)

The compound of any one of claims 1-36, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein:
R2 is a Ring B that is an unsubstituted or substituted monocyclic carbocycle, unsubstituted or substituted bicyclic carbocycle, unsubstituted or substituted monocyclic heterocycle, or unsubstituted or substituted bicyclic heterocycle, wherein if Ring B is substituted then Ring B is substituted with q instances of R13.

### Claim 38 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37)

The compound of any one of claims 1-37, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein:
R2 is a Ring B that is an unsubstituted or substituted phenyl, unsubstituted or substituted monocyclic 6-membered heteroaryl, or unsubstituted or substituted monocyclic 5-membered heteroaryl, wherein if Ring B is substituted then Ring B is substituted with q instances of R13.

### Claim 39 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38)

The compound of any one of claims 1-38, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein:
R2 is a Ring B that is an unsubstituted or substituted phenyl or unsubstituted or substituted monocyclic 6-membered heteroaryl, wherein if Ring B is substituted then Ring B is substituted with q instances of R13.

### Claim 40 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39)

The compound of any one of claims 1-39, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein:
R2 is a Ring B that is an unsubstituted or substituted phenyl, unsubstituted or substituted pyridinyl, unsubstituted or substituted pyrimidinyl, unsubstituted or substituted pyrazinyl, or unsubstituted or substituted pyridazinyl, wherein if Ring B is substituted then Ring B is substituted with q instances of R13.

### Claim 41 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40)

The compound of any one of claims 1-40, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein:
R2 is a Ring B that is an unsubstituted or substituted pyridinyl or unsubstituted or substituted pyrimidinyl, wherein if Ring B is substituted then Ring B is substituted with q instances of R13.

### Claim 42 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41)

The compound of any one of claims 1-41, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein:
R2 is a Ring B that is an unsubstituted or substituted pyridinyl, wherein if Ring B is substituted then Ring B is substituted with q instances of R13.

### Claim 43 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39)

The compound of any one of claims 1-39, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein:
R2 is
and q is 0, 1, 2, 3, or 4.

### Claim 44 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39)

The compound of any one of claims 1-39, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein:
Ring B is
and q is 0, 1, 2, 3, or 4.

### Claim 45 (depends on 1)

The compound of claim 1 having a structure of Formula (VIII):
or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein:
V is N, CH, or CR13;
q is 1, 2, 3, or 4;
A1 and A2 are each C; and
A6, A7, A8, and A9 are each independently CR8 or N.

### Claim 46 (depends on 45)

The compound of claim 45 having a structure of Formula (VIIIa):
or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein A8 is CR8 or N.

### Claim 47 (depends on 45, 46)

The compound of any one of claims 45-46, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein V is N.

### Claim 48 (depends on 45, 46)

The compound of any one of claims 45-46, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein V is CH or CR13.

### Claim 49 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48)

The compound of any one of claims 1-48, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein each R13 is independently halogen, unsubstituted or substituted C1-C6 alkyl, unsubstituted or substituted C1-C6 fluoroalkyl, unsubstituted or substituted carbocycle, unsubstituted or substituted heterocycle, —CN, —OH, —OR17, —C(═O)R16, —CO2R16, —C(═O)N(R16)2, —N(R16)2, —NR16C(═O)R17, —SO2R17, or —SO2N(R16)2.

### Claim 50 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49)

The compound of any one of claims 1-49, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein each R13 is independently —F, —Cl, —CH3, or —CF3.

### Claim 51 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35)

The compound of any one of claims 1-35, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein R2 is —C(═O)R14, —C(═O)NR14R15, or —C(═O)OR14.

### Claim 52 (depends on 51)

The compound of claim 51, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein R2 is —C(═O)R14.

### Claim 53 (depends on 51)

The compound of claim 51, having a structure of Formula (IX):
or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein:
A1 and A2 are each C; and
each of A6, A7, A8, and A9 are independently CR8 or N.

### Claim 54 (depends on 53)

The compound of claim 53, having a structure of Formula (IXa):
or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein A8 is CR8 or N.

### Claim 55 (depends on 51, 52, 53, 54)

The compound of any one of claims 51-54, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein R14 is unsubstituted or substituted C1-C6 alkyl, unsubstituted or substituted C3-C4 cycloalkyl, or unsubstituted or substituted 4-membered heterocycloalkyl; wherein the substituted alkyl, substituted heteroalkyl, substituted cycloalkyl, or substituted heterocycloalkyl is substituted with one or more Rs groups independently selected from the group consisting of deuterium, halogen, —CN, —NH2, —OH, —NH(CH3), —N(CH3)2, —CH3, —CH2CH3, —CHF2, —CF3, —OCH3, —OCHF2, and —OCF3.

### Claim 56 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55)

The compound of any one of claims 1-55, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein:
B1 is CR12a, and B2 is CR12b;
or B1 is N; and B2 is CR12b;
or B1 is CR12a, and B2 is N;
or B1 is N; and B2 is N.

### Claim 57 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56)

The compound of any one of claims 1-56, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein:
B1 is CR12a, and B2 is CR12b;
or B1 is N; and B2 is CR12b.

### Claim 58 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57)

The compound of any one of claims 1-57, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein R12a and R12b are each independently hydrogen, halogen, C1-C4 alkyl, C1-C4 fluoroalkyl, or —CN.

### Claim 59 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58)

The compound of any one of claims 1-58, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, wherein R12a and R12b are each hydrogen.

### Claim 60

A compound selected from:
1: 6-(cyclopropanecarboxamido)-N-(methyl-d3)-4-((6-methyl-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl)amino)pyridazine-3-carboxamide;
2: 6-((5-fluoropyridin-2-yl)amino)-N-(methyl-d3)-4-((6-methyl-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl)amino)pyridazine-3-carboxamide; and
3: 6-(cyclopropanecarboxamido)-N-(methyl-d3)-4-((6-methyl-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl)amino)nicotinamide;
4: 6-(cyclopropanecarboxamido)-N-(methyl-d3)-4-((6-methyl-5,6-dihydropyrimido[5,4-c]quinolin-7-yl)amino)nicotinamide;
5: 6-(cyclopropanecarboxamido)-4-((3-fluoro-6-methyl-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl)amino)-N-(methyl-d3)nicotinamide;
6: 6-(cyclopropanecarboxamido)-N-(methyl-d3)-4-((6-methyl-5,6-dihydropyrimido[5,4-c]quinolin-7-yl)amino)pyridazine-3-carboxamide;
7: 6-(cyclopropanecarboxamido)-4-((3-fluoro-6-methyl-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl)amino)-N-(methyl-d3)pyridazine-3-carboxamide;
8: 6-(cyclopropanecarboxamido)-N-(methyl-d3)-4-((6-methyl-5,6-dihydropyrazino[2,3-c]quinolin-7-yl)amino)nicotinamide;
9: 6-(cyclopropanecarboxamido)-4-((2,6-dimethyl-1-oxo-1,2,5,6-tetrahydrobenzo[c][2,6]naphthyridin-7-yl)amino)-N-(methyl-d3)nicotinamide;
10: 6-(cyclopropanecarboxamido)-N-(methyl-d3)-4-((6-methyl-5,6-dihydropyrazino[2,3-c]quinolin-7-yl)amino)pyridazine-3-carboxamide;
11: 6-(cyclopropanecarboxamido)-4-((2,6-dimethyl-1-oxo-1,2,5,6-tetrahydrobenzo[c][2,6]naphthyridin-7-yl)amino)-N-(methyl-d3)pyridazine-3-carboxamide;
12: 4-((3-cyano-6-methyl-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl)amino)-6-(cyclopropanecarboxamido)-N-(methyl-d3)nicotinamide;
13: 4-((3-cyano-6-methyl-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl)amino)-6-(cyclopropanecarboxamido)-N-(methyl-d3)pyridazine-3-carboxamide;
14: 6-(cyclopropanecarboxamido)-N-(methyl-d3)-4-((6-methyl-5,6-dihydropyrazino[2,3-c][1,7]naphthyridin-7-yl)amino)nicotinamide;
15: 6-(cyclopropanecarboxamido)-N-methyl-4-((6-methyl-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl)amino)nicotinamide;
16: 6-(cyclopropanecarboxamido)-N-(methyl-d3)-4-((6-methyl-5,6-dihydropyrazino[2,3-c]quinolin-7-yl)amino)pyridazine-3-carboxamide;
17: 6-(cyclopropanecarboxamido)-N-(methyl-d3)-4-((6-(methyl-d3)-5,6-dihydropyrazino[2,3-c]quinolin-7-yl)amino)nicotinamide;
18: 6-(cyclopropanecarboxamido)-N-(methyl-d3)-4-((6-(methyl-d3)-5,6-dihydropyrazino[2,3-c]quinolin-7-yl)amino)pyridazine-3-carboxamide;
19: 6-(cyclopropanecarboxamido)-N-(methyl-d3)-4-((6-methyl-5,6-dihydropyrido[3,4-h][1,6]naphthyridin-7-yl)amino)nicotinamide;
20: 6-(cyclopropanecarboxamido)-N-(methyl-d3)-4-((6-methyl-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl-5,5-d2)amino)nicotinamide;
21: 6-(cyclopropanecarboxamido)-4-((3-fluoro-6-methyl-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl-5,5-d2)amino)-N-(methyl-d3)pyridazine-3-carboxamide;
22: 6-(cyclopropanecarboxamido)-4-((3-fluoro-6-methyl-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl-5,5-d2)amino)-N-(methyl-d3)nicotinamide;
23: 6-(cyclopropanecarboxamido)-4-((2,6-dimethyl-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl-5,5-d2)amino)-N-(methyl-d3)pyridazine-3-carboxamide;
24: 6-(cyclopropanecarboxamido)-4-((2,6-dimethyl-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl-5,5-d2)amino)-N-(methyl-d3)nicotinamide;
25: 6-(cyclopropanecarboxamido)-N-(methyl-d3)-4-((6-methyl-2-(trifluoromethyl)-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl-5,5-d2)amino)nicotinamide;
26: 6-(cyclopropanecarboxamido)-N-(methyl-d3)-4-((6-methyl-2-(trifluoromethyl)-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl-5,5-d2)amino)pyridazine-3-carboxamide;
27: 6-(cyclopropanecarboxamido)-4-((2,6-dimethyl-1-oxo-1,2,5,6-tetrahydropyridazino[4,5-c]quinolin-7-yl)amino)-N-(methyl-d3)pyridazine-3-carboxamide;
28: 6-(cyclopropanecarboxamido)-4-((2,6-dimethyl-1-oxo-1,2,5,6-tetrahydropyridazino[4,5-c]quinolin-7-yl)amino)-N-(methyl-d3)nicotinamide;
29: 6-(cyclopropanecarboxamido)-N-methyl-4-((6-methyl-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl)amino)pyridazine-3-carboxamide;
30: 6-(cyclopropanecarboxamido)-N-methyl-4-((6-methyl-5,6-dihydropyrazino[2,3-c]quinolin-7-yl)amino)nicotinamide;
31: 6-(cyclopropanecarboxamido)-4-((10-fluoro-5-methyl-5,6-dihydrophenanthridin-4-yl)amino)-N-(methyl-d3)pyridazine-3-carboxamide;
32: (R)-6-(cyclopropanecarboxamido)-4-((5,6-dimethyl-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl)amino)-N-(methyl-d3)pyridazine-3-carboxamide; and
33: (S)-6-(cyclopropanecarboxamido)-4-((5,6-dimethyl-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl)amino)-N-(methyl-d3)pyridazine-3-carboxamide;
or a pharmaceutically acceptable salt, tautomer, or solvate thereof.

### Claim 61 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60)

A pharmaceutical composition comprising the compound of any one of claims 1-60, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, and a pharmaceutically acceptable excipient.

### Claim 62 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60)

A method of treating a TYK2-mediated disease or condition in a patient in need thereof, comprising administering to the patient a therapeutically effective amount of a compound of any one of claims 1-60, or a pharmaceutically acceptable salt, tautomer, or solvate thereof.

### Claim 63 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60)

A method of treating an inflammatory disease or condition or autoimmune disease or condition in a patient in need thereof, comprising administering to the patient a therapeutically effective amount of a compound of any one of claims 1-60, or a pharmaceutically acceptable salt, tautomer, or solvate thereof.

### Claim 64 (depends on 62, 63)

The method of claim 62 or claim 63, wherein the disease or condition is selected from rheumatoid arthritis, multiple sclerosis, psoriasis, psoriatic arthritis, lupus, systemic lupus erythematosus, Sjögren's syndrome, ankylosing spondylitis, vitiligo, atopic dermatitis, scleroderma, alopecia, hidradenitis suppurativa, uveitis, dry eye, intestinal bowel disease, Crohn's disease, ulcerative colitis, celiac disease, Bechet's disease, type 1 diabetes, systemic sclerosis, and idiopathic pulmonary fibrosis.

### Claim 65 (depends on 62, 63, 64)

The method of any one of claims 62-64, wherein the compound is administered topically.

### Claim 66 (depends on 65)

The method of claim 65, wherein the compound is provided in a gel, cream, ointment, liquid, or transdermal patch.

### Claim 67 (depends on 62, 63, 64)

The method of any one of claims 62-64, wherein the compound is administered by ophthalmic administration.

### Claim 68 (depends on 67)

The method of claim 67, wherein the compound is provided in a liquid solution, suspension, gel, depot, or other preparation that can be administered to the eye or surrounding tissue (e.g., eye drops).

### Claim 69

A compound selected from:
3: 6-(cyclopropanecarboxamido)-N-(methyl-d3)-4-((6-methyl-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl)amino)nicotinamide;
15: 6-(cyclopropanecarboxamido)-N-methyl-4-((6-methyl-5,6-dihydrobenzo[h][1,6]naphthyridin-7-yl)amino)nicotinamide;
34: 6-(cyclopropanecarboxamido)-4-((2,5-dimethyl-4,5-dihydro-2H-pyrazolo[4,3-c]quinolin-6-yl)amino)-N-methylpyridazine-3-carboxamide;
35: 4-((2,5-dimethyl-4,5-dihydro-2H-pyrazolo[4,3-c]quinolin-6-yl)amino)-6-((5-fluoropyridin-2-yl)amino)-N-methylnicotinamide;
36: 4-((2,5-dimethyl-4,5-dihydro-2H-pyrazolo[4,3-c]quinolin-6-yl)amino)-6-((2,6-dimethylpyrimidin-4-yl)amino)-N-methylnicotinamide;
37: 6-(cyclopropanecarboxamido)-4-((2,5-dimethyl-4,5-dihydro-2H-[1,2,3]triazolo[4,5-c]quinolin-6-yl)amino)-N-methylnicotinamide; and
38: 6-(cyclopropanecarboxamido)-4-((2,5-dimethyl-4,5-dihydropyrazolo[1,5-a]quinoxalin-6-yl)amino)-N-methylpyridazine-3-carboxamide;
or a pharmaceutically acceptable salt, tautomer, or solvate thereof.

### Claim 70 (depends on 69)

A pharmaceutical composition comprising the compound of claim 69, or a pharmaceutically acceptable salt, tautomer, or solvate thereof, and a pharmaceutically acceptable excipient.

### Claim 71 (depends on 69)

A method of treating a TYK2-mediated disease or condition in a patient in need thereof, comprising administering to the patient a therapeutically effective amount of a compound of claim 69, or a pharmaceutically acceptable salt, tautomer, or solvate thereof.

### Claim 72 (depends on 69)

A method of treating an inflammatory disease or condition or autoimmune disease or condition in a patient in need thereof, comprising administering to the patient a therapeutically effective amount of a compound of claim 69, or a pharmaceutically acceptable salt, tautomer, or solvate thereof.

### Claim 73 (depends on 71, 72)

The method of claim 71 or claim 72, wherein the disease or condition is selected from rheumatoid arthritis, multiple sclerosis, psoriasis, psoriatic arthritis, lupus, systemic lupus erythematosus, Sjögren's syndrome, ankylosing spondylitis, vitiligo, atopic dermatitis, scleroderma, alopecia, hidradenitis suppurativa, uveitis, dry eye, intestinal bowel disease, Crohn's disease, ulcerative colitis, celiac disease, Bechet's disease, type 1 diabetes, systemic sclerosis, and idiopathic pulmonary fibrosis.

### Claim 74 (depends on 71, 72, 73)

The method of any one of claims 71-73, wherein the compound is administered topically.

### Claim 75 (depends on 74)

The method of claim 74, wherein the compound is provided in a gel, cream, ointment, liquid, or transdermal patch.

### Claim 76 (depends on 71, 72, 73)

The method of any one of claims 71-73, wherein the compound is administered by ophthalmic administration.

### Claim 77 (depends on 76)

The method of claim 76, wherein the compound is provided in a liquid solution, suspension, gel, depot, or other preparation that can be administered to the eye or surrounding tissue (e.g., eye drops).
