waldur-js-client 7.9.3-dev.8 → 7.9.3-dev.9

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 +274 -0
  2. package/package.json +1 -1
@@ -1571,10 +1571,19 @@ export type CategorySerializerForForNestedFieldsRequest = {
1571
1571
  title: string;
1572
1572
  };
1573
1573
  export type CheckUniqueBackendIdRequest = {
1574
+ /**
1575
+ * Backend identifier to check
1576
+ */
1574
1577
  backend_id: string;
1578
+ /**
1579
+ * Check across all offerings
1580
+ */
1575
1581
  check_all_offerings?: boolean;
1576
1582
  };
1577
1583
  export type CheckUniqueBackendIdResponse = {
1584
+ /**
1585
+ * Whether the backend ID is unique
1586
+ */
1578
1587
  is_unique: boolean;
1579
1588
  };
1580
1589
  export type Checklist = {
@@ -1786,8 +1795,17 @@ export type ComponentUsage = {
1786
1795
  modified_by?: number | null;
1787
1796
  };
1788
1797
  export type ComponentUsageCreateRequest = {
1798
+ /**
1799
+ * List of component usage items to report
1800
+ */
1789
1801
  usages: Array<ComponentUsageItemRequest>;
1802
+ /**
1803
+ * UUID of the specific resource plan period for usage reporting
1804
+ */
1790
1805
  plan_period?: string;
1806
+ /**
1807
+ * UUID of the resource for usage reporting (required if plan_period not provided)
1808
+ */
1791
1809
  resource?: string;
1792
1810
  /**
1793
1811
  * Date for usage reporting (staff and service providers for limit-based components). If not provided, current date is used.
@@ -2373,8 +2391,17 @@ export type CountProjectsOfServiceProvidersGroupedByOecd = {
2373
2391
  readonly oecd_fos_2007_name: string;
2374
2392
  };
2375
2393
  export type CountStats = {
2394
+ /**
2395
+ * Name from the record
2396
+ */
2376
2397
  readonly name: string;
2398
+ /**
2399
+ * UUID from the record
2400
+ */
2377
2401
  readonly uuid: string;
2402
+ /**
2403
+ * Count value from the record
2404
+ */
2378
2405
  readonly count: number;
2379
2406
  };
2380
2407
  export type CountUniqueUsersConnectedWithActiveResourcesOfServiceProvider = {
@@ -2730,10 +2757,25 @@ export type CustomerEstimatedCostPolicyRequest = {
2730
2757
  period?: PeriodEnum;
2731
2758
  };
2732
2759
  export type CustomerIndustryFlagStats = {
2760
+ /**
2761
+ * Name from the record
2762
+ */
2733
2763
  readonly name: string;
2764
+ /**
2765
+ * UUID from the record
2766
+ */
2734
2767
  readonly uuid: string;
2768
+ /**
2769
+ * Count value from the record
2770
+ */
2735
2771
  readonly count: number;
2772
+ /**
2773
+ * Customer abbreviation from the record
2774
+ */
2736
2775
  readonly abbreviation: string;
2776
+ /**
2777
+ * Industry classification flag
2778
+ */
2737
2779
  is_industry: string;
2738
2780
  };
2739
2781
  export type CustomerMemberCount = {
@@ -2759,9 +2801,21 @@ export type CustomerMemberCount = {
2759
2801
  readonly has_resources: boolean;
2760
2802
  };
2761
2803
  export type CustomerOecdCodeStats = {
2804
+ /**
2805
+ * Name from the record
2806
+ */
2762
2807
  readonly name: string;
2808
+ /**
2809
+ * UUID from the record
2810
+ */
2763
2811
  readonly uuid: string;
2812
+ /**
2813
+ * Count value from the record
2814
+ */
2764
2815
  readonly count: number;
2816
+ /**
2817
+ * Customer abbreviation from the record
2818
+ */
2765
2819
  readonly abbreviation: string;
2766
2820
  oecd: string;
2767
2821
  };
@@ -3831,7 +3885,13 @@ export type ImageUploadResponse = {
3831
3885
  export type ImpactLevelDisplayEnum = 'No impact' | 'Degraded performance' | 'Partial outage' | 'Full outage';
3832
3886
  export type ImpactLevelEnum = 1 | 2 | 3 | 4;
3833
3887
  export type ImportResourceRequest = {
3888
+ /**
3889
+ * Backend identifier of the resource
3890
+ */
3834
3891
  backend_id: string;
3892
+ /**
3893
+ * Target project for the resource
3894
+ */
3835
3895
  project: string;
3836
3896
  plan?: string;
3837
3897
  additional_details?: unknown;
@@ -4808,9 +4868,21 @@ export type MarketplaceCategoryRequest = {
4808
4868
  group?: string | null;
4809
4869
  };
4810
4870
  export type MarketplaceCustomerStats = {
4871
+ /**
4872
+ * Name from the record
4873
+ */
4811
4874
  readonly name: string;
4875
+ /**
4876
+ * UUID from the record
4877
+ */
4812
4878
  readonly uuid: string;
4879
+ /**
4880
+ * Count value from the record
4881
+ */
4813
4882
  readonly count: number;
4883
+ /**
4884
+ * Customer abbreviation from the record
4885
+ */
4814
4886
  readonly abbreviation: string;
4815
4887
  };
4816
4888
  export type MarketplaceProviderCustomer = {
@@ -5029,17 +5101,53 @@ export type MergedPluginOptions = {
5029
5101
  * List of UUID of OpenStack offerings where tenant can be created
5030
5102
  */
5031
5103
  openstack_offering_uuid_list?: Array<string>;
5104
+ /**
5105
+ * Flavor name for managed Rancher server instances
5106
+ */
5032
5107
  managed_rancher_server_flavor_name?: string;
5108
+ /**
5109
+ * System volume size in GB for managed Rancher server
5110
+ */
5033
5111
  managed_rancher_server_system_volume_size_gb?: number;
5112
+ /**
5113
+ * System volume type name for managed Rancher server
5114
+ */
5034
5115
  managed_rancher_server_system_volume_type_name?: string;
5116
+ /**
5117
+ * Data volume size in GB for managed Rancher server
5118
+ */
5035
5119
  managed_rancher_server_data_volume_size_gb?: number;
5120
+ /**
5121
+ * Data volume type name for managed Rancher server
5122
+ */
5036
5123
  managed_rancher_server_data_volume_type_name?: string;
5124
+ /**
5125
+ * System volume size in GB for managed Rancher worker nodes
5126
+ */
5037
5127
  managed_rancher_worker_system_volume_size_gb?: number;
5128
+ /**
5129
+ * System volume type name for managed Rancher worker nodes
5130
+ */
5038
5131
  managed_rancher_worker_system_volume_type_name?: string;
5132
+ /**
5133
+ * Flavor name for managed Rancher load balancer
5134
+ */
5039
5135
  managed_rancher_load_balancer_flavor_name?: string;
5136
+ /**
5137
+ * System volume size in GB for managed Rancher load balancer
5138
+ */
5040
5139
  managed_rancher_load_balancer_system_volume_size_gb?: number;
5140
+ /**
5141
+ * System volume type name for managed Rancher load balancer
5142
+ */
5041
5143
  managed_rancher_load_balancer_system_volume_type_name?: string;
5144
+ /**
5145
+ * Data volume size in GB for managed Rancher load balancer
5146
+ */
5042
5147
  managed_rancher_load_balancer_data_volume_size_gb?: number;
5148
+ /**
5149
+ * Data volume type name for managed Rancher load balancer
5150
+ */
5043
5151
  managed_rancher_load_balancer_data_volume_type_name?: string;
5044
5152
  /**
5045
5153
  * Max number of vCPUs for tenants
@@ -5227,17 +5335,53 @@ export type MergedPluginOptionsRequest = {
5227
5335
  * List of UUID of OpenStack offerings where tenant can be created
5228
5336
  */
5229
5337
  openstack_offering_uuid_list?: Array<string>;
5338
+ /**
5339
+ * Flavor name for managed Rancher server instances
5340
+ */
5230
5341
  managed_rancher_server_flavor_name?: string;
5342
+ /**
5343
+ * System volume size in GB for managed Rancher server
5344
+ */
5231
5345
  managed_rancher_server_system_volume_size_gb?: number;
5346
+ /**
5347
+ * System volume type name for managed Rancher server
5348
+ */
5232
5349
  managed_rancher_server_system_volume_type_name?: string;
5350
+ /**
5351
+ * Data volume size in GB for managed Rancher server
5352
+ */
5233
5353
  managed_rancher_server_data_volume_size_gb?: number;
5354
+ /**
5355
+ * Data volume type name for managed Rancher server
5356
+ */
5234
5357
  managed_rancher_server_data_volume_type_name?: string;
5358
+ /**
5359
+ * System volume size in GB for managed Rancher worker nodes
5360
+ */
5235
5361
  managed_rancher_worker_system_volume_size_gb?: number;
5362
+ /**
5363
+ * System volume type name for managed Rancher worker nodes
5364
+ */
5236
5365
  managed_rancher_worker_system_volume_type_name?: string;
5366
+ /**
5367
+ * Flavor name for managed Rancher load balancer
5368
+ */
5237
5369
  managed_rancher_load_balancer_flavor_name?: string;
5370
+ /**
5371
+ * System volume size in GB for managed Rancher load balancer
5372
+ */
5238
5373
  managed_rancher_load_balancer_system_volume_size_gb?: number;
5374
+ /**
5375
+ * System volume type name for managed Rancher load balancer
5376
+ */
5239
5377
  managed_rancher_load_balancer_system_volume_type_name?: string;
5378
+ /**
5379
+ * Data volume size in GB for managed Rancher load balancer
5380
+ */
5240
5381
  managed_rancher_load_balancer_data_volume_size_gb?: number;
5382
+ /**
5383
+ * Data volume type name for managed Rancher load balancer
5384
+ */
5241
5385
  managed_rancher_load_balancer_data_volume_type_name?: string;
5242
5386
  /**
5243
5387
  * Max number of vCPUs for tenants
@@ -5281,6 +5425,9 @@ export type MergedSecretOptions = {
5281
5425
  * OpenStack IPv4 external IP mapping
5282
5426
  */
5283
5427
  ipv4_external_ip_mapping?: Array<IpMapping>;
5428
+ /**
5429
+ * TLS certificate for OpenStack API connection verification
5430
+ */
5284
5431
  openstack_api_tls_certificate?: string;
5285
5432
  /**
5286
5433
  * Default value for new subnets DNS name servers. Should be defined as list.
@@ -5342,7 +5489,13 @@ export type MergedSecretOptions = {
5342
5489
  * Rancher secret key
5343
5490
  */
5344
5491
  password?: string;
5492
+ /**
5493
+ * Cloud-init template for Rancher cluster node initialization
5494
+ */
5345
5495
  cloud_init_template?: string;
5496
+ /**
5497
+ * Cloud-init template for managed Rancher load balancer initialization
5498
+ */
5346
5499
  managed_rancher_load_balancer_cloud_init_template?: string;
5347
5500
  /**
5348
5501
  * Host of the Vault server
@@ -5434,6 +5587,9 @@ export type MergedSecretOptionsRequest = {
5434
5587
  * OpenStack IPv4 external IP mapping
5435
5588
  */
5436
5589
  ipv4_external_ip_mapping?: Array<IpMappingRequest>;
5590
+ /**
5591
+ * TLS certificate for OpenStack API connection verification
5592
+ */
5437
5593
  openstack_api_tls_certificate?: string;
5438
5594
  /**
5439
5595
  * Default value for new subnets DNS name servers. Should be defined as list.
@@ -5495,7 +5651,13 @@ export type MergedSecretOptionsRequest = {
5495
5651
  * Rancher secret key
5496
5652
  */
5497
5653
  password?: string;
5654
+ /**
5655
+ * Cloud-init template for Rancher cluster node initialization
5656
+ */
5498
5657
  cloud_init_template?: string;
5658
+ /**
5659
+ * Cloud-init template for managed Rancher load balancer initialization
5660
+ */
5499
5661
  managed_rancher_load_balancer_cloud_init_template?: string;
5500
5662
  /**
5501
5663
  * Host of the Vault server
@@ -5625,7 +5787,13 @@ export type MigrationDetailsRequest = {
5625
5787
  };
5626
5788
  export type MinimalConsumptionLogicEnum = 'fixed' | 'linear';
5627
5789
  export type MoveOfferingRequest = {
5790
+ /**
5791
+ * Target customer URL with service provider profile where the offering should be moved
5792
+ */
5628
5793
  customer: string;
5794
+ /**
5795
+ * Whether to preserve existing permissions when moving the offering
5796
+ */
5629
5797
  preserve_permissions: boolean;
5630
5798
  };
5631
5799
  export type MoveProjectRequest = {
@@ -5633,6 +5801,9 @@ export type MoveProjectRequest = {
5633
5801
  preserve_permissions: boolean;
5634
5802
  };
5635
5803
  export type MoveResourceRequest = {
5804
+ /**
5805
+ * Target project URL where the resource should be moved
5806
+ */
5636
5807
  project: ProjectHyperlinkRequest;
5637
5808
  };
5638
5809
  export type NameUuid = {
@@ -7458,10 +7629,19 @@ export type OfferingUserServiceProviderComment = {
7458
7629
  };
7459
7630
  export type OfferingUserState = 'Requested' | 'Creating' | 'Pending account linking' | 'Pending additional validation' | 'OK' | 'Requested deletion' | 'Deleting' | 'Deleted' | 'Error creating' | 'Error deleting';
7460
7631
  export type OfferingUserStateTransitionRequest = {
7632
+ /**
7633
+ * Comment explaining the state transition
7634
+ */
7461
7635
  comment?: string;
7636
+ /**
7637
+ * URL reference related to the state transition comment
7638
+ */
7462
7639
  comment_url?: string;
7463
7640
  };
7464
7641
  export type OfferingUserUpdateRestrictionRequest = {
7642
+ /**
7643
+ * Whether the offering user should be restricted from accessing resources
7644
+ */
7465
7645
  is_restricted: boolean;
7466
7646
  };
7467
7647
  export type OnboardingCompanyValidationRequestRequest = {
@@ -11174,10 +11354,25 @@ export type PlanComponent = {
11174
11354
  discount_rate?: number | null;
11175
11355
  };
11176
11356
  export type PlanUsageResponse = {
11357
+ /**
11358
+ * UUID of the plan
11359
+ */
11177
11360
  readonly plan_uuid: string;
11361
+ /**
11362
+ * Name of the plan
11363
+ */
11178
11364
  readonly plan_name: string;
11365
+ /**
11366
+ * Usage limit
11367
+ */
11179
11368
  readonly limit: number;
11369
+ /**
11370
+ * Current usage count
11371
+ */
11180
11372
  readonly usage: number;
11373
+ /**
11374
+ * Remaining usage
11375
+ */
11181
11376
  readonly remaining: number;
11182
11377
  readonly offering_uuid: string;
11183
11378
  readonly offering_name: string;
@@ -11677,6 +11872,9 @@ export type ProjectUser = {
11677
11872
  offering_user_state: OfferingUserState | NullEnum | null;
11678
11873
  };
11679
11874
  export type ProjectsLimitsGroupedByIndustryFlag = {
11875
+ /**
11876
+ * Nested dictionary of resource limits by category and component type
11877
+ */
11680
11878
  limits: {
11681
11879
  [key: string]: {
11682
11880
  [key: string]: string;
@@ -11684,6 +11882,9 @@ export type ProjectsLimitsGroupedByIndustryFlag = {
11684
11882
  };
11685
11883
  };
11686
11884
  export type ProjectsLimitsGroupedByOecd = {
11885
+ /**
11886
+ * Nested dictionary of resource limits by category and component type
11887
+ */
11687
11888
  limits: {
11688
11889
  [key: string]: {
11689
11890
  [key: string]: string;
@@ -11691,6 +11892,9 @@ export type ProjectsLimitsGroupedByOecd = {
11691
11892
  };
11692
11893
  };
11693
11894
  export type ProjectsUsagesGroupedByIndustryFlag = {
11895
+ /**
11896
+ * Nested dictionary of usage values by category and component type
11897
+ */
11694
11898
  usages: {
11695
11899
  [key: string]: {
11696
11900
  [key: string]: string;
@@ -11698,6 +11902,9 @@ export type ProjectsUsagesGroupedByIndustryFlag = {
11698
11902
  };
11699
11903
  };
11700
11904
  export type ProjectsUsagesGroupedByOecd = {
11905
+ /**
11906
+ * Nested dictionary of usage values by category and component type
11907
+ */
11701
11908
  usages: {
11702
11909
  [key: string]: {
11703
11910
  [key: string]: string;
@@ -12822,6 +13029,9 @@ export type QuotaRequest = {
12822
13029
  limit: number;
12823
13030
  };
12824
13031
  export type QuotasUpdateRequest = {
13032
+ /**
13033
+ * Dictionary of quotas to update
13034
+ */
12825
13035
  quotas: {
12826
13036
  [key: string]: number;
12827
13037
  };
@@ -14143,12 +14353,18 @@ export type ResourceRequest = {
14143
14353
  paused?: boolean;
14144
14354
  };
14145
14355
  export type ResourceResponseStatus = {
14356
+ /**
14357
+ * Status of the resource response
14358
+ */
14146
14359
  readonly status: string;
14147
14360
  };
14148
14361
  export type ResourceRestrictMemberAccessRequest = {
14149
14362
  restrict_member_access?: boolean;
14150
14363
  };
14151
14364
  export type ResourceSetLimitsRequest = {
14365
+ /**
14366
+ * Dictionary mapping component types to their new limit values
14367
+ */
14152
14368
  limits: unknown;
14153
14369
  };
14154
14370
  export type ResourceSetStateErredRequest = {
@@ -14169,6 +14385,7 @@ export type ResourceSwitchPlanRequest = {
14169
14385
  export type ResourceTerminateRequest = {
14170
14386
  /**
14171
14387
  * Termination attributes
14388
+ * Optional attributes/parameters to pass to the termination operation
14172
14389
  */
14173
14390
  attributes?: unknown;
14174
14391
  };
@@ -14216,11 +14433,29 @@ export type ResourceUserRequest = {
14216
14433
  user: string;
14217
14434
  };
14218
14435
  export type ResourcesLimits = {
14436
+ /**
14437
+ * UUID of the offering
14438
+ */
14219
14439
  readonly offering_uuid: string;
14440
+ /**
14441
+ * Name of the limit
14442
+ */
14220
14443
  readonly name: string;
14444
+ /**
14445
+ * Limit value
14446
+ */
14221
14447
  readonly value: number;
14448
+ /**
14449
+ * Country of the offering
14450
+ */
14222
14451
  readonly offering_country: string;
14452
+ /**
14453
+ * Name of the organization group
14454
+ */
14223
14455
  readonly organization_group_name: string;
14456
+ /**
14457
+ * UUID of the organization group
14458
+ */
14224
14459
  readonly organization_group_uuid: string;
14225
14460
  };
14226
14461
  export type ReviewCommentRequest = {
@@ -14802,8 +15037,17 @@ export type ServiceProviderRevenues = {
14802
15037
  readonly month: number;
14803
15038
  };
14804
15039
  export type ServiceProviderSignatureRequest = {
15040
+ /**
15041
+ * Service provider customer UUID
15042
+ */
14805
15043
  customer: string;
15044
+ /**
15045
+ * JWT-encoded data signed with the service provider's API secret code
15046
+ */
14806
15047
  data: string;
15048
+ /**
15049
+ * If true, validates the signature without executing the operation
15050
+ */
14807
15051
  dry_run?: boolean;
14808
15052
  };
14809
15053
  export type ServiceProviderStatistics = {
@@ -15318,7 +15562,13 @@ export type SubmitRequestResponse = {
15318
15562
  scope_uuid: string;
15319
15563
  };
15320
15564
  export type SubresourceOffering = {
15565
+ /**
15566
+ * UUID of the offering
15567
+ */
15321
15568
  readonly uuid: string;
15569
+ /**
15570
+ * Type of the offering
15571
+ */
15322
15572
  readonly type: string;
15323
15573
  };
15324
15574
  export type SupportStats = {
@@ -15408,11 +15658,29 @@ export type TimeSeriesToSData = {
15408
15658
  readonly count: number;
15409
15659
  };
15410
15660
  export type ToSConsentDashboard = {
15661
+ /**
15662
+ * Number of active users
15663
+ */
15411
15664
  readonly active_users_count: number;
15665
+ /**
15666
+ * Total number of users
15667
+ */
15412
15668
  readonly total_users_count: number;
15669
+ /**
15670
+ * Percentage of active users
15671
+ */
15413
15672
  readonly active_users_percentage: number;
15673
+ /**
15674
+ * Number of accepted consents
15675
+ */
15414
15676
  readonly accepted_consents_count: number;
15677
+ /**
15678
+ * Number of revoked consents
15679
+ */
15415
15680
  readonly revoked_consents_count: number;
15681
+ /**
15682
+ * Total number of consents
15683
+ */
15416
15684
  readonly total_consents_count: number;
15417
15685
  readonly revoked_consents_over_time: Array<TimeSeriesToSData>;
15418
15686
  readonly tos_version_adoption: Array<VersionAdoption>;
@@ -15823,7 +16091,13 @@ export type Version = {
15823
16091
  latest_version?: string;
15824
16092
  };
15825
16093
  export type VersionAdoption = {
16094
+ /**
16095
+ * Version identifier
16096
+ */
15826
16097
  readonly version: string;
16098
+ /**
16099
+ * Number of users on this version
16100
+ */
15827
16101
  readonly users_count: number;
15828
16102
  };
15829
16103
  export type VisibilityEnum = 'private' | 'public';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "7.9.3-dev.8",
3
+ "version": "7.9.3-dev.9",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",