Benzoazepine analogs as inhibiting agents for Bruton's tyrosine kinase
Patent Information
- Application Number
- AU2024204241
- Authority / Receiving Office
- AU · AU
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2026-09-03
AI Technical Summary
There is a significant need for effective inhibitors of Bruton’s tyrosine kinase (Btk) to address autoimmune disorders and related immunological conditions, as current solutions are inadequate in modulating Btk activity effectively.
Development of specific compounds, represented by Formula (I) and its pharmaceutically acceptable salts, which act as Btk inhibitors by modulating the enzyme’s activity, thereby treating disorders responsive to Btk inhibition.
The compounds effectively inhibit Btk, providing a therapeutic option for autoimmune disorders by modulating Btk activity, thus addressing the current inadequacies in existing treatments.
Smart Images

Figure 00000189_0000 
Figure 00000190_0000 
Figure 00000191_0000
Abstract
Description
RELATED APPLICATIONS This application claims the benefit of the filing date, under 35 U.S.C. § 119(e), of U.S. Provisional Application No. 62 / 485,745, filed on April 14, 2017, the entire contents of 5 which are incorporated herein by reference. TECHNICAL FIELD Provided are certain agents that inhibit Bruton’s tyrosine kinase (Btk), and methods of making and using such agents. 0 BACKGROUND Protein kinases are a large multigene family consisting of more than 500 proteins which play a critical role in the development and treatment of a number of human diseases in oncology, neurology and immunology. The Tec kinases are non-receptor tyrosine kinases which consists of five members (Tec (tyrosine kinase expressed in hepatocellular carcinoma), Btk (Bruton's 5 tyrosine kinase), Itk (interleukin-2 (IL-2)-inducible T-cell kinase; also known as Emt or Tsk), Rik (resting lymphocyte kinase; also known as Txk) and Bmx (bone -marrow tyrosine kinase gene on chromosome X; also known as Etk)) and are primarily expressed in haematopoietic cells, although expression of Bmx and Tec has been detected in endothelial and liver cells. Tec kinases (Itk, Rik and Tec) are expressed in T cell and are all activated downstream of the T-cell 20 receptor (TCR). Btk is a downstream mediator of B cell receptor (BCR) signaling which is involved in regulating B cell activation, proliferation, and differentiation. More specifically, Btk contains a PH domain that binds phosphatidylinositol (3,4,5)-trisphosphate (PIP3). PIP3 binding induces Btk to phosphorylate phospholipase C (PLCy), which in turn hydrolyzes PIP2 to produce two secondary messengers, inositol triphosphate (IP3) and diacylglycerol (DAG), which activate 25 protein kinase PKC, which then induces additional B-cell signaling. Mutations that disable Btk enzymatic activity result in XLA syndrome (X-linked agammaglobulinemia), a primary immunodeficiency. Given the critical roles which Tec kinases play in both B-cell and T-cell signaling, Tec kinases are targets of interest for autoimmune disorders. Consequently, there is a great need in the art for effective inhibitors of Btk. 30 This data, for application number 2022218560, is current as of 2024-06-19 22:25 AEST 20222m6(D ug 2022 SUMMARY A first embodiment of the invention is a compound of Formula (I): R6 Formula (I) 5 or a pharmaceutically acceptable salt, wherein: Ring A is 5-membered monocyclic heteroaryl containing 3 heteroatoms independently selected from N, O and S, wherein said 5-membered monocyclic heteroaryl is optionally substituted with one or more R1; 1 2 3 2 3 Q\ Q . and Q are each, independently, selected from O, N(R ), and CH-R , wherein at least 0 two of Q1, Q2, and Q3 are C-R3; W is selected from CH and N; Y is selected from CH and N; R1 in each occurrence is independently selected from Ci-ealkyl and 3- to 5-membered carbocyclyl, wherein said Ci-ealkyl and 3- to 5-membered carbocyclyl are optionally substituted 15 with one or more R10; R10 in each occurrence is independently selected from halo, -CN, Ci-ealkyl, and 3- to 5membered carbocyclyl; R is selected from H, Ci-ealkyl, C2-ealkenyl, C2-ealkynyl, 4- to 6-membered monocyclic carbocyclyl, 4- to 6-membered monocyclic heterocyclyl, -CN, -C(O)R2a, -C(O)2R2a, - 20 C(O)N(R2a)2, -S(O)2R2a, and -S(O)2N(R2a)2, wherein said Ci.6alkyl, C2.6alkenyl, C2.6alkynyl, 4- to 6-membered monocyclic carbocyclyl, and 4- to 6-membered monocyclic heterocyclyl are optionally substituted with one or more R ; R2a in each occurrence is independently selected from H, Ci-ealkyl, C2-ealkenyl, C2-ealkynyl, 4- to 6-membered monocyclic carbocyclyl, and 4- to 6-membered monocyclic heterocyclyl, 25 wherein said Ci.ealkyl, C2-ealkenyl, C2-ealkynyl, 4- to 6-membered monocyclic carbocyclyl, and 20222(0826(1) ug 2022 4- to 6-membered monocyclic heterocyclyl in each occurrence are optionally and independently 20 substituted with one or more R ; R in each occurrence is independently selected from Ci.6alkyl, C2-6alkenyl, C2-6alkynyl, 4-to 6-membered monocyclic carbocyclyl, 4- to 6-membered monocyclic heterocyclyl, halo, -CN, - 5 C(O)R20a, -C(O)2R20a, -C(O)N(R20a)2, -N(R20a)2, -N(R20a)C(O)R20a, -N(R20a)C(O)2R20a, - N(R20a)C(O)N(R20a)2, -N(R20a)S(O)2R20a, -OR20a, -OC(O)R20a, -OC(O)N(R20a)2, -SR20a, -S(O)R20a, -S(O)2R20a, -S(O)N(R20a)2, and -S(O)2N(R20a)2; R20a in each occurrence is independently selected from H, Ci-ealkyl, C2.6alkenyl, C2.6alkynyl, 4- to 6-membered monocyclic carbocyclyl, and 4- to 6-membered monocyclic heterocyclyl; a 0 R is selected from H, Ci-ealkyl, C2.6alkenyl, C2.6alkynyl, 4- to 6-membered monocyclic carbocyclyl, 4- to 6-membered monocyclic heterocyclyl, halo, -CN, -C(O)R3a, -C(O)2R3a, -C(O)N(R3a)2, -N(R3a)2, -N(R3a)C(O)R3a, -N(R3a)C(O)2R3a, -N(R3a)C(O)N(R3a)2, -N(R3a)S(O)2R3a, -OR3a, -OC(O)R3a, -OC(O)N(R3a)2, -SR3a, -S(O)R3a, -S(O)2R3a, -S(O)N(R3a)2, and -S(O)2N(R3a)2, wherein said Ci.ealkyl, C2.ealkenyl, C2.ealkynyl, 4- to 6-membered monocyclic carbocyclyl, and 5 4- to 6-membered monocyclic heterocyclyl are optionally substituted with one or more R ; R3a in each occurrence is independently selected from H, Ci-ealkyl, C2.ealkenyl, C2.ealkynyl, 4- to 6-membered monocyclic carbocyclyl, and 4- to 6-membered monocyclic heterocyclyl, wherein said Ci.ealkyl, C2.6alkenyl, C2.6alkynyl, 4- to 6-membered monocyclic carbocyclyl, and 4- to 6-membered monocyclic heterocyclyl in each occurrence are optionally and independently 0 substituted with one or more R ; R in each occurrence is independently selected from Ci-ealkyl, C2.6alkenyl, C2.6alkynyl, 4-to 6-membered monocyclic carbocyclyl, 4- to 6-membered monocyclic heterocyclyl, halo, -CN, -C(O)R30a, -C(O)2R30a, -C(O)N(R30a)2, -N(R30a)2, -N(R30a)C(O)R30a, -N(R30a)C(O)2R30a, -N(R30a)C(O)N(R30a)2, -N(R30a)S(O)2R30a, -OR30a, -OC(O)R30a, -OC(O)N(R30a)2, -SR30a, - 25 S(O)R30a, -S(O)2R30a, -S(O)N(R30a)2, and -S(O)2N(R30a)2; R30a in each occurrence is independently selected from H, Ci-ealkyl, C2.6alkenyl, C2.6alkynyl, 4- to 6-membered monocyclic carbocyclyl, and 4- to 6-membered monocyclic heterocyclyl; R4 is selected from H and Ci-ealkyl, wherein said Ci-ealkyl is optionally substituted with one or more halo; 30 R5 is selected from H and Ci-ealkyl wherein said Ci-ealkyl is optionally substituted with one or more halo; R6 is selected from H and Ci-ealkyl, wherein said Ci-ealkyl is optionally substituted with one or more halo; 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 or R5 and R6, together with the atoms to which they are attached, form a ring containing one or two heteroatoms selected from O, N, and S, wherein the ring is optionally substituted with one or more R50; and R50 is Ci.6alkyl. 5 The present invention also provides a pharmaceutical composition comprising at least one compound described herein, or a pharmaceutically acceptable salt thereof, and at least one pharmaceutically acceptable excipient. In one embodiment, the invention is a method of treating a disorder responsive to inhibition of Btk in a subject comprising administering to said subject an effective amount of at 0 least one compound described herein, or a pharmaceutically acceptable salt thereof. The present invention also includes the use of at least one compound described herein, or a pharmaceutically acceptable salt thereof, for the manufacture of a medicament for the treatment of a disorder responsive to inhibition of Btk. Also provided is a compound described herein, or a pharmaceutically acceptable salt thereof for use in treating a disorder responsive to inhibition of 5 Btk. Other features or advantages will be apparent from the following detailed description of several embodiments, and also from the appended claims. BRIEF DESCRIPTION OF THE FIGURES FIG. 1 depicts an powder X-ray diffraction (PXRD) pattern of crystalline Form A of (R)- 0 l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)- 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide. FIG. 2 depicts differential scanning calorimetry (DSC) and thermal gravimetric analysis (TGA) profiles of crystalline Form A of (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-1,2,3-25 triazole-4-carboxamide. FIG. 3A shows solution C NMR spectrum of crystalline Form A of (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide. FIG. 3B shows solid state NMR spectrum of crystalline Form A. 30 FIG. 4 depicts an powder X-ray diffraction (PXRD) pattern of crystalline Form G of (R)- l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)- 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide. 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 FIG. 5 depicts differential scanning calorimetry (DSC) and thermal gravimetric analysis (TGA) profiles of crystalline Form G of (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-1,2,3-triazo le-4-carboxamide. 13 5 FIG. 6A shows solution C NMR spectrum of crystalline Form G of (R)-l-(tert-butyl)- N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro- 13 lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide. FIG. 6B shows solid state NMR spectrum of crystalline Form G. DETAILED DESCRIPTION 0 The compounds or pharmaceutically acceptable salts thereof as described herein, can have activity as Btk modulators. In particular, compounds or pharmaceutically acceptable salts thereof as described herein, can be Btk inhibitors. In a second embodiment of the present invention, the compound is represented by formula (I), or a pharmaceutically acceptable salt thereof, wherein Q , Q and Q are each a 5 independently CH-R and the definitions for the other variables are as defined in the first embodiment. In a third embodiment of the present invention, the compound is represented by formula 2 2 1 3 (I), or a pharmaceutically acceptable salt thereof, wherein Q is N(R ), Q and Q are each a independently CH-R , and the definitions for the other variables are as defined in the first 0 embodiment. In a fourth embodiment of the present invention, the compound is represented by formula 3 2 1 2 (I), or a pharmaceutically acceptable salt thereof, wherein Q is N(R ), Q and Q are each a independently CH-R , and the definitions for the other variables are as defined in the first embodiment. 25 In a fifth embodiment of the present invention, the compound is represented by formula (I), or a pharmaceutically acceptable salt thereof, wherein Q is O, Q and Q are each a independently CH-R ; and the definitions for the other variables are as defined in the first embodiment. In a sixth embodiment of the present invention, the compound is represented by formula 30 (I), or a pharmaceutically acceptable salt thereof, W is CH; and the definitions for the other variables are as defined in the first, second, third, fourth or fifth embodiment. 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 In a seventh embodiment of the present invention, the compound is represented by formula (I), or a pharmaceutically acceptable salt thereof, wherein Y is N; and the definitions for the other variables are as defined in the first, second, third, fourth, fifth or sixth embodiment. In an eighth embodiment of the present invention, the compound of the present invention 5 is represented by any one of the following formulas: 20222(0826(1) ug 2022 or a pharmaceutically acceptable salt thereof; and the definitions for the variables are as defined in the first embodiment. In a ninth embodiment of the present invention, the compound is represented by formula 5 (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt thereof, wherein ring A is selected from 1,2,3-oxadiazole, 1,3,4-oxadiazole, 1,2,4-oxadizole, 1,2,3-thiadiazole, 1,3,4-thiadiazole, 1,2,4-thiadiazole, 1,2,3-triazole, and 1,2,4-triazole, each of which is optionally substituted with one or two R1; and the definitions for the other variables are as defined in the first, second, third, fourth, fifth, sixth, seventh or eighth embodiment. 0 In a tenth embodiment of the present invention, the compounds is represented by formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt thereof, wherein ring A is represented by one of the following formula: and the definitions for the other variables are as defined in the first, second, third, fourth, fifth, 15 sixth, seventh or eighth embodiment. In a eleventh embodiment of the present invention, the compound is represented by formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt thereof, wherein: R1 in each occurrence is independently Ci-ealkyl or Cs-scycloalkyl; wherein said Ci-ealkyl 20 and Cs-scycloalkyl are optionally substituted with one to three R10; R10 in each occurrence is independently selected from halo, -CN and Ci.6alkyl; and the definitions for the other variables are as defined in the first, second, third, fourth, fifth, sixth, seventh, eighth, ninth or tenth embodiment. In a twelfth embodiment of the present invention, the compound is represented by 25 formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt thereof, wherein: 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 R1 in each occurrence is independently Ci^alkyl, cyclopropyl, or cyclo butyl; wherein said Ci^alkyl, cyclopropyl and cyclobutyl are optionally substituted with one to three R10; R10 in each occurrence is independently selected from halo, -CN and Ci-salkyl; and the definitions for the other variables are as defined in the first, second, third, fourth, fifth, 5 sixth, seventh, eighth, ninth or tenth embodiment. In a thirteenth embodiment of the present invention, the compound is represented by formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt thereof, wherein: R1 in each occurrence is independently selected from-C(CH3)3, -CH(CH3)2, 0 -C(CH3)2CHF2, -C(CH3)2CF3, -C(CH3)2CH2F -C(CH3)2CN, 1-methylcyclopropyl, cyclobutyl, and 3,3-difluorocyclobutyl; and the definitions for the other variables are as defined in the first, second, third, fourth, fifth, sixth, seventh, eighth, ninth or tenth embodiment. In a fourteenth embodiment of the present invention, the compound is represented by formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt 5 thereof, wherein R1 is -C(CH3)3; and the definitions for the other variables are as defined in the first, second, third, fourth, fifth, sixth, seventh, eighth, ninth or tenth embodiment. In a fifteenth embodiment of the present invention, the compound is represented by formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt thereof, wherein: 0 R is selected from H, Ci.6alkyl, C4-6cycloalkyl, saturated 4- to 6-membered monocyclic heterocyclyl, -C(O)R2a, -C(O)2R2a, and -S(O)2R2a, wherein said Ci-ealkyl, C4-6cycloalkyl, and saturated 4- to 6-membered monocyclic heterocyclyl are optionally substituted with one to three R20; R2a in each occurrence is independently selected from H, Ci-ealkyl, C4-6alkyl, and 25 saturated 4- to 6-membered monocyclic heterocyclyl, wherein said Ci.ealkyl, 4- to 6-membered monocyclic carbocyclyl, and saturated 4- to 6-membered monocyclic heterocyclyl in each occurrence are optionally and independently substituted with one or more R ; R in each occurrence is independently selected from Ci-ealkyl, C4-6cycloalkyl, saturated 4- to 6-membered monocyclic heterocyclyl, halo, -CN, -N(R20a)2, and -OR20a; 30 R20a in each occurrence is independently H or Ci.6alkyl; and the definitions for the other variables are as defined in the first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth, eleventh, twelfth, thirteenth or fourteen embodiment. In a sixteenth embodiment, the compound is represented by formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt thereof, wherein: 20222m6(D ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 2 R is selected from H, Ci-ealkyl, C^ecycloalkyl selected from cyclobutyl, cyclopentyl and cyclohexyl, saturated 4- to 6-membered monocyclic heterocyclyl selected from azetidinyl, oxetanyl, pyrrolidinyl, tetrahydrofuranyl, thiolanyl, imidazolidinyl, pyrazolidinyl, oxazolidinyl, isoxazolidinyl, thiazolidinyl, isothiazolidinyl, dioxolanyl, dithiolanyl, oxathiolanyl, piperidinyl, 5 tetrahydropyranyl, thianyl, piperazinyl, morpholinyl, thiomorpholiny 1, and dioxanyl, -C(O)R2a, -C(O)2R2a, and -S(O)2R2a, wherein said Ci.6alkyl, C^ecycloalkyl and saturated 4- to 6-membered monocyclic heterocyclyl are optionally substituted with one to three R ; R2a is Ci-ealkyl optionally and independently substituted with one to three R20; R in each occurrence is independently selected from Ci.3alkyl, cyclopropyl, cyclobutyl, 0 cyclopentyl, cyclohexyl, halo, -N(R20a)2, and -OR20a; R20a in each occurrence is independently H or Ci.3alkyl; and the definitions for the other variables are as defined in the first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth, eleventh, twelfth, thirteenth, fourteen or fifteenth embodiment. In a seventeenth embodiment of the present invention, the compound is represented by 5 formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt thereof, wherein: R is selected from H, Ci-ealkyl, cyclobutyl, cyclopentyl and cyclohexyl, oxetanyl, tetrahydrofuranyl, tetrahydropyranyl, -C(O)R2a, -C(O)2R2a, and -S(O)2R2a, wherein said Ci-ealkyl, cyclobutyl, cyclopentyl and cyclohexyl, oxetanyl, tetrahydrofuranyl, and 0 tetrahydropyranyl are optionally substituted with one to three R ; R2a is Ci-ealkyl optionally substituted with one R20; R in each occurrence is independently selected from Ci.3alkyl, cyclopropyl, cyclobutyl, cyclopentyl, cyclohexyl, halo, -N(R20a)2, and -OR20a; R20a in each occurrence is independently H or methyl; 25 the definitions for the other variables are as defined in the first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth, eleventh, twelfth, thirteenth, fourteen or fifteenth embodiment. In a eighteenth embodiment of the present invention, the compound is represented by formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt thereof, wherein R2 is selected from -H, -SO2CH3, -C(=O)OC(CH3)3, -C(=O)CH2N(CH3)2, -CH3, 30 -CH2CH3, -CH2CH2OH, -CH2CH2OCH3, -CH2CH2OCH2CH3, -CH2CH(CH3)OH, - CH2C(CH3)2OH, -CH2CH2CH2OH, -CH2CHF2, -CH2CF3, °\^, <0“^ and ; and the definitions for the other variables are as defined in the first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth, eleventh, twelfth, thirteenth, fourteen or fifteenth embodiment. 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 In a nineteenth embodiment of the present invention, the compound is represented by formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt thereof, wherein R2 is selected from -CH2CHF2, -CH2CF3, -CH2CH2OH, -CH2CH(CH3)OH, -CH2CH2OCH3, O0H and 5 In a twentieth embodiment of the present invention, the compound is represented by formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt thereof, wherein: a R is selected from H, Ci-ealkyl, C4-6cycloalkyl, saturated 4- to 6-membered monocyclic heterocyclyl, halo, -OR3a, -OC(O)R3a, -OC(O)N(R3a)2, and -SR3a, wherein said Ci.6alkyl, C4. 0 ecycloalkyl, and saturated 4- to 6-membered monocyclic heterocyclyl are optionally substituted with one to three R30; R3a in each occurrence is independently H or Ci.6alkyl, wherein said Ci-ealkyl in each occurrence is optionally and independently substituted with one R ; R in each occurrence is independently selected from Ci.6alkyl; 5 and the definitions for the other variables are as defined in the first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth, eleventh, twelfth, thirteenth, fourteen, fifteenth, seventeenth, eighteenth, or nineteenth embodiment. In a twenty-first embodiment of the present invention, the compound is represented by formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt 0 thereof, wherein R3 is selected from H, halo, and -OR3a; R3a is independently H or Ci.3alkyl; and the definitions for the other variables are as defined in the first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth, eleventh, twelfth, thirteenth, fourteen, fifteenth, seventeenth, eighteenth, or nineteenth embodiment. In a twenty-second embodiment of the present invention, the compound is represented by 25 formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt a thereof, wherein R is selected from H, -F and -OH; and the definitions for the other variables are as defined in the first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth, eleventh, twelfth, thirteenth, fourteen, fifteenth, seventeenth, eighteenth, or nineteenth embodiment. In a twenty-third embodiment of the present invention, the compound is represented by 30 formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt thereof, wherein R4 is H or Ci.3alkyl optionally substituted with one to three fluoro; and the definitions for the other variables are as defined in the first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth, eleventh, twelfth, thirteenth, fourteen, fifteenth, seventeenth, eighteenth, nineteenth, twentieth, twenty-first or twenty-second embodiment. 20222(0826(1) ug 2022 In a twenty-fourth embodiment of the present invention, the compound is represented by formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt thereof, wherein R4 is H or methyl; and the definitions for the other variables are as defined in the first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth, eleventh, twelfth, 5 thirteenth, fourteen, fifteenth, seventeenth, eighteenth, nineteenth, twentieth, twenty-first or twenty-second embodiment. In a twenty-fifth embodiment of the present invention, the compound is represented by formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt thereof, wherein R5 is H or Ci-salkyl optionally substituted with one to three fluoro; and the 0 definitions for the other variables are as defined in the first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth, eleventh, twelfth, thirteenth, fourteen, fifteenth, seventeenth, eighteenth, nineteenth, twentieth, twenty-first, twenty-second, twenty-third or twenty-fourth embodiment. In a twenty-sixth embodiment of the present invention, the compound is represented by 5 formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt thereof, wherein R5 is H, methyl, ethyl or isopropyl; and the definitions for the other variables are as defined in the first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth, eleventh, twelfth, thirteenth, fourteen, fifteenth, seventeenth, eighteenth, nineteenth, twentieth, twenty-first, twenty-second, twenty-third or twenty-fourth embodiment. 0 In a twenty-seventh embodiment of the present invention, the compound is represented by formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt thereof, wherein R6 is H or Ci-salkyl optionally substituted with one to three fluoro; and the definitions for the other variables are as defined in the first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth, eleventh, twelfth, thirteenth, fourteen, fifteenth, seventeenth, 25 eighteenth, nineteenth, twentieth, twenty-first, twenty-second, twenty-third, twenty-fourth, twenty-fifth or twenty-sixth embodiment. In a twenty-eighth embodiment of the present invention, the compound is represented by formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt thereof, wherein R6 is H, methyl or triflouromethyl; and the definitions for the other variables are 30 as defined in the first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth, eleventh, twelfth, thirteenth, fourteen, fifteenth, seventeenth, eighteenth, nineteenth, twentieth, twenty-first, twenty-second, twenty-third, twenty-fourth, twenty-fifth or twenty-sixth embodiment. In a twenty-ninth embodiment of the present invention, the compound is represented by formula (I), (II), (III), (IV), (V), (II’), (III’), (IV’) or (V’), or a pharmaceutically acceptable salt 35 thereof, wherein R5 and R6 together with the atoms to which they are attached, form a 5- to 6- 20222(0826(1) ug 2022 membered saturated heterocyclic ring containing one or two heteroatoms selected from O, N, and S, wherein the ring is optionally substituted with one R50; R50 is a Ci-salkyl; and the definitions for the other variables are as defined in the first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth, eleventh, twelfth, thirteenth, fourteen, fifteenth, seventeenth, 5 eighteenth, nineteenth, twentieth, twenty-first, twenty-second, twenty-third, or twenty-fourth embodiment. In a more specific embodiment, the 5- to 6-membered saturated heterocyclic ring heterocyclic ring is pyrrolindine, piperazine or N-methylpiperazine. In a thirtieth embodiment of the present invention, the compound is represented by the following formula: or a pharmaceutically acceptable salt thereof, wherein: ring A is represented by one of the following formula: 20222m6(D ug 2022 R1 is Ci.6alkyl; 2 R is Ci-ealkyl, oxetanyl, tetrahydrofuranyl, or tetrahydropyranyl, wherein said Ci-ealkyl 5 is optionally substituted with one to three R ; R20 for each occurrence is independently halo or -OR20a; R20a H or Ci.3alkyl; R3 is H; and R5 is H or Ci-3alkyl. 0 In a thirty-first embodiment of the present invention, the compound is represented by formula (IIA), (IVA), (VA), (IIA’), (IVA’), or (VA’), or a pharmaceutically acceptable salt thereof, wherein R1 is tert-butyl; and the definitions for the other variables are as defined in the thirtieth embodiment. In a thirty-second embodiment of the present invention, the compound is represented by 2 O / —I 5 formula (IIA) or (IIA’), or a pharmaceutically acceptable salt thereof, wherein R is 5, -CH2CHF2, -CH2CF3, -CH2CH2OH, -CH2CH2OCH3, or -CH2C(CH3)OH; and the definitions for the other variables are as defined in the thirtieth or thirty-first embodiment. In a thirty-third embodiment of the present invention, the compound is represented by a formula (IVA) to (IVA’), or a pharmaceutically acceptable salt thereof, wherein R is H; and the 0 definitions for the other variables are as defined in the thirtieth, or thirty-first embodiment. In a thirty-fourth embodiment of the present invention, the compound is represented by formula (IIA), (IVA), (VA), (IIA’), (IVA’), or (VA’), or a pharmaceutically acceptable salt thereof, wherein R5 is methyl or isopropyl; and the definitions for the other variables are as defined in the thirtieth, thirty-first, thirty-second or thirty-third embodiment. 25 In a thirty-fifth embodiment of the present invention, the compound of the present invention is selected from: 5-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro- lH-benzo[d] azepin- 1-yl)-1,2,4-oxadiazole-3-carboxamide, (S)-5-(tert-butyl)-N-(7-(2-(( l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5- 30 tetrahydro- lH-benzo[d] azepin- 1-yl)-1,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro- lH-benzo[d] azepin- 1-yl)-1,2,4-oxadiazole-3-carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)- 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, 5 (S)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)- 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, 5-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4- 0 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (S)-5-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, 5 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- (methylsulfonyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(methylsulfonyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (S)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- 0 (methylsulfonyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, 5-(tert-butyl)-N-(2-(3-hydroxycyclobutyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(2-(3-hydroxycyclobutyl)-8-(2-((l-methyl-lH-pyr azol-4 25 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (S)-5-(tert-butyl)-N-(2-(3-hydroxycyclobutyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, 30 5-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)- 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (S)-5-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-35 yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(tetrahydro-2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- (tetrahydro-2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3- 5 carboxamide, (S)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(tetrahydro-2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, 5-(tert-butyl)-N-(8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2-0 hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (S)-5-(tert-butyl)-N-(8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, 5 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- (tetrahydrofuran-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, 5-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((R)- tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3- 0 carboxamide, 5-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((S)-tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, 5-(tert-butyl)-N-((S)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((R)-25 tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3- carboxamide, 5-(tert-butyl)-N-((S)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((S)-tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, 30 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2,2,2- trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2,2,2-trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (S)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2,2,2-35 trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(tetrahydro-2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(tetrahydro-2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-5 carboxamide, (S)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(tetrahydro-2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3- 0 yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- (methylsulfonyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(methylsulfonyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- 0 (methylsulfonyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-isopropyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (R)-5-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-isopropyl-lH-pyr azol-4 25 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 30 5-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3- yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (R)-5-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- 35 (oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2,2,2- trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2,2,2-trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5 (S)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2,2,2- trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide 5-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4- 0 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- (tetrahydrofuran-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((R)-tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-0 carboxamide, 5-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((S)-tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-((S)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((R)- 25 tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2- carboxamide, 5-(tert-butyl)-N-((S)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((S)-tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 30 5-(tert-butyl)-N-(2-(2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-((R)-2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-35 carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 5-(tert-butyl)-N-((R)-2-((R)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide 5-(tert-butyl)-N-((S)-2-((R)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4- 5 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-((S)-2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 0 5-(tert-butyl)-N-(2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(2-((R)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-5 carboxamide, 5-(tert-butyl)-N-((R)-2-((R)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-((S)-2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4- 0 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide 5-(tert-butyl)-N-((S)-2-((R)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 25 5-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)- 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-l-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (S)-l-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3- 30 yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide l-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (R)-l-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 (S)-l-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(tetrahydrofuran-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4- 5 carboxamide, l-(tert-butyl)-N-((5R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- (tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, l-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((R)-0 tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4- carboxamide, l-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((S)- tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, 5 l-(tert-butyl)-N-((S)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((S)- tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, l-(tert-butyl)-N-((S)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((R)-tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-0 carboxamide, l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, 25 (S)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan- 3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2,2,2- trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2,2,2-30 trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (S)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2,2,2-trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, l-(tert-butyl)-N-(2-(2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4- 35 carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 l-(tert-butyl)-N-((R)-2-((R)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, l-(tert-butyl)-N-((R)-2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4- 5 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, l-(tert-butyl)-N-((S)-2-((R)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, 0 l-(tert-butyl)-N-((S)-2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, l-(tert-butyl)-N-(2-(2-methoxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, 5 (R)-l-(tert-butyl)-N-(2-(2-methoxyethyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (S)-l-(tert-butyl)-N-(2-(2-methoxyethyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4- 0 carboxamide, 5-(tert-butyl)-N-(2-(2,2-difluoroethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(2-(2,2-difluoroethyl)-8-(2-((l-methyl-lH-pyrazol-4- 25 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(2-(2,2-difluoroethyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 30 5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide, (S)-5-(tert-butyl)-N-(2-(2-(( l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-35 tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxamide (R)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxamide, 5 (S)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H- benzo[7]annulen-5-yl)-5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxamide, 5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyridin-4-yl)-6,7,8,9- tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyr azo l-4-yl)amino)pyridin-4-yl)-6,7,8,9-0 tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide, (S)-5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyridin-4-yl)-6,7,8,9- tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide, 5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5 (R)-5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide, 3-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- 0 tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-5-carboxamide, (R)-3-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-5-carboxamide, (S)-3-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-5-carboxamide, 25 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5- tetrahydrobenzo [b]oxepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5- tetrahydrobenzo [b]oxepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(8-(2-(( l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-30 tetrahydrobenzo[b]oxepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5- tetrahydrobenzo [b]oxepin-5-yl)-l,2,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydrobenzo [b]oxepin-5-yl)-l,2,4-oxadiazole-2-carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 (S)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydrobenzo [b]oxepin-5-yl)-l, 2,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(3-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- tetrahydro-5H-cyclohepta[c]pyridin-9-yl)-l,3,4-oxadiazole-2-carboxamide, 5 (R)-5-(tert-butyl)-N-(3-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- tetrahydro-5H-cyclohepta[c]pyridin-9-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(3-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- tetrahydro-5H-cyclohepta[c]pyridin-9-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(3-(2-(( l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- 0 tetrahydro-5H-cyclohepta[c]pyridin-9-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(3-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-cyclohepta[c]pyridin-9-yl)-l,2,4-oxadiazole-3-carboxamide, (S)-5-(tert-butyl)-N-(3-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-cyclohepta[c]pyridin-9-yl)-l,2,4-oxadiazole-3-carboxamide, 5 l-(tert-butyl)-N-(3-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyridin-4-yl)-6,7,8,9- tetrahydro-5H-cyclohepta[c]pyridin-9-yl)-lH-l,2,3-triazole-4-carboxamide, (R)-l-(tert-butyl)-N-(3-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyridin-4-yl)-6,7,8,9- tetrahydro-5H-cyclohepta[c]pyridin-9-yl)-lH-l,2,3-triazole-4-carboxamide, (S)-l-(tert-butyl)-N-(3-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyridin-4-yl)-6,7,8,9- 0 tetrahydro-5H-cyclohepta[c]pyridin-9-yl)-lH-l,2,3-triazole-4-carboxamide, 5-(tert-butyl)-N-(3-(2-hydroxyethyl)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(3-(2-hydroxyethyl)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-25 carboxamide, (S)-5-(tert-butyl)-N-(3-(2-hydroxyethyl)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3- 30 (methylsulfonyl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3- (methylsulfonyl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3- (methylsulfonyl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 5-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, 5 (S)-5-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3-(oxetan- 3-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3- (tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, 0 5-(tert-butyl)-N-((R)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3-((S)- tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide 5-(tert-butyl)-N-((R)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3-((R)-tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2- 5 carboxamide 5-(tert-butyl)-N-((S)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3-((S)-tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide 5-(tert-butyl)-N-((S)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3-((R)- 0 tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2- carboxamide 5-(tert-butyl)-N-(3-(2-hydroxy-2-methylpropyl)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, 25 (R)-5-(tert-butyl)-N-(3-(2-hydroxy-2-methylpropyl)-7-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(3-(2-hydroxy-2-methylpropyl)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-30 carboxamide, l-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5- tetrahydro- lH-benzo[d] azepin- 1-yl)- 1H-1,2,3-triazole-4-carboxamide, (R)-l-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5- tetrahydro- lH-benzo[d] azepin- 1-yl)- 1H-1,2,3-triazole-4-carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 (S)-l-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro- lH-benzo[d] azepin- 1-yl)- 1H-1,2,3-triazole-4-carboxamide, l-(tert-butyl)-N-(3-methyl-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro- lH-benzo[d] azepin- 1-yl)- 1H- l,2,3-triazole-4-carboxamide, 5 (R)-l-(tert-butyl)-N-(3-methyl-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 2,3,4,5-tetrahydro- lH-benzo[d] azepin- 1-yl)- 1H-1,2,3-triazole-4-carboxamide, (S)-l-(tert-butyl)-N-(3-methyl-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 2,3,4,5-tetrahydro- lH-benzo[d] azepin- 1-yl)- 1H-1,2,3-triazole-4-carboxamide, l-(tert-butyl)-N-(3-(2-hydroxyethyl)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-0 4-yl)-2,3,4,5-tetrahydro- lH-benzo[d] azepin- 1-yl)- 1H- l,2,3-triazole-4-carboxamide, (R)-l-(tert-butyl)-N-(3-(2-hydroxyethyl)-7-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d] azepin- 1-yl)- 1H- l,2,3-triazole-4-carboxamide, (S)-l-(tert-butyl)-N-(3-(2-hydroxyethyl)-7-(2-((l-methyl-lH-pyrazol-4- 5 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-lH-l,2,3-triazole-4-carboxamide, 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2,2,2-trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)arnino)pyrimidin-4-yl)-2-(2,2,2- 0 trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide (S)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)arnino)pyrimidin-4-yl)-2-(2,2,2-trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide 5-(tert-butyl)-N-(2-(2-(dimethylarnino)acetyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-25 carboxamide, (R)-5-(tert-butyl)-N-(2-(2-(dimethylamino)acetyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (S)-5-(tert-butyl)-N-(2-(2-(dimethylamino)acetyl)-8-(2-((l-methyl-lH-pyrazol-4- 30 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-5-( l,l,l-trifluoro-2-methylpropan-2-yl)-l,3,4-oxadiazole-2-carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 (R)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-5-(l,l,l-trifluoro-2-methylpropan-2-yl)-l,3,4-oxadiazo le-2-carboxamide, (S)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 5 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-5-(l,l,l-trifluoro-2-methylpropan-2-yl)-l,3,4-oxadiazo le-2-carboxamide, N-(2-methyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-5-(l,l,l-trifluoro-2-methylpropan-2-yl)-l,3,4-oxadiazole-2-carboxamide, 0 (R)-N-(2-methyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5- tetrahydro-lH-benzo[c]azepin-5-yl)-5-( l,l,l-trifluoro-2-methylpropan-2-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-N-(2-methyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-5-( l,l,l-trifluoro-2-methylpropan-2-yl)-l,3,4-oxadiazole-2-5 carboxamide, 5-(l,l-difluoro-2-methylpropan-2-yl)-N-(8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-oxadiazo le-2-carboxamide, (R)-5-(l,l-difluoro-2-methylpropan-2-yl)-N-(8-(2-((l-methyl-lH-pyrazol-4- 0 yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4- oxadiazo le-2-carboxamide, (S)-5-(l,l-difluoro-2-methylpropan-2-yl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-oxadiazo le-2-carboxamide, 25 5-(l,l-difluoro-2-methylpropan-2-yl)-N-(2-(2-hydroxypropyl)-8-(2-((l-methyl-lH- pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-oxadiazole-2-carboxamide, 5-(l,l-difluoro-2-methylpropan-2-yl)-N-(2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-30 oxadiazole-2-carboxamide, (R)-5-(l,l-difluoro-2-methylpropan-2-yl)-N-(2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-oxadiazo le-2-carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 (R)-5-(l,l-difluoro-2-methylpropan-2-yl)-N-(2-((R)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-oxadiazo le-2-carboxamide, (S)-5-(l,l-difluoro-2-methylpropan-2-yl)-N-(2-((R)-2-hydroxypropyl)-8-(2-((l-methyl- 5 lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-oxadiazo le-2-carboxamide, (S)-5-(l,l-difluoro-2-methylpropan-2-yl)-N-(2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-oxadiazo le-2-carboxamide, 0 5-(l-fluoro-2-methylpropan-2-yl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin- 4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(l-fluoro-2-methylpropan-2-yl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-5 oxadiazole-2-carboxamide (S)-5-(l-fluoro-2-methylpropan-2-yl)-N-(8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-oxadiazo le-2-carboxamide, 5-(l-fluoro-2-methylpropan-2-yl)-N-(2-(2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol- 0 4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(l-fluoro-2-methylpropan-2-yl)-N-(2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-oxadiazole-2-carboxamide, 25 (R)-5-(l-fluoro-2-methylpropan-2-yl)-N-(2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH- pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-oxadiazole-2-carboxamide, (R)-5-(l-fluoro-2-methylpropan-2-yl)-N-(2-((R)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-30 oxadiazole-2-carboxamide, (S)-5-(l-fluoro-2-methylpropan-2-yl)-N-(2-((R)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-oxadiazole-2-carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 (S)-5-(l-fluoro-2-methylpropan-2-yl)-N-(2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-oxadiazo le-2-carboxamide, 5-cyclobutyl-N-(2-methyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 5 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-cyclobutyl-N-(2-methyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-cyclobutyl-N-(2-methyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 0 5-(2-cyanopropan-2-yl)-N-(2-methyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin- 4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(2-cyanopropan-2-yl)-N-(2-methyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5 (S)-5-(2-cyanopropan-2-yl)-N-(2-methyl-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(2-cyanopropan-2-yl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-0 carboxamide, (R)-5-(2-cyanopropan-2-yl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(2-cyanopropan-2-yl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyr azol-4 25 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, l-isopropyl-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (R)-l-isopropyl-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-30 yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (S)-l-isopropyl-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, l-cyclobutyl-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 (R)-l-cyclobutyl-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (S)-l-cyclobutyl-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, 5 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3- yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-thiadiazole-2-carboxamide (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-thiadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-0 3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-thiadiazole-2-carboxamide, 3-(tert-butyl)-N-(2-(3-hydroxycyclobutyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-5-carboxamide, (R)-3-(tert-butyl)-N-(2-(3-hydroxycyclobutyl)-8-(2-((l-methyl-lH-pyrazol-4- 5 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-5-carboxamide, (S)-3-(tert-butyl)-N-(2-(3-hydroxycyclobutyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-5-carboxamide, 0 l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5- tetrahydro- lH-benzo[c]azepin-5-yl)- 1H-1,2,3-triazole-4-carboxamide, (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5- tetrahydro- lH-benzo[c]azepin-5-yl)- 1H-1,2,3-triazole-4-carboxamide, (S)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5- 25 tetrahydro- lH-benzo[c]azepin-5-yl)- 1H-1,2,3-triazole-4-carboxamide, l-(tert-butyl)-N-(2-ethyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (R)-l-(tert-butyl)-N-(2-ethyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, 30 (S)-l-(tert-butyl)-N-(2-ethyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, l-(tert-butyl)-N-(2-(3-hydroxycyclobutyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 (R)-l-(tert-butyl)-N-(2-(3-hydroxycyclobutyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (S)-l-(tert-butyl)-N-(2-(3-hydroxycyclobutyl)-8-(2-((l-methyl-lH-pyrazol-4- 5 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(tetrahydro-2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- 0 (tetrahydro-2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (S)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(tetrahydro-2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, 5 l-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin- 4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (R)-l-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, 0 (S)-l-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, l-(tert-butyl)-N-(2-((R)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-25 carboxamide (R)-l-(tert-butyl)-N-(2-((R)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (R)-l-(tert-butyl)-N-(2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyr azol-4 30 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (S)-l-(tert-butyl)-N-(2-((R)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 (S)-l-(tert-butyl)-N-(2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, 5-(tert-butyl)-N-(2-(2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4- 5 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide 5-(tert-butyl)-N-(2-((R)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, 0 (R)-5-(tert-butyl)-N-(2-((R)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-5 carboxamide, (S)-5-(tert-butyl)-N-(2-((R)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (S)-5-(tert-butyl)-N-(2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4- 0 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, 5-(tert-butyl)-N-(2-(2-methoxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(2-(2-methoxyethyl)-8-(2-((l-methyl-lH-pyr azol-4 25 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (S)-5-(tert-butyl)-N-(2-(2-methoxyethyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, 30 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- (tetrahydrofuran-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((R)-tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-35 carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 5-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((S)-tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l, 3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-((S)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((R)- 5 tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2- carboxamide, 5-(tert-butyl)-N-((S)-8-(2-((l-methyl-lH-pyrazol-4-yl)arnino)pyrimidin-4-yl)-2-((S)- tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 0 5-(tert-butyl)-N-(2-(3-hydroxycyclobutyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(2-(3-hydroxycyclobutyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-5 carboxamide, (S)-5-(tert-butyl)-N-(2-(3-hydroxycyclobutyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(2-ethyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-0 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(2-ethyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(2-ethyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 25 5-(tert-butyl)-N-(2-(2-hydroxy-2-methylpropyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-tert-butyl-l,3,4-oxadiazole-2-carboxylic acid {(R)-2-(2-hydroxy-2-methyl-propyl)-8- [2-(l-methyl-lH-pyrazol-4-ylamino)-pyrimidin-4-yl]-2,3,4,5-tetrahydro-lH-2-benzazepin-5-yl}- 30 amide, (S)-5-(tert-butyl)-N-(2-(2-hydroxy-2-methylpropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 5-(tert-butyl)-N-(2-(3-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(2-(3-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4- 5 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(2-(3-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide 0 N-(8-(2-((lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH- benzo[c]azepin-5-yl)-5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamide, (R)-N-(8-(2-((lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamide, (S)-N-(8-(2-((lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro- 5 lH-benzo[c]azepin-5-yl)-5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(8-(2-((5,6-dihydro-4H-pyrrolo[l,2-b]pyrazol-3-yl)amino)pyrimidin-4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(8-(2-((5,6-dihydro-4H-pyrrolo[l,2-b]pyrazol-3-yl)amino)pyrimidin- 0 4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(8-(2-((5,6-dihydro-4H-pyrrolo[l,2-b]pyrazol-3-yl)amino)pyrimidin-4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 25 (R)-l-(tert-butyl)-N-(8-(2-((5,6-dihydro-4H-pyrrolo[l,2-b]pyrazol-3-yl)amino)pyrimidin- 4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (S)-l-(tert-butyl)-N-(8-(2-((5,6-dihydro-4H-pyrrolo[l,2-b]pyrazol-3-yl)amino)pyrimidin-4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4- 30 carboxamide, l-(tert-butyl)-N-(8-(2-((5,6-dihydro-4H-pyrrolo[l,2-b]pyrazol-3-yl)amino)pyrimidin-4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, N-(2-methyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-35 lH-benzo[c]azepin-5-yl)-5-(l-methylcyclopropyl)-l,3,4-oxadiazole-2-carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 (R)-N-(2-methyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5- tetrahydro-lH-benzo[c]azepin-5-yl)-5-(l-methylcyclopropyl)-l,3,4-oxadiazole-2-carboxamide, (S)-N-(2-methyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5- tetrahydro-lH-benzo[c]azepin-5-yl)-5-( 1-methylcyclopropyl)-1,3,4-oxadiazole-2-carboxamide, 5 5-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- (tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-((R)-8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((R)-tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-0 carboxamide, 5-(tert-butyl)-N-((R)-8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((S)-tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-((S)-8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((R)- 5 tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2- carboxamide, 5-(tert-butyl)-N-((S)-8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((S)-tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 0 5-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2- hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2- hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2- 25 hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(2-methyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(2-methyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 30 (S)-5-(tert-butyl)-N-(2-methyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2-35 hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 (S)-5-(tert-butyl)-N-(8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, l-(tert-butyl)-N-(8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, 5 (R)-l-(tert-butyl)-N-(8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2- hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (S)-l-(tert-butyl)-N-(8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, 5-(tert-butyl)-N-(8-(2-((l,3-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan- 0 3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(8-(2-((l,3-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (S)-5-(tert-butyl)-N-(8-(2-((l,3-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, 5 l-(tert-butyl)-N-(8-(2-((l,3-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan- 3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (R)-l-(tert-butyl)-N-(8-(2-((l,3-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (S)-l-(tert-butyl)-N-(8-(2-((l,3-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- 0 (oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, 5-(tert-butyl)-N-(8-(2-((l,3-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(8-(2-((l,3-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, 25 (S)-5-(tert-butyl)-N-(8-(2-((l,3-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2- hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, l-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, 30 (R)-l-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-isopropyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, (S)-l-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-35 carboxamide, 20222(0826(1) ug 2022 5-(tert-butyl)-N-(2-(cyclopropylmethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(2-(cyclopropylmethyl)-8-(2-((l-methyl-lH-pyrazol-4- 5 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(2-(cyclopropylmethyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 0 5-(tert-butyl)-N-(8-(2-((l,3-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2,2,2- trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(8-(2-((l,3-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- (2,2,2-trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5 (S)-5-(tert-butyl)-N-(8-(2-((l,3-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- (2,2,2-trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide, 0 (R)-5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide, N-(2-(2-((lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H- 25 benzo[7]annulen-5-yl)-5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamide, (R)-N-(2-(2-((lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamide, (S)-N-(2-(2-((lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamide, 30 5-(tert-butyl)-N-(2-(2-((5-methyl-4,5,6,7-tetrahydropyrazolo[l,5-a]pyrazin-3- yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(2-(2-((5-methyl-4,5,6,7-tetrahydropyrazolo[l,5-a]pyrazin-3- yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3- 35 carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 (S)-5-(tert-butyl)-N-(2-(2-((5-methyl-4,5,6,7-tetrahydropyrazolo[l,5-a]pyrazin-3- yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide, N-(2-(2-((lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H- 5 benzo[7]annulen-5-yl)-5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamide, (R)-N-(2-(2-((lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamide, (S)-N-(2-(2-((lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamide, 0 l-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- tetrahydro-5H-benzo[7]annulen-5-yl)-lH-l,2,3-triazole-4-carboxamide, (R)-l-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-lH-l,2,3-triazole-4-carboxamide, (S)-l-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- 5 tetrahydro-5H-benzo[7]annulen-5-yl)-lH-l,2,3-triazole-4-carboxamide, 5-(tert-butyl)-4-methyl-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-4H-l,2,4-triazole-3-carboxamide, (R)-5-(tert-butyl)-4-methyl-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-4H-l,2,4-triazole-3-carboxamide, 0 (S)-5-(tert-butyl)-4-methyl-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-4H-l,2,4-triazole-3-carboxamide, 2-isopropyl-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- tetrahydro-5H-benzo[7]annulen-5-yl)-2H-l,2,3-triazole-4-carboxamide, (R)-2-isopropyl-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- 25 tetrahydro-5H-benzo[7]annulen-5-yl)-2H-l,2,3-triazole-4-carboxamide, (S)-2-isopropyl-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-2H-l,2,3-triazole-4-carboxamide, 5-(tert-butyl)-N-(8-fluoro-2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide, 30 5-(tert-butyl)-N-((8S)-8-fluoro-2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-((8R)-8-fluoro-2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-((5R,8S)-8-fluoro-2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-35 yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide, 20222(0826(1) ug 2022 5-(tert-butyl)-N-((5S,8R)-8-fluoro-2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-((5R,8R)-8-fluoro-2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5 5-(tert-butyl)-N-((5S,8S)-8-fluoro-2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4- yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide, N-(8-fluoro-2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxamide, N-((8S)-8-fluoro-2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-0 tetrahydro-5H-benzo[7]annulen-5-yl)-5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxamide, N-((8R)-8-fluoro-2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- tetrahydro-5H-benzo[7]annulen-5-yl)-5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxamide N-((5R,8S)-8-fluoro-2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxamide 5 N-((5S,8R)-8-fluoro-2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- tetrahydro-5H-benzo[7]annulen-5-yl)-5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxamide N-((5S,8S)-8-fluoro-2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- tetrahydro-5H-benzo[7]annulen-5-yl)-5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxamide N-((5S,8R)-8-fluoro-2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-0 tetrahydro-5H-benzo[7]annulen-5-yl)-5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxamide N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H- benzo[7]annulen-5-yl)-5-(l-methylcyclopropyl)-l,3,4-oxadiazole-2-carboxamide, (R)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-5-(l-methylcyclopropyl)-l,3,4-oxadiazole-2-carboxamide, 25 (S)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H- benzo[7]annulen-5-yl)-5-(l-methylcyclopropyl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5- tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5- 30 tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-oxadiazole-2-carboxamide, 5-cyclobutyl-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 (R)-5-cyclobutyl-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-cyclobutyl-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4- 5 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(2-(2-ethoxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(2-(2-ethoxyethyl)-8-(2-((l-methyl-lH-pyrazol-4- 0 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(2-(2-ethoxyethyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5 5-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5- tetrahydro- lH-benzo[d] azepin- 1-yl)-1,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5- tetrahydro- lH-benzo[d] azepin- 1-yl)-1,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(7-(2-(( l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5- 0 tetrahydro- lH-benzo[d] azepin- 1-yl)-1,3,4-oxadiazole-2-carboxamide, l-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3-(oxetan-3-yl)-2,3,4,5-tetrahydro- lH-benzo[d] azepin- 1-yl)- 1H- l,2,3-triazole-4-carboxamide, (R)-l-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3-(oxetan-3-yl)-2,3,4,5-tetrahydro- lH-benzo[d] azepin- 1-yl)- 1H- l,2,3-triazole-4-carboxamide, 25 (S)-l-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3-(oxetan- 3-yl)-2,3,4,5-tetrahydro- lH-benzo[d] azepin- 1-yl)- 1H- l,2,3-triazole-4-carboxamide, 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-thiadiazole-2-carboxamide, 30 5-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((R)- tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-thiadiazole-2-carboxamide, 5-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((S)-tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-thiadiazole-2-35 carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 5-(tert-butyl)-N-((S)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((R)-tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l, 3,4-thiadiazole-2-carboxamide, 5-(tert-butyl)-N-((S)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((S)- 5 tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-thiadiazole-2- carboxamide, 5-(tert-butyl)-N-(3-methyl-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(3-methyl-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 0 2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(3-methyl-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-thiadiazole-2-carboxamide, 5 (R)-5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)arnino)pyrimidin-4-yl)-6,7,8,9- tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-thiadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)arnino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-thiadiazole-2-carboxamide, 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2,2,2- 0 trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, tert-butyl l-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,2,4,5-tetrahydro-3H-benzo[d]azepine-3-carboxylate, (R)-tert-butyl l-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,2,4,5-tetrahydro-3H-benzo[d]azepine-3-carboxylate, 25 (S)-tert-butyl l-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-7-(2-((l-methyl-lH- pyrazol-4-yl)amino)pyrimidin-4-yl)-l,2,4,5-tetrahydro-3H-benzo[d]azepine-3-carboxylate, 5-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3-(2,2,2-trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(7-(2-((l-rnethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3-(2,2,2- 30 trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(7-(2-((l-rnethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3-(2,2,2- trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(3-(2-hydroxypropyl)-7-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2- 35 carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 5-(tert-butyl)-N-(3-((S)-2-hydroxypropyl)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(3-((S)-2-hydroxypropyl)-7-(2-((l-methyl-lH-pyrazol-4- 5 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(3-((S)-2-hydroxypropyl)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, 0 5-(tert-butyl)-N-(3-((R)-2-hydroxypropyl)-7-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(3-((R)-2-hydroxypropyl)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-5 carboxamide, (S)-5-(tert-butyl)-N-(3-((R)-2-hydroxypropyl)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3-(tetrahydro-0 2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3-(tetrahydro-2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-3- 25 (tetrahydro-2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(3-(3-hydroxypropyl)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, 30 (S)-5-(tert-butyl)-N-(3-(3-hydroxypropyl)-7-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(tert-butyl)-N-(3-(3-hydroxypropyl)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,3,4-oxadiazole-2-35 carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 5-(3,3-difluorocyclobutyl)-N-(2-methyl-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(3,3-difluorocyclobutyl)-N-(2-methyl-8-(2-((l-methyl-lH-pyrazol-4- 5 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(3,3-difluorocyclobutyl)-N-(2-methyl-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 0 5-(3,3-difluorocyclobutyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazo 1-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, (R)-5-(3,3-difluorocyclobutyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-5 carboxamide, (S)-5-(3,3-difluorocyclobutyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(8-(2-((5,6-dihydro-4H-pyrrolo[l,2-b]pyrazol-3-yl)amino)pyrimidin-4- 0 yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(8-(2-((5,6-dihydro-4H-pyrrolo[l,2-b]pyrazol-3-yl)amino)pyrimidin-4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, 25 (S)-5-(tert-butyl)-N-(8-(2-((5,6-dihydro-4H-pyrrolo[l,2-b]pyrazol-3-yl)amino)pyrimidin- 4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide, 5-(tert-butyl)-N-(8-hydroxy-2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide, 30 (R)-5-(tert-butyl)-N-(8-hydroxy-2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide, (S)-5-(tert-butyl)-N-(8-hydroxy-2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide, 5-(tert-butyl)-N-(2-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- 35 tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide, 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 (R)-5-(tert-butyl)-N-(2-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide, (S)-5-(tert-butyl)-N-(2-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide, 5 5-(tert-butyl)-N-(2-(2-((5,6-dihydro-4H-pyrrolo[l,2-b]pyrazol-3-yl)amino)pyrimidin-4- yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(2-(2-((5,6-dihydro-4H-pyrrolo[l,2-b]pyrazol-3-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide, (S)-5-(tert-butyl)-N-(2-(2-((5,6-dihydro-4H-pyrrolo[l,2-b]pyrazol-3-yl)amino)pyrimidin-0 4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide, 5-(tert-butyl)-N-(2-(2-((l-methyl-5-(trifluoromethyl)-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide, (R)-5-(tert-butyl)-N-(2-(2-((l-methyl-5-(trifluoromethyl)-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3- 5 carboxamide, (S)-5-(tert-butyl)-N-(2-(2-((l-methyl-5-(trifluoromethyl)-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide, l-(tert-butyl)-N-(2-(2-(( l-methyl-lH-pyrazol-4-yl)amino)pyridin-4-yl)-6,7,8,9- 0 tetrahydro-5H-benzo[7]annulen-5-yl)-lH-l,2,3-triazole-4-carboxamide, (R)-l-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyridin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-lH-l,2,3-triazole-4-carboxamide, (S)-l-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyridin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-lH-l,2,3-triazole-4-carboxamide, 25 N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5- tetrahydro-lH-benzo[c]azepin-5-yl)-5-( 1-methylcyclopropyl)-1,3,4-oxadiazole-2-carboxamide, (R)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-5-(l-methylcyclopropyl)-l,3,4-oxadiazole-2-carboxamide, and 30 (S)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-5-(l-methylcyclopropyl)-l,3,4-oxadiazole-2-carboxamide, or a pharmaceutically acceptable salt thereof. 202a2m6(D ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 The present invention also provides crystalline forms of (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (compound 27): As used herein, the term "crystalline" refers to a solid form having a crystal structure wherein the individual molecules have a highly homogeneous regular locked-in chemical configuration. Form A In one embodiment, the present invention provides crystalline Form A of (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro- lH-benzo[c]azepin-5-yl)- 1H-1,2,3-triazole-4-carboxamide. In one aspect, crystalline Form A is characterized by at least three, at least four, or at least five powder X-ray diffraction (PXRD) peaks at 20 angles selected from 5.7°, 7.9°, 9.7°, 18.2°, 19.0° and 22.4°. In one embodiment, crystalline Form A is characterized by powder X-ray diffraction peaks at 20 angles selected from 5.7°, 7.9°, 9.7°, 18.2°, 19.0° and 22.4°. In some embodiments, the peaks described above for crystalline Form A have a relative intensity of at least 5%, at least 10%, or at least 15%. In another embodiment, crystalline Form A is characterized by at least three, at least four, at least five, at least six, at least seven, at least eight, at least nine, at least ten, at least eleven, at least twelve, at least thirteen, at least fourteen, at least fifteen, at least sixteen, at least seventeen, or at least nineteen PXRD peaks at 20 angles selected from 4.3°, 5.7°, 7.9°, 8.7°, 9.7°, 11.9°, 13.1°, 14.8°, 15.2°, 16.1°, 17.0°, 17.8°, 18.2°, 19.0°, 20.5°, 21.2°, 22.4°, 22.8°, 23.8°, and 25.6°. As used herein, the term “relative intensity” refers to a ratio of the peak intensity for the peak of interest versus the peak intensity for the largest peak. In another aspect, crystalline Form A has a PXRD pattern that is substantially the same as PXRD pattern shown in FIG. 1. In one aspect, crystalline Form A has a differential scanning calorimetry (DSC) profile that is substantially the same as the DSC profile shown in FIG. 2. In particular, crystalline Form 43 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 A is characterized by an onset temperature at 175.6 °C ± 2° C in the DSC profile. In one embodiment, crystalline Form A has a melting temperature of 186 °C ± 2° C. In one aspect, crystalline Form A has a TGA profile that is substantially the same as the TGA profile shown in FIG. 2. In particular, the TGA profile indicates that crystalline Form A is 5 a hydrate. As used herein, “hydrate” refers to refers to a crystalline solid adduct containing(R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide and either stoichiometric or nonstoichiometric amounts of a water incorporated within the crystal structure. Techniques 0 known in the art to determine the to determine the amount of water present include, for example, TGA and Karl Fisher (KF) analysis. In another aspect, crystalline Form A has a solid state C NMR spectrum that is substantially the same as that shown in FIG. 3B. In one embodiment, crystalline Form A is characterized by chemical shifts at 143.7 ppm and / or 134.4 ppm in solid state C NMR 5 spectrum. The spectrum of Form A exhibit broader signals without showing clear duplicated signals. The Form A spectrum also suggests that there may be two independent molecules with different geometry. In another embodiments, crystalline Form A is characterized by chemical shifts in solid state C NMR spectrum as shown in Table 3. In some embodiments, crystalline Form A is characterized by, for example, PXRD, DSC, 0 TGA or NMR described above or any combination thereof. In one embodiment, crystalline Form A is characterized by PXRD alone or PXRD in combination with one or more of DSC, TGA and 13NMR described above. In some embodiments, crystalline Form A is at least 70%, 80%, 85%, 90%, 95%, 97%, 99%, 99.5% or 99.9% pure. The purity of Form A is determined by dividing the weight of 25 crystalline Form A in a composition comprising compound (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide over the total weight of the compound in the composition. In one embodiment, the present invention provides a composition comprising compound (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- 30 (oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, wherein at least 70%, 80%, 85%, 90%, 95%, 97%, 99%, 99.5% or 99.9% by weight of the compound in the composition is crystalline Form A of the compound. In one embodiment, the present invention provides a method for preparing crystalline Form A of (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-35 (oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide. 202a2m6(D ug 2022 Such method includes, e.g., forming crystalline Form A from a slurry comprising (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide and ethanol (EtOH). In one embodiment, the method comprises stirring the slurry containing (R)-l-(tert-butyl)-N-(8-(2-5 ((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide and EtOH at room temperature for 1 hour to 1 week, e.g., 1 hour, 2 hours, 3 hours, 4 hours, 5 hours, 10 hours, 15 hours, 24 hours, or 48 hours. 0 Form G In one embodiment, the present invention provides crystalline Form G of (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro- lH-benzo[c]azepin-5-yl)- 1H-1,2,3-triazole-4-carboxamide. In one aspect, crystalline Form G is characterized by at least three, at least four or at least 5 five PXRD peaks at 20 angles selected from 3.6°, 8.9°, 10.9°, 12.6°, 20.2° and 21.8°. In one embodiment, crystalline Form G is characterized by PXRD peaks at 20 angles selected from 3.6°, 8.9°, 10.9°, 12.6°, 20.2° and 21.8°. In some embodiments, the peaks described above for crystalline Form G have a relative intensity of at least 5%, at least 10%, or at least 15%. In another embodiment, crystalline Form G is characterized by at least three, at least four, at least 0 five, at least six, at least seven, at least eight, at least nine, at least ten, at least eleven, at least twelve, or at least thirteen PXRD peaks at 20 angles selected from 3.6°, 8.9°, 11.0°, 12.6°, 14.5°, 15.4°, 16.3°, 18.4°, 20.2°, 21.8°, 23.4°, 25.4°, 26.8°, and 34.2°. In another embodiment, crystalline Form A is characterized by PXRD peaks at 20 angles selected from 3.6°, 8.9°, 11.0°, 12.6°, 14.5°, 15.4°, 16.3°, 18.4°, 20.2°, 21.8°, 23.4°, 25.4°, 26.8°, and 34.2°. 25 In another aspect, crystalline Form G has a PXRD pattern that is substantially the same as PXRD pattern shown in FIG. 4. In one aspect, crystalline Form G has a DSC profile that is substantially the same as the DSC profile shown in FIG. 5. In particular, crystalline Form G is characterized by an onset temperature at 215.4 °C ± 2° C in the DSC profile. In another embodiment, crystalline Form G 30 has a melting temperature of 217 °C ± 2° C. In one aspect, crystalline Form G has a TGA profile that is substantially the same as the TGA profile shown in FIG. 5. In particular, the TGA profile indicates that crystalline Form G is an anhydrate. 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 “Anhydrate” as used herein, means that the crystalline form comprises substantially no water in the crystal lattice e.g., less than 1% by weight as determined by, for example, TGA analysis or other quantitative analysis. In another aspect, crystalline Form G has a solid state C NMR spectrum that is substantially the same as that shown in FIG. 6B. In one embodiment, crystalline Form G is characterized by chemical shifts at 147.0 ppm, 146.0 ppm and / or 140.6 ppm in solid state C NMR spectrum. The spectrum of Form G shows peak splitting (duplicate signals) in aromatic regions when compared to the solution C NMR spectrum suggesting there are two independent molecules in the asymmetric unit. In another embodiment, crystalline Form G is characterized by chemical shifts in solid state C NMR spectrum as shown in Table 3. In some embodiments, crystalline Form G is at least 70%, 80%, 85%, 90%, 95%, 97%, 99%, 99.5% or 99.9% pure. The purity of Form G is determined by dividing the weight of crystalline Form G in a composition comprising compound (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide over the total weight of the compound in the composition. In one embodiment, the present invention provides a composition comprising compound (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide, wherein at least 70%, 80%, 85%, 90%, 95%, 97%, 99%, 99.5% or 99.9% by weight of the compound in the composition is crystalline Form G of the compound. In one embodiment, the present invention provides a method for preparing crystalline Form G of (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide. Such method includes, e.g., forming crystalline Form G from a slurry comprising (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide and isopropyl acetate (IPAc). In one embodiment, the method comprises stirring the slurry containing (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide and isopropyl acetate (IPAc) at an elevated temperature (e.g., between 30 °C and 70 °C, between 40 °C and 60 °C, between 45 °C and 55 °C, or at 50 °C), for 1 hour to 1 week, e.g., 1 hour, 2 hours, 3 hours, 4 hours, 5 hours, 10 hours, 15 hours, 24 hours, or 48 hours. Alternatively, crystalline Form G can be prepared by a method comprising the steps of (i) removing at least a portion of dichloromethane by distillation from a mixture containing (R)-l-(tert-butyl)-N-(8-(2-(( l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-46 20222(0826(1) ug 2022 tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide and dichloro methane; (ii) adding isopropyl acetate (IP Ac) to the mixture; (iii) heating the mixture containing IP Ac to an elevated temperature (e.g., between 50 °C and 70 °C, between 55 °C and and 65 °C or 60 °C) followed by cooling to near room temperature (e.g., 20 °C) to form a slurry containing the compound and IP Ac; and (iv) isolating crystalline Form G from the slurry. In one embodiment, steps (i) and (ii) can be repeated for one or more times (e.g. two, three, four, or five times). In one embodiment, steps (i) and (ii) are repeated until substantially all (e.g., at least 60%, at least 70%, at least 80%, at least 90%, or at least 95% by volume) of dichloromethane is removed. In one embodiment, the heating and the cooling in step (iii) can be repeated for one or more times (e.g. two, three, four, five, ten, fifteen, twenty, or more times). It will be understood that the 20 values of the PXRD pattern for crystalline Form A or crystalline Form G may vary slightly from one instrument to another and may depend on variations in sample preparation. Therefore, the PXRD peak positions for crystalline Form A or crystalline Form G are not to be construed as absolute and can vary ±0.2°. As intended herein, “substantially the same PXRD pattern as shown in FIG. 1”, “substantially the same PXRD pattern as shown in FIG. 4”, “substantially the same as that shown in FIG. 3B” or “ substantially the same as that shown in FIG. 6B” mean that for comparison purposes, at least 80%, at least 90%, or at least 95% of the peaks shown in FIG. 1, FIG. 4, FIG. 3B and FIG. 6B are present. It is to be further understood that for comparison purposes some variability in peak position from those shown in FIG. 1 and FIG. 4 are allowed, such as ±0.2°. Similarly, for comparison purposes some variability in peak position from those shown in FIG. 3B and FIG. 6B are allowed, such as ±0.5 ppm. As used herein, the term "alkyl" refers to a fully saturated branched or unbranched hydrocarbon moiety. Preferably the alkyl comprises 1 to 6 carbon atoms, or 1 to 4 carbon atoms. In some embodiments, an alkyl comprises from 6 to 20 carbon atoms. Representative examples of alkyl include, but are not limited to, methyl, ethyl, n-propyl, iso-propyl, n-butyl, sec-butyl, iso-butyl, tert-butyl, n-pentyl, isopentyl, neopentyl, or n-hexyl. "Alkenyl" refers to an unsaturated hydrocarbon group which may be linear or branched and has at least one carbon-carbon double bond. Alkenyl groups with 2-6 carbon atoms can be preferred. The alkenyl group may contain 1, 2 or 3 carbon-carbon double bonds, or more. Examples of alkenyl groups include ethenyl, n-propenyl, iso-propenyl, n-but-2-enyl, n-hex-3-enyl and the like. "Alkynyl" refers to an unsaturated hydrocarbon group which may be linear or branched and has at least one carbon-carbon triple bond. Alkynyl groups with 2-6 carbon atoms can be preferred. The alkynyl group may contain 1, 2 or 3 carbon-carbon triple bonds, or more. 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 Examples of alkynyl groups include ethynyl, n-propynyl, n-but-2-ynyl, n-hex-3-ynyl and the like. The number of carbon atoms in a group is specified herein by the prefix “Cx.xx”, wherein x and xx are integers. For example, "Ci^alkyl" is an alkyl group which has from 1 to 4 carbon 5 atoms. "Halogen" or "halo" may be fluoro, chloro, bromo or iodo. As used herein, the term "heterocyclyl" refers to a saturated or unsaturated, monocyclic or bicyclic (e.g., fused, bridged or spiro ring systems) ring system which has from 3- to 10-ring members, or in particular 3- to 8-ring members, 3- to 7-ring members, 3- to 6- ring members or 0 5- to 7- ring members or 4- to 7- ring members, at least one of which is a heteroatom, and up to 4 (e.g., 1, 2, 3, or 4) of which may be heteroatoms, wherein the heteroatoms are independently selected from O, S and N, and wherein C can be oxidized (e.g., C(O)), N can be oxidized (e.g., N(O)) or quaternized, and S can be optionally oxidized to sulfoxide and sulfone. Unsaturated heterocyclic rings include heteroaryl rings. As used herein, the term "heteroaryl" refers to an 5 aromatic 5- or 6-membered monocyclic ring system, having 1 to 4 heteroatoms independently selected from O, S and N, and wherein N can be oxidized (e.g., N(O)) or quaternized, and S can be optionally oxidized to sulfoxide and sulfone. In one embodiment, a heterocyclyl is a 3-to 7membered saturated monocyclic or a 3-to 6-membered saturated monocyclic or a 5-to 7membered saturated monocyclic ring or a 4- to 6-membered saturated monocyclic ring. In one 0 embodiment, a heterocyclyl is a 3-to 7-membered monocyclic or a 3-to 6-membered monocyclic or a 4- to 6-membered monocyclic ring or a 5-to 7-membered monocyclic ring. In another embodiment, a heterocyclyl is a 6 or-7-membered bicyclic ring. In yet another embodiment, a heterocyclyl is a 4- to 7-membered monocyclic non-aromatic ring. In another embodiment, a heterocyclyl is 6- to 8-membered spiro or bridged bicyclic ring. The heterocyclyl group can be 25 attached at a heteroatom or a carbon atom. Examples of heterocyclyls include, but are not limited to, aziridinyl, oxiranyl, thiiranyl, oxaziridinyl, azetidinyl, oxetanyl, thietanyl, pyrrolidinyl, tetrahydrofuranyl, thiolanyl, imidazolidinyl, pyrazolidinyl, oxazolidinyl, isoxazolidinyl, thiazolidinyl, isothiazolidinyl, dioxolanyl, dithiolanyl, oxathiolanyl, piperidinyl, tetrahydropyranyl, thianyl, piperazinyl, morpholinyl, thiomorpholiny 1, dioxanyl, dithianyl, 30 trioxanyl, trithianyl, azepanyl, oxepanyl, thiepanyl, dihydro furanyl, imidazolinyl, dihydropyranyl, and heteroaryl rings including azetyl, thietyl, pyrrolyl, furanyl, thiophenyl (or thienyl), imidazolyl, pyrazolyl, oxazolyl, isoxazolyl, thiazolyl, isothiazolyl, furazanyl, oxadiazolyl, thiadiazolyl, dithiazolyl, triazolyl, tetrazolyl, pyridinyl, pyranyl, thiopyranyl, pyrazinyl, pyrimidinyl, pyridazinyl, oxazinyl, thiazinyl, dioxinyl, dithiinyl, oxathianyl, triazinyl, 35 tetrazinyl, azepinyl, oxepinyl, thiepinyl, diazepinyl, and thiazepinyl and the like. 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 The term “fused ring system”, as used herein, is a ring system that has two rings each of which are independently selected from a carbocyclyl or a heterocyclyl, wherein the two ring structures share two adjacent ring atoms. A fused ring system may have from 9 to 12 ring members. 5 The term “bridged ring system”, as used herein, is a ring system that has a carbocyclyl or heterocyclyl ring wherein two non-adjacent atoms of the ring are connected (bridged) by one or more (preferably from one to three) atoms selected from C, N, O, or S. A bridged ring system may have from 6 to 8 ring members. The term “spiro ring system,” as used herein, is a ring system that has two rings each of 0 which are independently selected from a carbocyclyl or a heterocyclyl, wherein the two ring structures having one ring atom in common. Spiro ring systems have from 5 to 8 ring members. In one embodiment, a heterocyclyl is a 4- to 6-membered monocyclic heterocyclyl. Examples of 4- to 6-membered monocyclic heterocyclic ring systems include, but are not limited to azetidinyl, pyrrolidinyl, tetrahydrofuranyl, thiolanyl, imidazolidinyl, pyrazolidinyl, 5 oxazolidinyl, isoxazolidinyl, thiazolidinyl, isothiazolidinyl, dioxolanyl, dithiolanyl, oxathiolanyl, piperidinyl, tetrahydropyranyl, thianyl, piperazinyl, morpholinyl, thiomorpholinyl, dioxanyl, dithianyl, dihydrofuranyl, imidazolinyl, dihydropyranyl, pyrrolyl, furanyl, thiophenyl (or thienyl), imidazolyl, pyrazolyl, oxazolyl, isoxazolyl, thiazolyl, isothiazolyl, furazanyl, oxadiazolyl, thiadiazolyl, dithiazolyl, triazolyl, tetrazolyl, pyridinyl, pyranyl, thiopyranyl, 0 pyrazinyl, pyrimidinyl, pyridazinyl, oxazinyl, thiazinyl, dioxinyl, dithiinyl, oxathianyl, triazinyl, and tetrazinyl. In another embodiment, a heterocyclyl is a saturated 4- to 6-membered monocyclic heterocyclyl. Examples of saturated 4- to 6-membered monocyclic heterocyclic ring systems include, but are not limited to azetidinyl, pyrrolidinyl, tetrahydrofuranyl, thiolanyl, 25 imidazolidinyl, pyrazolidinyl, oxazolidinyl, isoxazolidinyl, thiazolidinyl, isothiazolidinyl, dioxolanyl, dithiolanyl, oxathiolanyl, piperidinyl, tetrahydropyranyl, thianyl, piperazinyl, morpholinyl, thiomorpholinyl, dioxanyl, and dithiinyl. In one embodiment, a saturated 4- to 6membered monocyclic heterocyclyl is azetidinyl, oxetanyl, pyrrolidinyl, tetrahydrofuranyl, thiolanyl, imidazolidinyl, pyrazolidinyl, oxazolidinyl, isoxazolidinyl, thiazolidinyl, 30 isothiazolidinyl, dioxolanyl, dithiolanyl, oxathiolanyl, piperidinyl, tetrahydropyranyl, thianyl, piperazinyl, morpholinyl, thiomorpholinyl, or dioxinyl. In another embodiment, a saturated 4- to 6-membered monocyclic heterocyclyl is oxetanyl, tetrahydrofuranyl, or tetrahydropyranyl. As used herein, the term "carbocyclyl" refers to saturated or unsaturated monocyclic or bicyclic hydrocarbon groups of 3-7 carbon atoms, 3-5, 3-6, 4-6, or 5-7 carbon atoms. The term 35 “carbocyclyl” encompasses cycloalkyl groups and aromatic groups. The term “cycloalkyl” 20222(0826(1) ug 2022 refers to completely saturated monocyclic or bicyclic or spiro hydrocarbon groups of 3-7 carbon atoms, 3-6 carbon atoms, or 5-7 carbon atoms. Exemplary monocyclic carbocyclyl groups include, but are not limited to, cyclopropyl, cyclobutyl, cyclopentyl, cyclo hexyl, cyclo heptyl, cyclopropenyl, cyclobutenyl, cyclopenentyl, cyclohexenyl, cycloheptenyl, cyclobutadienyl, cyclopentadienyl, cyclohexadienyl, cycloheptadienyl, phenyl and cycloheptatrienyl. Exemplary bicyclic carbocyclyl groups include bicyclo[2.1.1]hexyl, bicyclo[2.2.1]heptyl, bicyclo[2.2.1]heptenyl, tricyclo[2.2.1.02’6]heptanyl, 6,6-dimethylbicyclo[3.1.1]heptyl, or 2,6,6-trimethylbicyclo[3.1.1]heptyl, spiro[2.2]pentanyl, and spiro[3.3]heptanyl. In one embodiment, the carbocyclyl is a 4- to 6-membered monocyclic carbocyclyl. In another embodiment, the carbocyclyl is a 3- to 5-membered carbocyclyl. In one embodiment, the carbocyclyl is a cycloalkyl. In yet another embodiment, the carbocyclyl is cyclobutyl, cyclopentyl or cyclohexyl. In cases where a compound provided herein is sufficiently basic or acidic to form stable nontoxic acid or base salts, preparation and administration of the compounds as pharmaceutically acceptable salts may be appropriate. Examples of pharmaceutically acceptable salts are organic acid addition salts formed with acids which form a physiological acceptable anion, for example, tosylate, methanesulfonate, acetate, citrate, malonate, tartarate, succinate, benzoate, ascorbate, a-ketoglutarate, or a-glycerophosphate. Inorganic salts may also be formed, including hydrochloride, sulfate, nitrate, bicarbonate, and carbonate salts. Pharmaceutically acceptable salts may be obtained using standard procedures well known in the art, for example by reacting a sufficiently basic compound such as an amine with a suitable acid affording a physiologically acceptable anion. Alkali metal (for example, sodium, potassium or lithium) or alkaline earth metal (for example calcium) salts of carboxylic acids can also be made. Pharmaceutically-acceptable base addition salts can be prepared from inorganic and organic bases. Salts from inorganic bases, can include but are not limited to, sodium, potassium, lithium, ammonium, calcium or magnesium salts. Salts derived from organic bases can include, but are not limited to, salts of primary, secondary or tertiary amines, such as alkyl amines, dialkyl amines, trialkyl amines, substituted alkyl amines, di(substituted alkyl) amines, tri(substituted alkyl) amines, alkenyl amines, dialkenyl amines, trialkenyl amines, substituted alkenyl amines, di(substituted alkenyl) amines, tri(substituted alkenyl) amines, cycloalkyl amines, di(cycloalkyl) amines, tri(cycloalkyl) amines, substituted cycloalkyl amines, disubstituted cycloalkyl amine, trisubstituted cycloalkyl amines, cycloalkenyl amines, di(cycloalkenyl) amines, tri(cycloalkenyl) amines, substituted cycloalkenyl amines, disubstituted cycloalkenyl amine, trisubstituted cycloalkenyl amines, aryl amines, diaryl amines, triaryl amines, heteroaryl amines, diheteroaryl amines, triheteroaryl amines, heterocycloalkyl amines, 20222(0826(1) ug 2022 diheterocycloalkyl amines, triheterocycloalkyl amines, or mixed di- and tri-amines where at least two of the substituents on the amine can be different and can be alkyl, substituted alkyl, alkenyl, substituted alkenyl, cycloalkyl, substituted cycloalkyl, cycloalkenyl, substituted cycloalkenyl, aryl, heteroaryl, or heterocycloalkyl and the like. Also included are amines where the two or three substituents, together with the amino nitrogen, form a heterocycloalkyl or heteroaryl group. Non-limiting examples of amines can include, isopropylamine, trimethyl amine, diethyl amine, tri(iso-propyl) amine, tri(n-propyl) amine, ethanolamine, 2-dimethylaminoethanol, trimethamine, lysine, arginine, histidine, caffeine, procaine, hydrabamine, choline, betaine, ethylenediamine, glucosamine, N-alkylglucamines, theobromine, purines, piperazine, piperidine, morpholine, or N-ethylpiperidine, and the like. Other carboxylic acid derivatives can be useful, for example, carboxylic acid amides, including carboxamides, lower alkyl carboxamides, or dialkyl carboxamides, and the like. The compounds or pharmaceutically acceptable salts thereof as described herein, can contain one or more asymmetric centers in the molecule. In accordance with the present disclosure any structure that does not designate the stereochemistry is to be understood as embracing all the various stereoisomers (e.g., diastereomers and enantiomers) in pure or substantially pure form, as well as mixtures thereof (such as a racemic mixture, or an enantiomerically enriched mixture). It is well known in the art how to prepare such optically active forms (for example, resolution of the racemic form by recrystallization techniques, synthesis from optic ally-active starting materials, by chiral synthesis, or chromatographic separation using a chiral stationary phase). When a particular stereoisomer of a compound is depicted by name or structure, the stereochemical purity of the compounds is at least 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, 95%, 97%, 99%, 99.5% or 99.9%. “Stereochemical purity” means the weight percent of the desired stereoisomer relative to the combined weight of all stereoisomers. When a particular enantiomer of a compound is depicted by name or structure, the stereochemical purity of the compounds is at least 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, 95%, 97%, 99%, 99.5% or 99.9%. “Stereochemical purity” means the weight percent of the desired enantiomer relative to the combined weight of all stereoisomers. When the stereochemistry of a disclosed compound is named or depicted by structure, and the named or depicted structure encompasses more than one stereoisomer (e.g., as in a diastereomeric pair), it is to be understood that one of the encompassed stereoisomers or any mixture of the encompassed stereoisomers are included. It is to be further understood that the stereoisomeric purity of the named or depicted stereoisomers at least 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, 95%, 97%, 99%, 99.5% or 99.9%. The stereoisomeric purity the weight 51 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 percent of the desired stereoisomers encompassed by the name or structure relative to the combined weight of all of the stereoisomers. When a disclosed compound is named or depicted by structure without indicating the stereochemistry, and the compound has one chiral center, it is to be understood that the name or 5 structure encompasses one enantiomer of compound in pure or substantially pure form, as well as mixtures thereof (such as a racemic mixture of the compound and mixtures enriched in one enantiomer relative to its corresponding optical isomer). When a disclosed compound is named or depicted by structure without indicating the stereochemistry and, e.g., the compound has at least two chiral centers, it is to be understood that 0 the name or structure encompasses one stereoisomer in pure or substantially pure form, as well as mixtures thereof (such as mixtures of stereoisomers, and mixtures of stereoisomers in which one or more stereoisomers is enriched relative to the other stereoisomer(s)). The disclosed compounds may exist in tautomeric forms and mixtures and separate individual tautomers are contemplated. In addition, some compounds may exhibit 5 polymorphism. In one embodiment, the compounds of the invention or a pharmaceutically acceptable salt thereof include deuterium. Another embodiment is a pharmaceutical composition comprising at least one compound described herein, or a pharmaceutically acceptable salt thereof, and at least one pharmaceutically 0 acceptable carrier. The compounds, or pharmaceutically acceptable salts thereof described herein may be used to decrease the activity of Btk, or to otherwise affect the properties and / or behavior of Btk, e.g., stability, phosphorylation, kinase activity, interactions with other proteins, etc. In some embodiments, the present invention provides methods of decreasing Btk 25 enzymatic activity. In some embodiments, such methods include contacting a Btk with an effective amount of a Btk inhibitor. Therefore, the present invention further provides methods of inhibiting Btk enzymatic activity by contacting a Btk with a Btk inhibitor of the present invention. One embodiment of the invention includes a method of treating a disorder responsive to 30 inhibition of Btk in a subject comprising administering to said subject an effective amount of at least one compound described herein, or a pharmaceutically acceptable salt thereof. In one embodiment, the present invention provides methods of treating autoimmune disorders, inflammatory disorders, and cancers in a subject in need thereof comprising administering to said subject an effective amount of at least one compound described herein, or a 35 pharmaceutically acceptable salt thereof. 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 The term "autoimmune disorders" includes diseases or disorders involving inappropriate immune response against native antigens, such as acute disseminated encephalomyelitis (ADEM), Addison's disease, alopecia areata, antiphospholipid antibody syndrome (APS), autoimmune hemolytic anemia, autoimmune hepatitis, bullous pemphigoid (BP), Coeliac 5 disease, dermatomyositis, diabetes mellitus type 1, Goodpasture's syndrome, Graves' disease, Guillain-Barre syndrome (GBS), Hashimoto's disease, idiopathic thrombocytopenic purpura, lupus erythematosus, mixed connective tissue disease, multiple sclerosis, myasthenia gravis, pemphigus vulgaris, pernicious anaemia, polymyositis, primary biliary cirrhosis, Sjogren's syndrome, temporal arteritis, and Wegener's granulomatosis. The term "inflammatory disorders" 0 includes diseases or disorders involving acute or chronic inflammation such as allergies, asthma, prostatitis, glomerulonephritis, pelvic inflammatory disease (PID), inflammatory bowel disease (IBD, e.g., Crohn's disease, ulcerative colitis), reperfusion injury, rheumatoid arthritis, transplant rejection, and vasculitis. In some embodiments, the present invention provides a method of treating rheumatoid arthritis or lupus. In some embodiments, the present invention provides a 5 method of treating multiple sclerosis. The term "cancer" includes diseases or disorders involving abnormal cell growth and / or proliferation, such as glioma, thyroid carcinoma, breast carcinoma, lung cancer (e.g. small-cell lung carcinoma, non-small-cell lung carcinoma), gastric carcinoma, gastrointestinal stromal tumors, pancreatic carcinoma, bile duct carcinoma, ovarian carcinoma, endometrial carcinoma, 0 prostate carcinoma, renal cell carcinoma, lymphoma (e.g., anaplastic large-cell lymphoma), leukemia (e.g. acute myeloid leukemia, T-cell leukemia, chronic lymphocytic leukemia), multiple myeloma, malignant mesothelioma, malignant melanoma, and colon cancer (e.g. micro satellite instability-high colorectal cancer). In some embodiments, the present invention provides a method of treating leukemia or lymphoma. 25 As used herein, the term “subject” and “patient” may be used interchangeably, and means a mammal in need of treatment, e.g., companion animals (e.g., dogs, cats, and the like), farm animals (e.g., cows, pigs, horses, sheep, goats and the like) and laboratory animals (e.g., rats, mice, guinea pigs and the like). Typically, the subject is a human in need of treatment. As used herein, the term “treating” or ‘treatment” refers to obtaining desired 30 pharmacological and / or physiological effect. The effect can be therapeutic, which includes achieving, partially or substantially, one or more of the following results: partially or totally reducing the extent of the disease, disorder or syndrome; ameliorating or improving a clinical symptom or indicator associated with the disorder; or delaying, inhibiting or decreasing the likelihood of the progression of the disease, disorder or syndrome. 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 The effective dose of a compound provided herein, or a pharmaceutically acceptable salt thereof, administered to a subject can be 10 pg -500 mg. Administering a compound described herein, or a pharmaceutically acceptable salt thereof, to a mammal comprises any suitable delivery method. Administering a compound 5 described herein, or a pharmaceutically acceptable salt thereof, to a mammal includes administering a compound described herein, or a pharmaceutically acceptable salt thereof, topically, enterally, parenterally, transdermally, transmuco sally, via inhalation, intracisternally, epidurally, intravaginally, intravenously, intramuscularly, subcutaneously, intradermally or intravitreally to the mammal. Administering a compound described herein, or a 0 pharmaceutically acceptable salt thereof, to a mammal also includes administering topically, enterally, parenterally, transdermally, transmuco sally, via inhalation, intracisternally, epidurally, intravaginally, intravenously, intramuscularly, subcutaneously, intradermally or intravitreally to a mammal a compound that metabolizes within or on a surface of the body of the mammal to a compound described herein, or a pharmaceutically acceptable salt thereof. 5 Thus, a compound or pharmaceutically acceptable salt thereof as described herein, may be systemically administered, e.g., orally, in combination with a pharmaceutically acceptable vehicle such as an inert diluent or an assimilable edible carrier. They may be enclosed in hard or soft shell gelatin capsules, may be compressed into tablets, or may be incorporated directly with the food of the patient's diet. For oral therapeutic administration, the compound or 0 pharmaceutically acceptable salt thereof as described herein may be combined with one or more excipients and used in the form of ingestible tablets, buccal tablets, troches, capsules, elixirs, suspensions, syrups, or wafers, and the like. Such compositions and preparations should contain at least about 0.1% of active compound. The percentage of the compositions and preparations may, of course, be varied and may conveniently be between about 2 to about 60% of the weight 25 of a given unit dosage form. The amount of active compound in such therapeutically useful compositions can be such that an effective dosage level will be obtained. The tablets, troches, pills, capsules, and the like can include the following: binders such as gum tragacanth, acacia, corn starch or gelatin; excipients such as dicalcium phosphate; a disintegrating agent such as corn starch, potato starch, alginic acid and the like; a lubricant such 30 as magnesium stearate; or a sweetening agent such as sucrose, fructose, lactose or aspartame or a flavoring agent. The active compound may also be administered intravenously or intraperitoneally by infusion or injection. Solutions of the active compound or its salts can be prepared in water, optionally mixed with a nontoxic surfactant. 20222(0826(1) ug 2022 Exemplary pharmaceutical dosage forms for injection or infusion can include sterile aqueous solutions or dispersions or sterile powders comprising the active ingredient which are adapted for the extemporaneous preparation of sterile injectable or infusible solutions or dispersions. In all cases, the ultimate dosage form should be sterile, fluid and stable under the 5 conditions of manufacture and storage. Sterile injectable solutions can be prepared by incorporating the active compound in the required amount in the appropriate solvent with various of the other ingredients enumerated above, as required, followed by filter sterilization. In the case of sterile powders for the preparation of sterile injectable solutions, the preferred methods of preparation can be vacuum 0 drying and the freeze drying techniques, which can yield a powder of the active ingredient plus any additional desired ingredient present in the previously sterile-filtered solutions. Exemplary solid carriers can include finely divided solids such as talc, clay, microcrystalline cellulose, silica, alumina and the like. Useful liquid carriers include water, alcohols or glycols or water-alcohol / glycol blends, in which the compounds or pharmaceutically 5 acceptable salts thereof as described herein can be dissolved or dispersed at effective levels, optionally with the aid of non-toxic surfactants. Useful dosages of a compound or pharmaceutically acceptable salt thereof as described herein can be determined by comparing their in vitro activity, and in vivo activity in animal models. Methods for the extrapolation of effective dosages in mice, and other animals, to 0 humans are known to the art; for example, see U.S. Pat. No. 4,938,949, which is incorporated by reference in its entirety. The amount of a compound or pharmaceutically acceptable salt thereof as described herein, required for use in treatment can vary not only with the particular salt selected but also with the route of administration, the nature of the condition being treated and the age and 25 condition of the patient and can be ultimately at the discretion of the attendant physician or clinician. In general, however, a dose can be in the range of from about 0.1 to about 10 mg / kg of body weight per day. The a compound or pharmaceutically acceptable salt thereof as described herein can be conveniently administered in unit dosage form; for example, containing 0.01 to 10 mg, or 0.05 to 30 1 mg, of active ingredient per unit dosage form. In some embodiments, a dose of 5 mg / kg or less can be suitable. The desired dose may conveniently be presented in a single dose or as divided doses administered at appropriate intervals. The disclosed method can include a kit comprising a compound or pharmaceutically 35 acceptable salt thereof as described herein and instructional material which can describe 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 administering a compound or pharmaceutically acceptable salt thereof as described herein or a composition comprising a compound or pharmaceutically acceptable salt thereof as described herein to a cell or a subject. This should be construed to include other embodiments of kits that are known to those skilled in the art, such as a kit comprising a (such as sterile) solvent for 5 dissolving or suspending a compound or pharmaceutically acceptable salt thereof as described herein or composition prior to administering a compound or pharmaceutically acceptable salt thereof as described herein or composition to a cell or a subject. In some embodiments, the subject can be a human. EXEMPLIFICATIONS 0 LCMS methods: Samples were analyzed on a Waters Acquity UPLC BEH C18 1.7uM 2.1 x 50mm, part number 186002350 machine, MS mode: MS:ESI+ scan range 100-1000 daltons. PDA detection 210-400 nm. The method utilized was 95% water / 5% MeCN (initial conditions) linear gradient to 5% H20 / 95% MeCN at Imin, HOLD 5%H20 / 95%MeCN to 1.3min at 0.7ml / min in 0.1% trifluoroacetic acid (0.1% v / v) and the injection volume was 0.5 uL. 5 SFC separations: Each separation was run with conditions as specified in the examples below, including column name / part number, separation method, backpressure regulator setting on the SFC system, flowrate, detection wavelength, injection volume, sample concentration, and sample diluent. Example 1: 5-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 0 2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,2,4-oxadiazole-3-carboxamide (compound 1) 1. Synthesis of N-(3-bromophenethyl)-4-methylbenzenesulfonamide TsCI (1.15 equiv) HN " Ts' TEA (2.0 equiv) DCM, rt, 2 h Br 202a2m6(D ug 2022 To a mixture of 2-(3-bromophenyl)ethanamine (2 g, 10 mmol) in CH2CI2 (10 mL), triethylamine (2.02 g, 20 mmol) and TsCl (2.18 g, 11.5 mmol) were added at 0 °C. The mixture was stirred at rt for 2 h, diluted with NaOH (IN, 100 mL) and extracted with CH2CI2 (100 mL). The organic layer was washed with water (100 mL), brine (100 mL), dried (Na2SO4) and 5 concentrated in vacuo to give N-(3-bromophenethyl)-4-methylbenzenesulfonamide (3.5 g, yield: 100%) as a yellow oil. ESLMS (M+H)+: 354.0. JH NMR (400 MHz, CDC13) 6: 7.69 (d, J = 8.0 Hz, 2H), 7.34 (d, J = 8.4 Hz, 1H), 7.30 (d, J = 8.0 Hz, 2H), 7.17 (t, J = 1.6 Hz, 1H), 7.13 (t, J = 8.0 Hz, 1H), 7.03-7.02 (m, 1H), 4.52 (t, J = 6.0 Hz, 1H), 3.22-3.17 (m, 2H), 2.73 (t, J = 6.8 Hz, 2H), 2.45 (s, 3H). 0 2. Synthesis of ethyl 2-(N-(3-bromophenethyl)-4-methylphenylsulfonamido)acetate (1.1 equiv) K2CO3 (7.0 equiv) acetone, reflux, 12 h To a mixture of N-(3-bromophenethyl)-4-methylbenzenesulfonamide (7.2 g, 20 mmol) in (CH3)2CO (80 mL), K2CO3 (19.3 g, 140 mmol) and ethyl 2-bromoacetate (3.67 g, 22 mmol) were added. The mixture was stirred at 60 °C for 12 h, cooled to rt and the salt was filtered out. 5 The resulting filtrate was concentrated in vacuo to give ethyl 2-(N-(3-bromophenethyl)-4-methylphenylsulfonamido)acetate (8.78 g, yield: 100%) as a yellow oil. ESLMS (M+H)+: 440.0. 'H NMR (400 MHz, CDC13) 6: 7.70 (d, J = 8.4 Hz, 2H), 7.34 (d, J = 8.4 Hz, 1H), 7.28 (d, J = 8.0 Hz, 2H), 7.14 (t, J = 7.6 Hz, 1H), 7.10-7.08 (m, 2H), 4.08 (q, J = 7.6 Hz, 2H), 3.98 (s, 2H), 3.44 (t, J = 7.6 Hz, 2H), 2.85 (t, J = 7.2 Hz, 2H), 2.42 (s, 3H), 1.19 (t, J = 7.2 Hz, 3H). 20 3. Synthesis of 2-(N-(3-hromophenethyl)-4-methylphenylsulfonamido)acetic acid To a solution of ethyl 2-(N-(3-bromophenethyl)-4-methylphenylsulfonamido)acetate (8.78 mg, 20 mmol) in EtOH (40 mL) and H2O (40 mL) was added NaOH (1.6 g, 40 mmol). The WO 2018 / 191577 PCT / US2018 / 027415 reaction mixture was stirred at rt for 12 h. Then the solvent was reduced and the residue was 202a2m6(D ug 2022 adjusted to pH = 3 with HC1 (1 N). The mixture was extracted with EtOAc (100 mL x 3). The organic layers were dried over (Na2SO4) and concentrated in vacuo to give 2-(N-(3-bromophenethyl)-4-methylphenylsulfonamido)acetic acid as a yellow solid (8.2 g, yield: 100%). 5 ESI-MS (M+H)+: 412.0. 'H NMR (400 MHz, CDC13) 6: 7.69 (d, J = 8.0 Hz, 2H), 7.34 (d, J = 7.6 Hz, 1H), 7.29 (d, J = 8.4 Hz, 2H), 7.22 (s, 1H), 7.14 (t, J = 8.0 Hz, 1H), 7.08-7.06 (m, 1H), 4.00 (s, 2H), 3.45 (t, J = 7.6 Hz, 2H), 2.83 (t, J = 7.6 Hz, 2H), 2.42 (s, 3H). 4. Synthesis of 7-bromo-3-tosyl-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-one <0 A_OH ® / 1) SOCI2 (5.0 equiv), DMF(cat.), DCM, 40 °C, 1 h JI z=\ * Ts-N || | Ts \—4 A 2) AlCk (4.0 equiv), DCM, 0 °C, 1 h \ Br 0 To a solution of 2-(N-(3-bromophenethyl)-4-methylphenylsulfonamido)acetic acid (8.2 g, 20 mmol) in CH2CI2 (100 mL) was added SOCI2 (11.9 g, 100 mmol) and DMF (cat.). The reaction mixture was stirred at 40 °C for 1 h. Then the solvent was removed under reduced pressure and dried in vacuo for 2 h. The residue was dissolved in CH2CI2 (100 mL) and cooled in an ice bath. AICI3 (10.56 g, 80 mmol) was added and the mixture was stirred at 0 °C-rt for 12 h. 5 The mixture was poured into cone. HC1 (20 mL) and extracted with EtOAc (100 mL x 2). The organic layers were washed with water (100 mL), brine (100 mL), dried (Na2SO4), and concentrated in vacuo to afford a residue which was purified by silica gel column (petroleum ether : EtOAc = 4 : 1) to give 7-bromo-3-tosyl-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-one as a yellow solid (1.88 g, yield: 24%). ESI-MS (M+H)+: 394.1. 'H NMR (400 MHz, CDC13) 6: 7.42 20 (d, J = 8.4 Hz, 2H), 7.38 (dd, J= 8.4, 1.6 Hz, 1H), 7.31-7.29 (m, 2H), 7.14 (d, J = 8.0 Hz, 2H), 4.21 (s, 2H), 3.68 (t, J = 6.8 Hz, 2H), 2.93 (t, J = 7.2 Hz, 2H), 2.39 (s, 3H). 5. Synthesis of 7-bromo-3-tosyl-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-amine Ts NH4OAc (20.0 equiv) Ts-N jf jl NaBH3CN (5.0 equiv) V / k i-PrOH, 80°C, 12 h Br 20222(0826(1) ug 2022 Synthesis of 7-bromo-3-tosyl-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-amine was similar to that of Example 2. The residue was purified by silica gel column (CH2CI2 : MeOH = 20 : 1) to give 7-bromo-3-tosyl-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-amine as a yellow solid (154 mg, yield: 64%). ESI-MS (M+H)+: 395.1. JH NMR (400 MHz, CDC13) 6: 7.66 (d, J = 8.4 Hz, 2H), 7.37 (d, J = 8.4 Hz, 2H), 7.31 (dd, J= 8.4, 1.6 Hz, 1H), 7.27 (d, J = 1.6 Hz, 1H), 7.18 (d, J = 8.4 Hz, 1H), 4.12-4.40 (m, 1H), 3.42-3.36 (m, 2H), 3.19-3.12 (m, 2H), 2.96-2.89 (m, 2H), 2.41 (s, 3H). 6. Synthesis of 7-bromo-3-tosyl-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-amine Ts X A mixture of 7-bromo-3-tosyl-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-amine (1.2 g, 3.04 mmol) in HBr / HOAc (33%, 20 mL) was stirred at 70 °C for 12 h. After cooling down, the mixture was diluted with EtOAc (60 mL) and the resulting precipitate was filtered and dried under vacuum to give 7-bromo-3-tosyl-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-amine (870 mg, yield: 71%) as a white solid. ESI-MS (M+H)+: 241.1. 'H NMR (400 MHz, CDC13) 6: 7.65-7.63 (m, 2H), 7.25 (d, J = 8.8 Hz, 1H), 5.17-5.14 (m, 1H), 3.84-3.80 (m, 1H), 3.69-3.65 (m, 1H), 3.44-3.40 (m, 2H), 3.27-3.14 (m, 2H). 7. Synthesis of tert-butyl l-amino-7-bromo-4,5-dihydro-lH-benzo[d]azepine-3(2H)-carboxylate Bocx To a mixture of 7-bromo-3-tosyl-2,3,4,5-tetrahydro-l / / -benzo[6 / ]azepin-l-amine (680 mg, 1.7 mmol) and triethylamine (515 mg, 5.1 mmol) in CH2CI2 (10 mL), BOC2O (333 mg, 1.0 mmol) was added. The mixture was stirred at rt for 2 h. After diluting with CH2CI2 (100 mL), the organic layer was washed with water (30 mL) and brine (30 mL), dried (Na2SO4), filtered and concentrated in vacuo to give tert-butyl l-amino-7-bromo-4,5-dihydro-lH-benzo[d]azepine-3(2H)-carboxylate (450 mg, yield: 77%) as a yellow oil. ESI-MS (M+H)+: 341.0. 'H NMR (400 59 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 MHz, CDC13) d: 7.31 (d, J = 8.0 Hz, 1H), 7.26 (s, 1H), 7.19-7.11 (m, 1H), 4.17-4.10 (m, 1H), 3.83-3.66 (m, 2H), 3.48-3.45 (m, 1H), 3.37-3.14 (m, 2H), 2.78-2.73 (m, 1H), 1.47 (s, 9H). 8. Synthesis of tert-butyl 7-bromo-l-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-4,5-dihydro-lH-benzo[d]azepine-3(2H)-carboxylate 5 Br To a mixture of potassium 5-(tert-butyl)-l,2,4-oxadiazole-3-carboxylate (358 mg, 1.5 mmol) in CH2CI2 (10 mL), (COClh (567 mg, 4.5 mmol) and DMF (cat.) were added at 0 °C. The mixture was stirred at room temperature for 1 h. The mixture was concentrated. The residue was dried in vacuo, then dissolved in CH2CI2 (10 mL), tert-butyl l-amino-7-bromo-4,5-dihydro-lH- 0 benzo[d]azepine-3(2H)-carboxylate (408 mg, 1.5 mmol) and triethylamine (454 mg, 4.5 mmol) were added. The mixture was stirred at rt for 12 h and diluted with CH2CI2 (100 mL). The organic phase was washed with water (50 mL) and brine (50 mL) and concentrated. The residue was purified by silica gel column (PE (petroleum ether): EtOAc (ethyl acetate) = 4:1) to give tert-butyl 7-bromo-l-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-4,5-dihydro-lH- 5 benzo[d]azepine-3(2H)-carboxylate (290 mg, yield: 38%) as a white solid. ESLMS (M+H-56) +: 437.0. 1H NMR (400 MHz, CD3OD) & 7.42-7.38 (m, 2H), 7.26 (d, J = 7.6 Hz, 1H), 5.39 (d, J = 5.2 Hz, 1H), 4.14-4.08 (m, 1H), 4.01-3.87 (m, 1H), 3.75-3.70 (m, 2H), 3.56-3.46 (m, 1H), 3.243.15 (m, 1H), 3.00-2.91 (m, 1H), 1.48 (s, 9H), 1.38 (s, 9H). 9. Synthesis of 2-chloro-4-methoxypyrimidine To a solution of 2,4-dichloropyrimidine (7.5 g, 50 mmol,) in MeOH (80 mL) was added dropwise into a solution of NaOMe (2.84 g, 52.5 mmol) in MeOH (20 mL) at 0 °C. The reaction mixture was stirred at 0 °C for 2 h. The reaction mixture was concentrated in vacuo to give crude product. The crude product was poured into 150 mL of water. The aqueous phase was extracted 25 with EtOAc (100 mL). The organic layer was dried with Na2SO4 and concentrated in vacuum to 20222(0826(1) ug 2022 give 2-chloro-4-methoxypyrimidine (5.9 g, yield: 82%) as a light yellow solid. ESI-MS (M+H)+: 145.0. JH NMR (400 MHz, CDC13) d: 8.27 (d, J = 6.0 Hz, 1H), 6.65 (d, J = 6.0 Hz, 1H), 3.99 (s, 3H). 10. Synthesis of 4-methoxy-N-(l-methyl-lH-pyrazol-4-yl)pyrimidin-2-amine nui / s~-n (1.0 eq) Pd2(dba)3 (0.02 eq), S-Phos (0.04 eq), Cs2CO3 (3.0 eq), dioxane, 120 °C, 4h O To a solution of 2-chloro-4-methoxypyrimidine (120 g, 0.83 mol) in dioxane (2 L) was added l-methyl-lH-pyazol-4-amine hydrochloride (111 g, 0.83 mol), CS2CO3 (0.83 kg, 2.5 mol), S-Phos (13.3 g, 0.03 mol) and Pd2(dba)3 (16.7 g, 0.02 mol). The reaction mixture was stirred at 120 °C under N2 for 4 h. The reaction mixture was cooled to room temperature and water (4 L) 0 was added. The layers were separated and the aqueous phase was extracted with EtOAc (3x2 L). The combined organic layers were washed with brine (3L), dried (Na2SO4) and concentrated. The crude material was purified by silica gel chromatography (PE : EtOAc = 5 : 1 to 1 : 1) to give 4-methoxy-N-(l-methyl-lH-pyrazol-4-yl)pyrimidin-2-amine (73 g, yield: 43%) as a tan solid. ESI-MS (M+H)+: 205.8. 5 11. Synthesis of 4-chloro-N-(l-methyl-lH-pyrazol-4-yl)pyrimidin-2-amine To 4-methoxy-N-(l-methyl-lH-pyrazol-4-yl)pyrimidin-2-amine (1.4 kg, 6.8 mol) was added HBr (11.2L, 38% aqueous). The reaction mixture was heated to 100 °C and stirred at that temperature for 2 h. The reaction mixture was concentrated and then POCI3 (11.2 L) was added. 20 The reaction mixture was heated to 100 °C and stirred at that temperature for 16 h. The reaction mixture was cooled to room temperature and concentrated. Water (10 L) was added to the residue and the pH of the solution was adjusted to pH = 14 with aqueous NaOH (4 M). The basic aqueous phase was extracted with EtOAc (3x10 L). The combined organic layers were washed with brine (9L), dried (Na2SO4) and concentrated. The crude material was purified by silica gel 25 chromatography (PE : EtOAc = 5 : 1 to 2 : 1) to give 4-chloro-N-(l-methyl-lH-pyrazol-4-yl)pyrimidin-2-amine as a white solid (770 g, yield:54%). ESI-MS (M+H)+: 210.0. 20222(0826(1) ug 2022 12. Synthesis of tert-butyl l-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido )-7-(2-((1-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-4,5-dihydro-lH-benzo[d]azepine-3(2H)-carboxylate To a mixture of tert-butyl 7-bromo-l-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-4,5-dihydro-lH-benzo[d]azepine-3(2H)-carboxylate (510 mg, 1.03 mmol) and PinB-BPin (263 mg, 1.0 mmol) in dry 1,4-dioxane (10 mL), KO Ac (303 mg, 3.09 mmol) and Pd(dppf)C12*CH2C12 (81 mg, 0.1 mmol) were added quickly under N2. The mixture was stirred at 100 °C for 12 h under N2. After cooling down, 4-chloro-N-(l-methyl-lH-pyrazol-4-yl)pyrimidin-2-amine (237 mg, 1.13 mmol), K2CO3 (213 mg, 1.54 mmol) and H2O (2.5 mL) were added. The mixture was stirred at 100 °C for 12 h under N2. After cooling down, the mixture was concentrated and purified by silica gel column (CH2CI2 : PE : EtOAc = 1 : 1 : 1) to give tert-butyl l-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-4,5-dihydro-lH-benzo[d]azepine-3(2H)-carboxylate (250 mg, yield: 41%) as a yellow solid. ESLMS (M+H)+: 588.2. JH NMR (400 MHz, CD3OD) & 8.41 (d, J = 4.8 Hz, 1H), 7.99-7.98 (m, 3H), 7.64 (s, 1H), 7.49 (d, 7=8.4 Hz, 1H), 7.21 (d, J = 5.2 Hz, 1H), 5.54-5.47 (m, 1H), 4.184.05 (m, 1H), 3.97-3.90 (m, 4H), 3.87-3.76 (m, 2H), 3.65-3.57 (m, 1H), 3.15-3.11 (m, 1H), 1.49 (s, 9H), 1.39 (s, 9H). 13. Synthesis of 5-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,2,4-oxadiazole-3-carboxamide To a solution of TFA (1 mL) in CH2CI2 (2 mL) was added tert-butyl l-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-4,5-dihydro-lH-benzo[d]azepine-3(2H)-carboxylate (230 mg, 0.39 mmol). The mixture was stirred 62 20222(0826(1) ug 2022 at rt for 1 h, then concentrated and purified by prep-HPLC (CHaCN / water NH4HCO3 0.05% as mobile phrase) to give 5-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)arnino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-l,2,4-oxadiazole-3-carboxamide (120 mg, yield: 58%). ESI-MS (M+H)+: 488.3. JH NMR (400 MHz, CD3OD) & 8.37-8.35 (m, 1H), 7.95 (s, 1H), 5 7.91-7.88 (m, 2H), 7.63 (s, 1H), 7.46 (d, J = 7.6 Hz, 1H), 7.15 (d, J = 4.8 Hz, 1H), 5.34 (d, J = 7.2 Hz, 1H), 3.95 (s, 3H), 3.24-3.19 (m, 1H), 3.11-3.08 (m, 3H), 2.99-2.94 (m, 2H), 1.49 (s, 9H). Example 2. (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide (compound 2) 0 H Method 1: 1. Preparation of 3-(3-Bromo-henzylamino)-propionic acid ethyl ester To a solution of ethyl 3-aminopropanoate (46.0 g, 0.3 mol) and 3-bromobenzaldehyde (55.5 15 g, 0.3 mol) in MeOH (1.2 L) were added triethylamine (60.7 g, 0.6 mol) and NaCNBHs (56.5 g, 0.9 mol) portion-wise. The resulting mixture was stirred at rt for 4 h. The reaction mixture was concentrated in vacuo and the residue was diluted with water (600 mL). The mixture was extracted with EtOAc (3 x 500 mL). The combined organic layer was washed with brine (100 mL), dried over anhydrous Na2SO4, filtered and concentrated in vacuo to give 3-(3-bromo- 20 benzylamino)-propionic acid ethyl ester (46.5 g, yield: 54%) as a light yellow oil. 1H NMR (DMSO-d6, 300 MHz): 8 7.52 (s, 1H), 7.40 (d, J = 7.5 Hz, 1H), 7.31-7.25 (m, 2H), 4.04 (q, J = 7.2 Hz, 2H), 3.67 (s, 2H), 2.69 (t, J = 7.2 Hz, 2H), 2.42 (t, J = 6.9 Hz, 2H), 1.17 (t, J = 6.9 Hz, 3H). 2. Preparation of 3f(3-Bromo-benzyl)-(toluene-4-sulfonyl)-amino]-propionic acid ethyl ester 20222(0826(1) ug 2022 To a solution of 3-(3-bromo-benzylamino)-propionic acid ethyl ester (45.6 g, 0.16 mol) in pyridine (500 mL) was added TosCl (61.0 g, 0.32 mol) at rt. The reaction mixture was stirred at 120 °C for 16 h. The solvent was removed in vacuo to give the crude product. The crude product was purified by column chromatography on silica gel (petroleum ether: EtOAc = 10:1 to 5:1) to afford 3-[(3-Bromo-benzyl)-(toluene-4-sulfonyl)-amino]-propionic acid ethyl ester (61 g, yield: 88%) as a light yellow oil. JH NMR (DMSO-d6, 300 MHz): 8 7.74 (d, J = 8.4 Hz, 2H), 7.49-7.41 (m, 4H), 7.31 (d, J = 5.1 Hz, 2H), 4.33 (s, 2H), 3.93 (q, J = 7.2 Hz, 2H), 3.32 (t, J = 7.2 Hz, 2H), 2.41 (s, 3H), 2.36 (t, J = 6.9 Hz, 2H), 1.10 (t, J = 6.9 Hz, 3H). 3. Preparation of 3-[(3-Bromo-benzyl)-(toluene-4-sulfonyl)-amino]-propionic acid To a solution of 3-[(3-Bromo-benzyl)-(toluene-4-sulfonyl)-amino]-propionic acid ethyl ester (60.0 g, 0.14 mol) in a mixed solvent of EtOH (600 mL) and H2O (60 mL) was added NaOH (11.2 g, 0.28 mol) portion-wise, the reaction solution was stirred at 60 °C for 4 h. The reaction solution was cooled to 0 °C and acidified to pH = 5 with concentrated HC1. The solvent was concentrated in vacuo to give a residue which was extracted with EtOAc (3 xl50 mL). The organic layer was dried with Na2SO4, filtered, and concentrated in vacuo to give 3-[(3-Bromo-benzyl)-(toluene-4-sulfonyl)-amino]-propionic acid (45.2 g, yield: 78.6%) as a white solid. 'H NMR (DMSO-d6, 300 MHz): 8 12.28 (br, 1H), 7.74 (d, J = 8.1 Hz, 2H), 7.49-7.41 (m, 4H), 7.32 (d, J = 5.1 Hz, 2H), 4.33 (s, 2H), 3.29 (t, J = 6.9 Hz, 2H), 2.41 (s, 3H), 2.27 (t, J = 7.5 Hz, 2H). 4. Preparation of 3-[(3-Bromo-benzyl)-(toluene-4-sulfonyl)-amino]-propionyl chloride o (COCI)2 O A DMF, DCM Br^ A YV N OH ----► Y y N Tos Tos To a solution of 3-[(3-Bromo-benzyl)-(toluene-4-sulfonyl)-amino]-propionic acid (45.2 g, 0.11 mol) in CH2CI2 (1000 mL) were added dropwise DMF (1 mL) and oxalyl chloride (27.9 g, 64 202a2m6(D ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 0.22 mol) portion-wise. The reaction solution was stirred at 55 °C for 2 h. The mixture was concentrated in vacuo to give the crude 3-[(3-Bromo-benzyl)-(toluene-4-sulfonyl)-amino]-propionyl chloride (47.2 g, yield: 99%) as a black oil which was used in the next step without further purification. 5. Preparation of 8-Bromo-2-(toluene-4-sulfonyl)-l,2,3,4-tetrahydro-benzo[c]azepin-5-one To a solution of 3-[(3-Bromo-benzyl)-(toluene-4-sulfonyl)-amino]-propionyl chloride (47.0 g, 0.11 mol) in anhydrous CH2CI2 (1200 mL) was added AICI3 (29.3 g, 0.22 mol) portion-wise at rt. The reaction mixture was stirred at 55 °C for 2 h. The reaction mixture was poured into ice water (1.2 L) and extracted with (500 mL). The organic layer was concentrated in vacuo to give the crude product. The crude product was purified by column chromatography on silica gel (petroleum ether: EtOAc = 5:1 to 2:1) to afford 8-bromo-2-(toluene-4-sulfonyl)-l,2,3,4-tetrahydro-benzo[c]azepin-5-one (35 g, yield: 81%) as a white solid. JH NMR (DMSO-de, 300 MHz): 8 7.65 (d, J = 8.4 Hz, 3H), 7.60-7.51 (m, 2H), 7.36 (d, J = 8.1 Hz, 2H), 4.68 (s, 2H), 3.42 (t, J = 9.2 Hz, 2H), 2.96 (t, J = 6.3 Hz, 2H), 2.37 (s, 3H). 6. Preparation of [8-Bromo-2-(toluene-4-sulfonyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl]-carbamic acid tert-butyl ester 1. NH4OAc / EtOH NaBH3CN 2. Boc2O DCM, Et3N To a solution of 8-bromo-2-(toluene-4-sulfonyl)-l,2,3,4-tetrahydro-benzo[c]azepin-5-one (32.0 g, 0.08 mol) in EtOH (600 mL) were added NH4OAc (18.5 g, 0.24 mol) and NaCNBH3 (14.9 g, 0.24 mol) portion-wise at rt. Then the reaction mixture was stirred at 95 °C for 16 h. The mixture was poured into ice water (500 mL) and then EtOH was removed in vacuo. The residue was extracted with CH2CI2 (3 x 500 mL). The combined solvent was concentrated. The residue was redissolved in CH2CI2 (300 mL) and were added triethylamine (12.2 g, 0.12 mol) and (Boc)2O (34.6 g, 0.12 mol) at rt. The mixture was stirred at rt for 4 h and then concentrated in vacuo to give the crude product. The crude product was purified by column chromatography on silica gel (peteroleum ether: EtOAc = 8:1 to 2:1) to afford [8-bromo-2-(toluene-4-sulfonyl)-65 20222(0826(1) ug 2022 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl]-carbamic acid tert-butyl ester (16.7 g, yield: 42%) as a white solid. JH NMR (DMSO d6, 300 MHz): 8 7.62-7.51 (m, 2H), 7.47 (d, J = 9.9 Hz, 1H), 7.41-7.34 (m, 3H), 7.10 (d, J = 8.4 Hz, 1H), 4.81-4.74 (m, 1H), 4.53 (d, J = 15.0 Hz, 1H), 4.28 (d, J = 15.3 Hz, 1H), 3.64-3.57 (m, 1H), 3.41-3.30 (m, 1H), 2.35 (s, 3H), 1.85-1.77 (m, 1H), 5 1.69-1.63 (m, 1H), 1.36 (s, 9H). 7. Preparation of 8-Bromo-2-(toluene-4-sulfonyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-ylamine HNx H2N Boc A solution of [8-bromo-2-(toluene-4-sulfonyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl]-0 carbamic acid tert-butyl ester (14.8 g, 0.03 mol) in HCl / EtOAc (150 mL) was stirred at 25 °C for 4 h. The resulting solid was filtered and washed with MeOH and Et20 to give the product 8-bromo-2-(toluene-4-sulfonyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-ylamine (10.5 g, yield: 89%) as a white solid. 'H NMR (DMSO-d6, 300 MHz): 8 8.79 (br, 3H), 7.64-7.58 (m, 3H), 7.53 (s, 1H), 7.36 (d, J = 8.4 Hz, 2H), 7.15 (d, J = 8.4 Hz, 1H), 4.71-4.61 (m, 2H), 4.31 (d, J = 15.3 5 Hz, 1H), 3.82 (d, J = 18.3 Hz, 1H), 2.38 (s, 3H), 2.14-2.07 (m, 1H), 1.77-1.71 (m, 1H). LC-MS: m / z 395.0 / 397.0 [M+H]+. 8. Synthesis of 8-bromo-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-amine A solution of 8-bromo-2-(toluene-4-sulfonyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5- 20 ylamine (2.00 g, 5.06 mmol) in HBr (33% solution in acetic acid, 20 mL) was heated at 50 °C for 12 h. After cooling to rt, the mixture was diluted EtOAc (50 mL). The white solid was collected by filtration and dried in vacuo to afford crude product 8-bromo-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-amine (1.66 g, yield: 82%), which was used directly in the next step. ESLMS (M+H) + 241.1. 'H NMR (400 MHz, CD3OD) 8: 7.72-7.55 (m, 2H), 7.18 (d, J = 8.4 Hz, 1H), 25 4.99-4.98 (m, 1H), 4.51 (d, J = 14.4 Hz, 1H), 4.39 (d, J = 14.4 Hz, 1H), 3.62-3.49 (m, 2H), 2.38 2.24 (m, 1H), 2.16-2.00 (m, 1H). 20222(0826(1) ug 2022 9. Synthesis of tert-butyl 5-amino-8-bromo-4,5-dihydro-lH-benzo[c]azepine-2(3H)-carboxylate To a solution of 8-bromo-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-amine (640 mg, 1.60 5 mmol) and triethylamine (490 mg, 4.8 mmol) in CH2CI2 (20 mL) was added (Boc)2O (314 mg, 1.44 mmol). The mixture was stirred at rt for 1 h. After diluting with CH2CI2 (100 mL), the mixture was washed with brine (20 mL x 2). The organic phase was concentrated in vacuo and the residue was purified by prep-HPLC (CH3CN / H2O with 0.05% NH3.H2O as mobile phase) to give tert-butyl 5-amino-8-bromo-4,5-dihydro-lH-benzo[c]azepine-2(3H)-carboxylate as a 0 colorless oil (364 mg, yield: 67%). ESLMS (M+H)+: 341.1. 10. The preparation of tert-butyl 8-bromo-5-(5-(tert-butyl)-I,2,4-oxadiazole-3-carboxamido)-4,5-dihydro-lH-benzo[c]azepine-2(3H)-carboxylate Synthesis of tert-butyl 8-bromo-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-4,5- 15 dihydro-lH-benzo[c]azepine-2(3H)-carboxylate was similar to that of tert-butyl 7-bromo-1-(5- (tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-4,5-dihydro-lH-benzo[d]azepine-3(2H)-carboxylate in Example 1, Step 8. The crude product was purified by prep-HPLC (CH3CN / H2O with 0.05% NH4HCO3 as mobile phase) to give tert-butyl 8-bromo-5-(5-(tert-butyl)-1,2,4-oxadiazole-3-carboxamido)-4,5-dihydro-lH-benzo[c]azepine-2(3H)-carboxylate as a yellow 20 solid (4.5 g, yield: 70%). ESLMS (M+H) +: 493.3. 20222(0826(1) ug 2022 11. The preparation of tert-butyl 5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-(fl-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-4,5-dihydro-lH-benzo[c]azepine-2(3H)-carboxylate (1.2 equiv) Pd(dppf)CI2 (0.05 equiv) K2CO3 (2.0 equiv) dioxane / H2O, 100 °C, 2 h Synthesis of tert-butyl 5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-4,5-dihydro-lH-benzo[c]azepine-2(3H)-carboxylate was similar to that of tert-butyl l-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-4,5-dihydro-lH-benzo[d]azepine-3(2H)-carboxylate in Example 1, Step 12. The crude product was purified by silica gel column chromatograph (EtOAc / MeOH = 15:1) to give tert-butyl 5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-4,5-dihydro-lH-benzo[c]azepine-2(3H)-carboxylate as yellow solid (1.2 g, yield: 28%). ESI-MS (M+H) +: 588.3. JH NMR (400 MHz, CD3OD) ¢5: 8.43-8.38 (m, 1H), 8.11-7.95 (m, 3H), 7.67-7.48 (m, 2H), 7.25-7.24 (m, 1H), 5.675.63 (m, 1H), 4.84-4.77 (m, 1H), 4.55-4.50 (m, 1H), 4.17-4.09 (m, 1H), 3.94-3.88 (m, 3H), 3.643.54 (m, 1H), 2.11-2.08 (m, 2H), 1.43-1.34 (m, 9H), 1.22 (s, 9H). 12. The preparation of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide To a solution of tert-butyl 5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-((l- methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-4,5-dihydro-lH-benzo[c]azepine-2(3H)- WO 2018 / 191577 PCT / US2018 / 027415 carboxylate (600 mg, 1.0 mmol) in CH2CI2 (5 mL) was added TFA (5 mL), the mixture was 20222(0826(1) ug 2022 stirred 1 h at rt. After concentration, the crude product (440 mg, yield: 85%) was used in the next step without further purification. ESI-MS (M+H) +: 488.3. 13. The preparation of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(pxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide 0 To a solution of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4- yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide (180 mg, 0.36 mmol) and dihydrofuran-3(2H)-one (132 mg, 1.8 mmol) in MeOH (20 mL) were added NaBHaCN (66 mg, 1.08 mmol) and ZnCO (246 mg, 1.8 mmol). The mixture was stirred at rt for 16 h. After concentration and diluting with water (30 mL), the mixture was extracted with 5 EtOAc (80 mL x 2). The combined organic layer was washed with H2O (60 mL) and concentrated. The crude product was purified by prep-HPLC (CH3CN / H2O with 0.05% NH4HCO3 as mobile phase) to give 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,2,4-oxadiazole-3-carboxamide as a yellow solid (114 mg, yield: 49%). ESLMS (M+H) +: 544.3. H 20 NMR (400 MHz, CD3OD) ¢5: 8.30 (d, J = 5.2 Hz, 1H), 7.92-7.85 (m, 3H), 7.51 (s, 1H), 7.35 (d, J = 8.4 Hz, 1H), 7.11 (d, J = 5.2 Hz, 1H), 5.50 (d, J = 9.6 Hz, 1H), 4.67-4.55 (m, 4H), 3.84-3.70 (m, 3H), 3.80 (s, 3H), 2.95-2.89 (m, 1H), 2.76-2.72 (m, 1H), 2.15-2.12 (m, 1H), 1.95-1.92 (m, 1H), 1.40 (s, 9H). 20222(0826(1) ug 2022 14. The preparation of (R)-5-(tert-butyl)-N-(8-(2-(( 1-methyl-lH-pyra~ol-4-yl)amino)pyrimidin- 4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3- carboxamide 5 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3- yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide was subjected to SFC separation (OD-H (2 x 25 cm), 30% methanol / CO2, 100 bar, 60 mL / min, 220 nm, inj vol.: 1.5 mL, 9 mg / mL, methanol) and yielded 34.8 mg of peak-1 (chemical purity 99%, ee >99%) and 37.1 mg of peak-2 (chemical purity 99%, ee >99%). 0 Peak 2 was assigned as 5-tert-butyl-l,2,4-oxadiazole-3-carboxylic acid {(R)-8-[2-( 1- methyl-lH-pyrazol-4-ylamino)-pyrimidin-4-yl]-2-oxetan-3-yl-2,3,4,5-tetrahydro-lH-2-benzazepin-5-yl}-amide: LCMS: Rt 0.88 min, m / z 544.00. 1H NMR (400 MHz, METHANOL-d4) 5 8.40 (d, J = 5.02 Hz, 1H), 7.87 - 8.09 (m, 3H), 7.63 (s, 1H), 7.45 (d, J = 8.28 Hz, 1H), 7.20 (d, J = 5.27 Hz, 1H), 5.60 (s, 1H), 4.55 - 4.77 (m, 4H), 3.89 (s, 3H), 3.75 - 3.85 (m, 3H), 2.75 - 5 3.10 (m, 2H), 1.89 - 2.42 (m, 2H), 1.51 (s, 9H). Method 2 1. Chiral resolution of tert-butyl 5-amino-8-bromo-4,5-dihydro-lH-benzo[c]azepine-2(3H)-carboxylate to give tert-butyl (R)-5-amino-8-bromo-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2- 20 carboxylate compound with (llbS)-4-hydroxydinaphtho[2,l-d:l ',2 '-f][l,3,2]dioxaphosphepine 4-oxide (1:1) 1. MeOH, reflux 3 hr 2. concentrate 1. 3 vol IPAc reflux 3 hr 2. 3 vol IPAc cooling to rt 20222(0826(1) ug 2022 To tert-butyl 5-amino-8-bromo-4,5-dihydro-lH-benzo[c]azepine-2(3H)-carboxylate (800 g, 2.34 mol) was added MeOH (4.8 L) and (5)-(-)-l,l'-binaphthyl-2,2'-diyl hydrogenphosphate (816.6 g, 2.34 mol). The mixture was stirred at 25 °C for 30 min and formed a yellow slurry. The slurry was stirred at reflux (70 ° C) to give a yellow solution. The mixture was concentrated to 5 dryness and IP Ac (3.44 L) was added. The mixture was heated to 70 °C and was stirred at that temperature for 3 h. The reaction mixture was cooled to room temperature and an additional portion of IP Ac (3.44 L) was added. The reaction mixture continued to stir at room temperature for 16 h. The slurry was filtered on centrifuge and the cake was washed three times, each with 7 vol IP Ac. The wet cake was briefly dried to give tert-butyl (R)-5-amino-8-bromo-l, 3,4,5 0 tetrahydro-2H-benzo[c]azepine-2-carboxylate compound with (1 lbS)-4-hydroxydinaphtho[2,l-d:l',2'-f][l,3,2]dioxaphosphepine 4-oxide (1:1) (515 g. yield:64% ([assuming maximum recovery of 50%], 91.3% ee) as a white solid. The recrystallization process can be repeated to increase the ee to 97.2%. 2. The preparation of tert-butyl (R)-8-bromo-5-(5-(tert-butyl)-l,2,4-oxadiazole-3- TEA (3.0 equiv), DCM, rt, 2 h To a solution of potassium 5-(tert-butyl)-l,2,4-oxadiazole-3-carboxylate (800 mg, 4.0 mmol) and oxalyl chloride (2.0 g, 16 mmol) in CH2CI2 (10 mL) was added DMF (cat.). The mixture was stirred at room temperature for 2 h, and then was concentrated with CH2CI2 twice. 20 The residue was diluted with CH2CI2 (20 mL) and tert-butyl (R)-5-amino-8-bromo-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate compound with (llbR)-4-hydroxydinaphtho[2,l-d:l',2'-f][l,3,2]dioxaphosphepine 4-oxide (1:1) (2.0g, 3.0 mmol) and triethylamine (900 mg, 9.0 mmol) were added. The mixture was stirred at room temperature for 2 h and concentrated. The crude product was purified by silica gel chromatograph y (PE : EtOAc = 2 : 1) to give tert-butyl 25 (R)-8-bromo-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate as a yellow solid (1.2 g, yield: 80%). ESLMS (M+Na) +: 515.1. JH NMR (400 MHz, CDC13) ¢5: 7.48-7.36 (m, 2H), 7.24-7.18 (m, 1H), 5.61-5.50 (m, 1H), 4.70- 20222(0826(1) ug 2022 4.51 (m, 1H), 4.38-4.29 (m, 1H), 4.05-3.85 (m, 1H), 3.53-3.48 (m, 1H), 2.24-2.16 (m, 2H), 1.48 (s, 9H), 1.40-1.37 (m, 9H). 3. Synthesis of tert-butyl (R)-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2- 5 carboxylate Pd(dppf)CI2 (0.05 equiv) K2CO3 (2.0 equiv) dioxane / H2O,100 °C, 2 h Synthesis of tert-butyl (R)-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate was similar to that of tert-butyl l-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-7-0 (2-(( l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-4,5-dihydro-lH-benzo[d]azepine-3(2H)- carboxylate in Example 1, Step 12. The crude material was purified by silica gel chromatography (EtOAc : MeOH = 15 : 1) to give tert-butyl (R)-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate as a yellow solid (1.5 g, yield: 43%). ESI-MS 15 (M+H) +: 588.3. 4. Synthesis of (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 To a solution of tert-butyl (R)-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (1.4 g, 2.3 mmol) in CH2CI2 (10 mL) was added TFA (10 mL). The mixture was stirred for 1 h at room temperature. The reaction mixture was concentrated and the crude 5 product (1.0 g, yield: 81%) was used in the next step without further purification. ESI-MS (M+H) +: 488.3. 5. Synthesis of(R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide (I-RP33) Synthesis of (R)-5-(tert-butyl)-N-(8-(2-((l-methyl- lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide was similar to that of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide 5 described above in method 1, step 13. The crude material was purified by silica gel chromatography (EtOAc : MeOH = 20 : 1) to give (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide as a yellow solid (746 mg, Y: 67%). ESI-MS (M+H) +: 544.3. 'H NMR (400 MHz, CD3OD) ¢5: 8.42 (d, J = 5.2 Hz, 1H), 8.03-7.96 (m, 3H), 7.63 (s, 1H), 7.48 20 (d, J = 8.0 Hz, 1H), 7.23 (d, J = 5.2 Hz, 1H), 5.61 (d, J = 9.6 Hz, 1H), 4.78-4.67 (m, 4H), 3.96 3.82 (m, 3H), 3.90 (s, 3H), 3.06-3.02 (m, 1H), 2.89-2.80 (m, 1H), 2.29-2.22 (m, 1H), 2.07-2.03 (m, 1H), 1.52 (s, 9H). 202a2m6(D ug 2022 Example 3. 5-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3- carboxamide (compound 3) 5 To a solution of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide (200 mg, 0.41 mmol) in CH3CN (20 mL) were added 2-iodoethanol (141 mg, 0.82 mmol) and K2CO3 (170 mg, 1.23 mmol). The mixture was stirred at 80 °C for 2 h. The mixture was diluted with EtOAc (100 mL), washed with water (60 mL) and concentrated. The crude product was purified by prep- 0 HPLC (CH3CN / H2O with 0.05% NH4HCO3 as mobile phase) to give 5-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide as a yellow solid (90 mg, yield: 32%). ESLMS (M+H) +: 532.3. JH NMR (400 MHz, CD3OD) 3: 8.43 (d, J = 5.2 Hz, 1H), 8.04-8.00 (m, 3H), 7.64 (s, 1H), 7.47 (d, J = 8.0 Hz, 1H), 7.25 (d, J = 5.0 Hz, 1H), 5.60 (d, J = 9.6 Hz, 5 1H), 4.22-4.10 (m, 2H), 3.91 (s, 3H), 3.75 (t, J = 6.0 Hz, 2H), 3.28-3.21 (m, 2H), 2.69-2.65 (m, 2H), 2.31-2.27 (m, 1H), 2.00-1.97 (m, 1H), 1.53 (s, 9H). Example 4. 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(methylsulfonyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide (compound 4) 20 Synthesis of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(methylsulfonyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide was similar to that of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 202a2m6(D ug 2022 2-(methylsulfonyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide in Example 15. The crude product was purified by prep-HPLC (CH3CN / H2O with 0.05% NH4HCO3 as mobile phase) to give 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(methylsulfonyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,2,4- 5 oxadiazole-3-carboxamide as a yellow solid (98 mg, yield: 60%). ESI-MS (M+H) +: 566.2. JH NMR (400 MHz, CDC13) 3: 8.45 (d, J = 4.8 Hz, 1H), 8.02 (s, 1H), 7.94-7.92 (m, 2H), 7.57-7.48 (m, 3H), 7.07 (d, J = 5.2 Hz, 1H), 6.96 (s, 1H), 5.72 (t, J = 8.8 Hz, 1H), 4.85-4.81 (m, 1H), 4.574.53 (m, 1H), 4.03-3.97 (m, 1H), 3.93 (s, 3H), 3.66-3.63 (m, 1H), 2.74 (s, 3H), 2.39-2.21 (m, 2H), 1.49 (s, 9H). 0 Example 5. 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide (compound 5) To a solution of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 5 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide (180 mg, 0.36 mmol) and dihydrofuran-3(2H)-one (132 mg, 1.8 mmol) in MeOH (20 mL) were added NaBHsCN (66 mg, 1.08 mmol) and ZnCO (246 mg, 1.8 mmol). The mixture was stirred at rt for 16 h. After concentration and diluting with water (30 mL), the mixture was extracted with EtOAc (80 mL x 2). The combined organic layer was washed with H2O (60 mL) and 20 concentrated. The crude product was purified by prep-HPLC (CH3CN / H2O with 0.05% NH4HCO3 as mobile phase) to give 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,2,4-oxadiazole-3-carboxamide as a yellow solid (114 mg, yield: 49%). ESLMS (M+H) +: 544.3. H NMR (400 MHz, CD3OD) 3: 8.30 (d, J = 5.2 Hz, 1H), 7.92-7.85 (m, 3H), 7.51 (s, 1H), 7.35 (d, J 25 = 8.4 Hz, 1H), 7.11 (d, J = 5.2 Hz, 1H), 5.50 (d, J = 9.6 Hz, 1H), 4.67-4.55 (m, 4H), 3.84-3.70 (m, 3H), 3.80 (s, 3H), 2.95-2.89 (m, 1H), 2.76-2.72 (m, 1H), 2.15-2.12 (m, 1H), 1.95-1.92 (m, 1H), 1.40 (s, 9H). 20222(0826(1) ug 2022 Example 6. 5-(tert-butyl)-N-(2-(3-hydroxycyclobutyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3- carboxamide (compound 6) 5 Synthesis of 5-(tert-butyl)-N-(2-(3-hydroxycyclobutyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide was similar to that of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,2,4-oxadiazole-3-carboxamide in Example 5. The crude product was purified by silica gel 0 chromatography (EtOAc : MeOH = 10 : 1) to give 5-(tert-butyl)-N-(2-(3-hydroxycyclobutyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide as a yellow solid (102 mg, yield: 53%). ESI-MS (M+H) +: 557.7. JH NMR (400 MHz, CD3OD) 3: 8.29 (d, J = 5.2 Hz, 1H), 7.87 (s, 3H), 7.50 (s, 1H), 7.32 (d, J = 8.8 Hz, 1H), 7.09 (d, J = 5.6 Hz, 1H), 5.45 (d, J = 10.0 Hz, 1H), 3.86-3.78 (m, 3H), 3.75 5 (s, 3H), 3.09-3.06 (m, 1H), 2.80-2.74 (m, 1H), 2.50-2.39 (m, 3H), 2.14-2.05 (m, 1H), 1.88-1.85 (m, 1H), 1.72-1.69 (m, 2H), 1.41 (s, 9H). Example 7. 5-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide (compound 7) 20 1. Synthesis of 4-methoxy-N-(l-ethyl-lH-pyrazol-4-yl)pyrimidin-2-amine 20222(0826(1) ug 2022 (1.0 eq) Pd2(dba)3 (0.05 eq), S-Phos (0.1 eq), Cs2CO3 (2.0 eq), dioxane, 100 °C, 4h Synthesis of 4-methoxy-N-(l-methyl-lH-pyrazol-4-yl)pyrimidin-2-amine was similar to that of 4-methoxy-N-(l-methyl-lH-pyrazol-4-yl)pyrimidin-2-amine in Example 1, Step 10. The 5 crude material was purified by silica gel chromatography (PE : EtOAc = 1 : 1) to give 4-methoxy-N-(l-ethyl-lH-pyrazol-4-yl)pyrimidin-2-amine (420 mg, yield: 43%) as a tan solid. ESI-MS (M+H)+: 220.1. 2. Synthesis of 4-chloro-N-(l-eethyl-lH-pyrazol-4-yl)pyrimidin-2-amine 0 To 4-methoxy-N-(l-ethyl-lH-pyrazol-4-yl)pyrimidin-2-amine (420 mg, 1.9 mmol) was added HBr (5 mL, 48% aqueous). The reaction mixture was heated to 100 °C and stirred at that temperature for 2 h. The reaction mixture was concentrated and then POCI3 (5 mL) was added. The reaction mixture was heated to 100 °C and stirred at that temperature for 16 h. The reaction mixture was cooled to room temperature and poured into ice-water. The pH of the solution was 5 adjusted to pH = 8 with aqueous NaOH (5 M). The basic aqueous phase was extracted with EtOAc (2x30 mL). The combined organic layers were washed with brine (100 mL), dried (Na2SO4) and concentrated. The crude material was purified by silica gel chromatography (PE : EtOAc = 1 : 1) to give 4-chloro-N-(l-ethyl-lH-pyrazol-4-yl)pyrimidin-2-amine as a white solid (220 mg, yield:51%). ESLMS (M+H)+: 224.1. 20222(0826(1) ug 2022 3. Synthesis of tert-butyl 5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-((1-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2- carboxylate Cl (1.1 equiv) Pd(dppf)CI2 (0.05 equiv) KO Ac (2.0 equiv) dioxane, 100 °C, 12 h Pd(dppf)CI2 (0.05 eq) K2CO3 (2.0 eq) dioxane / H2O, 80 °C, 2 h To a mixture of tert-butyl 8-bromo-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (560 mg, 1.13 mmol) and PinB-BPin (288 mg, 1.10 mmol) in dry 1,4-dioxane (11 mL), KO Ac (332 mg, 3.39 mmol) and Pd(dppf)C12*CH2C12 (89 mg, 0.11 mmol) were added quickly under N2. The mixture was stirred at 100 °C for 12 h under N2. After cooling down, 4-chloro-N-(l-ethyl-lH-pyrazol-4-yl)pyrimidin-2-amine (301 mg, 1.35 mmol), K2CO3 (312 mg, 2.26 mmol), Pd(dppf)C12*CH2C12 (89 mg, 0.11 mmol) and H2O (2.5 mL) were added. The mixture was stirred at 80 °C for 2 h under N2. After cooling down, the mixture was concentrated and purified by silica gel column (PE: EtOAc = 3 : 1) to give tert-butyl 5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-((1-ethyl-IH-pyr azo l-4-yl)amino)pyrimidin-4-yl)-1,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (200 mg, yield: 29%) as a yellow solid. ESLMS (M+H)+: 602.2. 4. The preparation of 5-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide To a solution of tert-butyl 5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (200 mg, 0.33 mmol) in CH2CI2 (5 mL) was added TFA (5 mL), the mixture was stirred 1 h at rt. 202a2m6(D ug 2022 After concentration, the crude product (166 mg, yield: 100%) was used in the next step without further purification. ESI-MS (M+H) +: 502.7. 5. Synthesis of 5-(tert-buty l)-N-(8-(2-((!-ethyl-lH-pyra~,ol-4-yl)amino)pyrimidin-4-y 1)-2- (oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide (I- 5 RP1) To a solution of 5-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide (166 mg, 0.33 mmol) and dihydrofuran-3(2H)-one (119 mg, 1.65 mmol) in MeOH (18 mL) were added 0 NaBHaCN (21 mg, 0.33 mmol) and ZnCb (90 mg, 0.66 mmol). The mixture was stirred at rt for 3 h. After concentration and diluting with water (30 mL), the mixture was extracted with EtOAc (80 mL x 2). The combined organic layer was washed with H2O (60 mL) and concentrated. The crude product was purified by prep-TLC (CH2CI2 : MeOH = 20 : 1) to give 5-(tert-butyl)-N-(8-(2-(( 1-ethyl-IH-pyrazo l-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH- 5 benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide as a yellow solid (60 mg, yield: 32%). ESI-MS (M+H) +: 557.7. 1H NMR (400 MHz, CDC13) b: 8.42 (d, J = 5.2 Hz, 2H), 7.90 (s, 1H), 7.85 (d, J = 8.0 Hz, 1H), 7.79 (s, 1H), 7.57-7.53 (m, 2H), 7.04 (d, J = 5.2 Hz, 1H), 5.71 (t, J = 8.4 Hz, 1H), 4.82-4.66 (m, 4H), 4.17 (q, J = 7.2 Hz, 2H), 3.91-3.72 (m, 3H), 2.99-2.92 (m, 1H), 2.63-2.58 (m, 1H), 2.40-2.34 (m, 1H), 2.15-2.07 (m, 1H), 1.51(t, J = 7.6 Hz, 3H), 1.45 (s, 9H). 20 Example 8. 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(tetrahydro-2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide (compound 8) 20222(0826(1) ug 2022 Synthesis of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(tetrahydro-2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide was similar to that of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(tetrahydro-2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide in Example 12, Step 4. The crude product was purified by prep-HPLC (CH3CN / H2O with 0.05% NH4HCO3 as mobile phase) to give 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(tetrahydro-2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide as a yellow solid (20 mg, yield: 14%). ESI-MS (M+H) +: 572.3. JH NMR (400 MHz, CD3OD) 3: 8.30 (s, 1H), 7.91-7.86 (m, 3H), 7.53 (s, 1H), 7.36 (d, J = 8.0 Hz, 1H), 7.10 (d, J = 5.6 Hz, 1H), 5.48 (d, J = 9.2 Hz, 1H), 4.19-3.88 (m, 4H), 3.78 (s, 3H), 3.30-3.21 (m, 2H), 3.16-3.03 (m, 2H), 2.67-2.62 (m, 1H), 2.16-2.11 (m, 1H), 1.96-1.83 (m, 3H), 1.64-1.52 (m, 2H), 1.38 (s, 9H). Example 9. (R)-5-(tert-butyl)-N-(8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide (compound 9) 1. Synthesis of tert-butyl (R)-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate A mixture of tert-butyl (R)-8-bromo-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (1.2 g, 2.43 mmol), 4,4,4',4',5,5,5',5'-octamethyl-2,2'-bi(l,3,2-dioxaborolane) (650 mg, 2.56 mmol), KOAc(477 mg, 4.86 mmol) and 80 20222(0826(1) ug 2022 Pd(dppf)C12.DCM (196 mg, 0.24 mmol) in 30 mL 1,4-dioxane was stirred at 90 °C for 2 h under nitrogen. After cooling to room temperature, the mixture was diluted with EtOAc (200 mL), washed with water (50 mLx2), dried with Na2SO4 and concentrated to give tert-butyl (R)-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)- 5 l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate which was used for the next step without further purification. ESLMS (M+H) +: 541.3. 2. Synthesis of tert-butyl (R)-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-chloropyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate 0 A mixture of tert-butyl (R)-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (1.31 g, 2.43 mmol), 2,4-dichloropyrimidine (344 mg, 2.31 mmol), Pd(dppf)Cl2 (196 mg, 0.24 mmol) and K2CO3 (672 mg, 4.86 mmol) in 20 mL of dioxane / H2O (4:1) was stirred at 90 °C for 12 h under N2 atmosphere. After removing the solvent, the residue was purified by silica-gel 5 chromatography (CH2CI2 : MeOH = 20 : 1) to give tert-butyl (R)-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-chloropyrimidin-4-yl)-1,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate as a yellow solid (900 mg, yield: 70% for two steps). ESLMS (M+H) +: 527.2. 3. Synthesis of tert-butyl (R)-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-(fl,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2- 20 carboxylate Pd2(dba)3 (0.1 eq) S-Phos (0.2 eq) Cs2CO3 (2.0 eq) dioxane, 100 °C, 2 h 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 A mixture of tert-butyl (R)-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-chloropyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (900 mg, 1.71 mmol), l,5-dimethyl-lH-pyrazol-4-amine (228 mg, 2.05 mmol), Cs2CO3(l.ll g, 3.42 mmol), Pd2(dba)3 (157 mg, 0.17 mmol) and S-Phos (140 mg, 0.34 mmol) in 15 mL 1,4-dioxane was 5 stirred at 100 °C for 2 h under nitrogen. The mixture was diluted with EtOAc (200 mL) and washed with water (60 mLx2). The organic phase was dried with Na2SO4 and concentrated. The crude product was purified by silica gel chromatography (DCM / MeOH = 20:1) to give tert-butyl (R)-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate as a yellow solid 0 (110 mg, yield: 11%). ESI-MS (M+H) +: 602.3. JH NMR (400 MHz, CDC13) 3: 8.39-8.38 (m, 1H), 7.93-7.90 (m, 2H), 7.67 (s, 1H), 7.46-7.44 (m, 2H), 7.05 (d, J = 4.2 Hz, 1H), 6.48-6.41 (m, 1H), 5.69-5.59 (m, 1H), 4.81-4.66 (m, 1H), 4.50-4.41 (m, 1H), 4.10-4.03 (m, 1H), 3.81 (s, 3H), 3.61-3.52 (m, 1H), 2.23 (s, 3H), 2.20-2.16 (m, 2H), 1.40 (s, 9H), 1.34-1.30 (m, 9H). 4. Synthesis of (R)-5ftert-butyl)-N-(8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4- 5 yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide Synthesis of (R)-5-(tert-butyl)-N-(8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide was like that of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH- 20 benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide in Example 2. The crude material was carried forward without further purification. ESI-MS (M+H) +: 502.2. 202a2m6(D ug 2022 5. Synthesis of (R)-5-(tert-butyl)-N-(8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide 5 Synthesis of (R)-5-(tert-butyl)-N-(8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin- 4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide was similar to that of 5-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,2,4-oxadiazo le-3-carboxamide in Example 3. The crude material was purified by silica gel 0 chromatography (CH2CI2 : MeOH = 10 : 1) to give (R)-5-(tert-butyl)-N-(8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2-hydroxyethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide as a yellow solid (43 mg, yield 42%). ESI-MS (M+H) +: 546.3. JH NMR (400 MHz, CD3OD) ¢5: 8.32 (d, J = 5.2 Hz, 1H), 8.00-7.98 (m, 2H), 7.60 (s, 1H), 7.42 (d, J = 8.0 Hz, 1H), 7.23 (d, J = 5.2 Hz, 1H), 5.58-5.56 (m, 1H), 4.16-4.10 (m, 2H), 3.82 (s, 5 3H), 3.73 (t, J = 6.0 Hz, 2H), 3.30-3.21 (m, 2H), 2.67-2.65 (m, 2H), 2.30-2.27 (m, 1H), 2.25 (s, 3H), 2.02-1.96 (m, 1H), 1.52 (s, 9H). Example 10. 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(tetrahydrofuran-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide (compound 10) O (5.0 equiv) NaBH3CN (5.0 equiv) ZnCI2 (10.0 equiv) MeOH, 50 °C, 4 h Synthesis of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide was similar to that described in Example 7, Step 3. The crude material was purified 202a2m6(D ug 2022 by prep-HPLC (CH3CN / H2O with 0.05% NH4HCO3 as mobile phase) to give 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(tetrahydrofuran-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide as a yellow solid (97 mg, yield: 57%). ESI-MS (M+H) +: 558.3. JH NMR (400 MHz, CD3OD) 3: 8.43 (d, J = 5.2 Hz, 1H), 8.04-7.99 (m, 3H), 7.64-7.63 (m, 1H), 7.48 (d, J = 8.0 Hz, 1H), 7.24 (d, J = 5.2 Hz, 1H), 5.61 (d, J = 9.6 Hz, 1H), 4.10-3.91 (m, 4H), 3.90 (s, 3H), 3.78-3.71 (m, 2H), 3.36-3.10 (m, 3H), 2.332.20 (m, 2H), 2.06-1.96 (m, 2H), 1.52 (s, 9H). Example 11. (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2,2,2-trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide (compound 11) 1. Synthesis of tert-butyl (R)-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate Pd(dppf)CI2 (0.05 equiv) K2CO3 (2.0 equiv) dioxane / H2O,100 °C, 2 h Synthesis of tert-butyl (R)-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate was similar to that of tert-butyl l-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-7-(2-(( 1-methyl-lH-pyr azo l-4-yl)amino)pyrimidin-4-yl)-4,5-dihydro-lH-benzo[d]azepine-3(2H)-carboxylate in Example 1, Step 12. The crude material was purified by silica gel chromatography 84 20222(0826(1) ug 2022 (EtOAc : MeOH = 15 : 1) to give tert-butyl (R)-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate as a yellow solid (1.5 g, yield: 43%). ESI-MS (M+H) +: 588.3. 2. Synthesis of (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-5 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide To a solution of tert-butyl (R)-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (1.4 g, 2.3 mmol) in CH2CI2 (10 mL) was added TFA (10 mL). The mixture was 0 stirred for 1 h at room temperature. The reaction mixture was concentrated and the crude product (1.0 g, yield: 81%) was used in the next step without further purification. ESI-MS (M+H) +: 488.3. 3. Synthesis of(R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2,2,2-trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3- 5 carboxamide To a solution of (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide (75 mg, 0.15 mmol) in CH3CN (5 mL) were added 2,2,2-trifluoroethyl trifluoromethanesulfonate (60 mg, 0.3 20 mmol) and DIPEA (34 mg, 0.3 mmol). The mixture was stirred at 80 °C for 2 h under 202a2m6(D ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 microwave. The mixture was concentrated and purified by prep-TLC (DCM / MeOH=10:l) to give (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2,2,2-trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide as a yellow solid (45 mg, yield: 58%). ESI-MS (M+H) +: 570.2. JH NMR (400 MHz, CD3OD) 3: 8.30 5 (d, J = 5.6 Hz, 1H), 7.92-7.86 (m, 3H), 7.50 (s, 1H), 7.35 (d, J = 8.0 Hz, 1H), 7.10 (d, J = 5.6 Hz, 1H), 5.48-5.50 (m, 1H), 4.26-4.22 (m, 1H), 4.02-3.98 (m, 1H), 3.78 (s, 3H), 3.32-3.27 (m, 1H), 3.21-3.17 (m, 1H), 3.05-2.98 (m, 2H), 2.17-2.07 (m, 1H), 1.91-1.82 (m, 1H), 1.40 (s, 9H). Example 12. 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(tetrahydro-2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-0 carboxamide (compound 12) 1. The preparation of tert-butyl 8-bromo-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)- 4,5-dihydro-lH-benzo[c]azepine-2(3H)-carboxylate 15 To a solution of potassium 5-(tert-butyl)-l,3,4-oxadiazole-2-carboxylate (1.4 g, 6.7 mmol) and HATU (3.2 g, 8.4 mmol) in DMF (20 mL) were added triethylamine (1.69 g, 16.8 mmol) and tert-butyl 5-amino-8-bromo-4,5-dihydro-lH-benzo[c]azepine-2(3H)-carboxylate (1.9 g, 5.6 mmol). The mixture was stirred at rt for 4 h. After diluting with water (80 mL), the mixture was extracted with EtOAc (100 mL x 2). The combined organics were washed with brine (80 mL), 20 dried, and concentrated. The crude product was purified by silica gel column chromatograph (PE / EtOAc = 2:1) to give tert-butyl 8-bromo-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-4,5-dihydro-lH-benzo[c]azepine-2(3H)-carboxylate as yellow solid (1.8 g, yield: 62%). ESLMS (M+H-56) +: 437.3. 'H NMR (400 MHz, CD3OD) 3: 7.51-7.43 (m, 2H), 7.28-7.26 (m, 1H), 5.525.45 (m, 1H), 4.65-4.61 (m, 1H), 4.43-4.39 (m, 1H), 4.15-4.09 (m, 1H), 3.65-3.43 (m, 1H), 2.08 25 2.03 (m, 2H), 1.50 (s, 9H), 1.43-1.42 (m, 9H). 20222(0826(1) ug 2022 2. The preparation of tert-butyl 5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-4,5-dihydro-lH-benzo[c]azepine-2(3H)-carboxylate Pd(dppf)CI2 (0.05 equiv) K2CO3 (2.0 equiv) dioxane / H2O, 80 °C, 16 h 5 A mixture of tert-butyl 8-bromo-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-4,5-dihydro-lH-benzo[c]azepine-2(3H)-carboxylate (1.6 g, 3.2 mmol), PinB-BPin (802 mg, 3.84 mmol), KO Ac (640 mg, 6.4 mmol) and Pd(dppf)C12*CH2C12 (130 mg, 0.16 mmol) in 20 mL dry 1,4-dioxane was stirred at 80 °C for 16 h under nitrogen. After the mixture was cooled to rt, 4-chloro-N-(l-methyl-lH-pyrazol-4-yl)pyrimidin-2-amine (802 mg, 3.84 mmol), 0 Pd(dppf)C12*CH2C12 (130 mg, 0.16 mmol), K2CO3(1.3 g, 9.6 mmol), and H2O (5 mL) were added and the resulting mixture was stirred at 80 °C for another 16 h. The mixture was diluted with EtOAc (200 mL), washed with water (80 mLx2), dried with Na2SO4, and concentrated. The crude product was purified by silica gel column chromatography (EtOAc / MeOH = 20:1) to give tert-butyl 5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4- 15 yl)amino)pyrimidin-4-yl)-4,5-dihydro-lH-benzo[c]azepine-2(3H)-carboxylate as yellow solid (1.4 g, yield: 86%). ESLMS (M+H) +: 588.3. JH NMR (400 MHz, CD3OD) ¢5: 8.42-8.38 (m, 1H), 8.11-7.95 (m, 3H), 7.66-7.50 (m, 2H), 7.24-7.21 (m, 1H), 5.64-5.62 (m, 1H), 4.85-4.47 (m, 2H), 3.93-3.88 (m, 1H), 3.57-3.54 (m, 1H), 2.12-2.10 (m, 2H), 1.51 (s, 9H), 1.43-1.34 (m, 9H) 3. The preparation of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4- 20 yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 To a solution of tert-butyl 5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-4,5-dihydro-lH-benzo[c]azepine-2(3H)-carboxylate (600 mg, 1.02 mmol) in CH2CI2 (5 mL) was added TFA (5 mL). The mixture was stirred 1 h at rt. After removal of the solvent, the residue was dried in vacuo to give crude title 5 product (460 mg, yield: 80%), which was used in the next step without further purification. ESIMS (M+H) +: 488.3. 4. Synthesis of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(tetrahydro-2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide NaBH3CN (5.0 equiv) CH3COOH (cat) MeOH, 50 °C, 4 h 0 (5.0 equiv) To a solution of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (170 mg, 0.35 mmol) and dihydro-pyran-4-one (175 mg, 1.75 mmol) in MeOH (30 mL) were added NaBHjCN (112 mg, 1.75 mmol) and CH3COOH (cat). The mixture was stirred at 50 °C for 4 h. After 5 cooling to rt, the mixture was adjusted to pH = 8 with cone. NH4OH. After concentration, the crude product was purified by prep-HPLC (CH3CN / H2O with 0.05% NH4HCO3 as mobile phase) to give 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(tetrahydro-2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide as a yellow solid (24 mg, yield: 9%). ESI-MS (M+H) +: 572.3. 'H NMR (400 MHz, CD3OD) 3: 20 8.29 (d, J = 5.2 Hz, 1H), 7.91-7.85 (m, 3H), 7.53 (s, 1H), 7.36 (d, J = 8.0 Hz, 1H), 7.10 (d, J = 5.6 Hz, 1H), 5.44 (d, J = 9.2 Hz, 1H), 4.08-3.86 (m, 4H), 3.78 (s, 3H), 3.28-3.20 (m, 3H), 3.083.01 (m, 1H), 2.63-2.57 (m, 1H), 2.14-2.09 (m, 1H), 1.94-1.76 (m, 3H), 1.63-1.49 (m, 2H), 1.38 (s, 9H). Example 13. 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- 25 (oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (compound 13) 20222(0826(1) ug 2022 Synthesis of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide was similar to that of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- 5 (tetrahydro-2H-pyran-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide in Example 8. The crude product was purified by prep-HPLC (CH3CN / H2O with 0.05% NH4HCO3 as mobile phase) to give 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-oxadiazole-2-carboxamide as a yellow solid (59 mg, yield: 33%). ESI-MS (M+H) +: 544.2. JH 0 NMR (400 MHz, CD3OD) 3: 8.29 (d, J = 5.2 Hz, 1H), 7.91 (d, J = 8.0 Hz, 1H), 7.86 (s, 1H), 7.83 (s, 1H), 7.51 (s, 1H), 7.36 (d, J = 8.4 Hz, 1H), 7.09 (d, J = 5.2 Hz, 1H), 5.46 (d, J = 10.0 Hz, 1H), 4.65-5.55 (m, 4H), 3.83-3.67 (m, 3H), 3.77 (s, 3H), 2.96-2.93 (m, 1H), 2.79-2.73 (m, 1H), 2.13-2.10 (m, 1H), 1.93-1.90 (m, 1H), 1.38 (s, 9H). Example 14. (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 5 2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (compound 14a) and (S)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4- oxadiazole-2-carboxamide (compound 14b) Method 1 14a 14b 5-tert-Butyl-l,3,4-oxadiazole-2-carboxylic acid {8-[2-(l-methyl-lH-pyrazol-4-ylamino)-pyrimidin-4-yl]-2-oxetan-3-yl-2,3,4,5-tetrahydro-lH-2-benzazepin-5-yl}-amide (264 mg) was 202a2m6(D ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 subjected to SFC separation (OD-H (2 x 25 cm), 30% methanol (0.1% DEA) / CO2, 100 bar, 65 mL / min, 220 nm, inj vol.: 0.5 mL, 4 mg / mL, methanol) and yielded 93 mg of peak-1 (chemical purity >99%, ee >99%) and 97 mg of peak-2 (chemical purity >99%, ee >99%). Peak 1 was assigned as 5-tert-butyl-l,3,4-oxadiazole-2-carboxylic acid {(R)-8-[2-(l- 5 methyl- lH-pyrazol-4-ylamino)-pyrimidin-4-yl]-2-oxetan-3-yl-2,3,4,5-tetrahydro- 1H-2- benzazepin-5-yl}-amide: LCMS: Rt 0.84 min, m / z 544.2. JH NMR (400 MHz, METHANOL-d4) 5 8.41 (br. s., 1H), 7.84 - 8.14 (m, 3H), 7.63 (br. s., 1H), 7.47 (t, J = 7.56 Hz, 1H), 7.21 (d, J = 10.04 Hz, 1H), 5.57 (d, J = 9.29 Hz, 1H), 4.61 - 4.80 (m, 4H), 3.66 - 4.07 (m, 6H), 3.05 (br. s., 1H), 2.88 (d, J = 9.04 Hz, 1H), 2.23 (br. s., 1H), 2.05 (br. s., 1H), 1.50 (d, J = 2.89 Hz, 9H). 0 Peak 2 was assigned as 5-tert-butyl-l,3,4-oxadiazole-2-carboxylic acid {(S)-8-[2-(l-methyl-IH-pyr azo l-4-ylamino)-pyrimidin-4-yl]-2-oxetan-3-yl-2,3,4,5-tetrahydro-lH-2-benzazepin-5-yl}-amide: LCMS: Rt 0.84 min, m / z 544.2. 'H NMR (400 MHz, METHANOL-d4) 8 8.42 (d, J = 5.02 Hz, 1H), 7.86 - 8.14 (m, 3H), 7.63 (s, 1H), 7.48 (d, J = 8.09 Hz, 1H), 7.22 (d, 7= 5.27 Hz, 1H), 5.58 (d, J = 9.73 Hz, 1H), 4.59 - 4.81 (m, 4H), 3.73 - 4.05 (m, 6H), 3.05 (br. s., 1H), 2.89 5 (br. s., 1H), 2.23 (br. s., 1H), 2.06 (d, J = 5.52 Hz, 1H), 1.50 (s, 9H). Method 2 1. Synthesis of tert-butyl (R)-8-bromo-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)~ l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate 20 To a solution of tert-butyl (R)-5-amino-8-bromo-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (3.1 g, 4.5 mmol) and triethylamine (910 mg, 9.0 mmol) in DCM (100 mL) were added HATU (2.6 g, 6.8 mmol) and potassium 5-(tert-butyl)-l,3,4-oxadiazole-2-carboxylate (1.12 g, 5.4 mmol). The mixture was stirred at rt for 2 h. Then water (100 mL) was added and the mixture was extracted with DCM (2 x 100 mL). The combined organics were dried and 25 concentrated. The crude product was purified by silica gel column chromatography (petroleum ether / EtOAc = 4:1) to give tert-butyl (R)-8-bromo-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate as white solid (1.8 g, yield: 82%). ESLMS (M+H)+: 493.1. 20222(0826(1) ug 2022 2. Synthesis of tert-butyl (R)-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-8-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate A mixture of tert-butyl (R)-8-bromo-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)- 5 l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (1.8 g, 3.65 mmol), bis(pinocolato)diboron (975 mg, 3.84 mmol), KOAc(715 mg, 7.30 mmol) and Pd(dppf)C12.DCM (293 mg, 0.36 mmol) in 30 mL 1,4-dioxane was stirred at 90 °C for 2 h under nitrogen. After cooling to rt, the mixture was diluted with EtOAc (200 mL), washed with water (2 x 50 mL), dried with Na2SO4 and concentrated. The crude product tert-butyl (R)-5-(5-(tert-butyl)-l,3,4-oxadiazole-2- 0 carboxamido)-8-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-l,3,4,5-tetrahydro-2H- benzo[c]azepine-2-carboxylate was used for next step without purification. ESLMS (M+H) +: 541.3. 3. Synthesis of tert-butyl (R)-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-8-(2-(fl-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2- 5 carboxylate A mixture of tert-butyl (R)-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-8-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (4.85 g, 8.98 mmol), 4-chloro-N-(l-methyl-lH-pyrazol-4-yl)pyrimidin-2-amine (1.88 g, 8.98 mmol), 20 Pd(dppf)C12(734 mg, 0.9 mmol) and K2CO3 (2.48 g, 18 mmol) in dioxane / H2O (4:1, 20 mL) was degassed and stirred at 100 °C for 2 h under a N2 atmosphere. After concentration of the reaction mixture, the residue was purified by silica-gel chromatography (EtOAc : PE = 2 : 1) to give tertbutyl (R)-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4- 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate as a yellow solid (3.4 g, yield: 51%). ESI-MS (M+H) +: 588.3. 4. Synthesis of (R)-5-(tert-butyl)-N-(8-(2-(( 1-methyl-lH-pyra~ol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide To a solution of tert-butyl (R)-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (3.4 g, 5.79 mmol) in DCM (10 mL)was added TFA (4 mL). The resulting solution was stirred at room temperature for 2 h. After concentration of the reaction mixture, the residue 0 was dissolved in MeOH (10 mL) and adjusted to pH = 8 with aqueous ammonia. Then water (20 mL) was added and the mixture was extracted with DCM / MeOH solutions (20:1, 30 mLx3). The organic phase was dried and concentrated to give crude (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-oxadiazole-2-carboxamide as a yellow solid (2.47 g, yield: 88%), which was used to next step 5 without further purification. ESLMS (M+H) +: 488.2. 5. Synthesis of (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (I-RP38) 20 14 202a2m6(D ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 To a solution of (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (1.5 g, 3.08 mmol) and oxetan-3-one (1.1 g, 15.4 mmol) in MeOH (30 mL) was added NaBHaCN (970 mg, 15.4 mmol) and ZnCP (4.2 g, 30.8 mmol). The resulting mixture was stirred at room temperature 5 for 4 h. After diluting with H2O (20 mL), the mixture was extracted with DCM / MeOH solutions (20:1, 20 mL x3). The combined organic layers were dried and concentrated. The residue was purified by silica-gel chromatography (DCM : MeOH = 50 : 1 to 20:1) to give (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide as a yellow solid (1.1 g, yield: 58 %). 0 ESLMS (M+H) +: 544.3. 1H NMR (400 MHz, CDC13) d: 8.42 (d, J = 5.2 Hz, 1H), 8.32 (br, 1H), 7.86-7.78 (m, 3H), 7.53-7.26 (m, 2H), 7.15 (s, 1H), 7.05-7.03 (m, 1H), 5.62 (t, J= 8.4 Hz, 1H), 4.75-4.67 (m, 4H), 3.94-3.85 (m, 6H), 3.02-2.96 (m, 1H), 2.75-2.70 (m, 1H), 2.35-2.31 (m, 1H), 2.14-2.07 (m, 1H), 1.47 (s, 9H). Example 15. 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- 5 (methylsulfonyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (compound 15) To a solution of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (100 mg, 0.20 20 mmol) in CH2CI2 (20 mL) were added MsCl (34 mg, 0.3 mmol) and triethylamine (61 mg, 0.60 mmol). The mixture was stirred at rt for 2 h. The mixture was diluted with CH2CI2 (100 mL), washed with brine (60 mL), and concentrated. The crude product was purified by prep-HPLC (CH3CN / H2O with 0.05% NH4HCO3 as mobile phase) to give 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(methylsulfonyl)-2,3,4,5-tetrahydro-lH- 25 benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide as a yellow solid (130 mg, yield: 87%). ESLMS (M+H) +: 566.3. 'H NMR (400 MHz, DMSO-d6) ¢5: 10.01 (d, J = 7.6 Hz, 1H), 9.57 (s, 1H), 8.49 (d, J = 5.2 Hz, 1H), 8.07 (s, 1H), 8.04 (d, J = 8.4 Hz, 1H), 7.99 (br, 1H), 7.50 (s, 1H), 7.47 (d, J = 8.4 Hz, 1H), 7.27 (d, J = 5.2 Hz, 1H), 5.56-5.51 (m, 1H), 4.75-4.70 (m, 1H), 4.60- WO 2018 / 191577 PCT / US2018 / 027415 4.56 (m, 1H), 3.86-3.84 (m, 1H), 3.83 (s, 3H), 3.61-3.58 (m, 1H), 2.80 (s, 3H), 2.15-2.09 (m, 20222(0826(1) ug 2022 2H), 1.43 (s, 9H). Example 16. (R)-5-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-isopropyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-5 carboxamide (compound 16) 1. Synthesis of tert-butyl (R)-8-bromo-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)~ l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate 0 To a solution of tert-butyl (R)-5-amino-8-bromo-l,3,4,5-tetrahydro-2H-benzo[c]azepine- 2-carboxylate (3.1 g, 4.5 mmol) and triethylamine (910 mg, 9.0 mmol) in DCM (100 mL) were added HATU (2.6 g, 6.8 mmol) and potassium 5-(tert-butyl)-l,3,4-oxadiazole-2-carboxylate (1.12 g, 5.4 mmol). The mixture was stirred at rt for 2 h. Then water (100 mL) was added and the mixture was extracted with DCM (2 x 100 mL). The combined organics were dried and 15 concentrated. The crude product was purified by silica gel column chromatography (petroleum ether / EtOAc = 4:1) to give tert-butyl (R)-8-bromo-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate as white solid (1.8 g, yield: 82%). ESLMS (M+H)+: 493.1. 20222(0826(1) ug 2022 2. Synthesis of tert-butyl (R)-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-8-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate A mixture of tert-butyl (R)-8-bromo-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)- 5 l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (1.8 g, 3.65 mmol), bis(pinocolato)diboron (975 mg, 3.84 mmol), KOAc(715 mg, 7.30 mmol) and Pd(dppf)C12.DCM (293 mg, 0.36 mmol) in 30 mL 1,4-dioxane was stirred at 90 °C for 2 h under nitrogen. After cooling to rt, the mixture was diluted with EtOAc (200 mL), washed with water (2 x 50 mL), dried with Na2SO4 and concentrated. The crude product tert-butyl (R)-5-(5-(tert-butyl)-l,3,4-oxadiazole-2- 0 carboxamido)-8-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate was used for next step without purification. ESLMS (M+H) +: 541.3. 3. Synthesis of tert-butyl (R)-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-8-(2-chloropyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate A mixture of tert-butyl (R)-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-8-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate, 2,4-dichloropyrimidine (648 mg, 4.38 mmol), K2CO3 (1.0 g, 7.30 mmol) and Pd(dppf)C12.DCM (293 mg, 0.36 mmol) in 30 mL 1,4-dioxane and 6 mL water was stirred at 90 °C for 12 h under 20 nitrogen. The mixture was dilute with EtOAc (200 mL) and washed with water (2 x 60 mL). The organic phase was dried with Na2SO4 and concentrated. The crude product was purified by silica gel column chromatography (DCM / MeOH = 20:1) to give tert-butyl (R)-5-(5-(tert-butyl)-l,3,4- 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 oxadiazole-2-carboxamido)-8-(2-chloropyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate as a yellow solid (1.3 g, yield: 67% for two steps). ESI-MS (M+H) +: 527.2. 4. Synthesis of tert-butyl (R)-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2- 5 carboxylate Synthesis of tert-butyl (R)-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate was similar to that of tert-butyl (R)-5-(5-(tert-butyl)-l,2,4-oxadiazole-3- 0 carboxamido)-8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (Example 9, Step 3). The crude product was purified by silica gel column chromatography (EtOAc / petroleum ether = 3:1) to give tert-butyl (R)-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate as a yellow solid (280 mg, yield: 78%). 5 ESI-MS (M+H) +: 616.3. 5. Synthesis of (R)-5-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide Synthesis of (R)-5-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-20 yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide was similar to that of (R)-5-(tert-butyl)-N-(8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide (Example 9, Step 4). Crude 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 (R)-5-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide as yellow solid (240 mg) was used to next step without further purification. ESI-MS (M+H) +: 516.3. 6. Synthesis of (R)-5-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-isopropyl-lH-pyrazol-4- 5 yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2- carboxamide 16 To a solution of (R)-5-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-0 4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (240 mg, 0.47 mmol) and 2-iodoethanol (200 mg, 1.17 mmol) in 10 mL of CH3CN was added K2CO3 (195 mg, 1.41 mmol). The resulting mixture was stirred at 80 °C for 24 h. After diluting with H2O (20 mL), the mixture was extracted with DCM / MeOH solutions (20:1, 3 x 40 mL). The combined organic layers were dried (Na2SO4) and concentrated. The residue was purified by prep-TLC 5 (DCM / MeOH = 10:1) to give (R)-5-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-oxadiazole-2-carboxamide as a yellow solid (108 mg, yield: 42 %). ESLMS (M+H) +: 560.3. H NMR (400 MHz, CD3OD) ¢5: 8.37 (d, J = 5.2 Hz, 1H), 8.03 (s, 1H), 7.98-7.95 (m, 2H), 7.66 (s, 1H), 7.44 (d, J = 8.4 Hz, 1H), 7.17 (d, J = 5.2 Hz, 1H), 5.55 (d, J = 9.6 Hz, 1H), 4.54-4.37 (m, 20 1H), 4.17-4.04 (m, 2H), 3.71 (t, J = 6.0 Hz, 2H), 3.30-3.17 (m, 2H), 2.29-2.25 (m, 2H), 2.29-2.25 (m, 1H), 1.99-1.95 (m, 1H), 1.52 (d, J = 6.4 Hz, 6H), 1.49 (s, 9H). 202a2m6(D ug 2022 Example 17. (R)-5-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (compound 17) NaBH3CN (5.0 equiv) ZnCI2 (10.0 equiv) MeOH, rt, 16 h 5 A mixture of (R)-5-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (220 mg, 0.43 mmol), oxetan-3-one (157 mg, 2.15 mmol), NaBH3CN (135 mg, 2.15 mmol) and ZnCl2 (585 mg, 4.30 mmol) in 10 mL MeOH was stirred at rt for 16 h. The mixture was dilute with EtOAc (150 mL) and washed with water (50 mLx2). The organic phase was dried with Na2SO4 and 0 concentrated. The crude product was purified by silica gel chromatography (DCM : MeOH = 15 : 1) to give (R)-5-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide as a yellow solid (146 mg, yield: 60%). ESI-MS (M+H) +: 572.3. 'H NMR (400 MHz, CDC13) d: 8.42 (d, J = 5.2 Hz, 1H), 8.05-7.97 (m, 3H), 7.67 (s, 1H), 7.48 (d, J = 8.0 Hz, 1H), 7.22 (d, J = 5 8.4 Hz, 1H), 5.59-5.57 (m, 1H), 4.87-4.66 (m, 4H), 4.53-4.50 (m, 1H), 3.98-3.81 (m, 3H), 3.09 3.03 (m, 1H), 2.92-2.86 (m, 1H), 2.29-2.20 (m, 1H), 2.07-2.03 (m, 1H), 1.54-1.51 (m, 15H) Example 18. (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2,2,2-trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (compound 18) 20222(0826(1) ug 2022 1. Synthesis of tert-butyl (R)-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate 5 A mixture of tert-butyl (R)-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-8-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (4.85 g, 8.98 mmol), 4-chloro-N-(l-methyl-lH-pyrazol-4-yl)pyrimidin-2-amine (1.88 g, 8.98 mmol), Pd(dppf)C12(734 mg, 0.9 mmol) and K2CO3 (2.48 g, 18 mmol) in dioxane / H2O (4:1, 20 mL) was degassed and stirred at 100 °C for 2 h under a N2 atmosphere. After concentration of the reaction 0 mixture, the residue was purified by silica-gel chromatography (EtOAc : PE = 2 : 1) to give tertbutyl (R)-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate as a yellow solid (3.4 g, yield: 51%). ESI-MS (M+H) +: 588.3. 2. Synthesis of (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 5 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide To a solution of tert-butyl (R)-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-8-(2- ((1-methyl-IH-pyr azo l-4-yl)amino)pyrimidin-4-yl)-1,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (3.4 g, 5.79 mmol) in DCM (10 mL)was added TFA (4 mL). The resulting solution 20 was stirred at room temperature for 2 h. After concentration of the reaction mixture, the residue was dissolved in MeOH (10 mL) and adjusted to pH = 8 with aqueous ammonia. Then water (20 mL) was added and the mixture was extracted with DCM / MeOH solutions (20:1, 30 mLx3). The 202a2m6(D ug 2022 organic phase was dried and concentrated to give crude (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,3,4-oxadiazole-2-carboxamide as a yellow solid (2.47 g, yield: 88%), which was used to next step without further purification. ESI-MS (M+H) +: 488.2. 5 3. Synthesis of (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4- yl)-2-(2,2,2-trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide 18 0 To a solution of (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (1.5 g, 3.1 mmol) and DIPEA (800 mg, 6.2 mmol) in CH3CN (30 mL) was added 2,2,2-trifluoroethyl trifluoromethanesulfonate (1.1 g, 4.7 mmol). The mixture was stirred at 50 °C for 12 h. After diluting with water (100 mL), the mixture was extracted with DCM (100 mLx3). The combined 5 organic layers were washed with brine (100 mL), dried (Na2SO4), filtered and concentrated. The crude product was purified by silica gel chromatography (DCM : MeOH = 10 : 1) to give (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2,2,2-trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide as a yellow solid (1.2 g, yield: 68%). ESLMS (M+H) +: 570.2. 'H NMR (400 MHz, CD3OD) 3: 8.31 (d, J = 5.2 20 Hz, 1H), 7.94-7.88 (m, 3H), 7.51 (s, 1H), 7.38 (d, J = 8.0 Hz, 1H), 7.12 (d, J = 5.2 Hz, 1H), 5.49-5.47 (m, 1H), 4.27-4.23 (m, 1H), 4.04-4.00 (m, 1H), 3.78 (s, 3H), 3.33-3.24 (m, 2H), 3.042.98 (m, 2H), 2.14-2.05 (m, 1H), 1.87-1.84 (m, 1H), 1.40 (s, 9H). 202a2m6(D ug 2022 Example 19. 5-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2- carboxamide (compound 19) 5 19 Synthesis of 5-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide was similar to that of 5-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-1,2,4- 0 oxadiazole-3-carboxamide in Example 3. The crude product was purified by prep-HPLC (CH3CN / H2O with 0.05% NH4HCO3 as mobile phase) to give 5-(tert-butyl)-N-(2-(2-hydroxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide as a yellow solid (165 mg, yield: 84%). ESI-MS (M+H) +: 532.2. JH NMR (400 MHz, CD3OD) 3: 8.42 (d, J = 5.2 Hz, 1H), 8.03-8.00 5 (m, 3H), 7.64 (s, 1H), 7.48 (d, J = 8.0 Hz, 1H), 7.23-7.22 (m, 1H), 5.58 (d, J = 9.6 Hz, 1H), 4.21-4.09 (m, 2H), 3.90 (s, 3H), 3.74 (t, J = 5.6 Hz, 2H), 3.20-3.18 (m, 2H), 2.70-2.62 (m, 2H), 2.30-2.28 (m, 1H), 2.00-1.98 (m, 1H), 1.52 (s, 9H). Example 20. 5-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((R)-tetrahydrofuran-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-20 2-carboxamide (compound 20) 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 1. Synthesis of (S)-tetrahydrofuran-3-yl trifluoromethanesulfonate Tf20(1.1eq), / \2oh pyridine (1.2 eq) 9 >2™ DCM, -10 °C, 0.5 h To a solution of (S)-tetrahydrofuran-3-ol (500 mg, 5.7 mmol) and pyridine (538 mg, 6.8 mmol) in DCM (15 mL) at -10 °C was added Tf2O (1.8 g, 6.3 mmol). The mixture was stirred at 5 -10 °C for 0.5 h. The mixture was quenched with 2N HC1 solution. The organic layer were separated, dried over Na2SO4 and filtered. The resulting DCM solution of (S)-tetrahydrofuran-3-yl trifluoromethanesulfonate was used for next step. ESI-MS (M+H) +: 221.0. 2. Synthesis of 5-(tert-butyl)-N-(fR)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((R)-tetrahydrofuran-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2- 0 carboxamide To a solution of (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (1.7 g, 3.5 mmol) in THF (24 mL) and DMF (3 mL) was added KHMDS (5.2 mL, 5.2 mmol, IM solution) 15 dropwise at -78 °C. The solution was stirred under nitrogen at -78 °C for 0.5 h. Then, the solution of (S)-tetrahydrofuran-3-yl trifluoromethanesulfonate (from previous step) was added dropwise. The mixture was stirred at room temperature for 16 h. After diluting with water (40 mL), the mixture was extracted with DCM (40 mLx3). The combined organic layers were washed with brine (60 mL), dried (Na2SO4), filtered and concentrated. The crude product was 20 purified by silica gel chromatography (DCM : MeOH = 10 : 1) to give 5-(tert-butyl)-N-((R)-8-(2-((1-methyl-IH-pyr azo l-4-yl)amino)pyrimidin-4-yl)-2-((R)-tetrahydrofuran-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide as a yellow solid (448 mg, yield: 23%). ESI-MS (M+H) +: 558.3. JH NMR (400 MHz, DMSO-d6) ¢5: 9.82-9.80 (m, 1H), 9.51 (s, 1H), 8.47 (d, J = 4.8 Hz, 1H), 7.99-7.95 (m, 3H), 7.55 (s, 1H), 7.40 (d, J = 8.0 Hz, 1H), 202a2m6(D ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 7.28 (d, J = 5.2 Hz, 1H), 5.43-5.38 (m, 1H), 4.06-3.99 (m, 2H), 3.83-380 (m, 5H), 3.63-3.50 (m, 2H), 3.10-3.05 (m, 3H), 2.22-2.02 (m, 2H), 1.85-1.82 (m, 2H), 1.42 (s, 9H). Example 21. 5-(tert-butyl)-N-((R)-2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2- 5 carboxamide (compound 21) 21 To a solution of (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (101 mg, 0.21 0 mmol) in MeOH (7 mL) was added (S)-2-methyloxirane (29 pL, 0.42 mmol) and cesium carbonate (135 mg, 0.42 mmol). The mixture was stirred at 60 °C for 16 h. The reaction mixture was cooled to room temperature and filtered. The filtrate was concentrated and the crude product was purified by silica gel chromatography (DCM : MeOH = 10 : 1) to give 5-(tert-butyl)-N-((R)-2-((S)-2-hydro xypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5- 5 tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide as a yellow solid (50 mg, yield: 44%). ESI-MS (M+H) +: 546.0. 'H NMR (400MHz, METHANOL-d4) 6: 8.41 (d, J= 5.3 Hz, 1H), 8.07-8.02 (m, 2H), 7.97 (s, 1H), 7.63 (s, 1H), 7.48 (d, J= 8.5 Hz, 1H), 7.22 (d, J= 5.3 Hz, 1H), 5.62-5.53 (m, 1H), 4.33-4.10 (m, 2H), 4.04-3.95 (m, 1H), 3.89 (s, 3H), 3.33-3.27 (m, 2H), 2.58-2.46 (m, 2H), 2.38-2.23 (m, 1H), 2.07-1.95 (m, 1H), 1.48 (s, 9H), 1.15 (d, J= 6.3 Hz, 20 3H). 20222(0826(1) ug 2022 Example 22. 5-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((S)-tetrahydrofuran-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (compound 22) 5 1. Synthesis of (R)-tetrahydrofuran-3-yl trifluoromethanesulfonate Tf2O (1.1 eq), pyridine (1.2 eq) --------------------» DCM, -10 °C, 0.5 h Synthesis of (R)-tetrahydrofuran-3-yl trifluoromethanesulfonate) was similar to that of (S)-tetrahydrofuran-3-yl trifluoromethanesulfonate) in Example 20, Step 1. The resulting DCM solution was used for the next step. ESI-MS (M+H) +: 221.0. 0 2. Synthesis of 5-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- ((S)-tetrahydrofuran-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (I-RP58) KHMDS (1.3 equiv) DMF / THF, -78 °C to rt, 18 h •"OTf (1.3 equiv) 22 15 Synthesis of 5-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((S)-tetrahydrofuran-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide was similar to that of 5-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2-((R)-tetrahydrofuran-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide in Example 20, Step 2. The crude product was purified by 104 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 silica gel chromatography (DCM : MeOH = 10 : 1) to give 5-(tert-butyl)-N-((R)-8-(2-((Lmethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((S)-tetrahydrofuran-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide as a yellow solid (50 mg, yield: 38%). ESI-MS (M+H) +: 558.1. JH NMR (400MHz, METHANOL-d4) 8: 8.38 (d, J= 5.3 Hz, 1H), 8.037.95 (m, 3H), 7.60 (s, 1H), 7.45 (d, 7=8.5 Hz, 1H), 7.19 (d, J = 5.3 Hz, 1H), 5.56 (br d, J = 9.3 Hz, 1H), 4.12-4.01 (m, 2H), 4.01-3.90 (m, 2H), 3.88 (s, 3H), 3.79-3.68 (m, 2H), 3.29-3.21 (m, 1H), 3.20-3.09 (m, 1H), 2.33-2.11 (m, 2H), 2.09-1.90 (m, 2H), 1.48 (s, 9H). Example 23. l-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (compound 23) To a solution of tert-butyl 8-bromo-5-(l-(tert-butyl)-lH-l,2,3-triazole-4-carboxamido)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (556 mg, 3.06 mmol) in CH2CI2 (10 mL) were added HATU (1.16 g, 3.06 mmol) and DIPEA (592 mg, 4.6 mmol). The mixture was stirred at rt for 1 h before l-(tert-butyl)-lH-l,2,3-triazole-4-carboxylic acid (1.04 g, 3.06 mmol) was added. The mixture was stirred at rt for 12 h. The mixture was diluted with CH2CI2 (200 mL), washed with water (100 mL), brine (100 mL), dried and concentrated. The crude product was purified by silica gel column (PE : EtOAc = 1 : 1) to give tert-butyl 8-bromo-5-(l-(tert-butyl)-lH-l,2,3-triazole-4-carboxamido)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate 105 20222(0826(1) ug 2022 (1.1 g, yield: 73%) as a yellow solid. ESI-MS (M+H)+: 492.1. JH NMR (400 MHz, CDC13) & 8.17 (s, 1H), 7.35-7.33 (m, 2H), 7.21 (d, J = 8.0 Hz, 1H), 5.52-5.42 (m, 1H), 4.54-4.34 (m, 2H), 4.04-3.86 (m, 1H), 3.65-3.55 (m, 1H), 2.80 (s, 9H), 2.10-2.07 (m, 2H), 1.41 (s, 9H). 2. The preparation of tert-butyl 5-(l-(tert-butyl)-lH-l,2,3-triazole-4-carboxamido)-8-(2-((l- 5 ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l, 3,4,5-tetrahydro-2H-benzo[c]azepine-2- carboxylate Pd(dppf)CI2 (0.05 eq) K2CO3 (2.0 eq) dioxane / H2O, 80 °C, 2 h Synthesis of tert-butyl 5-(l-(tert-butyl)-lH-l,2,3-triazole-4-carboxamido)-8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate 0 was similar to that of tert-butyl 5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate in Example 7. The crude product was purified by silica gel column chromatography (CH2C12 : MeOH = 20 : 1) to give tert-butyl 5-(l-(tert-butyl)-lH-l,2,3-triazole-4-carboxamido)-8-(2-((l-ethyl-IH-pyr azo l-4-yl)amino)pyrimidin-4-yl)-1,3,4,5-tetrahydro-2H-benzo[c]azepine-2- 15 carboxylate as a yellow solid (170 mg, Y: 35%). ESI-MS (M+H) +: 601.2. 3. The preparation of l-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 Synthesis of l-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide was similar to that of 5-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide in Example 7. The crude product (135 5 mg, yield: 95%) was used in the next step without further purification. ESI-MS (M+H) +: 501.2. 4. The preparation of l-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)~ 2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide 23 0 Synthesis of l-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide was similar to that of 5-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide in Example 7. The crude product was purified by silica gel column chromatography (EtOAc : 5 MeOH = 10 : 1) to give l-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide as a yellow solid (67 mg, yield: 45%). ESI-MS (M+H) +: 556.7. 'H NMR (400 MHz, DMSO-d6) b: 9.48 (s, 1H), 9.02 (d, J = 8.8 Hz, 1H), 8.76 (s, 1H), 8.46 (d, J = 5.2 Hz, 1H), 7.97-7.91 (m, 3H), 7.56 (s, 1H), 7.37 (d, J = 8.0 Hz, 1H), 7.25 (d, J = 5.2 Hz, 1H), 5.47-5.43 (m, 1H), 4.61-1.47 (m, 20 4H), 4.13-4.08 (m, 2H), 3.88-3.65 (m, 3H), 2.90-2.78 (m, 2H), 2.15-2.06 (m, 1H), 1.88-1.82 (m, 1H), 1.65 (s, 9H), 1.36 (t, J = 7.2 Hz, 3H). 202a2m6(D ug 2022 Example 24. (R)-l-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (compound 24a) and (S)-l-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4- 5 carboxamide (compound 24b) 24a 24b l-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (50 mg ) was 0 subjected to SFC separation (2.1 x 25.0 cm (S,S) WhelkO-1, 58% methanol with 0.5% isopropylamine / CO2, 120 bar, 85 mL / min, 230 nm, methanol) and yielded 23 mg of peak-1 (chemical purity 99%, ee >99%) and 24 mg of peak-2 (chemical purity 99%, ee = 99%). Peak 1 is assigned as (R)-l-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4- yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-1,2,3- 5 triazole-4-carboxamide: LCMS: Rt 4.0 min, m / z 557.20. JH NMR (400 MHz, METHANOL-^) 8 ppm 8.51 (s, 1H), 8.40 (d, J = 5.27 Hz, 1H), 8.05-7.92 (m, 3H), 7.64 (s, 1H), 7.47 (d, J = 8.28 Hz, 1H), 7.21 (d, 7= 5.27 Hz, 1H), 5.57 (brd, 7 = 9.04 Hz, 1H), 4.78-4.71 (m, 1H), 4.71-4.65 (m, 3H), 4.17 (q, 7 = 7.28 Hz, 2H), 4.01-3.91 (m, 1H), 3.91-3.78 (m, 2H), 3.15-2.98 (m, 1H), 2.88 (ddd, 7= 12.99 Hz, 9.60 Hz, 3.51 Hz, 1H), 2.36-2.14 (m, 1H), 2.11-1.87 (m, 1H), 1.73 (s, 20 9H), 1.46 (t, 7=7.28 Hz, 3H). Peak 2 is assigned as (S)-l-(tert-butyl)-N-(8-(2-((l-ethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide: LCMS: Rt 5.3 min, m / z 557.00. 'H NMR (400 MHz, METHANOL-74) 6 ppm 8.51 (s, 1H), 8.40 (d, 7= 5.27 Hz, 1H), 8.06-7.92 (m, 3H), 7.64 (s, 1H), 7.47 (d, 7= 8.03 Hz, 25 1H), 7.21 (d, 7 = 5.27 Hz, 1H), 5.57 (br d, 7 = 9.29 Hz, 1H), 4.77-4.70 (m, 1H), 4.70-4.63 (m, 2H), 4.17 (q, 7 = 7.28 Hz, 2H), 4.05-3.91 (m, 1H), 3.91-3.76 (m, 2H), 3.15-2.98 (m, 1H), 2.89 (ddd, 7= 12.8 Hz, 9.7 Hz, 3.6 Hz, 1H), 2.40-2.13 (m, 1H), 2.12-1.87 (m, 1H), 1.74 (s, 9H), 1.47 (t, 7=7.28 Hz, 3H). 20222(0826(1) ug 2022 Example 25. (R)-l-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (compound 25) 5 25 1. Synthesis of tert-butyl (R)-5-(l-(tert-butyl)-lH-l,2,3-triazole-4-carboxamido)-8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2- carboxylate (1.2 eq) Pd2(dba)3 (0.1 eq), S-Phos (0.2 eq) Cs2CO3 (2.0 eq) dioxane, 100 °C, 2 h 0 Synthesis of tert-butyl (R)-5-(l-(tert-butyl)-lH-l,2,3-triazole-4-carboxamido)-8-(2-((l-isopropyl- IH-pyr azo l-4-yl)amino)pyrimidin-4-yl)-1,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate was similar to that of tert-butyl (R)-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (Example 9, Step 3). The crude material was purified by 15 silica gel chromatography (EtOAc : PE = 4 : 1) to give tert-butyl (R)-5-(l-(tert-butyl)-lH-l,2,3-triazole-4-carboxamido)-8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate as a yellow solid (520 mg, yield: 56%). ESI-MS (M+H) +: 615.3. 20222(0826(1) ug 2022 2. Synthesis of(R)-l-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide TFA / DCM Synthesis of (R)-l-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4- 5 yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide was similar to that of (R)-5-(tert-butyl)-N-(8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide in Example 9, Step 4. The crude product was isolated as a yellow solid and was used for the next step without further purification (420 mg, yield: 96%). ESI-MS (M+H) +: 515.3. 0 3. Synthesis of(R)-l-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (I-RP35) 25 15 Synthesis of (R)-l-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide was similar to that of (R)-5-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide in Example 17. The crude material was purified by silica gel chromatography 20 (DCM : MeOH = 20 : 1) to give (R)-l-(tert-butyl)-N-(8-(2-((l-isopropyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-1,2,3- 202a2m6(D ug 2022 triazole-4-carboxamide as a yellow solid (116 mg, yield: 51%). ESI-MS (M+H) +: 571.2. JH NMR (400 MHz, CDC13) 3: 8.42 (d, J = 4.8 Hz, 1H), 8.17 (s, 1H), 8.07 (d, J = 8.8 Hz, 1H), 7.94 (s, 1H), 7.85 (d, J = 8.0 Hz, 1H), 7.77 (s, 1H), 7.57 (s, 1H), 7.48 (d, J = 8.0 Hz, 1H), 7.11 (s, 1H), 7.03 (d, J = 5.2 Hz, 1H), 5.64 (t, J = 8.0 Hz, 1H), 4.78-4.68 (m, 4H), 4.53-4.45 (m, 1H), 5 3.91-3.80 (m, 3H), 3.04-2.99 (m, 1H), 2.82-2.79 (m, 1H), 2.27-2.23 (m, 1H), 2.10-2.05 (m, 1H), 1.70 (s, 9H), 1.55 (s, 3H), 1.52 (s, 3H). Example 26. l-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((R)-tetrahydrofuran-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (compound 26a) & l-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4- 0 yl)amino)pyrimidin-4-yl)-2-((S)-tetrahydrofuran-3-yl)-2,3,4,5-tetrahydro-lH- benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (compound 26b) 26a 26b 1. Synthesis of tert-butyl (R)-8-bromo-5-(l-(tert-butyl)-lH-l,2,3-triazole-4-carboxamido)~ 5 l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate Br Synthesis of tert-butyl (R)-8-bromo-5-(l-(tert-butyl)-lH-l,2,3-triazole-4-carboxamido)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate was similar to that of tert-butyl 8-bromo-5-(5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamido)-4,5-dihydro-lH-benzo[c]azepine-2(3H)- 20 carboxylate in Example 12, Step 1. The crude product was purified by silica gel column chromatography (EtOAc / petroleum ether = 1:2) to give tert-butyl (R)-8-bromo-5-(l-(tert-butyl)-lH-l,2,3-triazole-4-carboxamido)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate as yellow solid (2.3 g, yield: 95%). ESI-MS (M+H)+: 492.2. 20222(0826(1) ug 2022 2. Synthesis of tert-butyl (R)-5-(l-(tert-butyl)-lH-l,2,3-triazole-4-carboxamido)-8-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate _______________(1.1 eq) , Pd(dppf)CI2 (0.05 eq) KOAc (2.0 eq) dioxane, 100 °C, 16 h Synthesis of tert-butyl (R)-5-(l-(tert-butyl)-lH-l,2,3-triazole-4-carboxamido)-8-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate was similar to the synthesis of tert-butyl (R)-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate described in Example 9, Step 1. The crude product was used for next step without purification. ESI-MS (M+H) +: 540.3. 3. Synthesis of tert-butyl (R)-5-(l-(tert-butyl)-lH-l,2,3-triazole-4-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate Pd(dppf)CI2 (0.05 eq) K2CO3 (2.0 eq) dioxane / H2O, 100 °C, 16 h To a solution of tert-butyl (R)-5-(l-(tert-butyl)-lH-l,2,3-triazole-4-carboxamido)-8-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)-1,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (5.4 g, 10.0 mmol) in dioxane / H2O (100 mL) was added 4-chloro-N-(l-methyl-lH-pyrazol-4-yl)pyrimidin-2-amine (2.1 g, 10.0 mmol), K2CO3 (2.8 g, 20.0 mmol) and Pd(dppf)Cl2 (0.4 g, 0.5 mmol) were added. The mixture was stirred at 100 °C for 16 h under nitrogen. After cooling to rt, the mixture was concentrated and purified by silica gel column chromatography (petroleum ether / EtOAc=l:3) to give tert-butyl (R)-5-(l-(tert-butyl)-lH-l,2,3-triazole-4-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate as a yellow solid (3.2 g, yield: 55%). ESI-MS (M+H) +: 586.7. 'H NMR (400 MHz, CDC13) ¢5: 8.42 (s, 1H), 8.19 (s, 1H), 8.02-7.87 (m, 3H), 7.68 (s, 1H), 7.54-7.49 (m, 2H), 7.06 (d, J = 5.2 Hz, 1H), 5.63-5.58 (m, 1H), 4.83-4.67 (m, 1H), 4.51-4.47 (m, 1H), 112 20222(0826(1) ug 2022 4.02-4.00 (m, 1H), 3.93 (s, 3H), 3.65-3.62 (m, 1H), 2.14-2.12 (m, 2H), 1.72 (s, 9H), 1.41-1.38 (m, 9H). 4. Synthesis of(R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide To a solution of tert-butyl (R)-5-(l-(tert-butyl)-lH-l,2,3-triazole-4-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (3.2 g, 5.5 mmol) in DCM (30 mL) was added TFA (30 mL). The mixture was stirred at rt for 3 h. The solvent was removed. The crude was dissolved in MeOH (30 mL) / water 0 (20 mL). The mixture was basified with NH4OH to pH = 8-9 and extracted with DCM (3 x 50 mL). The combined organic layers were washed with brine, dried over Na2SO4, filtered and concentrated to give (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide as a gray solid (2.6 g, yield: 98%). ESLMS (M+H) +: 486.7. 5 5. Synthesis ofl-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- ((R)-tetrahydrofuran-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide & l-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)~ 2-((S)-tetrahydrofuran-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide 20 26b To a solution of (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (500 mg, 1.0 mmol) in MeOH (30 mL) were added dihydrofuran-3(2H)-one (258 mg, 3.0 mmol), ZnCO (682 25 mg, 5.0 mmol) and NaBHaCN (189 mg, 3.0 mmol). The mixture was stirred at 50 °C for 16 h. 202a2m6(D ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 The mixture was concentrated and purified by silica gel column chromatography (DCM / MeOH=20 / l to 15 / 1) to give the racemic product as a yellow solid (542 mg, yield: 79%). l-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((S)-tetrahydro furan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4- 5 carboxamide (154 mg) and l-(tert-butyl)-N-((R)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-((R)-tetrahydrofuran-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (167 mg) were separated by chiral resolution. ESI-MS (M+H) +: 557.3. Isomer 1: JH NMR (400 MHz, CD3OD) 3: 8.53 (s, 1H), 8.42 (d, J = 5.2 Hz, 1H), 8.05-7.99 0 (m, 3H), 7.64 (s, 1H), 7.48 (d, J = 8.4 Hz, 1H), 7.23 (d, J = 5.2 Hz, 1H), 5.58 (d, J = 10.4 Hz, 1H), 4.16-4.09 (m, 2H), 4.02-3.96 (m, 2H), 3.90 (s, 3H), 3.79-3.71 (m, 2H), 3.31-3.24 (m, 2H), 3.15-3.10 (m, 1H), 2.31-2.17 (m, 2H), 2.07-1.97 (m, 2H), 1.74 (s, 9H). Isomer 2: 1H NMR (400 MHz, CD3OD) 3: 8.43 (s, 1H), 8.30 (d, J = 5.2 Hz, 1H), 7.95-7.86 (m, 3H), 7.67 (s, 1H), 7.37 (d, J = 8.0 Hz, 1H), 7.13 (d, J = 5.2 Hz, 1H), 5.47 (d, J = 9.6 Hz, 1H), 5 4.00 (br, 2H), 3.93-3.85 (m, 2H), 3.85 (s, 3H), 3.69-3.58 (m, 2H), 3.28-3.22 (m, 1H), 3.17-2.97 (m, 2H), 2.21-2.01 (m, 2H), 1.99-1.80 (m, 2H), 1.63 (s, 9H). Example 27a. (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (compound 27) 20 H H 27 To a solution of (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (500 mg, 1.0 mmol) in MeOH (30 mL) were added oxetan-3-one (216 mg, 3.0 mmol), ZnCb (682 mg, 5.0 25 mmol) and NaBH3CN (189 mg, 3.0 mmol). The mixture was stirred at 50 °C for 3 h. The mixture was concentrated and the crude material was purified by silica gel chromatography (CH2CI2 : 202a2m6(D ug 2022 MeOH grading from 20 : 1 to 15 : 1) to give (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-1,2,3-triazole-4-carboxamide as a yellow solid (307 mg, yield: 55%). ESI-MS (M+H) +: 542.7. JH NMR (400 MHz, CD3OD) 3: 8.54 (s, 1H), 8.42 (d, J = 5.6 Hz, 1H), 8.04-7.98 (m, 3H), 7.71 (s, 5 1H), 7.49 (d, J = 8.0 Hz, 1H), 7.24 (d, J = 5.2 Hz, 1H), 5.59 (d, J = 9.2 Hz, 1H), 4.79-4.75 (m, 1H), 4.71-4.69 (m, 3H), 4.00-3.83 (m, 6H), 3.09-3.05 (m, 1H), 3.94-2.88 (m, 1H), 2.29-2.21 (m, 1H), 2.07-2.04 (m, 1H), 1.75 (s, 9H). Example 27b. (7?)-l-(ferf-butyl)-A / -(8-(2-((l-(methyl-rf3)-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4- 0 carboxamide 1. Synthesis of l-(methyl-d3)-lH-pyrazol-4-amine D3C^ / CD J O O ■ NaOH O2N 3 5 A mixture of 4-nitro-l-pyrazole (5.0 g, 44 mmol) and r / 6-dimethyl sulfate (10.0 g, 75.7 mmol) in 1 M solution of NaOH in water (50.0 mL) was heated at 35 °C overnight. The solid formed was filtered, washed with water, and dried (Na2SO4) to give l-zZ3-methyl-4-nitro-1-pyrazole as a white crystal (3.9 g, yield: 68%). LCMS: RT 0.36 min.; MH+ 131.1; 1H NMR (400 MHz, DMSO-^6) 3: 8.84 (s, 1H), 8.23 (s, 1H). 0 2. Synthesis of l-(methyl-d3)-4-nitro-lH-pyrazole 10% Pd on carbon L n-cd3 k n-cd3 * H2N A solution of l-r / 3-methyl-4-nitro-l-pyrazole (3.9 g, 30 mmol) in EtOH (50.0 mL) was 25 degassed with nitrogen, followed by the addition of 10% palladium on carbon (0.32 g, 0.30 mmol). The mixture was placed under an atmosphere of hydrogen and stirred at rt for 2 h. The mixture was filtered and the filtrate was concentrated in vacuo to give l-(r / 3-methyl-IH-pyrazol-4-amine as an oil (2.9g, yield: 96%) which was used in the next step without further purification. 20222(0826(1) ug 2022 3. Synthesis of 4-methoxy-N-(l-(methyl-d3)-lH-pyrazol-4-yl)pyrimidin-2-amine [ n-cd3 O H2N^ / (1.0 eq) n -----------------------* IL JL J^ / 'n~cd3 N Cl Pd2(dba)3 (0.02 eq), S-Phos (0.04 eq), N Cs2CO3 (3.0 eq), dioxane, reflux 16h To a solution of 2-chloro-4-methoxypyrimidine (9.4 g, 65.1 mmol) in 1,4-dioxane (0.3 L) was added l-methyl-r / 3-l / / -pyazol-4-amine (8.5 g, 85 mmol), CS2CO3 (63.6 g, 195 mmol), S-5 Phos (13.3 g, 0.03 mol) and Pd2(dba)3 (16.7 g, 0.02 mol). The reaction mixture was stirred at reflux under N2 for 16 h. The reaction mixture was cooled to room temperature and the mixture was filtered through a silica gel pad, and washed with EtOAc (500 mL). The combined filtrates were concentrated in vacuo. The crude material was purified by silica gel chromatography (heptane : EtOAc = 100 : 0 to 0 : 100) to give 4-methoxy-A-(l-(methyl-J3)-lH-pyrazol-4- 0 yl)pyrimidin-2-amine (9.2 g, yield: 68%) as a light yellow solid. ESI-MS (M+H)+: 209.1. JH NMR (400 MHz, CDC13) ¢5: 8.10 (d, J = 5.7 Hz, 1H), 7.77 (s, 1H), 7.51 (s, 1H), 6.13 (d, J = 5.7 Hz, 1H), 3.94 (s, 3H). 4. Synthesis of 4-chloro-N-(l-(methyl-d3)-lH-pyrazol-4-yl)pyrimidin-2-amine To 4-methoxy-A-(l-(methyl-r / 3)-l / / -pyrazol-4-yl)pyrimidin-2-amine (9.1 g, 43.7 mmol) was added HBr (90 mL, 38% aqueous). The reaction mixture was heated to 100 °C and stirred at that temperature for 3 h. The reaction mixture was cooled to room temperature and concentrated in vacuo, azetroped with toluene (3 x 100 mL) and dried at 50 °C overnight to afford the HBr 20 salt (16 g) as a yellow / brown solid. The salt was then dissolved in POCI3 (250 mL) and heated to 100 °C for 36 hrs. The reaction mixture was cooled to room temperature and concentrated in vacuo and azetroped with Toluene (3 x 100 mL). the resulting residue was diluted with EtOAc (500 mL) and water (100 mL) and the layer were separated. The aqueous layer was extracted with EtOAc (3 x 100 mL) and the combined organic layers were washed with brine (200 mL), 25 dried (Na2SO4), filtered and concentrated in vacuo to afford a residue which was triturated with EtOAc / heptanes (1:1) to afford added to 4-chloro-AM14mcthyl-<73)-l / 7-pyrazol-4-yl)pyrimidin-2-amine as a white solid (7.4 g, yield:80%). ESLMS (M+H)+: 213.0 . 20222(0826(1) ug 2022 5. Synthesis of tert-butyl (R)-5-(l-(tert-butyl)-lH-l,2,3-triazole-4-carboxamido)-8-(2-((l-(methyl-d3)-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate To a solution of tert-butyl (7?)-5-(l-( / er / -butyl)-l / 7-l,2,3-triazole-4-carboxamido)-8-(4,4,5,5-tetramethyl-l,3,2-dioxaborolan-2-yl)-l,3,4,5-tetrahydro-2 / / -benzo[c]azepine-2-carboxylate (4.6 g, 8.5 mmol) in 1,4-dioxane (100 mL) and water (20 mL) was added 4-chloro-A-(l-(methyl-6 / 3)-l / / -pyrazol-4-yl)pyrimidin-2-amine (1.8 g, 8.5 mmol), K2CO3(2.4 g, 17 mmol) and Pd(dppf)C12 (0.7 g, 0.85 mmol) were added. The mixture was stirred at 100 °C for 16 h under nitrogen. After cooling to rt, the mixture was diluted with EtOAc (300 mL) and washed with saturated brine (100 mL). The aqueous layer was extracted with EtOAc (3 x 100 mL) and the organics were combined, dried (Na2SO4), filtered, concentrated in vacuo to afford a residue. The crude material was purified by silica gel column chromatography (gradient heptanes / EtOAc=100:0 - 0:100) to give / ert-butyl (7?)-5-(l-( / er / -butyl)-177-l,2,3-triazole-4-carboxamido)-8-(2-((l-(methyl-6B)-l / / -pyrazol-4-yl)amino)pyrimidin-4-yl)-l,3,4,5-tetrahydro-2 / / -benzo[c]azepine-2-carboxylate as a yellow solid (3.2 g, yield: 55%). ESLMS (M+H) +: 590.4. 6. Synthesis of(R)-l-(tert-butyl)-N-(8-(2-((l-(methyl-d3)-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide To a solution of / erZ-butyl (R)-5-(l-( / er / -butyl)-l / 7-l,2,3-triazole-4-carboxamido)-8-(2-((l-(methyl-6 / 3)-1 / 7-pyr azo l-4-yl)amino)pyrimidin-4-yl)-1,3,4,5-tetrahydro-2 / / -benzo[c]azepine-2-carboxylate (3.2 g, 5.5 mmol) in CH2CI2 (40 mL) was added TFA (40 mL). The mixture was stirred at rt for 3 h. The solvent was removed and the crude material was re-dissolved in MeOH 117 202a2m6(D ug 2022 (30 mL) / water (20 mL). The mixture was basified with NH4OH to pH = 8-9 and extracted with CH2CI2 (3 x 100 mL). The combined organic layers were washed with brine (100 mL), dried over Na2SO4, filtered and concentrated in vacuo to give (R)-L( / er / -butyl)-iV-(8-(2-((l-(methyl-diy l / / -pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro- l / / -benzo[c]azepin-5-yl)-1 / / - 5 l,2,3-triazole-4-carboxamide as a yellow solid (3.0 g, yield: 86%). ESLMS (M+H) +: 490.2. 7. ( / ?)-L( / cr / -butyl)-^ l-(methyl-d3)-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2- (oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide. ( / ?)-L( / c / 7-butyl)-AM8-(2-((l-mcthy 1+ / 3)-1 H-pyrazol-4-yl)amino)pyrimidin-4-y 1) 0 2,3,4,5-tetrahydro-l / / -benzo[c]azepin-5-yl)-l / / -l,2,3-triazole-4-carboxamide (2.6g, 15.9 mmol) was dissolved in MeOH (160 mL) and treated with oxetan-3-one (1.15 g, 16.0 mmol), ZnCO (3.6 g, 26.5 mmol) and NaBHjCN (1.0 mg, 15.9 mmol). The mixture was stirred at 50 °C for 16 h, concentrated in vacuo and the crude material was purified by silica gel chromatography (gradient CH2CI2 : MeOH 100 : 10) to give a yellow solid which was further washed purified by 5 dissolving in MeOH (100 mL) and CH2CI2 (500 mL) and washed with water (100 mL) and saturated brine (100 mL), the organic layer was separated, dried (Na2SO4), filtered and concentrated in vacuo to afford (R)-l-( / er / -butyl)- / V-(8-(2-((l-methyl-<73)-l / / -pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-l / / -benzo[c]azepin-5-yl)-1 / / -1,2,3-triazole-4-carboxamide as a yellow solid (2.32 g, 67% yield: 55%). ESLMS (M+H) +: 546.3. 20 1H NMR (400 MHz, DMSO-d6) d 9.46 (s, 1H), 8.98 (d, J = 8.3 Hz, 1H), 8.74 (s, 1H), 8.46 (d, J = 5.6 Hz, 1H), 7.95 (m, 3H), 7.54 (s, 1H), 7.38 (d, J = 8.1 Hz, 1H), 7.25 (d, J = 5.2 Hz, 1H), 5.45 (m, 1H), 4.61-4.47 (m, 4H), 3.86 (m, 1H), 3.78 (m, 1H), 3.67 (m, 1H), 2.93 (m, 1H), 2.77 (m, 1H), 2.12 (m, 1H), 1.86 (m, 1H), 1.66 (s, 9H). 25 Example 27c. Preparation of crystalline Form A and crystalline Form G of compound 27 Compound (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (1200 g, 2.47 mol) was added to a 20L reactor at room temperature (25 °C), followed by addition of 24 L of 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 1,2-dichloroethane at 25 °C. To the solution was added oxetan-3-one (534 g, 24.7 mol), NaBH(OAc)3 (523 g, 2.47 mol), and AcOH (24 mL, 0.17 eq). An additional amount of NaBH(OAc)3 (1046 g, 4.94 mol) was added in portion to the reactor at room temperature. The mixture was stirred at 25 °C for 16 h. Ice water (12 kg) was added slowly to reactor at room 5 temperature. The organic layer was separated and the aqueous layer was extracted with dichloro methane three time (3 x 12L). The combined organic layer was washed with brine (20 L), dried over Na2SO4, filtered and concentrated. The crude material was purified by silica gel chromatography (CH2CI2 : MeOH = 20 : 1) to afford (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(oxetan-3-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)- 0 lH-l,2,3-triazole-4-carboxamide (compound 27). The purified compound 27 (950 g) and EtOH (5L) were vigorously stirred for 4 h and the slurry was filtered and washed with IL EtOH. The resulting wet cake was dried under vacuum at 45 °C for ~ 24 h until reaching a constant weight to afford crystalline Form A (960 g, yield 85.7%, purity 99%). 5 300.2 mg of crystalline Form A was weighed into a 20 mL glass vial followed by addition of 6 mL of isopropyl acetate (IPAc) for suspension. The sample was magnetically stirred at 50 °C with a rate of -1000 rpm for three days. Solids were isolated by filtration after three days and then dried at room temperature under vacuum for about 5 h to yield crystalline Form G. 0 Alternatively, to 2.1 g of crystallinze Form A was charged 15 volumes of dichloromethane (mL / g). Distill the resulting mixture under atmospheric conditions using a Dean-Stark trap under the conditions of Tj - Tr = 20 K and Tjmax = 110 °C, wherein Tj = jacket temperature, Tr= reaction / reactor temperature and Tjmax = max jacket termperature. 5 mL or 2 volumes of dichloro methane was removed, followed by addition of 2 volumes of isopropyl 25 acetate (IPAc). Continue to distill under the conditions of Tj - Tr = 40K and Tjmax= 110 °C until 10 mL or 5 volumes of the solvent(s) was removed. 5 volumes of IPAc was then added, followed by continued distillation to remove another 10 mL or 5 volumes of the solvent(s). 5 volumes of IPAc was added followed by an additional 30 mL of IPAc. The resulting mixture was stirred and temperature was cycled over the weekend between 20 °C to 60 °C to form a slurry and Form G 30 was isolated from the slurry. Powder X-Ray Diffraction Crystallinity of the compound was studied using a XRD-D8 X-ray powder diffractometer using Cu Ka radiation (Bruker, Madison, WI). The instrument is equipped with a long fine focus WO 2018 / 191577 PCT / US2018 / 027415 X-ray tube. The tube voltage and amperage were set to 40 kV and 40 mA, respectively. The 202a2m6(D ug 2022 divergence and scattering slits were set at 1° and the receiving slit was set at 0.15 mm. Diffracted radiation was detected by a Lynxeye detector. A 9-29 continuous scan at 1.67min from 3 to 42° 29 was used. The sample was prepared for analysis by placing it on a zero 5 background plate. The powder X-ray diffraction (PXRD) pattern of crystalline Form A is shown in FIG. 1 and the main peaks are listed in Table 1. The PXRD pattern of crystalline Form G is shown in FIG. 4 and the main peaks are listed in Table 2. Table 1. PXRD peak list for crystalline Form A__________________________ 20 angle Net Intensity Relative Intensity 4.31 53.6 0.08 5.68 700.9 1.00 7.94 247.9 0.35 8.73 136.1 0.19 9.65 176.0 0.25 11.89 168.3 0.24 13.05 91.4 0.13 14.79 118.9 0.17 15.17 61.7 0.09 16.08 171.5 0.24 4.31 53.6 0.08 5.68 700.9 1.00 7.94 247.9 0.35 8.73 136.1 0.19 9.65 176.0 0.25 16.96 164.8 0.24 17.82 132.6 0.19 18.21 488.1 0.70 19.02 208.4 0.30 20.45 143.8 0.21 21.23 116.4 0.17 16.96 164.8 0.24 22.42 248.8 0.35 22.80 79.2 0.11 23.79 136.4 0.19 25.61 103.5 0.15 Table 2. PXRD peak list for crystalline Form G 20 angle Net Intensity Relative Intensity 3.62 1071.5 0.58 8.92 96.8 0.05 10.96 184.5 0.10 12.59 206.5 0.11 14.53 81.6 0.04 15.41 252.1 0.14 16.33 133.3 0.07 18.44 294.9 0.16 20.18 701.1 0.38 21.79 1860.2 1.00 23.36 205.8 0.11 25.40 502.9 0.27 26.78 34.5 0.02 34.18 28.8 0.02 20222(0826(1) ug 2022 Differential Scanning Calorimetry (DSC) and Thermo gravimetric Analysis (TGA) Thermal properties of the compound were examined using a Discovery Differential Scanning Calorimeter (DSC) (TA Instruments) and a Discovery Thermogravimetric Analyzer 5 (TGA) (TA Instruments). Sample was enclosed in a closed aluminum DSC pan for DSC analysis and in an open aluminum pan for TGA analysis. The thermal analysis was performed with a linear gradient from 25°C to 300°C at 10°C per minute for both DSC and TGA studies. The differential scanning calorimetry (DSC) analysis for crystalline Form A shows that Form A has an onset temperature at 175.6 °C and a melting temperature at 186 °C (FIG. 2). 0 The DSC analysis for crystalline Form G shows that Form G has an onset temperature at 215.4 °C and a melting temperature at 217.3 °C (FIG. 5). The TGA analysis for Form A of compound 27 shows a 3.16% weight loss, indicating Form A is a hydrate (FIG. 3). The TGA analysis of Form G of compound 27 shows no weight loss until the melt, 5 indicating that Form G is anhydrous (FIG. 5). Solid state NMR The C CP / MAS (Cross polarization / magic angle spinning) solid-state NMR spectra were acquired on a 363 MHz Tecmag Redstone spectrometer by Spectral Data 0 Services of Champaign, IL. Each sample was packed into a 7mm (OD) zirconia rotor closed with kel-F end caps for subsequent data acquisition. All three samples were about half full in the rotor. The 13C CP / MAS NMR spectra were acquired on the Doty XC 7 mm CP / MAS probe at an observing frequency of 91 MHz (spin 7 kHz, 1H pulse width 5.0 ps, spectral width 29.8 kHz, acquisition time 0.0344 sec, CP pulse width 2 ms, 25 relaxation delay 5.0 sec, number of scans 1296). Spectra were referenced to the chemical shift of external sample of glycine carbonyl carbon at 176 ppm and processed using Nuts (line broadening of 10 Hz). The peak listing and overlay of spectra are processed using MNOVA. 13C CP / MAS solid state NMR for Form A and Form G are shown in FIG. 3B and FIG. 30 6B, respectively. Diagnostic chemical shifts are listed in Table 3. 202a2m6(D ug 2022 Table 3. Diagnostic 13C CP / MAS NMR chemical shifts for so id forms of compound 27 Peak assignment* Form A (ppm) Form G (ppm) carbonyl 163.2 163.6 163.2 aromatic carbons 159.5 157.9 156.2 (shoulder) 143.7 142.5 (shoulder) 135.8 134.4 132.3 130.5 129.6 126.9 124.7 123.6 106.1 105.1 159.4 147.0 146.0 141.5 140.6 137.1 136.0 130.2 125.9 125.0 120.7 105.9 104.4 aliphatic carbons 77.4 75.9 60.7 59.5 55.9 51.6 50.3 39.5 37.9 35.2 30.1 29.1 77.7 76.8 75.5 61.4 60.9 58.2 54.4 51.7 49.9 40.0 37.3 30.0 *This is a tentative assignment based on the chemical structure and ChemDraw chemical shift prediction and solution 13C NMR spectra in DMSO Example 28. (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2,2,2-trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (compound 28) .OTf CF3 (1.5 equiv) DIPEA (2.0 equiv) CH3CN, 50 °C, 12 h 202a2m6(D ug 2022 To a solution of (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (200 mg, 0.4 mmol) in CH3CN (5 mL) was added 2,2,2-trifluoroethyl trifluoromethanesulfonate (190 mg, 0.6 mmol). The mixture was stirred at 50 °C for 12 h. After concentration of the reaction mixture, 5 the residue was purified by silica gel chromatography (PE : EtOAc = 1 : 1) to give (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2-(2,2,2-trifluoroethyl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide as a yellow solid (85 mg, yield: 36%). ESI-MS (M+H) +: 569.3. JH NMR (400 MHz, CD3OD) 3: 8.54 (s, 1H), 8.42 (d, J = 5.2 Hz, 1H), 8.03-7.99 (m, 3H), 7.61 (s, 1H), 7.49 (d, J = 7.6 Hz, 1H), 7.22 (d, J = 0 5.2 Hz, 1H), 5.60-5.57 (m, 1H), 4.39-4.35 (m, 1H), 4.17-4.12 (m, 1H), 3.89 (s, 3H) 3.43-3.32 (m, 2H), 3.16-3.09 (m, 2H), 2.24-2.20 (m, 1H), 1.98-1.94 (m, 1H), 1.74 (s, 9H). Example 29. l-(tert-butyl)-N-((R)-2-((R)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (compound 29) To a solution of (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (250 mg, 0.51 mmol) in EtOH (5 mL) were added (R)-2-methyloxirane (58 mg, 1.0 mmol). The mixture was stirred at 50 °C for 24 h. After concentration, the residue purified by silica gel column (petroleum 20 ether / EtOAc = 1:2) to give l-(tert-butyl)-N-((R)-2-((R)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-1,2,3-triazole-4-carboxamide as a white solid (110 mg, yield: 40%). ESI-MS (M+H) +: 545.3. H NMR (400 MHz, CD3OD) 3: 8.42 (s, 1H), 8.28 (d, J= 5.2 Hz, 1H), 7.93-7.84 (m, 3H), 7.52 (s, 1H), 7.35(d, 7=8.8 Hz, 1H), 7.09 (d, J = 5.2 Hz, 1H), 5.46 (d, 7=10 Hz, 1H), 4.13-4.00 (m, 2H), 25 3.92-3.87 (m, 1H), 3.78 (s, 3H) 3.21-3.12 (m, 2H), 2.40-2.32 (m, 2H), 2.17-2.13 (m, 1H), 1.89 1.84 (m, 1H), 1.62 (s, 9H), 1.02 (d, 7 =6.0 Hz, 3H). 202a2m6(D ug 2022 Example 30. l-(tert-butyl)-N-((R)-2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (compound 30) Synthesis of l-(tert-butyl)-N-((R)-2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide was similar to that of l-(tert-butyl)-N-((R)-2-((R)-2-hydroxypropyl)-8-(2-((l-methyl- lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro- lH-benzo[c]azepin-5-yl)- 1H- 0 l,2,3-triazole-4-carboxamide (Example 29). The crude was purified by prep-TLC (DCM / MeOH=10:l) to give l-(tert-butyl)-N-((R)-2-((S)-2-hydroxypropyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-1,2,3-triazole-4-carboxamide as a yellow solid (97 mg, yield: 44%). ESI-MS (M+H) +: 545.3. JH NMR (400 MHz, CD3OD) 3: 8.54 (s, 1H), 8.41 (d, J= 5.2 Hz, 1H), 8.01-7.97 (m, 3H), 7.63 (s, 1H), 5 7.46 (d, J = 8.0 Hz, 1H), 7.22 (d, J = 5.6 Hz, 1H), 5.57 (d, J = 9.6 Hz, 1H), 4.23-4.20 (m, 1H), 4.12- 4.07 (m, 1H), 4.02-3.97 (m, 1H), 3.90 (s, 3H), 3.30-3.28 (m, 1H), 3.26-3.19 (m, 1H), 2.47 2.45 (m, 2H), 2.31-2.22 (m, 1H), 2.01-1.97 (m, 1H), 1.74 (s, 9H), 1.16 (d, J= 6.4 Hz, 3H). Example 31. (R)-l-(tert-butyl)-N-(2-(2-methoxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-20 carboxamide (compound 31) K2CO3 (3.0 equiv) CH3CN, 80 °C, 16 h (3.0 equiv) 202a2m6(D ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 To a solution of (R)-l-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide (140 mg, 0.29 mmol) in MeOH (10 mL) were added l-bromo-2-methoxyethane (121 mg, 0.87 mmol) and K2CO3 (120 mg, 0.87 mmol). The mixture was stirred at 80 °C for 16 h. After diluting with water 5 (20 mL), the mixture was extracted with CH2CI2 (30 mLx2). The combined organic layers were washed with H2O (20 mLx2), dried (Na2SO4), filtered and concentrated. The crude material was purified by prep-TLC (DCM : MeOH = 20 : 1) to give (R)-l-(tert-butyl)-N-(2-(2-methoxyethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide as a yellow solid (66 mg, yield: 42 %). ESLMS (M+H) +: 0 545.1. 'H NMR (400 MHz, CDC13) d: 8.41 (d, J = 5.2 Hz, 1H), 8.18 (s, 1H), 7.98 (d, J = 8.4 Hz, 1H), 7.90 (s, 1H), 7.84 (d, J = 8.0 Hz, 1H), 7.80 (s, 1H), 7.53 (s, 1H), 7.46 (d, J = 8.0 Hz, 1H), 7.04 (d, J = 5.2 Hz, 1H), 6.97 (s, 1H), 5.60 (t, J = 8.8 Hz, 1H), 4.19-4.07 (m, 2H), 3.91 (s, 3H), 3.57 (t, J = 5.6 Hz, 2H), 3.37 (s, 3H), 3.32-3.26 (m, 1H), 3.19-3.15 (m, 1H), 2.78-2.69 (m, 2H), 2.24-2.20 (m, 1H), 2.02-1.99 (m, 1H), 1.70 (s, 9H). 5 Example 32. (R)-5-(tert-butyl)-N-(2-(2,2-difluoroethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (compound 32) To a solution of (R)-5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-20 yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (105 mg, 0.21 mmol) in CH3CN (8 mL) was added l,l-difluoro-2-iodoethane (23 pL, 0.26 mmol) and potassium carbonate (89 mg, 0.64 mmol). The mixture was stirred at 80 °C for 18 h. The reaction mixture was cooled to room temperature and filtered. The filtrate was concentrated and the crude product was purified by prep-HPLC (CH3CN / H2O with 0.05% TFA as mobile phase) to give 25 (R)-5-(tert-butyl)-N-(2-(2,2-difluoroethyl)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,3,4-oxadiazole-2-carboxamide as a yellow solid (30 mg, yield: 25%). ESLMS (M+H) +: 552.0. 'H NMR (400MHz, METHANOL-d4) 6: 8.42 (d, J= 5.3 Hz, 1H), 8.23 (d, J= 8.4 Hz, 1H), 8.19 (s, 1H), 7.95 (s, 1H), 7.68-7.65 (m, 1H), 20222(0826(1) ug 2022 7.62 (d, J = 1.8 Hz, 1H), 7.30 (d, J = 5.5 Hz, 1H), 6.40 (tt, J = 53.5 Hz, 3.6 Hz, 1H), 5.70 (dd, J = 9.8 Hz, 2.5 Hz, 1H), 4.83 (br d, J = 14.3 Hz, 1H), 4.67 (br d, J = 14.3 Hz, 1H), 3.90 (s, 3H), 3.83-3.67 (m, 2H), 3.59 (dt, J= 15.0 Hz, 3.4 Hz, 2H), 2.52-2.31 (m, 2H), 1.49 (s, 9H) Example 33. 5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 5 6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide (compound 33) To a solution of (3-carboxypropyl)triphenylphosphonium bromide (12.87 g, 30 mmol, 1.0 equiv) in dry DMSO (50 mL) was added NaH (3 g, 75 mmol, 2.5 equiv) by portions at 0 °C. The reaction was stirred at room temperature for 30 min before 3-bromobenzaldehyde (5.5 g, 30 mmol, 1.0 equiv) was dropwise added. The mixture was stirred at room temperature for another 15 2 h and then poured into water (200 mL) and extracted with EtOAc (100 mL). The aqueous solution was acidified with concentrated HC1 and extracted with EtOAc (200 mL x 3). The combined organic layer was washed with brine (100 mL x 3). The organic layer was dried over sodium sulfate and concentrated under reduced pressure. The residue was purified by silica gel column (petroleum ether / EtOAc = 2 : 1) to give (E)-5-(3-bromophenyl)pent-4-enoic acid (4.4 g, 20 yield: 58%) as a yellow oil. ESLMS (M+l)+: 254.9. 'H NMR (400 MHz, CDC13) ¢5: 7.48 (s, 1H), 7.33 (d, J = 7.6 Hz, 1H), 7.23 (d, J = 8.0 Hz, 1H), 7.15 (t, J = 8.0 Hz, 1H), 6.39-6.35 (m, 1H), 6.23-6.19 (m, 1H), 2.55-2.53 (m, 4H). WO 2018 / 191577 PCT / US2018 / 027415 2. Synthesis of 5-(3-bromophenyl)pentanoic acid 20222(0826(1) ug 2022 Br Br To a solution of (E)-5-(3-bromophenyl)pent-4-enoic acid (2.4 g, 9.4 mmol, 1.0 equiv) in ethanol (20 mL) was added PtO2 (200 mg, 10%). The mixture was stirred for 1 h under hydrogen 5 atmosphere. The catalyst was filtered out and the resulting filtrate was concentrated to give target compound 5-(3-bromophenyl)pentanoic acid (2.1 g, yield: 87%) as a yellow solid, which was used to next step without further purification. ESI-MS (M+l)+: 256.9. JH NMR (400 MHz, CD3OD) ¢5: 7.24 (s, 1H), 7.21-7.18 (m, 1H), 7.06-7.03 (m, 2H), 2.50 (t, J = 6.8 Hz, 2H), 2.20 (t, J = 6.8 Hz, 2H), 1.53-1.51 (m, 4H). 0 3. Synthesis of 2-bromo-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-one A mixture of 5-(3-bromophenyl)pentanoic acid (2.1 g, 8.2 mmol, 1.0 equiv) in PPA (5 ml) was stirred at 130 °C for 1 h. After cooling down, the mixture was basified to pH = 7-8 with NaOH (IN). The mixture was extracted with EtOAc (200 mL x 2). The combined organic layers 5 was concentrated and purified by prep-HPLC (Gradient: 5% B increase to 95% B, A: 0.5% NH3 in water, B: CH3CN) to give 2-bromo-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-one (1.1 g, yield: 56%) as a colorless oil. ESI-MS (M+H)+: 239.0. 1H NMR (400 MHz, CDC13) ¢5: 7.59 (d, J = 8.4 Hz, 1H), 7.43 (dd, J = 8.4, 2.0 Hz, 1H), 7.38 (s, 1H), 2.89 (t, J = 6.8 Hz, 2H), 2.72 (t, J = 6.0 Hz, 2H), 1.90-1.79 (m, 4H). 20 4. Synthesis of 2-bromo-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-ol Br Br To a solution of 2-bromo-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-one (600 mg, 2.5 mmol, 1.0 equiv) in MeOH (10 mL) was added NaBH^ (144 mg, 3.8 mmol, 1.5 equiv) and then stirred 202a2m6(D ug 2022 at room temperature for 1 h. After evaporation of the solvent, the residue was purified by silica gel column (EtOAc / hexane=l:5) to give 2-bromo-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-ol (600 mg, yield: 99%) as a white solid. ESI-MS (M+H-17)+: 222.9. JH NMR (400 MHz, CDC13) 3: 7.34-7.30 (m, 2H), 7.24 (s, 1H), 4.88-4.86 (m, 1H), 2.88-8.82 (m, 1H), 2.70-2.63 (m, 1H), 5 2.08-2.00 (m, 2H), 1.81-1.72 (m, 4H). 5. Synthesis of 5-azido-2-bromo-6,7,8,9-tetrahydro-5H-benzo[7]annulene Br Br A solution of 2-bromo-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-ol (600 mg, 2.5 mmol, 1.0 equiv) in toluene (10 mL) was cooled in an ice bath under N2 and treated with DPPA (2.06 g, 7.5 0 mmol, 3.0 equiv) in one portion followed by DBU (1.14 g, 7.5 mmol, 3.0 equiv). The reaction temperature was kept at 0 °C for 1 h and then was warmed to room temperature for 12 h. The mixture was diluted with EtOAc (100 mL), washed with 2N HC1 (2 x 50 mL), brine and the organic layer was dried over Na2SO4, filtered then concentrated. The crude product was purified by silica gel column (eluted with PE) to give 5-azido-2-bromo-6,7,8,9-tetrahydro-5H- 5 benzo[7]annulene (350 mg, yield: 45%) as a yellow oil. ESLMS (M+H-N3)+: 223.0. 1H NMR (400 MHz, CDCI3) 3: 7.31-7.29 (m, 2H), 7.15 (d, J= 8.0 Hz, 1H), 4.72 (t, J= 5.2 Hz, 1H), 2.992.92 (m, 1H), 2.70-2.64 (m, 1H), 2.08-2.00 (m, 1H), 1.90-1.59 (m, 5H). 6. Synthesis of 2-bromo-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-amine 20 To a mixture of 5-azido-2-bromo-6,7,8,9-tetrahydro-5H-benzo[7]annulene (375 mg, 1.4 mmol, 1.0 equiv) in THF (5 mL) and H2O (0.5 mL) was added PPh3 (741 mg, 2.8 mmol, 2.0 equiv). The mixture was stirred at room temperature for 12 h. The mixture was acidified to pH = 1 with HC1 (1 N) and extracted with EtOAc (100 mL). The separated aqueous layer was basified to pH = 10 with NaOH (1 N). The resulting precipitate was collected and dried to give 2-bromo- 25 6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-amine (360 mg, yield: 100%) as a white solid. ESLMS (M+H-17)+: 222.9. WO 2018 / 191577 PCT / US2018 / 027415 7. Synthesis of tert-butyl (2-bromo-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)carbamate 20222(0826(1) ug 2022 To a mixture of tert-butyl (2-bromo-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)carbamate (360 mg, 1.5 mmol, 1.0 equiv) in CH2CI2 (5 mL) and triethylamine (303 mg, 3.0 mmol, 2.0 5 equiv) was added BOC2O (394 mg, 1.8 mmol, 1.2 equiv). The mixture was stirred at room temperature for 2 h. After diluted with EtOAc (100 mL), the mixture was washed with water (100 mL x 2). The organic layer was concentrated and purified by silica gel column (PE : EtOAc = 30 : 1) to give tert-butyl (2-bromo-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)carbamate (310 mg, yield: 61%) as a white solid. ESI-MS (M-55): 284.0. JH NMR (400 MHz, CDC13) ¢5: 0 7.29-7.23 (m, 2H), 7.10 (d, 7=8.0 Hz, 1H), 4.92-4.82 (m, 2H), 2.84-2.75 (m, 2H), 1.88-1.83 (m, 5H), 1.44 (s, 9H). 8. Synthesis of tert-butyl (2-(2-chloropyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)carbamate 1) KOAc (3.0 eq), Pd(dppf)CI2 (0.05 eq) dioxane, 100 °C, 12 h 2) K2CO3 (2.0 eq), Pd(dppf)CI2 (0.05 eq) dioxane, H2O, 100 °C, 12 h 15 Synthesis of tert-butyl (2-(2-chloropyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)carbamate was similar to that of tert-butyl 4-(2-chloropyrimidin-4-yl)-2-methylbenzylcarbamate. The mixture was concentrated and purified by silica gel column (PE : EtOAc = 4 : 1) to give tert-butyl (2-(2-chloropyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)carbamate (200 mg, yield: 66%) as a white solid. ESLMS (M+H)+: 374.1. 20222(0826(1) ug 2022 9. Synthesis of tert-butyl (2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)carbamate H2N N-— (1.5 equiv) Pd2(dba)3 (0.1 equiv), s-phos (0.2 equiv) Cs2CO3 (2.0 equiv), dioxane, 100 °C, 6 h NHBoc N- A mixture of tert-butyl (2-(2-chloropyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5 5-yl)carbamate (500 mg, 1.34 mmol), 1-methyl-lH-pyrazol-4-amine (195 mg, 2.01 mmol), Pd2(dba)3 (120 mg, 0.13 mmol), S-phos (lllmg, 0.27 mmol) and CS2CO3 (870 mg, 2.68 mmol) in 1,4-dioxane (12 ml) was stirred at 100 °C for 6 h under N2. The mixture was filtrated through a Celite pad and the filtrate was concentrated. The residue was purified by silica-gel-column (EtOAc) to give tert-butyl (2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- 0 tetrahydro-5H-benzo[7]annulen-5-yl)carbamate as a white solid (480 mg, yield: 83%). ESI-MS (M+H) +: 435.3. JH NMR (400 MHz, CDC13) ¢5: 8.46 (d, J = 5.2 Hz, 1H), 7.88-7.80 (m, 3H), 7.38-6.85 (m, 4H), 4.97-4.94 (m, 2H), 3.85 (s, 3H), 2.96-2.94 (m, 2H), 1.93-1.64 (m, 6H), 1.47 (s, 9H). 10. Synthesis of 4-(5-amino-6,7,8,9-tetrahydro-5H-benzo[7]annulen-2-yl)-N-(l-methyl-lH-5 pyrazol-4-yl)pyrimidin-2-amine A mixture of tert-butyl (2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)carbamate (240 mg, 0.55 mmol) in TFA (4.0 mL) and CH2CI2 (4.0 mL) was stirred at rt for 2 h. Then the reaction mixture was concentrated to give 20 compound 4-(5-amino-6,7,8,9-tetrahydro-5H-benzo[7]annulen-2-yl)-N-(l-methyl-lH-pyrazol-4-yl)pyrimidin-2-amine (250 mg, crude) as a yellow oil, which was used in the next step without further purification. ESI-MS (M+H) +: 335.3. 20222(0826(1) ug 2022 11. Synthesis of 5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide 2. TEA (3.0 equiv), DCM, rt, 2 h 1. (COCI)2 (3.0 equiv), DMF(cat), DCM 0 °C to rt, 2 h 5 Synthesis of 5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide was similar to that of tert-butyl 8-bromo-5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-4,5-dihydro-lH-benzo[c]azepine-2(3H)-carboxylate in Example 2. The residue was purified by prep-HPLC (CH3CN / H2O with 0.05% NH4HCO3 as mobile phase) to give 5-(tert-butyl)-N-(2-(2-((l-methyl- 0 lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide as a yellow solid (120 mg, yield: 42%). ESI-MS (M+H) +: 487.3. JH NMR (400 MHz, CD3OD) ri: 8.43 (d, J = 5.2 Hz, 1H), 7.98-7.96 (m, 2H), 7.51-7.30 (m, 3H), 6.74 (d, J = 2.4 Hz, 1H), 5.44 (d, J = 10.0 Hz, 1H), 3.83 (s, 3H), 3.09-3.03 (m, 2H), 2.10-1.43 (m, 6H), 1.54 (s, 9H). Example 34. (R)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxamide (compound 34) 20 34 20222(0826(1) ug 2022 1. Synthesis of (R,Z)-5-((l-phenylethyl)imino)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-2-ol nh2 OH OH A slurry mixture of 2-hydroxy-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-one (Herdman C.A. el al., Structural interrogation of benzosuberen-based inhibitors of tubulin polymerization, 5 Bioorganic & Medical Chemistry, 23(24), 7497-7520, 2015) (10 g, 57 mmol), (R)-(+)-a- methylbenzylamine (9.0 g, 74 mmol), and p-toluenesulfonic acid (0.48g, 2.84 mmol) in 150 mL toluene was heated at reflux with a Dean Stark apparatus. After 16 hr, the Dean Stark apparatus was removed and reflux was continued until ~80mL toluene was distilled, during which solid crystallized. The mixture was cooled to 0 °C, kept at 0 °C for 2 hr, and then filtered to give 0 (R,Z)-5-((l-phenylethyl)imino)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-2-ol as a tan solid (after drying - 13.5 g, yield: 85%). The crude product was used for next step without further purification. 2. Synthesis of (R)-5-amino-6,7,8,9-tetrahydro-5H-benzo[7]annulen-2-ol acetate HOAc OH 3. H2 (50 psi), 10% Pd / C OH MeOH, 55 °C 15 A slurry of (R,Z)-5-((l-phenylethyl)imino)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-2-ol (13.5 g, 48 mmol) in 10:1 EtOAc / MeOH (148 mL) was cooled to -5 °C. Solid NaBH4 (5.45 g, 144 mmol) was added in portions, while maintaining the temperature under 5 °C. The mixture was stirred at -5 °C for 40 min. After 1 hr, water (135 mL) was added, followed by 5N HC1 until pH -6. The layers were separated, and the aqueous layer was extracted with 135 mL 20 EtOAc. The combined organics were washed with brine (100 mL) and dried (Na2SO4) and filtered to give a solution of (R)-5-(((R)-l-phenylethyl)amino)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-2-ol which was carried forward. To the solution of (R)-5-(((R)-l-phenylethyl)amino)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-2-ol (48 mmol) in EtOAc (-185 mL) was added acetic acid (5.8 g, 96 mmol). 25 The solution was then concentrated and carried forward. 20222(0826(1) ug 2022 MeOH (200mL) was added, followed by 10% Pd / C (1.4g, 10% wt%). The mixture was stirred under an atmosphere of H2 (50 psi) at 55 °C for 16 hr. The mixture was filtered and the filtrate was concentrated. Methyl tert-butyl ether (100 mL) was added, followed by petroleum ether (100 mL). The mixture was stirred at 25 °C for 2 hr, and filtered. After drying at 50 °C, (R)-5-amino-6,7,8,9-tetrahydro-5H-benzo[7]annulen-2-ol acetate was isolated (9.9 g, yield: 87% for three steps. 3. Synthesis of tert-butyl (R)-(2-hydroxy-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)carbamate HOAc OH OH To a solution of (R)-5-amino-6,7,8,9-tetrahydro-5H-benzo[7]annulen-2-ol acetate (9.9 g, 42 mmol) in dioxane (50 mL) was added aqueous NaHCOs (IN, 100 mL, 100 mmol) followed by BOC2O (13.7 g, 63 mmol. The mixture was stirred at rt overnight. EtOAc (150 mL) was added and the layers were separated. The aqueous layer was extracted with EtOAc (150 mL). The combined organic layers were dried (Na2SO4), filtered, and concentrated. MTBE (150 mL) was added, followed by petroleum ether (150 mL). After stirring for 2 hr, the mixture was filtered and the filtrate was concentrated to give an oil. The crude material was purified by silica gel chromatography to give tert-butyl (R)-(2-hydroxy-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)carbamate as a white solid (7.8 g, yield: 67%, ee: 98.5%). JH NMR (400 MHz, DMSO-de) b: 9.06 (s, 1H), 7.29-7.27 (m, 1H), 6.94 (d, J = 8.8 Hz, 1H), 6.49 (s, 2H), 4.48 (m, 1H), 2.65 (br s, 2H), 1.99-1.64 (m, 4H), 1.48-1.25 (m, 11H). 4. Synthesis of (R)-5-(ftert-butoxycarbonyl)amino)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-2-yl trifluoromethanesulfonate To a solution of tert-butyl (R)-(2-hydroxy-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)carbamate (1.0 g, 3.6 mmol) and pyridine (570 mg, 7.2 mmol) in DCM (30 mL) was added Tf2O (1.5 g, 5.4 mmol) at 0 °C. The mixture was stirred at 0 °C for 1 h. After diluting with water (20 mL), the mixture was extracted with DCM (3 x 40 mL). The combined organic layers were 133 20222(0826(1) ug 2022 washed by aq. NaHSO4 (0.5 N, 20 mL) to adjust water layer to pH = 5-6, dried (Na2SO4), filtered and concentrated. The crude product was used for next step without further purification. ESI-MS (M+H)+: 410.1. 'H NMR (400 MHz, CDC13) 3: 7.31 (d, J = 8.8 Hz, 1H), 7.07-7.00 (m, 2H), 4.93-4.88 (m, 2H), 2.89-2.82 (m, 2H), 1.91-1.68 (m, 6H), 1.45 (s, 9H). 5 5. Synthesis of tert-butyl (R)-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9- tetrahydro-5H-benzo[7]annulen-5-yl)carbamate 1) Pd(dppf)CI2 (0.1 eq), KOAc (2.0 eq) dioxane, 90 °C, 2 h 2 Pd(dppf)CI2 (0.1 eq), K2CO3 (2.0 eq) dioxane / H2O, 100 cC,4 h Cl Synthesis of tert-butyl (R)-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 0 6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)carbamate was similar to that of tert-butyl 5-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-4,5-dihydro-lH-benzo[c]azepine-2(3H)-carboxylate (Example 2, Step 11). The crude product was purified by silica gel column chromatograph (DCM / MeOH = 20:1) to give tert-butyl (R)-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H- 5 benzo[7]annulen-5-yl)carbamate as a yellow solid (420 mg, yield: 68%). ESI-MS (M+H) +: 435.2. 'H NMR (400 MHz, CDC13) ¢5: 8.41-8.37 (m, 1H), 7.88-7.77 (m, 3H), 7.55-7.36 (m, 4H), 7.05 (d, J = 5.2 Hz, 1H), 5.09-5.01 (m, 1H), 3.90 (s, 3H), 2.93-2.91 (m, 2H), 2.18-2.17 (m, 1H), 1.91-1.82 (m, 5H), 1.28-1.24 (m, 9H). 6. Synthesis of (R)-4-(5-amino-6,7,8,9-tetrahydro-5H-benzo[7]annulen-2-yl)-N-(l-methyl-lH- 20 pyrazol-4-yl)pyrimidin-2-amine 20222(0826(1) ug 2022 Synthesis of (R)-4-(5-amino-6,7,8,9-tetrahydro-5H-benzo[7]annulen-2-yl)-N-(l-methyl-lH-pyrazol-4-yl)pyrimidin-2-amine was similar to 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide described in Example 2, Step 12. The crude product was used for next step without 5 further purification. ESI-MS (M+H) +: 335.2. 7. Synthesis of ethyl (Z)-2-amino-2-(((l-methylcyclopropane-l-carbonyl)oxy)imino)acetate DCM, rt, 16 h (COCI)2 (2 eq) To a solution of 1-methylcyclopropane-1-carboxylic acid (2 g, 20 mmol) in DCM (50 mL) 0 was added (COClh (5 g, 40 mmol). The mixture was stirred at rt for 16 h and then concentrated to give the intermediate acyl chloride. To a solution of ethyl (Z)-2-amino-2-(hydroxyimino)acetate (2.6 g, 20 mmol) and triethylamine (6 g, 60 mmol) in DCM (20 mL) was added a solution of the intermediate acyl chloride in DCM (20 mL). The reaction was stirred at rt for 2 h, washed by water, dried by Na2SO4, concentrated to give ethyl (Z)-2-amino-2-(((l- 5 methylcyclopropane-l-carbonyl)oxy)imino)acetate as a white solid (3.0 g, yield: 63%). ESLMS (M+H) +: 215.1. 8. Synthesis of ethyl 5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxylate AcOH, 100 °C, 2 h A solution of ethyl (Z)-2-amino-2-(((l-methylcyclopropane-l-carbonyl)oxy)imino)acetate 20 (3.0 g, 14 mmol) in AcOH (20 mL) was stirred at 100 °C for 2 h and then concentrated. The residue was diluted with DCM (20 mL), washed by saturated NaHCOs solution (3x10 mL), dried over Is^SO^ and concentrated. The residue was purified by silica gel column (petroleum ether: EtOAc =10:1) to give ethyl 5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxylate as a yellow solid (1.1 g, yield: 52%). ESI-MS (M+H)+: 197.1. 9. Synthesis of potassium 5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxylate 20222(0826(1) ug 2022 KOH (1.1 eq), EtOH / H2O rt, 12 h N-O Ethyl 5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxylate (1.0 g, 5.0 mmol) and KOH 5 (308 mg, 5.5 mmol) was dissolved in EtOH / H2O (4:1, 20 mL). The reaction was stirred at rt for 12 h and then concentrated to give potassium 5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxylate as a yellow solid (1.1 g, yield: 95%). ESI-MS (M+H)+: 169.1. 10. Synthesis of N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxamide (I-IM_6) 34 To a solution of potassium 5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxylate (123 mg, 0.6 mmol), DIPEA (232 mg, 0.75 mmol) and HATU (342 mg, 0.9 mmol) in DCM (5 mL) was added (R)-4-(5-amino-6,7,8,9-tetrahydro-5H-benzo[7]annulen-2-yl)-N-(l-methyl-lH- 15 pyrazol-4-yl)pyrimidin-2-amine (150 mg, 0.50 mmol). The mixture was stirred at rt for 1 h. After diluted with water (60 mL), the mixture was extracted with DCM (80 mLx2). The combined organic layers were dried and concentrated. The crude product was purified by prep-HPLC to give (R)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxamide as a white solid 20 (60 mg, yield: 30%). ESI-MS (M+H) +: 485.2. 1H NMR (400 MHz, CD3OD) ¢5: 8.40 (d, J = 5.2 Hz, 1H), 7.97 (s, 1H), 7.98-7.93 (m, 2H), 7.66 (s, 1H), 7.39 (d, J = 8.4 Hz, 1H), 7.21 (d, J = 5.2 Hz, 1H), 5.43 (d, J = 10 Hz, 1H), 3.90 (s, 3H), 3.09-3.02 (m, 2H), 2.09-1.86 (m, 5H), 1.64 (s, 3H), 1.54-1.45 (m, 3H), 1.21-1.18 (m, 2H). 20222(0826(1) ug 2022 Example 35. (R)-5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyridin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide (compound 35) 5 35 1. Synthesis of tert-butyl (R)-(2-(2-chloropyridin-4-yl)-6,7,8,9-tetrahydro-5H- benzo[7]annulen-5-yl)carbamate Cl (3.0 eq) iCI2.DCM (0.1 eq) (3.0 eq), H2O, 90 cC, 4h Synthesis of tert-butyl (R)-(2-(2-chloropyridin-4-yl)-6,7,8,9-tetrahydro-5H-0 benzo[7]annulen-5-yl)carbamate was similar to that of tert-butyl l-(5-(tert-butyl)-l,2,4-oxadiazole-3-carboxamido)-7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-4,5-dihydro-lH-benzo[d]azepine-3(2H)-carboxylate (Example 1, Step 12). The crude was purified by silica gel column chromatography (MeOH / EtOAc = 1 / 50) to give tert-butyl (R)-(2-(2-chloropyridin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)carbamate as a yellow solid 15 (350 mg, yield: 44%). ESI-MS (M+H)+: 373.2. 2. Synthesis of tert-butyl (R)-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyridin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)carbamate To a solution of tert-butyl (R)-(2-(2-chloropyridin-4-yl)-6,7,8,9-tetrahydro-5H- 20 benzo[7]annulen-5-yl)carbamate (400 mg, 1.1 mmol) in dioxane (20 mL) were added 1-methyl- 20222(0826(1) ug 2022 lH-pyrazol-4-amine (210 mg, 2.1 mmol), Pd2(dba)3 (100 mg, 0.11 mmol), SPhos (45 mg, 0.11 mmol) and CS2CO3 (680 mg, 2.1 mmol). The mixture was heated to 100 °C for 2 h and concentrated. The crude was purified by silica gel column chromatography (MeOH / EtOAc=l / 50) to give tert-butyl (R)-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyridin-4-5 yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)carbamate (330 mg, yield: 71%) as a yellow solid. ESI-MS (M+H)+: 434.2. 3. Synthesis of (R)-4-(5-amino-6,7,8,9-tetrahydro-5H-benzo[7]annulen-2-yl)-N-(l-methyl-lH-pyrazol-4-yl)pyridin-2-amine 0 Synthesis of (R)-4-(5-amino-6,7,8,9-tetrahydro-5H-benzo[7]annulen-2-yl)-N-(l-methyl-lH-pyrazol-4-yl)pyridin-2-amine was similar to that of 5-(tert-butyl)-N-(7-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[d]azepin-l-yl)-1,2,4-oxadiazole-3-carboxamide (Example 1, Step 13). The crude product (R)-4-(5-amino-6,7,8,9-tetrahydro-5H-benzo[7]annulen-2-yl)-N-(l-methyl-lH-pyrazol-4-yl)pyridin-2-amine was 5 obtained as yellow solid (200 mg, yield: 79%). ESI-MS (M+H)+: 334.2. 4. Synthesis of (R)-5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyridin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide (I-IM_65) 35 20 Synthesis of (R)-5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyridin-4-yl)- 6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3-carboxamide was similar to N-(2-(2-(( 1-methyl-IH-pyr azo l-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H- 20222(0826(1) ug 2022 WO 2018 / 191577 PCT / US2018 / 027415 benzo[7]annulen-5-yl)-5-(l-methylcyclopropyl)-l,2,4-oxadiazole-3-carboxamide described in Example 34, Step 10. The mixture was purified by prep-HPLC (CH3CN / H2O with 0.05% NH3.H2O as mobile phase) to give (R)-5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyridin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-3- 5 carboxamide as yellow solid (100 mg, yield: 88%). ESI-MS (M+H) +: 486.3. JH NMR (400 MHz, CDCI3) 6: 8.17-8.16 (m, 1H), 7.61 (s, 1H), 7.48 (s, 1H), 7.43-7.41 (m, 1H), 7.36-7.30 (m, 3H), 6.87-6.86 (m, 1H), 6.71 (s, 1H), 6.22-6.18 (m, 1H), 5.44-5.40 (m, 1H), 3.91 (s, 3H), 3.012.89 (m, 2H), 2.05-1.93 (m, 4H), 1.82-1.78 (m, 2H), 1.49 (s, 9H). Example 36. (R)-5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-0 6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide (compound 36a) 1. Synthesis of (R)-l-(tert-butyl)-N-(8-(2-chloropyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide Synthesis of (R)-l-(tert-butyl)-N-(8-(2-chloropyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-lH-l,2,3-triazole-4-carboxamide was similar to that of (R)-5-(tert-butyl)-N-(8-(2-((l,5-dimethyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydro-lH-benzo[c]azepin-5-yl)-l,2,4-oxadiazole-3-carboxamide (Example 9, Step 4). The crude product 20 was used for next step without purification. ESI-MS (M+H) +: 427.2. 2. Synthesis of (R)-5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide (compound 36a) and (S)-5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide (compound 36b) 202a2m6(D ug 2022 36a 36b 3-tert-Butyl-l,2,4-oxadiazole-5-carboxylic acid {2-[2-(l-methyl-lH-pyrazol-4-ylamino)-pyrimidin-4-yl]-6,7,8,9-tetrahydro-5H-benzocyclohepten-5-yl}-amide (76 mg ) was subjected to 5 SFC separation (IA 2 x (2 x 15 cm), 30% ethanol / CO2, 100 bar, 70 mL / min, 220 nm, inj vol.: 1 mL, 5 mg / mL, ethanol) and yielded 43 mg of peak-1 (chemical purity 99%, ee >99%) and 36 mg of peak-2 (chemical purity 99%, ee >99%). Peak 1 is assigned as (R)-5-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-0 carboxamide: LCMS: Rt 1.23 min, m / z 487.00. JH NMR (400 MHz, METHANOL-d4) 5 8.41 (d, J = 5.27 Hz, 1H), 7.96 (d, J = 11.80 Hz, 3H), 7.66 (s, 1H), 7.43 (d, J = 8.53 Hz, 1H), 7.22 (d, J = 5.27 Hz, 1H), 5.43 (d, J = 9.29 Hz, 1H), 3.90 (s, 3H), 2.96 - 3.24 (m, 2H), 1.74 - 2.25 (m, 5H), 1.51 (s, 9H), 1.28 - 1.43 (m, 1H). Peak 2 is assigned as (S)-5-(tert-butyl)-A-(2-(2-((l-methyl-lH-pyrazol-4- 5 yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,3,4-oxadiazole-2-carboxamide: LCMS: Rt 1.23 min, m / z 487.00. 'H NMR (400 MHz, METHANOL-d4) 5 8.40 (d, J = 5.27 Hz, 1H), 7.96 (d, J = 12.05 Hz, 3H), 7.66 (s, 1H), 7.43 (d, J = 8.53 Hz, 1H), 7.22 (d, J = 5.27 Hz, 1H), 5.44 (s, 1H), 3.90 (s, 3H), 2.93 - 3.21 (m, 2H), 1.78 - 2.23 (m, 5H), 1.51 (s, 9H), 1.31 (s, 1H). 20 Example 37. 3-( / (77-butyl)-N-(2-(2-(( 1-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-5-carboxamide (compound 37) 37 202a2m6(D ug 2022 To a solution of 3-tert-butyl-l,2,4-oxadiazole-5-carboxylic acid (1.00 mg, 0.60 mmol) and N,N,N',N'-tetramethyl-O-(7-azabenzotriazol-l-yl)uronium hexafluorophosphate (273 mg, 0.72 mmol) and 4-(5-amino-6,7,8,9-tetrahydro-5H-benzo[7]annulen-2-yl)-N-(l-methyl-lH-pyrazol-4-yl)pyrimidin-2-amine (200 mg, 0.6 mmol) in N,N-dimethylformamide (2.3 mL) was added N,N- 5 diisopropylethylamine (0.42 mL, 2.4 mmol). The reaction was stirred at rt overnight and was quenched with MeOH. After workup, prep HPLC gave 3-(tert-butyl)-N-(2-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-6,7,8,9-tetrahydro-5H-benzo[7]annulen-5-yl)-l,2,4-oxadiazole-5-carboxamide as a solid (186 mg; yield: 64%). LCMS: Rt 1.38 min.; m / z 487.1; JH NMR (400 MHz, METHANOL-d4) 5: 8.29 (br. s., 1H), 7.97 - 8.09 (m, 2H), 7.94 (s, 1H), 7.68 0 (br. s., 1H), 7.43 (d, J = 8.78 Hz, 2H), 5.41 (d, J = 9.79 Hz, 1H), 3.92 (s, 3H), 2.87 - 3.18 (m, 2H), 1.70 - 2.29 (m, 5H), 1.45 (s, 10H). Example 38: 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)- 2,3,4,5-tetrahydrobenzo[b]oxepin-5-yl)-l,3,4-oxadiazole-2-carboxamide (compound 38) H 5 38 I. Synthesis of methyl 4-(3-bromophenoxy)butanoate K2CO3 (2.0 eq) DMF, rt to 95 °C, 1.5 h Br^ h-0 O (1.2 eq) To a solution of 3-bromophenol (3.44 g, 20.0 mmol) and methyl 4-bromobutanoate (4.32 g, 24.0 mmol) in DMF (20 mL) was added K2CO3 (5.52 g, 40.0 mmol). The mixture was stirred at 20 rt for 0.5 h and then heated with stirring at 90 °C for 1 h. After diluting with EtOAc (200 mL), the mixture was washed with water (3 x 50 mL), dried and concentrated. The crude product was purified by silica gel column chromatograph (petroleum / EtOAc = 10:1) to give methyl 4-(3-bromophenoxy)butanoate as a white liquid (5.2 g, yield: 96%). ESLMS (M+H) +: 273.1. 2. Synthesis of 4-(3-bromophenoxy)butanoic acid 202a2m6(D ug 2022 NaOH (3.0 eq) MeOH, 65 °C, 1 h Br To a solution of methyl 4-(3-bromophenoxy)butanoate (4.9 g, 19 mmol) in MeOH (40 mL) and H2O (40 mL) was added NaOH (2.3 g, 57 mmol). The reaction mixture was stirred at 65 °C 5 for 1 h. Then the solvent was concentrated under reduced pressure. The residue was adjusted to pH = 3 with HC1 (IN). The mixture was extracted with EtOAc (3 x 100 mL x 3). The organic layers were dried over sodium sulfate and concentrated under reduced pressure to give 4-(3-bromophenoxy)butanoic acid (4.8 g, yield: 98%). The crude product was used in next step without further purification. ESLMS (M+H)+: 259.1. 'H NMR (400 MHz, CDC13) ¢5: 7.24-7.20 0 (m, 1H), 7.10-7.08 (m, 2H), 6.93 (d, J = 9.6 Hz, 1H), 3.97 (t, J = 6.4 Hz, 2H), 2.35 (t, J = 7.2 Hz, 2H), 1.92-1.88 (m, 2H). 3. Synthesis of 8-bromo-3,4-dihydrobenzo[b]oxepin-5(2H)-one Br 2.AICI3 (1.1 eq). DCM 0°C to rt, 1 h LSOCI2 (2.0eq), DMF (cat.) DCM, rt, 1 h To a solution of 4-(3-bromophenoxy)butanoic acid (1.82 g, 7.04 mmol) in DCM (35 mL) 5 was added SOCI2 (1.67 g, 14 mmol) and DMF (cat.). The reaction mixture was stirred at 40 °C for 1 h. Then the solvent was removed under reduced pressure, dried in vacuo for 2 h. The residue was dissolved in DCM (35 mL) and cooling down with an ice bath. AICI3 (1.02 g, 80 mmol) was added and the mixture was stirred at 0 °C - rt for 12 h. The mixture was poured into con. HC1 (10 mL) and extracted with EtOAc (2 x 50 mL). The organic layers were washed with 20 water (50 mL), brine (50 mL) and dried over sodium sulfate. After concentration under reduced pressure, the crude product was purified by silica gel column chromatograph (petroleum ether / EtOAc = 4:1) to give 8-bromo-3,4-dihydrobenzo[b]oxepin-5(2H)-one as a white solid (1.2 g, yield: 71%). ESLMS (M+H)+: 241.1. 'H NMR (400 MHz, CDC13) ¢5: 7.64 (d, J = 8.8 Hz, 1H), 7.27-7.23 (m, 2H), 4.25 (t, J = 6.8 Hz, 2H), 2.89 (t, J = 7.2 Hz, 2H), 2.25-2.18 (m, 2H). 4. Synthesis of 8-bromo-2,3,4,5-tetrahydrobenzo[b]oxepin-5-amine 20222(0826(1) ug 2022 To a mixture of 8-bromo-3,4-dihydrobenzo[b]oxepin-5(2H)-one (1.2 g, 5.0 mmol) in i-PrOH (50 mL), NH4OAc (7.63 g, 100 mmol) and NaBH3CN (3.15 g, 50 mol) was added. The 5 mixture was stirred at 80 °C for 4 h. After cooling down, the mixture was basified to pH >12 with NaOH (1 N). The mixture was extracted with DCM (250 mL x 2). The combined organic layers were dried and concentrated. The resulting residue was purified by silica gel column (DCM : MeOH = 20 : 1) to give 8-bromo-2,3,4,5-tetrahydrobenzo[b]oxepin-5-amine as a white solid (900 mg, yield: 75%) was obtained. ESLMS (M+H -NH3) +: 225.1. 0 5. Synthesis of N-(8-bromo-2,3,4,5-tetrahydrobenzo[b]oxepin-5-yl)-5-(tert-butyl)-l,3,4- oxadiazole-2-carboxamide J HATU (1.5 eq), DIPEA (3.0 eq) I Br DMF, rt, 2 h Br To a solution of 8-bromo-2,3,4,5-tetrahydrobenzo[b]oxepin-5-amine (500 mg, 2.23 mmol, 1.0 eq) in DMF (20 mL), potassium 5-tert-butyl-l,3,4-oxadiazole-2-carboxylate (557 mg, 2.68 15 mmol, 1.2 eq), HATU (1.3 g, 3.35 mmol, 1.5 eq) and triethylamine (863 mg, 6.69 mmol, 3.0 eq) were added. The mixture was stirred at rt for 2 h. The solution was diluted with EtOAc (150 mL) and washed with water (50 mL), brine (2 x 50 mL). The organic layer was dried (^oSCE), filtered, and concentrated via rotary evaporator. The residue was purified by reverse phase chromatography (CH3CN / H2O with 0.05% NH3.H2O as mobile phase) to give N-(8-bromo- 20 2,3,4,5-tetrahydrobenzo[b]oxepin-5-yl)-5-(tert-butyl)-l,3,4-oxadiazole-2-carboxamide (210 mg, yield: 30%) as a slight yellow solid. ESLMS (M+H)+: 394.1. 202a2m6(D ug 2022 6. The preparation of 5-(tert-butyl)-N-(8-(2-((l-methyl-lH-pyrazol-4-yl)amino)pyrimidin-4-yl)-2,3,4,5-tetrahydrobenzo[b]oxepin-5-yl)-l,3,4-oxadiazole-2-carboxamide Pd(dppf)CI2.DCM (0.1 eq) KOAc (2 eq) dioxane, 100 °C, 2 h Pd(dppf)CI2 (0.05 eq) (2) K2CO3 (2.0 eq) dioxane / H2O, 100 °C, 2 h Cl 38 To a mixture of N-(8-bromo-2,3,4,5-tetrahydrobenzo[b]oxepin-5-yl)-5-(tert-butyl)-l,3,4-oxadiazo le-2-carboxamide (393 mg, 1.00 mmol) and PinB-BPin (263 mg, 1.1 mmol) in dry 1,4-dioxane (10 mL), KOAc (196 mg, 2.0 mmol), Pd(dppf)Cl2.DCM (81 mg, 0.1 mmol) was added under N2. The mixture was stirred at 100 °C for 2 h under N2. After cooling down, 4-chloro-N-(l-methyl-lH-pyrazol-4-yl)pyrimidin-2-amine (209 mg, 1.0 mmol), K2CO3 (276 mg, 2.0 mmol) and H2O (2.5 mL) was added. The mixture was stirred at 100 °C for 2 h under N2. After cooling dow...
Claims
1. A compound selected from:H , and Hor a pharmaceutically acceptable salt, stereoisomer, or a mixture of stereoisomers thereof.
2. The compound of claim 1, wherein the compound is:Br3. The compound of claim 1, wherein the compound is:
4. The compound of claim 1, wherein the compound is:2024204241 20 Jun 20245. The compound of claim 1, wherein the compound is:
Citation Information
Patent Citations
Heteroaryl compounds as BTK inhibitors and uses thereof
US20160096834A1
Biaryl inhibitors of bruton's tyrosine kinase
US20160311802A1