@djangocfg/api 1.2.34 → 1.2.35

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.
Files changed (87) hide show
  1. package/dist/index.cjs +3739 -3676
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +564 -295
  4. package/dist/index.d.ts +564 -295
  5. package/dist/index.mjs +3675 -3611
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +2 -2
  8. package/src/cfg/contexts/LeadsContext.tsx +11 -0
  9. package/src/cfg/contexts/NewsletterContext.tsx +19 -0
  10. package/src/cfg/contexts/SupportContext.tsx +3 -3
  11. package/src/cfg/contexts/index.ts +22 -2
  12. package/src/cfg/contexts/knowbase/DocumentsContext.tsx +4 -4
  13. package/src/cfg/contexts/knowbase/SessionsContext.tsx +2 -2
  14. package/src/cfg/contexts/payments/PaymentsContext.tsx +2 -2
  15. package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_monitoring.ts +68 -3
  16. package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_testing.ts +7 -7
  17. package/src/cfg/generated/_utils/fetchers/index.ts +0 -1
  18. package/src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_monitoring.ts +18 -3
  19. package/src/cfg/generated/_utils/hooks/cfg__grpc__grpc_testing.ts +5 -5
  20. package/src/cfg/generated/_utils/hooks/index.ts +0 -1
  21. package/src/cfg/generated/_utils/schemas/APIZonesSummary.schema.ts +1 -1
  22. package/src/cfg/generated/_utils/schemas/AppStatisticsData.schema.ts +2 -0
  23. package/src/cfg/generated/_utils/schemas/ArchiveItemChunk.schema.ts +1 -1
  24. package/src/cfg/generated/_utils/schemas/ArchiveItemChunkDetail.schema.ts +2 -2
  25. package/src/cfg/generated/_utils/schemas/ArchiveItemDetail.schema.ts +1 -1
  26. package/src/cfg/generated/_utils/schemas/ArchiveSearchResult.schema.ts +3 -3
  27. package/src/cfg/generated/_utils/schemas/ChannelList.schema.ts +2 -2
  28. package/src/cfg/generated/_utils/schemas/{ChannelStatsSerializer.schema.ts → ChannelStats.schema.ts} +4 -4
  29. package/src/cfg/generated/_utils/schemas/ChatMessage.schema.ts +1 -1
  30. package/src/cfg/generated/_utils/schemas/CommandCategory.schema.ts +21 -0
  31. package/src/cfg/generated/_utils/schemas/CommandExecuteRequestRequest.schema.ts +1 -1
  32. package/src/cfg/generated/_utils/schemas/CommandsSummary.schema.ts +2 -1
  33. package/src/cfg/generated/_utils/schemas/DjangoConfig.schema.ts +2 -1
  34. package/src/cfg/generated/_utils/schemas/Document.schema.ts +1 -1
  35. package/src/cfg/generated/_utils/schemas/DocumentArchiveDetail.schema.ts +2 -2
  36. package/src/cfg/generated/_utils/schemas/DocumentCreateRequest.schema.ts +1 -1
  37. package/src/cfg/generated/_utils/schemas/DocumentProcessingStatus.schema.ts +1 -1
  38. package/src/cfg/generated/_utils/schemas/DocumentRequest.schema.ts +1 -1
  39. package/src/cfg/generated/_utils/schemas/GRPCCallRequestRequest.schema.ts +2 -2
  40. package/src/cfg/generated/_utils/schemas/GRPCCallResponse.schema.ts +1 -1
  41. package/src/cfg/generated/_utils/schemas/GRPCExample.schema.ts +3 -3
  42. package/src/cfg/generated/_utils/schemas/JobDetail.schema.ts +2 -2
  43. package/src/cfg/generated/_utils/schemas/LeadSubmission.schema.ts +1 -1
  44. package/src/cfg/generated/_utils/schemas/LeadSubmissionError.schema.ts +1 -1
  45. package/src/cfg/generated/_utils/schemas/LeadSubmissionRequest.schema.ts +1 -1
  46. package/src/cfg/generated/_utils/schemas/ModelStatistics.schema.ts +23 -0
  47. package/src/cfg/generated/_utils/schemas/PaginatedGRPCTestLogList.schema.ts +24 -0
  48. package/src/cfg/generated/_utils/schemas/PatchedDocumentRequest.schema.ts +1 -1
  49. package/src/cfg/generated/_utils/schemas/PatchedLeadSubmissionRequest.schema.ts +1 -1
  50. package/src/cfg/generated/_utils/schemas/Publish.schema.ts +1 -1
  51. package/src/cfg/generated/_utils/schemas/RQConfig.schema.ts +2 -1
  52. package/src/cfg/generated/_utils/schemas/RQSchedule.schema.ts +1 -1
  53. package/src/cfg/generated/_utils/schemas/RedisQueueConfig.schema.ts +1 -1
  54. package/src/cfg/generated/_utils/schemas/RunDemoRequestRequest.schema.ts +1 -1
  55. package/src/cfg/generated/_utils/schemas/ScheduleCreateRequest.schema.ts +1 -1
  56. package/src/cfg/generated/_utils/schemas/ScheduleInfo.schema.ts +27 -0
  57. package/src/cfg/generated/_utils/schemas/ScheduledJob.schema.ts +1 -1
  58. package/src/cfg/generated/_utils/schemas/TestScenario.schema.ts +1 -1
  59. package/src/cfg/generated/_utils/schemas/TimelineItem.schema.ts +23 -0
  60. package/src/cfg/generated/_utils/schemas/TimelineResponse.schema.ts +22 -0
  61. package/src/cfg/generated/_utils/schemas/index.ts +7 -1
  62. package/src/cfg/generated/cfg__centrifugo__centrifugo_admin_api/models.ts +1 -1
  63. package/src/cfg/generated/cfg__centrifugo__centrifugo_monitoring/client.ts +27 -6
  64. package/src/cfg/generated/cfg__centrifugo__centrifugo_monitoring/models.ts +45 -21
  65. package/src/cfg/generated/cfg__dashboard__dashboard_api_zones/models.ts +1 -1
  66. package/src/cfg/generated/cfg__dashboard__dashboard_commands/models.ts +15 -2
  67. package/src/cfg/generated/cfg__dashboard__dashboard_config/models.ts +17 -16
  68. package/src/cfg/generated/cfg__dashboard__dashboard_overview/models.ts +20 -0
  69. package/src/cfg/generated/cfg__grpc__grpc_api_keys/models.ts +1 -1
  70. package/src/cfg/generated/cfg__grpc__grpc_testing/client.ts +4 -4
  71. package/src/cfg/generated/cfg__grpc__grpc_testing/models.ts +48 -23
  72. package/src/cfg/generated/cfg__knowbase/models.ts +15 -15
  73. package/src/cfg/generated/cfg__leads/models.ts +3 -3
  74. package/src/cfg/generated/cfg__leads__lead_submission/models.ts +2 -2
  75. package/src/cfg/generated/cfg__rq__rq_jobs/models.ts +5 -5
  76. package/src/cfg/generated/cfg__rq__rq_monitoring/models.ts +19 -2
  77. package/src/cfg/generated/cfg__rq__rq_queues/models.ts +1 -1
  78. package/src/cfg/generated/cfg__rq__rq_schedules/models.ts +7 -7
  79. package/src/cfg/generated/cfg__rq__rq_testing/models.ts +4 -4
  80. package/src/cfg/generated/client.ts +0 -3
  81. package/src/cfg/generated/index.ts +0 -5
  82. package/src/cfg/generated/schema.json +403 -181
  83. package/src/cfg/generated/_utils/fetchers/cfg__centrifugo.ts +0 -99
  84. package/src/cfg/generated/_utils/hooks/cfg__centrifugo.ts +0 -35
  85. package/src/cfg/generated/cfg__centrifugo/client.ts +0 -22
  86. package/src/cfg/generated/cfg__centrifugo/index.ts +0 -2
  87. package/src/cfg/generated/cfg__centrifugo/models.ts +0 -19
@@ -7,7 +7,7 @@
7
7
  export interface ConfigData {
8
8
  django_config: DjangoConfig;
9
9
  /** Complete Django settings (sanitized, contains mixed types) */
10
- django_settings: Record<string, string>;
10
+ django_settings: Record<string, any>;
11
11
  _validation: ConfigValidation;
12
12
  }
13
13
 
@@ -34,6 +34,7 @@ export interface DjangoConfig {
34
34
  enable_maintenance?: boolean | null;
35
35
  enable_frontend?: boolean | null;
36
36
  enable_drf_tailwind?: boolean | null;
37
+ enable_pool_cleanup?: boolean | null;
37
38
  site_url?: string | null;
38
39
  api_url?: string | null;
39
40
  debug?: boolean | null;
@@ -60,12 +61,12 @@ export interface DjangoConfig {
60
61
  telegram?: TelegramConfig | null;
61
62
  ngrok?: NgrokConfig | null;
62
63
  axes?: AxesConfig | null;
63
- crypto_fields?: Record<string, string> | null;
64
- unfold?: string | null;
64
+ crypto_fields?: Record<string, any> | null;
65
+ unfold?: Record<string, any> | null;
65
66
  tailwind_app_name?: string | null;
66
67
  tailwind_version?: number | null;
67
- limits?: Record<string, string> | null;
68
- api_keys?: Record<string, string> | null;
68
+ limits?: Record<string, any> | null;
69
+ api_keys?: Record<string, any> | null;
69
70
  custom_middleware?: Array<string> | null;
70
71
  nextjs_admin?: NextJSAdminConfig | null;
71
72
  admin_emails?: Array<string> | null;
@@ -87,7 +88,7 @@ export interface ConfigValidation {
87
88
  /** Fields present in serializer but not in config */
88
89
  extra_in_serializer: Array<string>;
89
90
  /** Fields with type mismatches */
90
- type_mismatches: Array<Record<string, string>>;
91
+ type_mismatches: Array<Record<string, any>>;
91
92
  /** Total fields in config */
92
93
  total_config_fields: number;
93
94
  /** Total fields in serializer */
@@ -108,7 +109,7 @@ export interface DatabaseConfig {
108
109
  port?: number | null;
109
110
  connect_timeout?: number | null;
110
111
  sslmode?: string | null;
111
- options?: Record<string, string> | null;
112
+ options?: Record<string, any> | null;
112
113
  apps?: Array<string> | null;
113
114
  operations?: Array<string> | null;
114
115
  migrate_to?: string | null;
@@ -290,12 +291,12 @@ export interface NextJSAdminConfig {
290
291
  * Response model (includes read-only fields).
291
292
  */
292
293
  export interface ConstanceConfig {
293
- config?: Record<string, string> | null;
294
- config_fieldsets?: Record<string, string> | null;
294
+ config?: Record<string, any> | null;
295
+ config_fieldsets?: Record<string, any> | null;
295
296
  backend?: string | null;
296
297
  database_prefix?: string | null;
297
298
  database_cache_backend?: string | null;
298
- additional_config?: Record<string, string> | null;
299
+ additional_config?: Record<string, any> | null;
299
300
  }
300
301
 
301
302
  /**
@@ -309,9 +310,9 @@ export interface OpenAPIClientConfig {
309
310
  client_name?: string | null;
310
311
  schema_url?: string | null;
311
312
  generator?: string | null;
312
- additional_properties?: Record<string, string> | null;
313
+ additional_properties?: Record<string, any> | null;
313
314
  templates?: Array<string> | null;
314
- global_properties?: Record<string, string> | null;
315
+ global_properties?: Record<string, any> | null;
315
316
  }
316
317
 
317
318
  /**
@@ -350,7 +351,7 @@ export interface RedisQueueConfig {
350
351
  password?: string | null;
351
352
  default_timeout?: number | null;
352
353
  default_result_ttl?: number | null;
353
- sentinels?: Array<string> | null;
354
+ sentinels?: Record<string, any> | null;
354
355
  master_name?: string | null;
355
356
  socket_timeout?: number | null;
356
357
  }
@@ -364,9 +365,9 @@ export interface RQSchedule {
364
365
  func?: string | null;
365
366
  cron_string?: string | null;
366
367
  queue?: string | null;
367
- kwargs?: Record<string, string> | null;
368
- args?: Array<string> | null;
369
- meta?: Record<string, string> | null;
368
+ kwargs?: Record<string, any> | null;
369
+ args?: Array<Record<string, any>> | null;
370
+ meta?: Record<string, any> | null;
370
371
  repeat?: number | null;
371
372
  result_ttl?: number | null;
372
373
  }
@@ -200,9 +200,29 @@ export interface SystemHealthItem {
200
200
  export interface AppStatisticsData {
201
201
  /** Human-readable app name */
202
202
  name: string;
203
+ /** List of model statistics */
204
+ models: Array<ModelStatistics>;
203
205
  /** Total records count */
204
206
  total_records: number;
205
207
  /** Number of models */
206
208
  model_count: number;
207
209
  }
208
210
 
211
+ /**
212
+ * Serializer for individual model statistics.
213
+ *
214
+ * Response model (includes read-only fields).
215
+ */
216
+ export interface ModelStatistics {
217
+ /** Model name (key) */
218
+ model_name: string;
219
+ /** Model verbose name */
220
+ name: string;
221
+ /** Number of records in this model */
222
+ count: number;
223
+ /** Number of fields in model */
224
+ fields_count: number;
225
+ /** Django admin URL name */
226
+ admin_url: string;
227
+ }
228
+
@@ -74,6 +74,6 @@ export interface ApiKeyStats {
74
74
  /** Total requests across all keys */
75
75
  total_requests: number;
76
76
  /** Count of keys by type */
77
- keys_by_type: Record<string, number>;
77
+ keys_by_type: Record<string, any>;
78
78
  }
79
79
 
@@ -43,22 +43,22 @@ export class CfgGrpcTesting {
43
43
  return (response as any).results || response;
44
44
  }
45
45
 
46
- async grpcTestLogsRetrieve(method?: string, service?: string, status?: string): Promise<Models.GRPCTestLog>;
47
- async grpcTestLogsRetrieve(params?: { method?: string; service?: string; status?: string }): Promise<Models.GRPCTestLog>;
46
+ async grpcTestLogsList(method?: string, page?: number, page_size?: number, service?: string, status?: string): Promise<Models.PaginatedGRPCTestLogList>;
47
+ async grpcTestLogsList(params?: { method?: string; page?: number; page_size?: number; service?: string; status?: string }): Promise<Models.PaginatedGRPCTestLogList>;
48
48
 
49
49
  /**
50
50
  * Get test logs
51
51
  *
52
52
  * Returns logs from test gRPC calls. Uses standard DRF pagination.
53
53
  */
54
- async grpcTestLogsRetrieve(...args: any[]): Promise<Models.GRPCTestLog> {
54
+ async grpcTestLogsList(...args: any[]): Promise<Models.PaginatedGRPCTestLogList> {
55
55
  const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);
56
56
 
57
57
  let params;
58
58
  if (isParamsObject) {
59
59
  params = args[0];
60
60
  } else {
61
- params = { method: args[0], service: args[1], status: args[2] };
61
+ params = { method: args[0], page: args[1], page_size: args[2], service: args[3], status: args[4] };
62
62
  }
63
63
  const response = await this.client.request('GET', "/cfg/grpc/test/logs/", { params });
64
64
  return response;
@@ -9,9 +9,9 @@ export interface GRPCCallRequestRequest {
9
9
  /** Method name to call */
10
10
  method: string;
11
11
  /** Request payload */
12
- payload: Record<string, string>;
12
+ payload: Record<string, any>;
13
13
  /** Request metadata (headers) */
14
- metadata?: Record<string, string>;
14
+ metadata?: Record<string, any>;
15
15
  /** Request timeout in milliseconds */
16
16
  timeout_ms?: number;
17
17
  }
@@ -41,7 +41,7 @@ export interface GRPCCallResponse {
41
41
  /** Error message if failed */
42
42
  error?: string | null;
43
43
  /** Response metadata */
44
- metadata?: Record<string, string>;
44
+ metadata?: Record<string, any>;
45
45
  /** Response timestamp (ISO format) */
46
46
  timestamp: string;
47
47
  }
@@ -58,6 +58,51 @@ export interface GRPCExamplesList {
58
58
  total_examples: number;
59
59
  }
60
60
 
61
+ /**
62
+ *
63
+ * Response model (includes read-only fields).
64
+ */
65
+ export interface PaginatedGRPCTestLogList {
66
+ /** Total number of items across all pages */
67
+ count: number;
68
+ /** Current page number (1-based) */
69
+ page: number;
70
+ /** Total number of pages */
71
+ pages: number;
72
+ /** Number of items per page */
73
+ page_size: number;
74
+ /** Whether there is a next page */
75
+ has_next: boolean;
76
+ /** Whether there is a previous page */
77
+ has_previous: boolean;
78
+ /** Next page number (null if no next page) */
79
+ next_page?: number | null;
80
+ /** Previous page number (null if no previous page) */
81
+ previous_page?: number | null;
82
+ /** Array of items for current page */
83
+ results: Array<GRPCTestLog>;
84
+ }
85
+
86
+ /**
87
+ * Example payload for a gRPC method.
88
+ *
89
+ * Response model (includes read-only fields).
90
+ */
91
+ export interface GRPCExample {
92
+ /** Service name */
93
+ service: string;
94
+ /** Method name */
95
+ method: string;
96
+ /** Method description */
97
+ description: string;
98
+ /** Example request payload */
99
+ payload_example: Record<string, any>;
100
+ /** Example expected response */
101
+ expected_response: Record<string, any>;
102
+ /** Example metadata (headers) */
103
+ metadata_example?: Record<string, any>;
104
+ }
105
+
61
106
  /**
62
107
  * Single test log entry.
63
108
  *
@@ -84,23 +129,3 @@ export interface GRPCTestLog {
84
129
  user?: string | null;
85
130
  }
86
131
 
87
- /**
88
- * Example payload for a gRPC method.
89
- *
90
- * Response model (includes read-only fields).
91
- */
92
- export interface GRPCExample {
93
- /** Service name */
94
- service: string;
95
- /** Method name */
96
- method: string;
97
- /** Method description */
98
- description: string;
99
- /** Example request payload */
100
- payload_example: Record<string, string>;
101
- /** Example expected response */
102
- expected_response: Record<string, string>;
103
- /** Example metadata (headers) */
104
- metadata_example?: Record<string, string>;
105
- }
106
-
@@ -135,7 +135,7 @@ export interface DocumentCreateRequest {
135
135
  /** MIME type */
136
136
  file_type?: string;
137
137
  /** Additional metadata */
138
- metadata?: string;
138
+ metadata?: Record<string, any>;
139
139
  }
140
140
 
141
141
  /**
@@ -161,7 +161,7 @@ export interface Document {
161
161
  processing_completed_at: string;
162
162
  processing_error: string;
163
163
  /** Additional document metadata */
164
- metadata?: string | null;
164
+ metadata?: Record<string, any> | null;
165
165
  }
166
166
 
167
167
  /**
@@ -177,7 +177,7 @@ export interface DocumentRequest {
177
177
  /** Original file size in bytes */
178
178
  file_size?: number;
179
179
  /** Additional document metadata */
180
- metadata?: string | null;
180
+ metadata?: Record<string, any> | null;
181
181
  }
182
182
 
183
183
  /**
@@ -193,7 +193,7 @@ export interface PatchedDocumentRequest {
193
193
  /** Original file size in bytes */
194
194
  file_size?: number;
195
195
  /** Additional document metadata */
196
- metadata?: string | null;
196
+ metadata?: Record<string, any> | null;
197
197
  }
198
198
 
199
199
  /**
@@ -204,7 +204,7 @@ export interface PatchedDocumentRequest {
204
204
  export interface DocumentProcessingStatus {
205
205
  id: string;
206
206
  status: string;
207
- progress: string;
207
+ progress: Record<string, any>;
208
208
  error?: string | null;
209
209
  processing_time_seconds?: number | null;
210
210
  }
@@ -510,9 +510,9 @@ export interface DocumentArchiveDetail {
510
510
  updated_at: string;
511
511
  items: Array<ArchiveItem>;
512
512
  /** Get hierarchical file tree. */
513
- file_tree: Record<string, string>;
513
+ file_tree: Record<string, any>;
514
514
  /** Additional archive metadata */
515
- metadata?: string | null;
515
+ metadata?: Record<string, any> | null;
516
516
  }
517
517
 
518
518
  /**
@@ -811,7 +811,7 @@ export interface ArchiveItemChunk {
811
811
  /** Cost in USD for embedding generation */
812
812
  embedding_cost: number;
813
813
  /** Get context summary for display. */
814
- context_summary: Record<string, string>;
814
+ context_summary: Record<string, any>;
815
815
  created_at: string;
816
816
  }
817
817
 
@@ -844,9 +844,9 @@ export interface ArchiveItemChunkDetail {
844
844
  /** Cost in USD for embedding generation */
845
845
  embedding_cost: number;
846
846
  /** Get context summary for display. */
847
- context_summary: Record<string, string>;
847
+ context_summary: Record<string, any>;
848
848
  created_at: string;
849
- context_metadata: string;
849
+ context_metadata: Record<string, any>;
850
850
  }
851
851
 
852
852
  /**
@@ -965,7 +965,7 @@ export interface ArchiveItemDetail {
965
965
  created_at: string;
966
966
  updated_at: string;
967
967
  raw_content: string;
968
- metadata: string;
968
+ metadata: Record<string, any>;
969
969
  }
970
970
 
971
971
  /**
@@ -1028,7 +1028,7 @@ export interface ChatMessage {
1028
1028
  processing_time_ms?: number;
1029
1029
  created_at: string;
1030
1030
  /** IDs of chunks used for context */
1031
- context_chunks?: string;
1031
+ context_chunks?: Record<string, any>;
1032
1032
  }
1033
1033
 
1034
1034
  /**
@@ -1113,8 +1113,8 @@ export interface DocumentCategory {
1113
1113
  export interface ArchiveSearchResult {
1114
1114
  chunk: ArchiveItemChunk;
1115
1115
  similarity_score: number;
1116
- context_summary: Record<string, string>;
1117
- archive_info: Record<string, string>;
1118
- item_info: Record<string, string>;
1116
+ context_summary: Record<string, any>;
1117
+ archive_info: Record<string, any>;
1118
+ item_info: Record<string, any>;
1119
1119
  }
1120
1120
 
@@ -44,7 +44,7 @@ export interface LeadSubmissionRequest {
44
44
  contact_value?: string | null;
45
45
  subject?: string | null;
46
46
  message: string;
47
- extra?: string | null;
47
+ extra?: Record<string, any> | null;
48
48
  /** Frontend URL where form was submitted */
49
49
  site_url: string;
50
50
  }
@@ -68,7 +68,7 @@ export interface LeadSubmission {
68
68
  contact_value?: string | null;
69
69
  subject?: string | null;
70
70
  message: string;
71
- extra?: string | null;
71
+ extra?: Record<string, any> | null;
72
72
  /** Frontend URL where form was submitted */
73
73
  site_url: string;
74
74
  }
@@ -92,7 +92,7 @@ export interface PatchedLeadSubmissionRequest {
92
92
  contact_value?: string | null;
93
93
  subject?: string | null;
94
94
  message?: string;
95
- extra?: string | null;
95
+ extra?: Record<string, any> | null;
96
96
  /** Frontend URL where form was submitted */
97
97
  site_url?: string;
98
98
  }
@@ -19,7 +19,7 @@ export interface LeadSubmissionRequest {
19
19
  contact_value?: string | null;
20
20
  subject?: string | null;
21
21
  message: string;
22
- extra?: string | null;
22
+ extra?: Record<string, any> | null;
23
23
  /** Frontend URL where form was submitted */
24
24
  site_url: string;
25
25
  }
@@ -43,6 +43,6 @@ export interface LeadSubmissionResponse {
43
43
  export interface LeadSubmissionError {
44
44
  success: boolean;
45
45
  error: string;
46
- details?: Record<string, string>;
46
+ details?: Record<string, any>;
47
47
  }
48
48
 
@@ -34,10 +34,10 @@ export interface JobDetail {
34
34
  id: string;
35
35
  /** Function name */
36
36
  func_name: string;
37
- /** Function arguments */
38
- args?: Array<string>;
37
+ /** Function arguments (array of any JSON values) */
38
+ args?: Array<Record<string, any>>;
39
39
  /** Function keyword arguments */
40
- kwargs?: Record<string, string>;
40
+ kwargs?: Record<string, any>;
41
41
  /** Job creation time */
42
42
  created_at: string;
43
43
  /** Job enqueue time */
@@ -59,11 +59,11 @@ export interface JobDetail {
59
59
  /** Failure TTL in seconds */
60
60
  failure_ttl?: number | null;
61
61
  /** Job result if finished */
62
- result?: string | null;
62
+ result?: Record<string, any> | null;
63
63
  /** Exception info if failed */
64
64
  exc_info?: string | null;
65
65
  /** Job metadata */
66
- meta?: Record<string, string>;
66
+ meta?: Record<string, any>;
67
67
  /** List of dependency job IDs */
68
68
  dependency_ids?: Array<string>;
69
69
  }
@@ -8,7 +8,7 @@ export interface RQConfig {
8
8
  /** RQ enabled status */
9
9
  enabled: boolean;
10
10
  /** Configured queues */
11
- queues: Record<string, string>;
11
+ queues: Record<string, any>;
12
12
  /** Async mode enabled */
13
13
  async_mode?: boolean;
14
14
  /** Show admin link */
@@ -18,7 +18,7 @@ export interface RQConfig {
18
18
  /** API token is configured */
19
19
  api_token_configured?: boolean;
20
20
  /** Scheduled tasks from django-cfg config */
21
- schedules?: Array<string>;
21
+ schedules?: Array<ScheduleInfo>;
22
22
  }
23
23
 
24
24
  /**
@@ -37,3 +37,20 @@ export interface HealthCheck {
37
37
  timestamp: string;
38
38
  }
39
39
 
40
+ /**
41
+ * Schedule information in config response.
42
+ *
43
+ * Response model (includes read-only fields).
44
+ */
45
+ export interface ScheduleInfo {
46
+ func: string;
47
+ queue: string;
48
+ cron?: string | null;
49
+ interval?: number | null;
50
+ scheduled_time?: string | null;
51
+ description?: string | null;
52
+ timeout?: number | null;
53
+ result_ttl?: number | null;
54
+ repeat?: number | null;
55
+ }
56
+
@@ -26,7 +26,7 @@ export interface QueueDetail {
26
26
  /** Timestamp of oldest job in queue */
27
27
  oldest_job_timestamp?: string | null;
28
28
  /** Redis connection parameters */
29
- connection_kwargs?: Record<string, string>;
29
+ connection_kwargs?: Record<string, any>;
30
30
  /** Queue is in async mode */
31
31
  is_async?: boolean;
32
32
  }
@@ -33,10 +33,10 @@ export interface PaginatedScheduledJobList {
33
33
  export interface ScheduleCreateRequest {
34
34
  /** Function path (e.g., 'myapp.tasks.my_task') */
35
35
  func: string;
36
- /** Function arguments */
37
- args?: Array<string>;
36
+ /** Function arguments (array of any JSON values) */
37
+ args?: Array<Record<string, any>>;
38
38
  /** Function keyword arguments */
39
- kwargs?: Record<string, string>;
39
+ kwargs?: Record<string, any>;
40
40
  /** Queue name to schedule job in */
41
41
  queue_name?: string;
42
42
  /** Schedule job at specific time (ISO 8601) */
@@ -81,10 +81,10 @@ export interface ScheduledJob {
81
81
  id: string;
82
82
  /** Function path */
83
83
  func: string;
84
- /** Function arguments */
85
- args?: Array<string>;
84
+ /** Function arguments (array of any JSON values) */
85
+ args?: Array<Record<string, any>>;
86
86
  /** Function keyword arguments */
87
- kwargs?: Record<string, string>;
87
+ kwargs?: Record<string, any>;
88
88
  /** Queue name */
89
89
  queue_name: string;
90
90
  /** Next scheduled time */
@@ -104,6 +104,6 @@ export interface ScheduledJob {
104
104
  /** Job creation time */
105
105
  created_at?: string | null;
106
106
  /** Job metadata */
107
- meta?: Record<string, string>;
107
+ meta?: Record<string, any>;
108
108
  }
109
109
 
@@ -15,7 +15,7 @@ export interface TestingActionResponse {
15
15
  /** Number of items affected */
16
16
  count?: number | null;
17
17
  /** Additional metadata */
18
- metadata?: Record<string, string>;
18
+ metadata?: Record<string, any>;
19
19
  }
20
20
 
21
21
  /**
@@ -37,10 +37,10 @@ export interface RunDemoRequestRequest {
37
37
  scenario: Enums.RunDemoRequestRequestScenario;
38
38
  /** Queue name */
39
39
  queue?: string;
40
- /** Task arguments */
41
- args?: Array<string>;
40
+ /** Task arguments (array of any JSON values) */
41
+ args?: Array<Record<string, any>>;
42
42
  /** Task keyword arguments */
43
- kwargs?: Record<string, string>;
43
+ kwargs?: Record<string, any>;
44
44
  /** Job timeout in seconds */
45
45
  timeout?: number | null;
46
46
  }
@@ -27,7 +27,6 @@ import { CfgSubscriptions } from "./cfg__newsletter__subscriptions";
27
27
  import { CfgTesting } from "./cfg__newsletter__testing";
28
28
  import { CfgUserProfile } from "./cfg__accounts__user_profile";
29
29
  import { CfgAccounts } from "./cfg__accounts";
30
- import { CfgCentrifugo } from "./cfg__centrifugo";
31
30
  import { CfgEndpoints } from "./cfg__endpoints";
32
31
  import { CfgGrpcApiKeys } from "./cfg__grpc__grpc_api_keys";
33
32
  import { CfgGrpcCharts } from "./cfg__grpc__grpc_charts";
@@ -99,7 +98,6 @@ export class APIClient {
99
98
  public cfg_testing: CfgTesting;
100
99
  public cfg_user_profile: CfgUserProfile;
101
100
  public cfg_accounts: CfgAccounts;
102
- public cfg_centrifugo: CfgCentrifugo;
103
101
  public cfg_endpoints: CfgEndpoints;
104
102
  public cfg_grpc_api_keys: CfgGrpcApiKeys;
105
103
  public cfg_grpc_charts: CfgGrpcCharts;
@@ -166,7 +164,6 @@ export class APIClient {
166
164
  this.cfg_testing = new CfgTesting(this);
167
165
  this.cfg_user_profile = new CfgUserProfile(this);
168
166
  this.cfg_accounts = new CfgAccounts(this);
169
- this.cfg_centrifugo = new CfgCentrifugo(this);
170
167
  this.cfg_endpoints = new CfgEndpoints(this);
171
168
  this.cfg_grpc_api_keys = new CfgGrpcApiKeys(this);
172
169
  this.cfg_grpc_charts = new CfgGrpcCharts(this);
@@ -71,7 +71,6 @@ import { CfgSubscriptions } from "./cfg__newsletter__subscriptions/client";
71
71
  import { CfgTesting } from "./cfg__newsletter__testing/client";
72
72
  import { CfgUserProfile } from "./cfg__accounts__user_profile/client";
73
73
  import { CfgAccounts } from "./cfg__accounts/client";
74
- import { CfgCentrifugo } from "./cfg__centrifugo/client";
75
74
  import { CfgEndpoints } from "./cfg__endpoints/client";
76
75
  import { CfgGrpcApiKeys } from "./cfg__grpc__grpc_api_keys/client";
77
76
  import { CfgGrpcCharts } from "./cfg__grpc__grpc_charts/client";
@@ -115,7 +114,6 @@ export * as CfgSubscriptionsTypes from "./cfg__newsletter__subscriptions/models"
115
114
  export * as CfgTestingTypes from "./cfg__newsletter__testing/models";
116
115
  export * as CfgUserProfileTypes from "./cfg__accounts__user_profile/models";
117
116
  export * as CfgAccountsTypes from "./cfg__accounts/models";
118
- export * as CfgCentrifugoTypes from "./cfg__centrifugo/models";
119
117
  export * as CfgEndpointsTypes from "./cfg__endpoints/models";
120
118
  export * as CfgGrpcApiKeysTypes from "./cfg__grpc__grpc_api_keys/models";
121
119
  export * as CfgGrpcChartsTypes from "./cfg__grpc__grpc_charts/models";
@@ -228,7 +226,6 @@ export class API {
228
226
  public cfg_testing!: CfgTesting;
229
227
  public cfg_user_profile!: CfgUserProfile;
230
228
  public cfg_accounts!: CfgAccounts;
231
- public cfg_centrifugo!: CfgCentrifugo;
232
229
  public cfg_endpoints!: CfgEndpoints;
233
230
  public cfg_grpc_api_keys!: CfgGrpcApiKeys;
234
231
  public cfg_grpc_charts!: CfgGrpcCharts;
@@ -295,7 +292,6 @@ export class API {
295
292
  this.cfg_testing = this._client.cfg_testing;
296
293
  this.cfg_user_profile = this._client.cfg_user_profile;
297
294
  this.cfg_accounts = this._client.cfg_accounts;
298
- this.cfg_centrifugo = this._client.cfg_centrifugo;
299
295
  this.cfg_endpoints = this._client.cfg_endpoints;
300
296
  this.cfg_grpc_api_keys = this._client.cfg_grpc_api_keys;
301
297
  this.cfg_grpc_charts = this._client.cfg_grpc_charts;
@@ -356,7 +352,6 @@ export class API {
356
352
  this.cfg_testing = this._client.cfg_testing;
357
353
  this.cfg_user_profile = this._client.cfg_user_profile;
358
354
  this.cfg_accounts = this._client.cfg_accounts;
359
- this.cfg_centrifugo = this._client.cfg_centrifugo;
360
355
  this.cfg_endpoints = this._client.cfg_endpoints;
361
356
  this.cfg_grpc_api_keys = this._client.cfg_grpc_api_keys;
362
357
  this.cfg_grpc_charts = this._client.cfg_grpc_charts;