@corva/ui 3.57.0-2 → 3.57.0-3

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.
@@ -228,7 +228,7 @@ const validateDsn = (dsn) => {
228
228
 
229
229
  const MCP_SERVER_VERSION = '1.1.0';
230
230
 
231
- var version = "3.57.0-2";
231
+ var version = "3.57.0-3";
232
232
 
233
233
  const CORVA_UI_VERSION = version;
234
234
 
@@ -17860,10 +17860,14 @@ var clientsData = [
17860
17860
  "templates",
17861
17861
  "enable",
17862
17862
  "disable",
17863
+ "occurrences",
17863
17864
  "acknowledge",
17864
17865
  "classify",
17866
+ "transition",
17865
17867
  "totals",
17866
17868
  "details",
17869
+ "alertworkflows",
17870
+ "alert_workflows",
17867
17871
  "appreviews",
17868
17872
  "app_reviews",
17869
17873
  "approve",
@@ -19153,6 +19157,59 @@ var clientsData = [
19153
19157
  }
19154
19158
  }
19155
19159
  },
19160
+ {
19161
+ path: "/v2/alerts/{alert_id}/occurrences",
19162
+ method: "GET",
19163
+ summary: "List Alert Occurrences",
19164
+ tags: [
19165
+ "Alerts"
19166
+ ],
19167
+ parameters: [
19168
+ {
19169
+ name: "alert_id",
19170
+ "in": "path",
19171
+ type: "integer",
19172
+ required: true,
19173
+ description: "Alert ID"
19174
+ },
19175
+ {
19176
+ name: "order",
19177
+ "in": "query",
19178
+ type: "string",
19179
+ required: false,
19180
+ description: "Sort order by created_at: asc (default) or desc"
19181
+ },
19182
+ {
19183
+ name: "page",
19184
+ "in": "query",
19185
+ type: "integer",
19186
+ required: false,
19187
+ description: "Page number (enables pagination)"
19188
+ },
19189
+ {
19190
+ name: "per_page",
19191
+ "in": "query",
19192
+ type: "integer",
19193
+ required: false,
19194
+ description: "Items per page, max 1000 (enables pagination)"
19195
+ }
19196
+ ],
19197
+ responses: {
19198
+ "200": {
19199
+ description: "Successful response",
19200
+ schema: "{ data: { id: string, type: string, attributes: any }[] }"
19201
+ },
19202
+ "401": {
19203
+ description: "Unauthorized"
19204
+ },
19205
+ "403": {
19206
+ description: "Forbidden"
19207
+ },
19208
+ "404": {
19209
+ description: "Alert not found"
19210
+ }
19211
+ }
19212
+ },
19156
19213
  {
19157
19214
  path: "/v1/alerts",
19158
19215
  method: "GET",
@@ -19433,6 +19490,48 @@ var clientsData = [
19433
19490
  }
19434
19491
  }
19435
19492
  },
19493
+ {
19494
+ path: "/v1/alerts/{alert_id}/transition",
19495
+ method: "POST",
19496
+ summary: "Transition alert status",
19497
+ tags: [
19498
+ "Alerts"
19499
+ ],
19500
+ parameters: [
19501
+ {
19502
+ name: "alert_id",
19503
+ "in": "path",
19504
+ type: "integer",
19505
+ required: true,
19506
+ description: "Alert ID"
19507
+ }
19508
+ ],
19509
+ requestBody: {
19510
+ contentType: "application/json",
19511
+ schema: "any",
19512
+ required: true
19513
+ },
19514
+ responses: {
19515
+ "200": {
19516
+ description: "Alert with updated status and new activity entry",
19517
+ schema: "any"
19518
+ },
19519
+ "400": {
19520
+ description: "Invalid request (e.g. missing or blank status)"
19521
+ },
19522
+ "401": {
19523
+ description: "Authentication error",
19524
+ schema: "any"
19525
+ },
19526
+ "403": {
19527
+ description: "Unauthorized"
19528
+ },
19529
+ "404": {
19530
+ description: "Not found error",
19531
+ schema: "any"
19532
+ }
19533
+ }
19534
+ },
19436
19535
  {
19437
19536
  path: "/v1/alerts/totals",
19438
19537
  method: "GET",
@@ -19671,6 +19770,75 @@ var clientsData = [
19671
19770
  }
19672
19771
  }
19673
19772
  },
19773
+ {
19774
+ path: "/v1/alert_workflows",
19775
+ method: "GET",
19776
+ summary: "List Alert Workflows",
19777
+ tags: [
19778
+ "AlertWorkflows"
19779
+ ],
19780
+ parameters: [
19781
+ {
19782
+ name: "company_id",
19783
+ "in": "query",
19784
+ type: "integer",
19785
+ required: false,
19786
+ description: "Filter by company ID (must be nil/current company or a company accessible to the user)"
19787
+ }
19788
+ ],
19789
+ responses: {
19790
+ "200": {
19791
+ description: "Returns global workflows and workflows belonging to the current company, optionally filtered by company_id",
19792
+ schema: "any[]"
19793
+ },
19794
+ "401": {
19795
+ description: "Authentication error",
19796
+ schema: "any"
19797
+ },
19798
+ "403": {
19799
+ description: "Authorization error",
19800
+ schema: "any"
19801
+ },
19802
+ "404": {
19803
+ description: "Not found error",
19804
+ schema: "any"
19805
+ }
19806
+ }
19807
+ },
19808
+ {
19809
+ path: "/v1/alert_workflows/{id}",
19810
+ method: "GET",
19811
+ summary: "Get Alert Workflow",
19812
+ tags: [
19813
+ "AlertWorkflows"
19814
+ ],
19815
+ parameters: [
19816
+ {
19817
+ name: "id",
19818
+ "in": "path",
19819
+ type: "integer",
19820
+ required: true,
19821
+ description: "AlertWorkflow ID"
19822
+ }
19823
+ ],
19824
+ responses: {
19825
+ "200": {
19826
+ description: "Successful response",
19827
+ schema: "any"
19828
+ },
19829
+ "401": {
19830
+ description: "Authentication error",
19831
+ schema: "any"
19832
+ },
19833
+ "403": {
19834
+ description: "Authorization error",
19835
+ schema: "any"
19836
+ },
19837
+ "404": {
19838
+ description: "Workflow not found or not accessible by current company"
19839
+ }
19840
+ }
19841
+ },
19674
19842
  {
19675
19843
  path: "/v2/app_reviews",
19676
19844
  method: "GET",
@@ -46548,6 +46716,77 @@ var clientsData = [
46548
46716
  }
46549
46717
  }
46550
46718
  ],
46719
+ AlertWorkflows: [
46720
+ {
46721
+ path: "/v1/alert_workflows",
46722
+ method: "GET",
46723
+ summary: "List Alert Workflows",
46724
+ tags: [
46725
+ "AlertWorkflows"
46726
+ ],
46727
+ parameters: [
46728
+ {
46729
+ name: "company_id",
46730
+ "in": "query",
46731
+ type: "integer",
46732
+ required: false,
46733
+ description: "Filter by company ID (must be nil/current company or a company accessible to the user)"
46734
+ }
46735
+ ],
46736
+ responses: {
46737
+ "200": {
46738
+ description: "Returns global workflows and workflows belonging to the current company, optionally filtered by company_id",
46739
+ schema: "any[]"
46740
+ },
46741
+ "401": {
46742
+ description: "Authentication error",
46743
+ schema: "any"
46744
+ },
46745
+ "403": {
46746
+ description: "Authorization error",
46747
+ schema: "any"
46748
+ },
46749
+ "404": {
46750
+ description: "Not found error",
46751
+ schema: "any"
46752
+ }
46753
+ }
46754
+ },
46755
+ {
46756
+ path: "/v1/alert_workflows/{id}",
46757
+ method: "GET",
46758
+ summary: "Get Alert Workflow",
46759
+ tags: [
46760
+ "AlertWorkflows"
46761
+ ],
46762
+ parameters: [
46763
+ {
46764
+ name: "id",
46765
+ "in": "path",
46766
+ type: "integer",
46767
+ required: true,
46768
+ description: "AlertWorkflow ID"
46769
+ }
46770
+ ],
46771
+ responses: {
46772
+ "200": {
46773
+ description: "Successful response",
46774
+ schema: "any"
46775
+ },
46776
+ "401": {
46777
+ description: "Authentication error",
46778
+ schema: "any"
46779
+ },
46780
+ "403": {
46781
+ description: "Authorization error",
46782
+ schema: "any"
46783
+ },
46784
+ "404": {
46785
+ description: "Workflow not found or not accessible by current company"
46786
+ }
46787
+ }
46788
+ }
46789
+ ],
46551
46790
  Alerts: [
46552
46791
  {
46553
46792
  path: "/v1/alerts",
@@ -47112,6 +47351,48 @@ var clientsData = [
47112
47351
  }
47113
47352
  }
47114
47353
  },
47354
+ {
47355
+ path: "/v1/alerts/{alert_id}/transition",
47356
+ method: "POST",
47357
+ summary: "Transition alert status",
47358
+ tags: [
47359
+ "Alerts"
47360
+ ],
47361
+ parameters: [
47362
+ {
47363
+ name: "alert_id",
47364
+ "in": "path",
47365
+ type: "integer",
47366
+ required: true,
47367
+ description: "Alert ID"
47368
+ }
47369
+ ],
47370
+ requestBody: {
47371
+ contentType: "application/json",
47372
+ schema: "any",
47373
+ required: true
47374
+ },
47375
+ responses: {
47376
+ "200": {
47377
+ description: "Alert with updated status and new activity entry",
47378
+ schema: "any"
47379
+ },
47380
+ "400": {
47381
+ description: "Invalid request (e.g. missing or blank status)"
47382
+ },
47383
+ "401": {
47384
+ description: "Authentication error",
47385
+ schema: "any"
47386
+ },
47387
+ "403": {
47388
+ description: "Unauthorized"
47389
+ },
47390
+ "404": {
47391
+ description: "Not found error",
47392
+ schema: "any"
47393
+ }
47394
+ }
47395
+ },
47115
47396
  {
47116
47397
  path: "/v1/alerts/{id}",
47117
47398
  method: "GET",
@@ -47722,6 +48003,59 @@ var clientsData = [
47722
48003
  schema: "any"
47723
48004
  }
47724
48005
  }
48006
+ },
48007
+ {
48008
+ path: "/v2/alerts/{alert_id}/occurrences",
48009
+ method: "GET",
48010
+ summary: "List Alert Occurrences",
48011
+ tags: [
48012
+ "Alerts"
48013
+ ],
48014
+ parameters: [
48015
+ {
48016
+ name: "alert_id",
48017
+ "in": "path",
48018
+ type: "integer",
48019
+ required: true,
48020
+ description: "Alert ID"
48021
+ },
48022
+ {
48023
+ name: "order",
48024
+ "in": "query",
48025
+ type: "string",
48026
+ required: false,
48027
+ description: "Sort order by created_at: asc (default) or desc"
48028
+ },
48029
+ {
48030
+ name: "page",
48031
+ "in": "query",
48032
+ type: "integer",
48033
+ required: false,
48034
+ description: "Page number (enables pagination)"
48035
+ },
48036
+ {
48037
+ name: "per_page",
48038
+ "in": "query",
48039
+ type: "integer",
48040
+ required: false,
48041
+ description: "Items per page, max 1000 (enables pagination)"
48042
+ }
48043
+ ],
48044
+ responses: {
48045
+ "200": {
48046
+ description: "Successful response",
48047
+ schema: "{ data: { id: string, type: string, attributes: any }[] }"
48048
+ },
48049
+ "401": {
48050
+ description: "Unauthorized"
48051
+ },
48052
+ "403": {
48053
+ description: "Forbidden"
48054
+ },
48055
+ "404": {
48056
+ description: "Alert not found"
48057
+ }
48058
+ }
47725
48059
  }
47726
48060
  ],
47727
48061
  ApiKey: [
@@ -86262,10 +86596,14 @@ var entries = [
86262
86596
  "templates",
86263
86597
  "enable",
86264
86598
  "disable",
86599
+ "occurrences",
86265
86600
  "acknowledge",
86266
86601
  "classify",
86602
+ "transition",
86267
86603
  "totals",
86268
86604
  "details",
86605
+ "alertworkflows",
86606
+ "alert_workflows",
86269
86607
  "appreviews",
86270
86608
  "app_reviews",
86271
86609
  "approve",
@@ -86557,7 +86895,7 @@ var entries = [
86557
86895
  ],
86558
86896
  category: "clients",
86559
86897
  importPath: "@corva/ui/clients",
86560
- searchText: "corvaapi main api client for corva platform. provides methods for get, put, patch, post, delete requests. api http request fetch rest get post put delete patch abilitycheck v2 ability_check check_feature check_permission feed activities alerts v1 comments likes toggle definitions context trigger close check templates enable disable acknowledge classify totals details appreviews app_reviews approve decline assets favorites settings type_wells type_well reruns ancestor_ids resolve autocomplete programs clusters pads frac_fleets app_wells wells active_wells rigs active_well well_cache drillout_units frac fleets wirelines dashboardappannotations dashboard_app_annotations last_annotations dashboards users dashboard_apps bulk_create batch_update dashboard_folders dashboard_shares dashboard_folder_shares use clone use_template available_timezones data data_filters data_filters#2 files file sign preview download download_link url security groups assign_users copy_users wellview integration ingest bha frac_stage_design frac_stage_summary frac_stage_summary_calculated job_settings plugs .well-known jwks.json jwks messageproducer message_producer notifications acknowledge_all count unread security_policies companies permissions bulk_destroy grouped picklists items tasks user_token#1 user_token#2 user_token#3 user_token#4 sessions verification schemas export streaks identity_verifiers api_keys deactivate apps install packages upload app_categories categories featured types secrets appdatasets app_datasets mark_followable app_help_contents signed_url applogs app_logs events search apptypes app_types appsettingstemplates app_settings_templates share unshare copy publish appstreamtemplate app_stream_templates appstreamtemplateapp add_app update_app remove_app datasettypes dataset_types datset_types documents document_sections rig_templates aggregated_values rig aggregated values rig_template_categories rig_template_items tiers productsubscriptions product_subscriptions cancel deny platformsubscriptions platform_subscriptions resume provisioningsubscriptions provisioning_subscriptions app_streams purchasesubscriptions purchase_subscriptions subscriptionfeatures subscription_features wellcache corva blacklisteddatasets blacklisted_datasets app metrics app_metrics for_selected_apps appassets packagereviews package_reviews apppurchases app_purchases datasets filtered_by_apps appruns app_runs stop duplicate_check appstream idle_worker_stats create_backfill_stream force_resume batch_destroy update_edr_provider_connection_status appconnection app_connections update_package apperroralert app_error_alerts subscribe unsubscribe usage summaries workflows workflow_content_blocks workflow_apps workflowroles workflow_roles columnmappertemplates column_mapper_templates add_asset remove_asset columnmappertemplatechannels column_mapper_template_channels columnmappertemplaterules column_mapper_template_rules dashboard_workflows ungroup ungroup_all change_asset competitoranalysis competitor_analysis statistics company app_companies appstoretemplates app_store_templates appstoretemplatesections app_store_template_sections app_store_template_section appstorearticles app_store_articles remove_section signedurl audits dataset_audits permission_audits group_membership_audits provisioning_subscription_audits platform_subscription_audits purchase_subscription_audits event audit appusage usage_analytics app_usage usage_list view_date_list top_apps top_users total_usage_trend partialwellreruns partial_reruns list start_merging fail restart app_progress partialwellrerunappprogresses app_progresses searchsuggestions search_suggestions goals projects projectfolders project_folders projectfiles project_files registeredmodels registered_models appschedule app_schedules bulk_update_status package_audits apikey api_keys_management activate edrproviders edr_providers test_connection api_key_audits typewells padfracfleets pad_frac_fleets fracfleetcontracts frac_fleet_contracts interventionunits intervention_units interventionunitevents intervention_unit_events data export app data_export_app column_fields column_fields_list flat activity_code_mappings countries country_list revoltchat revolt_chat_sessions interventionunitreruns intervention_unit_reruns"
86898
+ searchText: "corvaapi main api client for corva platform. provides methods for get, put, patch, post, delete requests. api http request fetch rest get post put delete patch abilitycheck v2 ability_check check_feature check_permission feed activities alerts v1 comments likes toggle definitions context trigger close check templates enable disable occurrences acknowledge classify transition totals details alertworkflows alert_workflows appreviews app_reviews approve decline assets favorites settings type_wells type_well reruns ancestor_ids resolve autocomplete programs clusters pads frac_fleets app_wells wells active_wells rigs active_well well_cache drillout_units frac fleets wirelines dashboardappannotations dashboard_app_annotations last_annotations dashboards users dashboard_apps bulk_create batch_update dashboard_folders dashboard_shares dashboard_folder_shares use clone use_template available_timezones data data_filters data_filters#2 files file sign preview download download_link url security groups assign_users copy_users wellview integration ingest bha frac_stage_design frac_stage_summary frac_stage_summary_calculated job_settings plugs .well-known jwks.json jwks messageproducer message_producer notifications acknowledge_all count unread security_policies companies permissions bulk_destroy grouped picklists items tasks user_token#1 user_token#2 user_token#3 user_token#4 sessions verification schemas export streaks identity_verifiers api_keys deactivate apps install packages upload app_categories categories featured types secrets appdatasets app_datasets mark_followable app_help_contents signed_url applogs app_logs events search apptypes app_types appsettingstemplates app_settings_templates share unshare copy publish appstreamtemplate app_stream_templates appstreamtemplateapp add_app update_app remove_app datasettypes dataset_types datset_types documents document_sections rig_templates aggregated_values rig aggregated values rig_template_categories rig_template_items tiers productsubscriptions product_subscriptions cancel deny platformsubscriptions platform_subscriptions resume provisioningsubscriptions provisioning_subscriptions app_streams purchasesubscriptions purchase_subscriptions subscriptionfeatures subscription_features wellcache corva blacklisteddatasets blacklisted_datasets app metrics app_metrics for_selected_apps appassets packagereviews package_reviews apppurchases app_purchases datasets filtered_by_apps appruns app_runs stop duplicate_check appstream idle_worker_stats create_backfill_stream force_resume batch_destroy update_edr_provider_connection_status appconnection app_connections update_package apperroralert app_error_alerts subscribe unsubscribe usage summaries workflows workflow_content_blocks workflow_apps workflowroles workflow_roles columnmappertemplates column_mapper_templates add_asset remove_asset columnmappertemplatechannels column_mapper_template_channels columnmappertemplaterules column_mapper_template_rules dashboard_workflows ungroup ungroup_all change_asset competitoranalysis competitor_analysis statistics company app_companies appstoretemplates app_store_templates appstoretemplatesections app_store_template_sections app_store_template_section appstorearticles app_store_articles remove_section signedurl audits dataset_audits permission_audits group_membership_audits provisioning_subscription_audits platform_subscription_audits purchase_subscription_audits event audit appusage usage_analytics app_usage usage_list view_date_list top_apps top_users total_usage_trend partialwellreruns partial_reruns list start_merging fail restart app_progress partialwellrerunappprogresses app_progresses searchsuggestions search_suggestions goals projects projectfolders project_folders projectfiles project_files registeredmodels registered_models appschedule app_schedules bulk_update_status package_audits apikey api_keys_management activate edrproviders edr_providers test_connection api_key_audits typewells padfracfleets pad_frac_fleets fracfleetcontracts frac_fleet_contracts interventionunits intervention_units interventionunitevents intervention_unit_events data export app data_export_app column_fields column_fields_list flat activity_code_mappings countries country_list revoltchat revolt_chat_sessions interventionunitreruns intervention_unit_reruns"
86561
86899
  },
86562
86900
  {
86563
86901
  id: "client-corvaDataAPI",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corva/ui",
3
- "version": "3.57.0-2",
3
+ "version": "3.57.0-3",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "Shared components/utils for Corva ui projects",
6
6
  "keywords": [