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.
- package/dist/sdk.gen.d.ts +93 -12
- package/dist/sdk.gen.js +226 -13
- package/dist/types.gen.d.ts +889 -25
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -6017,10 +6017,23 @@ export const dailyQuotasRetrieve = (options) => {
|
|
|
6017
6017
|
});
|
|
6018
6018
|
};
|
|
6019
6019
|
/**
|
|
6020
|
-
* Get database
|
|
6021
|
-
* Retrieves statistics about the database
|
|
6020
|
+
* Get comprehensive database statistics
|
|
6021
|
+
* Retrieves comprehensive statistics about the PostgreSQL database including:
|
|
6022
|
+
* - **Table statistics**: Top 10 largest tables by size
|
|
6023
|
+
* - **Connection statistics**: Active, idle, and waiting connections with utilization
|
|
6024
|
+
* - **Database size**: Total size, data size, and index size
|
|
6025
|
+
* - **Cache performance**: Buffer cache and index hit ratios (should be >99%)
|
|
6026
|
+
* - **Transaction statistics**: Commits, rollbacks, deadlocks
|
|
6027
|
+
* - **Lock statistics**: Current locks and waiting queries
|
|
6028
|
+
* - **Maintenance statistics**: Dead tuples, vacuum needs, oldest transaction age
|
|
6029
|
+
* - **Active queries**: Currently running queries with duration
|
|
6030
|
+
* - **Query performance**: Sequential vs index scan ratios
|
|
6031
|
+
* - **Replication status**: WAL size and replication lag (if applicable)
|
|
6032
|
+
*
|
|
6033
|
+
* This information is useful for monitoring, debugging, and performance tuning.
|
|
6034
|
+
* Requires support user permissions.
|
|
6022
6035
|
*/
|
|
6023
|
-
export const
|
|
6036
|
+
export const databaseStatsRetrieve = (options) => {
|
|
6024
6037
|
return (options?.client ?? _heyApiClient).get({
|
|
6025
6038
|
security: [
|
|
6026
6039
|
{
|
|
@@ -18532,6 +18545,39 @@ export const marketplaceServiceProvidersUpdateUser = (options) => {
|
|
|
18532
18545
|
}
|
|
18533
18546
|
});
|
|
18534
18547
|
};
|
|
18548
|
+
/**
|
|
18549
|
+
* Get agent connection statistics
|
|
18550
|
+
* Returns connection status for all registered agents.
|
|
18551
|
+
*
|
|
18552
|
+
* For each agent identity, provides:
|
|
18553
|
+
* - Agent metadata (name, version, offering)
|
|
18554
|
+
* - Services and their states
|
|
18555
|
+
* - Event subscriptions with RabbitMQ connection status
|
|
18556
|
+
* - RabbitMQ queues associated with the agent's offering
|
|
18557
|
+
*
|
|
18558
|
+
* The RMQ connection data includes:
|
|
18559
|
+
* - Whether the agent is currently connected
|
|
18560
|
+
* - Connection source IP, timestamp, and state
|
|
18561
|
+
* - Traffic statistics (bytes sent/received)
|
|
18562
|
+
*
|
|
18563
|
+
* Requires support user permissions.
|
|
18564
|
+
*/
|
|
18565
|
+
export const marketplaceSiteAgentConnectionStatsRetrieve = (options) => {
|
|
18566
|
+
return (options?.client ?? _heyApiClient).get({
|
|
18567
|
+
security: [
|
|
18568
|
+
{
|
|
18569
|
+
name: 'Authorization',
|
|
18570
|
+
type: 'apiKey'
|
|
18571
|
+
},
|
|
18572
|
+
{
|
|
18573
|
+
scheme: 'bearer',
|
|
18574
|
+
type: 'http'
|
|
18575
|
+
}
|
|
18576
|
+
],
|
|
18577
|
+
url: '/api/marketplace-site-agent-connection-stats/',
|
|
18578
|
+
...options
|
|
18579
|
+
});
|
|
18580
|
+
};
|
|
18535
18581
|
export const marketplaceSiteAgentIdentitiesList = (options) => {
|
|
18536
18582
|
return (options?.client ?? _heyApiClient).get({
|
|
18537
18583
|
security: [
|
|
@@ -18685,6 +18731,29 @@ export const marketplaceSiteAgentIdentitiesRegisterService = (options) => {
|
|
|
18685
18731
|
}
|
|
18686
18732
|
});
|
|
18687
18733
|
};
|
|
18734
|
+
/**
|
|
18735
|
+
* Remove agent identities that have no active services. Staff only.
|
|
18736
|
+
*/
|
|
18737
|
+
export const marketplaceSiteAgentIdentitiesCleanupOrphaned = (options) => {
|
|
18738
|
+
return (options?.client ?? _heyApiClient).post({
|
|
18739
|
+
security: [
|
|
18740
|
+
{
|
|
18741
|
+
name: 'Authorization',
|
|
18742
|
+
type: 'apiKey'
|
|
18743
|
+
},
|
|
18744
|
+
{
|
|
18745
|
+
scheme: 'bearer',
|
|
18746
|
+
type: 'http'
|
|
18747
|
+
}
|
|
18748
|
+
],
|
|
18749
|
+
url: '/api/marketplace-site-agent-identities/cleanup_orphaned/',
|
|
18750
|
+
...options,
|
|
18751
|
+
headers: {
|
|
18752
|
+
'Content-Type': 'application/json',
|
|
18753
|
+
...options?.headers
|
|
18754
|
+
}
|
|
18755
|
+
});
|
|
18756
|
+
};
|
|
18688
18757
|
export const marketplaceSiteAgentProcessorsList = (options) => {
|
|
18689
18758
|
return (options?.client ?? _heyApiClient).get({
|
|
18690
18759
|
security: [
|
|
@@ -18720,6 +18789,22 @@ export const marketplaceSiteAgentProcessorsCount = (options) => {
|
|
|
18720
18789
|
...options
|
|
18721
18790
|
});
|
|
18722
18791
|
};
|
|
18792
|
+
export const marketplaceSiteAgentProcessorsDestroy = (options) => {
|
|
18793
|
+
return (options.client ?? _heyApiClient).delete({
|
|
18794
|
+
security: [
|
|
18795
|
+
{
|
|
18796
|
+
name: 'Authorization',
|
|
18797
|
+
type: 'apiKey'
|
|
18798
|
+
},
|
|
18799
|
+
{
|
|
18800
|
+
scheme: 'bearer',
|
|
18801
|
+
type: 'http'
|
|
18802
|
+
}
|
|
18803
|
+
],
|
|
18804
|
+
url: '/api/marketplace-site-agent-processors/{uuid}/',
|
|
18805
|
+
...options
|
|
18806
|
+
});
|
|
18807
|
+
};
|
|
18723
18808
|
export const marketplaceSiteAgentProcessorsRetrieve = (options) => {
|
|
18724
18809
|
return (options.client ?? _heyApiClient).get({
|
|
18725
18810
|
security: [
|
|
@@ -18771,6 +18856,22 @@ export const marketplaceSiteAgentServicesCount = (options) => {
|
|
|
18771
18856
|
...options
|
|
18772
18857
|
});
|
|
18773
18858
|
};
|
|
18859
|
+
export const marketplaceSiteAgentServicesDestroy = (options) => {
|
|
18860
|
+
return (options.client ?? _heyApiClient).delete({
|
|
18861
|
+
security: [
|
|
18862
|
+
{
|
|
18863
|
+
name: 'Authorization',
|
|
18864
|
+
type: 'apiKey'
|
|
18865
|
+
},
|
|
18866
|
+
{
|
|
18867
|
+
scheme: 'bearer',
|
|
18868
|
+
type: 'http'
|
|
18869
|
+
}
|
|
18870
|
+
],
|
|
18871
|
+
url: '/api/marketplace-site-agent-services/{uuid}/',
|
|
18872
|
+
...options
|
|
18873
|
+
});
|
|
18874
|
+
};
|
|
18774
18875
|
export const marketplaceSiteAgentServicesRetrieve = (options) => {
|
|
18775
18876
|
return (options.client ?? _heyApiClient).get({
|
|
18776
18877
|
security: [
|
|
@@ -18833,6 +18934,67 @@ export const marketplaceSiteAgentServicesSetStatistics = (options) => {
|
|
|
18833
18934
|
}
|
|
18834
18935
|
});
|
|
18835
18936
|
};
|
|
18937
|
+
/**
|
|
18938
|
+
* Remove agent services that have been inactive for a specified time. Staff only.
|
|
18939
|
+
*/
|
|
18940
|
+
export const marketplaceSiteAgentServicesCleanupStale = (options) => {
|
|
18941
|
+
return (options?.client ?? _heyApiClient).post({
|
|
18942
|
+
security: [
|
|
18943
|
+
{
|
|
18944
|
+
name: 'Authorization',
|
|
18945
|
+
type: 'apiKey'
|
|
18946
|
+
},
|
|
18947
|
+
{
|
|
18948
|
+
scheme: 'bearer',
|
|
18949
|
+
type: 'http'
|
|
18950
|
+
}
|
|
18951
|
+
],
|
|
18952
|
+
url: '/api/marketplace-site-agent-services/cleanup_stale/',
|
|
18953
|
+
...options,
|
|
18954
|
+
headers: {
|
|
18955
|
+
'Content-Type': 'application/json',
|
|
18956
|
+
...options?.headers
|
|
18957
|
+
}
|
|
18958
|
+
});
|
|
18959
|
+
};
|
|
18960
|
+
/**
|
|
18961
|
+
* Get aggregated statistics about agent identities, services, and processors. Support users only.
|
|
18962
|
+
*/
|
|
18963
|
+
export const marketplaceSiteAgentStatsRetrieve = (options) => {
|
|
18964
|
+
return (options?.client ?? _heyApiClient).get({
|
|
18965
|
+
security: [
|
|
18966
|
+
{
|
|
18967
|
+
name: 'Authorization',
|
|
18968
|
+
type: 'apiKey'
|
|
18969
|
+
},
|
|
18970
|
+
{
|
|
18971
|
+
scheme: 'bearer',
|
|
18972
|
+
type: 'http'
|
|
18973
|
+
}
|
|
18974
|
+
],
|
|
18975
|
+
url: '/api/marketplace-site-agent-stats/',
|
|
18976
|
+
...options
|
|
18977
|
+
});
|
|
18978
|
+
};
|
|
18979
|
+
/**
|
|
18980
|
+
* Get Celery task status for agent-related tasks. Support users only.
|
|
18981
|
+
*/
|
|
18982
|
+
export const marketplaceSiteAgentTaskStatsRetrieve = (options) => {
|
|
18983
|
+
return (options?.client ?? _heyApiClient).get({
|
|
18984
|
+
security: [
|
|
18985
|
+
{
|
|
18986
|
+
name: 'Authorization',
|
|
18987
|
+
type: 'apiKey'
|
|
18988
|
+
},
|
|
18989
|
+
{
|
|
18990
|
+
scheme: 'bearer',
|
|
18991
|
+
type: 'http'
|
|
18992
|
+
}
|
|
18993
|
+
],
|
|
18994
|
+
url: '/api/marketplace-site-agent-task-stats/',
|
|
18995
|
+
...options
|
|
18996
|
+
});
|
|
18997
|
+
};
|
|
18836
18998
|
export const marketplaceSlurmPeriodicUsagePoliciesList = (options) => {
|
|
18837
18999
|
return (options?.client ?? _heyApiClient).get({
|
|
18838
19000
|
security: [
|
|
@@ -31049,18 +31211,20 @@ export const query = (options) => {
|
|
|
31049
31211
|
});
|
|
31050
31212
|
};
|
|
31051
31213
|
/**
|
|
31052
|
-
*
|
|
31053
|
-
*
|
|
31214
|
+
* Get RabbitMQ cluster overview statistics
|
|
31215
|
+
* Returns global RabbitMQ cluster health and performance metrics.
|
|
31054
31216
|
*
|
|
31055
|
-
*
|
|
31056
|
-
* -
|
|
31057
|
-
* -
|
|
31058
|
-
* -
|
|
31217
|
+
* Includes:
|
|
31218
|
+
* - **Cluster info**: Name, RabbitMQ version, Erlang version
|
|
31219
|
+
* - **Message stats**: Publish/deliver/confirm/ack counts and rates (per second)
|
|
31220
|
+
* - **Queue totals**: Total messages, ready messages, unacknowledged messages
|
|
31221
|
+
* - **Object totals**: Connection, channel, exchange, queue, and consumer counts
|
|
31222
|
+
* - **Listeners**: Active protocol listeners (AMQP, HTTP, etc.)
|
|
31059
31223
|
*
|
|
31060
|
-
* Requires
|
|
31224
|
+
* Requires support user permissions.
|
|
31061
31225
|
*/
|
|
31062
|
-
export const
|
|
31063
|
-
return (options?.client ?? _heyApiClient).
|
|
31226
|
+
export const rabbitmqOverviewRetrieve = (options) => {
|
|
31227
|
+
return (options?.client ?? _heyApiClient).get({
|
|
31064
31228
|
security: [
|
|
31065
31229
|
{
|
|
31066
31230
|
name: 'Authorization',
|
|
@@ -31071,7 +31235,7 @@ export const rabbitmqStatsDestroy = (options) => {
|
|
|
31071
31235
|
type: 'http'
|
|
31072
31236
|
}
|
|
31073
31237
|
],
|
|
31074
|
-
url: '/api/rabbitmq-
|
|
31238
|
+
url: '/api/rabbitmq-overview/',
|
|
31075
31239
|
...options
|
|
31076
31240
|
});
|
|
31077
31241
|
};
|
|
@@ -31102,6 +31266,55 @@ export const rabbitmqStatsRetrieve = (options) => {
|
|
|
31102
31266
|
...options
|
|
31103
31267
|
});
|
|
31104
31268
|
};
|
|
31269
|
+
/**
|
|
31270
|
+
* Purge or delete RabbitMQ subscription queues
|
|
31271
|
+
* Purges messages from or deletes specified RabbitMQ subscription queues.
|
|
31272
|
+
*
|
|
31273
|
+
* **Purge operations** (remove messages, keep queue):
|
|
31274
|
+
* - `vhost` and `queue_name`: Purge a specific queue
|
|
31275
|
+
* - `vhost` and `queue_pattern`: Purge queues matching pattern (e.g., '*_resource')
|
|
31276
|
+
* - `purge_all_subscription_queues`: Purge all subscription queues across all vhosts
|
|
31277
|
+
*
|
|
31278
|
+
* **Delete operations** (remove queue entirely):
|
|
31279
|
+
* - `vhost`, `queue_name`, and `delete_queue=true`: Delete a specific queue
|
|
31280
|
+
* - `vhost`, `queue_pattern`, and `delete_queue=true`: Delete queues matching pattern
|
|
31281
|
+
* - `delete_all_subscription_queues`: Delete all subscription queues across all vhosts
|
|
31282
|
+
*
|
|
31283
|
+
* Requires staff permissions (more restrictive than viewing).
|
|
31284
|
+
*/
|
|
31285
|
+
export const rabbitmqStats = (options) => {
|
|
31286
|
+
return (options?.client ?? _heyApiClient).post({
|
|
31287
|
+
security: [
|
|
31288
|
+
{
|
|
31289
|
+
name: 'Authorization',
|
|
31290
|
+
type: 'apiKey'
|
|
31291
|
+
},
|
|
31292
|
+
{
|
|
31293
|
+
scheme: 'bearer',
|
|
31294
|
+
type: 'http'
|
|
31295
|
+
}
|
|
31296
|
+
],
|
|
31297
|
+
url: '/api/rabbitmq-stats/',
|
|
31298
|
+
...options,
|
|
31299
|
+
headers: {
|
|
31300
|
+
'Content-Type': 'application/json',
|
|
31301
|
+
...options?.headers
|
|
31302
|
+
}
|
|
31303
|
+
});
|
|
31304
|
+
};
|
|
31305
|
+
/**
|
|
31306
|
+
* Get RabbitMQ user connection statistics
|
|
31307
|
+
* Returns enriched connection data for all RabbitMQ users.
|
|
31308
|
+
*
|
|
31309
|
+
* For each user (which corresponds to an EventSubscription), provides:
|
|
31310
|
+
* - Connection state (running, blocked, blocking)
|
|
31311
|
+
* - Traffic statistics (bytes sent/received)
|
|
31312
|
+
* - Connection timestamp
|
|
31313
|
+
* - Client properties (product, version, platform)
|
|
31314
|
+
* - Channel count and heartbeat timeout
|
|
31315
|
+
*
|
|
31316
|
+
* Requires support user permissions.
|
|
31317
|
+
*/
|
|
31105
31318
|
export const rabbitmqUserStatsList = (options) => {
|
|
31106
31319
|
return (options?.client ?? _heyApiClient).get({
|
|
31107
31320
|
security: [
|