waldur-js-client 8.0.9-dev.55 → 8.0.9-dev.56

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 +101 -327
  2. package/package.json +1 -1
@@ -2902,9 +2902,7 @@ export type BroadcastMessage = {
2902
2902
  readonly created: string;
2903
2903
  subject: string;
2904
2904
  body: string;
2905
- query: {
2906
- [key: string]: unknown;
2907
- };
2905
+ query: QueryOutput;
2908
2906
  readonly author_full_name: string;
2909
2907
  readonly emails: {
2910
2908
  [key: string]: unknown;
@@ -2912,14 +2910,17 @@ export type BroadcastMessage = {
2912
2910
  state: BroadcastMessageStateEnum;
2913
2911
  send_at?: string | null;
2914
2912
  };
2915
- export type BroadcastMessageRequest = {
2913
+ export type BroadcastMessageCreateRequest = {
2916
2914
  subject: string;
2917
2915
  body: string;
2918
- query: {
2919
- [key: string]: unknown;
2920
- };
2916
+ query: BroadcastMessageQueryRequest;
2921
2917
  send_at?: string | null;
2922
2918
  };
2919
+ export type BroadcastMessageQueryRequest = {
2920
+ customers?: Array<string>;
2921
+ offerings?: Array<string>;
2922
+ all_users?: boolean;
2923
+ };
2923
2924
  export type BroadcastMessageStateEnum = 'DRAFT' | 'SCHEDULED' | 'SENT';
2924
2925
  export type BulkRoundCreateRequestRequest = {
2925
2926
  start_time: string;
@@ -8262,18 +8263,9 @@ export type GroupInvitation = {
8262
8263
  * UUID of the project role to grant if auto_create_project is enabled
8263
8264
  */
8264
8265
  project_role?: string | null;
8265
- user_affiliations?: {
8266
- [key: string]: unknown;
8267
- };
8268
- user_email_patterns?: {
8269
- [key: string]: unknown;
8270
- };
8271
- /**
8272
- * List of allowed identity sources (identity providers).
8273
- */
8274
- user_identity_sources?: {
8275
- [key: string]: unknown;
8276
- };
8266
+ user_affiliations?: Array<string>;
8267
+ user_email_patterns?: Array<string>;
8268
+ user_identity_sources?: Array<string>;
8277
8269
  /**
8278
8270
  * Image URL of the invitation scope (Customer or Project)
8279
8271
  */
@@ -8320,18 +8312,9 @@ export type GroupInvitationRequest = {
8320
8312
  * UUID of the project role to grant if auto_create_project is enabled
8321
8313
  */
8322
8314
  project_role?: string | null;
8323
- user_affiliations?: {
8324
- [key: string]: unknown;
8325
- };
8326
- user_email_patterns?: {
8327
- [key: string]: unknown;
8328
- };
8329
- /**
8330
- * List of allowed identity sources (identity providers).
8331
- */
8332
- user_identity_sources?: {
8333
- [key: string]: unknown;
8334
- };
8315
+ user_affiliations?: Array<string>;
8316
+ user_email_patterns?: Array<string>;
8317
+ user_identity_sources?: Array<string>;
8335
8318
  /**
8336
8319
  * Custom description text displayed to users viewing this invitation.
8337
8320
  */
@@ -8374,18 +8357,9 @@ export type GroupInvitationUpdate = {
8374
8357
  * UUID of the project role to grant if auto_create_project is enabled
8375
8358
  */
8376
8359
  project_role?: string | null;
8377
- user_affiliations?: {
8378
- [key: string]: unknown;
8379
- };
8380
- user_email_patterns?: {
8381
- [key: string]: unknown;
8382
- };
8383
- /**
8384
- * List of allowed identity sources (identity providers).
8385
- */
8386
- user_identity_sources?: {
8387
- [key: string]: unknown;
8388
- };
8360
+ user_affiliations?: Array<string>;
8361
+ user_email_patterns?: Array<string>;
8362
+ user_identity_sources?: Array<string>;
8389
8363
  /**
8390
8364
  * Custom description text displayed to users viewing this invitation.
8391
8365
  */
@@ -8428,18 +8402,9 @@ export type GroupInvitationUpdateRequest = {
8428
8402
  * UUID of the project role to grant if auto_create_project is enabled
8429
8403
  */
8430
8404
  project_role?: string | null;
8431
- user_affiliations?: {
8432
- [key: string]: unknown;
8433
- };
8434
- user_email_patterns?: {
8435
- [key: string]: unknown;
8436
- };
8437
- /**
8438
- * List of allowed identity sources (identity providers).
8439
- */
8440
- user_identity_sources?: {
8441
- [key: string]: unknown;
8442
- };
8405
+ user_affiliations?: Array<string>;
8406
+ user_email_patterns?: Array<string>;
8407
+ user_identity_sources?: Array<string>;
8443
8408
  /**
8444
8409
  * Custom description text displayed to users viewing this invitation.
8445
8410
  */
@@ -8560,6 +8525,14 @@ export type IsdUserCount = {
8560
8525
  stale_user_count: number;
8561
8526
  oldest_sync: string | null;
8562
8527
  };
8528
+ export type IdNamePair = {
8529
+ name: string;
8530
+ uuid: string;
8531
+ };
8532
+ export type IdNamePairRequest = {
8533
+ name: string;
8534
+ uuid: string;
8535
+ };
8563
8536
  export type IdentityBridgeAllowedFields = {
8564
8537
  allowed_fields: Array<string>;
8565
8538
  };
@@ -8638,6 +8611,8 @@ export type IdentityManager = {
8638
8611
  managed_isds: Array<string>;
8639
8612
  };
8640
8613
  export type IdentityProvider = {
8614
+ protected_fields?: Array<string>;
8615
+ allowed_redirects?: Array<string>;
8641
8616
  provider: string;
8642
8617
  is_active?: boolean;
8643
8618
  /**
@@ -8679,9 +8654,6 @@ export type IdentityProvider = {
8679
8654
  * The endpoint for user details management.
8680
8655
  */
8681
8656
  management_url?: string;
8682
- protected_fields?: {
8683
- [key: string]: unknown;
8684
- };
8685
8657
  /**
8686
8658
  * Space-separated list of scopes to request during authentication.
8687
8659
  */
@@ -8704,14 +8676,10 @@ export type IdentityProvider = {
8704
8676
  * Space-separated list of extra fields to persist.
8705
8677
  */
8706
8678
  extra_fields?: string | null;
8707
- /**
8708
- * List of allowed redirect URLs for OAuth authentication. URLs must be exact matches (origin only: scheme + domain + port). HTTPS required except for localhost. No wildcards, paths, query params, or fragments. Example: ["https://portal1.example.com", "https://portal2.example.com:8443"]. If empty, falls back to HOMEPORT_URL setting.
8709
- */
8710
- allowed_redirects?: {
8711
- [key: string]: unknown;
8712
- };
8713
8679
  };
8714
8680
  export type IdentityProviderRequest = {
8681
+ protected_fields?: Array<string>;
8682
+ allowed_redirects?: Array<string>;
8715
8683
  provider: string;
8716
8684
  is_active?: boolean;
8717
8685
  /**
@@ -8737,9 +8705,6 @@ export type IdentityProviderRequest = {
8737
8705
  * The endpoint for user details management.
8738
8706
  */
8739
8707
  management_url?: string;
8740
- protected_fields?: {
8741
- [key: string]: unknown;
8742
- };
8743
8708
  /**
8744
8709
  * Space-separated list of scopes to request during authentication.
8745
8710
  */
@@ -8762,12 +8727,6 @@ export type IdentityProviderRequest = {
8762
8727
  * Space-separated list of extra fields to persist.
8763
8728
  */
8764
8729
  extra_fields?: string | null;
8765
- /**
8766
- * List of allowed redirect URLs for OAuth authentication. URLs must be exact matches (origin only: scheme + domain + port). HTTPS required except for localhost. No wildcards, paths, query params, or fragments. Example: ["https://portal1.example.com", "https://portal2.example.com:8443"]. If empty, falls back to HOMEPORT_URL setting.
8767
- */
8768
- allowed_redirects?: {
8769
- [key: string]: unknown;
8770
- };
8771
8730
  };
8772
8731
  export type ImageCreateRequest = {
8773
8732
  name: string;
@@ -16915,9 +16874,6 @@ export type PatchedAzureVirtualMachineRequest = {
16915
16874
  export type PatchedBroadcastMessageRequest = {
16916
16875
  subject?: string;
16917
16876
  body?: string;
16918
- query?: {
16919
- [key: string]: unknown;
16920
- };
16921
16877
  send_at?: string | null;
16922
16878
  };
16923
16879
  export type PatchedCallAssignmentConfigurationRequest = {
@@ -17320,18 +17276,9 @@ export type PatchedGroupInvitationUpdateRequest = {
17320
17276
  * UUID of the project role to grant if auto_create_project is enabled
17321
17277
  */
17322
17278
  project_role?: string | null;
17323
- user_affiliations?: {
17324
- [key: string]: unknown;
17325
- };
17326
- user_email_patterns?: {
17327
- [key: string]: unknown;
17328
- };
17329
- /**
17330
- * List of allowed identity sources (identity providers).
17331
- */
17332
- user_identity_sources?: {
17333
- [key: string]: unknown;
17334
- };
17279
+ user_affiliations?: Array<string>;
17280
+ user_email_patterns?: Array<string>;
17281
+ user_identity_sources?: Array<string>;
17335
17282
  /**
17336
17283
  * Custom description text displayed to users viewing this invitation.
17337
17284
  */
@@ -17346,6 +17293,8 @@ export type PatchedGroupInvitationUpdateRequest = {
17346
17293
  allow_custom_project_details?: boolean;
17347
17294
  };
17348
17295
  export type PatchedIdentityProviderRequest = {
17296
+ protected_fields?: Array<string>;
17297
+ allowed_redirects?: Array<string>;
17349
17298
  provider?: string;
17350
17299
  is_active?: boolean;
17351
17300
  /**
@@ -17371,9 +17320,6 @@ export type PatchedIdentityProviderRequest = {
17371
17320
  * The endpoint for user details management.
17372
17321
  */
17373
17322
  management_url?: string;
17374
- protected_fields?: {
17375
- [key: string]: unknown;
17376
- };
17377
17323
  /**
17378
17324
  * Space-separated list of scopes to request during authentication.
17379
17325
  */
@@ -17396,12 +17342,6 @@ export type PatchedIdentityProviderRequest = {
17396
17342
  * Space-separated list of extra fields to persist.
17397
17343
  */
17398
17344
  extra_fields?: string | null;
17399
- /**
17400
- * List of allowed redirect URLs for OAuth authentication. URLs must be exact matches (origin only: scheme + domain + port). HTTPS required except for localhost. No wildcards, paths, query params, or fragments. Example: ["https://portal1.example.com", "https://portal2.example.com:8443"]. If empty, falls back to HOMEPORT_URL setting.
17401
- */
17402
- allowed_redirects?: {
17403
- [key: string]: unknown;
17404
- };
17405
17345
  };
17406
17346
  export type PatchedInvitationUpdateRequest = {
17407
17347
  /**
@@ -18229,18 +18169,8 @@ export type PatchedQuestionAdminRequest = {
18229
18169
  * Maximum value allowed for NUMBER, YEAR, and RATING type questions
18230
18170
  */
18231
18171
  max_value?: string | null;
18232
- /**
18233
- * List of allowed file extensions (e.g., ['.pdf', '.doc', '.docx']). If empty, all file types are allowed.
18234
- */
18235
- allowed_file_types?: {
18236
- [key: string]: unknown;
18237
- };
18238
- /**
18239
- * List of allowed MIME types (e.g., ['application/pdf', 'application/msword']). If empty, MIME type validation is not enforced. When both extensions and MIME types are specified, files must match both criteria for security.
18240
- */
18241
- allowed_mime_types?: {
18242
- [key: string]: unknown;
18243
- };
18172
+ allowed_file_types?: Array<string>;
18173
+ allowed_mime_types?: Array<string>;
18244
18174
  /**
18245
18175
  * Maximum file size in megabytes. If not set, no size limit is enforced.
18246
18176
  */
@@ -18598,9 +18528,7 @@ export type PatchedRobotAccountRequest = {
18598
18528
  * Users who have access to this robot account.
18599
18529
  */
18600
18530
  users?: Array<string>;
18601
- keys?: {
18602
- [key: string]: unknown;
18603
- };
18531
+ keys?: Array<string>;
18604
18532
  responsible_user?: string | null;
18605
18533
  };
18606
18534
  export type PatchedRoleDetailsRequest = {
@@ -18939,6 +18867,7 @@ export type PatchedUserRequest = {
18939
18867
  */
18940
18868
  notifications_enabled?: boolean;
18941
18869
  preferred_language?: string;
18870
+ affiliations?: Array<string>;
18942
18871
  first_name?: string;
18943
18872
  last_name?: string;
18944
18873
  birth_date?: string | null;
@@ -18958,12 +18887,7 @@ export type PatchedUserRequest = {
18958
18887
  * Primary citizenship (ISO 3166-1 alpha-2 code)
18959
18888
  */
18960
18889
  nationality?: string;
18961
- /**
18962
- * List of all citizenships (ISO 3166-1 alpha-2 codes)
18963
- */
18964
- nationalities?: {
18965
- [key: string]: unknown;
18966
- };
18890
+ nationalities?: Array<string>;
18967
18891
  organization_country?: string;
18968
18892
  /**
18969
18893
  * SCHAC URN (e.g., urn:schac:homeOrganizationType:int:university)
@@ -18973,12 +18897,7 @@ export type PatchedUserRequest = {
18973
18897
  * Company registration code of the user's organization, if known
18974
18898
  */
18975
18899
  organization_registry_code?: string;
18976
- /**
18977
- * REFEDS assurance profile URIs from identity provider
18978
- */
18979
- eduperson_assurance?: {
18980
- [key: string]: unknown;
18981
- };
18900
+ eduperson_assurance?: Array<string>;
18982
18901
  /**
18983
18902
  * Designates whether the user is allowed to manage remote user identities.
18984
18903
  */
@@ -18987,12 +18906,8 @@ export type PatchedUserRequest = {
18987
18906
  * Designates whether the user is allowed to create and use personal access tokens.
18988
18907
  */
18989
18908
  can_use_personal_access_tokens?: boolean;
18990
- /**
18991
- * List of ISD source identifiers this user can manage via Identity Bridge. E.g., ['isd:puhuri', 'isd:fenix']. Non-empty list implies identity manager role.
18992
- */
18993
- managed_isds?: {
18994
- [key: string]: unknown;
18995
- };
18909
+ managed_isds?: Array<string>;
18910
+ active_isds?: Array<string>;
18996
18911
  /**
18997
18912
  * Reason why the user was deactivated. Visible to staff and support.
18998
18913
  */
@@ -21424,6 +21339,16 @@ export type PullMarketplaceScriptResourceRequest = {
21424
21339
  resource_uuid: string;
21425
21340
  };
21426
21341
  export type QosStrategyEnum = 'threshold' | 'progressive';
21342
+ export type QueryOutput = {
21343
+ customers?: Array<IdNamePair>;
21344
+ offerings?: Array<IdNamePair>;
21345
+ all_users?: boolean;
21346
+ };
21347
+ export type QueryOutputRequest = {
21348
+ customers?: Array<IdNamePairRequest>;
21349
+ offerings?: Array<IdNamePairRequest>;
21350
+ all_users?: boolean;
21351
+ };
21427
21352
  export type QueryPerformance = {
21428
21353
  /**
21429
21354
  * Total sequential scans (potentially expensive)
@@ -21478,18 +21403,8 @@ export type Question = {
21478
21403
  * Maximum value allowed for NUMBER, YEAR, and RATING type questions
21479
21404
  */
21480
21405
  max_value?: string | null;
21481
- /**
21482
- * List of allowed file extensions (e.g., ['.pdf', '.doc', '.docx']). If empty, all file types are allowed.
21483
- */
21484
- allowed_file_types?: {
21485
- [key: string]: unknown;
21486
- };
21487
- /**
21488
- * List of allowed MIME types (e.g., ['application/pdf', 'application/msword']). If empty, MIME type validation is not enforced. When both extensions and MIME types are specified, files must match both criteria for security.
21489
- */
21490
- allowed_mime_types?: {
21491
- [key: string]: unknown;
21492
- };
21406
+ allowed_file_types?: Array<string>;
21407
+ allowed_mime_types?: Array<string>;
21493
21408
  /**
21494
21409
  * Maximum file size in megabytes. If not set, no size limit is enforced.
21495
21410
  */
@@ -21574,18 +21489,8 @@ export type QuestionAdmin = {
21574
21489
  * Maximum value allowed for NUMBER, YEAR, and RATING type questions
21575
21490
  */
21576
21491
  max_value?: string | null;
21577
- /**
21578
- * List of allowed file extensions (e.g., ['.pdf', '.doc', '.docx']). If empty, all file types are allowed.
21579
- */
21580
- allowed_file_types?: {
21581
- [key: string]: unknown;
21582
- };
21583
- /**
21584
- * List of allowed MIME types (e.g., ['application/pdf', 'application/msword']). If empty, MIME type validation is not enforced. When both extensions and MIME types are specified, files must match both criteria for security.
21585
- */
21586
- allowed_mime_types?: {
21587
- [key: string]: unknown;
21588
- };
21492
+ allowed_file_types?: Array<string>;
21493
+ allowed_mime_types?: Array<string>;
21589
21494
  /**
21590
21495
  * Maximum file size in megabytes. If not set, no size limit is enforced.
21591
21496
  */
@@ -21673,18 +21578,8 @@ export type QuestionAdminRequest = {
21673
21578
  * Maximum value allowed for NUMBER, YEAR, and RATING type questions
21674
21579
  */
21675
21580
  max_value?: string | null;
21676
- /**
21677
- * List of allowed file extensions (e.g., ['.pdf', '.doc', '.docx']). If empty, all file types are allowed.
21678
- */
21679
- allowed_file_types?: {
21680
- [key: string]: unknown;
21681
- };
21682
- /**
21683
- * List of allowed MIME types (e.g., ['application/pdf', 'application/msword']). If empty, MIME type validation is not enforced. When both extensions and MIME types are specified, files must match both criteria for security.
21684
- */
21685
- allowed_mime_types?: {
21686
- [key: string]: unknown;
21687
- };
21581
+ allowed_file_types?: Array<string>;
21582
+ allowed_mime_types?: Array<string>;
21688
21583
  /**
21689
21584
  * Maximum file size in megabytes. If not set, no size limit is enforced.
21690
21585
  */
@@ -24739,9 +24634,7 @@ export type RobotAccount = {
24739
24634
  * Users who have access to this robot account.
24740
24635
  */
24741
24636
  users?: Array<string>;
24742
- keys?: {
24743
- [key: string]: unknown;
24744
- };
24637
+ keys?: Array<string>;
24745
24638
  readonly backend_id: string;
24746
24639
  readonly fingerprints: Array<Fingerprint>;
24747
24640
  responsible_user?: string | null;
@@ -24762,9 +24655,7 @@ export type RobotAccountDetails = {
24762
24655
  */
24763
24656
  type: string;
24764
24657
  readonly users: Array<BasicUser>;
24765
- keys?: {
24766
- [key: string]: unknown;
24767
- };
24658
+ keys?: Array<string>;
24768
24659
  readonly backend_id: string;
24769
24660
  readonly fingerprints: Array<Fingerprint>;
24770
24661
  responsible_user: BasicUser | null;
@@ -24797,9 +24688,7 @@ export type RobotAccountRequest = {
24797
24688
  * Users who have access to this robot account.
24798
24689
  */
24799
24690
  users?: Array<string>;
24800
- keys?: {
24801
- [key: string]: unknown;
24802
- };
24691
+ keys?: Array<string>;
24803
24692
  responsible_user?: string | null;
24804
24693
  };
24805
24694
  export type RobotAccountStates = 'Requested' | 'Creating' | 'OK' | 'Requested deletion' | 'Deleted' | 'Error';
@@ -27271,12 +27160,7 @@ export type User = {
27271
27160
  preferred_language?: string;
27272
27161
  readonly permissions: Array<Permission>;
27273
27162
  readonly requested_email: string | null;
27274
- /**
27275
- * Person's affiliation within organization such as student, faculty, staff.
27276
- */
27277
- readonly affiliations: {
27278
- [key: string]: unknown;
27279
- };
27163
+ affiliations?: Array<string>;
27280
27164
  first_name?: string;
27281
27165
  last_name?: string;
27282
27166
  birth_date?: string | null;
@@ -27310,12 +27194,7 @@ export type User = {
27310
27194
  * Primary citizenship (ISO 3166-1 alpha-2 code)
27311
27195
  */
27312
27196
  nationality?: string;
27313
- /**
27314
- * List of all citizenships (ISO 3166-1 alpha-2 codes)
27315
- */
27316
- nationalities?: {
27317
- [key: string]: unknown;
27318
- };
27197
+ nationalities?: Array<string>;
27319
27198
  organization_country?: string;
27320
27199
  /**
27321
27200
  * SCHAC URN (e.g., urn:schac:homeOrganizationType:int:university)
@@ -27325,12 +27204,7 @@ export type User = {
27325
27204
  * Company registration code of the user's organization, if known
27326
27205
  */
27327
27206
  organization_registry_code?: string;
27328
- /**
27329
- * REFEDS assurance profile URIs from identity provider
27330
- */
27331
- eduperson_assurance?: {
27332
- [key: string]: unknown;
27333
- };
27207
+ eduperson_assurance?: Array<string>;
27334
27208
  /**
27335
27209
  * Designates whether the user is allowed to manage remote user identities.
27336
27210
  */
@@ -27345,18 +27219,8 @@ export type User = {
27345
27219
  readonly attribute_sources?: {
27346
27220
  [key: string]: unknown;
27347
27221
  };
27348
- /**
27349
- * List of ISD source identifiers this user can manage via Identity Bridge. E.g., ['isd:puhuri', 'isd:fenix']. Non-empty list implies identity manager role.
27350
- */
27351
- managed_isds?: {
27352
- [key: string]: unknown;
27353
- };
27354
- /**
27355
- * List of ISDs that have asserted this user exists. User is deactivated when this becomes empty.
27356
- */
27357
- readonly active_isds?: {
27358
- [key: string]: unknown;
27359
- };
27222
+ managed_isds?: Array<string>;
27223
+ active_isds?: Array<string>;
27360
27224
  /**
27361
27225
  * Reason why the user was deactivated. Visible to staff and support.
27362
27226
  */
@@ -27703,12 +27567,7 @@ export type UserMe = {
27703
27567
  preferred_language?: string;
27704
27568
  readonly permissions: Array<Permission>;
27705
27569
  readonly requested_email: string | null;
27706
- /**
27707
- * Person's affiliation within organization such as student, faculty, staff.
27708
- */
27709
- readonly affiliations: {
27710
- [key: string]: unknown;
27711
- };
27570
+ affiliations?: Array<string>;
27712
27571
  first_name?: string;
27713
27572
  last_name?: string;
27714
27573
  birth_date?: string | null;
@@ -27742,12 +27601,7 @@ export type UserMe = {
27742
27601
  * Primary citizenship (ISO 3166-1 alpha-2 code)
27743
27602
  */
27744
27603
  nationality?: string;
27745
- /**
27746
- * List of all citizenships (ISO 3166-1 alpha-2 codes)
27747
- */
27748
- nationalities?: {
27749
- [key: string]: unknown;
27750
- };
27604
+ nationalities?: Array<string>;
27751
27605
  organization_country?: string;
27752
27606
  /**
27753
27607
  * SCHAC URN (e.g., urn:schac:homeOrganizationType:int:university)
@@ -27757,12 +27611,7 @@ export type UserMe = {
27757
27611
  * Company registration code of the user's organization, if known
27758
27612
  */
27759
27613
  organization_registry_code?: string;
27760
- /**
27761
- * REFEDS assurance profile URIs from identity provider
27762
- */
27763
- eduperson_assurance?: {
27764
- [key: string]: unknown;
27765
- };
27614
+ eduperson_assurance?: Array<string>;
27766
27615
  /**
27767
27616
  * Designates whether the user is allowed to manage remote user identities.
27768
27617
  */
@@ -27777,18 +27626,8 @@ export type UserMe = {
27777
27626
  readonly attribute_sources?: {
27778
27627
  [key: string]: unknown;
27779
27628
  };
27780
- /**
27781
- * List of ISD source identifiers this user can manage via Identity Bridge. E.g., ['isd:puhuri', 'isd:fenix']. Non-empty list implies identity manager role.
27782
- */
27783
- managed_isds?: {
27784
- [key: string]: unknown;
27785
- };
27786
- /**
27787
- * List of ISDs that have asserted this user exists. User is deactivated when this becomes empty.
27788
- */
27789
- readonly active_isds?: {
27790
- [key: string]: unknown;
27791
- };
27629
+ managed_isds?: Array<string>;
27630
+ active_isds?: Array<string>;
27792
27631
  /**
27793
27632
  * Reason why the user was deactivated. Visible to staff and support.
27794
27633
  */
@@ -27916,6 +27755,7 @@ export type UserRequest = {
27916
27755
  */
27917
27756
  notifications_enabled?: boolean;
27918
27757
  preferred_language?: string;
27758
+ affiliations?: Array<string>;
27919
27759
  first_name?: string;
27920
27760
  last_name?: string;
27921
27761
  birth_date?: string | null;
@@ -27935,12 +27775,7 @@ export type UserRequest = {
27935
27775
  * Primary citizenship (ISO 3166-1 alpha-2 code)
27936
27776
  */
27937
27777
  nationality?: string;
27938
- /**
27939
- * List of all citizenships (ISO 3166-1 alpha-2 codes)
27940
- */
27941
- nationalities?: {
27942
- [key: string]: unknown;
27943
- };
27778
+ nationalities?: Array<string>;
27944
27779
  organization_country?: string;
27945
27780
  /**
27946
27781
  * SCHAC URN (e.g., urn:schac:homeOrganizationType:int:university)
@@ -27950,12 +27785,7 @@ export type UserRequest = {
27950
27785
  * Company registration code of the user's organization, if known
27951
27786
  */
27952
27787
  organization_registry_code?: string;
27953
- /**
27954
- * REFEDS assurance profile URIs from identity provider
27955
- */
27956
- eduperson_assurance?: {
27957
- [key: string]: unknown;
27958
- };
27788
+ eduperson_assurance?: Array<string>;
27959
27789
  /**
27960
27790
  * Designates whether the user is allowed to manage remote user identities.
27961
27791
  */
@@ -27964,12 +27794,8 @@ export type UserRequest = {
27964
27794
  * Designates whether the user is allowed to create and use personal access tokens.
27965
27795
  */
27966
27796
  can_use_personal_access_tokens?: boolean;
27967
- /**
27968
- * List of ISD source identifiers this user can manage via Identity Bridge. E.g., ['isd:puhuri', 'isd:fenix']. Non-empty list implies identity manager role.
27969
- */
27970
- managed_isds?: {
27971
- [key: string]: unknown;
27972
- };
27797
+ managed_isds?: Array<string>;
27798
+ active_isds?: Array<string>;
27973
27799
  /**
27974
27800
  * Reason why the user was deactivated. Visible to staff and support.
27975
27801
  */
@@ -30496,6 +30322,7 @@ export type UserRequestForm = {
30496
30322
  */
30497
30323
  notifications_enabled?: boolean;
30498
30324
  preferred_language?: string;
30325
+ affiliations?: Array<string>;
30499
30326
  first_name?: string;
30500
30327
  last_name?: string;
30501
30328
  birth_date?: string | null;
@@ -30515,12 +30342,7 @@ export type UserRequestForm = {
30515
30342
  * Primary citizenship (ISO 3166-1 alpha-2 code)
30516
30343
  */
30517
30344
  nationality?: string;
30518
- /**
30519
- * List of all citizenships (ISO 3166-1 alpha-2 codes)
30520
- */
30521
- nationalities?: {
30522
- [key: string]: unknown;
30523
- };
30345
+ nationalities?: Array<string>;
30524
30346
  organization_country?: string;
30525
30347
  /**
30526
30348
  * SCHAC URN (e.g., urn:schac:homeOrganizationType:int:university)
@@ -30530,12 +30352,7 @@ export type UserRequestForm = {
30530
30352
  * Company registration code of the user's organization, if known
30531
30353
  */
30532
30354
  organization_registry_code?: string;
30533
- /**
30534
- * REFEDS assurance profile URIs from identity provider
30535
- */
30536
- eduperson_assurance?: {
30537
- [key: string]: unknown;
30538
- };
30355
+ eduperson_assurance?: Array<string>;
30539
30356
  /**
30540
30357
  * Designates whether the user is allowed to manage remote user identities.
30541
30358
  */
@@ -30544,12 +30361,8 @@ export type UserRequestForm = {
30544
30361
  * Designates whether the user is allowed to create and use personal access tokens.
30545
30362
  */
30546
30363
  can_use_personal_access_tokens?: boolean;
30547
- /**
30548
- * List of ISD source identifiers this user can manage via Identity Bridge. E.g., ['isd:puhuri', 'isd:fenix']. Non-empty list implies identity manager role.
30549
- */
30550
- managed_isds?: {
30551
- [key: string]: unknown;
30552
- };
30364
+ managed_isds?: Array<string>;
30365
+ active_isds?: Array<string>;
30553
30366
  /**
30554
30367
  * Reason why the user was deactivated. Visible to staff and support.
30555
30368
  */
@@ -30601,6 +30414,7 @@ export type UserRequestMultipart = {
30601
30414
  */
30602
30415
  notifications_enabled?: boolean;
30603
30416
  preferred_language?: string;
30417
+ affiliations?: Array<string>;
30604
30418
  first_name?: string;
30605
30419
  last_name?: string;
30606
30420
  birth_date?: string | null;
@@ -30620,12 +30434,7 @@ export type UserRequestMultipart = {
30620
30434
  * Primary citizenship (ISO 3166-1 alpha-2 code)
30621
30435
  */
30622
30436
  nationality?: string;
30623
- /**
30624
- * List of all citizenships (ISO 3166-1 alpha-2 codes)
30625
- */
30626
- nationalities?: {
30627
- [key: string]: unknown;
30628
- };
30437
+ nationalities?: Array<string>;
30629
30438
  organization_country?: string;
30630
30439
  /**
30631
30440
  * SCHAC URN (e.g., urn:schac:homeOrganizationType:int:university)
@@ -30635,12 +30444,7 @@ export type UserRequestMultipart = {
30635
30444
  * Company registration code of the user's organization, if known
30636
30445
  */
30637
30446
  organization_registry_code?: string;
30638
- /**
30639
- * REFEDS assurance profile URIs from identity provider
30640
- */
30641
- eduperson_assurance?: {
30642
- [key: string]: unknown;
30643
- };
30447
+ eduperson_assurance?: Array<string>;
30644
30448
  /**
30645
30449
  * Designates whether the user is allowed to manage remote user identities.
30646
30450
  */
@@ -30649,12 +30453,8 @@ export type UserRequestMultipart = {
30649
30453
  * Designates whether the user is allowed to create and use personal access tokens.
30650
30454
  */
30651
30455
  can_use_personal_access_tokens?: boolean;
30652
- /**
30653
- * List of ISD source identifiers this user can manage via Identity Bridge. E.g., ['isd:puhuri', 'isd:fenix']. Non-empty list implies identity manager role.
30654
- */
30655
- managed_isds?: {
30656
- [key: string]: unknown;
30657
- };
30456
+ managed_isds?: Array<string>;
30457
+ active_isds?: Array<string>;
30658
30458
  /**
30659
30459
  * Reason why the user was deactivated. Visible to staff and support.
30660
30460
  */
@@ -30705,6 +30505,7 @@ export type PatchedUserRequestForm = {
30705
30505
  */
30706
30506
  notifications_enabled?: boolean;
30707
30507
  preferred_language?: string;
30508
+ affiliations?: Array<string>;
30708
30509
  first_name?: string;
30709
30510
  last_name?: string;
30710
30511
  birth_date?: string | null;
@@ -30724,12 +30525,7 @@ export type PatchedUserRequestForm = {
30724
30525
  * Primary citizenship (ISO 3166-1 alpha-2 code)
30725
30526
  */
30726
30527
  nationality?: string;
30727
- /**
30728
- * List of all citizenships (ISO 3166-1 alpha-2 codes)
30729
- */
30730
- nationalities?: {
30731
- [key: string]: unknown;
30732
- };
30528
+ nationalities?: Array<string>;
30733
30529
  organization_country?: string;
30734
30530
  /**
30735
30531
  * SCHAC URN (e.g., urn:schac:homeOrganizationType:int:university)
@@ -30739,12 +30535,7 @@ export type PatchedUserRequestForm = {
30739
30535
  * Company registration code of the user's organization, if known
30740
30536
  */
30741
30537
  organization_registry_code?: string;
30742
- /**
30743
- * REFEDS assurance profile URIs from identity provider
30744
- */
30745
- eduperson_assurance?: {
30746
- [key: string]: unknown;
30747
- };
30538
+ eduperson_assurance?: Array<string>;
30748
30539
  /**
30749
30540
  * Designates whether the user is allowed to manage remote user identities.
30750
30541
  */
@@ -30753,12 +30544,8 @@ export type PatchedUserRequestForm = {
30753
30544
  * Designates whether the user is allowed to create and use personal access tokens.
30754
30545
  */
30755
30546
  can_use_personal_access_tokens?: boolean;
30756
- /**
30757
- * List of ISD source identifiers this user can manage via Identity Bridge. E.g., ['isd:puhuri', 'isd:fenix']. Non-empty list implies identity manager role.
30758
- */
30759
- managed_isds?: {
30760
- [key: string]: unknown;
30761
- };
30547
+ managed_isds?: Array<string>;
30548
+ active_isds?: Array<string>;
30762
30549
  /**
30763
30550
  * Reason why the user was deactivated. Visible to staff and support.
30764
30551
  */
@@ -30809,6 +30596,7 @@ export type PatchedUserRequestMultipart = {
30809
30596
  */
30810
30597
  notifications_enabled?: boolean;
30811
30598
  preferred_language?: string;
30599
+ affiliations?: Array<string>;
30812
30600
  first_name?: string;
30813
30601
  last_name?: string;
30814
30602
  birth_date?: string | null;
@@ -30828,12 +30616,7 @@ export type PatchedUserRequestMultipart = {
30828
30616
  * Primary citizenship (ISO 3166-1 alpha-2 code)
30829
30617
  */
30830
30618
  nationality?: string;
30831
- /**
30832
- * List of all citizenships (ISO 3166-1 alpha-2 codes)
30833
- */
30834
- nationalities?: {
30835
- [key: string]: unknown;
30836
- };
30619
+ nationalities?: Array<string>;
30837
30620
  organization_country?: string;
30838
30621
  /**
30839
30622
  * SCHAC URN (e.g., urn:schac:homeOrganizationType:int:university)
@@ -30843,12 +30626,7 @@ export type PatchedUserRequestMultipart = {
30843
30626
  * Company registration code of the user's organization, if known
30844
30627
  */
30845
30628
  organization_registry_code?: string;
30846
- /**
30847
- * REFEDS assurance profile URIs from identity provider
30848
- */
30849
- eduperson_assurance?: {
30850
- [key: string]: unknown;
30851
- };
30629
+ eduperson_assurance?: Array<string>;
30852
30630
  /**
30853
30631
  * Designates whether the user is allowed to manage remote user identities.
30854
30632
  */
@@ -30857,12 +30635,8 @@ export type PatchedUserRequestMultipart = {
30857
30635
  * Designates whether the user is allowed to create and use personal access tokens.
30858
30636
  */
30859
30637
  can_use_personal_access_tokens?: boolean;
30860
- /**
30861
- * List of ISD source identifiers this user can manage via Identity Bridge. E.g., ['isd:puhuri', 'isd:fenix']. Non-empty list implies identity manager role.
30862
- */
30863
- managed_isds?: {
30864
- [key: string]: unknown;
30865
- };
30638
+ managed_isds?: Array<string>;
30639
+ active_isds?: Array<string>;
30866
30640
  /**
30867
30641
  * Reason why the user was deactivated. Visible to staff and support.
30868
30642
  */
@@ -36937,7 +36711,7 @@ export type BroadcastMessagesCountResponses = {
36937
36711
  200: unknown;
36938
36712
  };
36939
36713
  export type BroadcastMessagesCreateData = {
36940
- body: BroadcastMessageRequest;
36714
+ body: BroadcastMessageCreateRequest;
36941
36715
  path?: never;
36942
36716
  query?: never;
36943
36717
  url: '/api/broadcast-messages/';
@@ -36988,7 +36762,7 @@ export type BroadcastMessagesPartialUpdateResponses = {
36988
36762
  };
36989
36763
  export type BroadcastMessagesPartialUpdateResponse = BroadcastMessagesPartialUpdateResponses[keyof BroadcastMessagesPartialUpdateResponses];
36990
36764
  export type BroadcastMessagesUpdateData = {
36991
- body: BroadcastMessageRequest;
36765
+ body: BroadcastMessageCreateRequest;
36992
36766
  path: {
36993
36767
  uuid: string;
36994
36768
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.9-dev.55",
3
+ "version": "8.0.9-dev.56",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",