waldur-js-client 7.9.7-dev.5 → 7.9.7-dev.7

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.
@@ -10,6 +10,46 @@ export type AccessSubnetRequest = {
10
10
  customer: string;
11
11
  };
12
12
  export type AccountNameGenerationPolicyEnum = 'project_slug';
13
+ export type ActiveQueriesStats = {
14
+ /**
15
+ * Number of currently active queries
16
+ */
17
+ readonly count: number;
18
+ /**
19
+ * Duration of the longest running query in seconds
20
+ */
21
+ readonly longest_duration_seconds: number;
22
+ /**
23
+ * Number of queries waiting on locks
24
+ */
25
+ readonly waiting_on_locks: number;
26
+ /**
27
+ * List of active queries
28
+ */
29
+ readonly queries: Array<ActiveQuery>;
30
+ };
31
+ export type ActiveQuery = {
32
+ /**
33
+ * Process ID
34
+ */
35
+ readonly pid: number;
36
+ /**
37
+ * Query duration in seconds
38
+ */
39
+ readonly duration_seconds: number;
40
+ /**
41
+ * Query state
42
+ */
43
+ readonly state: string;
44
+ /**
45
+ * Type of event the query is waiting for
46
+ */
47
+ readonly wait_event_type: string | null;
48
+ /**
49
+ * First 100 characters of the query
50
+ */
51
+ readonly query_preview: string;
52
+ };
13
53
  export type AdminAnnouncement = {
14
54
  readonly uuid?: string;
15
55
  description?: string;
@@ -62,6 +102,72 @@ export type AffinityMatrixResponse = {
62
102
  results: Array<AffinityMatrixEntry>;
63
103
  };
64
104
  export type AffinityMethodEnum = 'keyword' | 'tfidf' | 'combined';
105
+ export type AgentConnectionInfo = {
106
+ /**
107
+ * Agent identity UUID
108
+ */
109
+ readonly uuid: string;
110
+ /**
111
+ * Agent name
112
+ */
113
+ readonly name: string;
114
+ /**
115
+ * Associated offering UUID
116
+ */
117
+ readonly offering_uuid: string;
118
+ /**
119
+ * Associated offering name
120
+ */
121
+ readonly offering_name: string;
122
+ /**
123
+ * Agent version
124
+ */
125
+ readonly version: string | null;
126
+ /**
127
+ * When the agent was last restarted
128
+ */
129
+ readonly last_restarted: string;
130
+ /**
131
+ * Services running within this agent
132
+ */
133
+ readonly services: Array<AgentServiceStatus>;
134
+ /**
135
+ * Event subscriptions with connection status
136
+ */
137
+ readonly event_subscriptions: Array<AgentEventSubscriptionWithConnection>;
138
+ /**
139
+ * RabbitMQ queues for this agent's offering
140
+ */
141
+ readonly queues: Array<AgentQueueInfo>;
142
+ };
143
+ export type AgentConnectionStatsResponse = {
144
+ /**
145
+ * List of agents with connection status
146
+ */
147
+ readonly agents: Array<AgentConnectionInfo>;
148
+ /**
149
+ * Summary statistics
150
+ */
151
+ summary: AgentConnectionSummary;
152
+ };
153
+ export type AgentConnectionSummary = {
154
+ /**
155
+ * Total number of registered agents
156
+ */
157
+ readonly total_agents: number;
158
+ /**
159
+ * Number of agents with active RMQ connections
160
+ */
161
+ readonly connected_agents: number;
162
+ /**
163
+ * Number of agents without active connections
164
+ */
165
+ readonly disconnected_agents: number;
166
+ /**
167
+ * Total messages across all agent queues
168
+ */
169
+ readonly total_queued_messages: number;
170
+ };
65
171
  export type AgentEventSubscriptionCreateRequest = {
66
172
  /**
67
173
  * The type of object to observe for events
@@ -72,9 +178,30 @@ export type AgentEventSubscriptionCreateRequest = {
72
178
  */
73
179
  description?: string;
74
180
  };
181
+ export type AgentEventSubscriptionWithConnection = {
182
+ /**
183
+ * Event subscription UUID
184
+ */
185
+ readonly uuid: string;
186
+ /**
187
+ * When the subscription was created
188
+ */
189
+ readonly created: string;
190
+ /**
191
+ * List of observable object configurations
192
+ */
193
+ readonly observable_objects: unknown;
194
+ /**
195
+ * RabbitMQ connection status for this subscription
196
+ */
197
+ rmq_connection: AgentRmqConnection | null;
198
+ };
75
199
  export type AgentIdentity = {
76
200
  readonly uuid: string;
77
201
  readonly url: string;
202
+ /**
203
+ * UUID of an offering with type 'Marketplace.Slurm'. Only site-agent offerings are accepted.
204
+ */
78
205
  offering: string;
79
206
  name: string;
80
207
  version?: string | null;
@@ -93,6 +220,9 @@ export type AgentIdentity = {
93
220
  readonly services: Array<NestedAgentService>;
94
221
  };
95
222
  export type AgentIdentityRequest = {
223
+ /**
224
+ * UUID of an offering with type 'Marketplace.Slurm'. Only site-agent offerings are accepted.
225
+ */
96
226
  offering: string;
97
227
  name: string;
98
228
  version?: string | null;
@@ -130,6 +260,50 @@ export type AgentProcessorCreateRequest = {
130
260
  backend_type: string;
131
261
  backend_version?: string | null;
132
262
  };
263
+ export type AgentQueueInfo = {
264
+ /**
265
+ * Queue name
266
+ */
267
+ readonly name: string;
268
+ /**
269
+ * Number of messages in queue
270
+ */
271
+ readonly messages: number;
272
+ /**
273
+ * Number of active consumers
274
+ */
275
+ readonly consumers: number;
276
+ /**
277
+ * Parsed object type from queue name
278
+ */
279
+ readonly object_type: string | null;
280
+ };
281
+ export type AgentRmqConnection = {
282
+ /**
283
+ * Whether the agent has an active connection
284
+ */
285
+ readonly connected: boolean;
286
+ /**
287
+ * Client IP address of active connection
288
+ */
289
+ readonly source_ip: string | null;
290
+ /**
291
+ * Connection establishment timestamp
292
+ */
293
+ readonly connected_at: string | null;
294
+ /**
295
+ * Connection state: 'running', 'blocked', 'blocking'
296
+ */
297
+ readonly state: string | null;
298
+ /**
299
+ * Bytes received on this connection
300
+ */
301
+ readonly recv_oct: number | null;
302
+ /**
303
+ * Bytes sent on this connection
304
+ */
305
+ readonly send_oct: number | null;
306
+ };
133
307
  export type AgentService = {
134
308
  readonly uuid: string;
135
309
  readonly url: string;
@@ -154,6 +328,68 @@ export type AgentServiceStatisticsRequest = {
154
328
  */
155
329
  statistics: unknown;
156
330
  };
331
+ export type AgentServiceStatus = {
332
+ /**
333
+ * Service UUID
334
+ */
335
+ readonly uuid: string;
336
+ /**
337
+ * Service name
338
+ */
339
+ readonly name: string;
340
+ /**
341
+ * Service state: ACTIVE, IDLE, or ERROR
342
+ */
343
+ readonly state: string;
344
+ /**
345
+ * Last modification timestamp
346
+ */
347
+ readonly modified: string;
348
+ };
349
+ export type AgentStatsResponse = {
350
+ /**
351
+ * Statistics about agent identities
352
+ */
353
+ identities: {
354
+ [key: string]: unknown;
355
+ };
356
+ /**
357
+ * Statistics about agent services
358
+ */
359
+ services: {
360
+ [key: string]: unknown;
361
+ };
362
+ /**
363
+ * Statistics about agent processors
364
+ */
365
+ processors: {
366
+ [key: string]: unknown;
367
+ };
368
+ };
369
+ export type AgentTaskStatsResponse = {
370
+ /**
371
+ * Currently running agent-related tasks
372
+ */
373
+ active_tasks: Array<{
374
+ [key: string]: unknown;
375
+ }>;
376
+ /**
377
+ * Scheduled agent-related tasks
378
+ */
379
+ scheduled_tasks: Array<{
380
+ [key: string]: unknown;
381
+ }>;
382
+ /**
383
+ * Reserved agent-related tasks
384
+ */
385
+ reserved_tasks: Array<{
386
+ [key: string]: unknown;
387
+ }>;
388
+ /**
389
+ * Error message if task inspection failed
390
+ */
391
+ error?: string;
392
+ };
157
393
  export type AgentTypeEnum = 'Order processing' | 'Usage reporting' | 'Glauth sync' | 'Resource sync' | 'Event processing' | 'unknown';
158
394
  export type AgreementTypeEnum = 'TOS' | 'PP';
159
395
  export type Allocation = {
@@ -1649,6 +1885,24 @@ export type CoiStatusUpdateRequest = {
1649
1885
  management_plan?: string;
1650
1886
  };
1651
1887
  export type CoiStatusUpdateStatusEnum = 'dismissed' | 'waived' | 'recused';
1888
+ export type CachePerformance = {
1889
+ /**
1890
+ * Buffer cache hit ratio percentage (should be >99%)
1891
+ */
1892
+ readonly buffer_cache_hit_ratio: number | null;
1893
+ /**
1894
+ * Index cache hit ratio percentage
1895
+ */
1896
+ readonly index_hit_ratio: number | null;
1897
+ /**
1898
+ * Configured shared_buffers setting
1899
+ */
1900
+ readonly shared_buffers: string;
1901
+ /**
1902
+ * Configured effective_cache_size setting
1903
+ */
1904
+ readonly effective_cache_size: string;
1905
+ };
1652
1906
  export type CallAssignmentConfiguration = {
1653
1907
  readonly uuid: string;
1654
1908
  readonly call: string;
@@ -2555,6 +2809,32 @@ export type ChecklistTemplate = {
2555
2809
  initial_visible_questions: Array<Question>;
2556
2810
  };
2557
2811
  export type ChecklistTypeEnum = 'project_compliance' | 'proposal_compliance' | 'offering_compliance' | 'project_metadata' | 'onboarding_customer' | 'onboarding_intent';
2812
+ export type CleanupRequestRequest = {
2813
+ /**
2814
+ * If true, only return what would be deleted without actually deleting
2815
+ */
2816
+ dry_run?: boolean;
2817
+ /**
2818
+ * Delete entries older than this many hours
2819
+ */
2820
+ older_than_hours?: number;
2821
+ };
2822
+ export type CleanupResponse = {
2823
+ /**
2824
+ * Number of items deleted (or would be deleted in dry run)
2825
+ */
2826
+ deleted_count: number;
2827
+ /**
2828
+ * Whether this was a dry run
2829
+ */
2830
+ dry_run: boolean;
2831
+ /**
2832
+ * List of deleted (or to-be-deleted) items
2833
+ */
2834
+ items: Array<{
2835
+ [key: string]: unknown;
2836
+ }>;
2837
+ };
2558
2838
  export type ClusterSecurityGroup = {
2559
2839
  readonly uuid: string;
2560
2840
  readonly name: string;
@@ -2894,6 +3174,32 @@ export type ConflictSummaryResponse = {
2894
3174
  [key: string]: number;
2895
3175
  };
2896
3176
  };
3177
+ export type ConnectionStats = {
3178
+ /**
3179
+ * Number of active connections
3180
+ */
3181
+ readonly active: number;
3182
+ /**
3183
+ * Number of idle connections
3184
+ */
3185
+ readonly idle: number;
3186
+ /**
3187
+ * Number of connections idle in transaction
3188
+ */
3189
+ readonly idle_in_transaction: number;
3190
+ /**
3191
+ * Number of connections waiting for a lock
3192
+ */
3193
+ readonly waiting: number;
3194
+ /**
3195
+ * Maximum allowed connections
3196
+ */
3197
+ readonly max_connections: number;
3198
+ /**
3199
+ * Percentage of max connections in use
3200
+ */
3201
+ readonly utilization_percent: number;
3202
+ };
2897
3203
  export type ConsoleUrl = {
2898
3204
  readonly url: string;
2899
3205
  };
@@ -3975,6 +4281,66 @@ export type DataVolumeRequest = {
3975
4281
  filesystem?: string;
3976
4282
  mount_point: string;
3977
4283
  };
4284
+ export type DatabaseSizeStats = {
4285
+ /**
4286
+ * Name of the database
4287
+ */
4288
+ readonly database_name: string;
4289
+ /**
4290
+ * Total database size in bytes
4291
+ */
4292
+ readonly total_size_bytes: number;
4293
+ /**
4294
+ * Size of data excluding indexes in bytes
4295
+ */
4296
+ readonly data_size_bytes: number;
4297
+ /**
4298
+ * Total size of all indexes in bytes
4299
+ */
4300
+ readonly index_size_bytes: number;
4301
+ };
4302
+ export type DatabaseStatsResponse = {
4303
+ /**
4304
+ * Top largest tables by size
4305
+ */
4306
+ readonly table_stats: Array<TableSize>;
4307
+ /**
4308
+ * Connection statistics
4309
+ */
4310
+ connections: ConnectionStats;
4311
+ /**
4312
+ * Database size information
4313
+ */
4314
+ database_size: DatabaseSizeStats;
4315
+ /**
4316
+ * Cache hit ratios and memory settings
4317
+ */
4318
+ cache_performance: CachePerformance;
4319
+ /**
4320
+ * Transaction commit/rollback statistics
4321
+ */
4322
+ transactions: TransactionStats;
4323
+ /**
4324
+ * Current lock statistics
4325
+ */
4326
+ locks: LockStats;
4327
+ /**
4328
+ * Vacuum and maintenance statistics
4329
+ */
4330
+ maintenance: MaintenanceStats;
4331
+ /**
4332
+ * Currently running queries
4333
+ */
4334
+ active_queries: ActiveQueriesStats;
4335
+ /**
4336
+ * Query performance indicators
4337
+ */
4338
+ query_performance: QueryPerformance;
4339
+ /**
4340
+ * Replication status (if applicable)
4341
+ */
4342
+ replication: ReplicationStats;
4343
+ };
3978
4344
  export type DecidingEntityEnum = 'by_call_manager' | 'automatic';
3979
4345
  export type DeleteAttachmentsRequest = {
3980
4346
  attachment_ids: Array<string>;
@@ -4385,6 +4751,9 @@ export type EventSubscription = {
4385
4751
  */
4386
4752
  readonly user_username: string;
4387
4753
  readonly user_full_name: string;
4754
+ /**
4755
+ * List of objects to observe. Each item must have 'object_type' (one of: order, user_role, resource, offering_user, importable_resources, service_account, course_account, resource_periodic_limits) and optionally 'object_id' (integer). Example: [{"object_type": "resource"}, {"object_type": "order", "object_id": 123}]
4756
+ */
4388
4757
  observable_objects?: unknown;
4389
4758
  readonly created: string;
4390
4759
  readonly modified: string;
@@ -4395,6 +4764,9 @@ export type EventSubscription = {
4395
4764
  };
4396
4765
  export type EventSubscriptionRequest = {
4397
4766
  description?: string;
4767
+ /**
4768
+ * List of objects to observe. Each item must have 'object_type' (one of: order, user_role, resource, offering_user, importable_resources, service_account, course_account, resource_periodic_limits) and optionally 'object_id' (integer). Example: [{"object_type": "resource"}, {"object_type": "order", "object_id": 123}]
4769
+ */
4398
4770
  observable_objects?: unknown;
4399
4771
  };
4400
4772
  export type EventTypesEnum = 'access_subnet_creation_succeeded' | 'access_subnet_deletion_succeeded' | 'access_subnet_update_succeeded' | 'allowed_offerings_have_been_updated' | 'attachment_created' | 'attachment_deleted' | 'attachment_updated' | 'auth_logged_in_with_saml2' | 'auth_logged_in_with_username' | 'auth_logged_in_with_oauth' | 'auth_logged_out' | 'auth_logged_out_with_saml2' | 'auth_login_failed_with_username' | 'block_creation_of_new_resources' | 'block_modification_of_existing_resources' | 'call_document_added' | 'call_document_removed' | 'create_of_credit_by_staff' | 'custom_notification' | 'customer_creation_succeeded' | 'customer_deletion_succeeded' | 'customer_update_succeeded' | 'customer_permission_review_created' | 'customer_permission_review_closed' | 'droplet_resize_scheduled' | 'droplet_resize_succeeded' | 'freeipa_profile_created' | 'freeipa_profile_deleted' | 'freeipa_profile_disabled' | 'freeipa_profile_enabled' | 'invoice_canceled' | 'invoice_created' | 'invoice_item_created' | 'invoice_item_deleted' | 'invoice_item_updated' | 'invoice_paid' | 'issue_creation_succeeded' | 'issue_deletion_succeeded' | 'issue_update_succeeded' | 'marketplace_offering_component_created' | 'marketplace_offering_component_deleted' | 'marketplace_offering_component_updated' | 'marketplace_offering_created' | 'marketplace_offering_role_created' | 'marketplace_offering_role_deleted' | 'marketplace_offering_role_updated' | 'marketplace_offering_updated' | 'marketplace_offering_user_created' | 'marketplace_offering_user_updated' | 'marketplace_offering_user_deleted' | 'marketplace_offering_user_restriction_updated' | 'marketplace_order_approved' | 'marketplace_order_completed' | 'marketplace_order_created' | 'marketplace_order_failed' | 'marketplace_order_rejected' | 'marketplace_order_terminated' | 'marketplace_order_unlinked' | 'marketplace_plan_archived' | 'marketplace_plan_component_current_price_updated' | 'marketplace_plan_component_future_price_updated' | 'marketplace_plan_component_quota_updated' | 'marketplace_plan_created' | 'marketplace_plan_updated' | 'marketplace_plan_deleted' | 'marketplace_resource_create_canceled' | 'marketplace_resource_create_failed' | 'marketplace_resource_create_requested' | 'marketplace_resource_create_succeeded' | 'marketplace_resource_downscaled' | 'marketplace_resource_erred_on_backend' | 'marketplace_resource_paused' | 'marketplace_resource_terminate_canceled' | 'marketplace_resource_terminate_failed' | 'marketplace_resource_terminate_requested' | 'marketplace_resource_terminate_succeeded' | 'marketplace_resource_unlinked' | 'marketplace_resource_update_canceled' | 'marketplace_resource_update_end_date_succeeded' | 'marketplace_resource_update_failed' | 'marketplace_resource_update_limits_failed' | 'marketplace_resource_update_limits_succeeded' | 'marketplace_resource_update_requested' | 'marketplace_resource_update_succeeded' | 'marketplace_resource_user_created' | 'marketplace_resource_user_deleted' | 'notify_external_user' | 'notify_organization_owners' | 'notify_project_team' | 'openstack_floating_ip_attached' | 'openstack_floating_ip_connected' | 'openstack_floating_ip_description_updated' | 'openstack_floating_ip_detached' | 'openstack_floating_ip_disconnected' | 'openstack_network_cleaned' | 'openstack_network_created' | 'openstack_network_deleted' | 'openstack_network_imported' | 'openstack_network_pulled' | 'openstack_network_updated' | 'openstack_port_cleaned' | 'openstack_port_created' | 'openstack_port_deleted' | 'openstack_port_imported' | 'openstack_port_pulled' | 'openstack_port_updated' | 'openstack_router_updated' | 'openstack_security_group_cleaned' | 'openstack_security_group_created' | 'openstack_security_group_deleted' | 'openstack_security_group_imported' | 'openstack_security_group_pulled' | 'openstack_security_group_rule_cleaned' | 'openstack_security_group_rule_created' | 'openstack_security_group_rule_deleted' | 'openstack_security_group_rule_imported' | 'openstack_security_group_rule_updated' | 'openstack_security_group_updated' | 'openstack_security_group_added_remotely' | 'openstack_security_group_removed_remotely' | 'openstack_security_group_added_locally' | 'openstack_security_group_removed_locally' | 'openstack_server_group_cleaned' | 'openstack_server_group_created' | 'openstack_server_group_deleted' | 'openstack_server_group_imported' | 'openstack_server_group_pulled' | 'openstack_subnet_cleaned' | 'openstack_subnet_created' | 'openstack_subnet_deleted' | 'openstack_subnet_imported' | 'openstack_subnet_pulled' | 'openstack_subnet_updated' | 'openstack_tenant_quota_limit_updated' | 'payment_added' | 'payment_created' | 'payment_removed' | 'policy_notification' | 'project_creation_succeeded' | 'project_deletion_succeeded' | 'project_deletion_triggered' | 'project_update_request_approved' | 'project_update_request_created' | 'project_update_request_rejected' | 'project_update_succeeded' | 'project_permission_review_created' | 'project_permission_review_closed' | 'proposal_canceled' | 'proposal_document_added' | 'proposal_document_removed' | 'query_executed' | 'reduction_of_customer_credit' | 'reduction_of_customer_credit_due_to_minimal_consumption' | 'reduction_of_customer_expected_consumption' | 'reduction_of_project_credit' | 'reduction_of_project_credit_due_to_minimal_consumption' | 'reduction_of_project_expected_consumption' | 'request_downscaling' | 'request_pausing' | 'resource_assign_floating_ip_failed' | 'resource_assign_floating_ip_scheduled' | 'resource_assign_floating_ip_succeeded' | 'resource_attach_failed' | 'resource_attach_scheduled' | 'resource_attach_succeeded' | 'resource_backup_creation_failed' | 'resource_backup_creation_scheduled' | 'resource_backup_creation_succeeded' | 'resource_backup_deletion_failed' | 'resource_backup_deletion_scheduled' | 'resource_backup_deletion_succeeded' | 'resource_backup_restoration_failed' | 'resource_backup_restoration_scheduled' | 'resource_backup_restoration_succeeded' | 'resource_change_flavor_failed' | 'resource_change_flavor_scheduled' | 'resource_change_flavor_succeeded' | 'resource_creation_failed' | 'resource_creation_scheduled' | 'resource_creation_succeeded' | 'resource_deletion_failed' | 'resource_deletion_scheduled' | 'resource_deletion_succeeded' | 'resource_detach_failed' | 'resource_detach_scheduled' | 'resource_detach_succeeded' | 'resource_extend_failed' | 'resource_extend_scheduled' | 'resource_extend_succeeded' | 'resource_extend_volume_failed' | 'resource_extend_volume_scheduled' | 'resource_extend_volume_succeeded' | 'resource_import_succeeded' | 'resource_pull_failed' | 'resource_pull_scheduled' | 'resource_pull_succeeded' | 'resource_restart_failed' | 'resource_restart_scheduled' | 'resource_restart_succeeded' | 'resource_retype_failed' | 'resource_retype_scheduled' | 'resource_retype_succeeded' | 'resource_robot_account_created' | 'resource_robot_account_deleted' | 'resource_robot_account_state_changed' | 'resource_robot_account_updated' | 'resource_start_failed' | 'resource_start_scheduled' | 'resource_start_succeeded' | 'resource_stop_failed' | 'resource_stop_scheduled' | 'resource_stop_succeeded' | 'resource_unassign_floating_ip_failed' | 'resource_unassign_floating_ip_scheduled' | 'resource_unassign_floating_ip_succeeded' | 'resource_update_allowed_address_pairs_failed' | 'resource_update_allowed_address_pairs_scheduled' | 'resource_update_allowed_address_pairs_succeeded' | 'resource_update_floating_ips_failed' | 'resource_update_floating_ips_scheduled' | 'resource_update_floating_ips_succeeded' | 'resource_update_ports_failed' | 'resource_update_ports_scheduled' | 'resource_update_ports_succeeded' | 'resource_update_security_groups_failed' | 'resource_update_security_groups_scheduled' | 'resource_update_security_groups_succeeded' | 'resource_update_succeeded' | 'restrict_members' | 'review_canceled' | 'role_granted' | 'role_revoked' | 'role_updated' | 'roll_back_customer_credit' | 'roll_back_project_credit' | 'service_account_created' | 'service_account_deleted' | 'service_account_updated' | 'set_to_zero_overdue_credit' | 'ssh_key_creation_succeeded' | 'ssh_key_deletion_succeeded' | 'terminate_resources' | 'token_created' | 'token_lifetime_updated' | 'update_of_credit_by_staff' | 'automatic_credit_adjustment' | 'user_activated' | 'user_creation_succeeded' | 'user_deactivated' | 'user_deactivated_no_roles' | 'user_deletion_succeeded' | 'user_details_update_succeeded' | 'user_has_been_created_by_staff' | 'user_password_updated' | 'user_password_updated_by_staff' | 'user_update_succeeded' | 'user_invitation_updated' | 'user_invitation_deleted' | 'terms_of_service_consent_granted' | 'terms_of_service_consent_revoked';
@@ -5046,6 +5418,10 @@ export type IdentityProvider = {
5046
5418
  * Space-separated list of extra fields to persist.
5047
5419
  */
5048
5420
  extra_fields?: string | null;
5421
+ /**
5422
+ * List of allowed redirect URLs for OAuth authentication. URLs must be exact matches (origin only: scheme + domain + port). HTTPS required except for localhost. No wildcards, paths, query params, or fragments. Example: ["https://portal1.example.com", "https://portal2.example.com:8443"]. If empty, falls back to HOMEPORT_URL setting.
5423
+ */
5424
+ allowed_redirects?: unknown;
5049
5425
  };
5050
5426
  export type IdentityProviderRequest = {
5051
5427
  provider: string;
@@ -5094,6 +5470,10 @@ export type IdentityProviderRequest = {
5094
5470
  * Space-separated list of extra fields to persist.
5095
5471
  */
5096
5472
  extra_fields?: string | null;
5473
+ /**
5474
+ * List of allowed redirect URLs for OAuth authentication. URLs must be exact matches (origin only: scheme + domain + port). HTTPS required except for localhost. No wildcards, paths, query params, or fragments. Example: ["https://portal1.example.com", "https://portal2.example.com:8443"]. If empty, falls back to HOMEPORT_URL setting.
5475
+ */
5476
+ allowed_redirects?: unknown;
5097
5477
  };
5098
5478
  export type ImageCreateRequest = {
5099
5479
  name: string;
@@ -5925,6 +6305,20 @@ export type LinkToInvoice = {
5925
6305
  export type LinkToInvoiceRequest = {
5926
6306
  invoice: string;
5927
6307
  };
6308
+ export type LockStats = {
6309
+ /**
6310
+ * Total number of locks currently held
6311
+ */
6312
+ readonly total_locks: number;
6313
+ /**
6314
+ * Number of locks being waited for
6315
+ */
6316
+ readonly waiting_locks: number;
6317
+ /**
6318
+ * Number of AccessExclusive locks (blocks all access)
6319
+ */
6320
+ readonly access_exclusive_locks: number;
6321
+ };
5928
6322
  export type Logout = {
5929
6323
  /**
5930
6324
  * URL to redirect to after logout
@@ -6086,6 +6480,28 @@ export type MaintenanceAnnouncementTemplateRequest = {
6086
6480
  */
6087
6481
  service_provider: string;
6088
6482
  };
6483
+ export type MaintenanceStats = {
6484
+ /**
6485
+ * Age of the oldest transaction in transactions
6486
+ */
6487
+ readonly oldest_transaction_age: number | null;
6488
+ /**
6489
+ * Number of tables with high dead tuple ratio
6490
+ */
6491
+ readonly tables_needing_vacuum: number;
6492
+ /**
6493
+ * Total estimated dead tuples across all tables
6494
+ */
6495
+ readonly total_dead_tuples: number;
6496
+ /**
6497
+ * Total estimated live tuples across all tables
6498
+ */
6499
+ readonly total_live_tuples: number;
6500
+ /**
6501
+ * Ratio of dead tuples to total tuples
6502
+ */
6503
+ readonly dead_tuple_ratio_percent: number | null;
6504
+ };
6089
6505
  export type MaintenanceTypeEnum = 1 | 2 | 3 | 4 | 5;
6090
6506
  export type ManagedProject = {
6091
6507
  readonly state: string;
@@ -11523,6 +11939,10 @@ export type PatchedIdentityProviderRequest = {
11523
11939
  * Space-separated list of extra fields to persist.
11524
11940
  */
11525
11941
  extra_fields?: string | null;
11942
+ /**
11943
+ * List of allowed redirect URLs for OAuth authentication. URLs must be exact matches (origin only: scheme + domain + port). HTTPS required except for localhost. No wildcards, paths, query params, or fragments. Example: ["https://portal1.example.com", "https://portal2.example.com:8443"]. If empty, falls back to HOMEPORT_URL setting.
11944
+ */
11945
+ allowed_redirects?: unknown;
11526
11946
  };
11527
11947
  export type PatchedInvitationUpdateRequest = {
11528
11948
  /**
@@ -14355,6 +14775,32 @@ export type PullMarketplaceScriptResourceRequest = {
14355
14775
  resource_uuid: string;
14356
14776
  };
14357
14777
  export type QosStrategyEnum = 'threshold' | 'progressive';
14778
+ export type QueryPerformance = {
14779
+ /**
14780
+ * Total sequential scans (potentially expensive)
14781
+ */
14782
+ readonly seq_scan_count: number;
14783
+ /**
14784
+ * Total rows fetched by sequential scans
14785
+ */
14786
+ readonly seq_scan_rows: number;
14787
+ /**
14788
+ * Total index scans
14789
+ */
14790
+ readonly index_scan_count: number;
14791
+ /**
14792
+ * Total rows fetched by index scans
14793
+ */
14794
+ readonly index_scan_rows: number;
14795
+ /**
14796
+ * Number of temporary files created
14797
+ */
14798
+ readonly temp_files_count: number;
14799
+ /**
14800
+ * Total size of temporary files in bytes
14801
+ */
14802
+ readonly temp_files_bytes: number;
14803
+ };
14358
14804
  export type QueryRequest = {
14359
14805
  /**
14360
14806
  * Search query string
@@ -15772,6 +16218,20 @@ export type RemoveSoftwareCatalogRequest = {
15772
16218
  */
15773
16219
  offering_catalog_uuid: string;
15774
16220
  };
16221
+ export type ReplicationStats = {
16222
+ /**
16223
+ * Whether this database is a replica
16224
+ */
16225
+ readonly is_replica: boolean;
16226
+ /**
16227
+ * Write-ahead log size in bytes
16228
+ */
16229
+ readonly wal_bytes: number | null;
16230
+ /**
16231
+ * Replication lag in bytes (only for replicas)
16232
+ */
16233
+ readonly replication_lag_bytes: number | null;
16234
+ };
15775
16235
  export type ReportSection = {
15776
16236
  /**
15777
16237
  * Section header text
@@ -16614,12 +17074,193 @@ export type ReviewerSuggestionRequest = {
16614
17074
  rejection_reason?: string;
16615
17075
  };
16616
17076
  export type ReviewerSuggestionStatusEnum = 'pending' | 'confirmed' | 'rejected' | 'invited';
16617
- export type RmqConnection = {
17077
+ export type RmqClientProperties = {
16618
17078
  /**
16619
- * An IPv4 or IPv6 address.
17079
+ * Client product name (e.g., 'pika', 'amqp-client')
17080
+ */
17081
+ readonly product: string | null;
17082
+ /**
17083
+ * Client library version
17084
+ */
17085
+ readonly version: string | null;
17086
+ /**
17087
+ * Client platform (e.g., 'Python 3.11')
17088
+ */
17089
+ readonly platform: string | null;
17090
+ };
17091
+ export type RmqEnrichedConnection = {
17092
+ /**
17093
+ * Client IP address
17094
+ */
17095
+ readonly source_ip: string;
17096
+ /**
17097
+ * Virtual host name
16620
17098
  */
16621
- source_ip: string;
16622
17099
  readonly vhost: string;
17100
+ /**
17101
+ * Connection establishment timestamp
17102
+ */
17103
+ readonly connected_at: string | null;
17104
+ /**
17105
+ * Connection state: 'running', 'blocked', 'blocking'
17106
+ */
17107
+ readonly state: string;
17108
+ /**
17109
+ * Bytes received on this connection
17110
+ */
17111
+ readonly recv_oct: number;
17112
+ /**
17113
+ * Bytes sent on this connection
17114
+ */
17115
+ readonly send_oct: number;
17116
+ /**
17117
+ * Number of channels on this connection
17118
+ */
17119
+ readonly channels: number;
17120
+ /**
17121
+ * Heartbeat timeout in seconds
17122
+ */
17123
+ readonly timeout: number | null;
17124
+ /**
17125
+ * Client identification properties
17126
+ */
17127
+ client_properties: RmqClientProperties | null;
17128
+ };
17129
+ export type RmqEnrichedUserStatsItem = {
17130
+ /**
17131
+ * RabbitMQ username (corresponds to EventSubscription UUID)
17132
+ */
17133
+ readonly username: string;
17134
+ /**
17135
+ * List of active connections with detailed statistics
17136
+ */
17137
+ readonly connections: Array<RmqEnrichedConnection>;
17138
+ };
17139
+ export type RmqListener = {
17140
+ /**
17141
+ * Protocol name (e.g., 'amqp', 'http', 'clustering')
17142
+ */
17143
+ readonly protocol: string;
17144
+ /**
17145
+ * Listening port number
17146
+ */
17147
+ readonly port: number;
17148
+ };
17149
+ export type RmqMessageStats = {
17150
+ /**
17151
+ * Total messages published
17152
+ */
17153
+ readonly publish: number;
17154
+ /**
17155
+ * Messages published per second
17156
+ */
17157
+ readonly publish_rate: number;
17158
+ /**
17159
+ * Total messages delivered to consumers
17160
+ */
17161
+ readonly deliver: number;
17162
+ /**
17163
+ * Messages delivered per second
17164
+ */
17165
+ readonly deliver_rate: number;
17166
+ /**
17167
+ * Total messages confirmed by broker
17168
+ */
17169
+ readonly confirm: number;
17170
+ /**
17171
+ * Messages confirmed per second
17172
+ */
17173
+ readonly confirm_rate: number;
17174
+ /**
17175
+ * Total messages acknowledged by consumers
17176
+ */
17177
+ readonly ack: number;
17178
+ /**
17179
+ * Messages acknowledged per second
17180
+ */
17181
+ readonly ack_rate: number;
17182
+ };
17183
+ export type RmqObjectTotals = {
17184
+ /**
17185
+ * Total active connections
17186
+ */
17187
+ readonly connections: number;
17188
+ /**
17189
+ * Total active channels
17190
+ */
17191
+ readonly channels: number;
17192
+ /**
17193
+ * Total exchanges
17194
+ */
17195
+ readonly exchanges: number;
17196
+ /**
17197
+ * Total queues
17198
+ */
17199
+ readonly queues: number;
17200
+ /**
17201
+ * Total active consumers
17202
+ */
17203
+ readonly consumers: number;
17204
+ };
17205
+ export type RmqOverview = {
17206
+ /**
17207
+ * Name of the RabbitMQ cluster
17208
+ */
17209
+ readonly cluster_name: string;
17210
+ /**
17211
+ * RabbitMQ server version
17212
+ */
17213
+ readonly rabbitmq_version: string;
17214
+ /**
17215
+ * Erlang/OTP runtime version
17216
+ */
17217
+ readonly erlang_version: string;
17218
+ /**
17219
+ * Message throughput statistics with rates
17220
+ */
17221
+ message_stats: RmqMessageStats;
17222
+ /**
17223
+ * Global queue message counts
17224
+ */
17225
+ queue_totals: RmqQueueTotals;
17226
+ /**
17227
+ * Counts of connections, channels, queues, etc.
17228
+ */
17229
+ object_totals: RmqObjectTotals;
17230
+ /**
17231
+ * Current RabbitMQ node name
17232
+ */
17233
+ readonly node: string;
17234
+ /**
17235
+ * Active protocol listeners
17236
+ */
17237
+ readonly listeners: Array<RmqListener>;
17238
+ };
17239
+ export type RmqPurgeRequestRequest = {
17240
+ /**
17241
+ * Virtual host name containing the queue(s)
17242
+ */
17243
+ vhost?: string;
17244
+ /**
17245
+ * Specific queue name (requires vhost)
17246
+ */
17247
+ queue_name?: string;
17248
+ /**
17249
+ * Glob pattern to match queue names (e.g., '*_resource'). Requires vhost.
17250
+ */
17251
+ queue_pattern?: string;
17252
+ /**
17253
+ * If true, purge all subscription queues across all vhosts
17254
+ */
17255
+ purge_all_subscription_queues?: boolean;
17256
+ /**
17257
+ * If true, delete the queue(s) entirely instead of just purging messages
17258
+ */
17259
+ delete_queue?: boolean;
17260
+ /**
17261
+ * If true, delete all subscription queues across all vhosts
17262
+ */
17263
+ delete_all_subscription_queues?: boolean;
16623
17264
  };
16624
17265
  export type RmqPurgeResponse = {
16625
17266
  /**
@@ -16630,6 +17271,10 @@ export type RmqPurgeResponse = {
16630
17271
  * Total number of messages that were purged
16631
17272
  */
16632
17273
  readonly purged_messages: number;
17274
+ /**
17275
+ * Number of queues that were deleted
17276
+ */
17277
+ readonly deleted_queues: number;
16633
17278
  };
16634
17279
  export type RmqQueueStats = {
16635
17280
  /**
@@ -16664,6 +17309,60 @@ export type RmqQueueStats = {
16664
17309
  * Parsed object type from queue name (e.g., 'resource', 'order')
16665
17310
  */
16666
17311
  readonly object_type: string | null;
17312
+ /**
17313
+ * Message TTL in milliseconds
17314
+ */
17315
+ readonly message_ttl: number | null;
17316
+ /**
17317
+ * Maximum number of messages in queue
17318
+ */
17319
+ readonly max_length: number | null;
17320
+ /**
17321
+ * Maximum total size of messages in bytes
17322
+ */
17323
+ readonly max_length_bytes: number | null;
17324
+ /**
17325
+ * Queue TTL - auto-delete after idle in milliseconds
17326
+ */
17327
+ readonly expires: number | null;
17328
+ /**
17329
+ * Behavior when full: 'drop-head', 'reject-publish', or 'reject-publish-dlx'
17330
+ */
17331
+ readonly overflow: string | null;
17332
+ /**
17333
+ * Dead letter exchange name
17334
+ */
17335
+ readonly dead_letter_exchange: string | null;
17336
+ /**
17337
+ * Dead letter routing key
17338
+ */
17339
+ readonly dead_letter_routing_key: string | null;
17340
+ /**
17341
+ * Maximum priority level (1-255)
17342
+ */
17343
+ readonly max_priority: number | null;
17344
+ /**
17345
+ * Queue mode: 'default' or 'lazy'
17346
+ */
17347
+ readonly queue_mode: string | null;
17348
+ /**
17349
+ * Queue type: 'classic', 'quorum', or 'stream'
17350
+ */
17351
+ readonly queue_type: string | null;
17352
+ };
17353
+ export type RmqQueueTotals = {
17354
+ /**
17355
+ * Total messages across all queues
17356
+ */
17357
+ readonly messages: number;
17358
+ /**
17359
+ * Messages ready for delivery
17360
+ */
17361
+ readonly messages_ready: number;
17362
+ /**
17363
+ * Messages awaiting acknowledgement
17364
+ */
17365
+ readonly messages_unacknowledged: number;
16667
17366
  };
16668
17367
  export type RmqStatsError = {
16669
17368
  /**
@@ -16707,10 +17406,6 @@ export type RmqSubscription = {
16707
17406
  */
16708
17407
  source_ip: string;
16709
17408
  };
16710
- export type RmqUserStatsItem = {
16711
- readonly username: string;
16712
- readonly connections: Array<RmqConnection>;
16713
- };
16714
17409
  export type RmqVHostStatsItem = {
16715
17410
  readonly name: string;
16716
17411
  waldur_user: RmqWaldurUser;
@@ -17984,6 +18679,24 @@ export type TotalCustomerCost = {
17984
18679
  readonly total: number;
17985
18680
  readonly price: number;
17986
18681
  };
18682
+ export type TransactionStats = {
18683
+ /**
18684
+ * Total committed transactions
18685
+ */
18686
+ readonly committed: number;
18687
+ /**
18688
+ * Total rolled back transactions
18689
+ */
18690
+ readonly rolled_back: number;
18691
+ /**
18692
+ * Percentage of transactions that were rolled back
18693
+ */
18694
+ readonly rollback_ratio_percent: number;
18695
+ /**
18696
+ * Total number of deadlocks detected
18697
+ */
18698
+ readonly deadlocks: number;
18699
+ };
17987
18700
  export type TriggerCoiDetectionJobTypeEnum = 'full_call' | 'incremental';
17988
18701
  export type TriggerCoiDetectionRequest = {
17989
18702
  job_type?: TriggerCoiDetectionJobTypeEnum;
@@ -18136,16 +18849,19 @@ export type UserAction = {
18136
18849
  * UI-Router state name for navigation
18137
18850
  */
18138
18851
  route_name?: string;
18139
- /**
18140
- * Parameters for route navigation
18141
- */
18142
- route_params?: string;
18852
+ readonly route_params: {
18853
+ [key: string]: unknown;
18854
+ };
18143
18855
  project_name?: string;
18144
18856
  project_uuid?: string | null;
18145
18857
  organization_name?: string;
18146
18858
  organization_uuid?: string | null;
18147
18859
  offering_name?: string;
18860
+ offering_uuid?: string | null;
18148
18861
  offering_type?: string;
18862
+ resource_name?: string;
18863
+ resource_uuid?: string | null;
18864
+ order_type?: string;
18149
18865
  };
18150
18866
  export type UserActionExecution = {
18151
18867
  readonly id: number;
@@ -27547,16 +28263,16 @@ export type DailyQuotasRetrieveResponses = {
27547
28263
  };
27548
28264
  };
27549
28265
  export type DailyQuotasRetrieveResponse = DailyQuotasRetrieveResponses[keyof DailyQuotasRetrieveResponses];
27550
- export type DatabaseStatsListData = {
28266
+ export type DatabaseStatsRetrieveData = {
27551
28267
  body?: never;
27552
28268
  path?: never;
27553
28269
  query?: never;
27554
28270
  url: '/api/database-stats/';
27555
28271
  };
27556
- export type DatabaseStatsListResponses = {
27557
- 200: Array<TableSize>;
28272
+ export type DatabaseStatsRetrieveResponses = {
28273
+ 200: DatabaseStatsResponse;
27558
28274
  };
27559
- export type DatabaseStatsListResponse = DatabaseStatsListResponses[keyof DatabaseStatsListResponses];
28275
+ export type DatabaseStatsRetrieveResponse = DatabaseStatsRetrieveResponses[keyof DatabaseStatsRetrieveResponses];
27560
28276
  export type DigitaloceanDropletsListData = {
27561
28277
  body?: never;
27562
28278
  path?: never;
@@ -42189,6 +42905,22 @@ export type MarketplaceServiceProvidersUpdateUserResponses = {
42189
42905
  200: UserRoleExpirationTime;
42190
42906
  };
42191
42907
  export type MarketplaceServiceProvidersUpdateUserResponse = MarketplaceServiceProvidersUpdateUserResponses[keyof MarketplaceServiceProvidersUpdateUserResponses];
42908
+ export type MarketplaceSiteAgentConnectionStatsRetrieveData = {
42909
+ body?: never;
42910
+ path?: never;
42911
+ query?: never;
42912
+ url: '/api/marketplace-site-agent-connection-stats/';
42913
+ };
42914
+ export type MarketplaceSiteAgentConnectionStatsRetrieveErrors = {
42915
+ /**
42916
+ * RabbitMQ unavailable
42917
+ */
42918
+ 503: unknown;
42919
+ };
42920
+ export type MarketplaceSiteAgentConnectionStatsRetrieveResponses = {
42921
+ 200: AgentConnectionStatsResponse;
42922
+ };
42923
+ export type MarketplaceSiteAgentConnectionStatsRetrieveResponse = MarketplaceSiteAgentConnectionStatsRetrieveResponses[keyof MarketplaceSiteAgentConnectionStatsRetrieveResponses];
42192
42924
  export type MarketplaceSiteAgentIdentitiesListData = {
42193
42925
  body?: never;
42194
42926
  path?: never;
@@ -42199,6 +42931,10 @@ export type MarketplaceSiteAgentIdentitiesListData = {
42199
42931
  last_restarted?: string;
42200
42932
  name?: string;
42201
42933
  offering_uuid?: string;
42934
+ /**
42935
+ * Has no services
42936
+ */
42937
+ orphaned?: boolean;
42202
42938
  /**
42203
42939
  * A page number within the paginated result set.
42204
42940
  */
@@ -42225,6 +42961,10 @@ export type MarketplaceSiteAgentIdentitiesCountData = {
42225
42961
  last_restarted?: string;
42226
42962
  name?: string;
42227
42963
  offering_uuid?: string;
42964
+ /**
42965
+ * Has no services
42966
+ */
42967
+ orphaned?: boolean;
42228
42968
  /**
42229
42969
  * A page number within the paginated result set.
42230
42970
  */
@@ -42318,6 +43058,16 @@ export type MarketplaceSiteAgentIdentitiesRegisterServiceResponses = {
42318
43058
  201: AgentService;
42319
43059
  };
42320
43060
  export type MarketplaceSiteAgentIdentitiesRegisterServiceResponse = MarketplaceSiteAgentIdentitiesRegisterServiceResponses[keyof MarketplaceSiteAgentIdentitiesRegisterServiceResponses];
43061
+ export type MarketplaceSiteAgentIdentitiesCleanupOrphanedData = {
43062
+ body?: CleanupRequestRequest;
43063
+ path?: never;
43064
+ query?: never;
43065
+ url: '/api/marketplace-site-agent-identities/cleanup_orphaned/';
43066
+ };
43067
+ export type MarketplaceSiteAgentIdentitiesCleanupOrphanedResponses = {
43068
+ 200: CleanupResponse;
43069
+ };
43070
+ export type MarketplaceSiteAgentIdentitiesCleanupOrphanedResponse = MarketplaceSiteAgentIdentitiesCleanupOrphanedResponses[keyof MarketplaceSiteAgentIdentitiesCleanupOrphanedResponses];
42321
43071
  export type MarketplaceSiteAgentProcessorsListData = {
42322
43072
  body?: never;
42323
43073
  path?: never;
@@ -42328,6 +43078,10 @@ export type MarketplaceSiteAgentProcessorsListData = {
42328
43078
  * Last run after
42329
43079
  */
42330
43080
  last_run?: string;
43081
+ /**
43082
+ * Last run before
43083
+ */
43084
+ last_run_before?: string;
42331
43085
  /**
42332
43086
  * A page number within the paginated result set.
42333
43087
  */
@@ -42337,6 +43091,10 @@ export type MarketplaceSiteAgentProcessorsListData = {
42337
43091
  */
42338
43092
  page_size?: number;
42339
43093
  service_uuid?: string;
43094
+ /**
43095
+ * Last run more than 1 hour ago
43096
+ */
43097
+ stale?: boolean;
42340
43098
  };
42341
43099
  url: '/api/marketplace-site-agent-processors/';
42342
43100
  };
@@ -42354,6 +43112,10 @@ export type MarketplaceSiteAgentProcessorsCountData = {
42354
43112
  * Last run after
42355
43113
  */
42356
43114
  last_run?: string;
43115
+ /**
43116
+ * Last run before
43117
+ */
43118
+ last_run_before?: string;
42357
43119
  /**
42358
43120
  * A page number within the paginated result set.
42359
43121
  */
@@ -42363,6 +43125,10 @@ export type MarketplaceSiteAgentProcessorsCountData = {
42363
43125
  */
42364
43126
  page_size?: number;
42365
43127
  service_uuid?: string;
43128
+ /**
43129
+ * Last run more than 1 hour ago
43130
+ */
43131
+ stale?: boolean;
42366
43132
  };
42367
43133
  url: '/api/marketplace-site-agent-processors/';
42368
43134
  };
@@ -42372,6 +43138,21 @@ export type MarketplaceSiteAgentProcessorsCountResponses = {
42372
43138
  */
42373
43139
  200: unknown;
42374
43140
  };
43141
+ export type MarketplaceSiteAgentProcessorsDestroyData = {
43142
+ body?: never;
43143
+ path: {
43144
+ uuid: string;
43145
+ };
43146
+ query?: never;
43147
+ url: '/api/marketplace-site-agent-processors/{uuid}/';
43148
+ };
43149
+ export type MarketplaceSiteAgentProcessorsDestroyResponses = {
43150
+ /**
43151
+ * No response body
43152
+ */
43153
+ 204: void;
43154
+ };
43155
+ export type MarketplaceSiteAgentProcessorsDestroyResponse = MarketplaceSiteAgentProcessorsDestroyResponses[keyof MarketplaceSiteAgentProcessorsDestroyResponses];
42375
43156
  export type MarketplaceSiteAgentProcessorsRetrieveData = {
42376
43157
  body?: never;
42377
43158
  path: {
@@ -42390,6 +43171,14 @@ export type MarketplaceSiteAgentServicesListData = {
42390
43171
  query?: {
42391
43172
  identity_uuid?: string;
42392
43173
  mode?: string;
43174
+ /**
43175
+ * Modified after
43176
+ */
43177
+ modified_after?: string;
43178
+ /**
43179
+ * Modified before
43180
+ */
43181
+ modified_before?: string;
42393
43182
  /**
42394
43183
  * A page number within the paginated result set.
42395
43184
  */
@@ -42398,6 +43187,10 @@ export type MarketplaceSiteAgentServicesListData = {
42398
43187
  * Number of results to return per page.
42399
43188
  */
42400
43189
  page_size?: number;
43190
+ /**
43191
+ * Inactive for more than 24 hours
43192
+ */
43193
+ stale?: boolean;
42401
43194
  state?: Array<1 | 2 | 3>;
42402
43195
  };
42403
43196
  url: '/api/marketplace-site-agent-services/';
@@ -42412,6 +43205,14 @@ export type MarketplaceSiteAgentServicesCountData = {
42412
43205
  query?: {
42413
43206
  identity_uuid?: string;
42414
43207
  mode?: string;
43208
+ /**
43209
+ * Modified after
43210
+ */
43211
+ modified_after?: string;
43212
+ /**
43213
+ * Modified before
43214
+ */
43215
+ modified_before?: string;
42415
43216
  /**
42416
43217
  * A page number within the paginated result set.
42417
43218
  */
@@ -42420,6 +43221,10 @@ export type MarketplaceSiteAgentServicesCountData = {
42420
43221
  * Number of results to return per page.
42421
43222
  */
42422
43223
  page_size?: number;
43224
+ /**
43225
+ * Inactive for more than 24 hours
43226
+ */
43227
+ stale?: boolean;
42423
43228
  state?: Array<1 | 2 | 3>;
42424
43229
  };
42425
43230
  url: '/api/marketplace-site-agent-services/';
@@ -42430,6 +43235,21 @@ export type MarketplaceSiteAgentServicesCountResponses = {
42430
43235
  */
42431
43236
  200: unknown;
42432
43237
  };
43238
+ export type MarketplaceSiteAgentServicesDestroyData = {
43239
+ body?: never;
43240
+ path: {
43241
+ uuid: string;
43242
+ };
43243
+ query?: never;
43244
+ url: '/api/marketplace-site-agent-services/{uuid}/';
43245
+ };
43246
+ export type MarketplaceSiteAgentServicesDestroyResponses = {
43247
+ /**
43248
+ * No response body
43249
+ */
43250
+ 204: void;
43251
+ };
43252
+ export type MarketplaceSiteAgentServicesDestroyResponse = MarketplaceSiteAgentServicesDestroyResponses[keyof MarketplaceSiteAgentServicesDestroyResponses];
42433
43253
  export type MarketplaceSiteAgentServicesRetrieveData = {
42434
43254
  body?: never;
42435
43255
  path: {
@@ -42467,6 +43287,36 @@ export type MarketplaceSiteAgentServicesSetStatisticsResponses = {
42467
43287
  200: AgentService;
42468
43288
  };
42469
43289
  export type MarketplaceSiteAgentServicesSetStatisticsResponse = MarketplaceSiteAgentServicesSetStatisticsResponses[keyof MarketplaceSiteAgentServicesSetStatisticsResponses];
43290
+ export type MarketplaceSiteAgentServicesCleanupStaleData = {
43291
+ body?: CleanupRequestRequest;
43292
+ path?: never;
43293
+ query?: never;
43294
+ url: '/api/marketplace-site-agent-services/cleanup_stale/';
43295
+ };
43296
+ export type MarketplaceSiteAgentServicesCleanupStaleResponses = {
43297
+ 200: CleanupResponse;
43298
+ };
43299
+ export type MarketplaceSiteAgentServicesCleanupStaleResponse = MarketplaceSiteAgentServicesCleanupStaleResponses[keyof MarketplaceSiteAgentServicesCleanupStaleResponses];
43300
+ export type MarketplaceSiteAgentStatsRetrieveData = {
43301
+ body?: never;
43302
+ path?: never;
43303
+ query?: never;
43304
+ url: '/api/marketplace-site-agent-stats/';
43305
+ };
43306
+ export type MarketplaceSiteAgentStatsRetrieveResponses = {
43307
+ 200: AgentStatsResponse;
43308
+ };
43309
+ export type MarketplaceSiteAgentStatsRetrieveResponse = MarketplaceSiteAgentStatsRetrieveResponses[keyof MarketplaceSiteAgentStatsRetrieveResponses];
43310
+ export type MarketplaceSiteAgentTaskStatsRetrieveData = {
43311
+ body?: never;
43312
+ path?: never;
43313
+ query?: never;
43314
+ url: '/api/marketplace-site-agent-task-stats/';
43315
+ };
43316
+ export type MarketplaceSiteAgentTaskStatsRetrieveResponses = {
43317
+ 200: AgentTaskStatsResponse;
43318
+ };
43319
+ export type MarketplaceSiteAgentTaskStatsRetrieveResponse = MarketplaceSiteAgentTaskStatsRetrieveResponses[keyof MarketplaceSiteAgentTaskStatsRetrieveResponses];
42470
43320
  export type MarketplaceSlurmPeriodicUsagePoliciesListData = {
42471
43321
  body?: never;
42472
43322
  path?: never;
@@ -56516,22 +57366,20 @@ export type QueryResponses = {
56516
57366
  200: Array<unknown>;
56517
57367
  };
56518
57368
  export type QueryResponse = QueryResponses[keyof QueryResponses];
56519
- export type RabbitmqStatsDestroyData = {
57369
+ export type RabbitmqOverviewRetrieveData = {
56520
57370
  body?: never;
56521
57371
  path?: never;
56522
57372
  query?: never;
56523
- url: '/api/rabbitmq-stats/';
57373
+ url: '/api/rabbitmq-overview/';
56524
57374
  };
56525
- export type RabbitmqStatsDestroyErrors = {
56526
- 400: RmqStatsError;
56527
- 404: RmqStatsError;
57375
+ export type RabbitmqOverviewRetrieveErrors = {
56528
57376
  503: RmqStatsError;
56529
57377
  };
56530
- export type RabbitmqStatsDestroyError = RabbitmqStatsDestroyErrors[keyof RabbitmqStatsDestroyErrors];
56531
- export type RabbitmqStatsDestroyResponses = {
56532
- 200: RmqPurgeResponse;
57378
+ export type RabbitmqOverviewRetrieveError = RabbitmqOverviewRetrieveErrors[keyof RabbitmqOverviewRetrieveErrors];
57379
+ export type RabbitmqOverviewRetrieveResponses = {
57380
+ 200: RmqOverview;
56533
57381
  };
56534
- export type RabbitmqStatsDestroyResponse = RabbitmqStatsDestroyResponses[keyof RabbitmqStatsDestroyResponses];
57382
+ export type RabbitmqOverviewRetrieveResponse = RabbitmqOverviewRetrieveResponses[keyof RabbitmqOverviewRetrieveResponses];
56535
57383
  export type RabbitmqStatsRetrieveData = {
56536
57384
  body?: never;
56537
57385
  path?: never;
@@ -56546,6 +57394,22 @@ export type RabbitmqStatsRetrieveResponses = {
56546
57394
  200: RmqStatsResponse;
56547
57395
  };
56548
57396
  export type RabbitmqStatsRetrieveResponse = RabbitmqStatsRetrieveResponses[keyof RabbitmqStatsRetrieveResponses];
57397
+ export type RabbitmqStatsData = {
57398
+ body?: RmqPurgeRequestRequest;
57399
+ path?: never;
57400
+ query?: never;
57401
+ url: '/api/rabbitmq-stats/';
57402
+ };
57403
+ export type RabbitmqStatsErrors = {
57404
+ 400: RmqStatsError;
57405
+ 404: RmqStatsError;
57406
+ 503: RmqStatsError;
57407
+ };
57408
+ export type RabbitmqStatsError = RabbitmqStatsErrors[keyof RabbitmqStatsErrors];
57409
+ export type RabbitmqStatsResponses = {
57410
+ 200: RmqPurgeResponse;
57411
+ };
57412
+ export type RabbitmqStatsResponse = RabbitmqStatsResponses[keyof RabbitmqStatsResponses];
56549
57413
  export type RabbitmqUserStatsListData = {
56550
57414
  body?: never;
56551
57415
  path?: never;
@@ -56562,7 +57426,7 @@ export type RabbitmqUserStatsListData = {
56562
57426
  url: '/api/rabbitmq-user-stats/';
56563
57427
  };
56564
57428
  export type RabbitmqUserStatsListResponses = {
56565
- 200: Array<RmqUserStatsItem>;
57429
+ 200: Array<RmqEnrichedUserStatsItem>;
56566
57430
  };
56567
57431
  export type RabbitmqUserStatsListResponse = RabbitmqUserStatsListResponses[keyof RabbitmqUserStatsListResponses];
56568
57432
  export type RabbitmqVhostStatsListData = {