@corva/ui 3.68.0-rc.0 → 3.68.0-rc.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.
@@ -231,7 +231,7 @@ const validateDsn = (dsn) => {
231
231
 
232
232
  const MCP_SERVER_VERSION = '1.3.0';
233
233
 
234
- var version = "3.68.0-rc.0";
234
+ var version = "3.68.0-rc.1";
235
235
 
236
236
  const CORVA_UI_VERSION = version;
237
237
 
@@ -18943,6 +18943,7 @@ var clientsData = [
18943
18943
  "close",
18944
18944
  "check",
18945
18945
  "templates",
18946
+ "save_as_template",
18946
18947
  "enable",
18947
18948
  "disable",
18948
18949
  "alertdefinitions",
@@ -18952,10 +18953,11 @@ var clientsData = [
18952
18953
  "alert_definitions",
18953
18954
  "alertgroups",
18954
18955
  "alert_group_users",
18955
- "alert_group_assets",
18956
+ "alert_group_scopes",
18956
18957
  "alert_group_configurations",
18957
18958
  "bulk_create",
18958
18959
  "bulk_destroy",
18960
+ "bulk_replace",
18959
18961
  "alertrbac",
18960
18962
  "alert_abilities",
18961
18963
  "companies",
@@ -18963,6 +18965,7 @@ var clientsData = [
18963
18965
  "abilities",
18964
18966
  "alert_rbac",
18965
18967
  "occurrences",
18968
+ "series",
18966
18969
  "acknowledge",
18967
18970
  "classify",
18968
18971
  "transition",
@@ -19017,6 +19020,7 @@ var clientsData = [
19017
19020
  "well_plan_checklists",
19018
19021
  "well plans",
19019
19022
  "well_plans",
19023
+ "copy",
19020
19024
  "well planning dashboards",
19021
19025
  "well_planning_dashboards",
19022
19026
  "data",
@@ -19051,6 +19055,8 @@ var clientsData = [
19051
19055
  "acknowledge_all",
19052
19056
  "count",
19053
19057
  "unread",
19058
+ "notificationpolicies",
19059
+ "notification_policies",
19054
19060
  "security_policies",
19055
19061
  "permissions",
19056
19062
  "grouped",
@@ -19094,7 +19100,6 @@ var clientsData = [
19094
19100
  "app_settings_templates",
19095
19101
  "share",
19096
19102
  "unshare",
19097
- "copy",
19098
19103
  "publish",
19099
19104
  "appstreamtemplate",
19100
19105
  "app_stream_templates",
@@ -19152,6 +19157,7 @@ var clientsData = [
19152
19157
  "idle_worker_stats",
19153
19158
  "create_backfill_stream",
19154
19159
  "force_resume",
19160
+ "reset_data_schedules",
19155
19161
  "batch_destroy",
19156
19162
  "update_edr_provider_connection_status",
19157
19163
  "appconnection",
@@ -20241,6 +20247,13 @@ var clientsData = [
20241
20247
  type: "string",
20242
20248
  required: true,
20243
20249
  description: "Template type: standard or preset"
20250
+ },
20251
+ {
20252
+ name: "scope",
20253
+ "in": "query",
20254
+ type: "string",
20255
+ required: false,
20256
+ description: "Library shelf to list. \"corva\" (default) lists Corva-owned templates, swapping in the caller's copy where one exists. \"company\" lists templates owned by the current company. \"user\" lists the current user's personal templates."
20244
20257
  }
20245
20258
  ],
20246
20259
  responses: {
@@ -20249,7 +20262,7 @@ var clientsData = [
20249
20262
  schema: "any[]"
20250
20263
  },
20251
20264
  "400": {
20252
- description: "Invalid template_type parameter"
20265
+ description: "Invalid template_type or scope parameter"
20253
20266
  },
20254
20267
  "401": {
20255
20268
  description: "Authentication error",
@@ -20265,6 +20278,56 @@ var clientsData = [
20265
20278
  }
20266
20279
  }
20267
20280
  },
20281
+ {
20282
+ path: "/v1/alerts/definitions/{id}/save_as_template",
20283
+ method: "POST",
20284
+ summary: "Save Alert Definition as Library Template",
20285
+ tags: [
20286
+ "Alerts"
20287
+ ],
20288
+ parameters: [
20289
+ {
20290
+ name: "id",
20291
+ "in": "path",
20292
+ type: "integer",
20293
+ required: true,
20294
+ description: "Source alert definition id"
20295
+ },
20296
+ {
20297
+ name: "template_type",
20298
+ "in": "query",
20299
+ type: "string",
20300
+ required: true,
20301
+ description: "Template type: standard or preset"
20302
+ },
20303
+ {
20304
+ name: "scope",
20305
+ "in": "query",
20306
+ type: "string",
20307
+ required: false,
20308
+ description: "Target library shelf. \"company\" (default) saves a company-owned template, \"user\" saves a personal template for the current user, \"corva\" saves to the Corva library (Corva principals only). The source definition is unaffected."
20309
+ }
20310
+ ],
20311
+ responses: {
20312
+ "200": {
20313
+ description: "The created template",
20314
+ schema: "any"
20315
+ },
20316
+ "400": {
20317
+ description: "Invalid template_type or scope parameter"
20318
+ },
20319
+ "401": {
20320
+ description: "Authentication error",
20321
+ schema: "any"
20322
+ },
20323
+ "403": {
20324
+ description: "Caller is not allowed to create templates on the target shelf"
20325
+ },
20326
+ "404": {
20327
+ description: "Alert definition not found"
20328
+ }
20329
+ }
20330
+ },
20268
20331
  {
20269
20332
  path: "/v1/alerts/definitions/{alert_definition_id}/enable",
20270
20333
  method: "POST",
@@ -20830,6 +20893,9 @@ var clientsData = [
20830
20893
  description: "Updated alert group",
20831
20894
  schema: "any"
20832
20895
  },
20896
+ "400": {
20897
+ description: "Validation error, including changing segment while the group has scopes or configuration overrides whose type is invalid for the new segment"
20898
+ },
20833
20899
  "401": {
20834
20900
  description: "Authentication error",
20835
20901
  schema: "any"
@@ -20995,9 +21061,9 @@ var clientsData = [
20995
21061
  }
20996
21062
  },
20997
21063
  {
20998
- path: "/v2/alert_groups/{alert_group_id}/alert_group_assets",
21064
+ path: "/v2/alert_groups/{alert_group_id}/alert_group_scopes",
20999
21065
  method: "GET",
21000
- summary: "List Group Assets",
21066
+ summary: "List Group Scopes",
21001
21067
  tags: [
21002
21068
  "AlertGroups"
21003
21069
  ],
@@ -21012,7 +21078,7 @@ var clientsData = [
21012
21078
  ],
21013
21079
  responses: {
21014
21080
  "200": {
21015
- description: "List of group assets",
21081
+ description: "List of group scope targets",
21016
21082
  schema: "any"
21017
21083
  },
21018
21084
  "401": {
@@ -21030,9 +21096,9 @@ var clientsData = [
21030
21096
  }
21031
21097
  },
21032
21098
  {
21033
- path: "/v2/alert_groups/{alert_group_id}/alert_group_assets",
21099
+ path: "/v2/alert_groups/{alert_group_id}/alert_group_scopes",
21034
21100
  method: "POST",
21035
- summary: "Add Asset to Group",
21101
+ summary: "Add Scope Target to Group",
21036
21102
  tags: [
21037
21103
  "AlertGroups"
21038
21104
  ],
@@ -21052,7 +21118,7 @@ var clientsData = [
21052
21118
  },
21053
21119
  responses: {
21054
21120
  "200": {
21055
- description: "Added asset",
21121
+ description: "Added scope target",
21056
21122
  schema: "any"
21057
21123
  },
21058
21124
  "401": {
@@ -21070,9 +21136,9 @@ var clientsData = [
21070
21136
  }
21071
21137
  },
21072
21138
  {
21073
- path: "/v2/alert_groups/{alert_group_id}/alert_group_assets/{id}",
21139
+ path: "/v2/alert_groups/{alert_group_id}/alert_group_scopes/{id}",
21074
21140
  method: "DELETE",
21075
- summary: "Remove Asset from Group",
21141
+ summary: "Remove Scope Target from Group",
21076
21142
  tags: [
21077
21143
  "AlertGroups"
21078
21144
  ],
@@ -21218,6 +21284,9 @@ var clientsData = [
21218
21284
  description: "Updated configuration",
21219
21285
  schema: "any"
21220
21286
  },
21287
+ "400": {
21288
+ description: "Validation error, or scope_type/scope_id provided without the other — the pair must always be updated together"
21289
+ },
21221
21290
  "401": {
21222
21291
  description: "Authentication error",
21223
21292
  schema: "any"
@@ -21357,9 +21426,9 @@ var clientsData = [
21357
21426
  }
21358
21427
  },
21359
21428
  {
21360
- path: "/v2/alert_groups/{alert_group_id}/alert_group_assets/bulk_create",
21429
+ path: "/v2/alert_groups/{alert_group_id}/alert_group_scopes/bulk_create",
21361
21430
  method: "POST",
21362
- summary: "Bulk Add Assets to Group",
21431
+ summary: "Bulk Add Scope Targets to Group",
21363
21432
  tags: [
21364
21433
  "AlertGroups"
21365
21434
  ],
@@ -21379,11 +21448,11 @@ var clientsData = [
21379
21448
  },
21380
21449
  responses: {
21381
21450
  "200": {
21382
- description: "Assets added (idempotent — assets already in the group are skipped)",
21451
+ description: "Scope targets added (idempotent — targets already in the group are skipped)",
21383
21452
  schema: "any"
21384
21453
  },
21385
21454
  "400": {
21386
- description: "Validation error; no assets were added"
21455
+ description: "Validation error; no scope targets were added"
21387
21456
  },
21388
21457
  "401": {
21389
21458
  description: "Authentication error",
@@ -21400,9 +21469,49 @@ var clientsData = [
21400
21469
  }
21401
21470
  },
21402
21471
  {
21403
- path: "/v2/alert_groups/{alert_group_id}/alert_group_assets/bulk_destroy",
21472
+ path: "/v2/alert_groups/{alert_group_id}/alert_group_scopes/bulk_destroy",
21404
21473
  method: "DELETE",
21405
- summary: "Bulk Remove Assets from Group",
21474
+ summary: "Bulk Remove Scope Targets from Group",
21475
+ tags: [
21476
+ "AlertGroups"
21477
+ ],
21478
+ parameters: [
21479
+ {
21480
+ name: "alert_group_id",
21481
+ "in": "path",
21482
+ type: "integer",
21483
+ required: true,
21484
+ description: ""
21485
+ }
21486
+ ],
21487
+ requestBody: {
21488
+ contentType: "application/json",
21489
+ schema: "any",
21490
+ required: true
21491
+ },
21492
+ responses: {
21493
+ "200": {
21494
+ description: "Scope targets removed",
21495
+ schema: "any"
21496
+ },
21497
+ "401": {
21498
+ description: "Authentication error",
21499
+ schema: "any"
21500
+ },
21501
+ "403": {
21502
+ description: "Authorization error",
21503
+ schema: "any"
21504
+ },
21505
+ "404": {
21506
+ description: "Not found error",
21507
+ schema: "any"
21508
+ }
21509
+ }
21510
+ },
21511
+ {
21512
+ path: "/v2/alert_groups/{alert_group_id}/alert_group_scopes/bulk_replace",
21513
+ method: "PUT",
21514
+ summary: "Replace Group Scope Targets",
21406
21515
  tags: [
21407
21516
  "AlertGroups"
21408
21517
  ],
@@ -21422,9 +21531,12 @@ var clientsData = [
21422
21531
  },
21423
21532
  responses: {
21424
21533
  "200": {
21425
- description: "Assets removed",
21534
+ description: "Scope set replaced with the payload: targets not in the payload are removed, new ones added, targets already in the group are kept unchanged. An explicit empty scopes array removes all scope targets",
21426
21535
  schema: "any"
21427
21536
  },
21537
+ "400": {
21538
+ description: "Missing scopes key or validation error; no changes were made"
21539
+ },
21428
21540
  "401": {
21429
21541
  description: "Authentication error",
21430
21542
  schema: "any"
@@ -21962,6 +22074,128 @@ var clientsData = [
21962
22074
  }
21963
22075
  }
21964
22076
  },
22077
+ {
22078
+ path: "/v2/alerts/occurrences/series",
22079
+ method: "GET",
22080
+ summary: "Alert Occurrence Time-Series",
22081
+ tags: [
22082
+ "Alerts"
22083
+ ],
22084
+ parameters: [
22085
+ {
22086
+ name: "last_alert_start",
22087
+ "in": "query",
22088
+ type: "integer",
22089
+ required: false,
22090
+ description: "Occurrence window lower bound (ms); defaults to 7 days ago"
22091
+ },
22092
+ {
22093
+ name: "last_alert_end",
22094
+ "in": "query",
22095
+ type: "integer",
22096
+ required: false,
22097
+ description: "Occurrence window upper bound (ms); defaults to now"
22098
+ },
22099
+ {
22100
+ name: "timezone",
22101
+ "in": "query",
22102
+ type: "string",
22103
+ required: false,
22104
+ description: "IANA timezone for bucketing; defaults to UTC"
22105
+ },
22106
+ {
22107
+ name: "interval",
22108
+ "in": "query",
22109
+ type: "string",
22110
+ required: false,
22111
+ description: "Bucket size; auto-selected from the range if omitted"
22112
+ },
22113
+ {
22114
+ name: "levels",
22115
+ "in": "query",
22116
+ type: "string",
22117
+ required: false,
22118
+ description: "Filter by per-fire level; comma-separated"
22119
+ },
22120
+ {
22121
+ name: "alert_definition_id",
22122
+ "in": "query",
22123
+ type: "string",
22124
+ required: false,
22125
+ description: "Filter by Alert Definition ID; comma-separated"
22126
+ },
22127
+ {
22128
+ name: "name",
22129
+ "in": "query",
22130
+ type: "string",
22131
+ required: false,
22132
+ description: "Filter by Alert Definition name"
22133
+ },
22134
+ {
22135
+ name: "assets",
22136
+ "in": "query",
22137
+ type: "string",
22138
+ required: false,
22139
+ description: "Filter by asset IDs; comma-separated"
22140
+ },
22141
+ {
22142
+ name: "rigs",
22143
+ "in": "query",
22144
+ type: "string",
22145
+ required: false,
22146
+ description: "Filter by rig (parent asset) IDs; comma-separated"
22147
+ },
22148
+ {
22149
+ name: "interventions",
22150
+ "in": "query",
22151
+ type: "string",
22152
+ required: false,
22153
+ description: "Filter by intervention unit IDs; comma-separated"
22154
+ },
22155
+ {
22156
+ name: "segment",
22157
+ "in": "query",
22158
+ type: "string",
22159
+ required: false,
22160
+ description: "Filter by segment; comma-separated"
22161
+ },
22162
+ {
22163
+ name: "status",
22164
+ "in": "query",
22165
+ type: "string",
22166
+ required: false,
22167
+ description: "Filter by Alert status; comma-separated"
22168
+ },
22169
+ {
22170
+ name: "subscription",
22171
+ "in": "query",
22172
+ type: "boolean",
22173
+ required: false,
22174
+ description: "Restrict to the caller's subscriptions"
22175
+ }
22176
+ ],
22177
+ responses: {
22178
+ "200": {
22179
+ description: "Successful response",
22180
+ schema: "{ interval: \"hour\" | \"day\" | \"month\", timezone: string, data: { bucket: string, groups: object[] }[] }"
22181
+ },
22182
+ "400": {
22183
+ description: "Invalid timezone, timestamp, range, or interval"
22184
+ },
22185
+ "401": {
22186
+ description: "Authentication error",
22187
+ schema: "any"
22188
+ },
22189
+ "403": {
22190
+ description: "Authorization error",
22191
+ schema: "any"
22192
+ },
22193
+ "404": {
22194
+ description: "Not found error",
22195
+ schema: "any"
22196
+ }
22197
+ }
22198
+ },
21965
22199
  {
21966
22200
  path: "/v1/alerts",
21967
22201
  method: "GET",
@@ -22909,7 +23143,7 @@ var clientsData = [
22909
23143
  "in": "query",
22910
23144
  type: "string",
22911
23145
  required: false,
22912
- description: "Search by asset status"
23146
+ description: "Search by asset status (wells only; status is null for other asset types)"
22913
23147
  },
22914
23148
  {
22915
23149
  name: "visibility",
@@ -29069,18 +29303,18 @@ var clientsData = [
29069
29303
  description: "Filter by well ID"
29070
29304
  },
29071
29305
  {
29072
- name: "source_well_id",
29306
+ name: "status",
29073
29307
  "in": "query",
29074
- type: "integer",
29308
+ type: "string",
29075
29309
  required: false,
29076
- description: "Filter by source well ID"
29310
+ description: "Filter by status"
29077
29311
  },
29078
29312
  {
29079
- name: "status",
29313
+ name: "search",
29080
29314
  "in": "query",
29081
29315
  type: "string",
29082
29316
  required: false,
29083
- description: "Filter by status"
29317
+ description: "Case-insensitive search by well plan name"
29084
29318
  },
29085
29319
  {
29086
29320
  name: "per_page",
@@ -29149,6 +29383,39 @@ var clientsData = [
29149
29383
  }
29150
29384
  }
29151
29385
  },
29386
+ {
29387
+ path: "/v2/well_plans/copy",
29388
+ method: "POST",
29389
+ summary: "Copy data from one well plan into another",
29390
+ tags: [
29391
+ "Well Plans"
29392
+ ],
29393
+ parameters: [
29394
+ ],
29395
+ requestBody: {
29396
+ contentType: "application/json",
29397
+ schema: "any",
29398
+ required: true
29399
+ },
29400
+ responses: {
29401
+ "200": {
29402
+ description: "Well plan copy created and enqueued for processing",
29403
+ schema: "any"
29404
+ },
29405
+ "401": {
29406
+ description: "Authentication error",
29407
+ schema: "any"
29408
+ },
29409
+ "403": {
29410
+ description: "Authorization error",
29411
+ schema: "any"
29412
+ },
29413
+ "404": {
29414
+ description: "Not found error",
29415
+ schema: "any"
29416
+ }
29417
+ }
29418
+ },
29152
29419
  {
29153
29420
  path: "/v2/well_plans/{id}",
29154
29421
  method: "GET",
@@ -32025,6 +32292,192 @@ var clientsData = [
32025
32292
  }
32026
32293
  }
32027
32294
  },
32295
+ {
32296
+ path: "/v2/notification_policies",
32297
+ method: "GET",
32298
+ summary: "List Notification Policies",
32299
+ tags: [
32300
+ "NotificationPolicies"
32301
+ ],
32302
+ parameters: [
32303
+ {
32304
+ name: "page",
32305
+ "in": "query",
32306
+ type: "integer",
32307
+ required: false,
32308
+ description: "Page number"
32309
+ },
32310
+ {
32311
+ name: "per_page",
32312
+ "in": "query",
32313
+ type: "integer",
32314
+ required: false,
32315
+ description: "Items per page"
32316
+ }
32317
+ ],
32318
+ responses: {
32319
+ "200": {
32320
+ description: "List of notification policies accessible to the current user",
32321
+ schema: "any"
32322
+ },
32323
+ "401": {
32324
+ description: "Authentication error",
32325
+ schema: "any"
32326
+ },
32327
+ "403": {
32328
+ description: "Authorization error",
32329
+ schema: "any"
32330
+ },
32331
+ "404": {
32332
+ description: "Not found error",
32333
+ schema: "any"
32334
+ }
32335
+ }
32336
+ },
32337
+ {
32338
+ path: "/v2/notification_policies",
32339
+ method: "POST",
32340
+ summary: "Create Notification Policy",
32341
+ tags: [
32342
+ "NotificationPolicies"
32343
+ ],
32344
+ parameters: [
32345
+ ],
32346
+ requestBody: {
32347
+ contentType: "application/json",
32348
+ schema: "any",
32349
+ required: true
32350
+ },
32351
+ responses: {
32352
+ "200": {
32353
+ description: "Created notification policy",
32354
+ schema: "any"
32355
+ },
32356
+ "400": {
32357
+ description: "Validation error"
32358
+ },
32359
+ "401": {
32360
+ description: "Authentication error",
32361
+ schema: "any"
32362
+ },
32363
+ "403": {
32364
+ description: "A scope row references a record the user cannot read"
32365
+ },
32366
+ "404": {
32367
+ description: "A scope row references a record that does not exist"
32368
+ }
32369
+ }
32370
+ },
32371
+ {
32372
+ path: "/v2/notification_policies/{id}",
32373
+ method: "GET",
32374
+ summary: "Get Notification Policy",
32375
+ tags: [
32376
+ "NotificationPolicies"
32377
+ ],
32378
+ parameters: [
32379
+ {
32380
+ name: "id",
32381
+ "in": "path",
32382
+ type: "integer",
32383
+ required: true,
32384
+ description: ""
32385
+ }
32386
+ ],
32387
+ responses: {
32388
+ "200": {
32389
+ description: "Notification policy details",
32390
+ schema: "any"
32391
+ },
32392
+ "401": {
32393
+ description: "Authentication error",
32394
+ schema: "any"
32395
+ },
32396
+ "403": {
32397
+ description: "Authorization error",
32398
+ schema: "any"
32399
+ },
32400
+ "404": {
32401
+ description: "Not found error",
32402
+ schema: "any"
32403
+ }
32404
+ }
32405
+ },
32406
+ {
32407
+ path: "/v2/notification_policies/{id}",
32408
+ method: "PATCH",
32409
+ summary: "Update Notification Policy",
32410
+ tags: [
32411
+ "NotificationPolicies"
32412
+ ],
32413
+ parameters: [
32414
+ {
32415
+ name: "id",
32416
+ "in": "path",
32417
+ type: "integer",
32418
+ required: true,
32419
+ description: ""
32420
+ }
32421
+ ],
32422
+ requestBody: {
32423
+ contentType: "application/json",
32424
+ schema: "any",
32425
+ required: true
32426
+ },
32427
+ responses: {
32428
+ "200": {
32429
+ description: "Updated notification policy",
32430
+ schema: "any"
32431
+ },
32432
+ "400": {
32433
+ description: "Validation error"
32434
+ },
32435
+ "401": {
32436
+ description: "Authentication error",
32437
+ schema: "any"
32438
+ },
32439
+ "403": {
32440
+ description: "A scope row references a record the user cannot read"
32441
+ },
32442
+ "404": {
32443
+ description: "A scope row references a record that does not exist"
32444
+ }
32445
+ }
32446
+ },
32447
+ {
32448
+ path: "/v2/notification_policies/{id}",
32449
+ method: "DELETE",
32450
+ summary: "Delete Notification Policy",
32451
+ tags: [
32452
+ "NotificationPolicies"
32453
+ ],
32454
+ parameters: [
32455
+ {
32456
+ name: "id",
32457
+ "in": "path",
32458
+ type: "integer",
32459
+ required: true,
32460
+ description: ""
32461
+ }
32462
+ ],
32463
+ responses: {
32464
+ "200": {
32465
+ description: "Deleted"
32466
+ },
32467
+ "401": {
32468
+ description: "Authentication error",
32469
+ schema: "any"
32470
+ },
32471
+ "403": {
32472
+ description: "Authorization error",
32473
+ schema: "any"
32474
+ },
32475
+ "404": {
32476
+ description: "Not found error",
32477
+ schema: "any"
32478
+ }
32479
+ }
32480
+ },
32028
32481
  {
32029
32482
  path: "/v2/security_policies",
32030
32483
  method: "GET",
@@ -41640,6 +42093,50 @@ var clientsData = [
41640
42093
  }
41641
42094
  }
41642
42095
  },
42096
+ {
42097
+ path: "/v1/app_streams/{id}/reset_data_schedules",
42098
+ method: "POST",
42099
+ summary: "Reset data_time scheduled app cursors and schedules for a purge/rerun window",
42100
+ tags: [
42101
+ "AppStream"
42102
+ ],
42103
+ parameters: [
42104
+ {
42105
+ name: "id",
42106
+ "in": "path",
42107
+ type: "integer",
42108
+ required: true,
42109
+ description: "AppStream ID"
42110
+ }
42111
+ ],
42112
+ requestBody: {
42113
+ contentType: "application/json",
42114
+ schema: "integer",
42115
+ required: true
42116
+ },
42117
+ responses: {
42118
+ "200": {
42119
+ description: "Data schedules were reset",
42120
+ schema: "any"
42121
+ },
42122
+ "400": {
42123
+ description: "Invalid or missing window parameters",
42124
+ schema: "any"
42125
+ },
42126
+ "401": {
42127
+ description: "Authentication error",
42128
+ schema: "any"
42129
+ },
42130
+ "403": {
42131
+ description: "Authorization error",
42132
+ schema: "any"
42133
+ },
42134
+ "404": {
42135
+ description: "Not found error",
42136
+ schema: "any"
42137
+ }
42138
+ }
42139
+ },
41643
42140
  {
41644
42141
  path: "/v1/app_streams/batch_update",
41645
42142
  method: "PATCH",
@@ -51046,9 +51543,9 @@ var clientsData = [
51046
51543
  }
51047
51544
  },
51048
51545
  {
51049
- path: "/v2/alert_groups/{alert_group_id}/alert_group_assets",
51546
+ path: "/v2/alert_groups/{alert_group_id}/alert_group_configurations",
51050
51547
  method: "GET",
51051
- summary: "List Group Assets",
51548
+ summary: "List Group Configurations",
51052
51549
  tags: [
51053
51550
  "AlertGroups"
51054
51551
  ],
@@ -51063,7 +51560,7 @@ var clientsData = [
51063
51560
  ],
51064
51561
  responses: {
51065
51562
  "200": {
51066
- description: "List of group assets",
51563
+ description: "List of configurations",
51067
51564
  schema: "any"
51068
51565
  },
51069
51566
  "401": {
@@ -51081,9 +51578,9 @@ var clientsData = [
51081
51578
  }
51082
51579
  },
51083
51580
  {
51084
- path: "/v2/alert_groups/{alert_group_id}/alert_group_assets",
51581
+ path: "/v2/alert_groups/{alert_group_id}/alert_group_configurations",
51085
51582
  method: "POST",
51086
- summary: "Add Asset to Group",
51583
+ summary: "Create Group Configuration",
51087
51584
  tags: [
51088
51585
  "AlertGroups"
51089
51586
  ],
@@ -51103,7 +51600,7 @@ var clientsData = [
51103
51600
  },
51104
51601
  responses: {
51105
51602
  "200": {
51106
- description: "Added asset",
51603
+ description: "Created configuration",
51107
51604
  schema: "any"
51108
51605
  },
51109
51606
  "401": {
@@ -51121,9 +51618,9 @@ var clientsData = [
51121
51618
  }
51122
51619
  },
51123
51620
  {
51124
- path: "/v2/alert_groups/{alert_group_id}/alert_group_assets/{id}",
51125
- method: "DELETE",
51126
- summary: "Remove Asset from Group",
51621
+ path: "/v2/alert_groups/{alert_group_id}/alert_group_configurations/{id}",
51622
+ method: "PATCH",
51623
+ summary: "Update Group Configuration",
51127
51624
  tags: [
51128
51625
  "AlertGroups"
51129
51626
  ],
@@ -51143,9 +51640,18 @@ var clientsData = [
51143
51640
  description: ""
51144
51641
  }
51145
51642
  ],
51643
+ requestBody: {
51644
+ contentType: "application/json",
51645
+ schema: "any",
51646
+ required: true
51647
+ },
51146
51648
  responses: {
51147
51649
  "200": {
51148
- description: "Removed"
51650
+ description: "Updated configuration",
51651
+ schema: "any"
51652
+ },
51653
+ "400": {
51654
+ description: "Validation error, or scope_type/scope_id provided without the other — the pair must always be updated together"
51149
51655
  },
51150
51656
  "401": {
51151
51657
  description: "Authentication error",
@@ -51162,9 +51668,9 @@ var clientsData = [
51162
51668
  }
51163
51669
  },
51164
51670
  {
51165
- path: "/v2/alert_groups/{alert_group_id}/alert_group_assets/bulk_create",
51166
- method: "POST",
51167
- summary: "Bulk Add Assets to Group",
51671
+ path: "/v2/alert_groups/{alert_group_id}/alert_group_configurations/{id}",
51672
+ method: "DELETE",
51673
+ summary: "Delete Group Configuration",
51168
51674
  tags: [
51169
51675
  "AlertGroups"
51170
51676
  ],
@@ -51175,20 +51681,18 @@ var clientsData = [
51175
51681
  type: "integer",
51176
51682
  required: true,
51177
51683
  description: ""
51684
+ },
51685
+ {
51686
+ name: "id",
51687
+ "in": "path",
51688
+ type: "integer",
51689
+ required: true,
51690
+ description: ""
51178
51691
  }
51179
51692
  ],
51180
- requestBody: {
51181
- contentType: "application/json",
51182
- schema: "any",
51183
- required: true
51184
- },
51185
51693
  responses: {
51186
51694
  "200": {
51187
- description: "Assets added (idempotent — assets already in the group are skipped)",
51188
- schema: "any"
51189
- },
51190
- "400": {
51191
- description: "Validation error; no assets were added"
51695
+ description: "Deleted"
51192
51696
  },
51193
51697
  "401": {
51194
51698
  description: "Authentication error",
@@ -51205,9 +51709,9 @@ var clientsData = [
51205
51709
  }
51206
51710
  },
51207
51711
  {
51208
- path: "/v2/alert_groups/{alert_group_id}/alert_group_assets/bulk_destroy",
51209
- method: "DELETE",
51210
- summary: "Bulk Remove Assets from Group",
51712
+ path: "/v2/alert_groups/{alert_group_id}/alert_group_configurations/bulk_create",
51713
+ method: "POST",
51714
+ summary: "Bulk Create Group Configurations",
51211
51715
  tags: [
51212
51716
  "AlertGroups"
51213
51717
  ],
@@ -51227,9 +51731,12 @@ var clientsData = [
51227
51731
  },
51228
51732
  responses: {
51229
51733
  "200": {
51230
- description: "Assets removed",
51734
+ description: "Configurations created (all-or-nothing — none created if any is invalid)",
51231
51735
  schema: "any"
51232
51736
  },
51737
+ "400": {
51738
+ description: "Validation error; no configurations were created"
51739
+ },
51233
51740
  "401": {
51234
51741
  description: "Authentication error",
51235
51742
  schema: "any"
@@ -51245,9 +51752,9 @@ var clientsData = [
51245
51752
  }
51246
51753
  },
51247
51754
  {
51248
- path: "/v2/alert_groups/{alert_group_id}/alert_group_configurations",
51249
- method: "GET",
51250
- summary: "List Group Configurations",
51755
+ path: "/v2/alert_groups/{alert_group_id}/alert_group_configurations/bulk_destroy",
51756
+ method: "DELETE",
51757
+ summary: "Bulk Delete Group Configurations",
51251
51758
  tags: [
51252
51759
  "AlertGroups"
51253
51760
  ],
@@ -51260,9 +51767,14 @@ var clientsData = [
51260
51767
  description: ""
51261
51768
  }
51262
51769
  ],
51770
+ requestBody: {
51771
+ contentType: "application/json",
51772
+ schema: "any",
51773
+ required: true
51774
+ },
51263
51775
  responses: {
51264
51776
  "200": {
51265
- description: "List of configurations",
51777
+ description: "Configurations removed",
51266
51778
  schema: "any"
51267
51779
  },
51268
51780
  "401": {
@@ -51280,9 +51792,9 @@ var clientsData = [
51280
51792
  }
51281
51793
  },
51282
51794
  {
51283
- path: "/v2/alert_groups/{alert_group_id}/alert_group_configurations",
51284
- method: "POST",
51285
- summary: "Create Group Configuration",
51795
+ path: "/v2/alert_groups/{alert_group_id}/alert_group_scopes",
51796
+ method: "GET",
51797
+ summary: "List Group Scopes",
51286
51798
  tags: [
51287
51799
  "AlertGroups"
51288
51800
  ],
@@ -51295,14 +51807,9 @@ var clientsData = [
51295
51807
  description: ""
51296
51808
  }
51297
51809
  ],
51298
- requestBody: {
51299
- contentType: "application/json",
51300
- schema: "any",
51301
- required: true
51302
- },
51303
51810
  responses: {
51304
51811
  "200": {
51305
- description: "Created configuration",
51812
+ description: "List of group scope targets",
51306
51813
  schema: "any"
51307
51814
  },
51308
51815
  "401": {
@@ -51320,9 +51827,9 @@ var clientsData = [
51320
51827
  }
51321
51828
  },
51322
51829
  {
51323
- path: "/v2/alert_groups/{alert_group_id}/alert_group_configurations/{id}",
51324
- method: "PATCH",
51325
- summary: "Update Group Configuration",
51830
+ path: "/v2/alert_groups/{alert_group_id}/alert_group_scopes",
51831
+ method: "POST",
51832
+ summary: "Add Scope Target to Group",
51326
51833
  tags: [
51327
51834
  "AlertGroups"
51328
51835
  ],
@@ -51333,13 +51840,6 @@ var clientsData = [
51333
51840
  type: "integer",
51334
51841
  required: true,
51335
51842
  description: ""
51336
- },
51337
- {
51338
- name: "id",
51339
- "in": "path",
51340
- type: "integer",
51341
- required: true,
51342
- description: ""
51343
51843
  }
51344
51844
  ],
51345
51845
  requestBody: {
@@ -51349,7 +51849,7 @@ var clientsData = [
51349
51849
  },
51350
51850
  responses: {
51351
51851
  "200": {
51352
- description: "Updated configuration",
51852
+ description: "Added scope target",
51353
51853
  schema: "any"
51354
51854
  },
51355
51855
  "401": {
@@ -51367,9 +51867,9 @@ var clientsData = [
51367
51867
  }
51368
51868
  },
51369
51869
  {
51370
- path: "/v2/alert_groups/{alert_group_id}/alert_group_configurations/{id}",
51870
+ path: "/v2/alert_groups/{alert_group_id}/alert_group_scopes/{id}",
51371
51871
  method: "DELETE",
51372
- summary: "Delete Group Configuration",
51872
+ summary: "Remove Scope Target from Group",
51373
51873
  tags: [
51374
51874
  "AlertGroups"
51375
51875
  ],
@@ -51391,7 +51891,7 @@ var clientsData = [
51391
51891
  ],
51392
51892
  responses: {
51393
51893
  "200": {
51394
- description: "Deleted"
51894
+ description: "Removed"
51395
51895
  },
51396
51896
  "401": {
51397
51897
  description: "Authentication error",
@@ -51408,9 +51908,9 @@ var clientsData = [
51408
51908
  }
51409
51909
  },
51410
51910
  {
51411
- path: "/v2/alert_groups/{alert_group_id}/alert_group_configurations/bulk_create",
51911
+ path: "/v2/alert_groups/{alert_group_id}/alert_group_scopes/bulk_create",
51412
51912
  method: "POST",
51413
- summary: "Bulk Create Group Configurations",
51913
+ summary: "Bulk Add Scope Targets to Group",
51414
51914
  tags: [
51415
51915
  "AlertGroups"
51416
51916
  ],
@@ -51430,11 +51930,11 @@ var clientsData = [
51430
51930
  },
51431
51931
  responses: {
51432
51932
  "200": {
51433
- description: "Configurations created (all-or-nothingnone created if any is invalid)",
51933
+ description: "Scope targets added (idempotenttargets already in the group are skipped)",
51434
51934
  schema: "any"
51435
51935
  },
51436
51936
  "400": {
51437
- description: "Validation error; no configurations were created"
51937
+ description: "Validation error; no scope targets were added"
51438
51938
  },
51439
51939
  "401": {
51440
51940
  description: "Authentication error",
@@ -51451,9 +51951,9 @@ var clientsData = [
51451
51951
  }
51452
51952
  },
51453
51953
  {
51454
- path: "/v2/alert_groups/{alert_group_id}/alert_group_configurations/bulk_destroy",
51954
+ path: "/v2/alert_groups/{alert_group_id}/alert_group_scopes/bulk_destroy",
51455
51955
  method: "DELETE",
51456
- summary: "Bulk Delete Group Configurations",
51956
+ summary: "Bulk Remove Scope Targets from Group",
51457
51957
  tags: [
51458
51958
  "AlertGroups"
51459
51959
  ],
@@ -51473,7 +51973,7 @@ var clientsData = [
51473
51973
  },
51474
51974
  responses: {
51475
51975
  "200": {
51476
- description: "Configurations removed",
51976
+ description: "Scope targets removed",
51477
51977
  schema: "any"
51478
51978
  },
51479
51979
  "401": {
@@ -51490,6 +51990,49 @@ var clientsData = [
51490
51990
  }
51491
51991
  }
51492
51992
  },
51993
+ {
51994
+ path: "/v2/alert_groups/{alert_group_id}/alert_group_scopes/bulk_replace",
51995
+ method: "PUT",
51996
+ summary: "Replace Group Scope Targets",
51997
+ tags: [
51998
+ "AlertGroups"
51999
+ ],
52000
+ parameters: [
52001
+ {
52002
+ name: "alert_group_id",
52003
+ "in": "path",
52004
+ type: "integer",
52005
+ required: true,
52006
+ description: ""
52007
+ }
52008
+ ],
52009
+ requestBody: {
52010
+ contentType: "application/json",
52011
+ schema: "any",
52012
+ required: true
52013
+ },
52014
+ responses: {
52015
+ "200": {
52016
+ description: "Scope set replaced with the payload: targets not in the payload are removed, new ones added, targets already in the group are kept unchanged. An explicit empty scopes array removes all scope targets",
52017
+ schema: "any"
52018
+ },
52019
+ "400": {
52020
+ description: "Missing scopes key or validation error; no changes were made"
52021
+ },
52022
+ "401": {
52023
+ description: "Authentication error",
52024
+ schema: "any"
52025
+ },
52026
+ "403": {
52027
+ description: "Authorization error",
52028
+ schema: "any"
52029
+ },
52030
+ "404": {
52031
+ description: "Not found error",
52032
+ schema: "any"
52033
+ }
52034
+ }
52035
+ },
51493
52036
  {
51494
52037
  path: "/v2/alert_groups/{alert_group_id}/alert_group_users",
51495
52038
  method: "GET",
@@ -51750,6 +52293,9 @@ var clientsData = [
51750
52293
  description: "Updated alert group",
51751
52294
  schema: "any"
51752
52295
  },
52296
+ "400": {
52297
+ description: "Validation error, including changing segment while the group has scopes or configuration overrides whose type is invalid for the new segment"
52298
+ },
51753
52299
  "401": {
51754
52300
  description: "Authentication error",
51755
52301
  schema: "any"
@@ -53193,6 +53739,56 @@ var clientsData = [
53193
53739
  }
53194
53740
  }
53195
53741
  },
53742
+ {
53743
+ path: "/v1/alerts/definitions/{id}/save_as_template",
53744
+ method: "POST",
53745
+ summary: "Save Alert Definition as Library Template",
53746
+ tags: [
53747
+ "Alerts"
53748
+ ],
53749
+ parameters: [
53750
+ {
53751
+ name: "id",
53752
+ "in": "path",
53753
+ type: "integer",
53754
+ required: true,
53755
+ description: "Source alert definition id"
53756
+ },
53757
+ {
53758
+ name: "template_type",
53759
+ "in": "query",
53760
+ type: "string",
53761
+ required: true,
53762
+ description: "Template type: standard or preset"
53763
+ },
53764
+ {
53765
+ name: "scope",
53766
+ "in": "query",
53767
+ type: "string",
53768
+ required: false,
53769
+ description: "Target library shelf. \"company\" (default) saves a company-owned template, \"user\" saves a personal template for the current user, \"corva\" saves to the Corva library (Corva principals only). The source definition is unaffected."
53770
+ }
53771
+ ],
53772
+ responses: {
53773
+ "200": {
53774
+ description: "The created template",
53775
+ schema: "any"
53776
+ },
53777
+ "400": {
53778
+ description: "Invalid template_type or scope parameter"
53779
+ },
53780
+ "401": {
53781
+ description: "Authentication error",
53782
+ schema: "any"
53783
+ },
53784
+ "403": {
53785
+ description: "Caller is not allowed to create templates on the target shelf"
53786
+ },
53787
+ "404": {
53788
+ description: "Alert definition not found"
53789
+ }
53790
+ }
53791
+ },
53196
53792
  {
53197
53793
  path: "/v1/alerts/definitions/close",
53198
53794
  method: "POST",
@@ -53282,6 +53878,13 @@ var clientsData = [
53282
53878
  type: "string",
53283
53879
  required: true,
53284
53880
  description: "Template type: standard or preset"
53881
+ },
53882
+ {
53883
+ name: "scope",
53884
+ "in": "query",
53885
+ type: "string",
53886
+ required: false,
53887
+ description: "Library shelf to list. \"corva\" (default) lists Corva-owned templates, swapping in the caller's copy where one exists. \"company\" lists templates owned by the current company. \"user\" lists the current user's personal templates."
53285
53888
  }
53286
53889
  ],
53287
53890
  responses: {
@@ -53290,7 +53893,7 @@ var clientsData = [
53290
53893
  schema: "any[]"
53291
53894
  },
53292
53895
  "400": {
53293
- description: "Invalid template_type parameter"
53896
+ description: "Invalid template_type or scope parameter"
53294
53897
  },
53295
53898
  "401": {
53296
53899
  description: "Authentication error",
@@ -53748,6 +54351,128 @@ var clientsData = [
53748
54351
  description: "Alert not found"
53749
54352
  }
53750
54353
  }
54354
+ },
54355
+ {
54356
+ path: "/v2/alerts/occurrences/series",
54357
+ method: "GET",
54358
+ summary: "Alert Occurrence Time-Series",
54359
+ tags: [
54360
+ "Alerts"
54361
+ ],
54362
+ parameters: [
54363
+ {
54364
+ name: "last_alert_start",
54365
+ "in": "query",
54366
+ type: "integer",
54367
+ required: false,
54368
+ description: "Occurrence window lower bound (ms); defaults to 7 days ago"
54369
+ },
54370
+ {
54371
+ name: "last_alert_end",
54372
+ "in": "query",
54373
+ type: "integer",
54374
+ required: false,
54375
+ description: "Occurrence window upper bound (ms); defaults to now"
54376
+ },
54377
+ {
54378
+ name: "timezone",
54379
+ "in": "query",
54380
+ type: "string",
54381
+ required: false,
54382
+ description: "IANA timezone for bucketing; defaults to UTC"
54383
+ },
54384
+ {
54385
+ name: "interval",
54386
+ "in": "query",
54387
+ type: "string",
54388
+ required: false,
54389
+ description: "Bucket size; auto-selected from the range if omitted"
54390
+ },
54391
+ {
54392
+ name: "levels",
54393
+ "in": "query",
54394
+ type: "string",
54395
+ required: false,
54396
+ description: "Filter by per-fire level; comma-separated"
54397
+ },
54398
+ {
54399
+ name: "alert_definition_id",
54400
+ "in": "query",
54401
+ type: "string",
54402
+ required: false,
54403
+ description: "Filter by Alert Definition ID; comma-separated"
54404
+ },
54405
+ {
54406
+ name: "name",
54407
+ "in": "query",
54408
+ type: "string",
54409
+ required: false,
54410
+ description: "Filter by Alert Definition name"
54411
+ },
54412
+ {
54413
+ name: "assets",
54414
+ "in": "query",
54415
+ type: "string",
54416
+ required: false,
54417
+ description: "Filter by asset IDs; comma-separated"
54418
+ },
54419
+ {
54420
+ name: "rigs",
54421
+ "in": "query",
54422
+ type: "string",
54423
+ required: false,
54424
+ description: "Filter by rig (parent asset) IDs; comma-separated"
54425
+ },
54426
+ {
54427
+ name: "interventions",
54428
+ "in": "query",
54429
+ type: "string",
54430
+ required: false,
54431
+ description: "Filter by intervention unit IDs; comma-separated"
54432
+ },
54433
+ {
54434
+ name: "segment",
54435
+ "in": "query",
54436
+ type: "string",
54437
+ required: false,
54438
+ description: "Filter by segment; comma-separated"
54439
+ },
54440
+ {
54441
+ name: "status",
54442
+ "in": "query",
54443
+ type: "string",
54444
+ required: false,
54445
+ description: "Filter by Alert status; comma-separated"
54446
+ },
54447
+ {
54448
+ name: "subscription",
54449
+ "in": "query",
54450
+ type: "boolean",
54451
+ required: false,
54452
+ description: "Restrict to the caller's subscriptions"
54453
+ }
54454
+ ],
54455
+ responses: {
54456
+ "200": {
54457
+ description: "Successful response",
54458
+ schema: "{ interval: \"hour\" | \"day\" | \"month\", timezone: string, data: { bucket: string, groups: object[] }[] }"
54459
+ },
54460
+ "400": {
54461
+ description: "Invalid timezone, timestamp, range, or interval"
54462
+ },
54463
+ "401": {
54464
+ description: "Authentication error",
54465
+ schema: "any"
54466
+ },
54467
+ "403": {
54468
+ description: "Authorization error",
54469
+ schema: "any"
54470
+ },
54471
+ "404": {
54472
+ description: "Not found error",
54473
+ schema: "any"
54474
+ }
54475
+ }
53751
54476
  }
53752
54477
  ],
53753
54478
  ApiKey: [
@@ -57108,9 +57833,77 @@ var clientsData = [
57108
57833
  }
57109
57834
  },
57110
57835
  {
57111
- path: "/v1/app_streams",
57112
- method: "POST",
57113
- summary: "Create AppStream",
57836
+ path: "/v1/app_streams",
57837
+ method: "POST",
57838
+ summary: "Create AppStream",
57839
+ tags: [
57840
+ "AppStream"
57841
+ ],
57842
+ parameters: [
57843
+ ],
57844
+ requestBody: {
57845
+ contentType: "application/json",
57846
+ schema: "string",
57847
+ required: true
57848
+ },
57849
+ responses: {
57850
+ "200": {
57851
+ description: "Created AppStream",
57852
+ schema: "any"
57853
+ },
57854
+ "401": {
57855
+ description: "Authentication error",
57856
+ schema: "any"
57857
+ },
57858
+ "403": {
57859
+ description: "Authorization error",
57860
+ schema: "any"
57861
+ },
57862
+ "404": {
57863
+ description: "Not found error",
57864
+ schema: "any"
57865
+ }
57866
+ }
57867
+ },
57868
+ {
57869
+ path: "/v1/app_streams/{id}",
57870
+ method: "GET",
57871
+ summary: "Show AppStream",
57872
+ tags: [
57873
+ "AppStream"
57874
+ ],
57875
+ parameters: [
57876
+ {
57877
+ name: "id",
57878
+ "in": "path",
57879
+ type: "integer",
57880
+ required: true,
57881
+ description: "AppStream ID"
57882
+ }
57883
+ ],
57884
+ responses: {
57885
+ "200": {
57886
+ description: "Successful response",
57887
+ schema: "any"
57888
+ },
57889
+ "401": {
57890
+ description: "Authentication error",
57891
+ schema: "any"
57892
+ },
57893
+ "403": {
57894
+ description: "Authorization error",
57895
+ schema: "any"
57896
+ },
57897
+ "404": {
57898
+ description: "Not found error",
57899
+ schema: "any"
57900
+ }
57901
+ }
57902
+ },
57903
+ {
57904
+ path: "/v1/app_streams/{id}",
57905
+ method: "PATCH",
57906
+ summary: "Update AppStream",
57114
57907
  tags: [
57115
57908
  "AppStream"
57116
57909
  ],
@@ -57123,7 +57916,7 @@ var clientsData = [
57123
57916
  },
57124
57917
  responses: {
57125
57918
  "200": {
57126
- description: "Created AppStream",
57919
+ description: "Updated AppStream",
57127
57920
  schema: "any"
57128
57921
  },
57129
57922
  "401": {
@@ -57142,8 +57935,8 @@ var clientsData = [
57142
57935
  },
57143
57936
  {
57144
57937
  path: "/v1/app_streams/{id}",
57145
- method: "GET",
57146
- summary: "Show AppStream",
57938
+ method: "DELETE",
57939
+ summary: "Delete AppStream",
57147
57940
  tags: [
57148
57941
  "AppStream"
57149
57942
  ],
@@ -57158,8 +57951,7 @@ var clientsData = [
57158
57951
  ],
57159
57952
  responses: {
57160
57953
  "200": {
57161
- description: "Successful response",
57162
- schema: "any"
57954
+ description: "AppStream deleted"
57163
57955
  },
57164
57956
  "401": {
57165
57957
  description: "Authentication error",
@@ -57176,9 +57968,9 @@ var clientsData = [
57176
57968
  }
57177
57969
  },
57178
57970
  {
57179
- path: "/v1/app_streams/{id}",
57180
- method: "PATCH",
57181
- summary: "Update AppStream",
57971
+ path: "/v1/app_streams/{id}/clone",
57972
+ method: "POST",
57973
+ summary: "Clone AppStream",
57182
57974
  tags: [
57183
57975
  "AppStream"
57184
57976
  ],
@@ -57191,7 +57983,7 @@ var clientsData = [
57191
57983
  },
57192
57984
  responses: {
57193
57985
  "200": {
57194
- description: "Updated AppStream",
57986
+ description: "Cloned AppStream",
57195
57987
  schema: "any"
57196
57988
  },
57197
57989
  "401": {
@@ -57209,43 +58001,9 @@ var clientsData = [
57209
58001
  }
57210
58002
  },
57211
58003
  {
57212
- path: "/v1/app_streams/{id}",
57213
- method: "DELETE",
57214
- summary: "Delete AppStream",
57215
- tags: [
57216
- "AppStream"
57217
- ],
57218
- parameters: [
57219
- {
57220
- name: "id",
57221
- "in": "path",
57222
- type: "integer",
57223
- required: true,
57224
- description: "AppStream ID"
57225
- }
57226
- ],
57227
- responses: {
57228
- "200": {
57229
- description: "AppStream deleted"
57230
- },
57231
- "401": {
57232
- description: "Authentication error",
57233
- schema: "any"
57234
- },
57235
- "403": {
57236
- description: "Authorization error",
57237
- schema: "any"
57238
- },
57239
- "404": {
57240
- description: "Not found error",
57241
- schema: "any"
57242
- }
57243
- }
57244
- },
57245
- {
57246
- path: "/v1/app_streams/{id}/clone",
58004
+ path: "/v1/app_streams/{id}/create_backfill_stream",
57247
58005
  method: "POST",
57248
- summary: "Clone AppStream",
58006
+ summary: "Create Backfill App Stream for App Stream",
57249
58007
  tags: [
57250
58008
  "AppStream"
57251
58009
  ],
@@ -57258,7 +58016,7 @@ var clientsData = [
57258
58016
  },
57259
58017
  responses: {
57260
58018
  "200": {
57261
- description: "Cloned AppStream",
58019
+ description: "Created Backfill AppStream",
57262
58020
  schema: "any"
57263
58021
  },
57264
58022
  "401": {
@@ -57276,23 +58034,24 @@ var clientsData = [
57276
58034
  }
57277
58035
  },
57278
58036
  {
57279
- path: "/v1/app_streams/{id}/create_backfill_stream",
58037
+ path: "/v1/app_streams/{id}/force_resume",
57280
58038
  method: "POST",
57281
- summary: "Create Backfill App Stream for App Stream",
58039
+ summary: "Force resuming consumers for stream",
57282
58040
  tags: [
57283
58041
  "AppStream"
57284
58042
  ],
57285
58043
  parameters: [
58044
+ {
58045
+ name: "id",
58046
+ "in": "path",
58047
+ type: "integer",
58048
+ required: true,
58049
+ description: "AppStream ID"
58050
+ }
57286
58051
  ],
57287
- requestBody: {
57288
- contentType: "application/json",
57289
- schema: "string",
57290
- required: true
57291
- },
57292
58052
  responses: {
57293
58053
  "200": {
57294
- description: "Created Backfill AppStream",
57295
- schema: "any"
58054
+ description: "AppStream force resumed consumers"
57296
58055
  },
57297
58056
  "401": {
57298
58057
  description: "Authentication error",
@@ -57305,13 +58064,17 @@ var clientsData = [
57305
58064
  "404": {
57306
58065
  description: "Not found error",
57307
58066
  schema: "any"
58067
+ },
58068
+ "412": {
58069
+ description: "App Stream is not a drilling time stream",
58070
+ schema: "any"
57308
58071
  }
57309
58072
  }
57310
58073
  },
57311
58074
  {
57312
- path: "/v1/app_streams/{id}/force_resume",
58075
+ path: "/v1/app_streams/{id}/reset_data_schedules",
57313
58076
  method: "POST",
57314
- summary: "Force resuming consumers for stream",
58077
+ summary: "Reset data_time scheduled app cursors and schedules for a purge/rerun window",
57315
58078
  tags: [
57316
58079
  "AppStream"
57317
58080
  ],
@@ -57324,9 +58087,19 @@ var clientsData = [
57324
58087
  description: "AppStream ID"
57325
58088
  }
57326
58089
  ],
58090
+ requestBody: {
58091
+ contentType: "application/json",
58092
+ schema: "integer",
58093
+ required: true
58094
+ },
57327
58095
  responses: {
57328
58096
  "200": {
57329
- description: "AppStream force resumed consumers"
58097
+ description: "Data schedules were reset",
58098
+ schema: "any"
58099
+ },
58100
+ "400": {
58101
+ description: "Invalid or missing window parameters",
58102
+ schema: "any"
57330
58103
  },
57331
58104
  "401": {
57332
58105
  description: "Authentication error",
@@ -57339,10 +58112,6 @@ var clientsData = [
57339
58112
  "404": {
57340
58113
  description: "Not found error",
57341
58114
  schema: "any"
57342
- },
57343
- "412": {
57344
- description: "App Stream is not a drilling time stream",
57345
- schema: "any"
57346
58115
  }
57347
58116
  }
57348
58117
  },
@@ -60541,7 +61310,7 @@ var clientsData = [
60541
61310
  "in": "query",
60542
61311
  type: "string",
60543
61312
  required: false,
60544
- description: "Search by asset status"
61313
+ description: "Search by asset status (wells only; status is null for other asset types)"
60545
61314
  },
60546
61315
  {
60547
61316
  name: "visibility",
@@ -72774,6 +73543,194 @@ var clientsData = [
72774
73543
  }
72775
73544
  }
72776
73545
  ],
73546
+ NotificationPolicies: [
73547
+ {
73548
+ path: "/v2/notification_policies",
73549
+ method: "GET",
73550
+ summary: "List Notification Policies",
73551
+ tags: [
73552
+ "NotificationPolicies"
73553
+ ],
73554
+ parameters: [
73555
+ {
73556
+ name: "page",
73557
+ "in": "query",
73558
+ type: "integer",
73559
+ required: false,
73560
+ description: "Page number"
73561
+ },
73562
+ {
73563
+ name: "per_page",
73564
+ "in": "query",
73565
+ type: "integer",
73566
+ required: false,
73567
+ description: "Items per page"
73568
+ }
73569
+ ],
73570
+ responses: {
73571
+ "200": {
73572
+ description: "List of notification policies accessible to the current user",
73573
+ schema: "any"
73574
+ },
73575
+ "401": {
73576
+ description: "Authentication error",
73577
+ schema: "any"
73578
+ },
73579
+ "403": {
73580
+ description: "Authorization error",
73581
+ schema: "any"
73582
+ },
73583
+ "404": {
73584
+ description: "Not found error",
73585
+ schema: "any"
73586
+ }
73587
+ }
73588
+ },
73589
+ {
73590
+ path: "/v2/notification_policies",
73591
+ method: "POST",
73592
+ summary: "Create Notification Policy",
73593
+ tags: [
73594
+ "NotificationPolicies"
73595
+ ],
73596
+ parameters: [
73597
+ ],
73598
+ requestBody: {
73599
+ contentType: "application/json",
73600
+ schema: "any",
73601
+ required: true
73602
+ },
73603
+ responses: {
73604
+ "200": {
73605
+ description: "Created notification policy",
73606
+ schema: "any"
73607
+ },
73608
+ "400": {
73609
+ description: "Validation error"
73610
+ },
73611
+ "401": {
73612
+ description: "Authentication error",
73613
+ schema: "any"
73614
+ },
73615
+ "403": {
73616
+ description: "A scope row references a record the user cannot read"
73617
+ },
73618
+ "404": {
73619
+ description: "A scope row references a record that does not exist"
73620
+ }
73621
+ }
73622
+ },
73623
+ {
73624
+ path: "/v2/notification_policies/{id}",
73625
+ method: "GET",
73626
+ summary: "Get Notification Policy",
73627
+ tags: [
73628
+ "NotificationPolicies"
73629
+ ],
73630
+ parameters: [
73631
+ {
73632
+ name: "id",
73633
+ "in": "path",
73634
+ type: "integer",
73635
+ required: true,
73636
+ description: ""
73637
+ }
73638
+ ],
73639
+ responses: {
73640
+ "200": {
73641
+ description: "Notification policy details",
73642
+ schema: "any"
73643
+ },
73644
+ "401": {
73645
+ description: "Authentication error",
73646
+ schema: "any"
73647
+ },
73648
+ "403": {
73649
+ description: "Authorization error",
73650
+ schema: "any"
73651
+ },
73652
+ "404": {
73653
+ description: "Not found error",
73654
+ schema: "any"
73655
+ }
73656
+ }
73657
+ },
73658
+ {
73659
+ path: "/v2/notification_policies/{id}",
73660
+ method: "PATCH",
73661
+ summary: "Update Notification Policy",
73662
+ tags: [
73663
+ "NotificationPolicies"
73664
+ ],
73665
+ parameters: [
73666
+ {
73667
+ name: "id",
73668
+ "in": "path",
73669
+ type: "integer",
73670
+ required: true,
73671
+ description: ""
73672
+ }
73673
+ ],
73674
+ requestBody: {
73675
+ contentType: "application/json",
73676
+ schema: "any",
73677
+ required: true
73678
+ },
73679
+ responses: {
73680
+ "200": {
73681
+ description: "Updated notification policy",
73682
+ schema: "any"
73683
+ },
73684
+ "400": {
73685
+ description: "Validation error"
73686
+ },
73687
+ "401": {
73688
+ description: "Authentication error",
73689
+ schema: "any"
73690
+ },
73691
+ "403": {
73692
+ description: "A scope row references a record the user cannot read"
73693
+ },
73694
+ "404": {
73695
+ description: "A scope row references a record that does not exist"
73696
+ }
73697
+ }
73698
+ },
73699
+ {
73700
+ path: "/v2/notification_policies/{id}",
73701
+ method: "DELETE",
73702
+ summary: "Delete Notification Policy",
73703
+ tags: [
73704
+ "NotificationPolicies"
73705
+ ],
73706
+ parameters: [
73707
+ {
73708
+ name: "id",
73709
+ "in": "path",
73710
+ type: "integer",
73711
+ required: true,
73712
+ description: ""
73713
+ }
73714
+ ],
73715
+ responses: {
73716
+ "200": {
73717
+ description: "Deleted"
73718
+ },
73719
+ "401": {
73720
+ description: "Authentication error",
73721
+ schema: "any"
73722
+ },
73723
+ "403": {
73724
+ description: "Authorization error",
73725
+ schema: "any"
73726
+ },
73727
+ "404": {
73728
+ description: "Not found error",
73729
+ schema: "any"
73730
+ }
73731
+ }
73732
+ }
73733
+ ],
72777
73734
  Notifications: [
72778
73735
  {
72779
73736
  path: "/v1/notifications",
@@ -80471,18 +81428,18 @@ var clientsData = [
80471
81428
  description: "Filter by well ID"
80472
81429
  },
80473
81430
  {
80474
- name: "source_well_id",
81431
+ name: "status",
80475
81432
  "in": "query",
80476
- type: "integer",
81433
+ type: "string",
80477
81434
  required: false,
80478
- description: "Filter by source well ID"
81435
+ description: "Filter by status"
80479
81436
  },
80480
81437
  {
80481
- name: "status",
81438
+ name: "search",
80482
81439
  "in": "query",
80483
81440
  type: "string",
80484
81441
  required: false,
80485
- description: "Filter by status"
81442
+ description: "Case-insensitive search by well plan name"
80486
81443
  },
80487
81444
  {
80488
81445
  name: "per_page",
@@ -80660,6 +81617,39 @@ var clientsData = [
80660
81617
  schema: "any"
80661
81618
  }
80662
81619
  }
81620
+ },
81621
+ {
81622
+ path: "/v2/well_plans/copy",
81623
+ method: "POST",
81624
+ summary: "Copy data from one well plan into another",
81625
+ tags: [
81626
+ "Well Plans"
81627
+ ],
81628
+ parameters: [
81629
+ ],
81630
+ requestBody: {
81631
+ contentType: "application/json",
81632
+ schema: "any",
81633
+ required: true
81634
+ },
81635
+ responses: {
81636
+ "200": {
81637
+ description: "Well plan copy created and enqueued for processing",
81638
+ schema: "any"
81639
+ },
81640
+ "401": {
81641
+ description: "Authentication error",
81642
+ schema: "any"
81643
+ },
81644
+ "403": {
81645
+ description: "Authorization error",
81646
+ schema: "any"
81647
+ },
81648
+ "404": {
81649
+ description: "Not found error",
81650
+ schema: "any"
81651
+ }
81652
+ }
80663
81653
  }
80664
81654
  ],
80665
81655
  WellCache: [
@@ -95516,6 +96506,7 @@ var entries = [
95516
96506
  "close",
95517
96507
  "check",
95518
96508
  "templates",
96509
+ "save_as_template",
95519
96510
  "enable",
95520
96511
  "disable",
95521
96512
  "alertdefinitions",
@@ -95525,10 +96516,11 @@ var entries = [
95525
96516
  "alert_definitions",
95526
96517
  "alertgroups",
95527
96518
  "alert_group_users",
95528
- "alert_group_assets",
96519
+ "alert_group_scopes",
95529
96520
  "alert_group_configurations",
95530
96521
  "bulk_create",
95531
96522
  "bulk_destroy",
96523
+ "bulk_replace",
95532
96524
  "alertrbac",
95533
96525
  "alert_abilities",
95534
96526
  "companies",
@@ -95536,6 +96528,7 @@ var entries = [
95536
96528
  "abilities",
95537
96529
  "alert_rbac",
95538
96530
  "occurrences",
96531
+ "series",
95539
96532
  "acknowledge",
95540
96533
  "classify",
95541
96534
  "transition",
@@ -95590,6 +96583,7 @@ var entries = [
95590
96583
  "well_plan_checklists",
95591
96584
  "well plans",
95592
96585
  "well_plans",
96586
+ "copy",
95593
96587
  "well planning dashboards",
95594
96588
  "well_planning_dashboards",
95595
96589
  "data",
@@ -95624,6 +96618,8 @@ var entries = [
95624
96618
  "acknowledge_all",
95625
96619
  "count",
95626
96620
  "unread",
96621
+ "notificationpolicies",
96622
+ "notification_policies",
95627
96623
  "security_policies",
95628
96624
  "permissions",
95629
96625
  "grouped",
@@ -95667,7 +96663,6 @@ var entries = [
95667
96663
  "app_settings_templates",
95668
96664
  "share",
95669
96665
  "unshare",
95670
- "copy",
95671
96666
  "publish",
95672
96667
  "appstreamtemplate",
95673
96668
  "app_stream_templates",
@@ -95725,6 +96720,7 @@ var entries = [
95725
96720
  "idle_worker_stats",
95726
96721
  "create_backfill_stream",
95727
96722
  "force_resume",
96723
+ "reset_data_schedules",
95728
96724
  "batch_destroy",
95729
96725
  "update_edr_provider_connection_status",
95730
96726
  "appconnection",
@@ -95841,7 +96837,7 @@ var entries = [
95841
96837
  ],
95842
96838
  category: "clients",
95843
96839
  importPath: "@corva/ui/clients",
95844
- 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 alertdefinitions subscribe unsubscribe alert_groups alert_definitions alertgroups alert_group_users alert_group_assets alert_group_configurations bulk_create bulk_destroy alertrbac alert_abilities companies alert_roles abilities alert_rbac occurrences acknowledge classify transition escalate deescalate 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 batch_update dashboard_folders dashboard_shares dashboard_folder_shares use clone use_template available_timezones well plan checklists well_plan_checklists well plans well_plans well planning dashboards well_planning_dashboards 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 permissions 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 current 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 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 welldrilloutunitruns well_drillout_unit_runs 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 metrics_definitions countries country_list revoltchat revolt_chat_sessions interventionunitreruns intervention_unit_reruns"
96840
+ 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 save_as_template enable disable alertdefinitions subscribe unsubscribe alert_groups alert_definitions alertgroups alert_group_users alert_group_scopes alert_group_configurations bulk_create bulk_destroy bulk_replace alertrbac alert_abilities companies alert_roles abilities alert_rbac occurrences series acknowledge classify transition escalate deescalate 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 batch_update dashboard_folders dashboard_shares dashboard_folder_shares use clone use_template available_timezones well plan checklists well_plan_checklists well plans well_plans copy well planning dashboards well_planning_dashboards 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 notificationpolicies notification_policies security_policies permissions 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 current 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 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 reset_data_schedules batch_destroy update_edr_provider_connection_status appconnection app_connections update_package apperroralert app_error_alerts 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 welldrilloutunitruns well_drillout_unit_runs 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 metrics_definitions countries country_list revoltchat revolt_chat_sessions interventionunitreruns intervention_unit_reruns"
95845
96841
  },
95846
96842
  {
95847
96843
  id: "client-corvaDataAPI",