waldur-js-client 7.9.7 → 7.9.8-dev.1
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 +99 -11
- package/dist/sdk.gen.js +218 -127
- package/dist/types.gen.d.ts +354 -154
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -4264,133 +4264,6 @@ export const checklistsAdminCreate = (options) => {
|
|
|
4264
4264
|
}
|
|
4265
4265
|
});
|
|
4266
4266
|
};
|
|
4267
|
-
export const checklistsAdminCategoriesList = (options) => {
|
|
4268
|
-
return (options?.client ?? _heyApiClient).get({
|
|
4269
|
-
security: [
|
|
4270
|
-
{
|
|
4271
|
-
name: 'Authorization',
|
|
4272
|
-
type: 'apiKey'
|
|
4273
|
-
},
|
|
4274
|
-
{
|
|
4275
|
-
scheme: 'bearer',
|
|
4276
|
-
type: 'http'
|
|
4277
|
-
}
|
|
4278
|
-
],
|
|
4279
|
-
url: '/api/checklists-admin-categories/',
|
|
4280
|
-
...options
|
|
4281
|
-
});
|
|
4282
|
-
};
|
|
4283
|
-
/**
|
|
4284
|
-
* Get number of items in the collection matching the request parameters.
|
|
4285
|
-
*/
|
|
4286
|
-
export const checklistsAdminCategoriesCount = (options) => {
|
|
4287
|
-
return (options?.client ?? _heyApiClient).head({
|
|
4288
|
-
security: [
|
|
4289
|
-
{
|
|
4290
|
-
name: 'Authorization',
|
|
4291
|
-
type: 'apiKey'
|
|
4292
|
-
},
|
|
4293
|
-
{
|
|
4294
|
-
scheme: 'bearer',
|
|
4295
|
-
type: 'http'
|
|
4296
|
-
}
|
|
4297
|
-
],
|
|
4298
|
-
url: '/api/checklists-admin-categories/',
|
|
4299
|
-
...options
|
|
4300
|
-
});
|
|
4301
|
-
};
|
|
4302
|
-
export const checklistsAdminCategoriesCreate = (options) => {
|
|
4303
|
-
return (options.client ?? _heyApiClient).post({
|
|
4304
|
-
security: [
|
|
4305
|
-
{
|
|
4306
|
-
name: 'Authorization',
|
|
4307
|
-
type: 'apiKey'
|
|
4308
|
-
},
|
|
4309
|
-
{
|
|
4310
|
-
scheme: 'bearer',
|
|
4311
|
-
type: 'http'
|
|
4312
|
-
}
|
|
4313
|
-
],
|
|
4314
|
-
url: '/api/checklists-admin-categories/',
|
|
4315
|
-
...options,
|
|
4316
|
-
headers: {
|
|
4317
|
-
'Content-Type': 'application/json',
|
|
4318
|
-
...options.headers
|
|
4319
|
-
}
|
|
4320
|
-
});
|
|
4321
|
-
};
|
|
4322
|
-
export const checklistsAdminCategoriesDestroy = (options) => {
|
|
4323
|
-
return (options.client ?? _heyApiClient).delete({
|
|
4324
|
-
security: [
|
|
4325
|
-
{
|
|
4326
|
-
name: 'Authorization',
|
|
4327
|
-
type: 'apiKey'
|
|
4328
|
-
},
|
|
4329
|
-
{
|
|
4330
|
-
scheme: 'bearer',
|
|
4331
|
-
type: 'http'
|
|
4332
|
-
}
|
|
4333
|
-
],
|
|
4334
|
-
url: '/api/checklists-admin-categories/{uuid}/',
|
|
4335
|
-
...options
|
|
4336
|
-
});
|
|
4337
|
-
};
|
|
4338
|
-
export const checklistsAdminCategoriesRetrieve = (options) => {
|
|
4339
|
-
return (options.client ?? _heyApiClient).get({
|
|
4340
|
-
security: [
|
|
4341
|
-
{
|
|
4342
|
-
name: 'Authorization',
|
|
4343
|
-
type: 'apiKey'
|
|
4344
|
-
},
|
|
4345
|
-
{
|
|
4346
|
-
scheme: 'bearer',
|
|
4347
|
-
type: 'http'
|
|
4348
|
-
}
|
|
4349
|
-
],
|
|
4350
|
-
url: '/api/checklists-admin-categories/{uuid}/',
|
|
4351
|
-
...options
|
|
4352
|
-
});
|
|
4353
|
-
};
|
|
4354
|
-
export const checklistsAdminCategoriesPartialUpdate = (options) => {
|
|
4355
|
-
return (options.client ?? _heyApiClient).patch({
|
|
4356
|
-
security: [
|
|
4357
|
-
{
|
|
4358
|
-
name: 'Authorization',
|
|
4359
|
-
type: 'apiKey'
|
|
4360
|
-
},
|
|
4361
|
-
{
|
|
4362
|
-
scheme: 'bearer',
|
|
4363
|
-
type: 'http'
|
|
4364
|
-
}
|
|
4365
|
-
],
|
|
4366
|
-
url: '/api/checklists-admin-categories/{uuid}/',
|
|
4367
|
-
...options,
|
|
4368
|
-
headers: {
|
|
4369
|
-
'Content-Type': 'application/json',
|
|
4370
|
-
...options.headers
|
|
4371
|
-
}
|
|
4372
|
-
});
|
|
4373
|
-
};
|
|
4374
|
-
export const checklistsAdminCategoriesUpdate = (options) => {
|
|
4375
|
-
return (options.client ?? _heyApiClient).put({
|
|
4376
|
-
security: [
|
|
4377
|
-
{
|
|
4378
|
-
name: 'Authorization',
|
|
4379
|
-
type: 'apiKey'
|
|
4380
|
-
},
|
|
4381
|
-
{
|
|
4382
|
-
scheme: 'bearer',
|
|
4383
|
-
type: 'http'
|
|
4384
|
-
}
|
|
4385
|
-
],
|
|
4386
|
-
url: '/api/checklists-admin-categories/{uuid}/',
|
|
4387
|
-
...options,
|
|
4388
|
-
headers: {
|
|
4389
|
-
'Content-Type': 'application/json',
|
|
4390
|
-
...options.headers
|
|
4391
|
-
}
|
|
4392
|
-
});
|
|
4393
|
-
};
|
|
4394
4267
|
export const checklistsAdminQuestionDependenciesList = (options) => {
|
|
4395
4268
|
return (options?.client ?? _heyApiClient).get({
|
|
4396
4269
|
security: [
|
|
@@ -6088,6 +5961,224 @@ export const databaseStatsRetrieve = (options) => {
|
|
|
6088
5961
|
...options
|
|
6089
5962
|
});
|
|
6090
5963
|
};
|
|
5964
|
+
/**
|
|
5965
|
+
* Get circuit breaker state
|
|
5966
|
+
* Get current STOMP circuit breaker state and statistics.
|
|
5967
|
+
*
|
|
5968
|
+
* Returns:
|
|
5969
|
+
* - state: Current state (closed/open/half_open)
|
|
5970
|
+
* - failure_count: Number of consecutive failures
|
|
5971
|
+
* - success_count: Successes since last state change
|
|
5972
|
+
* - last_failure_time: Timestamp of last failure
|
|
5973
|
+
* - last_state_change: When state last changed
|
|
5974
|
+
* - config: Circuit breaker configuration
|
|
5975
|
+
* - state_history: Recent state transitions
|
|
5976
|
+
*
|
|
5977
|
+
* Requires staff permissions.
|
|
5978
|
+
*/
|
|
5979
|
+
export const debugPubsubCircuitBreakerRetrieve = (options) => {
|
|
5980
|
+
return (options?.client ?? _heyApiClient).get({
|
|
5981
|
+
security: [
|
|
5982
|
+
{
|
|
5983
|
+
name: 'Authorization',
|
|
5984
|
+
type: 'apiKey'
|
|
5985
|
+
},
|
|
5986
|
+
{
|
|
5987
|
+
scheme: 'bearer',
|
|
5988
|
+
type: 'http'
|
|
5989
|
+
}
|
|
5990
|
+
],
|
|
5991
|
+
url: '/api/debug/pubsub/circuit_breaker/',
|
|
5992
|
+
...options
|
|
5993
|
+
});
|
|
5994
|
+
};
|
|
5995
|
+
/**
|
|
5996
|
+
* Reset circuit breaker
|
|
5997
|
+
* Manually reset the STOMP circuit breaker to CLOSED state.
|
|
5998
|
+
*
|
|
5999
|
+
* Use with caution - only when RabbitMQ is confirmed healthy.
|
|
6000
|
+
*
|
|
6001
|
+
* Requires staff permissions.
|
|
6002
|
+
*/
|
|
6003
|
+
export const debugPubsubCircuitBreakerReset = (options) => {
|
|
6004
|
+
return (options?.client ?? _heyApiClient).post({
|
|
6005
|
+
security: [
|
|
6006
|
+
{
|
|
6007
|
+
name: 'Authorization',
|
|
6008
|
+
type: 'apiKey'
|
|
6009
|
+
},
|
|
6010
|
+
{
|
|
6011
|
+
scheme: 'bearer',
|
|
6012
|
+
type: 'http'
|
|
6013
|
+
}
|
|
6014
|
+
],
|
|
6015
|
+
url: '/api/debug/pubsub/circuit_breaker_reset/',
|
|
6016
|
+
...options
|
|
6017
|
+
});
|
|
6018
|
+
};
|
|
6019
|
+
/**
|
|
6020
|
+
* Get dead letter queue status
|
|
6021
|
+
* Get dead letter queue (DLQ) statistics.
|
|
6022
|
+
*
|
|
6023
|
+
* The DLQ receives messages that failed to be delivered to their original
|
|
6024
|
+
* destination. This endpoint shows the current DLQ status.
|
|
6025
|
+
*
|
|
6026
|
+
* Note: DLQ is configured per-vhost. This endpoint checks all vhosts
|
|
6027
|
+
* for queues with 'dlq' in the name.
|
|
6028
|
+
*
|
|
6029
|
+
* Requires staff permissions.
|
|
6030
|
+
*/
|
|
6031
|
+
export const debugPubsubDeadLetterQueueRetrieve = (options) => {
|
|
6032
|
+
return (options?.client ?? _heyApiClient).get({
|
|
6033
|
+
security: [
|
|
6034
|
+
{
|
|
6035
|
+
name: 'Authorization',
|
|
6036
|
+
type: 'apiKey'
|
|
6037
|
+
},
|
|
6038
|
+
{
|
|
6039
|
+
scheme: 'bearer',
|
|
6040
|
+
type: 'http'
|
|
6041
|
+
}
|
|
6042
|
+
],
|
|
6043
|
+
url: '/api/debug/pubsub/dead_letter_queue/',
|
|
6044
|
+
...options
|
|
6045
|
+
});
|
|
6046
|
+
};
|
|
6047
|
+
/**
|
|
6048
|
+
* Get message state cache statistics
|
|
6049
|
+
* Get message state tracker cache statistics for idempotency.
|
|
6050
|
+
*
|
|
6051
|
+
* The message state tracker prevents duplicate message sends by caching
|
|
6052
|
+
* the hash of message content. This endpoint provides cache statistics.
|
|
6053
|
+
*
|
|
6054
|
+
* Query params:
|
|
6055
|
+
* - resource_uuid: Filter by specific resource
|
|
6056
|
+
* - message_type: Filter by message type
|
|
6057
|
+
*
|
|
6058
|
+
* Requires staff permissions.
|
|
6059
|
+
*/
|
|
6060
|
+
export const debugPubsubMessageStateCacheRetrieve = (options) => {
|
|
6061
|
+
return (options?.client ?? _heyApiClient).get({
|
|
6062
|
+
security: [
|
|
6063
|
+
{
|
|
6064
|
+
name: 'Authorization',
|
|
6065
|
+
type: 'apiKey'
|
|
6066
|
+
},
|
|
6067
|
+
{
|
|
6068
|
+
scheme: 'bearer',
|
|
6069
|
+
type: 'http'
|
|
6070
|
+
}
|
|
6071
|
+
],
|
|
6072
|
+
url: '/api/debug/pubsub/message_state_cache/',
|
|
6073
|
+
...options
|
|
6074
|
+
});
|
|
6075
|
+
};
|
|
6076
|
+
/**
|
|
6077
|
+
* Get publishing metrics
|
|
6078
|
+
* Get message publishing metrics and statistics.
|
|
6079
|
+
*
|
|
6080
|
+
* Returns:
|
|
6081
|
+
* - messages_sent: Total messages successfully sent
|
|
6082
|
+
* - messages_failed: Total failed message attempts
|
|
6083
|
+
* - messages_retried: Messages that required retry
|
|
6084
|
+
* - messages_skipped: Messages skipped due to circuit breaker
|
|
6085
|
+
* - circuit_breaker_trips: Number of times circuit opened
|
|
6086
|
+
* - rate_limiter_rejections: Messages rejected by rate limiter
|
|
6087
|
+
* - avg_publish_time_ms: Average publish latency
|
|
6088
|
+
* - last_publish_time: Timestamp of last publish attempt
|
|
6089
|
+
*
|
|
6090
|
+
* Requires staff permissions.
|
|
6091
|
+
*/
|
|
6092
|
+
export const debugPubsubMetricsRetrieve = (options) => {
|
|
6093
|
+
return (options?.client ?? _heyApiClient).get({
|
|
6094
|
+
security: [
|
|
6095
|
+
{
|
|
6096
|
+
name: 'Authorization',
|
|
6097
|
+
type: 'apiKey'
|
|
6098
|
+
},
|
|
6099
|
+
{
|
|
6100
|
+
scheme: 'bearer',
|
|
6101
|
+
type: 'http'
|
|
6102
|
+
}
|
|
6103
|
+
],
|
|
6104
|
+
url: '/api/debug/pubsub/metrics/',
|
|
6105
|
+
...options
|
|
6106
|
+
});
|
|
6107
|
+
};
|
|
6108
|
+
/**
|
|
6109
|
+
* Reset publishing metrics
|
|
6110
|
+
* Reset all publishing metrics counters to zero.
|
|
6111
|
+
*
|
|
6112
|
+
* Requires staff permissions.
|
|
6113
|
+
*/
|
|
6114
|
+
export const debugPubsubMetricsReset = (options) => {
|
|
6115
|
+
return (options?.client ?? _heyApiClient).post({
|
|
6116
|
+
security: [
|
|
6117
|
+
{
|
|
6118
|
+
name: 'Authorization',
|
|
6119
|
+
type: 'apiKey'
|
|
6120
|
+
},
|
|
6121
|
+
{
|
|
6122
|
+
scheme: 'bearer',
|
|
6123
|
+
type: 'http'
|
|
6124
|
+
}
|
|
6125
|
+
],
|
|
6126
|
+
url: '/api/debug/pubsub/metrics_reset/',
|
|
6127
|
+
...options
|
|
6128
|
+
});
|
|
6129
|
+
};
|
|
6130
|
+
/**
|
|
6131
|
+
* Get pubsub system health overview
|
|
6132
|
+
* Dashboard overview of pubsub system health.
|
|
6133
|
+
*
|
|
6134
|
+
* Combines circuit breaker state, publishing metrics, and health indicators
|
|
6135
|
+
* into a single response suitable for monitoring dashboards.
|
|
6136
|
+
*
|
|
6137
|
+
* Requires staff permissions.
|
|
6138
|
+
*/
|
|
6139
|
+
export const debugPubsubOverviewRetrieve = (options) => {
|
|
6140
|
+
return (options?.client ?? _heyApiClient).get({
|
|
6141
|
+
security: [
|
|
6142
|
+
{
|
|
6143
|
+
name: 'Authorization',
|
|
6144
|
+
type: 'apiKey'
|
|
6145
|
+
},
|
|
6146
|
+
{
|
|
6147
|
+
scheme: 'bearer',
|
|
6148
|
+
type: 'http'
|
|
6149
|
+
}
|
|
6150
|
+
],
|
|
6151
|
+
url: '/api/debug/pubsub/overview/',
|
|
6152
|
+
...options
|
|
6153
|
+
});
|
|
6154
|
+
};
|
|
6155
|
+
/**
|
|
6156
|
+
* Get subscription queues overview
|
|
6157
|
+
* Get overview of subscription queues from RabbitMQ.
|
|
6158
|
+
*
|
|
6159
|
+
* Returns summary of subscription queues across all vhosts including
|
|
6160
|
+
* message counts and queue statistics.
|
|
6161
|
+
*
|
|
6162
|
+
* Note: For detailed queue management, use /api/rabbitmq-stats/ endpoint.
|
|
6163
|
+
*
|
|
6164
|
+
* Requires staff permissions.
|
|
6165
|
+
*/
|
|
6166
|
+
export const debugPubsubQueuesRetrieve = (options) => {
|
|
6167
|
+
return (options?.client ?? _heyApiClient).get({
|
|
6168
|
+
security: [
|
|
6169
|
+
{
|
|
6170
|
+
name: 'Authorization',
|
|
6171
|
+
type: 'apiKey'
|
|
6172
|
+
},
|
|
6173
|
+
{
|
|
6174
|
+
scheme: 'bearer',
|
|
6175
|
+
type: 'http'
|
|
6176
|
+
}
|
|
6177
|
+
],
|
|
6178
|
+
url: '/api/debug/pubsub/queues/',
|
|
6179
|
+
...options
|
|
6180
|
+
});
|
|
6181
|
+
};
|
|
6091
6182
|
export const digitaloceanDropletsList = (options) => {
|
|
6092
6183
|
return (options?.client ?? _heyApiClient).get({
|
|
6093
6184
|
security: [
|