waldur-js-client 7.9.2-dev.6 → 7.9.2-dev.7
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 +187 -2
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -2983,6 +2983,162 @@ export type EventSubscriptionRequest = {
|
|
|
2983
2983
|
};
|
|
2984
2984
|
export type EventTypesEnum = 'access_subnet_creation_succeeded' | 'access_subnet_deletion_succeeded' | 'access_subnet_update_succeeded' | 'allowed_offerings_have_been_updated' | 'attachment_created' | 'attachment_deleted' | 'attachment_updated' | 'auth_logged_in_with_saml2' | 'auth_logged_in_with_username' | 'auth_logged_in_with_oauth' | 'auth_logged_out' | 'auth_logged_out_with_saml2' | 'auth_login_failed_with_username' | 'block_creation_of_new_resources' | 'block_modification_of_existing_resources' | 'call_document_added' | 'call_document_removed' | 'create_of_credit_by_staff' | 'custom_notification' | 'customer_creation_succeeded' | 'customer_deletion_succeeded' | 'customer_update_succeeded' | 'customer_permission_review_created' | 'customer_permission_review_closed' | 'droplet_resize_scheduled' | 'droplet_resize_succeeded' | 'freeipa_profile_created' | 'freeipa_profile_deleted' | 'freeipa_profile_disabled' | 'freeipa_profile_enabled' | 'invoice_canceled' | 'invoice_created' | 'invoice_item_created' | 'invoice_item_deleted' | 'invoice_item_updated' | 'invoice_paid' | 'issue_creation_succeeded' | 'issue_deletion_succeeded' | 'issue_update_succeeded' | 'marketplace_offering_component_created' | 'marketplace_offering_component_deleted' | 'marketplace_offering_component_updated' | 'marketplace_offering_created' | 'marketplace_offering_role_created' | 'marketplace_offering_role_deleted' | 'marketplace_offering_role_updated' | 'marketplace_offering_updated' | 'marketplace_offering_user_created' | 'marketplace_offering_user_updated' | 'marketplace_offering_user_deleted' | 'marketplace_offering_user_restriction_updated' | 'marketplace_order_approved' | 'marketplace_order_completed' | 'marketplace_order_created' | 'marketplace_order_failed' | 'marketplace_order_rejected' | 'marketplace_order_terminated' | 'marketplace_order_unlinked' | 'marketplace_plan_archived' | 'marketplace_plan_component_current_price_updated' | 'marketplace_plan_component_future_price_updated' | 'marketplace_plan_component_quota_updated' | 'marketplace_plan_created' | 'marketplace_plan_updated' | 'marketplace_plan_deleted' | 'marketplace_resource_create_canceled' | 'marketplace_resource_create_failed' | 'marketplace_resource_create_requested' | 'marketplace_resource_create_succeeded' | 'marketplace_resource_downscaled' | 'marketplace_resource_erred_on_backend' | 'marketplace_resource_paused' | 'marketplace_resource_terminate_canceled' | 'marketplace_resource_terminate_failed' | 'marketplace_resource_terminate_requested' | 'marketplace_resource_terminate_succeeded' | 'marketplace_resource_unlinked' | 'marketplace_resource_update_canceled' | 'marketplace_resource_update_end_date_succeeded' | 'marketplace_resource_update_failed' | 'marketplace_resource_update_limits_failed' | 'marketplace_resource_update_limits_succeeded' | 'marketplace_resource_update_requested' | 'marketplace_resource_update_succeeded' | 'marketplace_resource_user_created' | 'marketplace_resource_user_deleted' | 'notify_external_user' | 'notify_organization_owners' | 'notify_project_team' | 'openstack_floating_ip_attached' | 'openstack_floating_ip_connected' | 'openstack_floating_ip_description_updated' | 'openstack_floating_ip_detached' | 'openstack_floating_ip_disconnected' | 'openstack_network_cleaned' | 'openstack_network_created' | 'openstack_network_deleted' | 'openstack_network_imported' | 'openstack_network_pulled' | 'openstack_network_updated' | 'openstack_port_cleaned' | 'openstack_port_created' | 'openstack_port_deleted' | 'openstack_port_imported' | 'openstack_port_pulled' | 'openstack_port_updated' | 'openstack_router_updated' | 'openstack_security_group_cleaned' | 'openstack_security_group_created' | 'openstack_security_group_deleted' | 'openstack_security_group_imported' | 'openstack_security_group_pulled' | 'openstack_security_group_rule_cleaned' | 'openstack_security_group_rule_created' | 'openstack_security_group_rule_deleted' | 'openstack_security_group_rule_imported' | 'openstack_security_group_rule_updated' | 'openstack_security_group_updated' | 'openstack_security_group_added_remotely' | 'openstack_security_group_removed_remotely' | 'openstack_security_group_added_locally' | 'openstack_security_group_removed_locally' | 'openstack_server_group_cleaned' | 'openstack_server_group_created' | 'openstack_server_group_deleted' | 'openstack_server_group_imported' | 'openstack_server_group_pulled' | 'openstack_subnet_cleaned' | 'openstack_subnet_created' | 'openstack_subnet_deleted' | 'openstack_subnet_imported' | 'openstack_subnet_pulled' | 'openstack_subnet_updated' | 'openstack_tenant_quota_limit_updated' | 'payment_added' | 'payment_created' | 'payment_removed' | 'policy_notification' | 'project_creation_succeeded' | 'project_deletion_succeeded' | 'project_deletion_triggered' | 'project_update_request_approved' | 'project_update_request_created' | 'project_update_request_rejected' | 'project_update_succeeded' | 'project_permission_review_created' | 'project_permission_review_closed' | 'proposal_canceled' | 'proposal_document_added' | 'proposal_document_removed' | 'query_executed' | 'reduction_of_customer_credit' | 'reduction_of_customer_credit_due_to_minimal_consumption' | 'reduction_of_customer_expected_consumption' | 'reduction_of_project_credit' | 'reduction_of_project_credit_due_to_minimal_consumption' | 'reduction_of_project_expected_consumption' | 'request_downscaling' | 'request_pausing' | 'resource_assign_floating_ip_failed' | 'resource_assign_floating_ip_scheduled' | 'resource_assign_floating_ip_succeeded' | 'resource_attach_failed' | 'resource_attach_scheduled' | 'resource_attach_succeeded' | 'resource_backup_creation_failed' | 'resource_backup_creation_scheduled' | 'resource_backup_creation_succeeded' | 'resource_backup_deletion_failed' | 'resource_backup_deletion_scheduled' | 'resource_backup_deletion_succeeded' | 'resource_backup_restoration_failed' | 'resource_backup_restoration_scheduled' | 'resource_backup_restoration_succeeded' | 'resource_change_flavor_failed' | 'resource_change_flavor_scheduled' | 'resource_change_flavor_succeeded' | 'resource_creation_failed' | 'resource_creation_scheduled' | 'resource_creation_succeeded' | 'resource_deletion_failed' | 'resource_deletion_scheduled' | 'resource_deletion_succeeded' | 'resource_detach_failed' | 'resource_detach_scheduled' | 'resource_detach_succeeded' | 'resource_extend_failed' | 'resource_extend_scheduled' | 'resource_extend_succeeded' | 'resource_extend_volume_failed' | 'resource_extend_volume_scheduled' | 'resource_extend_volume_succeeded' | 'resource_import_succeeded' | 'resource_pull_failed' | 'resource_pull_scheduled' | 'resource_pull_succeeded' | 'resource_restart_failed' | 'resource_restart_scheduled' | 'resource_restart_succeeded' | 'resource_retype_failed' | 'resource_retype_scheduled' | 'resource_retype_succeeded' | 'resource_robot_account_created' | 'resource_robot_account_deleted' | 'resource_robot_account_state_changed' | 'resource_robot_account_updated' | 'resource_start_failed' | 'resource_start_scheduled' | 'resource_start_succeeded' | 'resource_stop_failed' | 'resource_stop_scheduled' | 'resource_stop_succeeded' | 'resource_unassign_floating_ip_failed' | 'resource_unassign_floating_ip_scheduled' | 'resource_unassign_floating_ip_succeeded' | 'resource_update_allowed_address_pairs_failed' | 'resource_update_allowed_address_pairs_scheduled' | 'resource_update_allowed_address_pairs_succeeded' | 'resource_update_floating_ips_failed' | 'resource_update_floating_ips_scheduled' | 'resource_update_floating_ips_succeeded' | 'resource_update_ports_failed' | 'resource_update_ports_scheduled' | 'resource_update_ports_succeeded' | 'resource_update_security_groups_failed' | 'resource_update_security_groups_scheduled' | 'resource_update_security_groups_succeeded' | 'resource_update_succeeded' | 'restrict_members' | 'review_canceled' | 'role_granted' | 'role_revoked' | 'role_updated' | 'roll_back_customer_credit' | 'roll_back_project_credit' | 'service_account_created' | 'service_account_deleted' | 'service_account_updated' | 'set_to_zero_overdue_credit' | 'ssh_key_creation_succeeded' | 'ssh_key_deletion_succeeded' | 'terminate_resources' | 'token_created' | 'token_lifetime_updated' | 'update_of_credit_by_staff' | 'automatic_credit_adjustment' | 'user_activated' | 'user_creation_succeeded' | 'user_deactivated' | 'user_deactivated_no_roles' | 'user_deletion_succeeded' | 'user_details_update_succeeded' | 'user_has_been_created_by_staff' | 'user_password_updated' | 'user_password_updated_by_staff' | 'user_update_succeeded' | 'user_invitation_updated' | 'user_invitation_deleted' | 'terms_of_service_consent_granted' | 'terms_of_service_consent_revoked';
|
|
2985
2985
|
export type ExecutionStateEnum = 'Scheduled' | 'Processing' | 'OK' | 'Erred';
|
|
2986
|
+
export type ExportComponentData = {
|
|
2987
|
+
type: string;
|
|
2988
|
+
name: string;
|
|
2989
|
+
description: string;
|
|
2990
|
+
billing_type: string;
|
|
2991
|
+
measured_unit: string;
|
|
2992
|
+
unit_factor: number | null;
|
|
2993
|
+
limit_period: string | null;
|
|
2994
|
+
limit_amount: number | null;
|
|
2995
|
+
article_code: string;
|
|
2996
|
+
backend_id: string;
|
|
2997
|
+
};
|
|
2998
|
+
export type ExportComponentDataRequest = {
|
|
2999
|
+
type: string;
|
|
3000
|
+
name: string;
|
|
3001
|
+
description: string;
|
|
3002
|
+
billing_type: string;
|
|
3003
|
+
measured_unit: string;
|
|
3004
|
+
unit_factor: number | null;
|
|
3005
|
+
limit_period: string | null;
|
|
3006
|
+
limit_amount: number | null;
|
|
3007
|
+
article_code: string;
|
|
3008
|
+
backend_id: string;
|
|
3009
|
+
};
|
|
3010
|
+
export type ExportEndpointData = {
|
|
3011
|
+
name: string;
|
|
3012
|
+
url: string;
|
|
3013
|
+
};
|
|
3014
|
+
export type ExportEndpointDataRequest = {
|
|
3015
|
+
name: string;
|
|
3016
|
+
url: string;
|
|
3017
|
+
};
|
|
3018
|
+
export type ExportFileData = {
|
|
3019
|
+
name: string;
|
|
3020
|
+
file_content: string;
|
|
3021
|
+
filename: string;
|
|
3022
|
+
content_type: string;
|
|
3023
|
+
};
|
|
3024
|
+
export type ExportFileDataRequest = {
|
|
3025
|
+
name: string;
|
|
3026
|
+
file_content: string;
|
|
3027
|
+
filename: string;
|
|
3028
|
+
content_type: string;
|
|
3029
|
+
};
|
|
3030
|
+
export type ExportOfferingData = {
|
|
3031
|
+
name: string;
|
|
3032
|
+
description: string;
|
|
3033
|
+
full_description: string;
|
|
3034
|
+
vendor_details: string;
|
|
3035
|
+
getting_started: string;
|
|
3036
|
+
integration_guide: string;
|
|
3037
|
+
type: string;
|
|
3038
|
+
shared: boolean;
|
|
3039
|
+
billable: boolean;
|
|
3040
|
+
state: string;
|
|
3041
|
+
category_name: string | null;
|
|
3042
|
+
country: string;
|
|
3043
|
+
latitude: number | null;
|
|
3044
|
+
longitude: number | null;
|
|
3045
|
+
access_url: string;
|
|
3046
|
+
paused_reason: string;
|
|
3047
|
+
attributes?: unknown;
|
|
3048
|
+
options?: unknown;
|
|
3049
|
+
};
|
|
3050
|
+
export type ExportOfferingDataRequest = {
|
|
3051
|
+
name: string;
|
|
3052
|
+
description: string;
|
|
3053
|
+
full_description: string;
|
|
3054
|
+
vendor_details: string;
|
|
3055
|
+
getting_started: string;
|
|
3056
|
+
integration_guide: string;
|
|
3057
|
+
type: string;
|
|
3058
|
+
shared: boolean;
|
|
3059
|
+
billable: boolean;
|
|
3060
|
+
state: string;
|
|
3061
|
+
category_name: string | null;
|
|
3062
|
+
country: string;
|
|
3063
|
+
latitude: number | null;
|
|
3064
|
+
longitude: number | null;
|
|
3065
|
+
access_url: string;
|
|
3066
|
+
paused_reason: string;
|
|
3067
|
+
attributes?: unknown;
|
|
3068
|
+
options?: unknown;
|
|
3069
|
+
};
|
|
3070
|
+
export type ExportOrganizationGroupData = {
|
|
3071
|
+
name: string;
|
|
3072
|
+
parent_name: string | null;
|
|
3073
|
+
};
|
|
3074
|
+
export type ExportOrganizationGroupDataRequest = {
|
|
3075
|
+
name: string;
|
|
3076
|
+
parent_name: string | null;
|
|
3077
|
+
};
|
|
3078
|
+
export type ExportPlanComponentData = {
|
|
3079
|
+
component_type: string | null;
|
|
3080
|
+
amount: number;
|
|
3081
|
+
price: number;
|
|
3082
|
+
future_price: number | null;
|
|
3083
|
+
};
|
|
3084
|
+
export type ExportPlanComponentDataRequest = {
|
|
3085
|
+
component_type: string | null;
|
|
3086
|
+
amount: number;
|
|
3087
|
+
price: number;
|
|
3088
|
+
future_price: number | null;
|
|
3089
|
+
};
|
|
3090
|
+
export type ExportPlanData = {
|
|
3091
|
+
name: string;
|
|
3092
|
+
description: string;
|
|
3093
|
+
unit_price: number;
|
|
3094
|
+
unit: string;
|
|
3095
|
+
archived: boolean;
|
|
3096
|
+
max_amount: number | null;
|
|
3097
|
+
article_code: string;
|
|
3098
|
+
backend_id: string;
|
|
3099
|
+
components: Array<ExportPlanComponentData>;
|
|
3100
|
+
};
|
|
3101
|
+
export type ExportPlanDataRequest = {
|
|
3102
|
+
name: string;
|
|
3103
|
+
description: string;
|
|
3104
|
+
unit_price: number;
|
|
3105
|
+
unit: string;
|
|
3106
|
+
archived: boolean;
|
|
3107
|
+
max_amount: number | null;
|
|
3108
|
+
article_code: string;
|
|
3109
|
+
backend_id: string;
|
|
3110
|
+
components: Array<ExportPlanComponentDataRequest>;
|
|
3111
|
+
};
|
|
3112
|
+
export type ExportScreenshotData = {
|
|
3113
|
+
name: string;
|
|
3114
|
+
description: string;
|
|
3115
|
+
image_content: string;
|
|
3116
|
+
image_filename: string;
|
|
3117
|
+
content_type: string;
|
|
3118
|
+
};
|
|
3119
|
+
export type ExportScreenshotDataRequest = {
|
|
3120
|
+
name: string;
|
|
3121
|
+
description: string;
|
|
3122
|
+
image_content: string;
|
|
3123
|
+
image_filename: string;
|
|
3124
|
+
content_type: string;
|
|
3125
|
+
};
|
|
3126
|
+
export type ExportTermsOfServiceData = {
|
|
3127
|
+
terms_of_service: string;
|
|
3128
|
+
terms_of_service_link: string;
|
|
3129
|
+
version: string;
|
|
3130
|
+
is_active: boolean;
|
|
3131
|
+
requires_reconsent: boolean;
|
|
3132
|
+
grace_period_days: number | null;
|
|
3133
|
+
};
|
|
3134
|
+
export type ExportTermsOfServiceDataRequest = {
|
|
3135
|
+
terms_of_service: string;
|
|
3136
|
+
terms_of_service_link: string;
|
|
3137
|
+
version: string;
|
|
3138
|
+
is_active: boolean;
|
|
3139
|
+
requires_reconsent: boolean;
|
|
3140
|
+
grace_period_days: number | null;
|
|
3141
|
+
};
|
|
2986
3142
|
export type ExternalLink = {
|
|
2987
3143
|
readonly url: string;
|
|
2988
3144
|
readonly uuid: string;
|
|
@@ -5999,6 +6155,32 @@ export type OfferingEstimatedCostPolicyRequest = {
|
|
|
5999
6155
|
*/
|
|
6000
6156
|
apply_to_all?: boolean;
|
|
6001
6157
|
};
|
|
6158
|
+
export type OfferingExportData = {
|
|
6159
|
+
offering: ExportOfferingData;
|
|
6160
|
+
components?: Array<ExportComponentData>;
|
|
6161
|
+
plans?: Array<ExportPlanData>;
|
|
6162
|
+
screenshots?: Array<ExportScreenshotData>;
|
|
6163
|
+
files?: Array<ExportFileData>;
|
|
6164
|
+
endpoints?: Array<ExportEndpointData>;
|
|
6165
|
+
organization_groups?: Array<ExportOrganizationGroupData>;
|
|
6166
|
+
terms_of_service?: Array<ExportTermsOfServiceData>;
|
|
6167
|
+
plugin_options?: unknown;
|
|
6168
|
+
secret_options?: unknown;
|
|
6169
|
+
resource_options?: unknown;
|
|
6170
|
+
};
|
|
6171
|
+
export type OfferingExportDataRequest = {
|
|
6172
|
+
offering: ExportOfferingDataRequest;
|
|
6173
|
+
components?: Array<ExportComponentDataRequest>;
|
|
6174
|
+
plans?: Array<ExportPlanDataRequest>;
|
|
6175
|
+
screenshots?: Array<ExportScreenshotDataRequest>;
|
|
6176
|
+
files?: Array<ExportFileDataRequest>;
|
|
6177
|
+
endpoints?: Array<ExportEndpointDataRequest>;
|
|
6178
|
+
organization_groups?: Array<ExportOrganizationGroupDataRequest>;
|
|
6179
|
+
terms_of_service?: Array<ExportTermsOfServiceDataRequest>;
|
|
6180
|
+
plugin_options?: unknown;
|
|
6181
|
+
secret_options?: unknown;
|
|
6182
|
+
resource_options?: unknown;
|
|
6183
|
+
};
|
|
6002
6184
|
export type OfferingExportParametersRequest = {
|
|
6003
6185
|
/**
|
|
6004
6186
|
* Include offering components in export
|
|
@@ -6052,7 +6234,10 @@ export type OfferingExportParametersRequest = {
|
|
|
6052
6234
|
export type OfferingExportResponse = {
|
|
6053
6235
|
offering_uuid: string;
|
|
6054
6236
|
offering_name: string;
|
|
6055
|
-
|
|
6237
|
+
/**
|
|
6238
|
+
* Complete export data containing the offering structure
|
|
6239
|
+
*/
|
|
6240
|
+
export_data: OfferingExportData;
|
|
6056
6241
|
/**
|
|
6057
6242
|
* List of exported component types
|
|
6058
6243
|
*/
|
|
@@ -6140,7 +6325,7 @@ export type OfferingImportParametersRequest = {
|
|
|
6140
6325
|
/**
|
|
6141
6326
|
* The exported offering data to import
|
|
6142
6327
|
*/
|
|
6143
|
-
offering_data:
|
|
6328
|
+
offering_data: OfferingExportDataRequest;
|
|
6144
6329
|
};
|
|
6145
6330
|
export type OfferingImportResponse = {
|
|
6146
6331
|
imported_offering_uuid: string;
|