@merkl/api 0.10.89 → 0.10.91

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