waldur-js-client 8.0.6-dev.7 → 8.0.6-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 +194 -11
  2. package/package.json +1 -1
@@ -1487,6 +1487,7 @@ export type AuthToken = {
1487
1487
  */
1488
1488
  readonly user_token_lifetime: number | null;
1489
1489
  };
1490
+ export type AuthTypeEnum = 'password' | 'v3applicationcredential';
1490
1491
  export type AvailabilityZoneResponse = {
1491
1492
  name: string;
1492
1493
  state: string;
@@ -5761,6 +5762,10 @@ export type DiscoverExternalNetworksRequestRequest = {
5761
5762
  * Keystone project (tenant) name
5762
5763
  */
5763
5764
  project_name?: string;
5765
+ /**
5766
+ * Authentication method: password or v3applicationcredential
5767
+ */
5768
+ auth_type?: AuthTypeEnum;
5764
5769
  verify_ssl?: boolean;
5765
5770
  /**
5766
5771
  * PEM-encoded CA certificate for SSL verification
@@ -5786,6 +5791,10 @@ export type DiscoverFlavorsRequestRequest = {
5786
5791
  * Keystone project (tenant) name
5787
5792
  */
5788
5793
  project_name?: string;
5794
+ /**
5795
+ * Authentication method: password or v3applicationcredential
5796
+ */
5797
+ auth_type?: AuthTypeEnum;
5789
5798
  verify_ssl?: boolean;
5790
5799
  /**
5791
5800
  * PEM-encoded CA certificate for SSL verification
@@ -5811,6 +5820,10 @@ export type DiscoverInstanceAvailabilityZonesRequestRequest = {
5811
5820
  * Keystone project (tenant) name
5812
5821
  */
5813
5822
  project_name?: string;
5823
+ /**
5824
+ * Authentication method: password or v3applicationcredential
5825
+ */
5826
+ auth_type?: AuthTypeEnum;
5814
5827
  verify_ssl?: boolean;
5815
5828
  /**
5816
5829
  * PEM-encoded CA certificate for SSL verification
@@ -5940,6 +5953,10 @@ export type DiscoverVolumeAvailabilityZonesRequestRequest = {
5940
5953
  * Keystone project (tenant) name
5941
5954
  */
5942
5955
  project_name?: string;
5956
+ /**
5957
+ * Authentication method: password or v3applicationcredential
5958
+ */
5959
+ auth_type?: AuthTypeEnum;
5943
5960
  verify_ssl?: boolean;
5944
5961
  /**
5945
5962
  * PEM-encoded CA certificate for SSL verification
@@ -5965,6 +5982,10 @@ export type DiscoverVolumeTypesRequestRequest = {
5965
5982
  * Keystone project (tenant) name
5966
5983
  */
5967
5984
  project_name?: string;
5985
+ /**
5986
+ * Authentication method: password or v3applicationcredential
5987
+ */
5988
+ auth_type?: AuthTypeEnum;
5968
5989
  verify_ssl?: boolean;
5969
5990
  /**
5970
5991
  * PEM-encoded CA certificate for SSL verification
@@ -7309,6 +7330,7 @@ export type IntegrationStatus = {
7309
7330
  service_name?: string;
7310
7331
  };
7311
7332
  export type IntegrationStatusDetails = {
7333
+ agent_type: AgentTypeEnum;
7312
7334
  readonly status: string;
7313
7335
  /**
7314
7336
  * Time of latest backend request
@@ -11066,7 +11088,7 @@ export type OfferingKeycloakGroup = {
11066
11088
  * Level this role applies at, e.g. 'cluster', 'project'. Empty means offering-wide.
11067
11089
  */
11068
11090
  readonly role_scope_type: string;
11069
- resource: string | null;
11091
+ resource?: string | null;
11070
11092
  readonly resource_uuid: string;
11071
11093
  readonly resource_name: string | null;
11072
11094
  /**
@@ -12239,6 +12261,10 @@ export type OpenStackCredentialsRequest = {
12239
12261
  * Keystone project (tenant) name
12240
12262
  */
12241
12263
  project_name?: string;
12264
+ /**
12265
+ * Authentication method: password or v3applicationcredential
12266
+ */
12267
+ auth_type?: AuthTypeEnum;
12242
12268
  verify_ssl?: boolean;
12243
12269
  /**
12244
12270
  * PEM-encoded CA certificate for SSL verification
@@ -13767,7 +13793,7 @@ export type OrderCreateRequest = {
13767
13793
  /**
13768
13794
  * Attributes structure depends on the offering type specified in the parent object. Can also be a generic object for offerings without a specific attributes schema.
13769
13795
  */
13770
- attributes?: GenericOrderAttributes;
13796
+ attributes?: AzureVirtualMachineCreateOrderAttributes | AzureSqlServerCreateOrderAttributes | MarketplaceOpenPortalCreateOrderAttributes | MarketplaceOpenPortalRemoteCreateOrderAttributes | OpenStackTenantCreateOrderAttributes | OpenStackInstanceCreateOrderAttributes | OpenStackVolumeCreateOrderAttributes | SlurmInvoicesSlurmPackageCreateOrderAttributes | VMwareVirtualMachineCreateOrderAttributes | GenericOrderAttributes;
13771
13797
  limits?: {
13772
13798
  [key: string]: number;
13773
13799
  };
@@ -16273,6 +16299,10 @@ export type PreviewServiceAttributesRequestRequest = {
16273
16299
  * Keystone project (tenant) name
16274
16300
  */
16275
16301
  project_name?: string;
16302
+ /**
16303
+ * Authentication method: password or v3applicationcredential
16304
+ */
16305
+ auth_type?: AuthTypeEnum;
16276
16306
  verify_ssl?: boolean;
16277
16307
  /**
16278
16308
  * PEM-encoded CA certificate for SSL verification
@@ -16768,7 +16798,7 @@ export type ProjectTemplate = {
16768
16798
  /**
16769
16799
  * The offering for which this template applies.
16770
16800
  */
16771
- offering: string | null;
16801
+ offering?: string | null;
16772
16802
  provider: string;
16773
16803
  provider_data: Customer;
16774
16804
  portal: string;
@@ -16812,7 +16842,7 @@ export type ProjectTemplateRequest = {
16812
16842
  /**
16813
16843
  * The offering for which this template applies.
16814
16844
  */
16815
- offering: string | null;
16845
+ offering?: string | null;
16816
16846
  provider: string;
16817
16847
  portal: string;
16818
16848
  /**
@@ -20487,7 +20517,7 @@ export type RmqClientProperties = {
20487
20517
  */
20488
20518
  readonly version: string | null;
20489
20519
  /**
20490
- * Client platform (e.g., 'Python 3.11')
20520
+ * Client platform (e.g., 'Python 3.12')
20491
20521
  */
20492
20522
  readonly platform: string | null;
20493
20523
  };
@@ -22368,8 +22398,8 @@ export type SupportUser = {
22368
22398
  readonly url: string;
22369
22399
  readonly uuid: string;
22370
22400
  name: string;
22371
- backend_id: string | null;
22372
- user: string | null;
22401
+ backend_id?: string | null;
22402
+ user?: string | null;
22373
22403
  backend_name?: string | null;
22374
22404
  };
22375
22405
  export type SupportedCountriesResponse = {
@@ -23983,6 +24013,151 @@ export type WebHookRequest = {
23983
24013
  };
23984
24014
  export type WidgetEnum = 'csv' | 'filesize' | 'attached_instance';
23985
24015
  export type ZammadarticletypeEnum = 'email' | 'phone' | 'web' | 'note' | 'sms' | 'chat' | 'fax' | 'twitter status' | 'twitter direct-message' | 'facebook feed post' | 'facebook feed comment' | 'telegram personal-message';
24016
+ export type AzureVirtualMachineCreateOrderAttributes = {
24017
+ name: string;
24018
+ description?: string;
24019
+ size: string;
24020
+ image: string;
24021
+ location: string;
24022
+ };
24023
+ export type AzureSqlServerCreateOrderAttributes = {
24024
+ name: string;
24025
+ description?: string;
24026
+ location: string;
24027
+ };
24028
+ export type MarketplaceOpenPortalCreateOrderAttributes = {
24029
+ name: string;
24030
+ description?: string;
24031
+ };
24032
+ export type MarketplaceOpenPortalRemoteCreateOrderAttributes = {
24033
+ name: string;
24034
+ description?: string;
24035
+ };
24036
+ export type OpenStackTenantCreateOrderAttributes = {
24037
+ name: string;
24038
+ description?: string;
24039
+ subnet_cidr?: string;
24040
+ skip_connection_extnet?: boolean;
24041
+ skip_creation_of_default_router?: boolean;
24042
+ skip_creation_of_default_subnet?: boolean;
24043
+ /**
24044
+ * Optional availability group. Will be used for all instances provisioned in this tenant
24045
+ */
24046
+ availability_zone?: string;
24047
+ security_groups?: Array<OpenStackTenantSecurityGroupRequest>;
24048
+ };
24049
+ export type OpenStackCreateInstancePortRequest = {
24050
+ fixed_ips?: Array<OpenStackFixedIpRequest>;
24051
+ /**
24052
+ * Subnet to which this port belongs
24053
+ */
24054
+ subnet?: string | null;
24055
+ port?: string;
24056
+ };
24057
+ export type OpenStackDataVolumeRequest = {
24058
+ size: number;
24059
+ volume_type?: string | null;
24060
+ };
24061
+ export type OpenStackServerGroupHyperlinkRequest = {
24062
+ url: string;
24063
+ };
24064
+ export type OpenStackInstanceCreateOrderAttributes = {
24065
+ name: string;
24066
+ description?: string;
24067
+ /**
24068
+ * The flavor to use for the instance
24069
+ */
24070
+ flavor: string;
24071
+ /**
24072
+ * The OS image to use for the instance
24073
+ */
24074
+ image: string;
24075
+ /**
24076
+ * List of security groups to apply to the instance
24077
+ */
24078
+ security_groups?: Array<OpenStackSecurityGroupHyperlinkRequest>;
24079
+ /**
24080
+ * Server group for instance scheduling policy
24081
+ */
24082
+ server_group?: OpenStackServerGroupHyperlinkRequest;
24083
+ /**
24084
+ * Network ports to attach to the instance
24085
+ */
24086
+ ports: Array<OpenStackCreateInstancePortRequest>;
24087
+ /**
24088
+ * Floating IPs to assign to the instance
24089
+ */
24090
+ floating_ips?: Array<OpenStackCreateFloatingIpRequest>;
24091
+ /**
24092
+ * Size of the system volume in MiB. Minimum size is 1024 MiB (1 GiB)
24093
+ */
24094
+ system_volume_size: number;
24095
+ /**
24096
+ * Volume type for the system volume
24097
+ */
24098
+ system_volume_type?: string | null;
24099
+ /**
24100
+ * Size of the data volume in MiB. Minimum size is 1024 MiB (1 GiB)
24101
+ */
24102
+ data_volume_size?: number;
24103
+ /**
24104
+ * Volume type for the data volume
24105
+ */
24106
+ data_volume_type?: string | null;
24107
+ ssh_public_key?: string;
24108
+ /**
24109
+ * Additional data that will be added to instance on provisioning
24110
+ */
24111
+ user_data?: string;
24112
+ /**
24113
+ * Availability zone where this instance is located
24114
+ */
24115
+ availability_zone?: string | null;
24116
+ /**
24117
+ * If True, instance will be connected directly to external network
24118
+ */
24119
+ connect_directly_to_external_network?: boolean;
24120
+ /**
24121
+ * Additional data volumes to attach to the instance
24122
+ */
24123
+ data_volumes?: Array<OpenStackDataVolumeRequest>;
24124
+ };
24125
+ export type OpenStackVolumeCreateOrderAttributes = {
24126
+ name: string;
24127
+ description?: string;
24128
+ /**
24129
+ * Image that this volume was created from, if any
24130
+ */
24131
+ image?: string | null;
24132
+ /**
24133
+ * Size in MiB
24134
+ */
24135
+ size?: number | null;
24136
+ /**
24137
+ * Availability zone where this volume is located
24138
+ */
24139
+ availability_zone?: string | null;
24140
+ /**
24141
+ * Type of the volume (e.g. SSD, HDD)
24142
+ */
24143
+ type?: string | null;
24144
+ };
24145
+ export type SlurmInvoicesSlurmPackageCreateOrderAttributes = {
24146
+ name: string;
24147
+ description?: string;
24148
+ };
24149
+ export type VMwareVirtualMachineCreateOrderAttributes = {
24150
+ name: string;
24151
+ description?: string;
24152
+ guest_os?: 'DOS' | 'WIN_31' | 'WIN_95' | 'WIN_98' | 'WIN_ME' | 'WIN_NT' | 'WIN_2000_PRO' | 'WIN_2000_SERV' | 'WIN_2000_ADV_SERV' | 'WIN_XP_HOME' | 'WIN_XP_PRO' | 'WIN_XP_PRO_64' | 'WIN_NET_WEB' | 'WIN_NET_STANDARD' | 'WIN_NET_ENTERPRISE' | 'WIN_NET_DATACENTER' | 'WIN_NET_BUSINESS' | 'WIN_NET_STANDARD_64' | 'WIN_NET_ENTERPRISE_64' | 'WIN_LONGHORN' | 'WIN_LONGHORN_64' | 'WIN_NET_DATACENTER_64' | 'WIN_VISTA' | 'WIN_VISTA_64' | 'WINDOWS_7' | 'WINDOWS_7_64' | 'WINDOWS_7_SERVER_64' | 'WINDOWS_8' | 'WINDOWS_8_64' | 'WINDOWS_8_SERVER_64' | 'WINDOWS_9' | 'WINDOWS_9_64' | 'WINDOWS_9_SERVER_64' | 'WINDOWS_HYPERV' | 'FREEBSD' | 'FREEBSD_64' | 'REDHAT' | 'RHEL_2' | 'RHEL_3' | 'RHEL_3_64' | 'RHEL_4' | 'RHEL_4_64' | 'RHEL_5' | 'RHEL_5_64' | 'RHEL_6' | 'RHEL_6_64' | 'RHEL_7' | 'RHEL_7_64' | 'CENTOS' | 'CENTOS_64' | 'CENTOS_6' | 'CENTOS_6_64' | 'CENTOS_7' | 'CENTOS_7_64' | 'ORACLE_LINUX' | 'ORACLE_LINUX_64' | 'ORACLE_LINUX_6' | 'ORACLE_LINUX_6_64' | 'ORACLE_LINUX_7' | 'ORACLE_LINUX_7_64' | 'SUSE' | 'SUSE_64' | 'SLES' | 'SLES_64' | 'SLES_10' | 'SLES_10_64' | 'SLES_11' | 'SLES_11_64' | 'SLES_12' | 'SLES_12_64' | 'NLD_9' | 'OES' | 'SJDS' | 'MANDRAKE' | 'MANDRIVA' | 'MANDRIVA_64' | 'TURBO_LINUX' | 'TURBO_LINUX_64' | 'UBUNTU' | 'UBUNTU_64' | 'DEBIAN_4' | 'DEBIAN_4_64' | 'DEBIAN_5' | 'DEBIAN_5_64' | 'DEBIAN_6' | 'DEBIAN_6_64' | 'DEBIAN_7' | 'DEBIAN_7_64' | 'DEBIAN_8' | 'DEBIAN_8_64' | 'DEBIAN_9' | 'DEBIAN_9_64' | 'DEBIAN_10' | 'DEBIAN_10_64' | 'ASIANUX_3' | 'ASIANUX_3_64' | 'ASIANUX_4' | 'ASIANUX_4_64' | 'ASIANUX_5_64' | 'ASIANUX_7_64' | 'OPENSUSE' | 'OPENSUSE_64' | 'FEDORA' | 'FEDORA_64' | 'COREOS_64' | 'VMWARE_PHOTON_64' | 'OTHER_24X_LINUX' | 'OTHER_24X_LINUX_64' | 'OTHER_26X_LINUX' | 'OTHER_26X_LINUX_64' | 'OTHER_3X_LINUX' | 'OTHER_3X_LINUX_64' | 'OTHER_LINUX' | 'GENERIC_LINUX' | 'OTHER_LINUX_64' | 'SOLARIS_6' | 'SOLARIS_7' | 'SOLARIS_8' | 'SOLARIS_9' | 'SOLARIS_10' | 'SOLARIS_10_64' | 'SOLARIS_11_64' | 'OS2' | 'ECOMSTATION' | 'ECOMSTATION_2' | 'NETWARE_4' | 'NETWARE_5' | 'NETWARE_6' | 'OPENSERVER_5' | 'OPENSERVER_6' | 'UNIXWARE_7' | 'DARWIN' | 'DARWIN_64' | 'DARWIN_10' | 'DARWIN_10_64' | 'DARWIN_11' | 'DARWIN_11_64' | 'DARWIN_12_64' | 'DARWIN_13_64' | 'DARWIN_14_64' | 'DARWIN_15_64' | 'DARWIN_16_64' | 'VMKERNEL' | 'VMKERNEL_5' | 'VMKERNEL_6' | 'VMKERNEL_65' | 'OTHER' | 'OTHER_64' | null;
24153
+ /**
24154
+ * Number of cores per socket in a VM
24155
+ */
24156
+ cores_per_socket?: number;
24157
+ template?: string | null;
24158
+ cluster?: string | null;
24159
+ datastore?: string | null;
24160
+ };
23986
24161
  export type GenericOrderAttributes = {
23987
24162
  /**
23988
24163
  * The name of the resource to be created. Will be displayed in the portal.
@@ -50022,6 +50197,10 @@ export type MarketplaceServiceProvidersCustomerProjectsListData = {
50022
50197
  * Slug
50023
50198
  */
50024
50199
  slug?: string;
50200
+ /**
50201
+ * Filter projects where the given user has a role.
50202
+ */
50203
+ user_uuid?: string;
50025
50204
  };
50026
50205
  url: '/api/marketplace-service-providers/{service_provider_uuid}/customer_projects/';
50027
50206
  };
@@ -50512,6 +50691,10 @@ export type MarketplaceServiceProvidersProjectsListData = {
50512
50691
  * Slug
50513
50692
  */
50514
50693
  slug?: string;
50694
+ /**
50695
+ * Filter projects where the given user has a role.
50696
+ */
50697
+ user_uuid?: string;
50515
50698
  };
50516
50699
  url: '/api/marketplace-service-providers/{service_provider_uuid}/projects/';
50517
50700
  };
@@ -57169,7 +57352,7 @@ export type OpenportalUnmanagedProjectsListData = {
57169
57352
  */
57170
57353
  slug?: string;
57171
57354
  /**
57172
- * Filter by user UUID.
57355
+ * Filter projects where the given user has a role.
57173
57356
  */
57174
57357
  user_uuid?: string;
57175
57358
  };
@@ -57267,7 +57450,7 @@ export type OpenportalUnmanagedProjectsCountData = {
57267
57450
  */
57268
57451
  slug?: string;
57269
57452
  /**
57270
- * Filter by user UUID.
57453
+ * Filter projects where the given user has a role.
57271
57454
  */
57272
57455
  user_uuid?: string;
57273
57456
  };
@@ -64583,7 +64766,7 @@ export type ProjectsListData = {
64583
64766
  */
64584
64767
  slug?: string;
64585
64768
  /**
64586
- * Filter by user UUID.
64769
+ * Filter projects where the given user has a role.
64587
64770
  */
64588
64771
  user_uuid?: string;
64589
64772
  };
@@ -64681,7 +64864,7 @@ export type ProjectsCountData = {
64681
64864
  */
64682
64865
  slug?: string;
64683
64866
  /**
64684
- * Filter by user UUID.
64867
+ * Filter projects where the given user has a role.
64685
64868
  */
64686
64869
  user_uuid?: string;
64687
64870
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.6-dev.7",
3
+ "version": "8.0.6-dev.9",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",