waldur-js-client 7.9.6-dev.21 → 7.9.6-dev.23

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 +47 -14
  2. package/package.json +1 -1
@@ -305,6 +305,10 @@ export type AtlassianSettingsPreviewRequest = {
305
305
  satisfaction_field?: string;
306
306
  request_feedback_field?: string;
307
307
  waldur_backend_id_field?: string;
308
+ /**
309
+ * Default issue type for marketplace request-based orders
310
+ */
311
+ default_offering_issue_type?: string;
308
312
  use_old_api?: boolean;
309
313
  custom_field_mapping_enabled?: boolean;
310
314
  };
@@ -337,6 +341,10 @@ export type AtlassianSettingsSaveRequest = {
337
341
  satisfaction_field?: string;
338
342
  request_feedback_field?: string;
339
343
  waldur_backend_id_field?: string;
344
+ /**
345
+ * Default issue type for marketplace request-based orders
346
+ */
347
+ default_offering_issue_type?: string;
340
348
  use_old_api?: boolean;
341
349
  custom_field_mapping_enabled?: boolean;
342
350
  /**
@@ -4818,6 +4826,22 @@ export type Issue = {
4818
4826
  * Internal processing log for debugging order lifecycle events. Visible only to staff.
4819
4827
  */
4820
4828
  readonly processing_log: unknown;
4829
+ /**
4830
+ * Return order UUID if the issue's resource is an Order.
4831
+ */
4832
+ readonly order_uuid: string | null;
4833
+ /**
4834
+ * Return order's project UUID if the issue's resource is an Order.
4835
+ */
4836
+ readonly order_project_uuid: string | null;
4837
+ /**
4838
+ * Return order's customer UUID if the issue's resource is an Order.
4839
+ */
4840
+ readonly order_customer_uuid: string | null;
4841
+ /**
4842
+ * Return order's resource name if the issue's resource is an Order.
4843
+ */
4844
+ readonly order_resource_name: string | null;
4821
4845
  };
4822
4846
  export type IssueReference = {
4823
4847
  readonly key?: string;
@@ -4850,17 +4874,24 @@ export type IssueStatus = {
4850
4874
  * Status name in Jira.
4851
4875
  */
4852
4876
  name: string;
4853
- type?: IssueStatusTypeEnum;
4877
+ type?: IssueStatusType;
4854
4878
  readonly type_display: string;
4855
4879
  };
4856
- export type IssueStatusRequest = {
4880
+ export type IssueStatusCreate = {
4881
+ /**
4882
+ * Status name in Jira.
4883
+ */
4884
+ name: string;
4885
+ type?: IssueStatusType;
4886
+ };
4887
+ export type IssueStatusCreateRequest = {
4857
4888
  /**
4858
4889
  * Status name in Jira.
4859
4890
  */
4860
4891
  name: string;
4861
- type?: IssueStatusTypeEnum;
4892
+ type?: IssueStatusType;
4862
4893
  };
4863
- export type IssueStatusTypeEnum = 0 | 1;
4894
+ export type IssueStatusType = 0 | 1;
4864
4895
  export type IssueTypeEnum = 'INFORMATIONAL' | 'SERVICE_REQUEST' | 'CHANGE_REQUEST' | 'INCIDENT';
4865
4896
  export type JiraChangelog = {
4866
4897
  /**
@@ -9801,6 +9832,7 @@ export type OpenStackTenant = {
9801
9832
  * Volume type name to use when creating volumes.
9802
9833
  */
9803
9834
  default_volume_type_name?: string;
9835
+ skip_creation_of_default_router?: boolean;
9804
9836
  readonly marketplace_offering_uuid?: string | null;
9805
9837
  readonly marketplace_offering_name?: string | null;
9806
9838
  readonly marketplace_offering_plugin_options?: {
@@ -9853,6 +9885,7 @@ export type OpenStackTenantRequest = {
9853
9885
  default_volume_type_name?: string;
9854
9886
  security_groups?: Array<OpenStackTenantSecurityGroupRequest>;
9855
9887
  skip_creation_of_default_subnet?: boolean;
9888
+ skip_creation_of_default_router?: boolean;
9856
9889
  };
9857
9890
  export type OpenStackTenantSecurityGroup = {
9858
9891
  name: string;
@@ -10552,7 +10585,7 @@ export type PatchedIssueStatusRequest = {
10552
10585
  * Status name in Jira.
10553
10586
  */
10554
10587
  name?: string;
10555
- type?: IssueStatusTypeEnum;
10588
+ type?: IssueStatusType;
10556
10589
  };
10557
10590
  export type PatchedKeycloakUserGroupMembershipRequest = {
10558
10591
  /**
@@ -10961,6 +10994,7 @@ export type PatchedOpenStackTenantRequest = {
10961
10994
  default_volume_type_name?: string;
10962
10995
  security_groups?: Array<OpenStackTenantSecurityGroupRequest>;
10963
10996
  skip_creation_of_default_subnet?: boolean;
10997
+ skip_creation_of_default_router?: boolean;
10964
10998
  };
10965
10999
  export type PatchedOpenStackVolumeRequest = {
10966
11000
  name?: string;
@@ -17181,14 +17215,14 @@ export type WebHook = {
17181
17215
  };
17182
17216
  export type WebHookContentTypeEnum = 'json' | 'form';
17183
17217
  export type WebHookReceiver = {
17184
- webhookEvent: WebhookEventEnum;
17218
+ webhookEvent: string;
17185
17219
  issue: JiraIssue;
17186
17220
  comment?: JiraComment;
17187
17221
  changelog?: JiraChangelog;
17188
17222
  issue_event_type_name?: string;
17189
17223
  };
17190
17224
  export type WebHookReceiverRequest = {
17191
- webhookEvent: WebhookEventEnum;
17225
+ webhookEvent: string;
17192
17226
  issue: JiraIssueRequest;
17193
17227
  comment?: JiraCommentRequest;
17194
17228
  changelog?: JiraChangelogRequest;
@@ -17201,7 +17235,6 @@ export type WebHookRequest = {
17201
17235
  destination_url: string;
17202
17236
  content_type?: WebHookContentTypeEnum;
17203
17237
  };
17204
- export type WebhookEventEnum = 'jira:issue_updated' | 'jira:issue_deleted' | 'comment_created' | 'comment_updated' | 'comment_deleted';
17205
17238
  export type WidgetEnum = 'csv' | 'filesize' | 'attached_instance';
17206
17239
  export type AzureVirtualMachineCreateOrderAttributes = {
17207
17240
  name: string;
@@ -48921,7 +48954,7 @@ export type OpenstackTenantsListData = {
48921
48954
  * External IP
48922
48955
  */
48923
48956
  external_ip?: string;
48924
- field?: Array<'availability_zone' | 'backend_id' | 'created' | 'customer' | 'customer_abbreviation' | 'customer_name' | 'customer_native_name' | 'customer_uuid' | 'default_volume_type_name' | 'description' | 'error_message' | 'error_traceback' | 'external_network_id' | 'internal_network_id' | 'is_limit_based' | 'is_usage_based' | 'marketplace_category_name' | 'marketplace_category_uuid' | 'marketplace_offering_name' | 'marketplace_offering_plugin_options' | 'marketplace_offering_uuid' | 'marketplace_plan_uuid' | 'marketplace_resource_state' | 'marketplace_resource_uuid' | 'modified' | 'name' | 'project' | 'project_name' | 'project_uuid' | 'quotas' | 'resource_type' | 'security_groups' | 'service_name' | 'service_settings' | 'service_settings_error_message' | 'service_settings_state' | 'service_settings_uuid' | 'skip_creation_of_default_subnet' | 'state' | 'subnet_cidr' | 'url' | 'uuid'>;
48957
+ field?: Array<'availability_zone' | 'backend_id' | 'created' | 'customer' | 'customer_abbreviation' | 'customer_name' | 'customer_native_name' | 'customer_uuid' | 'default_volume_type_name' | 'description' | 'error_message' | 'error_traceback' | 'external_network_id' | 'internal_network_id' | 'is_limit_based' | 'is_usage_based' | 'marketplace_category_name' | 'marketplace_category_uuid' | 'marketplace_offering_name' | 'marketplace_offering_plugin_options' | 'marketplace_offering_uuid' | 'marketplace_plan_uuid' | 'marketplace_resource_state' | 'marketplace_resource_uuid' | 'modified' | 'name' | 'project' | 'project_name' | 'project_uuid' | 'quotas' | 'resource_type' | 'security_groups' | 'service_name' | 'service_settings' | 'service_settings_error_message' | 'service_settings_state' | 'service_settings_uuid' | 'skip_creation_of_default_router' | 'skip_creation_of_default_subnet' | 'state' | 'subnet_cidr' | 'url' | 'uuid'>;
48925
48958
  /**
48926
48959
  * Name
48927
48960
  */
@@ -49076,7 +49109,7 @@ export type OpenstackTenantsRetrieveData = {
49076
49109
  uuid: string;
49077
49110
  };
49078
49111
  query?: {
49079
- field?: Array<'availability_zone' | 'backend_id' | 'created' | 'customer' | 'customer_abbreviation' | 'customer_name' | 'customer_native_name' | 'customer_uuid' | 'default_volume_type_name' | 'description' | 'error_message' | 'error_traceback' | 'external_network_id' | 'internal_network_id' | 'is_limit_based' | 'is_usage_based' | 'marketplace_category_name' | 'marketplace_category_uuid' | 'marketplace_offering_name' | 'marketplace_offering_plugin_options' | 'marketplace_offering_uuid' | 'marketplace_plan_uuid' | 'marketplace_resource_state' | 'marketplace_resource_uuid' | 'modified' | 'name' | 'project' | 'project_name' | 'project_uuid' | 'quotas' | 'resource_type' | 'security_groups' | 'service_name' | 'service_settings' | 'service_settings_error_message' | 'service_settings_state' | 'service_settings_uuid' | 'skip_creation_of_default_subnet' | 'state' | 'subnet_cidr' | 'url' | 'uuid'>;
49112
+ field?: Array<'availability_zone' | 'backend_id' | 'created' | 'customer' | 'customer_abbreviation' | 'customer_name' | 'customer_native_name' | 'customer_uuid' | 'default_volume_type_name' | 'description' | 'error_message' | 'error_traceback' | 'external_network_id' | 'internal_network_id' | 'is_limit_based' | 'is_usage_based' | 'marketplace_category_name' | 'marketplace_category_uuid' | 'marketplace_offering_name' | 'marketplace_offering_plugin_options' | 'marketplace_offering_uuid' | 'marketplace_plan_uuid' | 'marketplace_resource_state' | 'marketplace_resource_uuid' | 'modified' | 'name' | 'project' | 'project_name' | 'project_uuid' | 'quotas' | 'resource_type' | 'security_groups' | 'service_name' | 'service_settings' | 'service_settings_error_message' | 'service_settings_state' | 'service_settings_uuid' | 'skip_creation_of_default_router' | 'skip_creation_of_default_subnet' | 'state' | 'subnet_cidr' | 'url' | 'uuid'>;
49080
49113
  };
49081
49114
  url: '/api/openstack-tenants/{uuid}/';
49082
49115
  };
@@ -57667,13 +57700,13 @@ export type SupportIssueStatusesCountResponses = {
57667
57700
  200: unknown;
57668
57701
  };
57669
57702
  export type SupportIssueStatusesCreateData = {
57670
- body: IssueStatusRequest;
57703
+ body: IssueStatusCreateRequest;
57671
57704
  path?: never;
57672
57705
  query?: never;
57673
57706
  url: '/api/support-issue-statuses/';
57674
57707
  };
57675
57708
  export type SupportIssueStatusesCreateResponses = {
57676
- 201: IssueStatus;
57709
+ 201: IssueStatusCreate;
57677
57710
  };
57678
57711
  export type SupportIssueStatusesCreateResponse = SupportIssueStatusesCreateResponses[keyof SupportIssueStatusesCreateResponses];
57679
57712
  export type SupportIssueStatusesDestroyData = {
@@ -57716,7 +57749,7 @@ export type SupportIssueStatusesPartialUpdateResponses = {
57716
57749
  };
57717
57750
  export type SupportIssueStatusesPartialUpdateResponse = SupportIssueStatusesPartialUpdateResponses[keyof SupportIssueStatusesPartialUpdateResponses];
57718
57751
  export type SupportIssueStatusesUpdateData = {
57719
- body: IssueStatusRequest;
57752
+ body: IssueStatusCreateRequest;
57720
57753
  path: {
57721
57754
  uuid: string;
57722
57755
  };
@@ -57724,7 +57757,7 @@ export type SupportIssueStatusesUpdateData = {
57724
57757
  url: '/api/support-issue-statuses/{uuid}/';
57725
57758
  };
57726
57759
  export type SupportIssueStatusesUpdateResponses = {
57727
- 200: IssueStatus;
57760
+ 200: IssueStatusCreate;
57728
57761
  };
57729
57762
  export type SupportIssueStatusesUpdateResponse = SupportIssueStatusesUpdateResponses[keyof SupportIssueStatusesUpdateResponses];
57730
57763
  export type SupportIssuesListData = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "7.9.6-dev.21",
3
+ "version": "7.9.6-dev.23",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",