waldur-js-client 8.0.8-dev.37 → 8.0.8-dev.39

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.
@@ -1,4 +1,4 @@
1
- export type AiassistantenabledrolesEnum = 'disabled' | 'staff' | 'staff_and_support' | 'all';
1
+ export type AiassistantenabledrolesEnum = 'disabled' | 'staff' | 'staff_and_support' | 'all' | 'anonymous';
2
2
  export type AccessProject = {
3
3
  name: string;
4
4
  resources: Array<AccessResource>;
@@ -588,6 +588,160 @@ export type AllocationUserUsage = {
588
588
  readonly full_name: string;
589
589
  };
590
590
  export type AmountRangeEnum = 'none' | 'under_5k' | '5k_10k' | '10k_50k' | 'over_50k';
591
+ export type AnonymousChatBudgetSnapshot = {
592
+ tokens_today: number;
593
+ tokens_limit: number;
594
+ resets_at: string;
595
+ };
596
+ export type AnonymousChatClickRequestRequest = {
597
+ /**
598
+ * UUID of the interaction this click belongs to.
599
+ */
600
+ interaction_uuid: string;
601
+ /**
602
+ * HMAC-bound bearer issued in the streaming `m` frame (same as /feedback/).
603
+ */
604
+ feedback_token: string;
605
+ /**
606
+ * UUID of the clicked offering. Must appear in the parent interaction's recommended set, else 400.
607
+ */
608
+ offering_uuid: string;
609
+ };
610
+ export type AnonymousChatFeedback = {
611
+ readonly interaction_uuid: string;
612
+ readonly score: number | null;
613
+ readonly comment: string;
614
+ category: FeedbackCategoryEnum;
615
+ /**
616
+ * An IPv4 or IPv6 address.
617
+ */
618
+ submitted_from_ip: string | null;
619
+ readonly submitted_at: string | null;
620
+ readonly llm_resolution_score: number | null;
621
+ readonly llm_intent_category: string;
622
+ readonly llm_hallucination_detected: boolean;
623
+ readonly llm_hallucination_details: string;
624
+ readonly llm_summary: string;
625
+ readonly llm_reviewed_at: string | null;
626
+ readonly llm_judge_input_tokens: number;
627
+ readonly llm_judge_output_tokens: number;
628
+ readonly llm_judge_model: string;
629
+ readonly modified_at: string;
630
+ };
631
+ export type AnonymousChatFeedbackRequestRequest = {
632
+ /**
633
+ * UUID of the interaction the feedback is about (from the streaming `m` frame).
634
+ */
635
+ interaction_uuid: string;
636
+ /**
637
+ * HMAC-bound bearer issued in the streaming `m` frame.
638
+ */
639
+ feedback_token: string;
640
+ /**
641
+ * +1 thumbs-up or -1 thumbs-down (0 not accepted).
642
+ */
643
+ score: number;
644
+ /**
645
+ * Optional free-text comment.
646
+ */
647
+ comment?: string | null;
648
+ /**
649
+ * Required when score == -1; rejected when score == 1.
650
+ */
651
+ category?: FeedbackCategoryEnum | BlankEnum | NullEnum | null;
652
+ };
653
+ export type AnonymousChatInteraction = {
654
+ readonly uuid: string;
655
+ readonly user_slug: string;
656
+ readonly user_input: string;
657
+ readonly assistant_blocks: unknown;
658
+ readonly offering_uuids: unknown;
659
+ readonly result_count: number;
660
+ readonly is_flagged: boolean;
661
+ readonly severity: string;
662
+ readonly injection_categories: unknown;
663
+ readonly pii_categories: unknown;
664
+ readonly action_taken: string;
665
+ readonly warning: string;
666
+ /**
667
+ * An IPv4 or IPv6 address.
668
+ */
669
+ ip_address: string | null;
670
+ readonly session_id: string;
671
+ readonly last_active_at: string | null;
672
+ readonly created: string;
673
+ feedback: AnonymousChatFeedback;
674
+ };
675
+ export type AnonymousChatKpiResponse = {
676
+ interactions_total: number;
677
+ sessions_total: number;
678
+ /**
679
+ * Distinct user_slug values in the window — proxy for active anonymous users.
680
+ */
681
+ unique_users: number;
682
+ flagged_total: number;
683
+ feedback_positive: number;
684
+ feedback_negative: number;
685
+ /**
686
+ * positive / (positive + negative); null when no human feedback.
687
+ */
688
+ satisfaction_rate: number;
689
+ clicks_total: number;
690
+ /**
691
+ * clicks / interactions; null when no interactions.
692
+ */
693
+ click_through_rate: number;
694
+ /**
695
+ * Mean of llm_resolution_score across reviewed sessions (1-5).
696
+ */
697
+ avg_llm_resolution_score?: number | null;
698
+ /**
699
+ * Counts keyed by llm_intent_category.
700
+ */
701
+ llm_intent_distribution?: {
702
+ [key: string]: number;
703
+ };
704
+ /**
705
+ * Share of reviewed sessions flagged as hallucinating.
706
+ */
707
+ hallucination_rate?: number | null;
708
+ /**
709
+ * Reviewed sessions / total reviewable sessions. Operations health signal — drops below ~90% if the review budget is too tight or the task is failing.
710
+ */
711
+ review_coverage?: number | null;
712
+ /**
713
+ * Per-day query counts across the filter window.
714
+ */
715
+ daily_volume?: Array<{
716
+ [key: string]: unknown;
717
+ }>;
718
+ /**
719
+ * Stacked-bar input. Shape: {labels: [iso-date], series: {NONE: [...], LOW: [...], MEDIUM: [...], HIGH: [...], CRITICAL: [...]}}
720
+ */
721
+ severity_by_day?: {
722
+ [key: string]: unknown;
723
+ };
724
+ };
725
+ export type AnonymousChatStreamRequestRequest = {
726
+ /**
727
+ * User input text for the anonymous marketplace assistant.
728
+ */
729
+ input: string;
730
+ /**
731
+ * Client-generated session identifier. Bound to the originating IP on first use; subsequent requests from a different IP get 403.
732
+ */
733
+ session_id: string;
734
+ };
735
+ export type AnonymousChatUserAggregate = {
736
+ user_slug: string;
737
+ last_seen: string | null;
738
+ total_interactions: number;
739
+ session_count: number;
740
+ positive_feedback: number;
741
+ negative_feedback: number;
742
+ no_feedback: number;
743
+ injection_strikes: number;
744
+ };
591
745
  export type Answer = {
592
746
  readonly uuid: string;
593
747
  readonly question_description: string;
@@ -4632,11 +4786,20 @@ export type ConstanceSettings = {
4632
4786
  AI_ASSISTANT_TOKEN_LIMIT_DAILY?: number;
4633
4787
  AI_ASSISTANT_TOKEN_LIMIT_WEEKLY?: number;
4634
4788
  AI_ASSISTANT_TOKEN_LIMIT_MONTHLY?: number;
4789
+ AI_ASSISTANT_GLOBAL_DAILY_TOKEN_BUDGET?: number;
4790
+ AI_ASSISTANT_GLOBAL_REQUESTS_PER_MINUTE?: number;
4635
4791
  AI_ASSISTANT_SESSION_RETENTION_DAYS?: number;
4636
4792
  AI_ASSISTANT_HISTORY_LIMIT?: number;
4793
+ AI_ASSISTANT_STREAM_TIMEOUT_SECONDS?: number;
4637
4794
  AI_ASSISTANT_INJECTION_ALLOWLIST?: string;
4638
4795
  AI_ASSISTANT_NAME?: string;
4639
4796
  AI_ASSISTANT_SYSTEM_PROMPT_CUSTOM_INSTRUCTIONS?: string;
4797
+ ANONYMOUS_CHAT_USER_SLUG_SALT?: string;
4798
+ ANONYMOUS_CHAT_FEEDBACK_TOKEN_SECRET?: string;
4799
+ ANONYMOUS_CHAT_CATALOG_MAX_ENTRIES?: number;
4800
+ ANONYMOUS_CHAT_REVIEW_ENABLED?: boolean;
4801
+ ANONYMOUS_CHAT_REVIEW_DAILY_TOKEN_BUDGET?: number;
4802
+ ANONYMOUS_CHAT_ARTIFACT_RETENTION_DAYS?: number;
4640
4803
  SOFTWARE_CATALOG_EESSI_UPDATE_ENABLED?: boolean;
4641
4804
  SOFTWARE_CATALOG_EESSI_VERSION?: string;
4642
4805
  SOFTWARE_CATALOG_EESSI_API_URL?: string;
@@ -4891,11 +5054,20 @@ export type ConstanceSettingsRequest = {
4891
5054
  AI_ASSISTANT_TOKEN_LIMIT_DAILY?: number;
4892
5055
  AI_ASSISTANT_TOKEN_LIMIT_WEEKLY?: number;
4893
5056
  AI_ASSISTANT_TOKEN_LIMIT_MONTHLY?: number;
5057
+ AI_ASSISTANT_GLOBAL_DAILY_TOKEN_BUDGET?: number;
5058
+ AI_ASSISTANT_GLOBAL_REQUESTS_PER_MINUTE?: number;
4894
5059
  AI_ASSISTANT_SESSION_RETENTION_DAYS?: number;
4895
5060
  AI_ASSISTANT_HISTORY_LIMIT?: number;
5061
+ AI_ASSISTANT_STREAM_TIMEOUT_SECONDS?: number;
4896
5062
  AI_ASSISTANT_INJECTION_ALLOWLIST?: string;
4897
5063
  AI_ASSISTANT_NAME?: string;
4898
5064
  AI_ASSISTANT_SYSTEM_PROMPT_CUSTOM_INSTRUCTIONS?: string;
5065
+ ANONYMOUS_CHAT_USER_SLUG_SALT?: string;
5066
+ ANONYMOUS_CHAT_FEEDBACK_TOKEN_SECRET?: string;
5067
+ ANONYMOUS_CHAT_CATALOG_MAX_ENTRIES?: number;
5068
+ ANONYMOUS_CHAT_REVIEW_ENABLED?: boolean;
5069
+ ANONYMOUS_CHAT_REVIEW_DAILY_TOKEN_BUDGET?: number;
5070
+ ANONYMOUS_CHAT_ARTIFACT_RETENTION_DAYS?: number;
4899
5071
  SOFTWARE_CATALOG_EESSI_UPDATE_ENABLED?: boolean;
4900
5072
  SOFTWARE_CATALOG_EESSI_VERSION?: string;
4901
5073
  SOFTWARE_CATALOG_EESSI_API_URL?: string;
@@ -8078,6 +8250,19 @@ export type InstanceFlavorChangeRequest = {
8078
8250
  */
8079
8251
  flavor: string;
8080
8252
  };
8253
+ export type InstancePlacementAllocation = {
8254
+ resource_provider_uuid: string;
8255
+ resource_provider_name: string;
8256
+ resources: {
8257
+ [key: string]: number;
8258
+ };
8259
+ };
8260
+ export type InstanceRescueRequest = {
8261
+ /**
8262
+ * Optional rescue image. Required for volume-backed instances; must be a Glance image with hw_rescue_device or hw_rescue_bus set (a 'stable device rescue' image).
8263
+ */
8264
+ rescue_image?: string | null;
8265
+ };
8081
8266
  export type IntegrationStatus = {
8082
8267
  agent_type?: AgentTypeEnum;
8083
8268
  readonly status?: string;
@@ -13338,6 +13523,15 @@ export type OpenStackImage = {
13338
13523
  settings: string;
13339
13524
  backend_id: string;
13340
13525
  backend_created_at?: string | null;
13526
+ /**
13527
+ * Glance hw_rescue_device property (cdrom/disk/floppy).
13528
+ */
13529
+ hw_rescue_device?: string;
13530
+ /**
13531
+ * Glance hw_rescue_bus property (scsi/virtio/ide/usb).
13532
+ */
13533
+ hw_rescue_bus?: string;
13534
+ readonly is_rescue_image: boolean;
13341
13535
  };
13342
13536
  export type OpenStackInstance = {
13343
13537
  readonly url?: string;
@@ -27382,11 +27576,20 @@ export type ConstanceSettingsRequestForm = {
27382
27576
  AI_ASSISTANT_TOKEN_LIMIT_DAILY?: number;
27383
27577
  AI_ASSISTANT_TOKEN_LIMIT_WEEKLY?: number;
27384
27578
  AI_ASSISTANT_TOKEN_LIMIT_MONTHLY?: number;
27579
+ AI_ASSISTANT_GLOBAL_DAILY_TOKEN_BUDGET?: number;
27580
+ AI_ASSISTANT_GLOBAL_REQUESTS_PER_MINUTE?: number;
27385
27581
  AI_ASSISTANT_SESSION_RETENTION_DAYS?: number;
27386
27582
  AI_ASSISTANT_HISTORY_LIMIT?: number;
27583
+ AI_ASSISTANT_STREAM_TIMEOUT_SECONDS?: number;
27387
27584
  AI_ASSISTANT_INJECTION_ALLOWLIST?: string;
27388
27585
  AI_ASSISTANT_NAME?: string;
27389
27586
  AI_ASSISTANT_SYSTEM_PROMPT_CUSTOM_INSTRUCTIONS?: string;
27587
+ ANONYMOUS_CHAT_USER_SLUG_SALT?: string;
27588
+ ANONYMOUS_CHAT_FEEDBACK_TOKEN_SECRET?: string;
27589
+ ANONYMOUS_CHAT_CATALOG_MAX_ENTRIES?: number;
27590
+ ANONYMOUS_CHAT_REVIEW_ENABLED?: boolean;
27591
+ ANONYMOUS_CHAT_REVIEW_DAILY_TOKEN_BUDGET?: number;
27592
+ ANONYMOUS_CHAT_ARTIFACT_RETENTION_DAYS?: number;
27390
27593
  SOFTWARE_CATALOG_EESSI_UPDATE_ENABLED?: boolean;
27391
27594
  SOFTWARE_CATALOG_EESSI_VERSION?: string;
27392
27595
  SOFTWARE_CATALOG_EESSI_API_URL?: string;
@@ -27641,11 +27844,20 @@ export type ConstanceSettingsRequestMultipart = {
27641
27844
  AI_ASSISTANT_TOKEN_LIMIT_DAILY?: number;
27642
27845
  AI_ASSISTANT_TOKEN_LIMIT_WEEKLY?: number;
27643
27846
  AI_ASSISTANT_TOKEN_LIMIT_MONTHLY?: number;
27847
+ AI_ASSISTANT_GLOBAL_DAILY_TOKEN_BUDGET?: number;
27848
+ AI_ASSISTANT_GLOBAL_REQUESTS_PER_MINUTE?: number;
27644
27849
  AI_ASSISTANT_SESSION_RETENTION_DAYS?: number;
27645
27850
  AI_ASSISTANT_HISTORY_LIMIT?: number;
27851
+ AI_ASSISTANT_STREAM_TIMEOUT_SECONDS?: number;
27646
27852
  AI_ASSISTANT_INJECTION_ALLOWLIST?: string;
27647
27853
  AI_ASSISTANT_NAME?: string;
27648
27854
  AI_ASSISTANT_SYSTEM_PROMPT_CUSTOM_INSTRUCTIONS?: string;
27855
+ ANONYMOUS_CHAT_USER_SLUG_SALT?: string;
27856
+ ANONYMOUS_CHAT_FEEDBACK_TOKEN_SECRET?: string;
27857
+ ANONYMOUS_CHAT_CATALOG_MAX_ENTRIES?: number;
27858
+ ANONYMOUS_CHAT_REVIEW_ENABLED?: boolean;
27859
+ ANONYMOUS_CHAT_REVIEW_DAILY_TOKEN_BUDGET?: number;
27860
+ ANONYMOUS_CHAT_ARTIFACT_RETENTION_DAYS?: number;
27649
27861
  SOFTWARE_CATALOG_EESSI_UPDATE_ENABLED?: boolean;
27650
27862
  SOFTWARE_CATALOG_EESSI_VERSION?: string;
27651
27863
  SOFTWARE_CATALOG_EESSI_API_URL?: string;
@@ -28124,6 +28336,8 @@ export type PatchedUserRequestMultipart = {
28124
28336
  };
28125
28337
  export type AdminAnnouncementFieldEnum = 'active_from' | 'active_to' | 'created' | 'description' | 'is_active' | 'maintenance_affected_offerings' | 'maintenance_external_reference_url' | 'maintenance_name' | 'maintenance_scheduled_end' | 'maintenance_scheduled_start' | 'maintenance_service_provider' | 'maintenance_state' | 'maintenance_type' | 'maintenance_uuid' | 'type' | 'uuid';
28126
28338
  export type AdminAnnouncementOEnum = '-active_from' | '-active_to' | '-created' | '-name' | '-type' | 'active_from' | 'active_to' | 'created' | 'name' | 'type';
28339
+ export type AnonymousChatFeedbackOEnum = '-llm_resolution_score' | '-score' | '-submitted_at' | 'llm_resolution_score' | 'score' | 'submitted_at';
28340
+ export type AnonymousChatInteractionOEnum = '-created' | '-result_count' | 'created' | 'result_count';
28127
28341
  export type AssignmentBatchListOEnum = '-created' | '-expires_at' | '-sent_at' | '-status' | 'created' | 'expires_at' | 'sent_at' | 'status';
28128
28342
  export type AssignmentItemOEnum = '-affinity_score' | '-created' | '-responded_at' | '-status' | 'affinity_score' | 'created' | 'responded_at' | 'status';
28129
28343
  export type AwsInstanceFieldEnum = 'access_url' | 'backend_id' | 'cores' | 'created' | 'customer' | 'customer_abbreviation' | 'customer_name' | 'customer_native_name' | 'customer_uuid' | 'description' | 'disk' | 'error_message' | 'error_traceback' | 'external_ips' | 'image' | 'image_name' | 'internal_ips' | 'is_limit_based' | 'is_usage_based' | 'key_fingerprint' | 'key_name' | 'latitude' | 'longitude' | 'marketplace_category_name' | 'marketplace_category_uuid' | 'marketplace_offering_name' | 'marketplace_offering_plugin_options' | 'marketplace_offering_type' | 'marketplace_offering_uuid' | 'marketplace_plan_uuid' | 'marketplace_resource_state' | 'marketplace_resource_uuid' | 'min_disk' | 'min_ram' | 'modified' | 'name' | 'project' | 'project_name' | 'project_uuid' | 'ram' | 'region' | 'resource_type' | 'service_name' | 'service_settings' | 'service_settings_error_message' | 'service_settings_state' | 'service_settings_uuid' | 'size' | 'ssh_public_key' | 'start_time' | 'state' | 'url' | 'user_data' | 'uuid';
@@ -29956,6 +30170,212 @@ export type AffiliatedOrganizationsReportCountResponses = {
29956
30170
  */
29957
30171
  200: unknown;
29958
30172
  };
30173
+ export type AnonymousChatFeedbacksListData = {
30174
+ body?: never;
30175
+ path?: never;
30176
+ query?: {
30177
+ category?: string;
30178
+ has_comment?: boolean;
30179
+ /**
30180
+ * Ordering
30181
+ *
30182
+ *
30183
+ */
30184
+ o?: Array<AnonymousChatFeedbackOEnum>;
30185
+ /**
30186
+ * A page number within the paginated result set.
30187
+ */
30188
+ page?: number;
30189
+ /**
30190
+ * Number of results to return per page.
30191
+ */
30192
+ page_size?: number;
30193
+ score?: number;
30194
+ submitted_from?: string;
30195
+ submitted_to?: string;
30196
+ };
30197
+ url: '/api/anonymous-chat-feedbacks/';
30198
+ };
30199
+ export type AnonymousChatFeedbacksListResponses = {
30200
+ 200: Array<AnonymousChatFeedback>;
30201
+ };
30202
+ export type AnonymousChatFeedbacksListResponse = AnonymousChatFeedbacksListResponses[keyof AnonymousChatFeedbacksListResponses];
30203
+ export type AnonymousChatFeedbacksRetrieveData = {
30204
+ body?: never;
30205
+ path: {
30206
+ interaction_uuid: string;
30207
+ };
30208
+ query?: never;
30209
+ url: '/api/anonymous-chat-feedbacks/{interaction_uuid}/';
30210
+ };
30211
+ export type AnonymousChatFeedbacksRetrieveResponses = {
30212
+ 200: AnonymousChatFeedback;
30213
+ };
30214
+ export type AnonymousChatFeedbacksRetrieveResponse = AnonymousChatFeedbacksRetrieveResponses[keyof AnonymousChatFeedbacksRetrieveResponses];
30215
+ export type AnonymousChatInteractionsListData = {
30216
+ body?: never;
30217
+ path?: never;
30218
+ query?: {
30219
+ created_from?: string;
30220
+ created_to?: string;
30221
+ has_negative_feedback?: boolean;
30222
+ is_flagged?: boolean;
30223
+ /**
30224
+ * Ordering
30225
+ *
30226
+ *
30227
+ */
30228
+ o?: Array<AnonymousChatInteractionOEnum>;
30229
+ /**
30230
+ * A page number within the paginated result set.
30231
+ */
30232
+ page?: number;
30233
+ /**
30234
+ * Number of results to return per page.
30235
+ */
30236
+ page_size?: number;
30237
+ session_id?: string;
30238
+ severity?: InjectionSeverityEnum;
30239
+ user_slug?: string;
30240
+ };
30241
+ url: '/api/anonymous-chat-interactions/';
30242
+ };
30243
+ export type AnonymousChatInteractionsListResponses = {
30244
+ 200: Array<AnonymousChatInteraction>;
30245
+ };
30246
+ export type AnonymousChatInteractionsListResponse = AnonymousChatInteractionsListResponses[keyof AnonymousChatInteractionsListResponses];
30247
+ export type AnonymousChatInteractionsRetrieveData = {
30248
+ body?: never;
30249
+ path: {
30250
+ uuid: string;
30251
+ };
30252
+ query?: never;
30253
+ url: '/api/anonymous-chat-interactions/{uuid}/';
30254
+ };
30255
+ export type AnonymousChatInteractionsRetrieveResponses = {
30256
+ 200: AnonymousChatInteraction;
30257
+ };
30258
+ export type AnonymousChatInteractionsRetrieveResponse = AnonymousChatInteractionsRetrieveResponses[keyof AnonymousChatInteractionsRetrieveResponses];
30259
+ export type AnonymousChatInteractionsBudgetRetrieveData = {
30260
+ body?: never;
30261
+ path?: never;
30262
+ query?: never;
30263
+ url: '/api/anonymous-chat-interactions/budget/';
30264
+ };
30265
+ export type AnonymousChatInteractionsBudgetRetrieveResponses = {
30266
+ 200: AnonymousChatBudgetSnapshot;
30267
+ };
30268
+ export type AnonymousChatInteractionsBudgetRetrieveResponse = AnonymousChatInteractionsBudgetRetrieveResponses[keyof AnonymousChatInteractionsBudgetRetrieveResponses];
30269
+ export type AnonymousChatInteractionsBySessionListData = {
30270
+ body?: never;
30271
+ path: {
30272
+ session_id: string;
30273
+ };
30274
+ query?: {
30275
+ created_from?: string;
30276
+ created_to?: string;
30277
+ has_negative_feedback?: boolean;
30278
+ is_flagged?: boolean;
30279
+ /**
30280
+ * Ordering
30281
+ *
30282
+ *
30283
+ */
30284
+ o?: Array<AnonymousChatInteractionOEnum>;
30285
+ /**
30286
+ * A page number within the paginated result set.
30287
+ */
30288
+ page?: number;
30289
+ /**
30290
+ * Number of results to return per page.
30291
+ */
30292
+ page_size?: number;
30293
+ session_id?: string;
30294
+ severity?: InjectionSeverityEnum;
30295
+ user_slug?: string;
30296
+ };
30297
+ url: '/api/anonymous-chat-interactions/by-session/{session_id}/';
30298
+ };
30299
+ export type AnonymousChatInteractionsBySessionListResponses = {
30300
+ 200: Array<AnonymousChatInteraction>;
30301
+ };
30302
+ export type AnonymousChatInteractionsBySessionListResponse = AnonymousChatInteractionsBySessionListResponses[keyof AnonymousChatInteractionsBySessionListResponses];
30303
+ export type AnonymousChatInteractionsByUserAggregateData = {
30304
+ body?: never;
30305
+ path?: never;
30306
+ query?: {
30307
+ created_from?: string;
30308
+ created_to?: string;
30309
+ has_negative_feedback?: boolean;
30310
+ is_flagged?: boolean;
30311
+ /**
30312
+ * Ordering
30313
+ *
30314
+ *
30315
+ */
30316
+ o?: Array<AnonymousChatInteractionOEnum>;
30317
+ /**
30318
+ * A page number within the paginated result set.
30319
+ */
30320
+ page?: number;
30321
+ /**
30322
+ * Number of results to return per page.
30323
+ */
30324
+ page_size?: number;
30325
+ session_id?: string;
30326
+ severity?: InjectionSeverityEnum;
30327
+ user_slug?: string;
30328
+ };
30329
+ url: '/api/anonymous-chat-interactions/by-user/';
30330
+ };
30331
+ export type AnonymousChatInteractionsByUserAggregateResponses = {
30332
+ 200: Array<AnonymousChatUserAggregate>;
30333
+ };
30334
+ export type AnonymousChatInteractionsByUserAggregateResponse = AnonymousChatInteractionsByUserAggregateResponses[keyof AnonymousChatInteractionsByUserAggregateResponses];
30335
+ export type AnonymousChatInteractionsByUserListData = {
30336
+ body?: never;
30337
+ path: {
30338
+ user_slug: string;
30339
+ };
30340
+ query?: {
30341
+ created_from?: string;
30342
+ created_to?: string;
30343
+ has_negative_feedback?: boolean;
30344
+ is_flagged?: boolean;
30345
+ /**
30346
+ * Ordering
30347
+ *
30348
+ *
30349
+ */
30350
+ o?: Array<AnonymousChatInteractionOEnum>;
30351
+ /**
30352
+ * A page number within the paginated result set.
30353
+ */
30354
+ page?: number;
30355
+ /**
30356
+ * Number of results to return per page.
30357
+ */
30358
+ page_size?: number;
30359
+ session_id?: string;
30360
+ severity?: InjectionSeverityEnum;
30361
+ user_slug?: string;
30362
+ };
30363
+ url: '/api/anonymous-chat-interactions/by-user/{user_slug}/';
30364
+ };
30365
+ export type AnonymousChatInteractionsByUserListResponses = {
30366
+ 200: Array<AnonymousChatInteraction>;
30367
+ };
30368
+ export type AnonymousChatInteractionsByUserListResponse = AnonymousChatInteractionsByUserListResponses[keyof AnonymousChatInteractionsByUserListResponses];
30369
+ export type AnonymousChatInteractionsKpiRetrieveData = {
30370
+ body?: never;
30371
+ path?: never;
30372
+ query?: never;
30373
+ url: '/api/anonymous-chat-interactions/kpi/';
30374
+ };
30375
+ export type AnonymousChatInteractionsKpiRetrieveResponses = {
30376
+ 200: AnonymousChatKpiResponse;
30377
+ };
30378
+ export type AnonymousChatInteractionsKpiRetrieveResponse = AnonymousChatInteractionsKpiRetrieveResponses[keyof AnonymousChatInteractionsKpiRetrieveResponses];
29959
30379
  export type AssignmentBatchesListData = {
29960
30380
  body?: never;
29961
30381
  path?: never;
@@ -42752,6 +43172,96 @@ export type MarketplaceCategoryHelpArticlesUpdateResponses = {
42752
43172
  200: CategoryHelpArticles;
42753
43173
  };
42754
43174
  export type MarketplaceCategoryHelpArticlesUpdateResponse = MarketplaceCategoryHelpArticlesUpdateResponses[keyof MarketplaceCategoryHelpArticlesUpdateResponses];
43175
+ export type MarketplaceChatClickData = {
43176
+ body: AnonymousChatClickRequestRequest;
43177
+ path?: never;
43178
+ query?: never;
43179
+ url: '/api/marketplace-chat/click/';
43180
+ };
43181
+ export type MarketplaceChatClickErrors = {
43182
+ /**
43183
+ * offering_uuid not in interaction's recommended set.
43184
+ */
43185
+ 400: unknown;
43186
+ /**
43187
+ * Missing or forged feedback_token.
43188
+ */
43189
+ 403: unknown;
43190
+ /**
43191
+ * Unknown interaction_uuid.
43192
+ */
43193
+ 404: unknown;
43194
+ };
43195
+ export type MarketplaceChatClickResponses = {
43196
+ /**
43197
+ * Click recorded.
43198
+ */
43199
+ 200: unknown;
43200
+ };
43201
+ export type MarketplaceChatFeedbackData = {
43202
+ body: AnonymousChatFeedbackRequestRequest;
43203
+ path?: never;
43204
+ query?: never;
43205
+ url: '/api/marketplace-chat/feedback/';
43206
+ };
43207
+ export type MarketplaceChatFeedbackErrors = {
43208
+ /**
43209
+ * Invalid body shape, or comment was rejected by injection guard.
43210
+ */
43211
+ 400: unknown;
43212
+ /**
43213
+ * Missing or forged feedback_token.
43214
+ */
43215
+ 403: unknown;
43216
+ /**
43217
+ * Unknown interaction_uuid.
43218
+ */
43219
+ 404: unknown;
43220
+ };
43221
+ export type MarketplaceChatFeedbackResponses = {
43222
+ /**
43223
+ * Feedback recorded.
43224
+ */
43225
+ 200: unknown;
43226
+ };
43227
+ export type MarketplaceChatStreamData = {
43228
+ body: AnonymousChatStreamRequestRequest;
43229
+ path?: never;
43230
+ query?: never;
43231
+ url: '/api/marketplace-chat/stream/';
43232
+ };
43233
+ export type MarketplaceChatStreamErrors = {
43234
+ /**
43235
+ * Input rejected by injection/PII guard.
43236
+ */
43237
+ 400: unknown;
43238
+ /**
43239
+ * Session bound to different IP, or IP blocked.
43240
+ */
43241
+ 403: unknown;
43242
+ /**
43243
+ * Per-IP daily request or token cap exhausted, or the anonymous chat API URL/token is not configured. Carries Retry-After header + structured rate-limit body for the per-IP variants.
43244
+ */
43245
+ 409: unknown;
43246
+ /**
43247
+ * Anonymous chat is disabled (master switch off or public marketplace browsing disabled).
43248
+ */
43249
+ 424: unknown;
43250
+ /**
43251
+ * Site-wide per-minute burst cap exhausted. Retry-After header + structured rate-limit body.
43252
+ */
43253
+ 429: unknown;
43254
+ /**
43255
+ * Site-wide daily token or request budget exhausted. Retry-After header + structured rate-limit body.
43256
+ */
43257
+ 503: unknown;
43258
+ };
43259
+ export type MarketplaceChatStreamResponses = {
43260
+ /**
43261
+ * NDJSON stream of assistant content blocks.
43262
+ */
43263
+ 200: unknown;
43264
+ };
42755
43265
  export type MarketplaceComponentUsageMonthlyListData = {
42756
43266
  body?: never;
42757
43267
  path?: never;
@@ -50951,6 +51461,38 @@ export type MarketplaceProviderResourcesUpdateResponses = {
50951
51461
  200: ResourceUpdate;
50952
51462
  };
50953
51463
  export type MarketplaceProviderResourcesUpdateResponse = MarketplaceProviderResourcesUpdateResponses[keyof MarketplaceProviderResourcesUpdateResponses];
51464
+ export type MarketplaceProviderResourcesAddUserData = {
51465
+ body: UserRoleCreateRequest;
51466
+ path: {
51467
+ uuid: string;
51468
+ };
51469
+ query?: never;
51470
+ url: '/api/marketplace-provider-resources/{uuid}/add_user/';
51471
+ };
51472
+ export type MarketplaceProviderResourcesAddUserErrors = {
51473
+ /**
51474
+ * Validation error, for example when trying to add a user to a terminated project.
51475
+ */
51476
+ 400: unknown;
51477
+ };
51478
+ export type MarketplaceProviderResourcesAddUserResponses = {
51479
+ 201: UserRoleExpirationTime;
51480
+ };
51481
+ export type MarketplaceProviderResourcesAddUserResponse = MarketplaceProviderResourcesAddUserResponses[keyof MarketplaceProviderResourcesAddUserResponses];
51482
+ export type MarketplaceProviderResourcesDeleteUserData = {
51483
+ body: UserRoleDeleteRequest;
51484
+ path: {
51485
+ uuid: string;
51486
+ };
51487
+ query?: never;
51488
+ url: '/api/marketplace-provider-resources/{uuid}/delete_user/';
51489
+ };
51490
+ export type MarketplaceProviderResourcesDeleteUserResponses = {
51491
+ /**
51492
+ * Role revoked successfully.
51493
+ */
51494
+ 200: unknown;
51495
+ };
50954
51496
  export type MarketplaceProviderResourcesDetailsRetrieveData = {
50955
51497
  body?: never;
50956
51498
  path: {
@@ -51208,6 +51750,67 @@ export type MarketplaceProviderResourcesHistoryAtRetrieveResponses = {
51208
51750
  200: VersionHistory;
51209
51751
  };
51210
51752
  export type MarketplaceProviderResourcesHistoryAtRetrieveResponse = MarketplaceProviderResourcesHistoryAtRetrieveResponses[keyof MarketplaceProviderResourcesHistoryAtRetrieveResponses];
51753
+ export type MarketplaceProviderResourcesListUsersListData = {
51754
+ body?: never;
51755
+ path: {
51756
+ uuid: string;
51757
+ };
51758
+ query?: {
51759
+ /**
51760
+ * Fields to include in response
51761
+ */
51762
+ field?: Array<UserRoleDetailsFieldEnum>;
51763
+ /**
51764
+ * User full name
51765
+ */
51766
+ full_name?: string;
51767
+ /**
51768
+ * User native name
51769
+ */
51770
+ native_name?: string;
51771
+ /**
51772
+ * Ordering fields
51773
+ */
51774
+ o?: Array<UserRoleDetailsOEnum>;
51775
+ /**
51776
+ * A page number within the paginated result set.
51777
+ */
51778
+ page?: number;
51779
+ /**
51780
+ * Number of results to return per page.
51781
+ */
51782
+ page_size?: number;
51783
+ /**
51784
+ * Role UUID or name
51785
+ */
51786
+ role?: string;
51787
+ /**
51788
+ * Search string for user
51789
+ */
51790
+ search_string?: string;
51791
+ /**
51792
+ * User UUID
51793
+ */
51794
+ user?: string;
51795
+ /**
51796
+ * User slug
51797
+ */
51798
+ user_slug?: string;
51799
+ /**
51800
+ * User URL
51801
+ */
51802
+ user_url?: string;
51803
+ /**
51804
+ * User username
51805
+ */
51806
+ username?: string;
51807
+ };
51808
+ url: '/api/marketplace-provider-resources/{uuid}/list_users/';
51809
+ };
51810
+ export type MarketplaceProviderResourcesListUsersListResponses = {
51811
+ 200: Array<UserRoleDetails>;
51812
+ };
51813
+ export type MarketplaceProviderResourcesListUsersListResponse = MarketplaceProviderResourcesListUsersListResponses[keyof MarketplaceProviderResourcesListUsersListResponses];
51211
51814
  export type MarketplaceProviderResourcesMoveResourceData = {
51212
51815
  body: MoveResourceRequest;
51213
51816
  path: {
@@ -51575,6 +52178,18 @@ export type MarketplaceProviderResourcesUpdateOptionsDirectResponses = {
51575
52178
  200: ResourceResponseStatus;
51576
52179
  };
51577
52180
  export type MarketplaceProviderResourcesUpdateOptionsDirectResponse = MarketplaceProviderResourcesUpdateOptionsDirectResponses[keyof MarketplaceProviderResourcesUpdateOptionsDirectResponses];
52181
+ export type MarketplaceProviderResourcesUpdateUserData = {
52182
+ body: UserRoleUpdateRequest;
52183
+ path: {
52184
+ uuid: string;
52185
+ };
52186
+ query?: never;
52187
+ url: '/api/marketplace-provider-resources/{uuid}/update_user/';
52188
+ };
52189
+ export type MarketplaceProviderResourcesUpdateUserResponses = {
52190
+ 200: UserRoleExpirationTime;
52191
+ };
52192
+ export type MarketplaceProviderResourcesUpdateUserResponse = MarketplaceProviderResourcesUpdateUserResponses[keyof MarketplaceProviderResourcesUpdateUserResponses];
51578
52193
  export type MarketplacePublicApiCheckSignatureData = {
51579
52194
  body: ServiceProviderSignatureRequest;
51580
52195
  path?: never;
@@ -64281,6 +64896,10 @@ export type OpenstackImagesListData = {
64281
64896
  body?: never;
64282
64897
  path?: never;
64283
64898
  query?: {
64899
+ /**
64900
+ * Filter to images usable as Nova rescue images.
64901
+ */
64902
+ is_rescue_image?: boolean;
64284
64903
  /**
64285
64904
  * Name
64286
64905
  */
@@ -64332,6 +64951,10 @@ export type OpenstackImagesCountData = {
64332
64951
  body?: never;
64333
64952
  path?: never;
64334
64953
  query?: {
64954
+ /**
64955
+ * Filter to images usable as Nova rescue images.
64956
+ */
64957
+ is_rescue_image?: boolean;
64335
64958
  /**
64336
64959
  * Name
64337
64960
  */
@@ -64857,6 +65480,27 @@ export type OpenstackInstancesFloatingIpsListResponses = {
64857
65480
  200: Array<OpenStackNestedFloatingIp>;
64858
65481
  };
64859
65482
  export type OpenstackInstancesFloatingIpsListResponse = OpenstackInstancesFloatingIpsListResponses[keyof OpenstackInstancesFloatingIpsListResponses];
65483
+ export type OpenstackInstancesPlacementAllocationsListData = {
65484
+ body?: never;
65485
+ path: {
65486
+ uuid: string;
65487
+ };
65488
+ query?: {
65489
+ /**
65490
+ * A page number within the paginated result set.
65491
+ */
65492
+ page?: number;
65493
+ /**
65494
+ * Number of results to return per page.
65495
+ */
65496
+ page_size?: number;
65497
+ };
65498
+ url: '/api/openstack-instances/{uuid}/placement_allocations/';
65499
+ };
65500
+ export type OpenstackInstancesPlacementAllocationsListResponses = {
65501
+ 200: Array<InstancePlacementAllocation>;
65502
+ };
65503
+ export type OpenstackInstancesPlacementAllocationsListResponse = OpenstackInstancesPlacementAllocationsListResponses[keyof OpenstackInstancesPlacementAllocationsListResponses];
64860
65504
  export type OpenstackInstancesPortsListData = {
64861
65505
  body?: never;
64862
65506
  path: {
@@ -64894,6 +65538,20 @@ export type OpenstackInstancesPullResponses = {
64894
65538
  202: PullResponse;
64895
65539
  };
64896
65540
  export type OpenstackInstancesPullResponse = OpenstackInstancesPullResponses[keyof OpenstackInstancesPullResponses];
65541
+ export type OpenstackInstancesRescueData = {
65542
+ body?: InstanceRescueRequest;
65543
+ path: {
65544
+ uuid: string;
65545
+ };
65546
+ query?: never;
65547
+ url: '/api/openstack-instances/{uuid}/rescue/';
65548
+ };
65549
+ export type OpenstackInstancesRescueResponses = {
65550
+ /**
65551
+ * No response body
65552
+ */
65553
+ 200: unknown;
65554
+ };
64897
65555
  export type OpenstackInstancesRestartData = {
64898
65556
  body?: never;
64899
65557
  path: {
@@ -64975,6 +65633,20 @@ export type OpenstackInstancesUnlinkResponses = {
64975
65633
  204: void;
64976
65634
  };
64977
65635
  export type OpenstackInstancesUnlinkResponse = OpenstackInstancesUnlinkResponses[keyof OpenstackInstancesUnlinkResponses];
65636
+ export type OpenstackInstancesUnrescueData = {
65637
+ body?: never;
65638
+ path: {
65639
+ uuid: string;
65640
+ };
65641
+ query?: never;
65642
+ url: '/api/openstack-instances/{uuid}/unrescue/';
65643
+ };
65644
+ export type OpenstackInstancesUnrescueResponses = {
65645
+ /**
65646
+ * No response body
65647
+ */
65648
+ 200: unknown;
65649
+ };
64978
65650
  export type OpenstackInstancesUpdateAllowedAddressPairsData = {
64979
65651
  body: OpenStackInstanceAllowedAddressPairsUpdateRequest;
64980
65652
  path: {