@djangocfg/api 1.2.25 → 1.2.26
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 +6319 -2061
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +698 -1532
- package/dist/index.d.ts +698 -1532
- package/dist/index.mjs +6319 -2061
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/cfg/generated/_utils/fetchers/cfg__accounts.ts +59 -2
- package/src/cfg/generated/_utils/fetchers/cfg__accounts__auth.ts +30 -1
- package/src/cfg/generated/_utils/fetchers/cfg__accounts__user_profile.ts +175 -6
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo.ts +30 -1
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_admin_api.ts +146 -5
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_auth.ts +30 -1
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_monitoring.ts +117 -4
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_testing.ts +88 -3
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_activity.ts +1 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_api_zones.ts +30 -1
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_charts.ts +59 -2
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_commands.ts +59 -2
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_config.ts +30 -1
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_overview.ts +30 -1
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_statistics.ts +30 -1
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_system.ts +59 -2
- package/src/cfg/generated/_utils/fetchers/cfg__endpoints.ts +59 -2
- package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_api_keys.ts +88 -3
- package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_charts.ts +204 -7
- package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_configuration.ts +59 -2
- package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_monitoring.ts +117 -4
- package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_proto_files.ts +30 -1
- package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_services.ts +88 -3
- package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_testing.ts +88 -3
- package/src/cfg/generated/_utils/fetchers/cfg__health.ts +59 -2
- package/src/cfg/generated/_utils/fetchers/cfg__knowbase.ts +1422 -49
- package/src/cfg/generated/_utils/fetchers/cfg__leads.ts +146 -5
- package/src/cfg/generated/_utils/fetchers/cfg__leads__lead_submission.ts +30 -1
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter.ts +88 -3
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__bulk_email.ts +30 -1
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__campaigns.ts +146 -5
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__logs.ts +30 -1
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__newsletters.ts +59 -2
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__subscriptions.ts +88 -3
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__testing.ts +30 -1
- package/src/cfg/generated/_utils/fetchers/cfg__payments.ts +175 -6
- package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_jobs.ts +146 -5
- package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_monitoring.ts +59 -2
- package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_queues.ts +30 -1
- package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_registries.ts +204 -7
- package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_schedules.ts +117 -4
- package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_testing.ts +117 -4
- package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_workers.ts +30 -1
- package/src/cfg/generated/_utils/fetchers/cfg__support.ts +291 -10
- package/src/cfg/generated/_utils/schemas/ApiKeyStats.schema.ts +1 -1
- package/src/cfg/generated/_utils/schemas/AppStatistics.schema.ts +2 -1
- package/src/cfg/generated/_utils/schemas/AppStatisticsData.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/AxesConfig.schema.ts +35 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoChannelsResult.schema.ts +2 -1
- package/src/cfg/generated/_utils/schemas/CentrifugoMetrics.schema.ts +1 -1
- package/src/cfg/generated/_utils/schemas/CentrifugoPresenceResult.schema.ts +2 -1
- package/src/cfg/generated/_utils/schemas/ConstanceConfig.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/DjangoConfig.schema.ts +14 -7
- package/src/cfg/generated/_utils/schemas/DjangoRQConfig.schema.ts +2 -1
- package/src/cfg/generated/_utils/schemas/NextJSAdminConfig.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/NgrokConfig.schema.ts +22 -0
- package/src/cfg/generated/_utils/schemas/OpenAPIClientConfig.schema.ts +26 -0
- package/src/cfg/generated/_utils/schemas/RQSchedule.schema.ts +26 -0
- package/src/cfg/generated/_utils/schemas/TelegramConfig.schema.ts +28 -0
- package/src/cfg/generated/_utils/schemas/index.ts +8 -0
- package/src/cfg/generated/cfg__accounts/models.ts +4 -4
- package/src/cfg/generated/cfg__accounts__user_profile/models.ts +3 -3
- package/src/cfg/generated/cfg__centrifugo__centrifugo_admin_api/models.ts +27 -17
- package/src/cfg/generated/cfg__dashboard__dashboard_api_zones/models.ts +1 -1
- package/src/cfg/generated/cfg__dashboard__dashboard_commands/models.ts +2 -2
- package/src/cfg/generated/cfg__dashboard__dashboard_config/models.ts +159 -26
- package/src/cfg/generated/cfg__dashboard__dashboard_overview/models.ts +18 -5
- package/src/cfg/generated/cfg__grpc__grpc_api_keys/models.ts +1 -1
- package/src/cfg/generated/cfg__grpc__grpc_charts/models.ts +5 -5
- package/src/cfg/generated/cfg__grpc__grpc_configuration/models.ts +4 -4
- package/src/cfg/generated/cfg__grpc__grpc_monitoring/models.ts +1 -1
- package/src/cfg/generated/cfg__grpc__grpc_services/models.ts +2 -2
- package/src/cfg/generated/cfg__grpc__grpc_testing/models.ts +6 -6
- package/src/cfg/generated/cfg__knowbase/models.ts +12 -12
- package/src/cfg/generated/cfg__leads__lead_submission/models.ts +1 -1
- package/src/cfg/generated/cfg__newsletter/models.ts +1 -1
- package/src/cfg/generated/cfg__newsletter__campaigns/models.ts +1 -1
- package/src/cfg/generated/cfg__newsletter__logs/models.ts +4 -4
- package/src/cfg/generated/cfg__newsletter__subscriptions/models.ts +1 -1
- package/src/cfg/generated/cfg__payments/models.ts +12 -12
- package/src/cfg/generated/cfg__rq__rq_jobs/models.ts +2 -2
- package/src/cfg/generated/cfg__rq__rq_monitoring/models.ts +1 -1
- package/src/cfg/generated/cfg__rq__rq_queues/models.ts +1 -1
- package/src/cfg/generated/cfg__rq__rq_schedules/models.ts +3 -3
- package/src/cfg/generated/cfg__rq__rq_testing/models.ts +2 -2
- package/src/cfg/generated/cfg__support/models.ts +2 -2
- package/src/cfg/generated/schema.json +340 -19
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
* * Presence result wrapper.
|
|
6
6
|
* */
|
|
7
7
|
import { z } from 'zod'
|
|
8
|
+
import { CentrifugoClientInfoSchema } from './CentrifugoClientInfo.schema'
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Presence result wrapper.
|
|
11
12
|
*/
|
|
12
13
|
export const CentrifugoPresenceResultSchema = z.object({
|
|
13
|
-
presence: z.record(z.string(),
|
|
14
|
+
presence: z.record(z.string(), CentrifugoClientInfoSchema),
|
|
14
15
|
})
|
|
15
16
|
|
|
16
17
|
/**
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zod schema for ConstanceConfig
|
|
3
|
+
*
|
|
4
|
+
* This schema provides runtime validation and type inference.
|
|
5
|
+
* * Django-Constance dynamic settings configuration.
|
|
6
|
+
* */
|
|
7
|
+
import { z } from 'zod'
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Django-Constance dynamic settings configuration.
|
|
11
|
+
*/
|
|
12
|
+
export const ConstanceConfigSchema = z.object({
|
|
13
|
+
config: z.record(z.string(), z.any()).nullable().optional(),
|
|
14
|
+
config_fieldsets: z.record(z.string(), z.any()).nullable().optional(),
|
|
15
|
+
backend: z.string().nullable().optional(),
|
|
16
|
+
database_prefix: z.string().nullable().optional(),
|
|
17
|
+
database_cache_backend: z.string().nullable().optional(),
|
|
18
|
+
additional_config: z.record(z.string(), z.any()).nullable().optional(),
|
|
19
|
+
})
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Infer TypeScript type from Zod schema
|
|
23
|
+
*/
|
|
24
|
+
export type ConstanceConfig = z.infer<typeof ConstanceConfigSchema>
|
|
@@ -8,15 +8,22 @@ Reflects the actual structure of DjangoConfig model.
|
|
|
8
8
|
All passwords and sensitive data are sanitized before reaching this serializer.
|
|
9
9
|
* */
|
|
10
10
|
import { z } from 'zod'
|
|
11
|
+
import { AxesConfigSchema } from './AxesConfig.schema'
|
|
11
12
|
import { CentrifugoConfigSchema } from './CentrifugoConfig.schema'
|
|
12
13
|
import { ConfigMetaSchema } from './ConfigMeta.schema'
|
|
14
|
+
import { ConstanceConfigSchema } from './ConstanceConfig.schema'
|
|
13
15
|
import { DRFConfigSchema } from './DRFConfig.schema'
|
|
16
|
+
import { DatabaseConfigSchema } from './DatabaseConfig.schema'
|
|
14
17
|
import { DjangoRQConfigSchema } from './DjangoRQConfig.schema'
|
|
15
18
|
import { EmailConfigSchema } from './EmailConfig.schema'
|
|
16
19
|
import { GRPCConfigDashboardSchema } from './GRPCConfigDashboard.schema'
|
|
17
20
|
import { JWTConfigSchema } from './JWTConfig.schema'
|
|
21
|
+
import { NextJSAdminConfigSchema } from './NextJSAdminConfig.schema'
|
|
22
|
+
import { NgrokConfigSchema } from './NgrokConfig.schema'
|
|
23
|
+
import { OpenAPIClientConfigSchema } from './OpenAPIClientConfig.schema'
|
|
18
24
|
import { PaymentsConfigSchema } from './PaymentsConfig.schema'
|
|
19
25
|
import { SpectacularConfigSchema } from './SpectacularConfig.schema'
|
|
26
|
+
import { TelegramConfigSchema } from './TelegramConfig.schema'
|
|
20
27
|
|
|
21
28
|
/**
|
|
22
29
|
* Typed serializer for user's DjangoConfig settings.
|
|
@@ -48,7 +55,7 @@ export const DjangoConfigSchema = z.object({
|
|
|
48
55
|
wsgi_application: z.string().nullable().optional(),
|
|
49
56
|
auth_user_model: z.string().nullable().optional(),
|
|
50
57
|
project_apps: z.array(z.string()).nullable().optional(),
|
|
51
|
-
databases: z.record(z.string(),
|
|
58
|
+
databases: z.record(z.string(), DatabaseConfigSchema).nullable().optional(),
|
|
52
59
|
redis_url: z.string().nullable().optional(),
|
|
53
60
|
cache_default: z.string().nullable().optional(),
|
|
54
61
|
cache_sessions: z.string().nullable().optional(),
|
|
@@ -63,9 +70,9 @@ export const DjangoConfigSchema = z.object({
|
|
|
63
70
|
drf: DRFConfigSchema.nullable().optional(),
|
|
64
71
|
spectacular: SpectacularConfigSchema.nullable().optional(),
|
|
65
72
|
jwt: JWTConfigSchema.nullable().optional(),
|
|
66
|
-
telegram:
|
|
67
|
-
ngrok:
|
|
68
|
-
axes:
|
|
73
|
+
telegram: TelegramConfigSchema.nullable().optional(),
|
|
74
|
+
ngrok: NgrokConfigSchema.nullable().optional(),
|
|
75
|
+
axes: AxesConfigSchema.nullable().optional(),
|
|
69
76
|
crypto_fields: z.record(z.string(), z.any()).nullable().optional(),
|
|
70
77
|
unfold: z.string().nullable().optional(),
|
|
71
78
|
tailwind_app_name: z.string().nullable().optional(),
|
|
@@ -73,10 +80,10 @@ export const DjangoConfigSchema = z.object({
|
|
|
73
80
|
limits: z.record(z.string(), z.any()).nullable().optional(),
|
|
74
81
|
api_keys: z.record(z.string(), z.any()).nullable().optional(),
|
|
75
82
|
custom_middleware: z.array(z.string()).nullable().optional(),
|
|
76
|
-
nextjs_admin:
|
|
83
|
+
nextjs_admin: NextJSAdminConfigSchema.nullable().optional(),
|
|
77
84
|
admin_emails: z.array(z.string()).nullable().optional(),
|
|
78
|
-
constance:
|
|
79
|
-
openapi_client:
|
|
85
|
+
constance: ConstanceConfigSchema.nullable().optional(),
|
|
86
|
+
openapi_client: OpenAPIClientConfigSchema.nullable().optional(),
|
|
80
87
|
_meta: ConfigMetaSchema.nullable().optional(),
|
|
81
88
|
})
|
|
82
89
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* * Django-RQ configuration.
|
|
6
6
|
* */
|
|
7
7
|
import { z } from 'zod'
|
|
8
|
+
import { RQScheduleSchema } from './RQSchedule.schema'
|
|
8
9
|
import { RedisQueueConfigSchema } from './RedisQueueConfig.schema'
|
|
9
10
|
|
|
10
11
|
/**
|
|
@@ -17,7 +18,7 @@ export const DjangoRQConfigSchema = z.object({
|
|
|
17
18
|
exception_handlers: z.array(z.string()).nullable().optional(),
|
|
18
19
|
api_token: z.string().nullable().optional(),
|
|
19
20
|
prometheus_enabled: z.boolean().nullable().optional(),
|
|
20
|
-
schedules: z.array(
|
|
21
|
+
schedules: z.array(RQScheduleSchema).nullable().optional(),
|
|
21
22
|
})
|
|
22
23
|
|
|
23
24
|
/**
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zod schema for NextJSAdminConfig
|
|
3
|
+
*
|
|
4
|
+
* This schema provides runtime validation and type inference.
|
|
5
|
+
* * Next.js Admin application configuration.
|
|
6
|
+
* */
|
|
7
|
+
import { z } from 'zod'
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Next.js Admin application configuration.
|
|
11
|
+
*/
|
|
12
|
+
export const NextJSAdminConfigSchema = z.object({
|
|
13
|
+
enabled: z.boolean().nullable().optional(),
|
|
14
|
+
url: z.string().nullable().optional(),
|
|
15
|
+
api_base_url: z.string().nullable().optional(),
|
|
16
|
+
})
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Infer TypeScript type from Zod schema
|
|
20
|
+
*/
|
|
21
|
+
export type NextJSAdminConfig = z.infer<typeof NextJSAdminConfigSchema>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zod schema for NgrokConfig
|
|
3
|
+
*
|
|
4
|
+
* This schema provides runtime validation and type inference.
|
|
5
|
+
* * Ngrok tunneling configuration.
|
|
6
|
+
* */
|
|
7
|
+
import { z } from 'zod'
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Ngrok tunneling configuration.
|
|
11
|
+
*/
|
|
12
|
+
export const NgrokConfigSchema = z.object({
|
|
13
|
+
enabled: z.boolean().nullable().optional(),
|
|
14
|
+
authtoken: z.string().nullable().optional(),
|
|
15
|
+
basic_auth: z.array(z.string()).nullable().optional(),
|
|
16
|
+
compression: z.boolean().nullable().optional(),
|
|
17
|
+
})
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Infer TypeScript type from Zod schema
|
|
21
|
+
*/
|
|
22
|
+
export type NgrokConfig = z.infer<typeof NgrokConfigSchema>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zod schema for OpenAPIClientConfig
|
|
3
|
+
*
|
|
4
|
+
* This schema provides runtime validation and type inference.
|
|
5
|
+
* * OpenAPI Client generation configuration.
|
|
6
|
+
* */
|
|
7
|
+
import { z } from 'zod'
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* OpenAPI Client generation configuration.
|
|
11
|
+
*/
|
|
12
|
+
export const OpenAPIClientConfigSchema = z.object({
|
|
13
|
+
enabled: z.boolean().nullable().optional(),
|
|
14
|
+
output_dir: z.string().nullable().optional(),
|
|
15
|
+
client_name: z.string().nullable().optional(),
|
|
16
|
+
schema_url: z.string().nullable().optional(),
|
|
17
|
+
generator: z.string().nullable().optional(),
|
|
18
|
+
additional_properties: z.record(z.string(), z.any()).nullable().optional(),
|
|
19
|
+
templates: z.array(z.string()).nullable().optional(),
|
|
20
|
+
global_properties: z.record(z.string(), z.any()).nullable().optional(),
|
|
21
|
+
})
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Infer TypeScript type from Zod schema
|
|
25
|
+
*/
|
|
26
|
+
export type OpenAPIClientConfig = z.infer<typeof OpenAPIClientConfigSchema>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zod schema for RQSchedule
|
|
3
|
+
*
|
|
4
|
+
* This schema provides runtime validation and type inference.
|
|
5
|
+
* * Redis Queue schedule configuration.
|
|
6
|
+
* */
|
|
7
|
+
import { z } from 'zod'
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Redis Queue schedule configuration.
|
|
11
|
+
*/
|
|
12
|
+
export const RQScheduleSchema = z.object({
|
|
13
|
+
func: z.string().nullable().optional(),
|
|
14
|
+
cron_string: z.string().nullable().optional(),
|
|
15
|
+
queue: z.string().nullable().optional(),
|
|
16
|
+
kwargs: z.record(z.string(), z.any()).nullable().optional(),
|
|
17
|
+
args: z.array(z.string()).nullable().optional(),
|
|
18
|
+
meta: z.record(z.string(), z.any()).nullable().optional(),
|
|
19
|
+
repeat: z.int().nullable().optional(),
|
|
20
|
+
result_ttl: z.int().nullable().optional(),
|
|
21
|
+
})
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Infer TypeScript type from Zod schema
|
|
25
|
+
*/
|
|
26
|
+
export type RQSchedule = z.infer<typeof RQScheduleSchema>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zod schema for TelegramConfig
|
|
3
|
+
*
|
|
4
|
+
* This schema provides runtime validation and type inference.
|
|
5
|
+
* * Telegram service configuration.
|
|
6
|
+
* */
|
|
7
|
+
import { z } from 'zod'
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Telegram service configuration.
|
|
11
|
+
*/
|
|
12
|
+
export const TelegramConfigSchema = z.object({
|
|
13
|
+
bot_token: z.string().nullable().optional(),
|
|
14
|
+
chat_id: z.int().nullable().optional(),
|
|
15
|
+
parse_mode: z.string().nullable().optional(),
|
|
16
|
+
disable_notification: z.boolean().nullable().optional(),
|
|
17
|
+
disable_web_page_preview: z.boolean().nullable().optional(),
|
|
18
|
+
timeout: z.int().nullable().optional(),
|
|
19
|
+
webhook_url: z.string().nullable().optional(),
|
|
20
|
+
webhook_secret: z.string().nullable().optional(),
|
|
21
|
+
max_retries: z.int().nullable().optional(),
|
|
22
|
+
retry_delay: z.number().nullable().optional(),
|
|
23
|
+
})
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Infer TypeScript type from Zod schema
|
|
27
|
+
*/
|
|
28
|
+
export type TelegramConfig = z.infer<typeof TelegramConfigSchema>
|
|
@@ -23,6 +23,7 @@ export * from './ActivityTrackerDay.schema'
|
|
|
23
23
|
export * from './ApiKey.schema'
|
|
24
24
|
export * from './ApiKeyStats.schema'
|
|
25
25
|
export * from './AppStatistics.schema'
|
|
26
|
+
export * from './AppStatisticsData.schema'
|
|
26
27
|
export * from './ArchiveItem.schema'
|
|
27
28
|
export * from './ArchiveItemChunk.schema'
|
|
28
29
|
export * from './ArchiveItemChunkDetail.schema'
|
|
@@ -33,6 +34,7 @@ export * from './ArchiveProcessingResult.schema'
|
|
|
33
34
|
export * from './ArchiveSearchRequestRequest.schema'
|
|
34
35
|
export * from './ArchiveSearchResult.schema'
|
|
35
36
|
export * from './ArchiveStatistics.schema'
|
|
37
|
+
export * from './AxesConfig.schema'
|
|
36
38
|
export * from './Balance.schema'
|
|
37
39
|
export * from './BulkEmailRequest.schema'
|
|
38
40
|
export * from './BulkEmailResponse.schema'
|
|
@@ -84,6 +86,7 @@ export * from './ConfigData.schema'
|
|
|
84
86
|
export * from './ConfigMeta.schema'
|
|
85
87
|
export * from './ConfigValidation.schema'
|
|
86
88
|
export * from './ConnectionTokenResponse.schema'
|
|
89
|
+
export * from './ConstanceConfig.schema'
|
|
87
90
|
export * from './Currency.schema'
|
|
88
91
|
export * from './DRFConfig.schema'
|
|
89
92
|
export * from './DashboardCharts.schema'
|
|
@@ -151,11 +154,14 @@ export * from './Newsletter.schema'
|
|
|
151
154
|
export * from './NewsletterCampaign.schema'
|
|
152
155
|
export * from './NewsletterCampaignRequest.schema'
|
|
153
156
|
export * from './NewsletterSubscription.schema'
|
|
157
|
+
export * from './NextJSAdminConfig.schema'
|
|
158
|
+
export * from './NgrokConfig.schema'
|
|
154
159
|
export * from './OTPErrorResponse.schema'
|
|
155
160
|
export * from './OTPRequestRequest.schema'
|
|
156
161
|
export * from './OTPRequestResponse.schema'
|
|
157
162
|
export * from './OTPVerifyRequest.schema'
|
|
158
163
|
export * from './OTPVerifyResponse.schema'
|
|
164
|
+
export * from './OpenAPIClientConfig.schema'
|
|
159
165
|
export * from './PaginatedApiKeyList.schema'
|
|
160
166
|
export * from './PaginatedArchiveItemChunkList.schema'
|
|
161
167
|
export * from './PaginatedArchiveItemList.schema'
|
|
@@ -211,6 +217,7 @@ export * from './QueueStats.schema'
|
|
|
211
217
|
export * from './QuickAction.schema'
|
|
212
218
|
export * from './QuickHealth.schema'
|
|
213
219
|
export * from './RQConfig.schema'
|
|
220
|
+
export * from './RQSchedule.schema'
|
|
214
221
|
export * from './RecentError.schema'
|
|
215
222
|
export * from './RecentRequest.schema'
|
|
216
223
|
export * from './RecentUser.schema'
|
|
@@ -245,6 +252,7 @@ export * from './SuccessResponse.schema'
|
|
|
245
252
|
export * from './SystemHealth.schema'
|
|
246
253
|
export * from './SystemHealthItem.schema'
|
|
247
254
|
export * from './SystemMetrics.schema'
|
|
255
|
+
export * from './TelegramConfig.schema'
|
|
248
256
|
export * from './TestEmailRequest.schema'
|
|
249
257
|
export * from './TestScenario.schema'
|
|
250
258
|
export * from './TestingActionResponse.schema'
|
|
@@ -65,7 +65,7 @@ export interface OTPVerifyResponse {
|
|
|
65
65
|
refresh: string;
|
|
66
66
|
/** JWT access token */
|
|
67
67
|
access: string;
|
|
68
|
-
user:
|
|
68
|
+
user: User;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/**
|
|
@@ -87,16 +87,16 @@ export interface User {
|
|
|
87
87
|
company?: string;
|
|
88
88
|
phone?: string;
|
|
89
89
|
position?: string;
|
|
90
|
-
avatar
|
|
90
|
+
avatar?: string | null;
|
|
91
91
|
/** Designates whether the user can log into this admin site. */
|
|
92
92
|
is_staff: boolean;
|
|
93
93
|
/** Designates that this user has all permissions without explicitly assigning them. */
|
|
94
94
|
is_superuser: boolean;
|
|
95
95
|
date_joined: string;
|
|
96
|
-
last_login
|
|
96
|
+
last_login?: string | null;
|
|
97
97
|
/** Get count of unanswered messages for the user. */
|
|
98
98
|
unanswered_messages_count: number;
|
|
99
|
-
centrifugo:
|
|
99
|
+
centrifugo: CentrifugoToken | null;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
/**
|
|
@@ -17,16 +17,16 @@ export interface User {
|
|
|
17
17
|
company?: string;
|
|
18
18
|
phone?: string;
|
|
19
19
|
position?: string;
|
|
20
|
-
avatar
|
|
20
|
+
avatar?: string | null;
|
|
21
21
|
/** Designates whether the user can log into this admin site. */
|
|
22
22
|
is_staff: boolean;
|
|
23
23
|
/** Designates that this user has all permissions without explicitly assigning them. */
|
|
24
24
|
is_superuser: boolean;
|
|
25
25
|
date_joined: string;
|
|
26
|
-
last_login
|
|
26
|
+
last_login?: string | null;
|
|
27
27
|
/** Get count of unanswered messages for the user. */
|
|
28
28
|
unanswered_messages_count: number;
|
|
29
|
-
centrifugo:
|
|
29
|
+
centrifugo: CentrifugoToken | null;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/**
|
|
@@ -14,8 +14,8 @@ export interface CentrifugoChannelsRequestRequest {
|
|
|
14
14
|
* Response model (includes read-only fields).
|
|
15
15
|
*/
|
|
16
16
|
export interface CentrifugoChannelsResponse {
|
|
17
|
-
error?:
|
|
18
|
-
result?:
|
|
17
|
+
error?: CentrifugoError;
|
|
18
|
+
result?: CentrifugoChannelsResult;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -28,7 +28,7 @@ export interface CentrifugoHistoryRequestRequest {
|
|
|
28
28
|
channel: string;
|
|
29
29
|
/** Maximum number of messages to return */
|
|
30
30
|
limit?: number | null;
|
|
31
|
-
since?:
|
|
31
|
+
since?: CentrifugoStreamPosition;
|
|
32
32
|
/** Reverse message order (newest first) */
|
|
33
33
|
reverse?: boolean | null;
|
|
34
34
|
}
|
|
@@ -39,8 +39,8 @@ export interface CentrifugoHistoryRequestRequest {
|
|
|
39
39
|
* Response model (includes read-only fields).
|
|
40
40
|
*/
|
|
41
41
|
export interface CentrifugoHistoryResponse {
|
|
42
|
-
error?:
|
|
43
|
-
result?:
|
|
42
|
+
error?: CentrifugoError;
|
|
43
|
+
result?: CentrifugoHistoryResult;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/**
|
|
@@ -49,8 +49,8 @@ export interface CentrifugoHistoryResponse {
|
|
|
49
49
|
* Response model (includes read-only fields).
|
|
50
50
|
*/
|
|
51
51
|
export interface CentrifugoInfoResponse {
|
|
52
|
-
error?:
|
|
53
|
-
result?:
|
|
52
|
+
error?: CentrifugoError;
|
|
53
|
+
result?: CentrifugoInfoResult;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/**
|
|
@@ -69,8 +69,8 @@ export interface CentrifugoPresenceRequestRequest {
|
|
|
69
69
|
* Response model (includes read-only fields).
|
|
70
70
|
*/
|
|
71
71
|
export interface CentrifugoPresenceResponse {
|
|
72
|
-
error?:
|
|
73
|
-
result?:
|
|
72
|
+
error?: CentrifugoError;
|
|
73
|
+
result?: CentrifugoPresenceResult;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
/**
|
|
@@ -89,8 +89,8 @@ export interface CentrifugoPresenceStatsRequestRequest {
|
|
|
89
89
|
* Response model (includes read-only fields).
|
|
90
90
|
*/
|
|
91
91
|
export interface CentrifugoPresenceStatsResponse {
|
|
92
|
-
error?:
|
|
93
|
-
result?:
|
|
92
|
+
error?: CentrifugoError;
|
|
93
|
+
result?: CentrifugoPresenceStatsResult;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
/**
|
|
@@ -112,7 +112,7 @@ export interface CentrifugoError {
|
|
|
112
112
|
*/
|
|
113
113
|
export interface CentrifugoChannelsResult {
|
|
114
114
|
/** Map of channel names to channel info */
|
|
115
|
-
channels: Record<string,
|
|
115
|
+
channels: Record<string, CentrifugoChannelInfo>;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
/**
|
|
@@ -158,7 +158,7 @@ export interface CentrifugoInfoResult {
|
|
|
158
158
|
*/
|
|
159
159
|
export interface CentrifugoPresenceResult {
|
|
160
160
|
/** Map of client IDs to client info */
|
|
161
|
-
presence: Record<string,
|
|
161
|
+
presence: Record<string, CentrifugoClientInfo>;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
/**
|
|
@@ -173,6 +173,16 @@ export interface CentrifugoPresenceStatsResult {
|
|
|
173
173
|
num_users: number;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
+
/**
|
|
177
|
+
* Information about a single channel.
|
|
178
|
+
*
|
|
179
|
+
* Response model (includes read-only fields).
|
|
180
|
+
*/
|
|
181
|
+
export interface CentrifugoChannelInfo {
|
|
182
|
+
/** Number of connected clients in channel */
|
|
183
|
+
num_clients: number;
|
|
184
|
+
}
|
|
185
|
+
|
|
176
186
|
/**
|
|
177
187
|
* Single publication (message) in channel history.
|
|
178
188
|
*
|
|
@@ -181,7 +191,7 @@ export interface CentrifugoPresenceStatsResult {
|
|
|
181
191
|
export interface CentrifugoPublication {
|
|
182
192
|
/** Message payload */
|
|
183
193
|
data: Record<string, any>;
|
|
184
|
-
info?:
|
|
194
|
+
info?: CentrifugoClientInfo;
|
|
185
195
|
/** Message offset in channel stream */
|
|
186
196
|
offset: number;
|
|
187
197
|
/** Optional message tags */
|
|
@@ -210,8 +220,8 @@ export interface CentrifugoNodeInfo {
|
|
|
210
220
|
uptime: number;
|
|
211
221
|
/** Total number of subscriptions */
|
|
212
222
|
num_subs: number;
|
|
213
|
-
metrics?:
|
|
214
|
-
process?:
|
|
223
|
+
metrics?: CentrifugoMetrics;
|
|
224
|
+
process?: CentrifugoProcess;
|
|
215
225
|
}
|
|
216
226
|
|
|
217
227
|
/**
|
|
@@ -239,7 +249,7 @@ export interface CentrifugoMetrics {
|
|
|
239
249
|
/** Metrics collection interval */
|
|
240
250
|
interval: number;
|
|
241
251
|
/** Metric name to value mapping */
|
|
242
|
-
items: Record<string,
|
|
252
|
+
items: Record<string, number>;
|
|
243
253
|
}
|
|
244
254
|
|
|
245
255
|
/**
|
|
@@ -24,7 +24,7 @@ export interface CommandExecuteRequestRequest {
|
|
|
24
24
|
/** Positional arguments for the command */
|
|
25
25
|
args?: Array<string>;
|
|
26
26
|
/** Named options for the command (e.g., {'verbosity': '2'}) */
|
|
27
|
-
options?: Record<string,
|
|
27
|
+
options?: Record<string, string>;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
@@ -38,7 +38,7 @@ export interface CommandsSummary {
|
|
|
38
38
|
custom_commands: number;
|
|
39
39
|
categories: Array<string>;
|
|
40
40
|
commands: Array<Command>;
|
|
41
|
-
categorized: Record<string,
|
|
41
|
+
categorized: Record<string, string>;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
/**
|