@zeroin.earth/appwrite-graphql 0.15.8 → 0.15.10

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.
package/dist/index.d.ts CHANGED
@@ -55,6 +55,14 @@ type Account_UserFragment = {
55
55
  } & {
56
56
  ' $fragmentName'?: 'Account_UserFragment';
57
57
  };
58
+ type Identity_ProviderFragment = {
59
+ __typename?: 'Identity';
60
+ _id?: string | null;
61
+ userId?: string | null;
62
+ provider?: string | null;
63
+ } & {
64
+ ' $fragmentName'?: 'Identity_ProviderFragment';
65
+ };
58
66
  type GetSessionQueryVariables = Exact<{
59
67
  sessionId: Scalars['String']['input'];
60
68
  }>;
@@ -1839,7 +1847,10 @@ declare function useDeleteSessions(): {
1839
1847
  };
1840
1848
 
1841
1849
  declare function useGetMfaRecoveryCodes(): {
1842
- data: void;
1850
+ data: {
1851
+ __typename?: "MFARecoveryCodes";
1852
+ recoveryCodes: string[];
1853
+ };
1843
1854
  error: AppwriteException[];
1844
1855
  isError: true;
1845
1856
  isPending: false;
@@ -1861,10 +1872,16 @@ declare function useGetMfaRecoveryCodes(): {
1861
1872
  isPlaceholderData: boolean;
1862
1873
  isRefetching: boolean;
1863
1874
  isStale: boolean;
1864
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
1875
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
1876
+ __typename?: "MFARecoveryCodes";
1877
+ recoveryCodes: string[];
1878
+ }, AppwriteException[]>>;
1865
1879
  fetchStatus: _tanstack_query_core.FetchStatus;
1866
1880
  } | {
1867
- data: void;
1881
+ data: {
1882
+ __typename?: "MFARecoveryCodes";
1883
+ recoveryCodes: string[];
1884
+ };
1868
1885
  error: null;
1869
1886
  isError: false;
1870
1887
  isPending: false;
@@ -1886,7 +1903,10 @@ declare function useGetMfaRecoveryCodes(): {
1886
1903
  isPlaceholderData: boolean;
1887
1904
  isRefetching: boolean;
1888
1905
  isStale: boolean;
1889
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
1906
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
1907
+ __typename?: "MFARecoveryCodes";
1908
+ recoveryCodes: string[];
1909
+ }, AppwriteException[]>>;
1890
1910
  fetchStatus: _tanstack_query_core.FetchStatus;
1891
1911
  } | {
1892
1912
  data: undefined;
@@ -1911,7 +1931,10 @@ declare function useGetMfaRecoveryCodes(): {
1911
1931
  isPlaceholderData: boolean;
1912
1932
  isRefetching: boolean;
1913
1933
  isStale: boolean;
1914
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
1934
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
1935
+ __typename?: "MFARecoveryCodes";
1936
+ recoveryCodes: string[];
1937
+ }, AppwriteException[]>>;
1915
1938
  fetchStatus: _tanstack_query_core.FetchStatus;
1916
1939
  } | {
1917
1940
  data: undefined;
@@ -1936,7 +1959,10 @@ declare function useGetMfaRecoveryCodes(): {
1936
1959
  isPlaceholderData: boolean;
1937
1960
  isRefetching: boolean;
1938
1961
  isStale: boolean;
1939
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
1962
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
1963
+ __typename?: "MFARecoveryCodes";
1964
+ recoveryCodes: string[];
1965
+ }, AppwriteException[]>>;
1940
1966
  fetchStatus: _tanstack_query_core.FetchStatus;
1941
1967
  } | {
1942
1968
  data: undefined;
@@ -1961,12 +1987,18 @@ declare function useGetMfaRecoveryCodes(): {
1961
1987
  isPlaceholderData: boolean;
1962
1988
  isRefetching: boolean;
1963
1989
  isStale: boolean;
1964
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
1990
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
1991
+ __typename?: "MFARecoveryCodes";
1992
+ recoveryCodes: string[];
1993
+ }, AppwriteException[]>>;
1965
1994
  fetchStatus: _tanstack_query_core.FetchStatus;
1966
1995
  };
1967
1996
 
1968
1997
  declare function useGetPrefs(): {
1969
- data: void;
1998
+ data: {
1999
+ __typename?: "Preferences";
2000
+ data?: any;
2001
+ };
1970
2002
  error: AppwriteException[];
1971
2003
  isError: true;
1972
2004
  isPending: false;
@@ -1988,10 +2020,16 @@ declare function useGetPrefs(): {
1988
2020
  isPlaceholderData: boolean;
1989
2021
  isRefetching: boolean;
1990
2022
  isStale: boolean;
1991
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2023
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2024
+ __typename?: "Preferences";
2025
+ data?: any;
2026
+ }, AppwriteException[]>>;
1992
2027
  fetchStatus: _tanstack_query_core.FetchStatus;
1993
2028
  } | {
1994
- data: void;
2029
+ data: {
2030
+ __typename?: "Preferences";
2031
+ data?: any;
2032
+ };
1995
2033
  error: null;
1996
2034
  isError: false;
1997
2035
  isPending: false;
@@ -2013,7 +2051,10 @@ declare function useGetPrefs(): {
2013
2051
  isPlaceholderData: boolean;
2014
2052
  isRefetching: boolean;
2015
2053
  isStale: boolean;
2016
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2054
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2055
+ __typename?: "Preferences";
2056
+ data?: any;
2057
+ }, AppwriteException[]>>;
2017
2058
  fetchStatus: _tanstack_query_core.FetchStatus;
2018
2059
  } | {
2019
2060
  data: undefined;
@@ -2038,7 +2079,10 @@ declare function useGetPrefs(): {
2038
2079
  isPlaceholderData: boolean;
2039
2080
  isRefetching: boolean;
2040
2081
  isStale: boolean;
2041
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2082
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2083
+ __typename?: "Preferences";
2084
+ data?: any;
2085
+ }, AppwriteException[]>>;
2042
2086
  fetchStatus: _tanstack_query_core.FetchStatus;
2043
2087
  } | {
2044
2088
  data: undefined;
@@ -2063,7 +2107,10 @@ declare function useGetPrefs(): {
2063
2107
  isPlaceholderData: boolean;
2064
2108
  isRefetching: boolean;
2065
2109
  isStale: boolean;
2066
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2110
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2111
+ __typename?: "Preferences";
2112
+ data?: any;
2113
+ }, AppwriteException[]>>;
2067
2114
  fetchStatus: _tanstack_query_core.FetchStatus;
2068
2115
  } | {
2069
2116
  data: undefined;
@@ -2088,7 +2135,10 @@ declare function useGetPrefs(): {
2088
2135
  isPlaceholderData: boolean;
2089
2136
  isRefetching: boolean;
2090
2137
  isStale: boolean;
2091
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2138
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2139
+ __typename?: "Preferences";
2140
+ data?: any;
2141
+ }, AppwriteException[]>>;
2092
2142
  fetchStatus: _tanstack_query_core.FetchStatus;
2093
2143
  };
2094
2144
 
@@ -2097,7 +2147,17 @@ declare function useGetSession({ sessionId }: GetSessionQueryVariables): _tansta
2097
2147
  }>, AppwriteException[]>;
2098
2148
 
2099
2149
  declare function useListIdentities(): {
2100
- data: void;
2150
+ data: {
2151
+ __typename?: "IdentityList";
2152
+ total: number;
2153
+ identities?: ({
2154
+ __typename?: "Identity";
2155
+ } & {
2156
+ ' $fragmentRefs'?: {
2157
+ Identity_ProviderFragment: Identity_ProviderFragment;
2158
+ };
2159
+ })[];
2160
+ };
2101
2161
  error: AppwriteException[];
2102
2162
  isError: true;
2103
2163
  isPending: false;
@@ -2119,10 +2179,30 @@ declare function useListIdentities(): {
2119
2179
  isPlaceholderData: boolean;
2120
2180
  isRefetching: boolean;
2121
2181
  isStale: boolean;
2122
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2182
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2183
+ __typename?: "IdentityList";
2184
+ total: number;
2185
+ identities?: ({
2186
+ __typename?: "Identity";
2187
+ } & {
2188
+ ' $fragmentRefs'?: {
2189
+ Identity_ProviderFragment: Identity_ProviderFragment;
2190
+ };
2191
+ })[];
2192
+ }, AppwriteException[]>>;
2123
2193
  fetchStatus: _tanstack_query_core.FetchStatus;
2124
2194
  } | {
2125
- data: void;
2195
+ data: {
2196
+ __typename?: "IdentityList";
2197
+ total: number;
2198
+ identities?: ({
2199
+ __typename?: "Identity";
2200
+ } & {
2201
+ ' $fragmentRefs'?: {
2202
+ Identity_ProviderFragment: Identity_ProviderFragment;
2203
+ };
2204
+ })[];
2205
+ };
2126
2206
  error: null;
2127
2207
  isError: false;
2128
2208
  isPending: false;
@@ -2144,7 +2224,17 @@ declare function useListIdentities(): {
2144
2224
  isPlaceholderData: boolean;
2145
2225
  isRefetching: boolean;
2146
2226
  isStale: boolean;
2147
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2227
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2228
+ __typename?: "IdentityList";
2229
+ total: number;
2230
+ identities?: ({
2231
+ __typename?: "Identity";
2232
+ } & {
2233
+ ' $fragmentRefs'?: {
2234
+ Identity_ProviderFragment: Identity_ProviderFragment;
2235
+ };
2236
+ })[];
2237
+ }, AppwriteException[]>>;
2148
2238
  fetchStatus: _tanstack_query_core.FetchStatus;
2149
2239
  } | {
2150
2240
  data: undefined;
@@ -2169,7 +2259,17 @@ declare function useListIdentities(): {
2169
2259
  isPlaceholderData: boolean;
2170
2260
  isRefetching: boolean;
2171
2261
  isStale: boolean;
2172
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2262
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2263
+ __typename?: "IdentityList";
2264
+ total: number;
2265
+ identities?: ({
2266
+ __typename?: "Identity";
2267
+ } & {
2268
+ ' $fragmentRefs'?: {
2269
+ Identity_ProviderFragment: Identity_ProviderFragment;
2270
+ };
2271
+ })[];
2272
+ }, AppwriteException[]>>;
2173
2273
  fetchStatus: _tanstack_query_core.FetchStatus;
2174
2274
  } | {
2175
2275
  data: undefined;
@@ -2194,7 +2294,17 @@ declare function useListIdentities(): {
2194
2294
  isPlaceholderData: boolean;
2195
2295
  isRefetching: boolean;
2196
2296
  isStale: boolean;
2197
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2297
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2298
+ __typename?: "IdentityList";
2299
+ total: number;
2300
+ identities?: ({
2301
+ __typename?: "Identity";
2302
+ } & {
2303
+ ' $fragmentRefs'?: {
2304
+ Identity_ProviderFragment: Identity_ProviderFragment;
2305
+ };
2306
+ })[];
2307
+ }, AppwriteException[]>>;
2198
2308
  fetchStatus: _tanstack_query_core.FetchStatus;
2199
2309
  } | {
2200
2310
  data: undefined;
@@ -2219,12 +2329,27 @@ declare function useListIdentities(): {
2219
2329
  isPlaceholderData: boolean;
2220
2330
  isRefetching: boolean;
2221
2331
  isStale: boolean;
2222
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2332
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2333
+ __typename?: "IdentityList";
2334
+ total: number;
2335
+ identities?: ({
2336
+ __typename?: "Identity";
2337
+ } & {
2338
+ ' $fragmentRefs'?: {
2339
+ Identity_ProviderFragment: Identity_ProviderFragment;
2340
+ };
2341
+ })[];
2342
+ }, AppwriteException[]>>;
2223
2343
  fetchStatus: _tanstack_query_core.FetchStatus;
2224
2344
  };
2225
2345
 
2226
2346
  declare function useListMfaFactors(): {
2227
- data: void;
2347
+ data: {
2348
+ __typename?: "MFAFactors";
2349
+ totp?: boolean;
2350
+ phone?: boolean;
2351
+ email?: boolean;
2352
+ };
2228
2353
  error: AppwriteException[];
2229
2354
  isError: true;
2230
2355
  isPending: false;
@@ -2246,10 +2371,20 @@ declare function useListMfaFactors(): {
2246
2371
  isPlaceholderData: boolean;
2247
2372
  isRefetching: boolean;
2248
2373
  isStale: boolean;
2249
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2374
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2375
+ __typename?: "MFAFactors";
2376
+ totp?: boolean;
2377
+ phone?: boolean;
2378
+ email?: boolean;
2379
+ }, AppwriteException[]>>;
2250
2380
  fetchStatus: _tanstack_query_core.FetchStatus;
2251
2381
  } | {
2252
- data: void;
2382
+ data: {
2383
+ __typename?: "MFAFactors";
2384
+ totp?: boolean;
2385
+ phone?: boolean;
2386
+ email?: boolean;
2387
+ };
2253
2388
  error: null;
2254
2389
  isError: false;
2255
2390
  isPending: false;
@@ -2271,7 +2406,12 @@ declare function useListMfaFactors(): {
2271
2406
  isPlaceholderData: boolean;
2272
2407
  isRefetching: boolean;
2273
2408
  isStale: boolean;
2274
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2409
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2410
+ __typename?: "MFAFactors";
2411
+ totp?: boolean;
2412
+ phone?: boolean;
2413
+ email?: boolean;
2414
+ }, AppwriteException[]>>;
2275
2415
  fetchStatus: _tanstack_query_core.FetchStatus;
2276
2416
  } | {
2277
2417
  data: undefined;
@@ -2296,7 +2436,12 @@ declare function useListMfaFactors(): {
2296
2436
  isPlaceholderData: boolean;
2297
2437
  isRefetching: boolean;
2298
2438
  isStale: boolean;
2299
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2439
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2440
+ __typename?: "MFAFactors";
2441
+ totp?: boolean;
2442
+ phone?: boolean;
2443
+ email?: boolean;
2444
+ }, AppwriteException[]>>;
2300
2445
  fetchStatus: _tanstack_query_core.FetchStatus;
2301
2446
  } | {
2302
2447
  data: undefined;
@@ -2321,7 +2466,12 @@ declare function useListMfaFactors(): {
2321
2466
  isPlaceholderData: boolean;
2322
2467
  isRefetching: boolean;
2323
2468
  isStale: boolean;
2324
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2469
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2470
+ __typename?: "MFAFactors";
2471
+ totp?: boolean;
2472
+ phone?: boolean;
2473
+ email?: boolean;
2474
+ }, AppwriteException[]>>;
2325
2475
  fetchStatus: _tanstack_query_core.FetchStatus;
2326
2476
  } | {
2327
2477
  data: undefined;
@@ -2346,12 +2496,26 @@ declare function useListMfaFactors(): {
2346
2496
  isPlaceholderData: boolean;
2347
2497
  isRefetching: boolean;
2348
2498
  isStale: boolean;
2349
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2499
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2500
+ __typename?: "MFAFactors";
2501
+ totp?: boolean;
2502
+ phone?: boolean;
2503
+ email?: boolean;
2504
+ }, AppwriteException[]>>;
2350
2505
  fetchStatus: _tanstack_query_core.FetchStatus;
2351
2506
  };
2352
2507
 
2353
2508
  declare function useListSessions(): {
2354
- data: void;
2509
+ data: {
2510
+ __typename?: "SessionList";
2511
+ sessions?: {
2512
+ __typename?: "Session";
2513
+ _id?: string;
2514
+ _createdAt?: any;
2515
+ osName?: string;
2516
+ clientName?: string;
2517
+ }[];
2518
+ };
2355
2519
  error: AppwriteException[];
2356
2520
  isError: true;
2357
2521
  isPending: false;
@@ -2373,10 +2537,28 @@ declare function useListSessions(): {
2373
2537
  isPlaceholderData: boolean;
2374
2538
  isRefetching: boolean;
2375
2539
  isStale: boolean;
2376
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2540
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2541
+ __typename?: "SessionList";
2542
+ sessions?: {
2543
+ __typename?: "Session";
2544
+ _id?: string;
2545
+ _createdAt?: any;
2546
+ osName?: string;
2547
+ clientName?: string;
2548
+ }[];
2549
+ }, AppwriteException[]>>;
2377
2550
  fetchStatus: _tanstack_query_core.FetchStatus;
2378
2551
  } | {
2379
- data: void;
2552
+ data: {
2553
+ __typename?: "SessionList";
2554
+ sessions?: {
2555
+ __typename?: "Session";
2556
+ _id?: string;
2557
+ _createdAt?: any;
2558
+ osName?: string;
2559
+ clientName?: string;
2560
+ }[];
2561
+ };
2380
2562
  error: null;
2381
2563
  isError: false;
2382
2564
  isPending: false;
@@ -2398,7 +2580,16 @@ declare function useListSessions(): {
2398
2580
  isPlaceholderData: boolean;
2399
2581
  isRefetching: boolean;
2400
2582
  isStale: boolean;
2401
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2583
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2584
+ __typename?: "SessionList";
2585
+ sessions?: {
2586
+ __typename?: "Session";
2587
+ _id?: string;
2588
+ _createdAt?: any;
2589
+ osName?: string;
2590
+ clientName?: string;
2591
+ }[];
2592
+ }, AppwriteException[]>>;
2402
2593
  fetchStatus: _tanstack_query_core.FetchStatus;
2403
2594
  } | {
2404
2595
  data: undefined;
@@ -2423,7 +2614,16 @@ declare function useListSessions(): {
2423
2614
  isPlaceholderData: boolean;
2424
2615
  isRefetching: boolean;
2425
2616
  isStale: boolean;
2426
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2617
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2618
+ __typename?: "SessionList";
2619
+ sessions?: {
2620
+ __typename?: "Session";
2621
+ _id?: string;
2622
+ _createdAt?: any;
2623
+ osName?: string;
2624
+ clientName?: string;
2625
+ }[];
2626
+ }, AppwriteException[]>>;
2427
2627
  fetchStatus: _tanstack_query_core.FetchStatus;
2428
2628
  } | {
2429
2629
  data: undefined;
@@ -2448,7 +2648,16 @@ declare function useListSessions(): {
2448
2648
  isPlaceholderData: boolean;
2449
2649
  isRefetching: boolean;
2450
2650
  isStale: boolean;
2451
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2651
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2652
+ __typename?: "SessionList";
2653
+ sessions?: {
2654
+ __typename?: "Session";
2655
+ _id?: string;
2656
+ _createdAt?: any;
2657
+ osName?: string;
2658
+ clientName?: string;
2659
+ }[];
2660
+ }, AppwriteException[]>>;
2452
2661
  fetchStatus: _tanstack_query_core.FetchStatus;
2453
2662
  } | {
2454
2663
  data: undefined;
@@ -2473,7 +2682,16 @@ declare function useListSessions(): {
2473
2682
  isPlaceholderData: boolean;
2474
2683
  isRefetching: boolean;
2475
2684
  isStale: boolean;
2476
- refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<void, AppwriteException[]>>;
2685
+ refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<{
2686
+ __typename?: "SessionList";
2687
+ sessions?: {
2688
+ __typename?: "Session";
2689
+ _id?: string;
2690
+ _createdAt?: any;
2691
+ osName?: string;
2692
+ clientName?: string;
2693
+ }[];
2694
+ }, AppwriteException[]>>;
2477
2695
  fetchStatus: _tanstack_query_core.FetchStatus;
2478
2696
  };
2479
2697
 
@@ -2615,9 +2833,34 @@ declare function useLogout(): {
2615
2833
  };
2616
2834
 
2617
2835
  declare function useLogs({ queries }: ListLogsQueryVariables): {
2618
- data: Exact<{
2619
- queries?: string | string[];
2620
- }>;
2836
+ data: {
2837
+ __typename?: "LogsList";
2838
+ total: number;
2839
+ logs?: {
2840
+ __typename?: "Log";
2841
+ event?: string;
2842
+ userId?: string;
2843
+ userEmail?: string;
2844
+ userName?: string;
2845
+ mode?: string;
2846
+ ip?: string;
2847
+ time?: string;
2848
+ osCode?: string;
2849
+ osName?: string;
2850
+ osVersion?: string;
2851
+ clientType?: string;
2852
+ clientCode?: string;
2853
+ clientName?: string;
2854
+ clientVersion?: string;
2855
+ clientEngine?: string;
2856
+ clientEngineVersion?: string;
2857
+ deviceName?: string;
2858
+ deviceBrand?: string;
2859
+ deviceModel?: string;
2860
+ countryCode?: string;
2861
+ countryName?: string;
2862
+ }[];
2863
+ };
2621
2864
  error: AppwriteException[];
2622
2865
  isError: true;
2623
2866
  isPending: false;
@@ -2639,14 +2882,64 @@ declare function useLogs({ queries }: ListLogsQueryVariables): {
2639
2882
  isPlaceholderData: boolean;
2640
2883
  isRefetching: boolean;
2641
2884
  isStale: boolean;
2642
- refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<Exact<{
2643
- queries?: string | string[];
2644
- }>, AppwriteException[]>>;
2885
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<{
2886
+ __typename?: "LogsList";
2887
+ total: number;
2888
+ logs?: {
2889
+ __typename?: "Log";
2890
+ event?: string;
2891
+ userId?: string;
2892
+ userEmail?: string;
2893
+ userName?: string;
2894
+ mode?: string;
2895
+ ip?: string;
2896
+ time?: string;
2897
+ osCode?: string;
2898
+ osName?: string;
2899
+ osVersion?: string;
2900
+ clientType?: string;
2901
+ clientCode?: string;
2902
+ clientName?: string;
2903
+ clientVersion?: string;
2904
+ clientEngine?: string;
2905
+ clientEngineVersion?: string;
2906
+ deviceName?: string;
2907
+ deviceBrand?: string;
2908
+ deviceModel?: string;
2909
+ countryCode?: string;
2910
+ countryName?: string;
2911
+ }[];
2912
+ }, AppwriteException[]>>;
2645
2913
  fetchStatus: _tanstack_react_query.FetchStatus;
2646
2914
  } | {
2647
- data: Exact<{
2648
- queries?: string | string[];
2649
- }>;
2915
+ data: {
2916
+ __typename?: "LogsList";
2917
+ total: number;
2918
+ logs?: {
2919
+ __typename?: "Log";
2920
+ event?: string;
2921
+ userId?: string;
2922
+ userEmail?: string;
2923
+ userName?: string;
2924
+ mode?: string;
2925
+ ip?: string;
2926
+ time?: string;
2927
+ osCode?: string;
2928
+ osName?: string;
2929
+ osVersion?: string;
2930
+ clientType?: string;
2931
+ clientCode?: string;
2932
+ clientName?: string;
2933
+ clientVersion?: string;
2934
+ clientEngine?: string;
2935
+ clientEngineVersion?: string;
2936
+ deviceName?: string;
2937
+ deviceBrand?: string;
2938
+ deviceModel?: string;
2939
+ countryCode?: string;
2940
+ countryName?: string;
2941
+ }[];
2942
+ };
2650
2943
  error: null;
2651
2944
  isError: false;
2652
2945
  isPending: false;
@@ -2668,9 +2961,34 @@ declare function useLogs({ queries }: ListLogsQueryVariables): {
2668
2961
  isPlaceholderData: boolean;
2669
2962
  isRefetching: boolean;
2670
2963
  isStale: boolean;
2671
- refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<Exact<{
2672
- queries?: string | string[];
2673
- }>, AppwriteException[]>>;
2964
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<{
2965
+ __typename?: "LogsList";
2966
+ total: number;
2967
+ logs?: {
2968
+ __typename?: "Log";
2969
+ event?: string;
2970
+ userId?: string;
2971
+ userEmail?: string;
2972
+ userName?: string;
2973
+ mode?: string;
2974
+ ip?: string;
2975
+ time?: string;
2976
+ osCode?: string;
2977
+ osName?: string;
2978
+ osVersion?: string;
2979
+ clientType?: string;
2980
+ clientCode?: string;
2981
+ clientName?: string;
2982
+ clientVersion?: string;
2983
+ clientEngine?: string;
2984
+ clientEngineVersion?: string;
2985
+ deviceName?: string;
2986
+ deviceBrand?: string;
2987
+ deviceModel?: string;
2988
+ countryCode?: string;
2989
+ countryName?: string;
2990
+ }[];
2991
+ }, AppwriteException[]>>;
2674
2992
  fetchStatus: _tanstack_react_query.FetchStatus;
2675
2993
  } | {
2676
2994
  data: undefined;
@@ -2695,9 +3013,34 @@ declare function useLogs({ queries }: ListLogsQueryVariables): {
2695
3013
  isPlaceholderData: boolean;
2696
3014
  isRefetching: boolean;
2697
3015
  isStale: boolean;
2698
- refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<Exact<{
2699
- queries?: string | string[];
2700
- }>, AppwriteException[]>>;
3016
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<{
3017
+ __typename?: "LogsList";
3018
+ total: number;
3019
+ logs?: {
3020
+ __typename?: "Log";
3021
+ event?: string;
3022
+ userId?: string;
3023
+ userEmail?: string;
3024
+ userName?: string;
3025
+ mode?: string;
3026
+ ip?: string;
3027
+ time?: string;
3028
+ osCode?: string;
3029
+ osName?: string;
3030
+ osVersion?: string;
3031
+ clientType?: string;
3032
+ clientCode?: string;
3033
+ clientName?: string;
3034
+ clientVersion?: string;
3035
+ clientEngine?: string;
3036
+ clientEngineVersion?: string;
3037
+ deviceName?: string;
3038
+ deviceBrand?: string;
3039
+ deviceModel?: string;
3040
+ countryCode?: string;
3041
+ countryName?: string;
3042
+ }[];
3043
+ }, AppwriteException[]>>;
2701
3044
  fetchStatus: _tanstack_react_query.FetchStatus;
2702
3045
  } | {
2703
3046
  data: undefined;
@@ -2722,9 +3065,34 @@ declare function useLogs({ queries }: ListLogsQueryVariables): {
2722
3065
  isPlaceholderData: boolean;
2723
3066
  isRefetching: boolean;
2724
3067
  isStale: boolean;
2725
- refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<Exact<{
2726
- queries?: string | string[];
2727
- }>, AppwriteException[]>>;
3068
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<{
3069
+ __typename?: "LogsList";
3070
+ total: number;
3071
+ logs?: {
3072
+ __typename?: "Log";
3073
+ event?: string;
3074
+ userId?: string;
3075
+ userEmail?: string;
3076
+ userName?: string;
3077
+ mode?: string;
3078
+ ip?: string;
3079
+ time?: string;
3080
+ osCode?: string;
3081
+ osName?: string;
3082
+ osVersion?: string;
3083
+ clientType?: string;
3084
+ clientCode?: string;
3085
+ clientName?: string;
3086
+ clientVersion?: string;
3087
+ clientEngine?: string;
3088
+ clientEngineVersion?: string;
3089
+ deviceName?: string;
3090
+ deviceBrand?: string;
3091
+ deviceModel?: string;
3092
+ countryCode?: string;
3093
+ countryName?: string;
3094
+ }[];
3095
+ }, AppwriteException[]>>;
2728
3096
  fetchStatus: _tanstack_react_query.FetchStatus;
2729
3097
  } | {
2730
3098
  data: undefined;
@@ -2749,9 +3117,34 @@ declare function useLogs({ queries }: ListLogsQueryVariables): {
2749
3117
  isPlaceholderData: boolean;
2750
3118
  isRefetching: boolean;
2751
3119
  isStale: boolean;
2752
- refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<Exact<{
2753
- queries?: string | string[];
2754
- }>, AppwriteException[]>>;
3120
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<{
3121
+ __typename?: "LogsList";
3122
+ total: number;
3123
+ logs?: {
3124
+ __typename?: "Log";
3125
+ event?: string;
3126
+ userId?: string;
3127
+ userEmail?: string;
3128
+ userName?: string;
3129
+ mode?: string;
3130
+ ip?: string;
3131
+ time?: string;
3132
+ osCode?: string;
3133
+ osName?: string;
3134
+ osVersion?: string;
3135
+ clientType?: string;
3136
+ clientCode?: string;
3137
+ clientName?: string;
3138
+ clientVersion?: string;
3139
+ clientEngine?: string;
3140
+ clientEngineVersion?: string;
3141
+ deviceName?: string;
3142
+ deviceBrand?: string;
3143
+ deviceModel?: string;
3144
+ countryCode?: string;
3145
+ countryName?: string;
3146
+ }[];
3147
+ }, AppwriteException[]>>;
2755
3148
  fetchStatus: _tanstack_react_query.FetchStatus;
2756
3149
  };
2757
3150