waldur-js-client 8.0.1 → 8.0.2-dev.1
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.
- package/dist/sdk.gen.d.ts +72 -3
- package/dist/sdk.gen.js +407 -2
- package/dist/types.gen.d.ts +714 -2
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -22015,6 +22015,94 @@ export const marketplaceSoftwareCatalogsUpdate = (options) => {
|
|
|
22015
22015
|
}
|
|
22016
22016
|
});
|
|
22017
22017
|
};
|
|
22018
|
+
/**
|
|
22019
|
+
* Trigger async update for an existing catalog
|
|
22020
|
+
* Triggers a Celery task to update the given catalog from its upstream source. Returns 202 Accepted immediately. Staff only.
|
|
22021
|
+
*/
|
|
22022
|
+
export const marketplaceSoftwareCatalogsUpdateCatalog = (options) => {
|
|
22023
|
+
return (options.client ?? _heyApiClient).post({
|
|
22024
|
+
security: [
|
|
22025
|
+
{
|
|
22026
|
+
name: 'Authorization',
|
|
22027
|
+
type: 'apiKey'
|
|
22028
|
+
},
|
|
22029
|
+
{
|
|
22030
|
+
scheme: 'bearer',
|
|
22031
|
+
type: 'http'
|
|
22032
|
+
}
|
|
22033
|
+
],
|
|
22034
|
+
url: '/api/marketplace-software-catalogs/{uuid}/update_catalog/',
|
|
22035
|
+
...options,
|
|
22036
|
+
headers: {
|
|
22037
|
+
'Content-Type': 'application/json',
|
|
22038
|
+
...options.headers
|
|
22039
|
+
}
|
|
22040
|
+
});
|
|
22041
|
+
};
|
|
22042
|
+
/**
|
|
22043
|
+
* Discover available software catalog versions
|
|
22044
|
+
* Queries upstream sources (EESSI, Spack) for available catalog versions without creating anything. Returns detected versions and whether an update is available compared to existing database records.
|
|
22045
|
+
*/
|
|
22046
|
+
export const marketplaceSoftwareCatalogsDiscoverList = (options) => {
|
|
22047
|
+
return (options?.client ?? _heyApiClient).get({
|
|
22048
|
+
security: [
|
|
22049
|
+
{
|
|
22050
|
+
name: 'Authorization',
|
|
22051
|
+
type: 'apiKey'
|
|
22052
|
+
},
|
|
22053
|
+
{
|
|
22054
|
+
scheme: 'bearer',
|
|
22055
|
+
type: 'http'
|
|
22056
|
+
}
|
|
22057
|
+
],
|
|
22058
|
+
url: '/api/marketplace-software-catalogs/discover/',
|
|
22059
|
+
...options
|
|
22060
|
+
});
|
|
22061
|
+
};
|
|
22062
|
+
/**
|
|
22063
|
+
* Discover available software catalog versions
|
|
22064
|
+
* Get number of items in the collection matching the request parameters.
|
|
22065
|
+
*/
|
|
22066
|
+
export const marketplaceSoftwareCatalogsDiscoverCount = (options) => {
|
|
22067
|
+
return (options?.client ?? _heyApiClient).head({
|
|
22068
|
+
security: [
|
|
22069
|
+
{
|
|
22070
|
+
name: 'Authorization',
|
|
22071
|
+
type: 'apiKey'
|
|
22072
|
+
},
|
|
22073
|
+
{
|
|
22074
|
+
scheme: 'bearer',
|
|
22075
|
+
type: 'http'
|
|
22076
|
+
}
|
|
22077
|
+
],
|
|
22078
|
+
url: '/api/marketplace-software-catalogs/discover/',
|
|
22079
|
+
...options
|
|
22080
|
+
});
|
|
22081
|
+
};
|
|
22082
|
+
/**
|
|
22083
|
+
* Import a new software catalog
|
|
22084
|
+
* Creates a new catalog record and triggers async data loading via Celery. Returns 202 Accepted immediately. Staff only.
|
|
22085
|
+
*/
|
|
22086
|
+
export const marketplaceSoftwareCatalogsImportCatalog = (options) => {
|
|
22087
|
+
return (options.client ?? _heyApiClient).post({
|
|
22088
|
+
security: [
|
|
22089
|
+
{
|
|
22090
|
+
name: 'Authorization',
|
|
22091
|
+
type: 'apiKey'
|
|
22092
|
+
},
|
|
22093
|
+
{
|
|
22094
|
+
scheme: 'bearer',
|
|
22095
|
+
type: 'http'
|
|
22096
|
+
}
|
|
22097
|
+
],
|
|
22098
|
+
url: '/api/marketplace-software-catalogs/import_catalog/',
|
|
22099
|
+
...options,
|
|
22100
|
+
headers: {
|
|
22101
|
+
'Content-Type': 'application/json',
|
|
22102
|
+
...options.headers
|
|
22103
|
+
}
|
|
22104
|
+
});
|
|
22105
|
+
};
|
|
22018
22106
|
/**
|
|
22019
22107
|
* List software packages
|
|
22020
22108
|
* Returns a paginated list of software packages available in the catalogs. Can be filtered by catalog, offering, or various package attributes.
|
|
@@ -26858,7 +26946,7 @@ export const openportalUnmanagedProjectsListUsersList = (options) => {
|
|
|
26858
26946
|
};
|
|
26859
26947
|
/**
|
|
26860
26948
|
* Move project to another customer
|
|
26861
|
-
* Moves a project and its associated resources to a different customer.
|
|
26949
|
+
* Moves a project and its associated resources to a different customer. You can choose whether to preserve existing project permissions for users. Terminated projects can also be moved.
|
|
26862
26950
|
*/
|
|
26863
26951
|
export const openportalUnmanagedProjectsMoveProject = (options) => {
|
|
26864
26952
|
return (options.client ?? _heyApiClient).post({
|
|
@@ -27429,6 +27517,66 @@ export const openstackBackupsUnlink = (options) => {
|
|
|
27429
27517
|
...options
|
|
27430
27518
|
});
|
|
27431
27519
|
};
|
|
27520
|
+
/**
|
|
27521
|
+
* List external networks
|
|
27522
|
+
* Get a list of provider-level external networks discovered from OpenStack.
|
|
27523
|
+
*/
|
|
27524
|
+
export const openstackExternalNetworksList = (options) => {
|
|
27525
|
+
return (options?.client ?? _heyApiClient).get({
|
|
27526
|
+
security: [
|
|
27527
|
+
{
|
|
27528
|
+
name: 'Authorization',
|
|
27529
|
+
type: 'apiKey'
|
|
27530
|
+
},
|
|
27531
|
+
{
|
|
27532
|
+
scheme: 'bearer',
|
|
27533
|
+
type: 'http'
|
|
27534
|
+
}
|
|
27535
|
+
],
|
|
27536
|
+
url: '/api/openstack-external-networks/',
|
|
27537
|
+
...options
|
|
27538
|
+
});
|
|
27539
|
+
};
|
|
27540
|
+
/**
|
|
27541
|
+
* List external networks
|
|
27542
|
+
* Get number of items in the collection matching the request parameters.
|
|
27543
|
+
*/
|
|
27544
|
+
export const openstackExternalNetworksCount = (options) => {
|
|
27545
|
+
return (options?.client ?? _heyApiClient).head({
|
|
27546
|
+
security: [
|
|
27547
|
+
{
|
|
27548
|
+
name: 'Authorization',
|
|
27549
|
+
type: 'apiKey'
|
|
27550
|
+
},
|
|
27551
|
+
{
|
|
27552
|
+
scheme: 'bearer',
|
|
27553
|
+
type: 'http'
|
|
27554
|
+
}
|
|
27555
|
+
],
|
|
27556
|
+
url: '/api/openstack-external-networks/',
|
|
27557
|
+
...options
|
|
27558
|
+
});
|
|
27559
|
+
};
|
|
27560
|
+
/**
|
|
27561
|
+
* Get external network details
|
|
27562
|
+
* Retrieve details of a specific external network, including its subnets.
|
|
27563
|
+
*/
|
|
27564
|
+
export const openstackExternalNetworksRetrieve = (options) => {
|
|
27565
|
+
return (options.client ?? _heyApiClient).get({
|
|
27566
|
+
security: [
|
|
27567
|
+
{
|
|
27568
|
+
name: 'Authorization',
|
|
27569
|
+
type: 'apiKey'
|
|
27570
|
+
},
|
|
27571
|
+
{
|
|
27572
|
+
scheme: 'bearer',
|
|
27573
|
+
type: 'http'
|
|
27574
|
+
}
|
|
27575
|
+
],
|
|
27576
|
+
url: '/api/openstack-external-networks/{uuid}/',
|
|
27577
|
+
...options
|
|
27578
|
+
});
|
|
27579
|
+
};
|
|
27432
27580
|
/**
|
|
27433
27581
|
* List flavors
|
|
27434
27582
|
* Get a list of available VM instance flavors.
|
|
@@ -31613,6 +31761,263 @@ export const openstackVolumesUnlink = (options) => {
|
|
|
31613
31761
|
...options
|
|
31614
31762
|
});
|
|
31615
31763
|
};
|
|
31764
|
+
export const openstackDiscoveryList = (options) => {
|
|
31765
|
+
return (options?.client ?? _heyApiClient).get({
|
|
31766
|
+
security: [
|
|
31767
|
+
{
|
|
31768
|
+
name: 'Authorization',
|
|
31769
|
+
type: 'apiKey'
|
|
31770
|
+
},
|
|
31771
|
+
{
|
|
31772
|
+
scheme: 'bearer',
|
|
31773
|
+
type: 'http'
|
|
31774
|
+
}
|
|
31775
|
+
],
|
|
31776
|
+
url: '/api/openstack/discovery/',
|
|
31777
|
+
...options
|
|
31778
|
+
});
|
|
31779
|
+
};
|
|
31780
|
+
export const openstackDiscoveryCreate = (options) => {
|
|
31781
|
+
return (options?.client ?? _heyApiClient).post({
|
|
31782
|
+
security: [
|
|
31783
|
+
{
|
|
31784
|
+
name: 'Authorization',
|
|
31785
|
+
type: 'apiKey'
|
|
31786
|
+
},
|
|
31787
|
+
{
|
|
31788
|
+
scheme: 'bearer',
|
|
31789
|
+
type: 'http'
|
|
31790
|
+
}
|
|
31791
|
+
],
|
|
31792
|
+
url: '/api/openstack/discovery/',
|
|
31793
|
+
...options
|
|
31794
|
+
});
|
|
31795
|
+
};
|
|
31796
|
+
export const openstackDiscoveryDestroy = (options) => {
|
|
31797
|
+
return (options.client ?? _heyApiClient).delete({
|
|
31798
|
+
security: [
|
|
31799
|
+
{
|
|
31800
|
+
name: 'Authorization',
|
|
31801
|
+
type: 'apiKey'
|
|
31802
|
+
},
|
|
31803
|
+
{
|
|
31804
|
+
scheme: 'bearer',
|
|
31805
|
+
type: 'http'
|
|
31806
|
+
}
|
|
31807
|
+
],
|
|
31808
|
+
url: '/api/openstack/discovery/{id}/',
|
|
31809
|
+
...options
|
|
31810
|
+
});
|
|
31811
|
+
};
|
|
31812
|
+
export const openstackDiscoveryRetrieve = (options) => {
|
|
31813
|
+
return (options.client ?? _heyApiClient).get({
|
|
31814
|
+
security: [
|
|
31815
|
+
{
|
|
31816
|
+
name: 'Authorization',
|
|
31817
|
+
type: 'apiKey'
|
|
31818
|
+
},
|
|
31819
|
+
{
|
|
31820
|
+
scheme: 'bearer',
|
|
31821
|
+
type: 'http'
|
|
31822
|
+
}
|
|
31823
|
+
],
|
|
31824
|
+
url: '/api/openstack/discovery/{id}/',
|
|
31825
|
+
...options
|
|
31826
|
+
});
|
|
31827
|
+
};
|
|
31828
|
+
export const openstackDiscoveryPartialUpdate = (options) => {
|
|
31829
|
+
return (options.client ?? _heyApiClient).patch({
|
|
31830
|
+
security: [
|
|
31831
|
+
{
|
|
31832
|
+
name: 'Authorization',
|
|
31833
|
+
type: 'apiKey'
|
|
31834
|
+
},
|
|
31835
|
+
{
|
|
31836
|
+
scheme: 'bearer',
|
|
31837
|
+
type: 'http'
|
|
31838
|
+
}
|
|
31839
|
+
],
|
|
31840
|
+
url: '/api/openstack/discovery/{id}/',
|
|
31841
|
+
...options
|
|
31842
|
+
});
|
|
31843
|
+
};
|
|
31844
|
+
export const openstackDiscoveryUpdate = (options) => {
|
|
31845
|
+
return (options.client ?? _heyApiClient).put({
|
|
31846
|
+
security: [
|
|
31847
|
+
{
|
|
31848
|
+
name: 'Authorization',
|
|
31849
|
+
type: 'apiKey'
|
|
31850
|
+
},
|
|
31851
|
+
{
|
|
31852
|
+
scheme: 'bearer',
|
|
31853
|
+
type: 'http'
|
|
31854
|
+
}
|
|
31855
|
+
],
|
|
31856
|
+
url: '/api/openstack/discovery/{id}/',
|
|
31857
|
+
...options
|
|
31858
|
+
});
|
|
31859
|
+
};
|
|
31860
|
+
/**
|
|
31861
|
+
* Discover available external networks.
|
|
31862
|
+
*/
|
|
31863
|
+
export const openstackDiscoveryDiscoverExternalNetworks = (options) => {
|
|
31864
|
+
return (options.client ?? _heyApiClient).post({
|
|
31865
|
+
security: [
|
|
31866
|
+
{
|
|
31867
|
+
name: 'Authorization',
|
|
31868
|
+
type: 'apiKey'
|
|
31869
|
+
},
|
|
31870
|
+
{
|
|
31871
|
+
scheme: 'bearer',
|
|
31872
|
+
type: 'http'
|
|
31873
|
+
}
|
|
31874
|
+
],
|
|
31875
|
+
url: '/api/openstack/discovery/discover_external_networks/',
|
|
31876
|
+
...options,
|
|
31877
|
+
headers: {
|
|
31878
|
+
'Content-Type': 'application/json',
|
|
31879
|
+
...options.headers
|
|
31880
|
+
}
|
|
31881
|
+
});
|
|
31882
|
+
};
|
|
31883
|
+
/**
|
|
31884
|
+
* Discover available flavors.
|
|
31885
|
+
*/
|
|
31886
|
+
export const openstackDiscoveryDiscoverFlavors = (options) => {
|
|
31887
|
+
return (options.client ?? _heyApiClient).post({
|
|
31888
|
+
security: [
|
|
31889
|
+
{
|
|
31890
|
+
name: 'Authorization',
|
|
31891
|
+
type: 'apiKey'
|
|
31892
|
+
},
|
|
31893
|
+
{
|
|
31894
|
+
scheme: 'bearer',
|
|
31895
|
+
type: 'http'
|
|
31896
|
+
}
|
|
31897
|
+
],
|
|
31898
|
+
url: '/api/openstack/discovery/discover_flavors/',
|
|
31899
|
+
...options,
|
|
31900
|
+
headers: {
|
|
31901
|
+
'Content-Type': 'application/json',
|
|
31902
|
+
...options.headers
|
|
31903
|
+
}
|
|
31904
|
+
});
|
|
31905
|
+
};
|
|
31906
|
+
/**
|
|
31907
|
+
* Discover available Nova instance availability zones.
|
|
31908
|
+
*/
|
|
31909
|
+
export const openstackDiscoveryDiscoverInstanceAvailabilityZones = (options) => {
|
|
31910
|
+
return (options.client ?? _heyApiClient).post({
|
|
31911
|
+
security: [
|
|
31912
|
+
{
|
|
31913
|
+
name: 'Authorization',
|
|
31914
|
+
type: 'apiKey'
|
|
31915
|
+
},
|
|
31916
|
+
{
|
|
31917
|
+
scheme: 'bearer',
|
|
31918
|
+
type: 'http'
|
|
31919
|
+
}
|
|
31920
|
+
],
|
|
31921
|
+
url: '/api/openstack/discovery/discover_instance_availability_zones/',
|
|
31922
|
+
...options,
|
|
31923
|
+
headers: {
|
|
31924
|
+
'Content-Type': 'application/json',
|
|
31925
|
+
...options.headers
|
|
31926
|
+
}
|
|
31927
|
+
});
|
|
31928
|
+
};
|
|
31929
|
+
/**
|
|
31930
|
+
* Discover available Cinder volume availability zones.
|
|
31931
|
+
*/
|
|
31932
|
+
export const openstackDiscoveryDiscoverVolumeAvailabilityZones = (options) => {
|
|
31933
|
+
return (options.client ?? _heyApiClient).post({
|
|
31934
|
+
security: [
|
|
31935
|
+
{
|
|
31936
|
+
name: 'Authorization',
|
|
31937
|
+
type: 'apiKey'
|
|
31938
|
+
},
|
|
31939
|
+
{
|
|
31940
|
+
scheme: 'bearer',
|
|
31941
|
+
type: 'http'
|
|
31942
|
+
}
|
|
31943
|
+
],
|
|
31944
|
+
url: '/api/openstack/discovery/discover_volume_availability_zones/',
|
|
31945
|
+
...options,
|
|
31946
|
+
headers: {
|
|
31947
|
+
'Content-Type': 'application/json',
|
|
31948
|
+
...options.headers
|
|
31949
|
+
}
|
|
31950
|
+
});
|
|
31951
|
+
};
|
|
31952
|
+
/**
|
|
31953
|
+
* Discover available volume types.
|
|
31954
|
+
*/
|
|
31955
|
+
export const openstackDiscoveryDiscoverVolumeTypes = (options) => {
|
|
31956
|
+
return (options.client ?? _heyApiClient).post({
|
|
31957
|
+
security: [
|
|
31958
|
+
{
|
|
31959
|
+
name: 'Authorization',
|
|
31960
|
+
type: 'apiKey'
|
|
31961
|
+
},
|
|
31962
|
+
{
|
|
31963
|
+
scheme: 'bearer',
|
|
31964
|
+
type: 'http'
|
|
31965
|
+
}
|
|
31966
|
+
],
|
|
31967
|
+
url: '/api/openstack/discovery/discover_volume_types/',
|
|
31968
|
+
...options,
|
|
31969
|
+
headers: {
|
|
31970
|
+
'Content-Type': 'application/json',
|
|
31971
|
+
...options.headers
|
|
31972
|
+
}
|
|
31973
|
+
});
|
|
31974
|
+
};
|
|
31975
|
+
/**
|
|
31976
|
+
* Build service_attributes and plugin_options from selected values.
|
|
31977
|
+
*/
|
|
31978
|
+
export const openstackDiscoveryPreviewServiceAttributes = (options) => {
|
|
31979
|
+
return (options.client ?? _heyApiClient).post({
|
|
31980
|
+
security: [
|
|
31981
|
+
{
|
|
31982
|
+
name: 'Authorization',
|
|
31983
|
+
type: 'apiKey'
|
|
31984
|
+
},
|
|
31985
|
+
{
|
|
31986
|
+
scheme: 'bearer',
|
|
31987
|
+
type: 'http'
|
|
31988
|
+
}
|
|
31989
|
+
],
|
|
31990
|
+
url: '/api/openstack/discovery/preview_service_attributes/',
|
|
31991
|
+
...options,
|
|
31992
|
+
headers: {
|
|
31993
|
+
'Content-Type': 'application/json',
|
|
31994
|
+
...options.headers
|
|
31995
|
+
}
|
|
31996
|
+
});
|
|
31997
|
+
};
|
|
31998
|
+
/**
|
|
31999
|
+
* Validate OpenStack credentials without saving them.
|
|
32000
|
+
*/
|
|
32001
|
+
export const openstackDiscoveryValidateCredentials = (options) => {
|
|
32002
|
+
return (options.client ?? _heyApiClient).post({
|
|
32003
|
+
security: [
|
|
32004
|
+
{
|
|
32005
|
+
name: 'Authorization',
|
|
32006
|
+
type: 'apiKey'
|
|
32007
|
+
},
|
|
32008
|
+
{
|
|
32009
|
+
scheme: 'bearer',
|
|
32010
|
+
type: 'http'
|
|
32011
|
+
}
|
|
32012
|
+
],
|
|
32013
|
+
url: '/api/openstack/discovery/validate_credentials/',
|
|
32014
|
+
...options,
|
|
32015
|
+
headers: {
|
|
32016
|
+
'Content-Type': 'application/json',
|
|
32017
|
+
...options.headers
|
|
32018
|
+
}
|
|
32019
|
+
});
|
|
32020
|
+
};
|
|
31616
32021
|
export const organizationGroupsList = (options) => {
|
|
31617
32022
|
return (options?.client ?? _heyApiClient).get({
|
|
31618
32023
|
security: [
|
|
@@ -32671,7 +33076,7 @@ export const projectsListUsersList = (options) => {
|
|
|
32671
33076
|
};
|
|
32672
33077
|
/**
|
|
32673
33078
|
* Move project to another customer
|
|
32674
|
-
* Moves a project and its associated resources to a different customer.
|
|
33079
|
+
* Moves a project and its associated resources to a different customer. You can choose whether to preserve existing project permissions for users. Terminated projects can also be moved.
|
|
32675
33080
|
*/
|
|
32676
33081
|
export const projectsMoveProject = (options) => {
|
|
32677
33082
|
return (options.client ?? _heyApiClient).post({
|