waldur-js-client 8.0.8-dev.38 → 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;
@@ -27404,11 +27576,20 @@ export type ConstanceSettingsRequestForm = {
27404
27576
  AI_ASSISTANT_TOKEN_LIMIT_DAILY?: number;
27405
27577
  AI_ASSISTANT_TOKEN_LIMIT_WEEKLY?: number;
27406
27578
  AI_ASSISTANT_TOKEN_LIMIT_MONTHLY?: number;
27579
+ AI_ASSISTANT_GLOBAL_DAILY_TOKEN_BUDGET?: number;
27580
+ AI_ASSISTANT_GLOBAL_REQUESTS_PER_MINUTE?: number;
27407
27581
  AI_ASSISTANT_SESSION_RETENTION_DAYS?: number;
27408
27582
  AI_ASSISTANT_HISTORY_LIMIT?: number;
27583
+ AI_ASSISTANT_STREAM_TIMEOUT_SECONDS?: number;
27409
27584
  AI_ASSISTANT_INJECTION_ALLOWLIST?: string;
27410
27585
  AI_ASSISTANT_NAME?: string;
27411
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;
27412
27593
  SOFTWARE_CATALOG_EESSI_UPDATE_ENABLED?: boolean;
27413
27594
  SOFTWARE_CATALOG_EESSI_VERSION?: string;
27414
27595
  SOFTWARE_CATALOG_EESSI_API_URL?: string;
@@ -27663,11 +27844,20 @@ export type ConstanceSettingsRequestMultipart = {
27663
27844
  AI_ASSISTANT_TOKEN_LIMIT_DAILY?: number;
27664
27845
  AI_ASSISTANT_TOKEN_LIMIT_WEEKLY?: number;
27665
27846
  AI_ASSISTANT_TOKEN_LIMIT_MONTHLY?: number;
27847
+ AI_ASSISTANT_GLOBAL_DAILY_TOKEN_BUDGET?: number;
27848
+ AI_ASSISTANT_GLOBAL_REQUESTS_PER_MINUTE?: number;
27666
27849
  AI_ASSISTANT_SESSION_RETENTION_DAYS?: number;
27667
27850
  AI_ASSISTANT_HISTORY_LIMIT?: number;
27851
+ AI_ASSISTANT_STREAM_TIMEOUT_SECONDS?: number;
27668
27852
  AI_ASSISTANT_INJECTION_ALLOWLIST?: string;
27669
27853
  AI_ASSISTANT_NAME?: string;
27670
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;
27671
27861
  SOFTWARE_CATALOG_EESSI_UPDATE_ENABLED?: boolean;
27672
27862
  SOFTWARE_CATALOG_EESSI_VERSION?: string;
27673
27863
  SOFTWARE_CATALOG_EESSI_API_URL?: string;
@@ -28146,6 +28336,8 @@ export type PatchedUserRequestMultipart = {
28146
28336
  };
28147
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';
28148
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';
28149
28341
  export type AssignmentBatchListOEnum = '-created' | '-expires_at' | '-sent_at' | '-status' | 'created' | 'expires_at' | 'sent_at' | 'status';
28150
28342
  export type AssignmentItemOEnum = '-affinity_score' | '-created' | '-responded_at' | '-status' | 'affinity_score' | 'created' | 'responded_at' | 'status';
28151
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';
@@ -29978,6 +30170,212 @@ export type AffiliatedOrganizationsReportCountResponses = {
29978
30170
  */
29979
30171
  200: unknown;
29980
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];
29981
30379
  export type AssignmentBatchesListData = {
29982
30380
  body?: never;
29983
30381
  path?: never;
@@ -42774,6 +43172,96 @@ export type MarketplaceCategoryHelpArticlesUpdateResponses = {
42774
43172
  200: CategoryHelpArticles;
42775
43173
  };
42776
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
+ };
42777
43265
  export type MarketplaceComponentUsageMonthlyListData = {
42778
43266
  body?: never;
42779
43267
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.8-dev.38",
3
+ "version": "8.0.8-dev.39",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",