@djangocfg/api 1.2.6 → 1.2.8
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.cjs +3023 -1755
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2542 -908
- package/dist/index.d.ts +2542 -908
- package/dist/index.mjs +2959 -1707
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/cfg/generated/_utils/fetchers/cfg__accounts.ts +2 -3
- package/src/cfg/generated/_utils/fetchers/cfg__accounts__auth.ts +1 -2
- package/src/cfg/generated/_utils/fetchers/cfg__accounts__user_profile.ts +6 -7
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo.ts +2 -3
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_admin_api.ts +12 -13
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_monitoring.ts +8 -9
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_testing.ts +8 -9
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_activity.ts +61 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_api_zones.ts +62 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_charts.ts +90 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_commands.ts +92 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_overview.ts +48 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_statistics.ts +76 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_system.ts +63 -0
- package/src/cfg/generated/_utils/fetchers/cfg__endpoints.ts +3 -4
- package/src/cfg/generated/_utils/fetchers/cfg__health.ts +2 -3
- package/src/cfg/generated/_utils/fetchers/cfg__knowbase.ts +57 -58
- package/src/cfg/generated/_utils/fetchers/cfg__leads.ts +6 -7
- package/src/cfg/generated/_utils/fetchers/cfg__leads__lead_submission.ts +1 -2
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter.ts +3 -4
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__bulk_email.ts +1 -2
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__campaigns.ts +6 -7
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__logs.ts +1 -2
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__newsletters.ts +2 -3
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__subscriptions.ts +3 -4
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__testing.ts +1 -2
- package/src/cfg/generated/_utils/fetchers/cfg__payments.ts +8 -9
- package/src/cfg/generated/_utils/fetchers/cfg__support.ts +12 -13
- package/src/cfg/generated/_utils/fetchers/cfg__tasks.ts +10 -11
- package/src/cfg/generated/_utils/fetchers/index.ts +7 -1
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_activity.ts +49 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_api_zones.ts +50 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_charts.ts +78 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_commands.ts +84 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_overview.ts +36 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_statistics.ts +64 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_system.ts +51 -0
- package/src/cfg/generated/_utils/hooks/index.ts +7 -1
- package/src/cfg/generated/_utils/schemas/APIZone.schema.ts +27 -0
- package/src/cfg/generated/_utils/schemas/APIZonesSummary.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/ActivityTrackerDay.schema.ts +23 -0
- package/src/cfg/generated/_utils/schemas/ChartData.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/ChartDataset.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/Command.schema.ts +25 -0
- package/src/cfg/generated/_utils/schemas/CommandExecuteRequestRequest.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/CommandHelpResponse.schema.ts +25 -0
- package/src/cfg/generated/_utils/schemas/CommandsSummary.schema.ts +25 -0
- package/src/cfg/generated/_utils/schemas/RecentUser.schema.ts +26 -0
- package/src/cfg/generated/_utils/schemas/index.ts +10 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_activity/client.ts +45 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_activity/models.ts +0 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_api_zones/client.ts +34 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_api_zones/index.ts +2 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_api_zones/models.ts +27 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_charts/client.ts +98 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_charts/index.ts +2 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_charts/models.ts +24 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_commands/client.ts +55 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_commands/index.ts +2 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_commands/models.ts +58 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_overview/client.ts +25 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_overview/index.ts +2 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_overview/models.ts +23 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_statistics/client.ts +44 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_statistics/index.ts +2 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_statistics/models.ts +16 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_system/client.ts +34 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_system/index.ts +2 -0
- package/src/cfg/generated/{cfg__dashboard → cfg__dashboard__dashboard_system}/models.ts +0 -39
- package/src/cfg/generated/client.ts +32 -12
- package/src/cfg/generated/http.ts +8 -3
- package/src/cfg/generated/index.ts +35 -5
- package/src/cfg/generated/schema.ts +776 -22
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard.ts +0 -150
- package/src/cfg/generated/_utils/hooks/cfg__dashboard.ts +0 -137
- package/src/cfg/generated/cfg__dashboard/client.ts +0 -106
- /package/src/cfg/generated/{cfg__dashboard → cfg__dashboard__dashboard_activity}/index.ts +0 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Typed fetchers for Dashboard - Commands
|
|
3
|
+
*
|
|
4
|
+
* Universal functions that work in any environment:
|
|
5
|
+
* - Next.js (App Router / Pages Router / Server Components)
|
|
6
|
+
* - React Native
|
|
7
|
+
* - Node.js backend
|
|
8
|
+
*
|
|
9
|
+
* These fetchers use Zod schemas for runtime validation.
|
|
10
|
+
*
|
|
11
|
+
* Usage:
|
|
12
|
+
* ```typescript
|
|
13
|
+
* // Configure API once (in your app entry point)
|
|
14
|
+
* import { configureAPI } from '../../api-instance'
|
|
15
|
+
* configureAPI({ baseUrl: 'https://api.example.com' })
|
|
16
|
+
*
|
|
17
|
+
* // Then use fetchers anywhere
|
|
18
|
+
* const users = await getUsers({ page: 1 })
|
|
19
|
+
*
|
|
20
|
+
* // With SWR
|
|
21
|
+
* const { data } = useSWR(['users', params], () => getUsers(params))
|
|
22
|
+
*
|
|
23
|
+
* // With React Query
|
|
24
|
+
* const { data } = useQuery(['users', params], () => getUsers(params))
|
|
25
|
+
*
|
|
26
|
+
* // In Server Component or SSR (pass custom client)
|
|
27
|
+
* import { API } from '../../index'
|
|
28
|
+
* const api = new API('https://api.example.com')
|
|
29
|
+
* const users = await getUsers({ page: 1 }, api)
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
import { CommandExecuteRequestRequestSchema, type CommandExecuteRequestRequest } from '../schemas/CommandExecuteRequestRequest.schema'
|
|
33
|
+
import { CommandHelpResponseSchema, type CommandHelpResponse } from '../schemas/CommandHelpResponse.schema'
|
|
34
|
+
import { CommandsSummarySchema, type CommandsSummary } from '../schemas/CommandsSummary.schema'
|
|
35
|
+
import { getAPIInstance } from '../../api-instance'
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Get all commands
|
|
39
|
+
*
|
|
40
|
+
* @method GET
|
|
41
|
+
* @path /cfg/dashboard/api/commands/
|
|
42
|
+
*/
|
|
43
|
+
export async function getDashboardApiCommandsList( client?: any
|
|
44
|
+
): Promise<any> {
|
|
45
|
+
const api = client || getAPIInstance()
|
|
46
|
+
const response = await api.cfg_dashboard_commands.dashboardApiCommandsList()
|
|
47
|
+
return response
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Get command help
|
|
53
|
+
*
|
|
54
|
+
* @method GET
|
|
55
|
+
* @path /cfg/dashboard/api/commands/{id}/help/
|
|
56
|
+
*/
|
|
57
|
+
export async function getDashboardApiCommandsHelpRetrieve( id: string, client?: any
|
|
58
|
+
): Promise<CommandHelpResponse> {
|
|
59
|
+
const api = client || getAPIInstance()
|
|
60
|
+
const response = await api.cfg_dashboard_commands.dashboardApiCommandsHelpRetrieve(id)
|
|
61
|
+
return CommandHelpResponseSchema.parse(response)
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Execute command
|
|
67
|
+
*
|
|
68
|
+
* @method POST
|
|
69
|
+
* @path /cfg/dashboard/api/commands/execute/
|
|
70
|
+
*/
|
|
71
|
+
export async function createDashboardApiCommandsExecuteCreate( data: CommandExecuteRequestRequest, client?: any
|
|
72
|
+
): Promise<any> {
|
|
73
|
+
const api = client || getAPIInstance()
|
|
74
|
+
const response = await api.cfg_dashboard_commands.dashboardApiCommandsExecuteCreate(data)
|
|
75
|
+
return response
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Get commands summary
|
|
81
|
+
*
|
|
82
|
+
* @method GET
|
|
83
|
+
* @path /cfg/dashboard/api/commands/summary/
|
|
84
|
+
*/
|
|
85
|
+
export async function getDashboardApiCommandsSummaryRetrieve( client?: any
|
|
86
|
+
): Promise<CommandsSummary> {
|
|
87
|
+
const api = client || getAPIInstance()
|
|
88
|
+
const response = await api.cfg_dashboard_commands.dashboardApiCommandsSummaryRetrieve()
|
|
89
|
+
return CommandsSummarySchema.parse(response)
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Typed fetchers for Dashboard - Overview
|
|
3
|
+
*
|
|
4
|
+
* Universal functions that work in any environment:
|
|
5
|
+
* - Next.js (App Router / Pages Router / Server Components)
|
|
6
|
+
* - React Native
|
|
7
|
+
* - Node.js backend
|
|
8
|
+
*
|
|
9
|
+
* These fetchers use Zod schemas for runtime validation.
|
|
10
|
+
*
|
|
11
|
+
* Usage:
|
|
12
|
+
* ```typescript
|
|
13
|
+
* // Configure API once (in your app entry point)
|
|
14
|
+
* import { configureAPI } from '../../api-instance'
|
|
15
|
+
* configureAPI({ baseUrl: 'https://api.example.com' })
|
|
16
|
+
*
|
|
17
|
+
* // Then use fetchers anywhere
|
|
18
|
+
* const users = await getUsers({ page: 1 })
|
|
19
|
+
*
|
|
20
|
+
* // With SWR
|
|
21
|
+
* const { data } = useSWR(['users', params], () => getUsers(params))
|
|
22
|
+
*
|
|
23
|
+
* // With React Query
|
|
24
|
+
* const { data } = useQuery(['users', params], () => getUsers(params))
|
|
25
|
+
*
|
|
26
|
+
* // In Server Component or SSR (pass custom client)
|
|
27
|
+
* import { API } from '../../index'
|
|
28
|
+
* const api = new API('https://api.example.com')
|
|
29
|
+
* const users = await getUsers({ page: 1 }, api)
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
import { DashboardOverviewSchema, type DashboardOverview } from '../schemas/DashboardOverview.schema'
|
|
33
|
+
import { getAPIInstance } from '../../api-instance'
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Get dashboard overview
|
|
37
|
+
*
|
|
38
|
+
* @method GET
|
|
39
|
+
* @path /cfg/dashboard/api/overview/overview/
|
|
40
|
+
*/
|
|
41
|
+
export async function getDashboardApiOverviewOverviewRetrieve( client?: any
|
|
42
|
+
): Promise<DashboardOverview> {
|
|
43
|
+
const api = client || getAPIInstance()
|
|
44
|
+
const response = await api.cfg_dashboard_overview.dashboardApiOverviewOverviewRetrieve()
|
|
45
|
+
return DashboardOverviewSchema.parse(response)
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Typed fetchers for Dashboard - Statistics
|
|
3
|
+
*
|
|
4
|
+
* Universal functions that work in any environment:
|
|
5
|
+
* - Next.js (App Router / Pages Router / Server Components)
|
|
6
|
+
* - React Native
|
|
7
|
+
* - Node.js backend
|
|
8
|
+
*
|
|
9
|
+
* These fetchers use Zod schemas for runtime validation.
|
|
10
|
+
*
|
|
11
|
+
* Usage:
|
|
12
|
+
* ```typescript
|
|
13
|
+
* // Configure API once (in your app entry point)
|
|
14
|
+
* import { configureAPI } from '../../api-instance'
|
|
15
|
+
* configureAPI({ baseUrl: 'https://api.example.com' })
|
|
16
|
+
*
|
|
17
|
+
* // Then use fetchers anywhere
|
|
18
|
+
* const users = await getUsers({ page: 1 })
|
|
19
|
+
*
|
|
20
|
+
* // With SWR
|
|
21
|
+
* const { data } = useSWR(['users', params], () => getUsers(params))
|
|
22
|
+
*
|
|
23
|
+
* // With React Query
|
|
24
|
+
* const { data } = useQuery(['users', params], () => getUsers(params))
|
|
25
|
+
*
|
|
26
|
+
* // In Server Component or SSR (pass custom client)
|
|
27
|
+
* import { API } from '../../index'
|
|
28
|
+
* const api = new API('https://api.example.com')
|
|
29
|
+
* const users = await getUsers({ page: 1 }, api)
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
import { UserStatisticsSchema, type UserStatistics } from '../schemas/UserStatistics.schema'
|
|
33
|
+
import { getAPIInstance } from '../../api-instance'
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Get application statistics
|
|
37
|
+
*
|
|
38
|
+
* @method GET
|
|
39
|
+
* @path /cfg/dashboard/api/statistics/apps/
|
|
40
|
+
*/
|
|
41
|
+
export async function getDashboardApiStatisticsAppsList( client?: any
|
|
42
|
+
): Promise<any> {
|
|
43
|
+
const api = client || getAPIInstance()
|
|
44
|
+
const response = await api.cfg_dashboard_statistics.dashboardApiStatisticsAppsList()
|
|
45
|
+
return response
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Get statistics cards
|
|
51
|
+
*
|
|
52
|
+
* @method GET
|
|
53
|
+
* @path /cfg/dashboard/api/statistics/cards/
|
|
54
|
+
*/
|
|
55
|
+
export async function getDashboardApiStatisticsCardsList( client?: any
|
|
56
|
+
): Promise<any> {
|
|
57
|
+
const api = client || getAPIInstance()
|
|
58
|
+
const response = await api.cfg_dashboard_statistics.dashboardApiStatisticsCardsList()
|
|
59
|
+
return response
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Get user statistics
|
|
65
|
+
*
|
|
66
|
+
* @method GET
|
|
67
|
+
* @path /cfg/dashboard/api/statistics/users/
|
|
68
|
+
*/
|
|
69
|
+
export async function getDashboardApiStatisticsUsersRetrieve( client?: any
|
|
70
|
+
): Promise<UserStatistics> {
|
|
71
|
+
const api = client || getAPIInstance()
|
|
72
|
+
const response = await api.cfg_dashboard_statistics.dashboardApiStatisticsUsersRetrieve()
|
|
73
|
+
return UserStatisticsSchema.parse(response)
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Typed fetchers for Dashboard - System
|
|
3
|
+
*
|
|
4
|
+
* Universal functions that work in any environment:
|
|
5
|
+
* - Next.js (App Router / Pages Router / Server Components)
|
|
6
|
+
* - React Native
|
|
7
|
+
* - Node.js backend
|
|
8
|
+
*
|
|
9
|
+
* These fetchers use Zod schemas for runtime validation.
|
|
10
|
+
*
|
|
11
|
+
* Usage:
|
|
12
|
+
* ```typescript
|
|
13
|
+
* // Configure API once (in your app entry point)
|
|
14
|
+
* import { configureAPI } from '../../api-instance'
|
|
15
|
+
* configureAPI({ baseUrl: 'https://api.example.com' })
|
|
16
|
+
*
|
|
17
|
+
* // Then use fetchers anywhere
|
|
18
|
+
* const users = await getUsers({ page: 1 })
|
|
19
|
+
*
|
|
20
|
+
* // With SWR
|
|
21
|
+
* const { data } = useSWR(['users', params], () => getUsers(params))
|
|
22
|
+
*
|
|
23
|
+
* // With React Query
|
|
24
|
+
* const { data } = useQuery(['users', params], () => getUsers(params))
|
|
25
|
+
*
|
|
26
|
+
* // In Server Component or SSR (pass custom client)
|
|
27
|
+
* import { API } from '../../index'
|
|
28
|
+
* const api = new API('https://api.example.com')
|
|
29
|
+
* const users = await getUsers({ page: 1 }, api)
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
import { SystemHealthSchema, type SystemHealth } from '../schemas/SystemHealth.schema'
|
|
33
|
+
import { SystemMetricsSchema, type SystemMetrics } from '../schemas/SystemMetrics.schema'
|
|
34
|
+
import { getAPIInstance } from '../../api-instance'
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Get system health status
|
|
38
|
+
*
|
|
39
|
+
* @method GET
|
|
40
|
+
* @path /cfg/dashboard/api/system/health/
|
|
41
|
+
*/
|
|
42
|
+
export async function getDashboardApiSystemHealthRetrieve( client?: any
|
|
43
|
+
): Promise<SystemHealth> {
|
|
44
|
+
const api = client || getAPIInstance()
|
|
45
|
+
const response = await api.cfg_dashboard_system.dashboardApiSystemHealthRetrieve()
|
|
46
|
+
return SystemHealthSchema.parse(response)
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Get system metrics
|
|
52
|
+
*
|
|
53
|
+
* @method GET
|
|
54
|
+
* @path /cfg/dashboard/api/system/metrics/
|
|
55
|
+
*/
|
|
56
|
+
export async function getDashboardApiSystemMetricsRetrieve( client?: any
|
|
57
|
+
): Promise<SystemMetrics> {
|
|
58
|
+
const api = client || getAPIInstance()
|
|
59
|
+
const response = await api.cfg_dashboard_system.dashboardApiSystemMetricsRetrieve()
|
|
60
|
+
return SystemMetricsSchema.parse(response)
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
import { EndpointsStatusSchema, type EndpointsStatus } from '../schemas/EndpointsStatus.schema'
|
|
33
33
|
import { URLsListSchema, type URLsList } from '../schemas/URLsList.schema'
|
|
34
34
|
import { getAPIInstance } from '../../api-instance'
|
|
35
|
-
import type { API } from '../../index'
|
|
36
35
|
|
|
37
36
|
/**
|
|
38
37
|
* API operation
|
|
@@ -40,7 +39,7 @@ import type { API } from '../../index'
|
|
|
40
39
|
* @method GET
|
|
41
40
|
* @path /cfg/endpoints/drf/
|
|
42
41
|
*/
|
|
43
|
-
export async function getEndpointsDrfRetrieve( client?:
|
|
42
|
+
export async function getEndpointsDrfRetrieve( client?: any
|
|
44
43
|
): Promise<EndpointsStatus> {
|
|
45
44
|
const api = client || getAPIInstance()
|
|
46
45
|
const response = await api.cfg_endpoints.drfRetrieve()
|
|
@@ -54,7 +53,7 @@ export async function getEndpointsDrfRetrieve( client?: API
|
|
|
54
53
|
* @method GET
|
|
55
54
|
* @path /cfg/endpoints/urls/
|
|
56
55
|
*/
|
|
57
|
-
export async function getEndpointsUrlsRetrieve( client?:
|
|
56
|
+
export async function getEndpointsUrlsRetrieve( client?: any
|
|
58
57
|
): Promise<URLsList> {
|
|
59
58
|
const api = client || getAPIInstance()
|
|
60
59
|
const response = await api.cfg_endpoints.urlsRetrieve()
|
|
@@ -68,7 +67,7 @@ export async function getEndpointsUrlsRetrieve( client?: API
|
|
|
68
67
|
* @method GET
|
|
69
68
|
* @path /cfg/endpoints/urls/compact/
|
|
70
69
|
*/
|
|
71
|
-
export async function getEndpointsUrlsCompactRetrieve( client?:
|
|
70
|
+
export async function getEndpointsUrlsCompactRetrieve( client?: any
|
|
72
71
|
): Promise<any> {
|
|
73
72
|
const api = client || getAPIInstance()
|
|
74
73
|
const response = await api.cfg_endpoints.urlsCompactRetrieve()
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
import { HealthCheckSchema, type HealthCheck } from '../schemas/HealthCheck.schema'
|
|
33
33
|
import { QuickHealthSchema, type QuickHealth } from '../schemas/QuickHealth.schema'
|
|
34
34
|
import { getAPIInstance } from '../../api-instance'
|
|
35
|
-
import type { API } from '../../index'
|
|
36
35
|
|
|
37
36
|
/**
|
|
38
37
|
* API operation
|
|
@@ -40,7 +39,7 @@ import type { API } from '../../index'
|
|
|
40
39
|
* @method GET
|
|
41
40
|
* @path /cfg/health/drf/
|
|
42
41
|
*/
|
|
43
|
-
export async function getHealthDrfRetrieve( client?:
|
|
42
|
+
export async function getHealthDrfRetrieve( client?: any
|
|
44
43
|
): Promise<HealthCheck> {
|
|
45
44
|
const api = client || getAPIInstance()
|
|
46
45
|
const response = await api.cfg_health.drfRetrieve()
|
|
@@ -54,7 +53,7 @@ export async function getHealthDrfRetrieve( client?: API
|
|
|
54
53
|
* @method GET
|
|
55
54
|
* @path /cfg/health/drf/quick/
|
|
56
55
|
*/
|
|
57
|
-
export async function getHealthDrfQuickRetrieve( client?:
|
|
56
|
+
export async function getHealthDrfQuickRetrieve( client?: any
|
|
58
57
|
): Promise<QuickHealth> {
|
|
59
58
|
const api = client || getAPIInstance()
|
|
60
59
|
const response = await api.cfg_health.drfQuickRetrieve()
|