@merkl/api 0.10.89 → 0.10.90

Sign up to get free protection for your applications and to get access to all the features.
@@ -1794,6 +1794,130 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1794
1794
  };
1795
1795
  };
1796
1796
  };
1797
+ } & {
1798
+ v4: {
1799
+ campaignStatus: {
1800
+ engine: {
1801
+ post: {
1802
+ body: {
1803
+ status: {
1804
+ value: "SUCCESS";
1805
+ computedUntil: number;
1806
+ } | {
1807
+ value: "PROCESSING";
1808
+ } | {
1809
+ error: string;
1810
+ details: string;
1811
+ value: "SKIPPED";
1812
+ } | {
1813
+ error: string;
1814
+ details: string;
1815
+ value: "FAILED";
1816
+ };
1817
+ campaignId: string;
1818
+ distributionChain: number;
1819
+ };
1820
+ params: Record<never, string>;
1821
+ query: unknown;
1822
+ headers: {
1823
+ authorization: string;
1824
+ };
1825
+ response: {
1826
+ 200: void;
1827
+ };
1828
+ };
1829
+ };
1830
+ };
1831
+ } & {
1832
+ campaignStatus: {
1833
+ index: {
1834
+ get: {
1835
+ body: unknown;
1836
+ params: Record<never, string>;
1837
+ query: unknown;
1838
+ headers: unknown;
1839
+ response: {
1840
+ 200: {
1841
+ campaignId: string;
1842
+ computedUntil: bigint;
1843
+ processingStarted: bigint;
1844
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
1845
+ error: string;
1846
+ details: import("../../../database/api/.generated").Prisma.JsonValue;
1847
+ }[];
1848
+ };
1849
+ };
1850
+ };
1851
+ };
1852
+ } & {
1853
+ campaignStatus: {
1854
+ unique: {
1855
+ get: {
1856
+ body: unknown;
1857
+ params: Record<never, string>;
1858
+ query: {
1859
+ campaignId: string;
1860
+ distributionChain: number;
1861
+ };
1862
+ headers: unknown;
1863
+ response: {
1864
+ 200: {
1865
+ campaignId: string;
1866
+ computedUntil: bigint;
1867
+ processingStarted: bigint;
1868
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
1869
+ error: string;
1870
+ details: import("../../../database/api/.generated").Prisma.JsonValue;
1871
+ };
1872
+ };
1873
+ };
1874
+ };
1875
+ };
1876
+ } & {
1877
+ campaignStatus: {
1878
+ computeChain: {
1879
+ ":chainId": {
1880
+ get: {
1881
+ body: unknown;
1882
+ params: {
1883
+ chainId: number;
1884
+ };
1885
+ query: unknown;
1886
+ headers: unknown;
1887
+ response: {
1888
+ 200: {
1889
+ campaignId: string;
1890
+ computedUntil: bigint;
1891
+ processingStarted: bigint;
1892
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
1893
+ error: string;
1894
+ details: import("../../../database/api/.generated").Prisma.JsonValue;
1895
+ }[];
1896
+ };
1897
+ };
1898
+ };
1899
+ };
1900
+ };
1901
+ } & {
1902
+ campaignStatus: {
1903
+ overlaps: {
1904
+ get: {
1905
+ body: unknown;
1906
+ params: Record<never, string>;
1907
+ query: {
1908
+ campaignId: string;
1909
+ distributionChain: number;
1910
+ };
1911
+ headers: {
1912
+ authorization: string;
1913
+ };
1914
+ response: {
1915
+ 200: boolean;
1916
+ };
1917
+ };
1918
+ };
1919
+ };
1920
+ };
1797
1921
  } & {
1798
1922
  index: {
1799
1923
  get: {
@@ -1792,6 +1792,130 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1792
1792
  };
1793
1793
  };
1794
1794
  };
1795
+ } & {
1796
+ v4: {
1797
+ campaignStatus: {
1798
+ engine: {
1799
+ post: {
1800
+ body: {
1801
+ status: {
1802
+ value: "SUCCESS";
1803
+ computedUntil: number;
1804
+ } | {
1805
+ value: "PROCESSING";
1806
+ } | {
1807
+ error: string;
1808
+ details: string;
1809
+ value: "SKIPPED";
1810
+ } | {
1811
+ error: string;
1812
+ details: string;
1813
+ value: "FAILED";
1814
+ };
1815
+ campaignId: string;
1816
+ distributionChain: number;
1817
+ };
1818
+ params: Record<never, string>;
1819
+ query: unknown;
1820
+ headers: {
1821
+ authorization: string;
1822
+ };
1823
+ response: {
1824
+ 200: void;
1825
+ };
1826
+ };
1827
+ };
1828
+ };
1829
+ } & {
1830
+ campaignStatus: {
1831
+ index: {
1832
+ get: {
1833
+ body: unknown;
1834
+ params: Record<never, string>;
1835
+ query: unknown;
1836
+ headers: unknown;
1837
+ response: {
1838
+ 200: {
1839
+ campaignId: string;
1840
+ computedUntil: bigint;
1841
+ processingStarted: bigint;
1842
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
1843
+ error: string;
1844
+ details: import("../../../database/api/.generated").Prisma.JsonValue;
1845
+ }[];
1846
+ };
1847
+ };
1848
+ };
1849
+ };
1850
+ } & {
1851
+ campaignStatus: {
1852
+ unique: {
1853
+ get: {
1854
+ body: unknown;
1855
+ params: Record<never, string>;
1856
+ query: {
1857
+ campaignId: string;
1858
+ distributionChain: number;
1859
+ };
1860
+ headers: unknown;
1861
+ response: {
1862
+ 200: {
1863
+ campaignId: string;
1864
+ computedUntil: bigint;
1865
+ processingStarted: bigint;
1866
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
1867
+ error: string;
1868
+ details: import("../../../database/api/.generated").Prisma.JsonValue;
1869
+ };
1870
+ };
1871
+ };
1872
+ };
1873
+ };
1874
+ } & {
1875
+ campaignStatus: {
1876
+ computeChain: {
1877
+ ":chainId": {
1878
+ get: {
1879
+ body: unknown;
1880
+ params: {
1881
+ chainId: number;
1882
+ };
1883
+ query: unknown;
1884
+ headers: unknown;
1885
+ response: {
1886
+ 200: {
1887
+ campaignId: string;
1888
+ computedUntil: bigint;
1889
+ processingStarted: bigint;
1890
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
1891
+ error: string;
1892
+ details: import("../../../database/api/.generated").Prisma.JsonValue;
1893
+ }[];
1894
+ };
1895
+ };
1896
+ };
1897
+ };
1898
+ };
1899
+ } & {
1900
+ campaignStatus: {
1901
+ overlaps: {
1902
+ get: {
1903
+ body: unknown;
1904
+ params: Record<never, string>;
1905
+ query: {
1906
+ campaignId: string;
1907
+ distributionChain: number;
1908
+ };
1909
+ headers: {
1910
+ authorization: string;
1911
+ };
1912
+ response: {
1913
+ 200: boolean;
1914
+ };
1915
+ };
1916
+ };
1917
+ };
1918
+ };
1795
1919
  } & {
1796
1920
  index: {
1797
1921
  get: {
@@ -1795,6 +1795,130 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1795
1795
  };
1796
1796
  };
1797
1797
  };
1798
+ } & {
1799
+ v4: {
1800
+ campaignStatus: {
1801
+ engine: {
1802
+ post: {
1803
+ body: {
1804
+ status: {
1805
+ value: "SUCCESS";
1806
+ computedUntil: number;
1807
+ } | {
1808
+ value: "PROCESSING";
1809
+ } | {
1810
+ error: string;
1811
+ details: string;
1812
+ value: "SKIPPED";
1813
+ } | {
1814
+ error: string;
1815
+ details: string;
1816
+ value: "FAILED";
1817
+ };
1818
+ campaignId: string;
1819
+ distributionChain: number;
1820
+ };
1821
+ params: Record<never, string>;
1822
+ query: unknown;
1823
+ headers: {
1824
+ authorization: string;
1825
+ };
1826
+ response: {
1827
+ 200: void;
1828
+ };
1829
+ };
1830
+ };
1831
+ };
1832
+ } & {
1833
+ campaignStatus: {
1834
+ index: {
1835
+ get: {
1836
+ body: unknown;
1837
+ params: Record<never, string>;
1838
+ query: unknown;
1839
+ headers: unknown;
1840
+ response: {
1841
+ 200: {
1842
+ campaignId: string;
1843
+ computedUntil: bigint;
1844
+ processingStarted: bigint;
1845
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
1846
+ error: string;
1847
+ details: import("../../../database/api/.generated").Prisma.JsonValue;
1848
+ }[];
1849
+ };
1850
+ };
1851
+ };
1852
+ };
1853
+ } & {
1854
+ campaignStatus: {
1855
+ unique: {
1856
+ get: {
1857
+ body: unknown;
1858
+ params: Record<never, string>;
1859
+ query: {
1860
+ campaignId: string;
1861
+ distributionChain: number;
1862
+ };
1863
+ headers: unknown;
1864
+ response: {
1865
+ 200: {
1866
+ campaignId: string;
1867
+ computedUntil: bigint;
1868
+ processingStarted: bigint;
1869
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
1870
+ error: string;
1871
+ details: import("../../../database/api/.generated").Prisma.JsonValue;
1872
+ };
1873
+ };
1874
+ };
1875
+ };
1876
+ };
1877
+ } & {
1878
+ campaignStatus: {
1879
+ computeChain: {
1880
+ ":chainId": {
1881
+ get: {
1882
+ body: unknown;
1883
+ params: {
1884
+ chainId: number;
1885
+ };
1886
+ query: unknown;
1887
+ headers: unknown;
1888
+ response: {
1889
+ 200: {
1890
+ campaignId: string;
1891
+ computedUntil: bigint;
1892
+ processingStarted: bigint;
1893
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
1894
+ error: string;
1895
+ details: import("../../../database/api/.generated").Prisma.JsonValue;
1896
+ }[];
1897
+ };
1898
+ };
1899
+ };
1900
+ };
1901
+ };
1902
+ } & {
1903
+ campaignStatus: {
1904
+ overlaps: {
1905
+ get: {
1906
+ body: unknown;
1907
+ params: Record<never, string>;
1908
+ query: {
1909
+ campaignId: string;
1910
+ distributionChain: number;
1911
+ };
1912
+ headers: {
1913
+ authorization: string;
1914
+ };
1915
+ response: {
1916
+ 200: boolean;
1917
+ };
1918
+ };
1919
+ };
1920
+ };
1921
+ };
1798
1922
  } & {
1799
1923
  index: {
1800
1924
  get: {
@@ -1786,6 +1786,130 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1786
1786
  };
1787
1787
  };
1788
1788
  };
1789
+ } & {
1790
+ v4: {
1791
+ campaignStatus: {
1792
+ engine: {
1793
+ post: {
1794
+ body: {
1795
+ status: {
1796
+ value: "SUCCESS";
1797
+ computedUntil: number;
1798
+ } | {
1799
+ value: "PROCESSING";
1800
+ } | {
1801
+ error: string;
1802
+ details: string;
1803
+ value: "SKIPPED";
1804
+ } | {
1805
+ error: string;
1806
+ details: string;
1807
+ value: "FAILED";
1808
+ };
1809
+ campaignId: string;
1810
+ distributionChain: number;
1811
+ };
1812
+ params: Record<never, string>;
1813
+ query: unknown;
1814
+ headers: {
1815
+ authorization: string;
1816
+ };
1817
+ response: {
1818
+ 200: void;
1819
+ };
1820
+ };
1821
+ };
1822
+ };
1823
+ } & {
1824
+ campaignStatus: {
1825
+ index: {
1826
+ get: {
1827
+ body: unknown;
1828
+ params: Record<never, string>;
1829
+ query: unknown;
1830
+ headers: unknown;
1831
+ response: {
1832
+ 200: {
1833
+ campaignId: string;
1834
+ computedUntil: bigint;
1835
+ processingStarted: bigint;
1836
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
1837
+ error: string;
1838
+ details: import("../../../database/api/.generated").Prisma.JsonValue;
1839
+ }[];
1840
+ };
1841
+ };
1842
+ };
1843
+ };
1844
+ } & {
1845
+ campaignStatus: {
1846
+ unique: {
1847
+ get: {
1848
+ body: unknown;
1849
+ params: Record<never, string>;
1850
+ query: {
1851
+ campaignId: string;
1852
+ distributionChain: number;
1853
+ };
1854
+ headers: unknown;
1855
+ response: {
1856
+ 200: {
1857
+ campaignId: string;
1858
+ computedUntil: bigint;
1859
+ processingStarted: bigint;
1860
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
1861
+ error: string;
1862
+ details: import("../../../database/api/.generated").Prisma.JsonValue;
1863
+ };
1864
+ };
1865
+ };
1866
+ };
1867
+ };
1868
+ } & {
1869
+ campaignStatus: {
1870
+ computeChain: {
1871
+ ":chainId": {
1872
+ get: {
1873
+ body: unknown;
1874
+ params: {
1875
+ chainId: number;
1876
+ };
1877
+ query: unknown;
1878
+ headers: unknown;
1879
+ response: {
1880
+ 200: {
1881
+ campaignId: string;
1882
+ computedUntil: bigint;
1883
+ processingStarted: bigint;
1884
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
1885
+ error: string;
1886
+ details: import("../../../database/api/.generated").Prisma.JsonValue;
1887
+ }[];
1888
+ };
1889
+ };
1890
+ };
1891
+ };
1892
+ };
1893
+ } & {
1894
+ campaignStatus: {
1895
+ overlaps: {
1896
+ get: {
1897
+ body: unknown;
1898
+ params: Record<never, string>;
1899
+ query: {
1900
+ campaignId: string;
1901
+ distributionChain: number;
1902
+ };
1903
+ headers: {
1904
+ authorization: string;
1905
+ };
1906
+ response: {
1907
+ 200: boolean;
1908
+ };
1909
+ };
1910
+ };
1911
+ };
1912
+ };
1789
1913
  } & {
1790
1914
  index: {
1791
1915
  post: {
@@ -1791,6 +1791,130 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1791
1791
  };
1792
1792
  };
1793
1793
  };
1794
+ } & {
1795
+ v4: {
1796
+ campaignStatus: {
1797
+ engine: {
1798
+ post: {
1799
+ body: {
1800
+ status: {
1801
+ value: "SUCCESS";
1802
+ computedUntil: number;
1803
+ } | {
1804
+ value: "PROCESSING";
1805
+ } | {
1806
+ error: string;
1807
+ details: string;
1808
+ value: "SKIPPED";
1809
+ } | {
1810
+ error: string;
1811
+ details: string;
1812
+ value: "FAILED";
1813
+ };
1814
+ campaignId: string;
1815
+ distributionChain: number;
1816
+ };
1817
+ params: Record<never, string>;
1818
+ query: unknown;
1819
+ headers: {
1820
+ authorization: string;
1821
+ };
1822
+ response: {
1823
+ 200: void;
1824
+ };
1825
+ };
1826
+ };
1827
+ };
1828
+ } & {
1829
+ campaignStatus: {
1830
+ index: {
1831
+ get: {
1832
+ body: unknown;
1833
+ params: Record<never, string>;
1834
+ query: unknown;
1835
+ headers: unknown;
1836
+ response: {
1837
+ 200: {
1838
+ campaignId: string;
1839
+ computedUntil: bigint;
1840
+ processingStarted: bigint;
1841
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
1842
+ error: string;
1843
+ details: import("../../../database/api/.generated").Prisma.JsonValue;
1844
+ }[];
1845
+ };
1846
+ };
1847
+ };
1848
+ };
1849
+ } & {
1850
+ campaignStatus: {
1851
+ unique: {
1852
+ get: {
1853
+ body: unknown;
1854
+ params: Record<never, string>;
1855
+ query: {
1856
+ campaignId: string;
1857
+ distributionChain: number;
1858
+ };
1859
+ headers: unknown;
1860
+ response: {
1861
+ 200: {
1862
+ campaignId: string;
1863
+ computedUntil: bigint;
1864
+ processingStarted: bigint;
1865
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
1866
+ error: string;
1867
+ details: import("../../../database/api/.generated").Prisma.JsonValue;
1868
+ };
1869
+ };
1870
+ };
1871
+ };
1872
+ };
1873
+ } & {
1874
+ campaignStatus: {
1875
+ computeChain: {
1876
+ ":chainId": {
1877
+ get: {
1878
+ body: unknown;
1879
+ params: {
1880
+ chainId: number;
1881
+ };
1882
+ query: unknown;
1883
+ headers: unknown;
1884
+ response: {
1885
+ 200: {
1886
+ campaignId: string;
1887
+ computedUntil: bigint;
1888
+ processingStarted: bigint;
1889
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
1890
+ error: string;
1891
+ details: import("../../../database/api/.generated").Prisma.JsonValue;
1892
+ }[];
1893
+ };
1894
+ };
1895
+ };
1896
+ };
1897
+ };
1898
+ } & {
1899
+ campaignStatus: {
1900
+ overlaps: {
1901
+ get: {
1902
+ body: unknown;
1903
+ params: Record<never, string>;
1904
+ query: {
1905
+ campaignId: string;
1906
+ distributionChain: number;
1907
+ };
1908
+ headers: {
1909
+ authorization: string;
1910
+ };
1911
+ response: {
1912
+ 200: boolean;
1913
+ };
1914
+ };
1915
+ };
1916
+ };
1917
+ };
1794
1918
  } & {
1795
1919
  index: {
1796
1920
  get: {