waldur-js-client 7.9.7-dev.6 → 7.9.7-dev.8
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 +97 -12
- package/dist/sdk.gen.js +245 -13
- package/dist/types.gen.d.ts +906 -28
- 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: [
|
|
@@ -21871,6 +22033,25 @@ export const onboardingVerificationsStartVerification = (options) => {
|
|
|
21871
22033
|
}
|
|
21872
22034
|
});
|
|
21873
22035
|
};
|
|
22036
|
+
/**
|
|
22037
|
+
* Return person identifier field specification for a specific validation method. The validation_method parameter should match one of the available methods (e.g., 'ariregister', 'wirtschaftscompass', 'bolagsverket', 'breg').
|
|
22038
|
+
*/
|
|
22039
|
+
export const onboardingPersonIdentifierFieldsRetrieve = (options) => {
|
|
22040
|
+
return (options.client ?? _heyApiClient).get({
|
|
22041
|
+
security: [
|
|
22042
|
+
{
|
|
22043
|
+
name: 'Authorization',
|
|
22044
|
+
type: 'apiKey'
|
|
22045
|
+
},
|
|
22046
|
+
{
|
|
22047
|
+
scheme: 'bearer',
|
|
22048
|
+
type: 'http'
|
|
22049
|
+
}
|
|
22050
|
+
],
|
|
22051
|
+
url: '/api/onboarding/person-identifier-fields/',
|
|
22052
|
+
...options
|
|
22053
|
+
});
|
|
22054
|
+
};
|
|
21874
22055
|
/**
|
|
21875
22056
|
* Return list of supported countries for validation.
|
|
21876
22057
|
*/
|
|
@@ -31049,18 +31230,20 @@ export const query = (options) => {
|
|
|
31049
31230
|
});
|
|
31050
31231
|
};
|
|
31051
31232
|
/**
|
|
31052
|
-
*
|
|
31053
|
-
*
|
|
31233
|
+
* Get RabbitMQ cluster overview statistics
|
|
31234
|
+
* Returns global RabbitMQ cluster health and performance metrics.
|
|
31054
31235
|
*
|
|
31055
|
-
*
|
|
31056
|
-
* -
|
|
31057
|
-
* -
|
|
31058
|
-
* -
|
|
31236
|
+
* Includes:
|
|
31237
|
+
* - **Cluster info**: Name, RabbitMQ version, Erlang version
|
|
31238
|
+
* - **Message stats**: Publish/deliver/confirm/ack counts and rates (per second)
|
|
31239
|
+
* - **Queue totals**: Total messages, ready messages, unacknowledged messages
|
|
31240
|
+
* - **Object totals**: Connection, channel, exchange, queue, and consumer counts
|
|
31241
|
+
* - **Listeners**: Active protocol listeners (AMQP, HTTP, etc.)
|
|
31059
31242
|
*
|
|
31060
|
-
* Requires
|
|
31243
|
+
* Requires support user permissions.
|
|
31061
31244
|
*/
|
|
31062
|
-
export const
|
|
31063
|
-
return (options?.client ?? _heyApiClient).
|
|
31245
|
+
export const rabbitmqOverviewRetrieve = (options) => {
|
|
31246
|
+
return (options?.client ?? _heyApiClient).get({
|
|
31064
31247
|
security: [
|
|
31065
31248
|
{
|
|
31066
31249
|
name: 'Authorization',
|
|
@@ -31071,7 +31254,7 @@ export const rabbitmqStatsDestroy = (options) => {
|
|
|
31071
31254
|
type: 'http'
|
|
31072
31255
|
}
|
|
31073
31256
|
],
|
|
31074
|
-
url: '/api/rabbitmq-
|
|
31257
|
+
url: '/api/rabbitmq-overview/',
|
|
31075
31258
|
...options
|
|
31076
31259
|
});
|
|
31077
31260
|
};
|
|
@@ -31102,6 +31285,55 @@ export const rabbitmqStatsRetrieve = (options) => {
|
|
|
31102
31285
|
...options
|
|
31103
31286
|
});
|
|
31104
31287
|
};
|
|
31288
|
+
/**
|
|
31289
|
+
* Purge or delete RabbitMQ subscription queues
|
|
31290
|
+
* Purges messages from or deletes specified RabbitMQ subscription queues.
|
|
31291
|
+
*
|
|
31292
|
+
* **Purge operations** (remove messages, keep queue):
|
|
31293
|
+
* - `vhost` and `queue_name`: Purge a specific queue
|
|
31294
|
+
* - `vhost` and `queue_pattern`: Purge queues matching pattern (e.g., '*_resource')
|
|
31295
|
+
* - `purge_all_subscription_queues`: Purge all subscription queues across all vhosts
|
|
31296
|
+
*
|
|
31297
|
+
* **Delete operations** (remove queue entirely):
|
|
31298
|
+
* - `vhost`, `queue_name`, and `delete_queue=true`: Delete a specific queue
|
|
31299
|
+
* - `vhost`, `queue_pattern`, and `delete_queue=true`: Delete queues matching pattern
|
|
31300
|
+
* - `delete_all_subscription_queues`: Delete all subscription queues across all vhosts
|
|
31301
|
+
*
|
|
31302
|
+
* Requires staff permissions (more restrictive than viewing).
|
|
31303
|
+
*/
|
|
31304
|
+
export const rabbitmqStats = (options) => {
|
|
31305
|
+
return (options?.client ?? _heyApiClient).post({
|
|
31306
|
+
security: [
|
|
31307
|
+
{
|
|
31308
|
+
name: 'Authorization',
|
|
31309
|
+
type: 'apiKey'
|
|
31310
|
+
},
|
|
31311
|
+
{
|
|
31312
|
+
scheme: 'bearer',
|
|
31313
|
+
type: 'http'
|
|
31314
|
+
}
|
|
31315
|
+
],
|
|
31316
|
+
url: '/api/rabbitmq-stats/',
|
|
31317
|
+
...options,
|
|
31318
|
+
headers: {
|
|
31319
|
+
'Content-Type': 'application/json',
|
|
31320
|
+
...options?.headers
|
|
31321
|
+
}
|
|
31322
|
+
});
|
|
31323
|
+
};
|
|
31324
|
+
/**
|
|
31325
|
+
* Get RabbitMQ user connection statistics
|
|
31326
|
+
* Returns enriched connection data for all RabbitMQ users.
|
|
31327
|
+
*
|
|
31328
|
+
* For each user (which corresponds to an EventSubscription), provides:
|
|
31329
|
+
* - Connection state (running, blocked, blocking)
|
|
31330
|
+
* - Traffic statistics (bytes sent/received)
|
|
31331
|
+
* - Connection timestamp
|
|
31332
|
+
* - Client properties (product, version, platform)
|
|
31333
|
+
* - Channel count and heartbeat timeout
|
|
31334
|
+
*
|
|
31335
|
+
* Requires support user permissions.
|
|
31336
|
+
*/
|
|
31105
31337
|
export const rabbitmqUserStatsList = (options) => {
|
|
31106
31338
|
return (options?.client ?? _heyApiClient).get({
|
|
31107
31339
|
security: [
|