waldur-js-client 8.0.10-dev.20 → 8.0.10-dev.22
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/types.gen.d.ts +38 -4
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export type AccessorUser = {
|
|
|
39
39
|
full_name: string;
|
|
40
40
|
};
|
|
41
41
|
export type AccountNameGenerationPolicyEnum = 'project_slug';
|
|
42
|
+
export type ActionOnUsageLimitEnum = 'pause' | 'downscale';
|
|
42
43
|
export type ActionTakenEnum = 'allow' | 'flag' | 'warn' | 'redact' | 'block';
|
|
43
44
|
export type ActiveAgentTask = {
|
|
44
45
|
id: string;
|
|
@@ -2820,9 +2821,13 @@ export type BookingResource = {
|
|
|
2820
2821
|
*/
|
|
2821
2822
|
readonly project_end_date: string | null;
|
|
2822
2823
|
/**
|
|
2823
|
-
* Effective project end date including grace period. After this date, resources
|
|
2824
|
+
* Effective project end date including grace period. After this date, resources are terminated, except resources of offerings that disable the grace period — those are terminated on the raw project end date.
|
|
2824
2825
|
*/
|
|
2825
2826
|
readonly project_effective_end_date: string | null;
|
|
2827
|
+
/**
|
|
2828
|
+
* The date this resource is scheduled to terminate: the earliest of its own end date and the project-driven termination date (the raw project end date if the offering disables the grace period, otherwise the effective with-grace end date).
|
|
2829
|
+
*/
|
|
2830
|
+
readonly resource_effective_end_date: string | null;
|
|
2826
2831
|
/**
|
|
2827
2832
|
* True if the project is past its end date but still within the grace period.
|
|
2828
2833
|
*/
|
|
@@ -2878,6 +2883,10 @@ export type BookingResource = {
|
|
|
2878
2883
|
downscaled?: boolean;
|
|
2879
2884
|
readonly restrict_member_access: boolean;
|
|
2880
2885
|
paused?: boolean;
|
|
2886
|
+
/**
|
|
2887
|
+
* Which restriction (paused or downscaled) was automatically applied because reported usage reached a component limit. Empty when no such restriction is active. Used so the automatic lift never clears a restriction that was set for another reason.
|
|
2888
|
+
*/
|
|
2889
|
+
usage_limit_restriction: UsageLimitRestrictionEnum;
|
|
2881
2890
|
readonly endpoints: Array<NestedEndpoint>;
|
|
2882
2891
|
readonly error_message: string;
|
|
2883
2892
|
readonly error_traceback: string;
|
|
@@ -10643,6 +10652,14 @@ export type MergedPluginOptions = {
|
|
|
10643
10652
|
* If set to True, it will be possible to pause resources
|
|
10644
10653
|
*/
|
|
10645
10654
|
supports_pausing?: boolean;
|
|
10655
|
+
/**
|
|
10656
|
+
* If set to True, this offering's resources ignore the project grace period and are terminated on the project end date. Only staff can change this option.
|
|
10657
|
+
*/
|
|
10658
|
+
disable_grace_period?: boolean;
|
|
10659
|
+
/**
|
|
10660
|
+
* If set to 'pause' or 'downscale', resources are automatically paused or downscaled when reported usage in the current period reaches a component's limit_amount, and the restriction is lifted when usage drops below the limit again (e.g. a new billing period or a raised limit).
|
|
10661
|
+
*/
|
|
10662
|
+
action_on_usage_limit?: ActionOnUsageLimitEnum | BlankEnum | NullEnum | null;
|
|
10646
10663
|
/**
|
|
10647
10664
|
* Minimal team count required for provisioning of resources
|
|
10648
10665
|
*/
|
|
@@ -11005,6 +11022,14 @@ export type MergedPluginOptionsRequest = {
|
|
|
11005
11022
|
* If set to True, it will be possible to pause resources
|
|
11006
11023
|
*/
|
|
11007
11024
|
supports_pausing?: boolean;
|
|
11025
|
+
/**
|
|
11026
|
+
* If set to True, this offering's resources ignore the project grace period and are terminated on the project end date. Only staff can change this option.
|
|
11027
|
+
*/
|
|
11028
|
+
disable_grace_period?: boolean;
|
|
11029
|
+
/**
|
|
11030
|
+
* If set to 'pause' or 'downscale', resources are automatically paused or downscaled when reported usage in the current period reaches a component's limit_amount, and the restriction is lifted when usage drops below the limit again (e.g. a new billing period or a raised limit).
|
|
11031
|
+
*/
|
|
11032
|
+
action_on_usage_limit?: ActionOnUsageLimitEnum | BlankEnum | NullEnum | null;
|
|
11008
11033
|
/**
|
|
11009
11034
|
* Minimal team count required for provisioning of resources
|
|
11010
11035
|
*/
|
|
@@ -23609,9 +23634,13 @@ export type Resource = {
|
|
|
23609
23634
|
*/
|
|
23610
23635
|
readonly project_end_date: string | null;
|
|
23611
23636
|
/**
|
|
23612
|
-
* Effective project end date including grace period. After this date, resources
|
|
23637
|
+
* Effective project end date including grace period. After this date, resources are terminated, except resources of offerings that disable the grace period — those are terminated on the raw project end date.
|
|
23613
23638
|
*/
|
|
23614
23639
|
readonly project_effective_end_date: string | null;
|
|
23640
|
+
/**
|
|
23641
|
+
* The date this resource is scheduled to terminate: the earliest of its own end date and the project-driven termination date (the raw project end date if the offering disables the grace period, otherwise the effective with-grace end date).
|
|
23642
|
+
*/
|
|
23643
|
+
readonly resource_effective_end_date: string | null;
|
|
23615
23644
|
/**
|
|
23616
23645
|
* True if the project is past its end date but still within the grace period.
|
|
23617
23646
|
*/
|
|
@@ -23667,6 +23696,10 @@ export type Resource = {
|
|
|
23667
23696
|
downscaled?: boolean;
|
|
23668
23697
|
readonly restrict_member_access: boolean;
|
|
23669
23698
|
paused?: boolean;
|
|
23699
|
+
/**
|
|
23700
|
+
* Which restriction (paused or downscaled) was automatically applied because reported usage reached a component limit. Empty when no such restriction is active. Used so the automatic lift never clears a restriction that was set for another reason.
|
|
23701
|
+
*/
|
|
23702
|
+
usage_limit_restriction: UsageLimitRestrictionEnum;
|
|
23670
23703
|
readonly endpoints: Array<NestedEndpoint>;
|
|
23671
23704
|
readonly error_message: string;
|
|
23672
23705
|
readonly error_traceback: string;
|
|
@@ -27469,6 +27502,7 @@ export type UrgencyEnum = 'low' | 'medium' | 'high';
|
|
|
27469
27502
|
export type Usage = {
|
|
27470
27503
|
seconds: number;
|
|
27471
27504
|
};
|
|
27505
|
+
export type UsageLimitRestrictionEnum = 'paused' | 'downscaled';
|
|
27472
27506
|
export type UsageTimeseriesBucket = {
|
|
27473
27507
|
readonly billing_period: string;
|
|
27474
27508
|
readonly usage: number;
|
|
@@ -31133,7 +31167,7 @@ export type AzureSqlServerFieldEnum = 'access_url' | 'backend_id' | 'created' |
|
|
|
31133
31167
|
export type AzureVirtualMachineFieldEnum = 'access_url' | 'backend_id' | 'cores' | 'created' | 'customer' | 'customer_abbreviation' | 'customer_name' | 'customer_native_name' | 'customer_uuid' | 'description' | 'disk' | 'error_message' | 'error_traceback' | 'external_ips' | 'image' | 'image_name' | 'internal_ips' | 'is_limit_based' | 'is_usage_based' | 'key_fingerprint' | 'key_name' | 'latitude' | 'location' | 'location_name' | 'longitude' | 'marketplace_category_name' | 'marketplace_category_uuid' | 'marketplace_offering_name' | 'marketplace_offering_plugin_options' | 'marketplace_offering_type' | 'marketplace_offering_uuid' | 'marketplace_plan_uuid' | 'marketplace_resource_state' | 'marketplace_resource_uuid' | 'min_disk' | 'min_ram' | 'modified' | 'name' | 'password' | 'project' | 'project_name' | 'project_uuid' | 'ram' | 'resource_group' | 'resource_group_name' | 'resource_type' | 'runtime_state' | 'service_name' | 'service_settings' | 'service_settings_error_message' | 'service_settings_state' | 'service_settings_uuid' | 'size' | 'size_name' | 'ssh_public_key' | 'start_time' | 'state' | 'url' | 'user_data' | 'username' | 'uuid';
|
|
31134
31168
|
export type BackendResourceReqOEnum = '-created' | 'created';
|
|
31135
31169
|
export type OfferingFieldEnum = 'access_url' | 'attributes' | 'backend_id' | 'backend_metadata' | 'billable' | 'billing_type_classification' | 'category' | 'category_title' | 'category_uuid' | 'citation_count' | 'compliance_checklist' | 'components' | 'country' | 'created' | 'customer' | 'customer_name' | 'customer_uuid' | 'datacite_doi' | 'description' | 'documentation_url' | 'effective_available_limits' | 'endpoints' | 'files' | 'full_description' | 'getting_started' | 'googlecalendar' | 'has_compliance_requirements' | 'helpdesk_url' | 'image' | 'integration_guide' | 'is_accessible' | 'latitude' | 'longitude' | 'name' | 'offering_group' | 'offering_group_title' | 'offering_group_uuid' | 'options' | 'order_count' | 'organization_groups' | 'parent_description' | 'parent_name' | 'parent_uuid' | 'partitions' | 'paused_reason' | 'plans' | 'plugin_options' | 'privacy_policy_link' | 'profile_name' | 'profile_uuid' | 'project' | 'project_name' | 'project_uuid' | 'quotas' | 'resource_options' | 'scope' | 'scope_error_message' | 'scope_name' | 'scope_state' | 'scope_uuid' | 'screenshots' | 'secret_options' | 'service_attributes' | 'shared' | 'slug' | 'software_catalogs' | 'state' | 'tags' | 'thumbnail' | 'total_cost' | 'total_cost_estimated' | 'total_customers' | 'type' | 'url' | 'user_has_consent' | 'uuid' | 'vendor_details';
|
|
31136
|
-
export type BookingResourceFieldEnum = 'attributes' | 'available_actions' | 'backend_id' | 'backend_metadata' | 'can_terminate' | 'category_icon' | 'category_title' | 'category_uuid' | 'consumer_reviewed_by' | 'consumer_reviewed_by_full_name' | 'consumer_reviewed_by_username' | 'created' | 'created_by' | 'created_by_full_name' | 'created_by_username' | 'creation_order' | 'current_usages' | 'customer_name' | 'customer_slug' | 'customer_uuid' | 'description' | 'downscaled' | 'effective_id' | 'end_date' | 'end_date_requested_by' | 'end_date_updated_at' | 'endpoints' | 'error_message' | 'error_traceback' | 'is_limit_based' | 'is_usage_based' | 'last_sync' | 'limit_usage' | 'limits' | 'modified' | 'name' | 'offering' | 'offering_backend_id' | 'offering_billable' | 'offering_components' | 'offering_description' | 'offering_image' | 'offering_name' | 'offering_plugin_options' | 'offering_shared' | 'offering_slug' | 'offering_state' | 'offering_thumbnail' | 'offering_type' | 'offering_uuid' | 'options' | 'order_in_progress' | 'parent_name' | 'parent_offering_name' | 'parent_offering_slug' | 'parent_offering_uuid' | 'parent_uuid' | 'paused' | 'plan' | 'plan_description' | 'plan_name' | 'plan_unit' | 'plan_uuid' | 'project' | 'project_description' | 'project_effective_end_date' | 'project_end_date' | 'project_end_date_requested_by' | 'project_is_in_grace_period' | 'project_name' | 'project_slug' | 'project_uuid' | 'provider_description' | 'provider_name' | 'provider_slug' | 'provider_uuid' | 'renewal_date' | 'report' | 'resource_type' | 'resource_uuid' | 'restrict_member_access' | 'scope' | 'service_settings_uuid' | 'slots' | 'slug' | 'state' | 'url' | 'user_requires_reconsent' | 'username' | 'uuid';
|
|
31170
|
+
export type BookingResourceFieldEnum = 'attributes' | 'available_actions' | 'backend_id' | 'backend_metadata' | 'can_terminate' | 'category_icon' | 'category_title' | 'category_uuid' | 'consumer_reviewed_by' | 'consumer_reviewed_by_full_name' | 'consumer_reviewed_by_username' | 'created' | 'created_by' | 'created_by_full_name' | 'created_by_username' | 'creation_order' | 'current_usages' | 'customer_name' | 'customer_slug' | 'customer_uuid' | 'description' | 'downscaled' | 'effective_id' | 'end_date' | 'end_date_requested_by' | 'end_date_updated_at' | 'endpoints' | 'error_message' | 'error_traceback' | 'is_limit_based' | 'is_usage_based' | 'last_sync' | 'limit_usage' | 'limits' | 'modified' | 'name' | 'offering' | 'offering_backend_id' | 'offering_billable' | 'offering_components' | 'offering_description' | 'offering_image' | 'offering_name' | 'offering_plugin_options' | 'offering_shared' | 'offering_slug' | 'offering_state' | 'offering_thumbnail' | 'offering_type' | 'offering_uuid' | 'options' | 'order_in_progress' | 'parent_name' | 'parent_offering_name' | 'parent_offering_slug' | 'parent_offering_uuid' | 'parent_uuid' | 'paused' | 'plan' | 'plan_description' | 'plan_name' | 'plan_unit' | 'plan_uuid' | 'project' | 'project_description' | 'project_effective_end_date' | 'project_end_date' | 'project_end_date_requested_by' | 'project_is_in_grace_period' | 'project_name' | 'project_slug' | 'project_uuid' | 'provider_description' | 'provider_name' | 'provider_slug' | 'provider_uuid' | 'renewal_date' | 'report' | 'resource_effective_end_date' | 'resource_type' | 'resource_uuid' | 'restrict_member_access' | 'scope' | 'service_settings_uuid' | 'slots' | 'slug' | 'state' | 'url' | 'usage_limit_restriction' | 'user_requires_reconsent' | 'username' | 'uuid';
|
|
31137
31171
|
export type BookingResourceOEnum = '-created' | '-name' | '-schedules' | '-type' | 'created' | 'name' | 'schedules' | 'type';
|
|
31138
31172
|
export type BroadcastMessageFieldEnum = 'author_full_name' | 'body' | 'created' | 'emails' | 'query' | 'send_at' | 'state' | 'subject' | 'uuid';
|
|
31139
31173
|
export type BroadcastMessageOEnum = '-author_full_name' | '-created' | '-subject' | 'author_full_name' | 'created' | 'subject';
|
|
@@ -31170,7 +31204,7 @@ export type SshKeyFieldEnum = 'fingerprint_md5' | 'fingerprint_sha256' | 'finger
|
|
|
31170
31204
|
export type SshKeyOEnum = '-name' | 'name';
|
|
31171
31205
|
export type MaintenanceAnnouncementOEnum = '-created' | '-name' | '-overrun_minutes' | '-scheduled_end' | '-scheduled_start' | '-start_delta_minutes' | 'created' | 'name' | 'overrun_minutes' | 'scheduled_end' | 'scheduled_start' | 'start_delta_minutes';
|
|
31172
31206
|
export type MaintenanceAnnouncementTemplateOEnum = '-created' | '-name' | 'created' | 'name';
|
|
31173
|
-
export type ResourceFieldEnum = 'attributes' | 'available_actions' | 'backend_id' | 'backend_metadata' | 'can_terminate' | 'category_icon' | 'category_title' | 'category_uuid' | 'created' | 'creation_order' | 'current_usages' | 'customer_name' | 'customer_slug' | 'customer_uuid' | 'description' | 'downscaled' | 'effective_id' | 'end_date' | 'end_date_requested_by' | 'end_date_updated_at' | 'endpoints' | 'error_message' | 'error_traceback' | 'is_limit_based' | 'is_usage_based' | 'last_sync' | 'limit_usage' | 'limits' | 'modified' | 'name' | 'offering' | 'offering_backend_id' | 'offering_billable' | 'offering_components' | 'offering_description' | 'offering_image' | 'offering_name' | 'offering_plugin_options' | 'offering_shared' | 'offering_slug' | 'offering_state' | 'offering_thumbnail' | 'offering_type' | 'offering_uuid' | 'options' | 'order_in_progress' | 'parent_name' | 'parent_offering_name' | 'parent_offering_slug' | 'parent_offering_uuid' | 'parent_uuid' | 'paused' | 'plan' | 'plan_description' | 'plan_name' | 'plan_unit' | 'plan_uuid' | 'project' | 'project_description' | 'project_effective_end_date' | 'project_end_date' | 'project_end_date_requested_by' | 'project_is_in_grace_period' | 'project_name' | 'project_slug' | 'project_uuid' | 'provider_description' | 'provider_name' | 'provider_slug' | 'provider_uuid' | 'renewal_date' | 'report' | 'resource_type' | 'resource_uuid' | 'restrict_member_access' | 'scope' | 'service_settings_uuid' | 'slug' | 'state' | 'url' | 'user_requires_reconsent' | 'username' | 'uuid';
|
|
31207
|
+
export type ResourceFieldEnum = 'attributes' | 'available_actions' | 'backend_id' | 'backend_metadata' | 'can_terminate' | 'category_icon' | 'category_title' | 'category_uuid' | 'created' | 'creation_order' | 'current_usages' | 'customer_name' | 'customer_slug' | 'customer_uuid' | 'description' | 'downscaled' | 'effective_id' | 'end_date' | 'end_date_requested_by' | 'end_date_updated_at' | 'endpoints' | 'error_message' | 'error_traceback' | 'is_limit_based' | 'is_usage_based' | 'last_sync' | 'limit_usage' | 'limits' | 'modified' | 'name' | 'offering' | 'offering_backend_id' | 'offering_billable' | 'offering_components' | 'offering_description' | 'offering_image' | 'offering_name' | 'offering_plugin_options' | 'offering_shared' | 'offering_slug' | 'offering_state' | 'offering_thumbnail' | 'offering_type' | 'offering_uuid' | 'options' | 'order_in_progress' | 'parent_name' | 'parent_offering_name' | 'parent_offering_slug' | 'parent_offering_uuid' | 'parent_uuid' | 'paused' | 'plan' | 'plan_description' | 'plan_name' | 'plan_unit' | 'plan_uuid' | 'project' | 'project_description' | 'project_effective_end_date' | 'project_end_date' | 'project_end_date_requested_by' | 'project_is_in_grace_period' | 'project_name' | 'project_slug' | 'project_uuid' | 'provider_description' | 'provider_name' | 'provider_slug' | 'provider_uuid' | 'renewal_date' | 'report' | 'resource_effective_end_date' | 'resource_type' | 'resource_uuid' | 'restrict_member_access' | 'scope' | 'service_settings_uuid' | 'slug' | 'state' | 'url' | 'usage_limit_restriction' | 'user_requires_reconsent' | 'username' | 'uuid';
|
|
31174
31208
|
export type MarketplaceCategoryFieldEnum = 'articles' | 'available_offerings_count' | 'columns' | 'components' | 'default_tenant_category' | 'default_vm_category' | 'default_volume_category' | 'description' | 'group' | 'icon' | 'offering_count' | 'sections' | 'title' | 'url' | 'uuid';
|
|
31175
31209
|
export type CategoryComponentUsageFieldEnum = 'category_title' | 'category_uuid' | 'date' | 'fixed_usage' | 'measured_unit' | 'name' | 'reported_usage' | 'scope' | 'type';
|
|
31176
31210
|
export type CategoryGroupFieldEnum = 'description' | 'icon' | 'title' | 'url' | 'uuid';
|