@adaptive-ai/sdk 0.1.10 → 0.1.11

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.
@@ -1751,6 +1751,102 @@ declare let client: {
1751
1751
  };
1752
1752
  }, unknown>>;
1753
1753
  };
1754
+ connectedApiRequest: {
1755
+ mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
1756
+ _config: _trpc_server.RootConfig<{
1757
+ ctx: {
1758
+ appId: string;
1759
+ versionId: string;
1760
+ appName: string;
1761
+ appSubdomain: string;
1762
+ userId: string;
1763
+ isTesting: boolean;
1764
+ rpcMethod: string;
1765
+ requestId: string;
1766
+ type?: undefined;
1767
+ dbUrl?: string | null | undefined;
1768
+ userIdActual?: string | null | undefined;
1769
+ channelId?: string | null | undefined;
1770
+ } | {
1771
+ type: "BOXMAN_REQUEST";
1772
+ boxId: string;
1773
+ isDevelopment: boolean | null;
1774
+ appId?: string | null | undefined;
1775
+ rpcMethod?: string | null | undefined;
1776
+ requestId?: string | null | undefined;
1777
+ channelId?: string | null | undefined;
1778
+ platformUserId?: string | null | undefined;
1779
+ agent?: string | null | undefined;
1780
+ sessionId?: string | null | undefined;
1781
+ pushToken?: string | null | undefined;
1782
+ };
1783
+ meta: object;
1784
+ errorShape: {
1785
+ data: {
1786
+ zodError: typeToFlattenedError<any, string> | null;
1787
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
1788
+ httpStatus: number;
1789
+ path?: string;
1790
+ stack?: string;
1791
+ };
1792
+ message: string;
1793
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
1794
+ };
1795
+ transformer: typeof superjson;
1796
+ }>;
1797
+ _meta: object;
1798
+ _ctx_out: {
1799
+ type: undefined;
1800
+ appId: string;
1801
+ versionId: string;
1802
+ dbUrl: string | null | undefined;
1803
+ appName: string;
1804
+ appSubdomain: string;
1805
+ userId: string;
1806
+ userIdActual: string | null | undefined;
1807
+ isTesting: boolean;
1808
+ rpcMethod: string;
1809
+ requestId: string;
1810
+ channelId: string | null | undefined;
1811
+ } | {
1812
+ type: "BOXMAN_REQUEST";
1813
+ appId: string | null | undefined;
1814
+ boxId: string;
1815
+ rpcMethod: string | null | undefined;
1816
+ requestId: string | null | undefined;
1817
+ channelId: string | null | undefined;
1818
+ platformUserId: string | null | undefined;
1819
+ isDevelopment: boolean | null;
1820
+ agent: string | null | undefined;
1821
+ sessionId: string | null | undefined;
1822
+ pushToken: string | null | undefined;
1823
+ };
1824
+ _input_in: {
1825
+ url: string;
1826
+ connectionToken: string;
1827
+ method: string;
1828
+ body?: any;
1829
+ headers?: Record<string, string> | undefined;
1830
+ };
1831
+ _input_out: {
1832
+ url: string;
1833
+ connectionToken: string;
1834
+ method: string;
1835
+ body?: any;
1836
+ headers?: Record<string, string> | undefined;
1837
+ };
1838
+ _output_in: typeof _trpc_server.unsetMarker;
1839
+ _output_out: typeof _trpc_server.unsetMarker;
1840
+ }, {
1841
+ status: number;
1842
+ body: any;
1843
+ error?: undefined;
1844
+ } | {
1845
+ status: number;
1846
+ error: string;
1847
+ body?: undefined;
1848
+ }>>;
1849
+ };
1754
1850
  health: {
1755
1851
  query: _trpc_client.Resolver<_trpc_server.BuildProcedure<"query", {
1756
1852
  _config: _trpc_server.RootConfig<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptive-ai/sdk",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {