waldur-js-client 8.0.8-dev.16 → 8.0.8-dev.18

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.
Files changed (2) hide show
  1. package/dist/types.gen.d.ts +22 -19
  2. package/package.json +1 -1
@@ -3732,18 +3732,6 @@ export type ChatResponse = {
3732
3732
  * State display name filters (e.g. ['OK', 'Erred']). Present when k='resource_list'.
3733
3733
  */
3734
3734
  state?: Array<unknown>;
3735
- /**
3736
- * Table headers - list of column names. Present when k='table'.
3737
- */
3738
- h?: Array<unknown>;
3739
- /**
3740
- * Table rows - list of row data (each row is a list of strings). Present when k='table'.
3741
- */
3742
- r?: Array<unknown>;
3743
- /**
3744
- * Total count of rows in the table (used for pagination display). Present when k='table'.
3745
- */
3746
- n?: number | null;
3747
3735
  };
3748
3736
  export type ChatSession = {
3749
3737
  readonly uuid?: string;
@@ -10325,9 +10313,13 @@ export type Message = {
10325
10313
  readonly uuid: string;
10326
10314
  readonly thread: string;
10327
10315
  role: MessageRoleEnum;
10328
- content?: string;
10329
- readonly content_display: string;
10330
- readonly tool_calls: unknown;
10316
+ readonly blocks: Array<{
10317
+ id: string;
10318
+ key: 'markdown' | 'code' | 'mermaid' | 'vm_order' | 'resource_list' | 'homeport_nav' | 'tool';
10319
+ status: string;
10320
+ [key: string]: unknown | string | ('markdown' | 'code' | 'mermaid' | 'vm_order' | 'resource_list' | 'homeport_nav' | 'tool');
10321
+ }>;
10322
+ readonly warning: string;
10331
10323
  readonly sequence_index: number;
10332
10324
  readonly replaces: string | null;
10333
10325
  readonly created: string;
@@ -11425,7 +11417,7 @@ export type OfferingComponent = {
11425
11417
  * The conversion factor from backend units to measured_unit
11426
11418
  */
11427
11419
  unit_factor?: number;
11428
- limit_period?: LimitPeriodEnum | BlankEnum | NullEnum | null;
11420
+ limit_period?: LimitPeriodEnum | NullEnum | null;
11429
11421
  limit_amount?: number | null;
11430
11422
  article_code?: string;
11431
11423
  max_value?: number | null;
@@ -11489,7 +11481,7 @@ export type OfferingComponentRequest = {
11489
11481
  * The conversion factor from backend units to measured_unit
11490
11482
  */
11491
11483
  unit_factor?: number;
11492
- limit_period?: LimitPeriodEnum | BlankEnum | NullEnum | null;
11484
+ limit_period?: LimitPeriodEnum | NullEnum | null;
11493
11485
  limit_amount?: number | null;
11494
11486
  article_code?: string;
11495
11487
  max_value?: number | null;
@@ -12518,6 +12510,7 @@ export type OfferingUser = {
12518
12510
  * Check if the user needs to re-consent due to ToS changes.
12519
12511
  */
12520
12512
  readonly requires_reconsent?: boolean;
12513
+ readonly offering_has_active_tos?: boolean;
12521
12514
  /**
12522
12515
  * Check if the offering user has a connected compliance checklist completion.
12523
12516
  */
@@ -24628,7 +24621,7 @@ export type UpdateOfferingComponentRequest = {
24628
24621
  * The conversion factor from backend units to measured_unit
24629
24622
  */
24630
24623
  unit_factor?: number;
24631
- limit_period?: LimitPeriodEnum | BlankEnum | NullEnum | null;
24624
+ limit_period?: LimitPeriodEnum | NullEnum | null;
24632
24625
  limit_amount?: number | null;
24633
24626
  article_code?: string;
24634
24627
  max_value?: number | null;
@@ -27827,6 +27820,7 @@ export type CallReviewerPoolOEnum = '-created' | '-current_assignments' | '-expe
27827
27820
  export type ChatSessionFieldEnum = 'created' | 'modified' | 'user' | 'user_full_name' | 'user_username' | 'uuid';
27828
27821
  export type ThreadSessionFieldEnum = 'chat_session' | 'created' | 'flags' | 'input_tokens' | 'is_archived' | 'is_flagged' | 'max_severity' | 'message_count' | 'modified' | 'name' | 'output_tokens' | 'title_gen_input_tokens' | 'title_gen_output_tokens' | 'total_tokens' | 'user_full_name' | 'user_username' | 'uuid';
27829
27822
  export type ThreadSessionOEnum = '-created' | '-input_tokens' | '-modified' | '-output_tokens' | '-total_tokens' | 'created' | 'input_tokens' | 'modified' | 'output_tokens' | 'total_tokens';
27823
+ export type ThreadSessionScopeEnum = 'own';
27830
27824
  export type CoiDetectionJobOEnum = '-completed_at' | '-created' | '-started_at' | '-state' | 'completed_at' | 'created' | 'started_at' | 'state';
27831
27825
  export type CoiDisclosureFormOEnum = '-certification_date' | '-created' | '-valid_until' | 'certification_date' | 'created' | 'valid_until';
27832
27826
  export type ConflictOfInterestOEnum = '-created' | '-detected_at' | '-severity' | '-status' | 'created' | 'detected_at' | 'severity' | 'status';
@@ -27868,7 +27862,7 @@ export type OfferingPermissionOEnum = '-created' | '-email' | '-expiration_time'
27868
27862
  export type OfferingReferralOEnum = '-published' | '-relation_type' | '-resource_type' | 'published' | 'relation_type' | 'resource_type';
27869
27863
  export type OfferingTermsOfServiceOEnum = '-created' | '-modified' | '-version' | 'created' | 'modified' | 'version';
27870
27864
  export type UserChecklistCompletionOEnum = '-is_completed' | '-modified' | 'is_completed' | 'modified';
27871
- export type OfferingUserFieldEnum = 'consent_data' | 'created' | 'customer_name' | 'customer_uuid' | 'has_compliance_checklist' | 'has_consent' | 'is_profile_complete' | 'is_restricted' | 'missing_profile_attributes' | 'modified' | 'offering' | 'offering_name' | 'offering_uuid' | 'requires_reconsent' | 'service_provider_comment' | 'service_provider_comment_url' | 'state' | 'url' | 'user' | 'user_active_isds' | 'user_address' | 'user_affiliations' | 'user_birth_date' | 'user_civil_number' | 'user_country_of_residence' | 'user_eduperson_assurance' | 'user_email' | 'user_first_name' | 'user_full_name' | 'user_gender' | 'user_identity_source' | 'user_job_title' | 'user_last_name' | 'user_nationalities' | 'user_nationality' | 'user_organization' | 'user_organization_country' | 'user_organization_registry_code' | 'user_organization_type' | 'user_personal_title' | 'user_phone_number' | 'user_place_of_birth' | 'user_username' | 'user_uuid' | 'username' | 'uuid';
27865
+ export type OfferingUserFieldEnum = 'consent_data' | 'created' | 'customer_name' | 'customer_uuid' | 'has_compliance_checklist' | 'has_consent' | 'is_profile_complete' | 'is_restricted' | 'missing_profile_attributes' | 'modified' | 'offering' | 'offering_has_active_tos' | 'offering_name' | 'offering_uuid' | 'requires_reconsent' | 'service_provider_comment' | 'service_provider_comment_url' | 'state' | 'url' | 'user' | 'user_active_isds' | 'user_address' | 'user_affiliations' | 'user_birth_date' | 'user_civil_number' | 'user_country_of_residence' | 'user_eduperson_assurance' | 'user_email' | 'user_first_name' | 'user_full_name' | 'user_gender' | 'user_identity_source' | 'user_job_title' | 'user_last_name' | 'user_nationalities' | 'user_nationality' | 'user_organization' | 'user_organization_country' | 'user_organization_registry_code' | 'user_organization_type' | 'user_personal_title' | 'user_phone_number' | 'user_place_of_birth' | 'user_username' | 'user_uuid' | 'username' | 'uuid';
27872
27866
  export type OfferingUserOEnum = '-created' | '-modified' | '-username' | 'created' | 'modified' | 'username';
27873
27867
  export type OrderDetailsFieldEnum = 'accepting_terms_of_service' | 'activation_price' | 'attachment' | 'attributes' | 'backend_id' | 'callback_url' | 'can_terminate' | 'category_icon' | 'category_title' | 'category_uuid' | 'completed_at' | 'consumer_message' | 'consumer_message_attachment' | 'consumer_rejection_comment' | 'consumer_reviewed_at' | 'consumer_reviewed_by' | 'consumer_reviewed_by_full_name' | 'consumer_reviewed_by_username' | 'cost' | 'created' | 'created_by_civil_number' | 'created_by_email' | 'created_by_full_name' | 'created_by_organization' | 'created_by_organization_registry_code' | 'created_by_username' | 'customer_name' | 'customer_slug' | 'customer_uuid' | 'error_message' | 'error_traceback' | 'error_updated_at' | 'fixed_price' | 'issue' | 'limits' | 'marketplace_resource_uuid' | 'modified' | 'new_cost_estimate' | 'new_plan_name' | 'new_plan_uuid' | 'offering' | 'offering_billable' | 'offering_description' | 'offering_image' | 'offering_name' | 'offering_plugin_options' | 'offering_shared' | 'offering_thumbnail' | 'offering_type' | 'offering_uuid' | 'old_cost_estimate' | 'old_plan_name' | 'old_plan_uuid' | 'order_subtype' | 'output' | 'output_updated_at' | 'plan' | 'plan_description' | 'plan_name' | 'plan_unit' | 'plan_uuid' | 'project_description' | 'project_name' | 'project_slug' | 'project_uuid' | 'provider_description' | 'provider_message' | 'provider_message_attachment' | 'provider_message_url' | 'provider_name' | 'provider_rejection_comment' | 'provider_reviewed_at' | 'provider_reviewed_by' | 'provider_reviewed_by_full_name' | 'provider_reviewed_by_username' | 'provider_slug' | 'provider_uuid' | 'request_comment' | 'resource_name' | 'resource_type' | 'resource_uuid' | 'slug' | 'start_date' | 'state' | 'termination_comment' | 'type' | 'url' | 'uuid';
27874
27868
  export type OrderDetailsOEnum = '-consumer_reviewed_at' | '-cost' | '-created' | '-state' | 'consumer_reviewed_at' | 'cost' | 'created' | 'state';
@@ -34650,6 +34644,7 @@ export type ChatThreadsListData = {
34650
34644
  */
34651
34645
  page_size?: number;
34652
34646
  query?: string;
34647
+ scope?: ThreadSessionScopeEnum;
34653
34648
  total_tokens_max?: number;
34654
34649
  total_tokens_min?: number;
34655
34650
  user?: string;
@@ -44839,6 +44834,10 @@ export type MarketplaceOfferingUsersListData = {
44839
44834
  */
44840
44835
  o?: Array<OfferingUserOEnum>;
44841
44836
  offering?: string;
44837
+ /**
44838
+ * Offering has active Terms of Service
44839
+ */
44840
+ offering_has_active_tos?: boolean;
44842
44841
  /**
44843
44842
  * Multiple values may be separated by commas.
44844
44843
  */
@@ -44924,6 +44923,10 @@ export type MarketplaceOfferingUsersCountData = {
44924
44923
  */
44925
44924
  o?: Array<OfferingUserOEnum>;
44926
44925
  offering?: string;
44926
+ /**
44927
+ * Offering has active Terms of Service
44928
+ */
44929
+ offering_has_active_tos?: boolean;
44927
44930
  /**
44928
44931
  * Multiple values may be separated by commas.
44929
44932
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.8-dev.16",
3
+ "version": "8.0.8-dev.18",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",