@deepintel-ltd/farmpro-contracts 1.5.20 → 1.5.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1665,5 +1665,2125 @@ export declare const organizationsRouter: {
1665
1665
  }>;
1666
1666
  };
1667
1667
  };
1668
+ listBankAccounts: {
1669
+ pathParams: z.ZodObject<{
1670
+ id: z.ZodString;
1671
+ } & {
1672
+ organizationId: z.ZodString;
1673
+ }, "strip", z.ZodTypeAny, {
1674
+ id: string;
1675
+ organizationId: string;
1676
+ }, {
1677
+ id: string;
1678
+ organizationId: string;
1679
+ }>;
1680
+ query: z.ZodObject<{
1681
+ 'page[number]': z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1682
+ 'page[size]': z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1683
+ } & {
1684
+ sort: z.ZodOptional<z.ZodString>;
1685
+ }, "strip", z.ZodTypeAny, {
1686
+ sort?: string | undefined;
1687
+ 'page[number]'?: number | undefined;
1688
+ 'page[size]'?: number | undefined;
1689
+ }, {
1690
+ sort?: string | undefined;
1691
+ 'page[number]'?: number | undefined;
1692
+ 'page[size]'?: number | undefined;
1693
+ }>;
1694
+ summary: "List bank accounts for an organization";
1695
+ description: "Get a paginated list of bank accounts for a specific organization";
1696
+ method: "GET";
1697
+ path: "/organizations/:organizationId/bank-accounts";
1698
+ responses: {
1699
+ 200: z.ZodObject<{
1700
+ data: z.ZodArray<z.ZodObject<{
1701
+ type: z.ZodLiteral<string>;
1702
+ id: z.ZodString;
1703
+ attributes: z.ZodObject<{
1704
+ bankName: z.ZodString;
1705
+ accountNumber: z.ZodString;
1706
+ accountName: z.ZodString;
1707
+ isDefault: z.ZodDefault<z.ZodBoolean>;
1708
+ } & {
1709
+ createdAt: z.ZodString;
1710
+ updatedAt: z.ZodString;
1711
+ }, "strip", z.ZodTypeAny, {
1712
+ createdAt: string;
1713
+ updatedAt: string;
1714
+ isDefault: boolean;
1715
+ bankName: string;
1716
+ accountNumber: string;
1717
+ accountName: string;
1718
+ }, {
1719
+ createdAt: string;
1720
+ updatedAt: string;
1721
+ bankName: string;
1722
+ accountNumber: string;
1723
+ accountName: string;
1724
+ isDefault?: boolean | undefined;
1725
+ }>;
1726
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1727
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1728
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1729
+ }, "strip", z.ZodTypeAny, {
1730
+ type: string;
1731
+ id: string;
1732
+ attributes: {
1733
+ createdAt: string;
1734
+ updatedAt: string;
1735
+ isDefault: boolean;
1736
+ bankName: string;
1737
+ accountNumber: string;
1738
+ accountName: string;
1739
+ };
1740
+ relationships?: Record<string, unknown> | undefined;
1741
+ links?: Record<string, string> | undefined;
1742
+ meta?: Record<string, unknown> | undefined;
1743
+ }, {
1744
+ type: string;
1745
+ id: string;
1746
+ attributes: {
1747
+ createdAt: string;
1748
+ updatedAt: string;
1749
+ bankName: string;
1750
+ accountNumber: string;
1751
+ accountName: string;
1752
+ isDefault?: boolean | undefined;
1753
+ };
1754
+ relationships?: Record<string, unknown> | undefined;
1755
+ links?: Record<string, string> | undefined;
1756
+ meta?: Record<string, unknown> | undefined;
1757
+ }>, "many">;
1758
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
1759
+ type: z.ZodString;
1760
+ id: z.ZodString;
1761
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1762
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1763
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1764
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1765
+ }, "strip", z.ZodTypeAny, {
1766
+ type: string;
1767
+ id: string;
1768
+ attributes?: Record<string, unknown> | undefined;
1769
+ relationships?: Record<string, unknown> | undefined;
1770
+ links?: Record<string, string> | undefined;
1771
+ meta?: Record<string, unknown> | undefined;
1772
+ }, {
1773
+ type: string;
1774
+ id: string;
1775
+ attributes?: Record<string, unknown> | undefined;
1776
+ relationships?: Record<string, unknown> | undefined;
1777
+ links?: Record<string, string> | undefined;
1778
+ meta?: Record<string, unknown> | undefined;
1779
+ }>, "many">>;
1780
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1781
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1782
+ }, "strip", z.ZodTypeAny, {
1783
+ data: {
1784
+ type: string;
1785
+ id: string;
1786
+ attributes: {
1787
+ createdAt: string;
1788
+ updatedAt: string;
1789
+ isDefault: boolean;
1790
+ bankName: string;
1791
+ accountNumber: string;
1792
+ accountName: string;
1793
+ };
1794
+ relationships?: Record<string, unknown> | undefined;
1795
+ links?: Record<string, string> | undefined;
1796
+ meta?: Record<string, unknown> | undefined;
1797
+ }[];
1798
+ links?: Record<string, string> | undefined;
1799
+ meta?: Record<string, unknown> | undefined;
1800
+ included?: {
1801
+ type: string;
1802
+ id: string;
1803
+ attributes?: Record<string, unknown> | undefined;
1804
+ relationships?: Record<string, unknown> | undefined;
1805
+ links?: Record<string, string> | undefined;
1806
+ meta?: Record<string, unknown> | undefined;
1807
+ }[] | undefined;
1808
+ }, {
1809
+ data: {
1810
+ type: string;
1811
+ id: string;
1812
+ attributes: {
1813
+ createdAt: string;
1814
+ updatedAt: string;
1815
+ bankName: string;
1816
+ accountNumber: string;
1817
+ accountName: string;
1818
+ isDefault?: boolean | undefined;
1819
+ };
1820
+ relationships?: Record<string, unknown> | undefined;
1821
+ links?: Record<string, string> | undefined;
1822
+ meta?: Record<string, unknown> | undefined;
1823
+ }[];
1824
+ links?: Record<string, string> | undefined;
1825
+ meta?: Record<string, unknown> | undefined;
1826
+ included?: {
1827
+ type: string;
1828
+ id: string;
1829
+ attributes?: Record<string, unknown> | undefined;
1830
+ relationships?: Record<string, unknown> | undefined;
1831
+ links?: Record<string, string> | undefined;
1832
+ meta?: Record<string, unknown> | undefined;
1833
+ }[] | undefined;
1834
+ }>;
1835
+ 401: z.ZodObject<{
1836
+ errors: z.ZodArray<z.ZodObject<{
1837
+ id: z.ZodOptional<z.ZodString>;
1838
+ links: z.ZodOptional<z.ZodObject<{
1839
+ about: z.ZodOptional<z.ZodString>;
1840
+ }, "strip", z.ZodTypeAny, {
1841
+ about?: string | undefined;
1842
+ }, {
1843
+ about?: string | undefined;
1844
+ }>>;
1845
+ status: z.ZodOptional<z.ZodString>;
1846
+ code: z.ZodOptional<z.ZodString>;
1847
+ title: z.ZodOptional<z.ZodString>;
1848
+ detail: z.ZodOptional<z.ZodString>;
1849
+ source: z.ZodOptional<z.ZodObject<{
1850
+ pointer: z.ZodOptional<z.ZodString>;
1851
+ parameter: z.ZodOptional<z.ZodString>;
1852
+ }, "strip", z.ZodTypeAny, {
1853
+ pointer?: string | undefined;
1854
+ parameter?: string | undefined;
1855
+ }, {
1856
+ pointer?: string | undefined;
1857
+ parameter?: string | undefined;
1858
+ }>>;
1859
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1860
+ }, "strip", z.ZodTypeAny, {
1861
+ status?: string | undefined;
1862
+ code?: string | undefined;
1863
+ id?: string | undefined;
1864
+ links?: {
1865
+ about?: string | undefined;
1866
+ } | undefined;
1867
+ meta?: Record<string, unknown> | undefined;
1868
+ title?: string | undefined;
1869
+ detail?: string | undefined;
1870
+ source?: {
1871
+ pointer?: string | undefined;
1872
+ parameter?: string | undefined;
1873
+ } | undefined;
1874
+ }, {
1875
+ status?: string | undefined;
1876
+ code?: string | undefined;
1877
+ id?: string | undefined;
1878
+ links?: {
1879
+ about?: string | undefined;
1880
+ } | undefined;
1881
+ meta?: Record<string, unknown> | undefined;
1882
+ title?: string | undefined;
1883
+ detail?: string | undefined;
1884
+ source?: {
1885
+ pointer?: string | undefined;
1886
+ parameter?: string | undefined;
1887
+ } | undefined;
1888
+ }>, "many">;
1889
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1890
+ }, "strip", z.ZodTypeAny, {
1891
+ errors: {
1892
+ status?: string | undefined;
1893
+ code?: string | undefined;
1894
+ id?: string | undefined;
1895
+ links?: {
1896
+ about?: string | undefined;
1897
+ } | undefined;
1898
+ meta?: Record<string, unknown> | undefined;
1899
+ title?: string | undefined;
1900
+ detail?: string | undefined;
1901
+ source?: {
1902
+ pointer?: string | undefined;
1903
+ parameter?: string | undefined;
1904
+ } | undefined;
1905
+ }[];
1906
+ meta?: Record<string, unknown> | undefined;
1907
+ }, {
1908
+ errors: {
1909
+ status?: string | undefined;
1910
+ code?: string | undefined;
1911
+ id?: string | undefined;
1912
+ links?: {
1913
+ about?: string | undefined;
1914
+ } | undefined;
1915
+ meta?: Record<string, unknown> | undefined;
1916
+ title?: string | undefined;
1917
+ detail?: string | undefined;
1918
+ source?: {
1919
+ pointer?: string | undefined;
1920
+ parameter?: string | undefined;
1921
+ } | undefined;
1922
+ }[];
1923
+ meta?: Record<string, unknown> | undefined;
1924
+ }>;
1925
+ 404: z.ZodObject<{
1926
+ errors: z.ZodArray<z.ZodObject<{
1927
+ id: z.ZodOptional<z.ZodString>;
1928
+ links: z.ZodOptional<z.ZodObject<{
1929
+ about: z.ZodOptional<z.ZodString>;
1930
+ }, "strip", z.ZodTypeAny, {
1931
+ about?: string | undefined;
1932
+ }, {
1933
+ about?: string | undefined;
1934
+ }>>;
1935
+ status: z.ZodOptional<z.ZodString>;
1936
+ code: z.ZodOptional<z.ZodString>;
1937
+ title: z.ZodOptional<z.ZodString>;
1938
+ detail: z.ZodOptional<z.ZodString>;
1939
+ source: z.ZodOptional<z.ZodObject<{
1940
+ pointer: z.ZodOptional<z.ZodString>;
1941
+ parameter: z.ZodOptional<z.ZodString>;
1942
+ }, "strip", z.ZodTypeAny, {
1943
+ pointer?: string | undefined;
1944
+ parameter?: string | undefined;
1945
+ }, {
1946
+ pointer?: string | undefined;
1947
+ parameter?: string | undefined;
1948
+ }>>;
1949
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1950
+ }, "strip", z.ZodTypeAny, {
1951
+ status?: string | undefined;
1952
+ code?: string | undefined;
1953
+ id?: string | undefined;
1954
+ links?: {
1955
+ about?: string | undefined;
1956
+ } | undefined;
1957
+ meta?: Record<string, unknown> | undefined;
1958
+ title?: string | undefined;
1959
+ detail?: string | undefined;
1960
+ source?: {
1961
+ pointer?: string | undefined;
1962
+ parameter?: string | undefined;
1963
+ } | undefined;
1964
+ }, {
1965
+ status?: string | undefined;
1966
+ code?: string | undefined;
1967
+ id?: string | undefined;
1968
+ links?: {
1969
+ about?: string | undefined;
1970
+ } | undefined;
1971
+ meta?: Record<string, unknown> | undefined;
1972
+ title?: string | undefined;
1973
+ detail?: string | undefined;
1974
+ source?: {
1975
+ pointer?: string | undefined;
1976
+ parameter?: string | undefined;
1977
+ } | undefined;
1978
+ }>, "many">;
1979
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1980
+ }, "strip", z.ZodTypeAny, {
1981
+ errors: {
1982
+ status?: string | undefined;
1983
+ code?: string | undefined;
1984
+ id?: string | undefined;
1985
+ links?: {
1986
+ about?: string | undefined;
1987
+ } | undefined;
1988
+ meta?: Record<string, unknown> | undefined;
1989
+ title?: string | undefined;
1990
+ detail?: string | undefined;
1991
+ source?: {
1992
+ pointer?: string | undefined;
1993
+ parameter?: string | undefined;
1994
+ } | undefined;
1995
+ }[];
1996
+ meta?: Record<string, unknown> | undefined;
1997
+ }, {
1998
+ errors: {
1999
+ status?: string | undefined;
2000
+ code?: string | undefined;
2001
+ id?: string | undefined;
2002
+ links?: {
2003
+ about?: string | undefined;
2004
+ } | undefined;
2005
+ meta?: Record<string, unknown> | undefined;
2006
+ title?: string | undefined;
2007
+ detail?: string | undefined;
2008
+ source?: {
2009
+ pointer?: string | undefined;
2010
+ parameter?: string | undefined;
2011
+ } | undefined;
2012
+ }[];
2013
+ meta?: Record<string, unknown> | undefined;
2014
+ }>;
2015
+ };
2016
+ };
2017
+ createBankAccount: {
2018
+ pathParams: z.ZodObject<{
2019
+ id: z.ZodString;
2020
+ } & {
2021
+ organizationId: z.ZodString;
2022
+ }, "strip", z.ZodTypeAny, {
2023
+ id: string;
2024
+ organizationId: string;
2025
+ }, {
2026
+ id: string;
2027
+ organizationId: string;
2028
+ }>;
2029
+ summary: "Create a new bank account";
2030
+ description: "Create a new bank account for an organization. If isDefault is true, this account becomes the default.";
2031
+ method: "POST";
2032
+ body: z.ZodObject<{
2033
+ data: z.ZodObject<{
2034
+ type: z.ZodLiteral<"bank-accounts">;
2035
+ attributes: z.ZodObject<{
2036
+ bankName: z.ZodString;
2037
+ accountNumber: z.ZodString;
2038
+ accountName: z.ZodString;
2039
+ isDefault: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2040
+ }, "strip", z.ZodTypeAny, {
2041
+ isDefault: boolean;
2042
+ bankName: string;
2043
+ accountNumber: string;
2044
+ accountName: string;
2045
+ }, {
2046
+ bankName: string;
2047
+ accountNumber: string;
2048
+ accountName: string;
2049
+ isDefault?: boolean | undefined;
2050
+ }>;
2051
+ }, "strip", z.ZodTypeAny, {
2052
+ type: "bank-accounts";
2053
+ attributes: {
2054
+ isDefault: boolean;
2055
+ bankName: string;
2056
+ accountNumber: string;
2057
+ accountName: string;
2058
+ };
2059
+ }, {
2060
+ type: "bank-accounts";
2061
+ attributes: {
2062
+ bankName: string;
2063
+ accountNumber: string;
2064
+ accountName: string;
2065
+ isDefault?: boolean | undefined;
2066
+ };
2067
+ }>;
2068
+ }, "strip", z.ZodTypeAny, {
2069
+ data: {
2070
+ type: "bank-accounts";
2071
+ attributes: {
2072
+ isDefault: boolean;
2073
+ bankName: string;
2074
+ accountNumber: string;
2075
+ accountName: string;
2076
+ };
2077
+ };
2078
+ }, {
2079
+ data: {
2080
+ type: "bank-accounts";
2081
+ attributes: {
2082
+ bankName: string;
2083
+ accountNumber: string;
2084
+ accountName: string;
2085
+ isDefault?: boolean | undefined;
2086
+ };
2087
+ };
2088
+ }>;
2089
+ path: "/organizations/:organizationId/bank-accounts";
2090
+ responses: {
2091
+ 201: z.ZodObject<{
2092
+ data: z.ZodObject<{
2093
+ type: z.ZodLiteral<string>;
2094
+ id: z.ZodString;
2095
+ attributes: z.ZodObject<{
2096
+ bankName: z.ZodString;
2097
+ accountNumber: z.ZodString;
2098
+ accountName: z.ZodString;
2099
+ isDefault: z.ZodDefault<z.ZodBoolean>;
2100
+ } & {
2101
+ createdAt: z.ZodString;
2102
+ updatedAt: z.ZodString;
2103
+ }, "strip", z.ZodTypeAny, {
2104
+ createdAt: string;
2105
+ updatedAt: string;
2106
+ isDefault: boolean;
2107
+ bankName: string;
2108
+ accountNumber: string;
2109
+ accountName: string;
2110
+ }, {
2111
+ createdAt: string;
2112
+ updatedAt: string;
2113
+ bankName: string;
2114
+ accountNumber: string;
2115
+ accountName: string;
2116
+ isDefault?: boolean | undefined;
2117
+ }>;
2118
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2119
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2120
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2121
+ }, "strip", z.ZodTypeAny, {
2122
+ type: string;
2123
+ id: string;
2124
+ attributes: {
2125
+ createdAt: string;
2126
+ updatedAt: string;
2127
+ isDefault: boolean;
2128
+ bankName: string;
2129
+ accountNumber: string;
2130
+ accountName: string;
2131
+ };
2132
+ relationships?: Record<string, unknown> | undefined;
2133
+ links?: Record<string, string> | undefined;
2134
+ meta?: Record<string, unknown> | undefined;
2135
+ }, {
2136
+ type: string;
2137
+ id: string;
2138
+ attributes: {
2139
+ createdAt: string;
2140
+ updatedAt: string;
2141
+ bankName: string;
2142
+ accountNumber: string;
2143
+ accountName: string;
2144
+ isDefault?: boolean | undefined;
2145
+ };
2146
+ relationships?: Record<string, unknown> | undefined;
2147
+ links?: Record<string, string> | undefined;
2148
+ meta?: Record<string, unknown> | undefined;
2149
+ }>;
2150
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
2151
+ type: z.ZodString;
2152
+ id: z.ZodString;
2153
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2154
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2155
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2156
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2157
+ }, "strip", z.ZodTypeAny, {
2158
+ type: string;
2159
+ id: string;
2160
+ attributes?: Record<string, unknown> | undefined;
2161
+ relationships?: Record<string, unknown> | undefined;
2162
+ links?: Record<string, string> | undefined;
2163
+ meta?: Record<string, unknown> | undefined;
2164
+ }, {
2165
+ type: string;
2166
+ id: string;
2167
+ attributes?: Record<string, unknown> | undefined;
2168
+ relationships?: Record<string, unknown> | undefined;
2169
+ links?: Record<string, string> | undefined;
2170
+ meta?: Record<string, unknown> | undefined;
2171
+ }>, "many">>;
2172
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2173
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2174
+ }, "strip", z.ZodTypeAny, {
2175
+ data: {
2176
+ type: string;
2177
+ id: string;
2178
+ attributes: {
2179
+ createdAt: string;
2180
+ updatedAt: string;
2181
+ isDefault: boolean;
2182
+ bankName: string;
2183
+ accountNumber: string;
2184
+ accountName: string;
2185
+ };
2186
+ relationships?: Record<string, unknown> | undefined;
2187
+ links?: Record<string, string> | undefined;
2188
+ meta?: Record<string, unknown> | undefined;
2189
+ };
2190
+ links?: Record<string, string> | undefined;
2191
+ meta?: Record<string, unknown> | undefined;
2192
+ included?: {
2193
+ type: string;
2194
+ id: string;
2195
+ attributes?: Record<string, unknown> | undefined;
2196
+ relationships?: Record<string, unknown> | undefined;
2197
+ links?: Record<string, string> | undefined;
2198
+ meta?: Record<string, unknown> | undefined;
2199
+ }[] | undefined;
2200
+ }, {
2201
+ data: {
2202
+ type: string;
2203
+ id: string;
2204
+ attributes: {
2205
+ createdAt: string;
2206
+ updatedAt: string;
2207
+ bankName: string;
2208
+ accountNumber: string;
2209
+ accountName: string;
2210
+ isDefault?: boolean | undefined;
2211
+ };
2212
+ relationships?: Record<string, unknown> | undefined;
2213
+ links?: Record<string, string> | undefined;
2214
+ meta?: Record<string, unknown> | undefined;
2215
+ };
2216
+ links?: Record<string, string> | undefined;
2217
+ meta?: Record<string, unknown> | undefined;
2218
+ included?: {
2219
+ type: string;
2220
+ id: string;
2221
+ attributes?: Record<string, unknown> | undefined;
2222
+ relationships?: Record<string, unknown> | undefined;
2223
+ links?: Record<string, string> | undefined;
2224
+ meta?: Record<string, unknown> | undefined;
2225
+ }[] | undefined;
2226
+ }>;
2227
+ 400: z.ZodObject<{
2228
+ errors: z.ZodArray<z.ZodObject<{
2229
+ id: z.ZodOptional<z.ZodString>;
2230
+ links: z.ZodOptional<z.ZodObject<{
2231
+ about: z.ZodOptional<z.ZodString>;
2232
+ }, "strip", z.ZodTypeAny, {
2233
+ about?: string | undefined;
2234
+ }, {
2235
+ about?: string | undefined;
2236
+ }>>;
2237
+ status: z.ZodOptional<z.ZodString>;
2238
+ code: z.ZodOptional<z.ZodString>;
2239
+ title: z.ZodOptional<z.ZodString>;
2240
+ detail: z.ZodOptional<z.ZodString>;
2241
+ source: z.ZodOptional<z.ZodObject<{
2242
+ pointer: z.ZodOptional<z.ZodString>;
2243
+ parameter: z.ZodOptional<z.ZodString>;
2244
+ }, "strip", z.ZodTypeAny, {
2245
+ pointer?: string | undefined;
2246
+ parameter?: string | undefined;
2247
+ }, {
2248
+ pointer?: string | undefined;
2249
+ parameter?: string | undefined;
2250
+ }>>;
2251
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2252
+ }, "strip", z.ZodTypeAny, {
2253
+ status?: string | undefined;
2254
+ code?: string | undefined;
2255
+ id?: string | undefined;
2256
+ links?: {
2257
+ about?: string | undefined;
2258
+ } | undefined;
2259
+ meta?: Record<string, unknown> | undefined;
2260
+ title?: string | undefined;
2261
+ detail?: string | undefined;
2262
+ source?: {
2263
+ pointer?: string | undefined;
2264
+ parameter?: string | undefined;
2265
+ } | undefined;
2266
+ }, {
2267
+ status?: string | undefined;
2268
+ code?: string | undefined;
2269
+ id?: string | undefined;
2270
+ links?: {
2271
+ about?: string | undefined;
2272
+ } | undefined;
2273
+ meta?: Record<string, unknown> | undefined;
2274
+ title?: string | undefined;
2275
+ detail?: string | undefined;
2276
+ source?: {
2277
+ pointer?: string | undefined;
2278
+ parameter?: string | undefined;
2279
+ } | undefined;
2280
+ }>, "many">;
2281
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2282
+ }, "strip", z.ZodTypeAny, {
2283
+ errors: {
2284
+ status?: string | undefined;
2285
+ code?: string | undefined;
2286
+ id?: string | undefined;
2287
+ links?: {
2288
+ about?: string | undefined;
2289
+ } | undefined;
2290
+ meta?: Record<string, unknown> | undefined;
2291
+ title?: string | undefined;
2292
+ detail?: string | undefined;
2293
+ source?: {
2294
+ pointer?: string | undefined;
2295
+ parameter?: string | undefined;
2296
+ } | undefined;
2297
+ }[];
2298
+ meta?: Record<string, unknown> | undefined;
2299
+ }, {
2300
+ errors: {
2301
+ status?: string | undefined;
2302
+ code?: string | undefined;
2303
+ id?: string | undefined;
2304
+ links?: {
2305
+ about?: string | undefined;
2306
+ } | undefined;
2307
+ meta?: Record<string, unknown> | undefined;
2308
+ title?: string | undefined;
2309
+ detail?: string | undefined;
2310
+ source?: {
2311
+ pointer?: string | undefined;
2312
+ parameter?: string | undefined;
2313
+ } | undefined;
2314
+ }[];
2315
+ meta?: Record<string, unknown> | undefined;
2316
+ }>;
2317
+ 401: z.ZodObject<{
2318
+ errors: z.ZodArray<z.ZodObject<{
2319
+ id: z.ZodOptional<z.ZodString>;
2320
+ links: z.ZodOptional<z.ZodObject<{
2321
+ about: z.ZodOptional<z.ZodString>;
2322
+ }, "strip", z.ZodTypeAny, {
2323
+ about?: string | undefined;
2324
+ }, {
2325
+ about?: string | undefined;
2326
+ }>>;
2327
+ status: z.ZodOptional<z.ZodString>;
2328
+ code: z.ZodOptional<z.ZodString>;
2329
+ title: z.ZodOptional<z.ZodString>;
2330
+ detail: z.ZodOptional<z.ZodString>;
2331
+ source: z.ZodOptional<z.ZodObject<{
2332
+ pointer: z.ZodOptional<z.ZodString>;
2333
+ parameter: z.ZodOptional<z.ZodString>;
2334
+ }, "strip", z.ZodTypeAny, {
2335
+ pointer?: string | undefined;
2336
+ parameter?: string | undefined;
2337
+ }, {
2338
+ pointer?: string | undefined;
2339
+ parameter?: string | undefined;
2340
+ }>>;
2341
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2342
+ }, "strip", z.ZodTypeAny, {
2343
+ status?: string | undefined;
2344
+ code?: string | undefined;
2345
+ id?: string | undefined;
2346
+ links?: {
2347
+ about?: string | undefined;
2348
+ } | undefined;
2349
+ meta?: Record<string, unknown> | undefined;
2350
+ title?: string | undefined;
2351
+ detail?: string | undefined;
2352
+ source?: {
2353
+ pointer?: string | undefined;
2354
+ parameter?: string | undefined;
2355
+ } | undefined;
2356
+ }, {
2357
+ status?: string | undefined;
2358
+ code?: string | undefined;
2359
+ id?: string | undefined;
2360
+ links?: {
2361
+ about?: string | undefined;
2362
+ } | undefined;
2363
+ meta?: Record<string, unknown> | undefined;
2364
+ title?: string | undefined;
2365
+ detail?: string | undefined;
2366
+ source?: {
2367
+ pointer?: string | undefined;
2368
+ parameter?: string | undefined;
2369
+ } | undefined;
2370
+ }>, "many">;
2371
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2372
+ }, "strip", z.ZodTypeAny, {
2373
+ errors: {
2374
+ status?: string | undefined;
2375
+ code?: string | undefined;
2376
+ id?: string | undefined;
2377
+ links?: {
2378
+ about?: string | undefined;
2379
+ } | undefined;
2380
+ meta?: Record<string, unknown> | undefined;
2381
+ title?: string | undefined;
2382
+ detail?: string | undefined;
2383
+ source?: {
2384
+ pointer?: string | undefined;
2385
+ parameter?: string | undefined;
2386
+ } | undefined;
2387
+ }[];
2388
+ meta?: Record<string, unknown> | undefined;
2389
+ }, {
2390
+ errors: {
2391
+ status?: string | undefined;
2392
+ code?: string | undefined;
2393
+ id?: string | undefined;
2394
+ links?: {
2395
+ about?: string | undefined;
2396
+ } | undefined;
2397
+ meta?: Record<string, unknown> | undefined;
2398
+ title?: string | undefined;
2399
+ detail?: string | undefined;
2400
+ source?: {
2401
+ pointer?: string | undefined;
2402
+ parameter?: string | undefined;
2403
+ } | undefined;
2404
+ }[];
2405
+ meta?: Record<string, unknown> | undefined;
2406
+ }>;
2407
+ 404: z.ZodObject<{
2408
+ errors: z.ZodArray<z.ZodObject<{
2409
+ id: z.ZodOptional<z.ZodString>;
2410
+ links: z.ZodOptional<z.ZodObject<{
2411
+ about: z.ZodOptional<z.ZodString>;
2412
+ }, "strip", z.ZodTypeAny, {
2413
+ about?: string | undefined;
2414
+ }, {
2415
+ about?: string | undefined;
2416
+ }>>;
2417
+ status: z.ZodOptional<z.ZodString>;
2418
+ code: z.ZodOptional<z.ZodString>;
2419
+ title: z.ZodOptional<z.ZodString>;
2420
+ detail: z.ZodOptional<z.ZodString>;
2421
+ source: z.ZodOptional<z.ZodObject<{
2422
+ pointer: z.ZodOptional<z.ZodString>;
2423
+ parameter: z.ZodOptional<z.ZodString>;
2424
+ }, "strip", z.ZodTypeAny, {
2425
+ pointer?: string | undefined;
2426
+ parameter?: string | undefined;
2427
+ }, {
2428
+ pointer?: string | undefined;
2429
+ parameter?: string | undefined;
2430
+ }>>;
2431
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2432
+ }, "strip", z.ZodTypeAny, {
2433
+ status?: string | undefined;
2434
+ code?: string | undefined;
2435
+ id?: string | undefined;
2436
+ links?: {
2437
+ about?: string | undefined;
2438
+ } | undefined;
2439
+ meta?: Record<string, unknown> | undefined;
2440
+ title?: string | undefined;
2441
+ detail?: string | undefined;
2442
+ source?: {
2443
+ pointer?: string | undefined;
2444
+ parameter?: string | undefined;
2445
+ } | undefined;
2446
+ }, {
2447
+ status?: string | undefined;
2448
+ code?: string | undefined;
2449
+ id?: string | undefined;
2450
+ links?: {
2451
+ about?: string | undefined;
2452
+ } | undefined;
2453
+ meta?: Record<string, unknown> | undefined;
2454
+ title?: string | undefined;
2455
+ detail?: string | undefined;
2456
+ source?: {
2457
+ pointer?: string | undefined;
2458
+ parameter?: string | undefined;
2459
+ } | undefined;
2460
+ }>, "many">;
2461
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2462
+ }, "strip", z.ZodTypeAny, {
2463
+ errors: {
2464
+ status?: string | undefined;
2465
+ code?: string | undefined;
2466
+ id?: string | undefined;
2467
+ links?: {
2468
+ about?: string | undefined;
2469
+ } | undefined;
2470
+ meta?: Record<string, unknown> | undefined;
2471
+ title?: string | undefined;
2472
+ detail?: string | undefined;
2473
+ source?: {
2474
+ pointer?: string | undefined;
2475
+ parameter?: string | undefined;
2476
+ } | undefined;
2477
+ }[];
2478
+ meta?: Record<string, unknown> | undefined;
2479
+ }, {
2480
+ errors: {
2481
+ status?: string | undefined;
2482
+ code?: string | undefined;
2483
+ id?: string | undefined;
2484
+ links?: {
2485
+ about?: string | undefined;
2486
+ } | undefined;
2487
+ meta?: Record<string, unknown> | undefined;
2488
+ title?: string | undefined;
2489
+ detail?: string | undefined;
2490
+ source?: {
2491
+ pointer?: string | undefined;
2492
+ parameter?: string | undefined;
2493
+ } | undefined;
2494
+ }[];
2495
+ meta?: Record<string, unknown> | undefined;
2496
+ }>;
2497
+ 422: z.ZodObject<{
2498
+ errors: z.ZodArray<z.ZodObject<{
2499
+ id: z.ZodOptional<z.ZodString>;
2500
+ links: z.ZodOptional<z.ZodObject<{
2501
+ about: z.ZodOptional<z.ZodString>;
2502
+ }, "strip", z.ZodTypeAny, {
2503
+ about?: string | undefined;
2504
+ }, {
2505
+ about?: string | undefined;
2506
+ }>>;
2507
+ status: z.ZodOptional<z.ZodString>;
2508
+ code: z.ZodOptional<z.ZodString>;
2509
+ title: z.ZodOptional<z.ZodString>;
2510
+ detail: z.ZodOptional<z.ZodString>;
2511
+ source: z.ZodOptional<z.ZodObject<{
2512
+ pointer: z.ZodOptional<z.ZodString>;
2513
+ parameter: z.ZodOptional<z.ZodString>;
2514
+ }, "strip", z.ZodTypeAny, {
2515
+ pointer?: string | undefined;
2516
+ parameter?: string | undefined;
2517
+ }, {
2518
+ pointer?: string | undefined;
2519
+ parameter?: string | undefined;
2520
+ }>>;
2521
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2522
+ }, "strip", z.ZodTypeAny, {
2523
+ status?: string | undefined;
2524
+ code?: string | undefined;
2525
+ id?: string | undefined;
2526
+ links?: {
2527
+ about?: string | undefined;
2528
+ } | undefined;
2529
+ meta?: Record<string, unknown> | undefined;
2530
+ title?: string | undefined;
2531
+ detail?: string | undefined;
2532
+ source?: {
2533
+ pointer?: string | undefined;
2534
+ parameter?: string | undefined;
2535
+ } | undefined;
2536
+ }, {
2537
+ status?: string | undefined;
2538
+ code?: string | undefined;
2539
+ id?: string | undefined;
2540
+ links?: {
2541
+ about?: string | undefined;
2542
+ } | undefined;
2543
+ meta?: Record<string, unknown> | undefined;
2544
+ title?: string | undefined;
2545
+ detail?: string | undefined;
2546
+ source?: {
2547
+ pointer?: string | undefined;
2548
+ parameter?: string | undefined;
2549
+ } | undefined;
2550
+ }>, "many">;
2551
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2552
+ }, "strip", z.ZodTypeAny, {
2553
+ errors: {
2554
+ status?: string | undefined;
2555
+ code?: string | undefined;
2556
+ id?: string | undefined;
2557
+ links?: {
2558
+ about?: string | undefined;
2559
+ } | undefined;
2560
+ meta?: Record<string, unknown> | undefined;
2561
+ title?: string | undefined;
2562
+ detail?: string | undefined;
2563
+ source?: {
2564
+ pointer?: string | undefined;
2565
+ parameter?: string | undefined;
2566
+ } | undefined;
2567
+ }[];
2568
+ meta?: Record<string, unknown> | undefined;
2569
+ }, {
2570
+ errors: {
2571
+ status?: string | undefined;
2572
+ code?: string | undefined;
2573
+ id?: string | undefined;
2574
+ links?: {
2575
+ about?: string | undefined;
2576
+ } | undefined;
2577
+ meta?: Record<string, unknown> | undefined;
2578
+ title?: string | undefined;
2579
+ detail?: string | undefined;
2580
+ source?: {
2581
+ pointer?: string | undefined;
2582
+ parameter?: string | undefined;
2583
+ } | undefined;
2584
+ }[];
2585
+ meta?: Record<string, unknown> | undefined;
2586
+ }>;
2587
+ };
2588
+ };
2589
+ getBankAccount: {
2590
+ pathParams: z.ZodObject<{} & {
2591
+ organizationId: z.ZodString;
2592
+ id: z.ZodString;
2593
+ }, "strip", z.ZodTypeAny, {
2594
+ id: string;
2595
+ organizationId: string;
2596
+ }, {
2597
+ id: string;
2598
+ organizationId: string;
2599
+ }>;
2600
+ summary: "Get bank account by ID";
2601
+ description: "Get detailed information about a specific bank account";
2602
+ method: "GET";
2603
+ path: "/organizations/:organizationId/bank-accounts/:id";
2604
+ responses: {
2605
+ 200: z.ZodObject<{
2606
+ data: z.ZodObject<{
2607
+ type: z.ZodLiteral<string>;
2608
+ id: z.ZodString;
2609
+ attributes: z.ZodObject<{
2610
+ bankName: z.ZodString;
2611
+ accountNumber: z.ZodString;
2612
+ accountName: z.ZodString;
2613
+ isDefault: z.ZodDefault<z.ZodBoolean>;
2614
+ } & {
2615
+ createdAt: z.ZodString;
2616
+ updatedAt: z.ZodString;
2617
+ }, "strip", z.ZodTypeAny, {
2618
+ createdAt: string;
2619
+ updatedAt: string;
2620
+ isDefault: boolean;
2621
+ bankName: string;
2622
+ accountNumber: string;
2623
+ accountName: string;
2624
+ }, {
2625
+ createdAt: string;
2626
+ updatedAt: string;
2627
+ bankName: string;
2628
+ accountNumber: string;
2629
+ accountName: string;
2630
+ isDefault?: boolean | undefined;
2631
+ }>;
2632
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2633
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2634
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2635
+ }, "strip", z.ZodTypeAny, {
2636
+ type: string;
2637
+ id: string;
2638
+ attributes: {
2639
+ createdAt: string;
2640
+ updatedAt: string;
2641
+ isDefault: boolean;
2642
+ bankName: string;
2643
+ accountNumber: string;
2644
+ accountName: string;
2645
+ };
2646
+ relationships?: Record<string, unknown> | undefined;
2647
+ links?: Record<string, string> | undefined;
2648
+ meta?: Record<string, unknown> | undefined;
2649
+ }, {
2650
+ type: string;
2651
+ id: string;
2652
+ attributes: {
2653
+ createdAt: string;
2654
+ updatedAt: string;
2655
+ bankName: string;
2656
+ accountNumber: string;
2657
+ accountName: string;
2658
+ isDefault?: boolean | undefined;
2659
+ };
2660
+ relationships?: Record<string, unknown> | undefined;
2661
+ links?: Record<string, string> | undefined;
2662
+ meta?: Record<string, unknown> | undefined;
2663
+ }>;
2664
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
2665
+ type: z.ZodString;
2666
+ id: z.ZodString;
2667
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2668
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2669
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2670
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2671
+ }, "strip", z.ZodTypeAny, {
2672
+ type: string;
2673
+ id: string;
2674
+ attributes?: Record<string, unknown> | undefined;
2675
+ relationships?: Record<string, unknown> | undefined;
2676
+ links?: Record<string, string> | undefined;
2677
+ meta?: Record<string, unknown> | undefined;
2678
+ }, {
2679
+ type: string;
2680
+ id: string;
2681
+ attributes?: Record<string, unknown> | undefined;
2682
+ relationships?: Record<string, unknown> | undefined;
2683
+ links?: Record<string, string> | undefined;
2684
+ meta?: Record<string, unknown> | undefined;
2685
+ }>, "many">>;
2686
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2687
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2688
+ }, "strip", z.ZodTypeAny, {
2689
+ data: {
2690
+ type: string;
2691
+ id: string;
2692
+ attributes: {
2693
+ createdAt: string;
2694
+ updatedAt: string;
2695
+ isDefault: boolean;
2696
+ bankName: string;
2697
+ accountNumber: string;
2698
+ accountName: string;
2699
+ };
2700
+ relationships?: Record<string, unknown> | undefined;
2701
+ links?: Record<string, string> | undefined;
2702
+ meta?: Record<string, unknown> | undefined;
2703
+ };
2704
+ links?: Record<string, string> | undefined;
2705
+ meta?: Record<string, unknown> | undefined;
2706
+ included?: {
2707
+ type: string;
2708
+ id: string;
2709
+ attributes?: Record<string, unknown> | undefined;
2710
+ relationships?: Record<string, unknown> | undefined;
2711
+ links?: Record<string, string> | undefined;
2712
+ meta?: Record<string, unknown> | undefined;
2713
+ }[] | undefined;
2714
+ }, {
2715
+ data: {
2716
+ type: string;
2717
+ id: string;
2718
+ attributes: {
2719
+ createdAt: string;
2720
+ updatedAt: string;
2721
+ bankName: string;
2722
+ accountNumber: string;
2723
+ accountName: string;
2724
+ isDefault?: boolean | undefined;
2725
+ };
2726
+ relationships?: Record<string, unknown> | undefined;
2727
+ links?: Record<string, string> | undefined;
2728
+ meta?: Record<string, unknown> | undefined;
2729
+ };
2730
+ links?: Record<string, string> | undefined;
2731
+ meta?: Record<string, unknown> | undefined;
2732
+ included?: {
2733
+ type: string;
2734
+ id: string;
2735
+ attributes?: Record<string, unknown> | undefined;
2736
+ relationships?: Record<string, unknown> | undefined;
2737
+ links?: Record<string, string> | undefined;
2738
+ meta?: Record<string, unknown> | undefined;
2739
+ }[] | undefined;
2740
+ }>;
2741
+ 404: z.ZodObject<{
2742
+ errors: z.ZodArray<z.ZodObject<{
2743
+ id: z.ZodOptional<z.ZodString>;
2744
+ links: z.ZodOptional<z.ZodObject<{
2745
+ about: z.ZodOptional<z.ZodString>;
2746
+ }, "strip", z.ZodTypeAny, {
2747
+ about?: string | undefined;
2748
+ }, {
2749
+ about?: string | undefined;
2750
+ }>>;
2751
+ status: z.ZodOptional<z.ZodString>;
2752
+ code: z.ZodOptional<z.ZodString>;
2753
+ title: z.ZodOptional<z.ZodString>;
2754
+ detail: z.ZodOptional<z.ZodString>;
2755
+ source: z.ZodOptional<z.ZodObject<{
2756
+ pointer: z.ZodOptional<z.ZodString>;
2757
+ parameter: z.ZodOptional<z.ZodString>;
2758
+ }, "strip", z.ZodTypeAny, {
2759
+ pointer?: string | undefined;
2760
+ parameter?: string | undefined;
2761
+ }, {
2762
+ pointer?: string | undefined;
2763
+ parameter?: string | undefined;
2764
+ }>>;
2765
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2766
+ }, "strip", z.ZodTypeAny, {
2767
+ status?: string | undefined;
2768
+ code?: string | undefined;
2769
+ id?: string | undefined;
2770
+ links?: {
2771
+ about?: string | undefined;
2772
+ } | undefined;
2773
+ meta?: Record<string, unknown> | undefined;
2774
+ title?: string | undefined;
2775
+ detail?: string | undefined;
2776
+ source?: {
2777
+ pointer?: string | undefined;
2778
+ parameter?: string | undefined;
2779
+ } | undefined;
2780
+ }, {
2781
+ status?: string | undefined;
2782
+ code?: string | undefined;
2783
+ id?: string | undefined;
2784
+ links?: {
2785
+ about?: string | undefined;
2786
+ } | undefined;
2787
+ meta?: Record<string, unknown> | undefined;
2788
+ title?: string | undefined;
2789
+ detail?: string | undefined;
2790
+ source?: {
2791
+ pointer?: string | undefined;
2792
+ parameter?: string | undefined;
2793
+ } | undefined;
2794
+ }>, "many">;
2795
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2796
+ }, "strip", z.ZodTypeAny, {
2797
+ errors: {
2798
+ status?: string | undefined;
2799
+ code?: string | undefined;
2800
+ id?: string | undefined;
2801
+ links?: {
2802
+ about?: string | undefined;
2803
+ } | undefined;
2804
+ meta?: Record<string, unknown> | undefined;
2805
+ title?: string | undefined;
2806
+ detail?: string | undefined;
2807
+ source?: {
2808
+ pointer?: string | undefined;
2809
+ parameter?: string | undefined;
2810
+ } | undefined;
2811
+ }[];
2812
+ meta?: Record<string, unknown> | undefined;
2813
+ }, {
2814
+ errors: {
2815
+ status?: string | undefined;
2816
+ code?: string | undefined;
2817
+ id?: string | undefined;
2818
+ links?: {
2819
+ about?: string | undefined;
2820
+ } | undefined;
2821
+ meta?: Record<string, unknown> | undefined;
2822
+ title?: string | undefined;
2823
+ detail?: string | undefined;
2824
+ source?: {
2825
+ pointer?: string | undefined;
2826
+ parameter?: string | undefined;
2827
+ } | undefined;
2828
+ }[];
2829
+ meta?: Record<string, unknown> | undefined;
2830
+ }>;
2831
+ 401: z.ZodObject<{
2832
+ errors: z.ZodArray<z.ZodObject<{
2833
+ id: z.ZodOptional<z.ZodString>;
2834
+ links: z.ZodOptional<z.ZodObject<{
2835
+ about: z.ZodOptional<z.ZodString>;
2836
+ }, "strip", z.ZodTypeAny, {
2837
+ about?: string | undefined;
2838
+ }, {
2839
+ about?: string | undefined;
2840
+ }>>;
2841
+ status: z.ZodOptional<z.ZodString>;
2842
+ code: z.ZodOptional<z.ZodString>;
2843
+ title: z.ZodOptional<z.ZodString>;
2844
+ detail: z.ZodOptional<z.ZodString>;
2845
+ source: z.ZodOptional<z.ZodObject<{
2846
+ pointer: z.ZodOptional<z.ZodString>;
2847
+ parameter: z.ZodOptional<z.ZodString>;
2848
+ }, "strip", z.ZodTypeAny, {
2849
+ pointer?: string | undefined;
2850
+ parameter?: string | undefined;
2851
+ }, {
2852
+ pointer?: string | undefined;
2853
+ parameter?: string | undefined;
2854
+ }>>;
2855
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2856
+ }, "strip", z.ZodTypeAny, {
2857
+ status?: string | undefined;
2858
+ code?: string | undefined;
2859
+ id?: string | undefined;
2860
+ links?: {
2861
+ about?: string | undefined;
2862
+ } | undefined;
2863
+ meta?: Record<string, unknown> | undefined;
2864
+ title?: string | undefined;
2865
+ detail?: string | undefined;
2866
+ source?: {
2867
+ pointer?: string | undefined;
2868
+ parameter?: string | undefined;
2869
+ } | undefined;
2870
+ }, {
2871
+ status?: string | undefined;
2872
+ code?: string | undefined;
2873
+ id?: string | undefined;
2874
+ links?: {
2875
+ about?: string | undefined;
2876
+ } | undefined;
2877
+ meta?: Record<string, unknown> | undefined;
2878
+ title?: string | undefined;
2879
+ detail?: string | undefined;
2880
+ source?: {
2881
+ pointer?: string | undefined;
2882
+ parameter?: string | undefined;
2883
+ } | undefined;
2884
+ }>, "many">;
2885
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2886
+ }, "strip", z.ZodTypeAny, {
2887
+ errors: {
2888
+ status?: string | undefined;
2889
+ code?: string | undefined;
2890
+ id?: string | undefined;
2891
+ links?: {
2892
+ about?: string | undefined;
2893
+ } | undefined;
2894
+ meta?: Record<string, unknown> | undefined;
2895
+ title?: string | undefined;
2896
+ detail?: string | undefined;
2897
+ source?: {
2898
+ pointer?: string | undefined;
2899
+ parameter?: string | undefined;
2900
+ } | undefined;
2901
+ }[];
2902
+ meta?: Record<string, unknown> | undefined;
2903
+ }, {
2904
+ errors: {
2905
+ status?: string | undefined;
2906
+ code?: string | undefined;
2907
+ id?: string | undefined;
2908
+ links?: {
2909
+ about?: string | undefined;
2910
+ } | undefined;
2911
+ meta?: Record<string, unknown> | undefined;
2912
+ title?: string | undefined;
2913
+ detail?: string | undefined;
2914
+ source?: {
2915
+ pointer?: string | undefined;
2916
+ parameter?: string | undefined;
2917
+ } | undefined;
2918
+ }[];
2919
+ meta?: Record<string, unknown> | undefined;
2920
+ }>;
2921
+ };
2922
+ };
2923
+ updateBankAccount: {
2924
+ pathParams: z.ZodObject<{} & {
2925
+ organizationId: z.ZodString;
2926
+ id: z.ZodString;
2927
+ }, "strip", z.ZodTypeAny, {
2928
+ id: string;
2929
+ organizationId: string;
2930
+ }, {
2931
+ id: string;
2932
+ organizationId: string;
2933
+ }>;
2934
+ summary: "Update bank account";
2935
+ description: "Update bank account information. Setting isDefault to true will make this the default account.";
2936
+ method: "PATCH";
2937
+ body: z.ZodObject<{
2938
+ data: z.ZodObject<{
2939
+ type: z.ZodLiteral<"bank-accounts">;
2940
+ id: z.ZodString;
2941
+ attributes: z.ZodObject<{
2942
+ bankName: z.ZodOptional<z.ZodString>;
2943
+ accountNumber: z.ZodOptional<z.ZodString>;
2944
+ accountName: z.ZodOptional<z.ZodString>;
2945
+ isDefault: z.ZodOptional<z.ZodBoolean>;
2946
+ }, "strip", z.ZodTypeAny, {
2947
+ isDefault?: boolean | undefined;
2948
+ bankName?: string | undefined;
2949
+ accountNumber?: string | undefined;
2950
+ accountName?: string | undefined;
2951
+ }, {
2952
+ isDefault?: boolean | undefined;
2953
+ bankName?: string | undefined;
2954
+ accountNumber?: string | undefined;
2955
+ accountName?: string | undefined;
2956
+ }>;
2957
+ }, "strip", z.ZodTypeAny, {
2958
+ type: "bank-accounts";
2959
+ id: string;
2960
+ attributes: {
2961
+ isDefault?: boolean | undefined;
2962
+ bankName?: string | undefined;
2963
+ accountNumber?: string | undefined;
2964
+ accountName?: string | undefined;
2965
+ };
2966
+ }, {
2967
+ type: "bank-accounts";
2968
+ id: string;
2969
+ attributes: {
2970
+ isDefault?: boolean | undefined;
2971
+ bankName?: string | undefined;
2972
+ accountNumber?: string | undefined;
2973
+ accountName?: string | undefined;
2974
+ };
2975
+ }>;
2976
+ }, "strip", z.ZodTypeAny, {
2977
+ data: {
2978
+ type: "bank-accounts";
2979
+ id: string;
2980
+ attributes: {
2981
+ isDefault?: boolean | undefined;
2982
+ bankName?: string | undefined;
2983
+ accountNumber?: string | undefined;
2984
+ accountName?: string | undefined;
2985
+ };
2986
+ };
2987
+ }, {
2988
+ data: {
2989
+ type: "bank-accounts";
2990
+ id: string;
2991
+ attributes: {
2992
+ isDefault?: boolean | undefined;
2993
+ bankName?: string | undefined;
2994
+ accountNumber?: string | undefined;
2995
+ accountName?: string | undefined;
2996
+ };
2997
+ };
2998
+ }>;
2999
+ path: "/organizations/:organizationId/bank-accounts/:id";
3000
+ responses: {
3001
+ 200: z.ZodObject<{
3002
+ data: z.ZodObject<{
3003
+ type: z.ZodLiteral<string>;
3004
+ id: z.ZodString;
3005
+ attributes: z.ZodObject<{
3006
+ bankName: z.ZodString;
3007
+ accountNumber: z.ZodString;
3008
+ accountName: z.ZodString;
3009
+ isDefault: z.ZodDefault<z.ZodBoolean>;
3010
+ } & {
3011
+ createdAt: z.ZodString;
3012
+ updatedAt: z.ZodString;
3013
+ }, "strip", z.ZodTypeAny, {
3014
+ createdAt: string;
3015
+ updatedAt: string;
3016
+ isDefault: boolean;
3017
+ bankName: string;
3018
+ accountNumber: string;
3019
+ accountName: string;
3020
+ }, {
3021
+ createdAt: string;
3022
+ updatedAt: string;
3023
+ bankName: string;
3024
+ accountNumber: string;
3025
+ accountName: string;
3026
+ isDefault?: boolean | undefined;
3027
+ }>;
3028
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3029
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3030
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3031
+ }, "strip", z.ZodTypeAny, {
3032
+ type: string;
3033
+ id: string;
3034
+ attributes: {
3035
+ createdAt: string;
3036
+ updatedAt: string;
3037
+ isDefault: boolean;
3038
+ bankName: string;
3039
+ accountNumber: string;
3040
+ accountName: string;
3041
+ };
3042
+ relationships?: Record<string, unknown> | undefined;
3043
+ links?: Record<string, string> | undefined;
3044
+ meta?: Record<string, unknown> | undefined;
3045
+ }, {
3046
+ type: string;
3047
+ id: string;
3048
+ attributes: {
3049
+ createdAt: string;
3050
+ updatedAt: string;
3051
+ bankName: string;
3052
+ accountNumber: string;
3053
+ accountName: string;
3054
+ isDefault?: boolean | undefined;
3055
+ };
3056
+ relationships?: Record<string, unknown> | undefined;
3057
+ links?: Record<string, string> | undefined;
3058
+ meta?: Record<string, unknown> | undefined;
3059
+ }>;
3060
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
3061
+ type: z.ZodString;
3062
+ id: z.ZodString;
3063
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3064
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3065
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3066
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3067
+ }, "strip", z.ZodTypeAny, {
3068
+ type: string;
3069
+ id: string;
3070
+ attributes?: Record<string, unknown> | undefined;
3071
+ relationships?: Record<string, unknown> | undefined;
3072
+ links?: Record<string, string> | undefined;
3073
+ meta?: Record<string, unknown> | undefined;
3074
+ }, {
3075
+ type: string;
3076
+ id: string;
3077
+ attributes?: Record<string, unknown> | undefined;
3078
+ relationships?: Record<string, unknown> | undefined;
3079
+ links?: Record<string, string> | undefined;
3080
+ meta?: Record<string, unknown> | undefined;
3081
+ }>, "many">>;
3082
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3083
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3084
+ }, "strip", z.ZodTypeAny, {
3085
+ data: {
3086
+ type: string;
3087
+ id: string;
3088
+ attributes: {
3089
+ createdAt: string;
3090
+ updatedAt: string;
3091
+ isDefault: boolean;
3092
+ bankName: string;
3093
+ accountNumber: string;
3094
+ accountName: string;
3095
+ };
3096
+ relationships?: Record<string, unknown> | undefined;
3097
+ links?: Record<string, string> | undefined;
3098
+ meta?: Record<string, unknown> | undefined;
3099
+ };
3100
+ links?: Record<string, string> | undefined;
3101
+ meta?: Record<string, unknown> | undefined;
3102
+ included?: {
3103
+ type: string;
3104
+ id: string;
3105
+ attributes?: Record<string, unknown> | undefined;
3106
+ relationships?: Record<string, unknown> | undefined;
3107
+ links?: Record<string, string> | undefined;
3108
+ meta?: Record<string, unknown> | undefined;
3109
+ }[] | undefined;
3110
+ }, {
3111
+ data: {
3112
+ type: string;
3113
+ id: string;
3114
+ attributes: {
3115
+ createdAt: string;
3116
+ updatedAt: string;
3117
+ bankName: string;
3118
+ accountNumber: string;
3119
+ accountName: string;
3120
+ isDefault?: boolean | undefined;
3121
+ };
3122
+ relationships?: Record<string, unknown> | undefined;
3123
+ links?: Record<string, string> | undefined;
3124
+ meta?: Record<string, unknown> | undefined;
3125
+ };
3126
+ links?: Record<string, string> | undefined;
3127
+ meta?: Record<string, unknown> | undefined;
3128
+ included?: {
3129
+ type: string;
3130
+ id: string;
3131
+ attributes?: Record<string, unknown> | undefined;
3132
+ relationships?: Record<string, unknown> | undefined;
3133
+ links?: Record<string, string> | undefined;
3134
+ meta?: Record<string, unknown> | undefined;
3135
+ }[] | undefined;
3136
+ }>;
3137
+ 400: z.ZodObject<{
3138
+ errors: z.ZodArray<z.ZodObject<{
3139
+ id: z.ZodOptional<z.ZodString>;
3140
+ links: z.ZodOptional<z.ZodObject<{
3141
+ about: z.ZodOptional<z.ZodString>;
3142
+ }, "strip", z.ZodTypeAny, {
3143
+ about?: string | undefined;
3144
+ }, {
3145
+ about?: string | undefined;
3146
+ }>>;
3147
+ status: z.ZodOptional<z.ZodString>;
3148
+ code: z.ZodOptional<z.ZodString>;
3149
+ title: z.ZodOptional<z.ZodString>;
3150
+ detail: z.ZodOptional<z.ZodString>;
3151
+ source: z.ZodOptional<z.ZodObject<{
3152
+ pointer: z.ZodOptional<z.ZodString>;
3153
+ parameter: z.ZodOptional<z.ZodString>;
3154
+ }, "strip", z.ZodTypeAny, {
3155
+ pointer?: string | undefined;
3156
+ parameter?: string | undefined;
3157
+ }, {
3158
+ pointer?: string | undefined;
3159
+ parameter?: string | undefined;
3160
+ }>>;
3161
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3162
+ }, "strip", z.ZodTypeAny, {
3163
+ status?: string | undefined;
3164
+ code?: string | undefined;
3165
+ id?: string | undefined;
3166
+ links?: {
3167
+ about?: string | undefined;
3168
+ } | undefined;
3169
+ meta?: Record<string, unknown> | undefined;
3170
+ title?: string | undefined;
3171
+ detail?: string | undefined;
3172
+ source?: {
3173
+ pointer?: string | undefined;
3174
+ parameter?: string | undefined;
3175
+ } | undefined;
3176
+ }, {
3177
+ status?: string | undefined;
3178
+ code?: string | undefined;
3179
+ id?: string | undefined;
3180
+ links?: {
3181
+ about?: string | undefined;
3182
+ } | undefined;
3183
+ meta?: Record<string, unknown> | undefined;
3184
+ title?: string | undefined;
3185
+ detail?: string | undefined;
3186
+ source?: {
3187
+ pointer?: string | undefined;
3188
+ parameter?: string | undefined;
3189
+ } | undefined;
3190
+ }>, "many">;
3191
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3192
+ }, "strip", z.ZodTypeAny, {
3193
+ errors: {
3194
+ status?: string | undefined;
3195
+ code?: string | undefined;
3196
+ id?: string | undefined;
3197
+ links?: {
3198
+ about?: string | undefined;
3199
+ } | undefined;
3200
+ meta?: Record<string, unknown> | undefined;
3201
+ title?: string | undefined;
3202
+ detail?: string | undefined;
3203
+ source?: {
3204
+ pointer?: string | undefined;
3205
+ parameter?: string | undefined;
3206
+ } | undefined;
3207
+ }[];
3208
+ meta?: Record<string, unknown> | undefined;
3209
+ }, {
3210
+ errors: {
3211
+ status?: string | undefined;
3212
+ code?: string | undefined;
3213
+ id?: string | undefined;
3214
+ links?: {
3215
+ about?: string | undefined;
3216
+ } | undefined;
3217
+ meta?: Record<string, unknown> | undefined;
3218
+ title?: string | undefined;
3219
+ detail?: string | undefined;
3220
+ source?: {
3221
+ pointer?: string | undefined;
3222
+ parameter?: string | undefined;
3223
+ } | undefined;
3224
+ }[];
3225
+ meta?: Record<string, unknown> | undefined;
3226
+ }>;
3227
+ 404: z.ZodObject<{
3228
+ errors: z.ZodArray<z.ZodObject<{
3229
+ id: z.ZodOptional<z.ZodString>;
3230
+ links: z.ZodOptional<z.ZodObject<{
3231
+ about: z.ZodOptional<z.ZodString>;
3232
+ }, "strip", z.ZodTypeAny, {
3233
+ about?: string | undefined;
3234
+ }, {
3235
+ about?: string | undefined;
3236
+ }>>;
3237
+ status: z.ZodOptional<z.ZodString>;
3238
+ code: z.ZodOptional<z.ZodString>;
3239
+ title: z.ZodOptional<z.ZodString>;
3240
+ detail: z.ZodOptional<z.ZodString>;
3241
+ source: z.ZodOptional<z.ZodObject<{
3242
+ pointer: z.ZodOptional<z.ZodString>;
3243
+ parameter: z.ZodOptional<z.ZodString>;
3244
+ }, "strip", z.ZodTypeAny, {
3245
+ pointer?: string | undefined;
3246
+ parameter?: string | undefined;
3247
+ }, {
3248
+ pointer?: string | undefined;
3249
+ parameter?: string | undefined;
3250
+ }>>;
3251
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3252
+ }, "strip", z.ZodTypeAny, {
3253
+ status?: string | undefined;
3254
+ code?: string | undefined;
3255
+ id?: string | undefined;
3256
+ links?: {
3257
+ about?: string | undefined;
3258
+ } | undefined;
3259
+ meta?: Record<string, unknown> | undefined;
3260
+ title?: string | undefined;
3261
+ detail?: string | undefined;
3262
+ source?: {
3263
+ pointer?: string | undefined;
3264
+ parameter?: string | undefined;
3265
+ } | undefined;
3266
+ }, {
3267
+ status?: string | undefined;
3268
+ code?: string | undefined;
3269
+ id?: string | undefined;
3270
+ links?: {
3271
+ about?: string | undefined;
3272
+ } | undefined;
3273
+ meta?: Record<string, unknown> | undefined;
3274
+ title?: string | undefined;
3275
+ detail?: string | undefined;
3276
+ source?: {
3277
+ pointer?: string | undefined;
3278
+ parameter?: string | undefined;
3279
+ } | undefined;
3280
+ }>, "many">;
3281
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3282
+ }, "strip", z.ZodTypeAny, {
3283
+ errors: {
3284
+ status?: string | undefined;
3285
+ code?: string | undefined;
3286
+ id?: string | undefined;
3287
+ links?: {
3288
+ about?: string | undefined;
3289
+ } | undefined;
3290
+ meta?: Record<string, unknown> | undefined;
3291
+ title?: string | undefined;
3292
+ detail?: string | undefined;
3293
+ source?: {
3294
+ pointer?: string | undefined;
3295
+ parameter?: string | undefined;
3296
+ } | undefined;
3297
+ }[];
3298
+ meta?: Record<string, unknown> | undefined;
3299
+ }, {
3300
+ errors: {
3301
+ status?: string | undefined;
3302
+ code?: string | undefined;
3303
+ id?: string | undefined;
3304
+ links?: {
3305
+ about?: string | undefined;
3306
+ } | undefined;
3307
+ meta?: Record<string, unknown> | undefined;
3308
+ title?: string | undefined;
3309
+ detail?: string | undefined;
3310
+ source?: {
3311
+ pointer?: string | undefined;
3312
+ parameter?: string | undefined;
3313
+ } | undefined;
3314
+ }[];
3315
+ meta?: Record<string, unknown> | undefined;
3316
+ }>;
3317
+ 401: z.ZodObject<{
3318
+ errors: z.ZodArray<z.ZodObject<{
3319
+ id: z.ZodOptional<z.ZodString>;
3320
+ links: z.ZodOptional<z.ZodObject<{
3321
+ about: z.ZodOptional<z.ZodString>;
3322
+ }, "strip", z.ZodTypeAny, {
3323
+ about?: string | undefined;
3324
+ }, {
3325
+ about?: string | undefined;
3326
+ }>>;
3327
+ status: z.ZodOptional<z.ZodString>;
3328
+ code: z.ZodOptional<z.ZodString>;
3329
+ title: z.ZodOptional<z.ZodString>;
3330
+ detail: z.ZodOptional<z.ZodString>;
3331
+ source: z.ZodOptional<z.ZodObject<{
3332
+ pointer: z.ZodOptional<z.ZodString>;
3333
+ parameter: z.ZodOptional<z.ZodString>;
3334
+ }, "strip", z.ZodTypeAny, {
3335
+ pointer?: string | undefined;
3336
+ parameter?: string | undefined;
3337
+ }, {
3338
+ pointer?: string | undefined;
3339
+ parameter?: string | undefined;
3340
+ }>>;
3341
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3342
+ }, "strip", z.ZodTypeAny, {
3343
+ status?: string | undefined;
3344
+ code?: string | undefined;
3345
+ id?: string | undefined;
3346
+ links?: {
3347
+ about?: string | undefined;
3348
+ } | undefined;
3349
+ meta?: Record<string, unknown> | undefined;
3350
+ title?: string | undefined;
3351
+ detail?: string | undefined;
3352
+ source?: {
3353
+ pointer?: string | undefined;
3354
+ parameter?: string | undefined;
3355
+ } | undefined;
3356
+ }, {
3357
+ status?: string | undefined;
3358
+ code?: string | undefined;
3359
+ id?: string | undefined;
3360
+ links?: {
3361
+ about?: string | undefined;
3362
+ } | undefined;
3363
+ meta?: Record<string, unknown> | undefined;
3364
+ title?: string | undefined;
3365
+ detail?: string | undefined;
3366
+ source?: {
3367
+ pointer?: string | undefined;
3368
+ parameter?: string | undefined;
3369
+ } | undefined;
3370
+ }>, "many">;
3371
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3372
+ }, "strip", z.ZodTypeAny, {
3373
+ errors: {
3374
+ status?: string | undefined;
3375
+ code?: string | undefined;
3376
+ id?: string | undefined;
3377
+ links?: {
3378
+ about?: string | undefined;
3379
+ } | undefined;
3380
+ meta?: Record<string, unknown> | undefined;
3381
+ title?: string | undefined;
3382
+ detail?: string | undefined;
3383
+ source?: {
3384
+ pointer?: string | undefined;
3385
+ parameter?: string | undefined;
3386
+ } | undefined;
3387
+ }[];
3388
+ meta?: Record<string, unknown> | undefined;
3389
+ }, {
3390
+ errors: {
3391
+ status?: string | undefined;
3392
+ code?: string | undefined;
3393
+ id?: string | undefined;
3394
+ links?: {
3395
+ about?: string | undefined;
3396
+ } | undefined;
3397
+ meta?: Record<string, unknown> | undefined;
3398
+ title?: string | undefined;
3399
+ detail?: string | undefined;
3400
+ source?: {
3401
+ pointer?: string | undefined;
3402
+ parameter?: string | undefined;
3403
+ } | undefined;
3404
+ }[];
3405
+ meta?: Record<string, unknown> | undefined;
3406
+ }>;
3407
+ 422: z.ZodObject<{
3408
+ errors: z.ZodArray<z.ZodObject<{
3409
+ id: z.ZodOptional<z.ZodString>;
3410
+ links: z.ZodOptional<z.ZodObject<{
3411
+ about: z.ZodOptional<z.ZodString>;
3412
+ }, "strip", z.ZodTypeAny, {
3413
+ about?: string | undefined;
3414
+ }, {
3415
+ about?: string | undefined;
3416
+ }>>;
3417
+ status: z.ZodOptional<z.ZodString>;
3418
+ code: z.ZodOptional<z.ZodString>;
3419
+ title: z.ZodOptional<z.ZodString>;
3420
+ detail: z.ZodOptional<z.ZodString>;
3421
+ source: z.ZodOptional<z.ZodObject<{
3422
+ pointer: z.ZodOptional<z.ZodString>;
3423
+ parameter: z.ZodOptional<z.ZodString>;
3424
+ }, "strip", z.ZodTypeAny, {
3425
+ pointer?: string | undefined;
3426
+ parameter?: string | undefined;
3427
+ }, {
3428
+ pointer?: string | undefined;
3429
+ parameter?: string | undefined;
3430
+ }>>;
3431
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3432
+ }, "strip", z.ZodTypeAny, {
3433
+ status?: string | undefined;
3434
+ code?: string | undefined;
3435
+ id?: string | undefined;
3436
+ links?: {
3437
+ about?: string | undefined;
3438
+ } | undefined;
3439
+ meta?: Record<string, unknown> | undefined;
3440
+ title?: string | undefined;
3441
+ detail?: string | undefined;
3442
+ source?: {
3443
+ pointer?: string | undefined;
3444
+ parameter?: string | undefined;
3445
+ } | undefined;
3446
+ }, {
3447
+ status?: string | undefined;
3448
+ code?: string | undefined;
3449
+ id?: string | undefined;
3450
+ links?: {
3451
+ about?: string | undefined;
3452
+ } | undefined;
3453
+ meta?: Record<string, unknown> | undefined;
3454
+ title?: string | undefined;
3455
+ detail?: string | undefined;
3456
+ source?: {
3457
+ pointer?: string | undefined;
3458
+ parameter?: string | undefined;
3459
+ } | undefined;
3460
+ }>, "many">;
3461
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3462
+ }, "strip", z.ZodTypeAny, {
3463
+ errors: {
3464
+ status?: string | undefined;
3465
+ code?: string | undefined;
3466
+ id?: string | undefined;
3467
+ links?: {
3468
+ about?: string | undefined;
3469
+ } | undefined;
3470
+ meta?: Record<string, unknown> | undefined;
3471
+ title?: string | undefined;
3472
+ detail?: string | undefined;
3473
+ source?: {
3474
+ pointer?: string | undefined;
3475
+ parameter?: string | undefined;
3476
+ } | undefined;
3477
+ }[];
3478
+ meta?: Record<string, unknown> | undefined;
3479
+ }, {
3480
+ errors: {
3481
+ status?: string | undefined;
3482
+ code?: string | undefined;
3483
+ id?: string | undefined;
3484
+ links?: {
3485
+ about?: string | undefined;
3486
+ } | undefined;
3487
+ meta?: Record<string, unknown> | undefined;
3488
+ title?: string | undefined;
3489
+ detail?: string | undefined;
3490
+ source?: {
3491
+ pointer?: string | undefined;
3492
+ parameter?: string | undefined;
3493
+ } | undefined;
3494
+ }[];
3495
+ meta?: Record<string, unknown> | undefined;
3496
+ }>;
3497
+ };
3498
+ };
3499
+ deleteBankAccount: {
3500
+ pathParams: z.ZodObject<{} & {
3501
+ organizationId: z.ZodString;
3502
+ id: z.ZodString;
3503
+ }, "strip", z.ZodTypeAny, {
3504
+ id: string;
3505
+ organizationId: string;
3506
+ }, {
3507
+ id: string;
3508
+ organizationId: string;
3509
+ }>;
3510
+ summary: "Delete bank account";
3511
+ description: "Delete a bank account. Cannot delete if it is the default account or has associated invoices.";
3512
+ method: "DELETE";
3513
+ path: "/organizations/:organizationId/bank-accounts/:id";
3514
+ responses: {
3515
+ 204: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3516
+ 400: z.ZodObject<{
3517
+ errors: z.ZodArray<z.ZodObject<{
3518
+ id: z.ZodOptional<z.ZodString>;
3519
+ links: z.ZodOptional<z.ZodObject<{
3520
+ about: z.ZodOptional<z.ZodString>;
3521
+ }, "strip", z.ZodTypeAny, {
3522
+ about?: string | undefined;
3523
+ }, {
3524
+ about?: string | undefined;
3525
+ }>>;
3526
+ status: z.ZodOptional<z.ZodString>;
3527
+ code: z.ZodOptional<z.ZodString>;
3528
+ title: z.ZodOptional<z.ZodString>;
3529
+ detail: z.ZodOptional<z.ZodString>;
3530
+ source: z.ZodOptional<z.ZodObject<{
3531
+ pointer: z.ZodOptional<z.ZodString>;
3532
+ parameter: z.ZodOptional<z.ZodString>;
3533
+ }, "strip", z.ZodTypeAny, {
3534
+ pointer?: string | undefined;
3535
+ parameter?: string | undefined;
3536
+ }, {
3537
+ pointer?: string | undefined;
3538
+ parameter?: string | undefined;
3539
+ }>>;
3540
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3541
+ }, "strip", z.ZodTypeAny, {
3542
+ status?: string | undefined;
3543
+ code?: string | undefined;
3544
+ id?: string | undefined;
3545
+ links?: {
3546
+ about?: string | undefined;
3547
+ } | undefined;
3548
+ meta?: Record<string, unknown> | undefined;
3549
+ title?: string | undefined;
3550
+ detail?: string | undefined;
3551
+ source?: {
3552
+ pointer?: string | undefined;
3553
+ parameter?: string | undefined;
3554
+ } | undefined;
3555
+ }, {
3556
+ status?: string | undefined;
3557
+ code?: string | undefined;
3558
+ id?: string | undefined;
3559
+ links?: {
3560
+ about?: string | undefined;
3561
+ } | undefined;
3562
+ meta?: Record<string, unknown> | undefined;
3563
+ title?: string | undefined;
3564
+ detail?: string | undefined;
3565
+ source?: {
3566
+ pointer?: string | undefined;
3567
+ parameter?: string | undefined;
3568
+ } | undefined;
3569
+ }>, "many">;
3570
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3571
+ }, "strip", z.ZodTypeAny, {
3572
+ errors: {
3573
+ status?: string | undefined;
3574
+ code?: string | undefined;
3575
+ id?: string | undefined;
3576
+ links?: {
3577
+ about?: string | undefined;
3578
+ } | undefined;
3579
+ meta?: Record<string, unknown> | undefined;
3580
+ title?: string | undefined;
3581
+ detail?: string | undefined;
3582
+ source?: {
3583
+ pointer?: string | undefined;
3584
+ parameter?: string | undefined;
3585
+ } | undefined;
3586
+ }[];
3587
+ meta?: Record<string, unknown> | undefined;
3588
+ }, {
3589
+ errors: {
3590
+ status?: string | undefined;
3591
+ code?: string | undefined;
3592
+ id?: string | undefined;
3593
+ links?: {
3594
+ about?: string | undefined;
3595
+ } | undefined;
3596
+ meta?: Record<string, unknown> | undefined;
3597
+ title?: string | undefined;
3598
+ detail?: string | undefined;
3599
+ source?: {
3600
+ pointer?: string | undefined;
3601
+ parameter?: string | undefined;
3602
+ } | undefined;
3603
+ }[];
3604
+ meta?: Record<string, unknown> | undefined;
3605
+ }>;
3606
+ 404: z.ZodObject<{
3607
+ errors: z.ZodArray<z.ZodObject<{
3608
+ id: z.ZodOptional<z.ZodString>;
3609
+ links: z.ZodOptional<z.ZodObject<{
3610
+ about: z.ZodOptional<z.ZodString>;
3611
+ }, "strip", z.ZodTypeAny, {
3612
+ about?: string | undefined;
3613
+ }, {
3614
+ about?: string | undefined;
3615
+ }>>;
3616
+ status: z.ZodOptional<z.ZodString>;
3617
+ code: z.ZodOptional<z.ZodString>;
3618
+ title: z.ZodOptional<z.ZodString>;
3619
+ detail: z.ZodOptional<z.ZodString>;
3620
+ source: z.ZodOptional<z.ZodObject<{
3621
+ pointer: z.ZodOptional<z.ZodString>;
3622
+ parameter: z.ZodOptional<z.ZodString>;
3623
+ }, "strip", z.ZodTypeAny, {
3624
+ pointer?: string | undefined;
3625
+ parameter?: string | undefined;
3626
+ }, {
3627
+ pointer?: string | undefined;
3628
+ parameter?: string | undefined;
3629
+ }>>;
3630
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3631
+ }, "strip", z.ZodTypeAny, {
3632
+ status?: string | undefined;
3633
+ code?: string | undefined;
3634
+ id?: string | undefined;
3635
+ links?: {
3636
+ about?: string | undefined;
3637
+ } | undefined;
3638
+ meta?: Record<string, unknown> | undefined;
3639
+ title?: string | undefined;
3640
+ detail?: string | undefined;
3641
+ source?: {
3642
+ pointer?: string | undefined;
3643
+ parameter?: string | undefined;
3644
+ } | undefined;
3645
+ }, {
3646
+ status?: string | undefined;
3647
+ code?: string | undefined;
3648
+ id?: string | undefined;
3649
+ links?: {
3650
+ about?: string | undefined;
3651
+ } | undefined;
3652
+ meta?: Record<string, unknown> | undefined;
3653
+ title?: string | undefined;
3654
+ detail?: string | undefined;
3655
+ source?: {
3656
+ pointer?: string | undefined;
3657
+ parameter?: string | undefined;
3658
+ } | undefined;
3659
+ }>, "many">;
3660
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3661
+ }, "strip", z.ZodTypeAny, {
3662
+ errors: {
3663
+ status?: string | undefined;
3664
+ code?: string | undefined;
3665
+ id?: string | undefined;
3666
+ links?: {
3667
+ about?: string | undefined;
3668
+ } | undefined;
3669
+ meta?: Record<string, unknown> | undefined;
3670
+ title?: string | undefined;
3671
+ detail?: string | undefined;
3672
+ source?: {
3673
+ pointer?: string | undefined;
3674
+ parameter?: string | undefined;
3675
+ } | undefined;
3676
+ }[];
3677
+ meta?: Record<string, unknown> | undefined;
3678
+ }, {
3679
+ errors: {
3680
+ status?: string | undefined;
3681
+ code?: string | undefined;
3682
+ id?: string | undefined;
3683
+ links?: {
3684
+ about?: string | undefined;
3685
+ } | undefined;
3686
+ meta?: Record<string, unknown> | undefined;
3687
+ title?: string | undefined;
3688
+ detail?: string | undefined;
3689
+ source?: {
3690
+ pointer?: string | undefined;
3691
+ parameter?: string | undefined;
3692
+ } | undefined;
3693
+ }[];
3694
+ meta?: Record<string, unknown> | undefined;
3695
+ }>;
3696
+ 401: z.ZodObject<{
3697
+ errors: z.ZodArray<z.ZodObject<{
3698
+ id: z.ZodOptional<z.ZodString>;
3699
+ links: z.ZodOptional<z.ZodObject<{
3700
+ about: z.ZodOptional<z.ZodString>;
3701
+ }, "strip", z.ZodTypeAny, {
3702
+ about?: string | undefined;
3703
+ }, {
3704
+ about?: string | undefined;
3705
+ }>>;
3706
+ status: z.ZodOptional<z.ZodString>;
3707
+ code: z.ZodOptional<z.ZodString>;
3708
+ title: z.ZodOptional<z.ZodString>;
3709
+ detail: z.ZodOptional<z.ZodString>;
3710
+ source: z.ZodOptional<z.ZodObject<{
3711
+ pointer: z.ZodOptional<z.ZodString>;
3712
+ parameter: z.ZodOptional<z.ZodString>;
3713
+ }, "strip", z.ZodTypeAny, {
3714
+ pointer?: string | undefined;
3715
+ parameter?: string | undefined;
3716
+ }, {
3717
+ pointer?: string | undefined;
3718
+ parameter?: string | undefined;
3719
+ }>>;
3720
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3721
+ }, "strip", z.ZodTypeAny, {
3722
+ status?: string | undefined;
3723
+ code?: string | undefined;
3724
+ id?: string | undefined;
3725
+ links?: {
3726
+ about?: string | undefined;
3727
+ } | undefined;
3728
+ meta?: Record<string, unknown> | undefined;
3729
+ title?: string | undefined;
3730
+ detail?: string | undefined;
3731
+ source?: {
3732
+ pointer?: string | undefined;
3733
+ parameter?: string | undefined;
3734
+ } | undefined;
3735
+ }, {
3736
+ status?: string | undefined;
3737
+ code?: string | undefined;
3738
+ id?: string | undefined;
3739
+ links?: {
3740
+ about?: string | undefined;
3741
+ } | undefined;
3742
+ meta?: Record<string, unknown> | undefined;
3743
+ title?: string | undefined;
3744
+ detail?: string | undefined;
3745
+ source?: {
3746
+ pointer?: string | undefined;
3747
+ parameter?: string | undefined;
3748
+ } | undefined;
3749
+ }>, "many">;
3750
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3751
+ }, "strip", z.ZodTypeAny, {
3752
+ errors: {
3753
+ status?: string | undefined;
3754
+ code?: string | undefined;
3755
+ id?: string | undefined;
3756
+ links?: {
3757
+ about?: string | undefined;
3758
+ } | undefined;
3759
+ meta?: Record<string, unknown> | undefined;
3760
+ title?: string | undefined;
3761
+ detail?: string | undefined;
3762
+ source?: {
3763
+ pointer?: string | undefined;
3764
+ parameter?: string | undefined;
3765
+ } | undefined;
3766
+ }[];
3767
+ meta?: Record<string, unknown> | undefined;
3768
+ }, {
3769
+ errors: {
3770
+ status?: string | undefined;
3771
+ code?: string | undefined;
3772
+ id?: string | undefined;
3773
+ links?: {
3774
+ about?: string | undefined;
3775
+ } | undefined;
3776
+ meta?: Record<string, unknown> | undefined;
3777
+ title?: string | undefined;
3778
+ detail?: string | undefined;
3779
+ source?: {
3780
+ pointer?: string | undefined;
3781
+ parameter?: string | undefined;
3782
+ } | undefined;
3783
+ }[];
3784
+ meta?: Record<string, unknown> | undefined;
3785
+ }>;
3786
+ };
3787
+ };
1668
3788
  };
1669
3789
  //# sourceMappingURL=organizations.routes.d.ts.map