waldur-js-client 7.9.7-dev.9 → 7.9.8-dev.0

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.
@@ -2809,6 +2809,78 @@ export type ChecklistTemplate = {
2809
2809
  initial_visible_questions: Array<Question>;
2810
2810
  };
2811
2811
  export type ChecklistTypeEnum = 'project_compliance' | 'proposal_compliance' | 'offering_compliance' | 'project_metadata' | 'onboarding_customer' | 'onboarding_intent';
2812
+ export type CircuitBreakerConfig = {
2813
+ /**
2814
+ * Number of failures before opening circuit
2815
+ */
2816
+ readonly failure_threshold: number;
2817
+ /**
2818
+ * Seconds to wait before attempting recovery
2819
+ */
2820
+ readonly recovery_timeout: number;
2821
+ /**
2822
+ * Successful calls needed in half-open state to close
2823
+ */
2824
+ readonly success_threshold: number;
2825
+ };
2826
+ export type CircuitBreakerReset = {
2827
+ /**
2828
+ * Operation status
2829
+ */
2830
+ readonly status: string;
2831
+ /**
2832
+ * New circuit breaker state after reset
2833
+ */
2834
+ readonly state: string;
2835
+ };
2836
+ export type CircuitBreakerStateChange = {
2837
+ /**
2838
+ * Unix timestamp of state change
2839
+ */
2840
+ readonly timestamp: number;
2841
+ /**
2842
+ * Previous state
2843
+ */
2844
+ readonly from_state: string | null;
2845
+ /**
2846
+ * New state
2847
+ */
2848
+ readonly to_state: string;
2849
+ /**
2850
+ * Reason for state change
2851
+ */
2852
+ readonly reason: string;
2853
+ };
2854
+ export type CircuitBreakerStatus = {
2855
+ /**
2856
+ * Current state: closed, open, or half_open
2857
+ */
2858
+ readonly state: string;
2859
+ /**
2860
+ * Number of consecutive failures
2861
+ */
2862
+ readonly failure_count: number;
2863
+ /**
2864
+ * Successful calls since last state change
2865
+ */
2866
+ readonly success_count: number;
2867
+ /**
2868
+ * Unix timestamp of last failure
2869
+ */
2870
+ readonly last_failure_time: number | null;
2871
+ /**
2872
+ * Unix timestamp of last state change
2873
+ */
2874
+ readonly last_state_change: number | null;
2875
+ /**
2876
+ * Circuit breaker configuration
2877
+ */
2878
+ config: CircuitBreakerConfig;
2879
+ /**
2880
+ * Recent state transitions (last 50)
2881
+ */
2882
+ readonly state_history: Array<CircuitBreakerStateChange>;
2883
+ };
2812
2884
  export type CleanupRequestRequest = {
2813
2885
  /**
2814
2886
  * If true, only return what would be deleted without actually deleting
@@ -3395,6 +3467,12 @@ export type ConstanceSettings = {
3395
3467
  SOFTWARE_CATALOG_UPDATE_EXISTING_PACKAGES?: boolean;
3396
3468
  SOFTWARE_CATALOG_CLEANUP_ENABLED?: boolean;
3397
3469
  SOFTWARE_CATALOG_RETENTION_DAYS?: number;
3470
+ USER_ACTIONS_ENABLED?: boolean;
3471
+ USER_ACTIONS_PENDING_ORDER_HOURS?: number;
3472
+ USER_ACTIONS_HIGH_URGENCY_NOTIFICATION?: boolean;
3473
+ USER_ACTIONS_NOTIFICATION_THRESHOLD?: number;
3474
+ USER_ACTIONS_EXECUTION_RETENTION_DAYS?: number;
3475
+ USER_ACTIONS_DEFAULT_EXPIRATION_REMINDERS?: Array<string>;
3398
3476
  };
3399
3477
  export type ConstanceSettingsRequest = {
3400
3478
  SITE_NAME?: string;
@@ -3588,6 +3666,12 @@ export type ConstanceSettingsRequest = {
3588
3666
  SOFTWARE_CATALOG_UPDATE_EXISTING_PACKAGES?: boolean;
3589
3667
  SOFTWARE_CATALOG_CLEANUP_ENABLED?: boolean;
3590
3668
  SOFTWARE_CATALOG_RETENTION_DAYS?: number;
3669
+ USER_ACTIONS_ENABLED?: boolean;
3670
+ USER_ACTIONS_PENDING_ORDER_HOURS?: number;
3671
+ USER_ACTIONS_HIGH_URGENCY_NOTIFICATION?: boolean;
3672
+ USER_ACTIONS_NOTIFICATION_THRESHOLD?: number;
3673
+ USER_ACTIONS_EXECUTION_RETENTION_DAYS?: number;
3674
+ USER_ACTIONS_DEFAULT_EXPIRATION_REMINDERS?: Array<string>;
3591
3675
  };
3592
3676
  export type ContainerFormatEnum = 'bare' | 'ovf' | 'aki' | 'ami' | 'ari';
3593
3677
  export type CoreAuthToken = {
@@ -4267,6 +4351,28 @@ export type CustomerUser = {
4267
4351
  readonly expiration_time?: string | null;
4268
4352
  image?: string | null;
4269
4353
  };
4354
+ export type DlqQueue = {
4355
+ /**
4356
+ * Virtual host name
4357
+ */
4358
+ readonly vhost: string;
4359
+ /**
4360
+ * DLQ queue name
4361
+ */
4362
+ readonly queue_name: string;
4363
+ /**
4364
+ * Total messages in DLQ
4365
+ */
4366
+ readonly messages: number;
4367
+ /**
4368
+ * Messages ready for delivery
4369
+ */
4370
+ readonly messages_ready: number;
4371
+ /**
4372
+ * Number of consumers attached
4373
+ */
4374
+ readonly consumers: number;
4375
+ };
4270
4376
  export type DataVolume = {
4271
4377
  size: number;
4272
4378
  volume_type?: string | null;
@@ -4339,6 +4445,24 @@ export type DatabaseStatsResponse = {
4339
4445
  */
4340
4446
  replication: ReplicationStats;
4341
4447
  };
4448
+ export type DeadLetterQueue = {
4449
+ /**
4450
+ * Total messages across all DLQs
4451
+ */
4452
+ readonly total_dlq_messages: number;
4453
+ /**
4454
+ * Number of DLQ queues found
4455
+ */
4456
+ readonly dlq_count: number;
4457
+ /**
4458
+ * List of DLQ queues with their statistics
4459
+ */
4460
+ readonly dlq_queues: Array<DlqQueue>;
4461
+ /**
4462
+ * Informational note about DLQs
4463
+ */
4464
+ readonly note: string;
4465
+ };
4342
4466
  export type DecidingEntityEnum = 'by_call_manager' | 'automatic';
4343
4467
  export type DeleteAttachmentsRequest = {
4344
4468
  attachment_ids: Array<string>;
@@ -7532,6 +7656,30 @@ export type MergedSecretOptionsRequest = {
7532
7656
  export type MessageResponse = {
7533
7657
  message: string;
7534
7658
  };
7659
+ export type MessageStateCache = {
7660
+ /**
7661
+ * Cache TTL in seconds
7662
+ */
7663
+ readonly cache_ttl: number;
7664
+ /**
7665
+ * Cache description
7666
+ */
7667
+ readonly description: string;
7668
+ /**
7669
+ * Applied filters
7670
+ */
7671
+ filter: MessageStateCacheFilter;
7672
+ };
7673
+ export type MessageStateCacheFilter = {
7674
+ /**
7675
+ * Filter by resource UUID
7676
+ */
7677
+ readonly resource_uuid: string | null;
7678
+ /**
7679
+ * Filter by message type
7680
+ */
7681
+ readonly message_type: string | null;
7682
+ };
7535
7683
  export type MessageTemplate = {
7536
7684
  readonly url: string;
7537
7685
  readonly uuid: string;
@@ -7544,6 +7692,12 @@ export type MessageTemplateRequest = {
7544
7692
  subject: string;
7545
7693
  body: string;
7546
7694
  };
7695
+ export type MetricsReset = {
7696
+ /**
7697
+ * Operation status
7698
+ */
7699
+ readonly status: string;
7700
+ };
7547
7701
  export type MigrationCreate = {
7548
7702
  mappings?: Mapping;
7549
7703
  src_resource: string;
@@ -14795,6 +14949,94 @@ export type PublicOfferingDetails = {
14795
14949
  readonly google_calendar_link?: string | null;
14796
14950
  readonly promotion_campaigns?: Array<NestedCampaign>;
14797
14951
  };
14952
+ export type PublishingMetrics = {
14953
+ /**
14954
+ * Total messages successfully sent
14955
+ */
14956
+ readonly messages_sent: number;
14957
+ /**
14958
+ * Total failed message attempts
14959
+ */
14960
+ readonly messages_failed: number;
14961
+ /**
14962
+ * Messages that required retry
14963
+ */
14964
+ readonly messages_retried: number;
14965
+ /**
14966
+ * Messages skipped due to circuit breaker
14967
+ */
14968
+ readonly messages_skipped: number;
14969
+ /**
14970
+ * Number of times circuit breaker opened
14971
+ */
14972
+ readonly circuit_breaker_trips: number;
14973
+ /**
14974
+ * Messages rejected by rate limiter
14975
+ */
14976
+ readonly rate_limiter_rejections: number;
14977
+ /**
14978
+ * Average message publish latency in milliseconds
14979
+ */
14980
+ readonly avg_publish_time_ms: number;
14981
+ /**
14982
+ * Unix timestamp of last publish attempt
14983
+ */
14984
+ readonly last_publish_time: number | null;
14985
+ };
14986
+ export type PubsubCircuitBreakerSummary = {
14987
+ /**
14988
+ * Current state: closed, open, or half_open
14989
+ */
14990
+ readonly state: string;
14991
+ /**
14992
+ * Whether circuit breaker is in healthy state (closed)
14993
+ */
14994
+ readonly healthy: boolean;
14995
+ /**
14996
+ * Number of consecutive failures
14997
+ */
14998
+ readonly failure_count: number;
14999
+ };
15000
+ export type PubsubMetricsSummary = {
15001
+ /**
15002
+ * Total messages sent
15003
+ */
15004
+ readonly messages_sent: number;
15005
+ /**
15006
+ * Total messages failed
15007
+ */
15008
+ readonly messages_failed: number;
15009
+ /**
15010
+ * Failure rate as percentage string
15011
+ */
15012
+ readonly failure_rate: string;
15013
+ /**
15014
+ * Average publish latency in milliseconds
15015
+ */
15016
+ readonly avg_latency_ms: number;
15017
+ };
15018
+ export type PubsubOverview = {
15019
+ /**
15020
+ * Overall health: healthy, degraded, or critical
15021
+ */
15022
+ readonly health_status: string;
15023
+ /**
15024
+ * List of current issues affecting health
15025
+ */
15026
+ readonly issues: Array<string>;
15027
+ /**
15028
+ * Circuit breaker summary
15029
+ */
15030
+ circuit_breaker: PubsubCircuitBreakerSummary;
15031
+ /**
15032
+ * Publishing metrics summary
15033
+ */
15034
+ metrics: PubsubMetricsSummary;
15035
+ /**
15036
+ * Timestamp when overview was generated
15037
+ */
15038
+ readonly last_updated: string;
15039
+ };
14798
15040
  export type PullMarketplaceScriptResourceRequest = {
14799
15041
  resource_uuid: string;
14800
15042
  };
@@ -18563,6 +18805,24 @@ export type SubresourceOffering = {
18563
18805
  */
18564
18806
  readonly type: string;
18565
18807
  };
18808
+ export type SubscriptionQueuesOverview = {
18809
+ /**
18810
+ * Total number of vhosts with subscription queues
18811
+ */
18812
+ readonly total_vhosts: number;
18813
+ /**
18814
+ * Total number of subscription queues
18815
+ */
18816
+ readonly total_queues: number;
18817
+ /**
18818
+ * Total messages across all subscription queues
18819
+ */
18820
+ readonly total_messages: number;
18821
+ /**
18822
+ * Top 10 queues by message count
18823
+ */
18824
+ readonly top_queues_by_messages: Array<TopQueue>;
18825
+ };
18566
18826
  export type SuggestAlternativeReviewers = {
18567
18827
  /**
18568
18828
  * List of alternative reviewers with affinity scores
@@ -18699,6 +18959,34 @@ export type TokenRequest = {
18699
18959
  */
18700
18960
  token: string;
18701
18961
  };
18962
+ export type ToolExecuteRequest = {
18963
+ /**
18964
+ * Name of the tool to execute.
18965
+ */
18966
+ tool: string;
18967
+ /**
18968
+ * Tool arguments.
18969
+ */
18970
+ arguments?: unknown;
18971
+ };
18972
+ export type TopQueue = {
18973
+ /**
18974
+ * Virtual host name
18975
+ */
18976
+ readonly vhost: string;
18977
+ /**
18978
+ * Queue name
18979
+ */
18980
+ readonly name: string;
18981
+ /**
18982
+ * Number of messages in queue
18983
+ */
18984
+ readonly messages: number;
18985
+ /**
18986
+ * Number of consumers attached
18987
+ */
18988
+ readonly consumers: number;
18989
+ };
18702
18990
  export type TotalCustomerCost = {
18703
18991
  readonly total: number;
18704
18992
  readonly price: number;
@@ -20836,6 +21124,12 @@ export type ConstanceSettingsRequestForm = {
20836
21124
  SOFTWARE_CATALOG_UPDATE_EXISTING_PACKAGES?: boolean;
20837
21125
  SOFTWARE_CATALOG_CLEANUP_ENABLED?: boolean;
20838
21126
  SOFTWARE_CATALOG_RETENTION_DAYS?: number;
21127
+ USER_ACTIONS_ENABLED?: boolean;
21128
+ USER_ACTIONS_PENDING_ORDER_HOURS?: number;
21129
+ USER_ACTIONS_HIGH_URGENCY_NOTIFICATION?: boolean;
21130
+ USER_ACTIONS_NOTIFICATION_THRESHOLD?: number;
21131
+ USER_ACTIONS_EXECUTION_RETENTION_DAYS?: number;
21132
+ USER_ACTIONS_DEFAULT_EXPIRATION_REMINDERS?: Array<string>;
20839
21133
  };
20840
21134
  export type ConstanceSettingsRequestMultipart = {
20841
21135
  SITE_NAME?: string;
@@ -21029,6 +21323,12 @@ export type ConstanceSettingsRequestMultipart = {
21029
21323
  SOFTWARE_CATALOG_UPDATE_EXISTING_PACKAGES?: boolean;
21030
21324
  SOFTWARE_CATALOG_CLEANUP_ENABLED?: boolean;
21031
21325
  SOFTWARE_CATALOG_RETENTION_DAYS?: number;
21326
+ USER_ACTIONS_ENABLED?: boolean;
21327
+ USER_ACTIONS_PENDING_ORDER_HOURS?: number;
21328
+ USER_ACTIONS_HIGH_URGENCY_NOTIFICATION?: boolean;
21329
+ USER_ACTIONS_NOTIFICATION_THRESHOLD?: number;
21330
+ USER_ACTIONS_EXECUTION_RETENTION_DAYS?: number;
21331
+ USER_ACTIONS_DEFAULT_EXPIRATION_REMINDERS?: Array<string>;
21032
21332
  };
21033
21333
  export type PaymentRequestForm = {
21034
21334
  profile: string;
@@ -26252,6 +26552,28 @@ export type CeleryStatsRetrieveResponses = {
26252
26552
  200: CeleryStatsResponse;
26253
26553
  };
26254
26554
  export type CeleryStatsRetrieveResponse = CeleryStatsRetrieveResponses[keyof CeleryStatsRetrieveResponses];
26555
+ export type ChatToolsExecuteData = {
26556
+ body: ToolExecuteRequest;
26557
+ path?: never;
26558
+ query?: never;
26559
+ url: '/api/chat-tools/execute/';
26560
+ };
26561
+ export type ChatToolsExecuteResponses = {
26562
+ 200: {
26563
+ [key: string]: unknown;
26564
+ };
26565
+ };
26566
+ export type ChatToolsExecuteResponse = ChatToolsExecuteResponses[keyof ChatToolsExecuteResponses];
26567
+ export type ChatInvokeData = {
26568
+ body?: never;
26569
+ path?: never;
26570
+ query?: never;
26571
+ url: '/api/chat/invoke/';
26572
+ };
26573
+ export type ChatInvokeResponses = {
26574
+ 200: string;
26575
+ };
26576
+ export type ChatInvokeResponse = ChatInvokeResponses[keyof ChatInvokeResponses];
26255
26577
  export type ChatStreamData = {
26256
26578
  body: ChatRequestRequest;
26257
26579
  path?: never;
@@ -28295,6 +28617,94 @@ export type DatabaseStatsRetrieveResponses = {
28295
28617
  200: DatabaseStatsResponse;
28296
28618
  };
28297
28619
  export type DatabaseStatsRetrieveResponse = DatabaseStatsRetrieveResponses[keyof DatabaseStatsRetrieveResponses];
28620
+ export type DebugPubsubCircuitBreakerRetrieveData = {
28621
+ body?: never;
28622
+ path?: never;
28623
+ query?: never;
28624
+ url: '/api/debug/pubsub/circuit_breaker/';
28625
+ };
28626
+ export type DebugPubsubCircuitBreakerRetrieveResponses = {
28627
+ 200: CircuitBreakerStatus;
28628
+ };
28629
+ export type DebugPubsubCircuitBreakerRetrieveResponse = DebugPubsubCircuitBreakerRetrieveResponses[keyof DebugPubsubCircuitBreakerRetrieveResponses];
28630
+ export type DebugPubsubCircuitBreakerResetData = {
28631
+ body?: never;
28632
+ path?: never;
28633
+ query?: never;
28634
+ url: '/api/debug/pubsub/circuit_breaker_reset/';
28635
+ };
28636
+ export type DebugPubsubCircuitBreakerResetResponses = {
28637
+ 200: CircuitBreakerReset;
28638
+ };
28639
+ export type DebugPubsubCircuitBreakerResetResponse = DebugPubsubCircuitBreakerResetResponses[keyof DebugPubsubCircuitBreakerResetResponses];
28640
+ export type DebugPubsubDeadLetterQueueRetrieveData = {
28641
+ body?: never;
28642
+ path?: never;
28643
+ query?: never;
28644
+ url: '/api/debug/pubsub/dead_letter_queue/';
28645
+ };
28646
+ export type DebugPubsubDeadLetterQueueRetrieveErrors = {
28647
+ 503: RmqStatsError;
28648
+ };
28649
+ export type DebugPubsubDeadLetterQueueRetrieveError = DebugPubsubDeadLetterQueueRetrieveErrors[keyof DebugPubsubDeadLetterQueueRetrieveErrors];
28650
+ export type DebugPubsubDeadLetterQueueRetrieveResponses = {
28651
+ 200: DeadLetterQueue;
28652
+ };
28653
+ export type DebugPubsubDeadLetterQueueRetrieveResponse = DebugPubsubDeadLetterQueueRetrieveResponses[keyof DebugPubsubDeadLetterQueueRetrieveResponses];
28654
+ export type DebugPubsubMessageStateCacheRetrieveData = {
28655
+ body?: never;
28656
+ path?: never;
28657
+ query?: never;
28658
+ url: '/api/debug/pubsub/message_state_cache/';
28659
+ };
28660
+ export type DebugPubsubMessageStateCacheRetrieveResponses = {
28661
+ 200: MessageStateCache;
28662
+ };
28663
+ export type DebugPubsubMessageStateCacheRetrieveResponse = DebugPubsubMessageStateCacheRetrieveResponses[keyof DebugPubsubMessageStateCacheRetrieveResponses];
28664
+ export type DebugPubsubMetricsRetrieveData = {
28665
+ body?: never;
28666
+ path?: never;
28667
+ query?: never;
28668
+ url: '/api/debug/pubsub/metrics/';
28669
+ };
28670
+ export type DebugPubsubMetricsRetrieveResponses = {
28671
+ 200: PublishingMetrics;
28672
+ };
28673
+ export type DebugPubsubMetricsRetrieveResponse = DebugPubsubMetricsRetrieveResponses[keyof DebugPubsubMetricsRetrieveResponses];
28674
+ export type DebugPubsubMetricsResetData = {
28675
+ body?: never;
28676
+ path?: never;
28677
+ query?: never;
28678
+ url: '/api/debug/pubsub/metrics_reset/';
28679
+ };
28680
+ export type DebugPubsubMetricsResetResponses = {
28681
+ 200: MetricsReset;
28682
+ };
28683
+ export type DebugPubsubMetricsResetResponse = DebugPubsubMetricsResetResponses[keyof DebugPubsubMetricsResetResponses];
28684
+ export type DebugPubsubOverviewRetrieveData = {
28685
+ body?: never;
28686
+ path?: never;
28687
+ query?: never;
28688
+ url: '/api/debug/pubsub/overview/';
28689
+ };
28690
+ export type DebugPubsubOverviewRetrieveResponses = {
28691
+ 200: PubsubOverview;
28692
+ };
28693
+ export type DebugPubsubOverviewRetrieveResponse = DebugPubsubOverviewRetrieveResponses[keyof DebugPubsubOverviewRetrieveResponses];
28694
+ export type DebugPubsubQueuesRetrieveData = {
28695
+ body?: never;
28696
+ path?: never;
28697
+ query?: never;
28698
+ url: '/api/debug/pubsub/queues/';
28699
+ };
28700
+ export type DebugPubsubQueuesRetrieveErrors = {
28701
+ 503: RmqStatsError;
28702
+ };
28703
+ export type DebugPubsubQueuesRetrieveError = DebugPubsubQueuesRetrieveErrors[keyof DebugPubsubQueuesRetrieveErrors];
28704
+ export type DebugPubsubQueuesRetrieveResponses = {
28705
+ 200: SubscriptionQueuesOverview;
28706
+ };
28707
+ export type DebugPubsubQueuesRetrieveResponse = DebugPubsubQueuesRetrieveResponses[keyof DebugPubsubQueuesRetrieveResponses];
28298
28708
  export type DigitaloceanDropletsListData = {
28299
28709
  body?: never;
28300
28710
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "7.9.7-dev.9",
3
+ "version": "7.9.8-dev.0",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",