@djangocfg/api 1.2.23 → 1.2.25

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 (146) hide show
  1. package/dist/index.cjs +2770 -23332
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +1908 -19148
  4. package/dist/index.d.ts +1908 -19148
  5. package/dist/index.mjs +2705 -23279
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +2 -2
  8. package/src/cfg/contexts/index.ts +0 -11
  9. package/src/cfg/generated/_utils/fetchers/cfg__centrifugo.ts +3 -2
  10. package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_auth.ts +48 -0
  11. package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_monitoring.ts +5 -5
  12. package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_testing.ts +0 -16
  13. package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_api_keys.ts +78 -0
  14. package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_monitoring.ts +5 -20
  15. package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_proto_files.ts +91 -0
  16. package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_services.ts +5 -4
  17. package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_jobs.ts +10 -8
  18. package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_registries.ts +24 -22
  19. package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_schedules.ts +5 -4
  20. package/src/cfg/generated/_utils/fetchers/index.ts +3 -0
  21. package/src/cfg/generated/_utils/hooks/cfg__accounts.ts +0 -1
  22. package/src/cfg/generated/_utils/hooks/cfg__accounts__auth.ts +0 -1
  23. package/src/cfg/generated/_utils/hooks/cfg__centrifugo.ts +3 -3
  24. package/src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_admin_api.ts +0 -1
  25. package/src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_auth.ts +35 -0
  26. package/src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_monitoring.ts +5 -6
  27. package/src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_testing.ts +0 -21
  28. package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_activity.ts +0 -1
  29. package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_api_zones.ts +0 -1
  30. package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_charts.ts +0 -1
  31. package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_config.ts +0 -1
  32. package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_overview.ts +0 -1
  33. package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_statistics.ts +0 -1
  34. package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_system.ts +0 -1
  35. package/src/cfg/generated/_utils/hooks/cfg__endpoints.ts +0 -1
  36. package/src/cfg/generated/_utils/hooks/cfg__grpc__grpc_api_keys.ts +65 -0
  37. package/src/cfg/generated/_utils/hooks/cfg__grpc__grpc_charts.ts +0 -1
  38. package/src/cfg/generated/_utils/hooks/cfg__grpc__grpc_configuration.ts +0 -1
  39. package/src/cfg/generated/_utils/hooks/cfg__grpc__grpc_monitoring.ts +5 -21
  40. package/src/cfg/generated/_utils/hooks/cfg__grpc__grpc_proto_files.ts +83 -0
  41. package/src/cfg/generated/_utils/hooks/cfg__grpc__grpc_services.ts +3 -3
  42. package/src/cfg/generated/_utils/hooks/cfg__health.ts +0 -1
  43. package/src/cfg/generated/_utils/hooks/cfg__leads__lead_submission.ts +0 -1
  44. package/src/cfg/generated/_utils/hooks/cfg__newsletter.ts +0 -1
  45. package/src/cfg/generated/_utils/hooks/cfg__newsletter__bulk_email.ts +0 -1
  46. package/src/cfg/generated/_utils/hooks/cfg__newsletter__logs.ts +0 -1
  47. package/src/cfg/generated/_utils/hooks/cfg__newsletter__newsletters.ts +0 -1
  48. package/src/cfg/generated/_utils/hooks/cfg__newsletter__testing.ts +0 -1
  49. package/src/cfg/generated/_utils/hooks/cfg__rq__rq_jobs.ts +8 -6
  50. package/src/cfg/generated/_utils/hooks/cfg__rq__rq_monitoring.ts +0 -1
  51. package/src/cfg/generated/_utils/hooks/cfg__rq__rq_registries.ts +16 -14
  52. package/src/cfg/generated/_utils/hooks/cfg__rq__rq_schedules.ts +3 -2
  53. package/src/cfg/generated/_utils/hooks/cfg__rq__rq_workers.ts +0 -1
  54. package/src/cfg/generated/_utils/hooks/index.ts +3 -0
  55. package/src/cfg/generated/_utils/schemas/ApiKey.schema.ts +32 -0
  56. package/src/cfg/generated/_utils/schemas/ApiKeyStats.schema.ts +23 -0
  57. package/src/cfg/generated/_utils/schemas/CentrifugoToken.schema.ts +22 -0
  58. package/src/cfg/generated/_utils/schemas/Command.schema.ts +13 -0
  59. package/src/cfg/generated/_utils/schemas/ConnectionTokenResponse.schema.ts +3 -2
  60. package/src/cfg/generated/_utils/schemas/DashboardCharts.schema.ts +10 -10
  61. package/src/cfg/generated/_utils/schemas/GRPCCallRequestRequest.schema.ts +2 -2
  62. package/src/cfg/generated/_utils/schemas/GRPCConfig.schema.ts +6 -6
  63. package/src/cfg/generated/_utils/schemas/{GRPCExampleSerializer.schema.ts → GRPCExample.schema.ts} +3 -3
  64. package/src/cfg/generated/_utils/schemas/GRPCExamplesList.schema.ts +2 -2
  65. package/src/cfg/generated/_utils/schemas/{GRPCFeaturesSerializer.schema.ts → GRPCFeatures.schema.ts} +4 -4
  66. package/src/cfg/generated/_utils/schemas/{GRPCFrameworkConfigSerializer.schema.ts → GRPCFrameworkConfig.schema.ts} +3 -3
  67. package/src/cfg/generated/_utils/schemas/{GRPCInterceptorInfoSerializer.schema.ts → GRPCInterceptorInfo.schema.ts} +3 -3
  68. package/src/cfg/generated/_utils/schemas/GRPCOverviewStats.schema.ts +3 -1
  69. package/src/cfg/generated/_utils/schemas/GRPCRegisteredService.schema.ts +24 -0
  70. package/src/cfg/generated/_utils/schemas/{GRPCServerConfigSerializer.schema.ts → GRPCServerConfig.schema.ts} +4 -4
  71. package/src/cfg/generated/_utils/schemas/GRPCServerInfo.schema.ts +6 -6
  72. package/src/cfg/generated/_utils/schemas/GRPCServerStatus.schema.ts +34 -0
  73. package/src/cfg/generated/_utils/schemas/{GRPCServiceInfoSerializer.schema.ts → GRPCServiceInfo.schema.ts} +3 -3
  74. package/src/cfg/generated/_utils/schemas/{GRPCStatsSerializer.schema.ts → GRPCStats.schema.ts} +3 -3
  75. package/src/cfg/generated/_utils/schemas/JobListRequest.schema.ts +28 -0
  76. package/src/cfg/generated/_utils/schemas/{MethodInfoSerializer.schema.ts → MethodInfo.schema.ts} +3 -3
  77. package/src/cfg/generated/_utils/schemas/MethodList.schema.ts +2 -2
  78. package/src/cfg/generated/_utils/schemas/{MethodStatsSerializer.schema.ts → MethodStats.schema.ts} +3 -3
  79. package/src/cfg/generated/_utils/schemas/{MethodSummarySerializer.schema.ts → MethodSummary.schema.ts} +5 -5
  80. package/src/cfg/generated/_utils/schemas/PaginatedApiKeyList.schema.ts +24 -0
  81. package/src/cfg/generated/_utils/schemas/PaginatedJobListList.schema.ts +24 -0
  82. package/src/cfg/generated/_utils/schemas/PaginatedPublishList.schema.ts +24 -0
  83. package/src/cfg/generated/_utils/schemas/PaginatedRecentRequestList.schema.ts +24 -0
  84. package/src/cfg/generated/_utils/schemas/PaginatedScheduledJobList.schema.ts +24 -0
  85. package/src/cfg/generated/_utils/schemas/PaginatedServiceSummaryList.schema.ts +24 -0
  86. package/src/cfg/generated/_utils/schemas/ProtoFileDetail.schema.ts +27 -0
  87. package/src/cfg/generated/_utils/schemas/ProtoFileList.schema.ts +23 -0
  88. package/src/cfg/generated/_utils/schemas/ProtoGenerateError.schema.ts +20 -0
  89. package/src/cfg/generated/_utils/schemas/ProtoGenerateRequestRequest.schema.ts +20 -0
  90. package/src/cfg/generated/_utils/schemas/ProtoGenerateResponse.schema.ts +24 -0
  91. package/src/cfg/generated/_utils/schemas/Publish.schema.ts +29 -0
  92. package/src/cfg/generated/_utils/schemas/{RecentErrorSerializer.schema.ts → RecentError.schema.ts} +3 -3
  93. package/src/cfg/generated/_utils/schemas/RecentRequest.schema.ts +5 -0
  94. package/src/cfg/generated/_utils/schemas/ServiceDetail.schema.ts +6 -6
  95. package/src/cfg/generated/_utils/schemas/ServiceMethods.schema.ts +2 -2
  96. package/src/cfg/generated/_utils/schemas/{ServiceStatsSerializer.schema.ts → ServiceStats.schema.ts} +3 -3
  97. package/src/cfg/generated/_utils/schemas/ServiceSummary.schema.ts +26 -0
  98. package/src/cfg/generated/_utils/schemas/User.schema.ts +2 -0
  99. package/src/cfg/generated/_utils/schemas/index.ts +31 -21
  100. package/src/cfg/generated/cfg__accounts/models.ts +17 -0
  101. package/src/cfg/generated/cfg__accounts__user_profile/models.ts +17 -0
  102. package/src/cfg/generated/cfg__centrifugo/client.ts +1 -1
  103. package/src/cfg/generated/cfg__centrifugo/models.ts +19 -0
  104. package/src/cfg/generated/cfg__centrifugo__centrifugo_auth/client.ts +26 -0
  105. package/src/cfg/generated/cfg__centrifugo__centrifugo_auth/index.ts +2 -0
  106. package/src/cfg/generated/cfg__centrifugo__centrifugo_auth/models.ts +16 -0
  107. package/src/cfg/generated/cfg__centrifugo__centrifugo_monitoring/client.ts +6 -5
  108. package/src/cfg/generated/cfg__centrifugo__centrifugo_monitoring/models.ts +37 -11
  109. package/src/cfg/generated/cfg__centrifugo__centrifugo_testing/client.ts +0 -10
  110. package/src/cfg/generated/cfg__centrifugo__centrifugo_testing/models.ts +0 -26
  111. package/src/cfg/generated/cfg__dashboard__dashboard_commands/models.ts +10 -1
  112. package/src/cfg/generated/cfg__grpc__grpc_api_keys/client.ts +56 -0
  113. package/src/cfg/generated/cfg__grpc__grpc_api_keys/index.ts +2 -0
  114. package/src/cfg/generated/cfg__grpc__grpc_api_keys/models.ts +79 -0
  115. package/src/cfg/generated/cfg__grpc__grpc_charts/models.ts +0 -96
  116. package/src/cfg/generated/cfg__grpc__grpc_configuration/models.ts +12 -12
  117. package/src/cfg/generated/cfg__grpc__grpc_monitoring/client.ts +4 -25
  118. package/src/cfg/generated/cfg__grpc__grpc_monitoring/models.ts +111 -49
  119. package/src/cfg/generated/cfg__grpc__grpc_proto_files/client.ts +54 -0
  120. package/src/cfg/generated/cfg__grpc__grpc_proto_files/index.ts +2 -0
  121. package/src/cfg/generated/cfg__grpc__grpc_proto_files/models.ts +35 -0
  122. package/src/cfg/generated/cfg__grpc__grpc_services/client.ts +6 -5
  123. package/src/cfg/generated/cfg__grpc__grpc_services/models.ts +57 -8
  124. package/src/cfg/generated/cfg__grpc__grpc_testing/models.ts +2 -2
  125. package/src/cfg/generated/cfg__rq__rq_jobs/client.ts +8 -8
  126. package/src/cfg/generated/cfg__rq__rq_jobs/models.ts +65 -0
  127. package/src/cfg/generated/cfg__rq__rq_registries/client.ts +37 -34
  128. package/src/cfg/generated/cfg__rq__rq_registries/models.ts +65 -0
  129. package/src/cfg/generated/cfg__rq__rq_schedules/client.ts +4 -4
  130. package/src/cfg/generated/cfg__rq__rq_schedules/models.ts +25 -0
  131. package/src/cfg/generated/client.ts +9 -0
  132. package/src/cfg/generated/index.ts +27 -8
  133. package/src/cfg/generated/{schema.ts → schema.json} +19166 -18258
  134. package/src/index.ts +7 -2
  135. package/src/types/auth.ts +40 -0
  136. package/src/types/index.ts +7 -0
  137. package/src/cfg/contexts/AccountsContext.tsx +0 -205
  138. package/src/cfg/generated/_utils/schemas/ConnectionTokenRequestRequest.schema.ts +0 -20
  139. package/src/cfg/generated/_utils/schemas/ErrorDistributionChartSerializer.schema.ts +0 -24
  140. package/src/cfg/generated/_utils/schemas/MonitoringServiceStatsSerializer.schema.ts +0 -24
  141. package/src/cfg/generated/_utils/schemas/RecentPublishes.schema.ts +0 -23
  142. package/src/cfg/generated/_utils/schemas/RequestVolumeChartSerializer.schema.ts +0 -25
  143. package/src/cfg/generated/_utils/schemas/ResponseTimeChartSerializer.schema.ts +0 -25
  144. package/src/cfg/generated/_utils/schemas/ServerUptimeChartSerializer.schema.ts +0 -25
  145. package/src/cfg/generated/_utils/schemas/ServiceActivityChartSerializer.schema.ts +0 -24
  146. package/src/cfg/generated/_utils/schemas/ServiceList.schema.ts +0 -21
@@ -11,50 +11,50 @@ export class CfgRqRegistries {
11
11
  this.client = client;
12
12
  }
13
13
 
14
- async rqJobsRegistriesDeferredList(queue?: string): Promise<any>;
15
- async rqJobsRegistriesDeferredList(params?: { queue?: string }): Promise<any>;
14
+ async rqJobsRegistriesDeferredList(page?: number, page_size?: number, queue?: string): Promise<Models.PaginatedJobListList>;
15
+ async rqJobsRegistriesDeferredList(params?: { page?: number; page_size?: number; queue?: string }): Promise<Models.PaginatedJobListList>;
16
16
 
17
17
  /**
18
18
  * List deferred jobs
19
19
  *
20
20
  * Returns list of all deferred jobs from deferred job registry.
21
21
  */
22
- async rqJobsRegistriesDeferredList(...args: any[]): Promise<any> {
22
+ async rqJobsRegistriesDeferredList(...args: any[]): Promise<Models.PaginatedJobListList> {
23
23
  const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);
24
24
 
25
25
  let params;
26
26
  if (isParamsObject) {
27
27
  params = args[0];
28
28
  } else {
29
- params = { queue: args[0] };
29
+ params = { page: args[0], page_size: args[1], queue: args[2] };
30
30
  }
31
31
  const response = await this.client.request('GET', "/cfg/rq/jobs/registries/deferred/", { params });
32
32
  return response;
33
33
  }
34
34
 
35
- async rqJobsRegistriesFailedList(queue?: string): Promise<any>;
36
- async rqJobsRegistriesFailedList(params?: { queue?: string }): Promise<any>;
35
+ async rqJobsRegistriesFailedList(page?: number, page_size?: number, queue?: string): Promise<Models.PaginatedJobListList>;
36
+ async rqJobsRegistriesFailedList(params?: { page?: number; page_size?: number; queue?: string }): Promise<Models.PaginatedJobListList>;
37
37
 
38
38
  /**
39
39
  * List failed jobs
40
40
  *
41
41
  * Returns list of all failed jobs from failed job registry.
42
42
  */
43
- async rqJobsRegistriesFailedList(...args: any[]): Promise<any> {
43
+ async rqJobsRegistriesFailedList(...args: any[]): Promise<Models.PaginatedJobListList> {
44
44
  const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);
45
45
 
46
46
  let params;
47
47
  if (isParamsObject) {
48
48
  params = args[0];
49
49
  } else {
50
- params = { queue: args[0] };
50
+ params = { page: args[0], page_size: args[1], queue: args[2] };
51
51
  }
52
52
  const response = await this.client.request('GET', "/cfg/rq/jobs/registries/failed/", { params });
53
53
  return response;
54
54
  }
55
55
 
56
- async rqJobsRegistriesFailedClearCreate(queue: string): Promise<Models.JobActionResponse>;
57
- async rqJobsRegistriesFailedClearCreate(params: { queue: string }): Promise<Models.JobActionResponse>;
56
+ async rqJobsRegistriesFailedClearCreate(data: Models.JobListRequest, queue: string): Promise<Models.JobActionResponse>;
57
+ async rqJobsRegistriesFailedClearCreate(data: Models.JobListRequest, params: { queue: string }): Promise<Models.JobActionResponse>;
58
58
 
59
59
  /**
60
60
  * Clear failed jobs registry
@@ -62,20 +62,21 @@ export class CfgRqRegistries {
62
62
  * Removes all jobs from the failed job registry.
63
63
  */
64
64
  async rqJobsRegistriesFailedClearCreate(...args: any[]): Promise<Models.JobActionResponse> {
65
- const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);
65
+ const data = args[0];
66
+ const isParamsObject = args.length === 2 && typeof args[1] === 'object' && args[1] !== null && !Array.isArray(args[1]);
66
67
 
67
68
  let params;
68
69
  if (isParamsObject) {
69
- params = args[0];
70
+ params = args[1];
70
71
  } else {
71
- params = { queue: args[0] };
72
+ params = { queue: args[1] };
72
73
  }
73
- const response = await this.client.request('POST', "/cfg/rq/jobs/registries/failed/clear/", { params });
74
+ const response = await this.client.request('POST', "/cfg/rq/jobs/registries/failed/clear/", { params, body: data });
74
75
  return response;
75
76
  }
76
77
 
77
- async rqJobsRegistriesFailedRequeueAllCreate(queue: string): Promise<Models.JobActionResponse>;
78
- async rqJobsRegistriesFailedRequeueAllCreate(params: { queue: string }): Promise<Models.JobActionResponse>;
78
+ async rqJobsRegistriesFailedRequeueAllCreate(data: Models.JobListRequest, queue: string): Promise<Models.JobActionResponse>;
79
+ async rqJobsRegistriesFailedRequeueAllCreate(data: Models.JobListRequest, params: { queue: string }): Promise<Models.JobActionResponse>;
79
80
 
80
81
  /**
81
82
  * Requeue all failed jobs
@@ -83,41 +84,42 @@ export class CfgRqRegistries {
83
84
  * Requeues all failed jobs in the failed job registry.
84
85
  */
85
86
  async rqJobsRegistriesFailedRequeueAllCreate(...args: any[]): Promise<Models.JobActionResponse> {
86
- const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);
87
+ const data = args[0];
88
+ const isParamsObject = args.length === 2 && typeof args[1] === 'object' && args[1] !== null && !Array.isArray(args[1]);
87
89
 
88
90
  let params;
89
91
  if (isParamsObject) {
90
- params = args[0];
92
+ params = args[1];
91
93
  } else {
92
- params = { queue: args[0] };
94
+ params = { queue: args[1] };
93
95
  }
94
- const response = await this.client.request('POST', "/cfg/rq/jobs/registries/failed/requeue-all/", { params });
96
+ const response = await this.client.request('POST', "/cfg/rq/jobs/registries/failed/requeue-all/", { params, body: data });
95
97
  return response;
96
98
  }
97
99
 
98
- async rqJobsRegistriesFinishedList(queue?: string): Promise<any>;
99
- async rqJobsRegistriesFinishedList(params?: { queue?: string }): Promise<any>;
100
+ async rqJobsRegistriesFinishedList(page?: number, page_size?: number, queue?: string): Promise<Models.PaginatedJobListList>;
101
+ async rqJobsRegistriesFinishedList(params?: { page?: number; page_size?: number; queue?: string }): Promise<Models.PaginatedJobListList>;
100
102
 
101
103
  /**
102
104
  * List finished jobs
103
105
  *
104
106
  * Returns list of all finished jobs from finished job registry.
105
107
  */
106
- async rqJobsRegistriesFinishedList(...args: any[]): Promise<any> {
108
+ async rqJobsRegistriesFinishedList(...args: any[]): Promise<Models.PaginatedJobListList> {
107
109
  const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);
108
110
 
109
111
  let params;
110
112
  if (isParamsObject) {
111
113
  params = args[0];
112
114
  } else {
113
- params = { queue: args[0] };
115
+ params = { page: args[0], page_size: args[1], queue: args[2] };
114
116
  }
115
117
  const response = await this.client.request('GET', "/cfg/rq/jobs/registries/finished/", { params });
116
118
  return response;
117
119
  }
118
120
 
119
- async rqJobsRegistriesFinishedClearCreate(queue: string): Promise<Models.JobActionResponse>;
120
- async rqJobsRegistriesFinishedClearCreate(params: { queue: string }): Promise<Models.JobActionResponse>;
121
+ async rqJobsRegistriesFinishedClearCreate(data: Models.JobListRequest, queue: string): Promise<Models.JobActionResponse>;
122
+ async rqJobsRegistriesFinishedClearCreate(data: Models.JobListRequest, params: { queue: string }): Promise<Models.JobActionResponse>;
121
123
 
122
124
  /**
123
125
  * Clear finished jobs registry
@@ -125,34 +127,35 @@ export class CfgRqRegistries {
125
127
  * Removes all jobs from the finished job registry.
126
128
  */
127
129
  async rqJobsRegistriesFinishedClearCreate(...args: any[]): Promise<Models.JobActionResponse> {
128
- const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);
130
+ const data = args[0];
131
+ const isParamsObject = args.length === 2 && typeof args[1] === 'object' && args[1] !== null && !Array.isArray(args[1]);
129
132
 
130
133
  let params;
131
134
  if (isParamsObject) {
132
- params = args[0];
135
+ params = args[1];
133
136
  } else {
134
- params = { queue: args[0] };
137
+ params = { queue: args[1] };
135
138
  }
136
- const response = await this.client.request('POST', "/cfg/rq/jobs/registries/finished/clear/", { params });
139
+ const response = await this.client.request('POST', "/cfg/rq/jobs/registries/finished/clear/", { params, body: data });
137
140
  return response;
138
141
  }
139
142
 
140
- async rqJobsRegistriesStartedList(queue?: string): Promise<any>;
141
- async rqJobsRegistriesStartedList(params?: { queue?: string }): Promise<any>;
143
+ async rqJobsRegistriesStartedList(page?: number, page_size?: number, queue?: string): Promise<Models.PaginatedJobListList>;
144
+ async rqJobsRegistriesStartedList(params?: { page?: number; page_size?: number; queue?: string }): Promise<Models.PaginatedJobListList>;
142
145
 
143
146
  /**
144
147
  * List started jobs
145
148
  *
146
149
  * Returns list of all currently running jobs from started job registry.
147
150
  */
148
- async rqJobsRegistriesStartedList(...args: any[]): Promise<any> {
151
+ async rqJobsRegistriesStartedList(...args: any[]): Promise<Models.PaginatedJobListList> {
149
152
  const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);
150
153
 
151
154
  let params;
152
155
  if (isParamsObject) {
153
156
  params = args[0];
154
157
  } else {
155
- params = { queue: args[0] };
158
+ params = { page: args[0], page_size: args[1], queue: args[2] };
156
159
  }
157
160
  const response = await this.client.request('GET', "/cfg/rq/jobs/registries/started/", { params });
158
161
  return response;
@@ -1,3 +1,48 @@
1
+ /**
2
+ *
3
+ * Response model (includes read-only fields).
4
+ */
5
+ export interface PaginatedJobListList {
6
+ /** Total number of items across all pages */
7
+ count: number;
8
+ /** Current page number (1-based) */
9
+ page: number;
10
+ /** Total number of pages */
11
+ pages: number;
12
+ /** Number of items per page */
13
+ page_size: number;
14
+ /** Whether there is a next page */
15
+ has_next: boolean;
16
+ /** Whether there is a previous page */
17
+ has_previous: boolean;
18
+ /** Next page number (null if no next page) */
19
+ next_page?: number | null;
20
+ /** Previous page number (null if no previous page) */
21
+ previous_page?: number | null;
22
+ /** Array of items for current page */
23
+ results: Array<JobList>;
24
+ }
25
+
26
+ /**
27
+ * Job list item serializer. Provides basic job information for list views.
28
+ *
29
+ * Request model (no read-only fields).
30
+ */
31
+ export interface JobListRequest {
32
+ /** Job ID */
33
+ id: string;
34
+ /** Function name */
35
+ func_name: string;
36
+ /** Job creation time */
37
+ created_at: string;
38
+ /** Job status (queued/started/finished/failed) */
39
+ status: string;
40
+ /** Queue name */
41
+ queue: string;
42
+ /** Job timeout in seconds */
43
+ timeout?: number | null;
44
+ }
45
+
1
46
  /**
2
47
  * Job action response serializer. Used for job management actions (requeue,
3
48
  * delete, etc.).
@@ -15,3 +60,23 @@ export interface JobActionResponse {
15
60
  action: string;
16
61
  }
17
62
 
63
+ /**
64
+ * Job list item serializer. Provides basic job information for list views.
65
+ *
66
+ * Response model (includes read-only fields).
67
+ */
68
+ export interface JobList {
69
+ /** Job ID */
70
+ id: string;
71
+ /** Function name */
72
+ func_name: string;
73
+ /** Job creation time */
74
+ created_at: string;
75
+ /** Job status (queued/started/finished/failed) */
76
+ status: string;
77
+ /** Queue name */
78
+ queue: string;
79
+ /** Job timeout in seconds */
80
+ timeout?: number | null;
81
+ }
82
+
@@ -11,22 +11,22 @@ export class CfgRqSchedules {
11
11
  this.client = client;
12
12
  }
13
13
 
14
- async list(queue?: string): Promise<any>;
15
- async list(params?: { queue?: string }): Promise<any>;
14
+ async list(page?: number, page_size?: number, queue?: string): Promise<Models.PaginatedScheduledJobList>;
15
+ async list(params?: { page?: number; page_size?: number; queue?: string }): Promise<Models.PaginatedScheduledJobList>;
16
16
 
17
17
  /**
18
18
  * List scheduled jobs
19
19
  *
20
20
  * Returns list of all scheduled jobs across all queues.
21
21
  */
22
- async list(...args: any[]): Promise<any> {
22
+ async list(...args: any[]): Promise<Models.PaginatedScheduledJobList> {
23
23
  const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);
24
24
 
25
25
  let params;
26
26
  if (isParamsObject) {
27
27
  params = args[0];
28
28
  } else {
29
- params = { queue: args[0] };
29
+ params = { page: args[0], page_size: args[1], queue: args[2] };
30
30
  }
31
31
  const response = await this.client.request('GET', "/cfg/rq/schedules/", { params });
32
32
  return response;
@@ -1,3 +1,28 @@
1
+ /**
2
+ *
3
+ * Response model (includes read-only fields).
4
+ */
5
+ export interface PaginatedScheduledJobList {
6
+ /** Total number of items across all pages */
7
+ count: number;
8
+ /** Current page number (1-based) */
9
+ page: number;
10
+ /** Total number of pages */
11
+ pages: number;
12
+ /** Number of items per page */
13
+ page_size: number;
14
+ /** Whether there is a next page */
15
+ has_next: boolean;
16
+ /** Whether there is a previous page */
17
+ has_previous: boolean;
18
+ /** Next page number (null if no next page) */
19
+ next_page?: number | null;
20
+ /** Previous page number (null if no previous page) */
21
+ previous_page?: number | null;
22
+ /** Array of items for current page */
23
+ results: Array<ScheduledJob>;
24
+ }
25
+
1
26
  /**
2
27
  * Serializer for creating a scheduled job. Supports three scheduling methods:
3
28
  * 1. scheduled_time: Schedule job at specific time 2. interval: Schedule job
@@ -2,6 +2,7 @@ import { CfgAuth } from "./cfg__accounts__auth";
2
2
  import { CfgBulkEmail } from "./cfg__newsletter__bulk_email";
3
3
  import { CfgCampaigns } from "./cfg__newsletter__campaigns";
4
4
  import { CfgCentrifugoAdminApi } from "./cfg__centrifugo__centrifugo_admin_api";
5
+ import { CfgCentrifugoAuth } from "./cfg__centrifugo__centrifugo_auth";
5
6
  import { CfgCentrifugoMonitoring } from "./cfg__centrifugo__centrifugo_monitoring";
6
7
  import { CfgCentrifugoTesting } from "./cfg__centrifugo__centrifugo_testing";
7
8
  import { CfgDashboardApiZones } from "./cfg__dashboard__dashboard_api_zones";
@@ -28,9 +29,11 @@ import { CfgUserProfile } from "./cfg__accounts__user_profile";
28
29
  import { CfgAccounts } from "./cfg__accounts";
29
30
  import { CfgCentrifugo } from "./cfg__centrifugo";
30
31
  import { CfgEndpoints } from "./cfg__endpoints";
32
+ import { CfgGrpcApiKeys } from "./cfg__grpc__grpc_api_keys";
31
33
  import { CfgGrpcCharts } from "./cfg__grpc__grpc_charts";
32
34
  import { CfgGrpcConfiguration } from "./cfg__grpc__grpc_configuration";
33
35
  import { CfgGrpcMonitoring } from "./cfg__grpc__grpc_monitoring";
36
+ import { CfgGrpcProtoFiles } from "./cfg__grpc__grpc_proto_files";
34
37
  import { CfgGrpcServices } from "./cfg__grpc__grpc_services";
35
38
  import { CfgGrpcTesting } from "./cfg__grpc__grpc_testing";
36
39
  import { CfgHealth } from "./cfg__health";
@@ -71,6 +74,7 @@ export class APIClient {
71
74
  public cfg_bulk_email: CfgBulkEmail;
72
75
  public cfg_campaigns: CfgCampaigns;
73
76
  public cfg_centrifugo_admin_api: CfgCentrifugoAdminApi;
77
+ public cfg_centrifugo_auth: CfgCentrifugoAuth;
74
78
  public cfg_centrifugo_monitoring: CfgCentrifugoMonitoring;
75
79
  public cfg_centrifugo_testing: CfgCentrifugoTesting;
76
80
  public cfg_dashboard_api_zones: CfgDashboardApiZones;
@@ -97,9 +101,11 @@ export class APIClient {
97
101
  public cfg_accounts: CfgAccounts;
98
102
  public cfg_centrifugo: CfgCentrifugo;
99
103
  public cfg_endpoints: CfgEndpoints;
104
+ public cfg_grpc_api_keys: CfgGrpcApiKeys;
100
105
  public cfg_grpc_charts: CfgGrpcCharts;
101
106
  public cfg_grpc_configuration: CfgGrpcConfiguration;
102
107
  public cfg_grpc_monitoring: CfgGrpcMonitoring;
108
+ public cfg_grpc_proto_files: CfgGrpcProtoFiles;
103
109
  public cfg_grpc_services: CfgGrpcServices;
104
110
  public cfg_grpc_testing: CfgGrpcTesting;
105
111
  public cfg_health: CfgHealth;
@@ -135,6 +141,7 @@ export class APIClient {
135
141
  this.cfg_bulk_email = new CfgBulkEmail(this);
136
142
  this.cfg_campaigns = new CfgCampaigns(this);
137
143
  this.cfg_centrifugo_admin_api = new CfgCentrifugoAdminApi(this);
144
+ this.cfg_centrifugo_auth = new CfgCentrifugoAuth(this);
138
145
  this.cfg_centrifugo_monitoring = new CfgCentrifugoMonitoring(this);
139
146
  this.cfg_centrifugo_testing = new CfgCentrifugoTesting(this);
140
147
  this.cfg_dashboard_api_zones = new CfgDashboardApiZones(this);
@@ -161,9 +168,11 @@ export class APIClient {
161
168
  this.cfg_accounts = new CfgAccounts(this);
162
169
  this.cfg_centrifugo = new CfgCentrifugo(this);
163
170
  this.cfg_endpoints = new CfgEndpoints(this);
171
+ this.cfg_grpc_api_keys = new CfgGrpcApiKeys(this);
164
172
  this.cfg_grpc_charts = new CfgGrpcCharts(this);
165
173
  this.cfg_grpc_configuration = new CfgGrpcConfiguration(this);
166
174
  this.cfg_grpc_monitoring = new CfgGrpcMonitoring(this);
175
+ this.cfg_grpc_proto_files = new CfgGrpcProtoFiles(this);
167
176
  this.cfg_grpc_services = new CfgGrpcServices(this);
168
177
  this.cfg_grpc_testing = new CfgGrpcTesting(this);
169
178
  this.cfg_health = new CfgHealth(this);
@@ -33,7 +33,6 @@
33
33
  */
34
34
 
35
35
  import { APIClient } from "./client";
36
- import { OPENAPI_SCHEMA } from "./schema";
37
36
  import {
38
37
  StorageAdapter,
39
38
  LocalStorageAdapter,
@@ -47,6 +46,7 @@ import { CfgAuth } from "./cfg__accounts__auth/client";
47
46
  import { CfgBulkEmail } from "./cfg__newsletter__bulk_email/client";
48
47
  import { CfgCampaigns } from "./cfg__newsletter__campaigns/client";
49
48
  import { CfgCentrifugoAdminApi } from "./cfg__centrifugo__centrifugo_admin_api/client";
49
+ import { CfgCentrifugoAuth } from "./cfg__centrifugo__centrifugo_auth/client";
50
50
  import { CfgCentrifugoMonitoring } from "./cfg__centrifugo__centrifugo_monitoring/client";
51
51
  import { CfgCentrifugoTesting } from "./cfg__centrifugo__centrifugo_testing/client";
52
52
  import { CfgDashboardApiZones } from "./cfg__dashboard__dashboard_api_zones/client";
@@ -73,9 +73,11 @@ import { CfgUserProfile } from "./cfg__accounts__user_profile/client";
73
73
  import { CfgAccounts } from "./cfg__accounts/client";
74
74
  import { CfgCentrifugo } from "./cfg__centrifugo/client";
75
75
  import { CfgEndpoints } from "./cfg__endpoints/client";
76
+ import { CfgGrpcApiKeys } from "./cfg__grpc__grpc_api_keys/client";
76
77
  import { CfgGrpcCharts } from "./cfg__grpc__grpc_charts/client";
77
78
  import { CfgGrpcConfiguration } from "./cfg__grpc__grpc_configuration/client";
78
79
  import { CfgGrpcMonitoring } from "./cfg__grpc__grpc_monitoring/client";
80
+ import { CfgGrpcProtoFiles } from "./cfg__grpc__grpc_proto_files/client";
79
81
  import { CfgGrpcServices } from "./cfg__grpc__grpc_services/client";
80
82
  import { CfgGrpcTesting } from "./cfg__grpc__grpc_testing/client";
81
83
  import { CfgHealth } from "./cfg__health/client";
@@ -88,6 +90,7 @@ export * as CfgAuthTypes from "./cfg__accounts__auth/models";
88
90
  export * as CfgBulkEmailTypes from "./cfg__newsletter__bulk_email/models";
89
91
  export * as CfgCampaignsTypes from "./cfg__newsletter__campaigns/models";
90
92
  export * as CfgCentrifugoAdminApiTypes from "./cfg__centrifugo__centrifugo_admin_api/models";
93
+ export * as CfgCentrifugoAuthTypes from "./cfg__centrifugo__centrifugo_auth/models";
91
94
  export * as CfgCentrifugoMonitoringTypes from "./cfg__centrifugo__centrifugo_monitoring/models";
92
95
  export * as CfgCentrifugoTestingTypes from "./cfg__centrifugo__centrifugo_testing/models";
93
96
  export * as CfgDashboardApiZonesTypes from "./cfg__dashboard__dashboard_api_zones/models";
@@ -114,9 +117,11 @@ export * as CfgUserProfileTypes from "./cfg__accounts__user_profile/models";
114
117
  export * as CfgAccountsTypes from "./cfg__accounts/models";
115
118
  export * as CfgCentrifugoTypes from "./cfg__centrifugo/models";
116
119
  export * as CfgEndpointsTypes from "./cfg__endpoints/models";
120
+ export * as CfgGrpcApiKeysTypes from "./cfg__grpc__grpc_api_keys/models";
117
121
  export * as CfgGrpcChartsTypes from "./cfg__grpc__grpc_charts/models";
118
122
  export * as CfgGrpcConfigurationTypes from "./cfg__grpc__grpc_configuration/models";
119
123
  export * as CfgGrpcMonitoringTypes from "./cfg__grpc__grpc_monitoring/models";
124
+ export * as CfgGrpcProtoFilesTypes from "./cfg__grpc__grpc_proto_files/models";
120
125
  export * as CfgGrpcServicesTypes from "./cfg__grpc__grpc_services/models";
121
126
  export * as CfgGrpcTestingTypes from "./cfg__grpc__grpc_testing/models";
122
127
  export * as CfgHealthTypes from "./cfg__health/models";
@@ -150,9 +155,6 @@ export * as Hooks from "./_utils/hooks";
150
155
  // Re-export core client
151
156
  export { APIClient };
152
157
 
153
- // Re-export OpenAPI schema
154
- export { OPENAPI_SCHEMA };
155
-
156
158
  // Re-export storage adapters for convenience
157
159
  export type { StorageAdapter };
158
160
  export { LocalStorageAdapter, CookieStorageAdapter, MemoryStorageAdapter };
@@ -197,6 +199,7 @@ export class API {
197
199
  public cfg_bulk_email!: CfgBulkEmail;
198
200
  public cfg_campaigns!: CfgCampaigns;
199
201
  public cfg_centrifugo_admin_api!: CfgCentrifugoAdminApi;
202
+ public cfg_centrifugo_auth!: CfgCentrifugoAuth;
200
203
  public cfg_centrifugo_monitoring!: CfgCentrifugoMonitoring;
201
204
  public cfg_centrifugo_testing!: CfgCentrifugoTesting;
202
205
  public cfg_dashboard_api_zones!: CfgDashboardApiZones;
@@ -223,9 +226,11 @@ export class API {
223
226
  public cfg_accounts!: CfgAccounts;
224
227
  public cfg_centrifugo!: CfgCentrifugo;
225
228
  public cfg_endpoints!: CfgEndpoints;
229
+ public cfg_grpc_api_keys!: CfgGrpcApiKeys;
226
230
  public cfg_grpc_charts!: CfgGrpcCharts;
227
231
  public cfg_grpc_configuration!: CfgGrpcConfiguration;
228
232
  public cfg_grpc_monitoring!: CfgGrpcMonitoring;
233
+ public cfg_grpc_proto_files!: CfgGrpcProtoFiles;
229
234
  public cfg_grpc_services!: CfgGrpcServices;
230
235
  public cfg_grpc_testing!: CfgGrpcTesting;
231
236
  public cfg_health!: CfgHealth;
@@ -261,6 +266,7 @@ export class API {
261
266
  this.cfg_bulk_email = this._client.cfg_bulk_email;
262
267
  this.cfg_campaigns = this._client.cfg_campaigns;
263
268
  this.cfg_centrifugo_admin_api = this._client.cfg_centrifugo_admin_api;
269
+ this.cfg_centrifugo_auth = this._client.cfg_centrifugo_auth;
264
270
  this.cfg_centrifugo_monitoring = this._client.cfg_centrifugo_monitoring;
265
271
  this.cfg_centrifugo_testing = this._client.cfg_centrifugo_testing;
266
272
  this.cfg_dashboard_api_zones = this._client.cfg_dashboard_api_zones;
@@ -287,9 +293,11 @@ export class API {
287
293
  this.cfg_accounts = this._client.cfg_accounts;
288
294
  this.cfg_centrifugo = this._client.cfg_centrifugo;
289
295
  this.cfg_endpoints = this._client.cfg_endpoints;
296
+ this.cfg_grpc_api_keys = this._client.cfg_grpc_api_keys;
290
297
  this.cfg_grpc_charts = this._client.cfg_grpc_charts;
291
298
  this.cfg_grpc_configuration = this._client.cfg_grpc_configuration;
292
299
  this.cfg_grpc_monitoring = this._client.cfg_grpc_monitoring;
300
+ this.cfg_grpc_proto_files = this._client.cfg_grpc_proto_files;
293
301
  this.cfg_grpc_services = this._client.cfg_grpc_services;
294
302
  this.cfg_grpc_testing = this._client.cfg_grpc_testing;
295
303
  this.cfg_health = this._client.cfg_health;
@@ -319,6 +327,7 @@ export class API {
319
327
  this.cfg_bulk_email = this._client.cfg_bulk_email;
320
328
  this.cfg_campaigns = this._client.cfg_campaigns;
321
329
  this.cfg_centrifugo_admin_api = this._client.cfg_centrifugo_admin_api;
330
+ this.cfg_centrifugo_auth = this._client.cfg_centrifugo_auth;
322
331
  this.cfg_centrifugo_monitoring = this._client.cfg_centrifugo_monitoring;
323
332
  this.cfg_centrifugo_testing = this._client.cfg_centrifugo_testing;
324
333
  this.cfg_dashboard_api_zones = this._client.cfg_dashboard_api_zones;
@@ -345,9 +354,11 @@ export class API {
345
354
  this.cfg_accounts = this._client.cfg_accounts;
346
355
  this.cfg_centrifugo = this._client.cfg_centrifugo;
347
356
  this.cfg_endpoints = this._client.cfg_endpoints;
357
+ this.cfg_grpc_api_keys = this._client.cfg_grpc_api_keys;
348
358
  this.cfg_grpc_charts = this._client.cfg_grpc_charts;
349
359
  this.cfg_grpc_configuration = this._client.cfg_grpc_configuration;
350
360
  this.cfg_grpc_monitoring = this._client.cfg_grpc_monitoring;
361
+ this.cfg_grpc_proto_files = this._client.cfg_grpc_proto_files;
351
362
  this.cfg_grpc_services = this._client.cfg_grpc_services;
352
363
  this.cfg_grpc_testing = this._client.cfg_grpc_testing;
353
364
  this.cfg_health = this._client.cfg_health;
@@ -449,11 +460,19 @@ export class API {
449
460
  }
450
461
 
451
462
  /**
452
- * Get OpenAPI schema
453
- * @returns Complete OpenAPI specification for this API
463
+ * Get OpenAPI schema path
464
+ * @returns Path to the OpenAPI schema JSON file
465
+ *
466
+ * Note: The OpenAPI schema is available in the schema.json file.
467
+ * You can load it dynamically using:
468
+ * ```typescript
469
+ * const schema = await fetch('./schema.json').then(r => r.json());
470
+ * // or using fs in Node.js:
471
+ * // const schema = JSON.parse(fs.readFileSync('./schema.json', 'utf-8'));
472
+ * ```
454
473
  */
455
- getSchema(): any {
456
- return OPENAPI_SCHEMA;
474
+ getSchemaPath(): string {
475
+ return './schema.json';
457
476
  }
458
477
  }
459
478