waldur-js-client 8.0.8-dev.31 → 8.0.8-dev.33

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 +173 -31
  2. package/package.json +1 -1
@@ -2836,6 +2836,64 @@ export type CallApplicantAttributeConfigRequest = {
2836
2836
  */
2837
2837
  reviewers_see_applicant_details?: boolean;
2838
2838
  };
2839
+ export type CallApplicantVisibilityConfig = {
2840
+ readonly uuid?: string;
2841
+ readonly created?: string;
2842
+ readonly modified?: string;
2843
+ expose_full_name?: boolean;
2844
+ expose_email?: boolean;
2845
+ expose_username?: boolean;
2846
+ expose_registration_method?: boolean;
2847
+ expose_organization?: boolean;
2848
+ expose_organization_country?: boolean;
2849
+ expose_organization_type?: boolean;
2850
+ expose_organization_registry_code?: boolean;
2851
+ expose_affiliations?: boolean;
2852
+ expose_phone_number?: boolean;
2853
+ expose_job_title?: boolean;
2854
+ expose_gender?: boolean;
2855
+ expose_personal_title?: boolean;
2856
+ expose_place_of_birth?: boolean;
2857
+ expose_address?: boolean;
2858
+ expose_country_of_residence?: boolean;
2859
+ expose_nationality?: boolean;
2860
+ expose_nationalities?: boolean;
2861
+ expose_eduperson_assurance?: boolean;
2862
+ expose_identity_source?: boolean;
2863
+ expose_civil_number?: boolean;
2864
+ expose_birth_date?: boolean;
2865
+ expose_active_isds?: boolean;
2866
+ readonly exposed_fields?: Array<string>;
2867
+ /**
2868
+ * Return True if this is a default (unsaved) config.
2869
+ */
2870
+ readonly is_default?: boolean;
2871
+ };
2872
+ export type CallApplicantVisibilityConfigRequest = {
2873
+ expose_full_name?: boolean;
2874
+ expose_email?: boolean;
2875
+ expose_username?: boolean;
2876
+ expose_registration_method?: boolean;
2877
+ expose_organization?: boolean;
2878
+ expose_organization_country?: boolean;
2879
+ expose_organization_type?: boolean;
2880
+ expose_organization_registry_code?: boolean;
2881
+ expose_affiliations?: boolean;
2882
+ expose_phone_number?: boolean;
2883
+ expose_job_title?: boolean;
2884
+ expose_gender?: boolean;
2885
+ expose_personal_title?: boolean;
2886
+ expose_place_of_birth?: boolean;
2887
+ expose_address?: boolean;
2888
+ expose_country_of_residence?: boolean;
2889
+ expose_nationality?: boolean;
2890
+ expose_nationalities?: boolean;
2891
+ expose_eduperson_assurance?: boolean;
2892
+ expose_identity_source?: boolean;
2893
+ expose_civil_number?: boolean;
2894
+ expose_birth_date?: boolean;
2895
+ expose_active_isds?: boolean;
2896
+ };
2839
2897
  export type CallAssignmentConfiguration = {
2840
2898
  readonly uuid: string;
2841
2899
  readonly call: string;
@@ -3738,6 +3796,18 @@ export type ChatResponse = {
3738
3796
  * Available offering options [{uuid, name}]. Present when status='offering_form'.
3739
3797
  */
3740
3798
  offerings?: Array<unknown>;
3799
+ /**
3800
+ * Network name (e.g. 'default'). Present when status='preview'.
3801
+ */
3802
+ network?: string;
3803
+ /**
3804
+ * SSH key name. Present when status='preview'.
3805
+ */
3806
+ ssh_key_name?: string;
3807
+ /**
3808
+ * System volume size in GB. Present when status='preview'.
3809
+ */
3810
+ system_volume_size?: number;
3741
3811
  /**
3742
3812
  * Customer/organization UUID filter hint. Present when k='resource_list'.
3743
3813
  */
@@ -4561,6 +4631,7 @@ export type ConstanceSettings = {
4561
4631
  WALDUR_AUTH_SOCIAL_ROLE_CLAIM?: string;
4562
4632
  REMOTE_EDUTEAMS_REFRESH_TOKEN?: string;
4563
4633
  DEFAULT_OFFERING_USER_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
4634
+ DEFAULT_CALL_USER_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
4564
4635
  INVITATION_ALLOWED_FIELDS?: Array<UserAttributeEnum | BlankEnum>;
4565
4636
  ENABLED_USER_PROFILE_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
4566
4637
  MANDATORY_USER_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
@@ -4819,6 +4890,7 @@ export type ConstanceSettingsRequest = {
4819
4890
  WALDUR_AUTH_SOCIAL_ROLE_CLAIM?: string;
4820
4891
  REMOTE_EDUTEAMS_REFRESH_TOKEN?: string;
4821
4892
  DEFAULT_OFFERING_USER_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
4893
+ DEFAULT_CALL_USER_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
4822
4894
  INVITATION_ALLOWED_FIELDS?: Array<UserAttributeEnum | BlankEnum>;
4823
4895
  ENABLED_USER_PROFILE_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
4824
4896
  MANDATORY_USER_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
@@ -10366,9 +10438,9 @@ export type Message = {
10366
10438
  role: MessageRoleEnum;
10367
10439
  readonly blocks: Array<{
10368
10440
  id: string;
10369
- key: 'markdown' | 'code' | 'mermaid' | 'vm_order' | 'resource_list' | 'homeport_nav' | 'tool';
10441
+ key: 'markdown' | 'code' | 'mermaid' | 'vm_order' | 'resource_list' | 'homeport_nav' | 'ask_user_form' | 'tool';
10370
10442
  status: string;
10371
- [key: string]: unknown | string | ('markdown' | 'code' | 'mermaid' | 'vm_order' | 'resource_list' | 'homeport_nav' | 'tool');
10443
+ [key: string]: unknown | string | ('markdown' | 'code' | 'mermaid' | 'vm_order' | 'resource_list' | 'homeport_nav' | 'ask_user_form' | 'tool');
10372
10444
  }>;
10373
10445
  readonly warning: string;
10374
10446
  readonly sequence_index: number;
@@ -12616,15 +12688,17 @@ export type OfferingUserAttributeConfig = {
12616
12688
  readonly uuid: string;
12617
12689
  readonly created: string;
12618
12690
  readonly modified: string;
12619
- readonly offering_uuid: string;
12620
- readonly offering_name: string;
12621
- expose_username?: boolean;
12622
12691
  expose_full_name?: boolean;
12623
12692
  expose_email?: boolean;
12624
- expose_phone_number?: boolean;
12693
+ expose_username?: boolean;
12694
+ expose_registration_method?: boolean;
12625
12695
  expose_organization?: boolean;
12626
- expose_job_title?: boolean;
12696
+ expose_organization_country?: boolean;
12697
+ expose_organization_type?: boolean;
12698
+ expose_organization_registry_code?: boolean;
12627
12699
  expose_affiliations?: boolean;
12700
+ expose_phone_number?: boolean;
12701
+ expose_job_title?: boolean;
12628
12702
  expose_gender?: boolean;
12629
12703
  expose_personal_title?: boolean;
12630
12704
  expose_place_of_birth?: boolean;
@@ -12632,32 +12706,31 @@ export type OfferingUserAttributeConfig = {
12632
12706
  expose_country_of_residence?: boolean;
12633
12707
  expose_nationality?: boolean;
12634
12708
  expose_nationalities?: boolean;
12635
- expose_organization_country?: boolean;
12636
- expose_organization_type?: boolean;
12637
- expose_organization_registry_code?: boolean;
12638
12709
  expose_eduperson_assurance?: boolean;
12710
+ expose_identity_source?: boolean;
12639
12711
  expose_civil_number?: boolean;
12640
12712
  expose_birth_date?: boolean;
12641
- expose_identity_source?: boolean;
12642
12713
  expose_active_isds?: boolean;
12643
- /**
12644
- * Return list of field names currently configured for exposure.
12645
- */
12646
12714
  readonly exposed_fields: Array<string>;
12647
12715
  /**
12648
12716
  * Return True if this is a default (unsaved) config.
12649
12717
  */
12650
12718
  readonly is_default: boolean;
12719
+ readonly offering_uuid: string;
12720
+ readonly offering_name: string;
12651
12721
  };
12652
12722
  export type OfferingUserAttributeConfigRequest = {
12653
- offering?: string;
12654
- expose_username?: boolean;
12655
12723
  expose_full_name?: boolean;
12656
12724
  expose_email?: boolean;
12657
- expose_phone_number?: boolean;
12725
+ expose_username?: boolean;
12726
+ expose_registration_method?: boolean;
12658
12727
  expose_organization?: boolean;
12659
- expose_job_title?: boolean;
12728
+ expose_organization_country?: boolean;
12729
+ expose_organization_type?: boolean;
12730
+ expose_organization_registry_code?: boolean;
12660
12731
  expose_affiliations?: boolean;
12732
+ expose_phone_number?: boolean;
12733
+ expose_job_title?: boolean;
12661
12734
  expose_gender?: boolean;
12662
12735
  expose_personal_title?: boolean;
12663
12736
  expose_place_of_birth?: boolean;
@@ -12665,14 +12738,12 @@ export type OfferingUserAttributeConfigRequest = {
12665
12738
  expose_country_of_residence?: boolean;
12666
12739
  expose_nationality?: boolean;
12667
12740
  expose_nationalities?: boolean;
12668
- expose_organization_country?: boolean;
12669
- expose_organization_type?: boolean;
12670
- expose_organization_registry_code?: boolean;
12671
12741
  expose_eduperson_assurance?: boolean;
12742
+ expose_identity_source?: boolean;
12672
12743
  expose_civil_number?: boolean;
12673
12744
  expose_birth_date?: boolean;
12674
- expose_identity_source?: boolean;
12675
12745
  expose_active_isds?: boolean;
12746
+ offering?: string;
12676
12747
  };
12677
12748
  export type OfferingUserRequest = {
12678
12749
  user?: string;
@@ -16426,14 +16497,17 @@ export type PatchedOfferingUsagePolicyRequest = {
16426
16497
  period?: PolicyPeriodEnum;
16427
16498
  };
16428
16499
  export type PatchedOfferingUserAttributeConfigRequest = {
16429
- offering?: string;
16430
- expose_username?: boolean;
16431
16500
  expose_full_name?: boolean;
16432
16501
  expose_email?: boolean;
16433
- expose_phone_number?: boolean;
16502
+ expose_username?: boolean;
16503
+ expose_registration_method?: boolean;
16434
16504
  expose_organization?: boolean;
16435
- expose_job_title?: boolean;
16505
+ expose_organization_country?: boolean;
16506
+ expose_organization_type?: boolean;
16507
+ expose_organization_registry_code?: boolean;
16436
16508
  expose_affiliations?: boolean;
16509
+ expose_phone_number?: boolean;
16510
+ expose_job_title?: boolean;
16437
16511
  expose_gender?: boolean;
16438
16512
  expose_personal_title?: boolean;
16439
16513
  expose_place_of_birth?: boolean;
@@ -16441,14 +16515,12 @@ export type PatchedOfferingUserAttributeConfigRequest = {
16441
16515
  expose_country_of_residence?: boolean;
16442
16516
  expose_nationality?: boolean;
16443
16517
  expose_nationalities?: boolean;
16444
- expose_organization_country?: boolean;
16445
- expose_organization_type?: boolean;
16446
- expose_organization_registry_code?: boolean;
16447
16518
  expose_eduperson_assurance?: boolean;
16519
+ expose_identity_source?: boolean;
16448
16520
  expose_civil_number?: boolean;
16449
16521
  expose_birth_date?: boolean;
16450
- expose_identity_source?: boolean;
16451
16522
  expose_active_isds?: boolean;
16523
+ offering?: string;
16452
16524
  };
16453
16525
  export type PatchedOfferingUserRequest = {
16454
16526
  user?: string;
@@ -16825,6 +16897,7 @@ export type PatchedProtectedCallRequest = {
16825
16897
  * List of required assurance URIs (REFEDS). User must have ALL of these.
16826
16898
  */
16827
16899
  user_assurance_levels?: unknown;
16900
+ applicant_visibility_config?: CallApplicantVisibilityConfigRequest | null;
16828
16901
  };
16829
16902
  export type PatchedProtectedRoundRequest = {
16830
16903
  start_time?: string;
@@ -18682,6 +18755,71 @@ export type Proposal = {
18682
18755
  readonly created_by: string | null;
18683
18756
  readonly created_by_name: string;
18684
18757
  readonly created_by_uuid: string;
18758
+ /**
18759
+ * Required. 128 characters or fewer. Lowercase letters, numbers and @/./+/-/_ characters
18760
+ */
18761
+ readonly applicant_username: string;
18762
+ readonly applicant_full_name: string;
18763
+ readonly applicant_first_name: string;
18764
+ readonly applicant_last_name: string;
18765
+ /**
18766
+ * Email address
18767
+ */
18768
+ readonly applicant_email: string;
18769
+ /**
18770
+ * Indicates what registration method was used.
18771
+ */
18772
+ readonly applicant_registration_method: string;
18773
+ readonly applicant_phone_number: string;
18774
+ readonly applicant_organization: string;
18775
+ readonly applicant_organization_country: string;
18776
+ /**
18777
+ * SCHAC URN (e.g., urn:schac:homeOrganizationType:int:university)
18778
+ */
18779
+ readonly applicant_organization_type: string;
18780
+ /**
18781
+ * Company registration code of the user's organization, if known
18782
+ */
18783
+ readonly applicant_organization_registry_code: string;
18784
+ readonly applicant_job_title: string;
18785
+ /**
18786
+ * Person's affiliation within organization such as student, faculty, staff.
18787
+ */
18788
+ readonly applicant_affiliations: unknown;
18789
+ /**
18790
+ * User's gender (male, female, or unknown)
18791
+ */
18792
+ applicant_gender: GenderEnum | BlankEnum | NullEnum | null;
18793
+ /**
18794
+ * Honorific title (Mr, Ms, Dr, Prof, etc.)
18795
+ */
18796
+ readonly applicant_personal_title: string;
18797
+ readonly applicant_place_of_birth: string;
18798
+ readonly applicant_address: string;
18799
+ readonly applicant_country_of_residence: string;
18800
+ /**
18801
+ * Primary citizenship (ISO 3166-1 alpha-2 code)
18802
+ */
18803
+ readonly applicant_nationality: string;
18804
+ /**
18805
+ * List of all citizenships (ISO 3166-1 alpha-2 codes)
18806
+ */
18807
+ readonly applicant_nationalities: unknown;
18808
+ /**
18809
+ * REFEDS assurance profile URIs from identity provider
18810
+ */
18811
+ readonly applicant_eduperson_assurance: unknown;
18812
+ /**
18813
+ * Source of identity
18814
+ * Indicates what identity provider was used.
18815
+ */
18816
+ readonly applicant_identity_source: string;
18817
+ readonly applicant_civil_number: string | null;
18818
+ readonly applicant_birth_date: string | null;
18819
+ /**
18820
+ * List of ISDs that have asserted this user exists. User is deactivated when this becomes empty.
18821
+ */
18822
+ readonly applicant_active_isds: unknown;
18685
18823
  /**
18686
18824
  * Duration in days after provisioning of resources.
18687
18825
  */
@@ -18924,6 +19062,7 @@ export type ProtectedCall = {
18924
19062
  * List of required assurance URIs (REFEDS). User must have ALL of these.
18925
19063
  */
18926
19064
  user_assurance_levels?: unknown;
19065
+ applicant_visibility_config?: CallApplicantVisibilityConfig | null;
18927
19066
  };
18928
19067
  export type ProtectedCallRequest = {
18929
19068
  /**
@@ -18978,6 +19117,7 @@ export type ProtectedCallRequest = {
18978
19117
  * List of required assurance URIs (REFEDS). User must have ALL of these.
18979
19118
  */
18980
19119
  user_assurance_levels?: unknown;
19120
+ applicant_visibility_config?: CallApplicantVisibilityConfigRequest | null;
18981
19121
  };
18982
19122
  export type ProtectedProposalList = {
18983
19123
  readonly uuid: string;
@@ -27313,6 +27453,7 @@ export type ConstanceSettingsRequestForm = {
27313
27453
  WALDUR_AUTH_SOCIAL_ROLE_CLAIM?: string;
27314
27454
  REMOTE_EDUTEAMS_REFRESH_TOKEN?: string;
27315
27455
  DEFAULT_OFFERING_USER_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
27456
+ DEFAULT_CALL_USER_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
27316
27457
  INVITATION_ALLOWED_FIELDS?: Array<UserAttributeEnum | BlankEnum>;
27317
27458
  ENABLED_USER_PROFILE_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
27318
27459
  MANDATORY_USER_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
@@ -27571,6 +27712,7 @@ export type ConstanceSettingsRequestMultipart = {
27571
27712
  WALDUR_AUTH_SOCIAL_ROLE_CLAIM?: string;
27572
27713
  REMOTE_EDUTEAMS_REFRESH_TOKEN?: string;
27573
27714
  DEFAULT_OFFERING_USER_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
27715
+ DEFAULT_CALL_USER_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
27574
27716
  INVITATION_ALLOWED_FIELDS?: Array<UserAttributeEnum | BlankEnum>;
27575
27717
  ENABLED_USER_PROFILE_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
27576
27718
  MANDATORY_USER_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
@@ -28214,7 +28356,7 @@ export type ProjectCreditOEnum = '-end_date' | '-expected_consumption' | '-proje
28214
28356
  export type CampaignOEnum = '-end_date' | '-start_date' | 'end_date' | 'start_date';
28215
28357
  export type CampaignStateEnum = 'Active' | 'Draft' | 'Terminated';
28216
28358
  export type ProposalOEnum = '-created' | '-round__call__name' | '-round__cutoff_time' | '-round__start_time' | '-slug' | '-state' | 'created' | 'round__call__name' | 'round__cutoff_time' | 'round__start_time' | 'slug' | 'state';
28217
- export type ProtectedCallFieldEnum = 'backend_id' | 'compliance_checklist' | 'compliance_checklist_name' | 'created' | 'created_by' | 'customer_name' | 'customer_uuid' | 'description' | 'documents' | 'end_date' | 'external_url' | 'fixed_duration_in_days' | 'has_eligibility_restrictions' | 'manager' | 'manager_uuid' | 'name' | 'offerings' | 'proposal_slug_template' | 'reference_code' | 'resource_templates' | 'reviewer_identity_visible_to_submitters' | 'reviews_visible_to_submitters' | 'rounds' | 'slug' | 'start_date' | 'state' | 'url' | 'user_affiliations' | 'user_assurance_levels' | 'user_email_patterns' | 'user_identity_sources' | 'user_nationalities' | 'user_organization_types' | 'uuid';
28359
+ export type ProtectedCallFieldEnum = 'applicant_visibility_config' | 'backend_id' | 'compliance_checklist' | 'compliance_checklist_name' | 'created' | 'created_by' | 'customer_name' | 'customer_uuid' | 'description' | 'documents' | 'end_date' | 'external_url' | 'fixed_duration_in_days' | 'has_eligibility_restrictions' | 'manager' | 'manager_uuid' | 'name' | 'offerings' | 'proposal_slug_template' | 'reference_code' | 'resource_templates' | 'reviewer_identity_visible_to_submitters' | 'reviews_visible_to_submitters' | 'rounds' | 'slug' | 'start_date' | 'state' | 'url' | 'user_affiliations' | 'user_assurance_levels' | 'user_email_patterns' | 'user_identity_sources' | 'user_nationalities' | 'user_organization_types' | 'uuid';
28218
28360
  export type ProtectedCallOEnum = '-created' | '-manager__customer__name' | '-name' | 'created' | 'manager__customer__name' | 'name';
28219
28361
  export type AffinityMatrixResponseScopeEnum = 'all' | 'pool' | 'suggestions';
28220
28362
  export type PublicCallFieldEnum = 'backend_id' | 'created' | 'customer_name' | 'customer_uuid' | 'description' | 'documents' | 'end_date' | 'external_url' | 'fixed_duration_in_days' | 'has_eligibility_restrictions' | 'manager' | 'manager_uuid' | 'name' | 'offerings' | 'resource_templates' | 'reviewer_identity_visible_to_submitters' | 'reviews_visible_to_submitters' | 'rounds' | 'slug' | 'start_date' | 'state' | 'url' | 'uuid';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.8-dev.31",
3
+ "version": "8.0.8-dev.33",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",