@incident-io/pulumi 0.2.0 → 0.3.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.
package/types/output.d.ts CHANGED
@@ -808,6 +808,10 @@ export interface AlertRouteGroupingConfig {
808
808
  default: outputs.AlertRouteGroupingConfigDefault;
809
809
  }
810
810
  export interface AlertRouteGroupingConfigDefault {
811
+ /**
812
+ * **Beta:** AI alert grouping is in beta, so contact support to get access for your organisation before you set this to `true`. Use AI to group similar looking alerts. AI alert grouping can only group alerts that are attributed to the same team, so grouping keys must only contain the team alert attribute. Private alerts are not grouped unless AI incident access allows private incidents and alerts. Omit it on an update to keep the current value.
813
+ */
814
+ aiEnabled: boolean;
811
815
  /**
812
816
  * Whether grouping is enabled
813
817
  */
@@ -17259,13 +17263,13 @@ export interface GetEscalationPathWorkingHourWeekdayInterval {
17259
17263
  */
17260
17264
  weekday: string;
17261
17265
  }
17262
- export interface GetIncidentTemplateExpression {
17263
- elseBranch: outputs.GetIncidentTemplateExpressionElseBranch;
17266
+ export interface GetIncidentFormExpression {
17267
+ elseBranch: outputs.GetIncidentFormExpressionElseBranch;
17264
17268
  /**
17265
17269
  * The human readable label of the expression
17266
17270
  */
17267
17271
  label: string;
17268
- operations: outputs.GetIncidentTemplateExpressionOperation[];
17272
+ operations: outputs.GetIncidentFormExpressionOperation[];
17269
17273
  /**
17270
17274
  * A short ID that can be used to reference the expression
17271
17275
  */
@@ -17275,21 +17279,21 @@ export interface GetIncidentTemplateExpression {
17275
17279
  */
17276
17280
  rootReference: string;
17277
17281
  }
17278
- export interface GetIncidentTemplateExpressionElseBranch {
17279
- result: outputs.GetIncidentTemplateExpressionElseBranchResult;
17282
+ export interface GetIncidentFormExpressionElseBranch {
17283
+ result: outputs.GetIncidentFormExpressionElseBranchResult;
17280
17284
  }
17281
- export interface GetIncidentTemplateExpressionElseBranchResult {
17285
+ export interface GetIncidentFormExpressionElseBranchResult {
17282
17286
  /**
17283
17287
  * If array*value is set, this helps render the values
17284
17288
  */
17285
- arrayValues: outputs.GetIncidentTemplateExpressionElseBranchResultArrayValue[];
17289
+ arrayValues: outputs.GetIncidentFormExpressionElseBranchResultArrayValue[];
17286
17290
  expressionRef: string;
17287
- value: outputs.GetIncidentTemplateExpressionElseBranchResultValue;
17291
+ value: outputs.GetIncidentFormExpressionElseBranchResultValue;
17288
17292
  valueLiteral: string;
17289
17293
  valueReference: string;
17290
17294
  values: string[];
17291
17295
  }
17292
- export interface GetIncidentTemplateExpressionElseBranchResultArrayValue {
17296
+ export interface GetIncidentFormExpressionElseBranchResultArrayValue {
17293
17297
  /**
17294
17298
  * If set, this is the literal value of the step parameter
17295
17299
  */
@@ -17299,7 +17303,7 @@ export interface GetIncidentTemplateExpressionElseBranchResultArrayValue {
17299
17303
  */
17300
17304
  reference: string;
17301
17305
  }
17302
- export interface GetIncidentTemplateExpressionElseBranchResultValue {
17306
+ export interface GetIncidentFormExpressionElseBranchResultValue {
17303
17307
  /**
17304
17308
  * If set, this is the literal value of the step parameter
17305
17309
  */
@@ -17309,61 +17313,61 @@ export interface GetIncidentTemplateExpressionElseBranchResultValue {
17309
17313
  */
17310
17314
  reference: string;
17311
17315
  }
17312
- export interface GetIncidentTemplateExpressionOperation {
17313
- branches: outputs.GetIncidentTemplateExpressionOperationBranches;
17316
+ export interface GetIncidentFormExpressionOperation {
17317
+ branches: outputs.GetIncidentFormExpressionOperationBranches;
17314
17318
  /**
17315
17319
  * The cast target of this operation, set when the operation type is `cast`
17316
17320
  */
17317
- cast: outputs.GetIncidentTemplateExpressionOperationCast;
17318
- concatenate: outputs.GetIncidentTemplateExpressionOperationConcatenate;
17319
- filter: outputs.GetIncidentTemplateExpressionOperationFilter;
17320
- navigate: outputs.GetIncidentTemplateExpressionOperationNavigate;
17321
+ cast: outputs.GetIncidentFormExpressionOperationCast;
17322
+ concatenate: outputs.GetIncidentFormExpressionOperationConcatenate;
17323
+ filter: outputs.GetIncidentFormExpressionOperationFilter;
17324
+ navigate: outputs.GetIncidentFormExpressionOperationNavigate;
17321
17325
  /**
17322
17326
  * The type of the operation. Possible values are: `navigate`, `filter`, `concatenate`, `count`, `min`, `max`, `sum`, `random`, `first`, `parse`, `branches`, `cast`.
17323
17327
  */
17324
17328
  operationType: string;
17325
- parse: outputs.GetIncidentTemplateExpressionOperationParse;
17329
+ parse: outputs.GetIncidentFormExpressionOperationParse;
17326
17330
  }
17327
- export interface GetIncidentTemplateExpressionOperationBranches {
17331
+ export interface GetIncidentFormExpressionOperationBranches {
17328
17332
  /**
17329
17333
  * The branches to apply for this operation
17330
17334
  */
17331
- branches: outputs.GetIncidentTemplateExpressionOperationBranchesBranch[];
17332
- returns: outputs.GetIncidentTemplateExpressionOperationBranchesReturns;
17335
+ branches: outputs.GetIncidentFormExpressionOperationBranchesBranch[];
17336
+ returns: outputs.GetIncidentFormExpressionOperationBranchesReturns;
17333
17337
  }
17334
- export interface GetIncidentTemplateExpressionOperationBranchesBranch {
17338
+ export interface GetIncidentFormExpressionOperationBranchesBranch {
17335
17339
  /**
17336
17340
  * The condition groups to apply in this filter. Only one group needs to be satisfied for the filter to pass.
17337
17341
  */
17338
- conditionGroups: outputs.GetIncidentTemplateExpressionOperationBranchesBranchConditionGroup[];
17339
- result: outputs.GetIncidentTemplateExpressionOperationBranchesBranchResult;
17342
+ conditionGroups: outputs.GetIncidentFormExpressionOperationBranchesBranchConditionGroup[];
17343
+ result: outputs.GetIncidentFormExpressionOperationBranchesBranchResult;
17340
17344
  }
17341
- export interface GetIncidentTemplateExpressionOperationBranchesBranchConditionGroup {
17345
+ export interface GetIncidentFormExpressionOperationBranchesBranchConditionGroup {
17342
17346
  /**
17343
17347
  * All conditions in this list must be satisfied for the group to be satisfied
17344
17348
  */
17345
- conditions: outputs.GetIncidentTemplateExpressionOperationBranchesBranchConditionGroupCondition[];
17349
+ conditions: outputs.GetIncidentFormExpressionOperationBranchesBranchConditionGroupCondition[];
17346
17350
  }
17347
- export interface GetIncidentTemplateExpressionOperationBranchesBranchConditionGroupCondition {
17351
+ export interface GetIncidentFormExpressionOperationBranchesBranchConditionGroupCondition {
17348
17352
  operation: string;
17349
17353
  /**
17350
17354
  * Bindings for the operation parameters
17351
17355
  */
17352
- paramBindings: outputs.GetIncidentTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBinding[];
17356
+ paramBindings: outputs.GetIncidentFormExpressionOperationBranchesBranchConditionGroupConditionParamBinding[];
17353
17357
  subject: string;
17354
17358
  }
17355
- export interface GetIncidentTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBinding {
17359
+ export interface GetIncidentFormExpressionOperationBranchesBranchConditionGroupConditionParamBinding {
17356
17360
  /**
17357
17361
  * If array*value is set, this helps render the values
17358
17362
  */
17359
- arrayValues: outputs.GetIncidentTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValue[];
17363
+ arrayValues: outputs.GetIncidentFormExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValue[];
17360
17364
  expressionRef: string;
17361
- value: outputs.GetIncidentTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingValue;
17365
+ value: outputs.GetIncidentFormExpressionOperationBranchesBranchConditionGroupConditionParamBindingValue;
17362
17366
  valueLiteral: string;
17363
17367
  valueReference: string;
17364
17368
  values: string[];
17365
17369
  }
17366
- export interface GetIncidentTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValue {
17370
+ export interface GetIncidentFormExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValue {
17367
17371
  /**
17368
17372
  * If set, this is the literal value of the step parameter
17369
17373
  */
@@ -17373,7 +17377,7 @@ export interface GetIncidentTemplateExpressionOperationBranchesBranchConditionGr
17373
17377
  */
17374
17378
  reference: string;
17375
17379
  }
17376
- export interface GetIncidentTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingValue {
17380
+ export interface GetIncidentFormExpressionOperationBranchesBranchConditionGroupConditionParamBindingValue {
17377
17381
  /**
17378
17382
  * If set, this is the literal value of the step parameter
17379
17383
  */
@@ -17383,18 +17387,18 @@ export interface GetIncidentTemplateExpressionOperationBranchesBranchConditionGr
17383
17387
  */
17384
17388
  reference: string;
17385
17389
  }
17386
- export interface GetIncidentTemplateExpressionOperationBranchesBranchResult {
17390
+ export interface GetIncidentFormExpressionOperationBranchesBranchResult {
17387
17391
  /**
17388
17392
  * If array*value is set, this helps render the values
17389
17393
  */
17390
- arrayValues: outputs.GetIncidentTemplateExpressionOperationBranchesBranchResultArrayValue[];
17394
+ arrayValues: outputs.GetIncidentFormExpressionOperationBranchesBranchResultArrayValue[];
17391
17395
  expressionRef: string;
17392
- value: outputs.GetIncidentTemplateExpressionOperationBranchesBranchResultValue;
17396
+ value: outputs.GetIncidentFormExpressionOperationBranchesBranchResultValue;
17393
17397
  valueLiteral: string;
17394
17398
  valueReference: string;
17395
17399
  values: string[];
17396
17400
  }
17397
- export interface GetIncidentTemplateExpressionOperationBranchesBranchResultArrayValue {
17401
+ export interface GetIncidentFormExpressionOperationBranchesBranchResultArrayValue {
17398
17402
  /**
17399
17403
  * If set, this is the literal value of the step parameter
17400
17404
  */
@@ -17404,7 +17408,7 @@ export interface GetIncidentTemplateExpressionOperationBranchesBranchResultArray
17404
17408
  */
17405
17409
  reference: string;
17406
17410
  }
17407
- export interface GetIncidentTemplateExpressionOperationBranchesBranchResultValue {
17411
+ export interface GetIncidentFormExpressionOperationBranchesBranchResultValue {
17408
17412
  /**
17409
17413
  * If set, this is the literal value of the step parameter
17410
17414
  */
@@ -17414,7 +17418,7 @@ export interface GetIncidentTemplateExpressionOperationBranchesBranchResultValue
17414
17418
  */
17415
17419
  reference: string;
17416
17420
  }
17417
- export interface GetIncidentTemplateExpressionOperationBranchesReturns {
17421
+ export interface GetIncidentFormExpressionOperationBranchesReturns {
17418
17422
  /**
17419
17423
  * Whether the return value should be single or multi-value
17420
17424
  */
@@ -17424,10 +17428,10 @@ export interface GetIncidentTemplateExpressionOperationBranchesReturns {
17424
17428
  */
17425
17429
  type: string;
17426
17430
  }
17427
- export interface GetIncidentTemplateExpressionOperationCast {
17428
- returns: outputs.GetIncidentTemplateExpressionOperationCastReturns;
17431
+ export interface GetIncidentFormExpressionOperationCast {
17432
+ returns: outputs.GetIncidentFormExpressionOperationCastReturns;
17429
17433
  }
17430
- export interface GetIncidentTemplateExpressionOperationCastReturns {
17434
+ export interface GetIncidentFormExpressionOperationCastReturns {
17431
17435
  /**
17432
17436
  * Whether the return value should be single or multi-value
17433
17437
  */
@@ -17437,44 +17441,44 @@ export interface GetIncidentTemplateExpressionOperationCastReturns {
17437
17441
  */
17438
17442
  type: string;
17439
17443
  }
17440
- export interface GetIncidentTemplateExpressionOperationConcatenate {
17444
+ export interface GetIncidentFormExpressionOperationConcatenate {
17441
17445
  /**
17442
17446
  * The reference within the scope to concatenate with
17443
17447
  */
17444
17448
  reference: string;
17445
17449
  }
17446
- export interface GetIncidentTemplateExpressionOperationFilter {
17450
+ export interface GetIncidentFormExpressionOperationFilter {
17447
17451
  /**
17448
17452
  * The condition groups to apply in this filter. Only one group needs to be satisfied for the filter to pass.
17449
17453
  */
17450
- conditionGroups: outputs.GetIncidentTemplateExpressionOperationFilterConditionGroup[];
17454
+ conditionGroups: outputs.GetIncidentFormExpressionOperationFilterConditionGroup[];
17451
17455
  }
17452
- export interface GetIncidentTemplateExpressionOperationFilterConditionGroup {
17456
+ export interface GetIncidentFormExpressionOperationFilterConditionGroup {
17453
17457
  /**
17454
17458
  * All conditions in this list must be satisfied for the group to be satisfied
17455
17459
  */
17456
- conditions: outputs.GetIncidentTemplateExpressionOperationFilterConditionGroupCondition[];
17460
+ conditions: outputs.GetIncidentFormExpressionOperationFilterConditionGroupCondition[];
17457
17461
  }
17458
- export interface GetIncidentTemplateExpressionOperationFilterConditionGroupCondition {
17462
+ export interface GetIncidentFormExpressionOperationFilterConditionGroupCondition {
17459
17463
  operation: string;
17460
17464
  /**
17461
17465
  * Bindings for the operation parameters
17462
17466
  */
17463
- paramBindings: outputs.GetIncidentTemplateExpressionOperationFilterConditionGroupConditionParamBinding[];
17467
+ paramBindings: outputs.GetIncidentFormExpressionOperationFilterConditionGroupConditionParamBinding[];
17464
17468
  subject: string;
17465
17469
  }
17466
- export interface GetIncidentTemplateExpressionOperationFilterConditionGroupConditionParamBinding {
17470
+ export interface GetIncidentFormExpressionOperationFilterConditionGroupConditionParamBinding {
17467
17471
  /**
17468
17472
  * If array*value is set, this helps render the values
17469
17473
  */
17470
- arrayValues: outputs.GetIncidentTemplateExpressionOperationFilterConditionGroupConditionParamBindingArrayValue[];
17474
+ arrayValues: outputs.GetIncidentFormExpressionOperationFilterConditionGroupConditionParamBindingArrayValue[];
17471
17475
  expressionRef: string;
17472
- value: outputs.GetIncidentTemplateExpressionOperationFilterConditionGroupConditionParamBindingValue;
17476
+ value: outputs.GetIncidentFormExpressionOperationFilterConditionGroupConditionParamBindingValue;
17473
17477
  valueLiteral: string;
17474
17478
  valueReference: string;
17475
17479
  values: string[];
17476
17480
  }
17477
- export interface GetIncidentTemplateExpressionOperationFilterConditionGroupConditionParamBindingArrayValue {
17481
+ export interface GetIncidentFormExpressionOperationFilterConditionGroupConditionParamBindingArrayValue {
17478
17482
  /**
17479
17483
  * If set, this is the literal value of the step parameter
17480
17484
  */
@@ -17484,7 +17488,7 @@ export interface GetIncidentTemplateExpressionOperationFilterConditionGroupCondi
17484
17488
  */
17485
17489
  reference: string;
17486
17490
  }
17487
- export interface GetIncidentTemplateExpressionOperationFilterConditionGroupConditionParamBindingValue {
17491
+ export interface GetIncidentFormExpressionOperationFilterConditionGroupConditionParamBindingValue {
17488
17492
  /**
17489
17493
  * If set, this is the literal value of the step parameter
17490
17494
  */
@@ -17494,20 +17498,20 @@ export interface GetIncidentTemplateExpressionOperationFilterConditionGroupCondi
17494
17498
  */
17495
17499
  reference: string;
17496
17500
  }
17497
- export interface GetIncidentTemplateExpressionOperationNavigate {
17501
+ export interface GetIncidentFormExpressionOperationNavigate {
17498
17502
  /**
17499
17503
  * The reference within the scope to navigate to
17500
17504
  */
17501
17505
  reference: string;
17502
17506
  }
17503
- export interface GetIncidentTemplateExpressionOperationParse {
17504
- returns: outputs.GetIncidentTemplateExpressionOperationParseReturns;
17507
+ export interface GetIncidentFormExpressionOperationParse {
17508
+ returns: outputs.GetIncidentFormExpressionOperationParseReturns;
17505
17509
  /**
17506
17510
  * Source expression that is evaluated to a result
17507
17511
  */
17508
17512
  source: string;
17509
17513
  }
17510
- export interface GetIncidentTemplateExpressionOperationParseReturns {
17514
+ export interface GetIncidentFormExpressionOperationParseReturns {
17511
17515
  /**
17512
17516
  * Whether the return value should be single or multi-value
17513
17517
  */
@@ -17517,104 +17521,72 @@ export interface GetIncidentTemplateExpressionOperationParseReturns {
17517
17521
  */
17518
17522
  type: string;
17519
17523
  }
17520
- export interface GetIncidentTemplateTemplate {
17524
+ export interface GetIncidentFormLifecycleElement {
17521
17525
  /**
17522
- * Custom fields configuration
17526
+ * Whether the user can explicitly choose no value. Only meaningful for custom field elements.
17523
17527
  */
17524
- customFields: outputs.GetIncidentTemplateTemplateCustomField[];
17525
- incidentMode: outputs.GetIncidentTemplateTemplateIncidentMode;
17526
- incidentType: outputs.GetIncidentTemplateTemplateIncidentType;
17527
- name: outputs.GetIncidentTemplateTemplateName;
17528
- severity: outputs.GetIncidentTemplateTemplateSeverity;
17529
- startInTriage: outputs.GetIncidentTemplateTemplateStartInTriage;
17530
- summary: outputs.GetIncidentTemplateTemplateSummary;
17531
- workspace: outputs.GetIncidentTemplateTemplateWorkspace;
17532
- }
17533
- export interface GetIncidentTemplateTemplateCustomField {
17534
- binding: outputs.GetIncidentTemplateTemplateCustomFieldBinding;
17528
+ canSelectNoValue: boolean;
17529
+ config: outputs.GetIncidentFormLifecycleElementConfig;
17535
17530
  /**
17536
- * ID of the custom field
17531
+ * The custom field this element edits. Set only when element*type is custom*field.
17537
17532
  */
17538
17533
  customFieldId: string;
17534
+ defaultValue: outputs.GetIncidentFormLifecycleElementDefaultValue;
17539
17535
  /**
17540
- * The strategy to use when multiple alerts match this route. Possible values are: `first-wins`, `last-wins`, `append`.
17536
+ * Description shown beside this element, as markdown
17541
17537
  */
17542
- mergeStrategy: string;
17543
- }
17544
- export interface GetIncidentTemplateTemplateCustomFieldBinding {
17538
+ description: string;
17545
17539
  /**
17546
- * If array*value is set, this helps render the values
17540
+ * What this element captures. Possible values are: `name`, `status`, `severity`, `incidentRole`, `incidentType`, `summary`, `customField`, `timestamp`, `updateMessage`, `nextUpdateIn`, `triage`, `visibility`, `divider`, `text`, `incidentAttachments`, `slackChannel`, `announceRetroIncident`, `enterPostIncidentFlow`, `investigationFeedback`.
17547
17541
  */
17548
- arrayValues: outputs.GetIncidentTemplateTemplateCustomFieldBindingArrayValue[];
17549
- expressionRef: string;
17550
- value: outputs.GetIncidentTemplateTemplateCustomFieldBindingValue;
17551
- valueLiteral: string;
17552
- valueReference: string;
17553
- values: string[];
17554
- }
17555
- export interface GetIncidentTemplateTemplateCustomFieldBindingArrayValue {
17542
+ elementType: string;
17556
17543
  /**
17557
- * If set, this is the literal value of the step parameter
17544
+ * Unique identifier for this element. divider and text elements are matched on this, because they have no natural key.
17558
17545
  */
17559
- literal: string;
17546
+ id: string;
17560
17547
  /**
17561
- * If set, this is the reference into the trigger scope that is the value of this parameter
17548
+ * The incident role this element assigns. Set only when element*type is incident*role.
17562
17549
  */
17563
- reference: string;
17564
- }
17565
- export interface GetIncidentTemplateTemplateCustomFieldBindingValue {
17550
+ incidentRoleId: string;
17566
17551
  /**
17567
- * If set, this is the literal value of the step parameter
17552
+ * The incident timestamp this element sets. Set only when elementType is timestamp.
17568
17553
  */
17569
- literal: string;
17554
+ incidentTimestampId: string;
17570
17555
  /**
17571
- * If set, this is the reference into the trigger scope that is the value of this parameter
17556
+ * Placeholder text shown in the empty field
17572
17557
  */
17573
- reference: string;
17574
- }
17575
- export interface GetIncidentTemplateTemplateIncidentMode {
17558
+ placeholder: string;
17576
17559
  /**
17577
- * If array*value is set, this helps render the values
17560
+ * When this element must be filled in. Possible values are: `checkEngineConfig`, `alwaysRequire`, `neverRequire`.
17578
17561
  */
17579
- arrayValues: outputs.GetIncidentTemplateTemplateIncidentModeArrayValue[];
17580
- expressionRef: string;
17581
- value: outputs.GetIncidentTemplateTemplateIncidentModeValue;
17582
- valueLiteral: string;
17583
- valueReference: string;
17584
- values: string[];
17585
- }
17586
- export interface GetIncidentTemplateTemplateIncidentModeArrayValue {
17562
+ requiredIf: string;
17587
17563
  /**
17588
- * If set, this is the literal value of the step parameter
17564
+ * The condition groups to apply in this filter. Only one group needs to be satisfied for the filter to pass.
17589
17565
  */
17590
- literal: string;
17566
+ requiredIfConditionGroups: outputs.GetIncidentFormLifecycleElementRequiredIfConditionGroup[];
17591
17567
  /**
17592
- * If set, this is the reference into the trigger scope that is the value of this parameter
17568
+ * The condition groups to apply in this filter. Only one group needs to be satisfied for the filter to pass.
17593
17569
  */
17594
- reference: string;
17570
+ showIfConditionGroups: outputs.GetIncidentFormLifecycleElementShowIfConditionGroup[];
17595
17571
  }
17596
- export interface GetIncidentTemplateTemplateIncidentModeValue {
17597
- /**
17598
- * If set, this is the literal value of the step parameter
17599
- */
17600
- literal: string;
17572
+ export interface GetIncidentFormLifecycleElementConfig {
17601
17573
  /**
17602
- * If set, this is the reference into the trigger scope that is the value of this parameter
17574
+ * Whether the free-text comment must be filled in, for anyone giving investigation feedback
17603
17575
  */
17604
- reference: string;
17576
+ requireComment: boolean;
17605
17577
  }
17606
- export interface GetIncidentTemplateTemplateIncidentType {
17578
+ export interface GetIncidentFormLifecycleElementDefaultValue {
17607
17579
  /**
17608
17580
  * If array*value is set, this helps render the values
17609
17581
  */
17610
- arrayValues: outputs.GetIncidentTemplateTemplateIncidentTypeArrayValue[];
17582
+ arrayValues: outputs.GetIncidentFormLifecycleElementDefaultValueArrayValue[];
17611
17583
  expressionRef: string;
17612
- value: outputs.GetIncidentTemplateTemplateIncidentTypeValue;
17584
+ value: outputs.GetIncidentFormLifecycleElementDefaultValueValue;
17613
17585
  valueLiteral: string;
17614
17586
  valueReference: string;
17615
17587
  values: string[];
17616
17588
  }
17617
- export interface GetIncidentTemplateTemplateIncidentTypeArrayValue {
17589
+ export interface GetIncidentFormLifecycleElementDefaultValueArrayValue {
17618
17590
  /**
17619
17591
  * If set, this is the literal value of the step parameter
17620
17592
  */
@@ -17624,7 +17596,7 @@ export interface GetIncidentTemplateTemplateIncidentTypeArrayValue {
17624
17596
  */
17625
17597
  reference: string;
17626
17598
  }
17627
- export interface GetIncidentTemplateTemplateIncidentTypeValue {
17599
+ export interface GetIncidentFormLifecycleElementDefaultValueValue {
17628
17600
  /**
17629
17601
  * If set, this is the literal value of the step parameter
17630
17602
  */
@@ -17634,21 +17606,32 @@ export interface GetIncidentTemplateTemplateIncidentTypeValue {
17634
17606
  */
17635
17607
  reference: string;
17636
17608
  }
17637
- export interface GetIncidentTemplateTemplateName {
17609
+ export interface GetIncidentFormLifecycleElementRequiredIfConditionGroup {
17638
17610
  /**
17639
- * The array of literal or reference parameter values
17611
+ * All conditions in this list must be satisfied for the group to be satisfied
17640
17612
  */
17641
- arrayValues: outputs.GetIncidentTemplateTemplateNameArrayValue[];
17613
+ conditions: outputs.GetIncidentFormLifecycleElementRequiredIfConditionGroupCondition[];
17614
+ }
17615
+ export interface GetIncidentFormLifecycleElementRequiredIfConditionGroupCondition {
17616
+ operation: string;
17642
17617
  /**
17643
- * Whether this attribute should be autogenerated using AI
17618
+ * Bindings for the operation parameters
17644
17619
  */
17645
- autogenerated: boolean;
17620
+ paramBindings: outputs.GetIncidentFormLifecycleElementRequiredIfConditionGroupConditionParamBinding[];
17621
+ subject: string;
17622
+ }
17623
+ export interface GetIncidentFormLifecycleElementRequiredIfConditionGroupConditionParamBinding {
17646
17624
  /**
17647
- * The literal or reference parameter value
17625
+ * If array*value is set, this helps render the values
17648
17626
  */
17649
- value: outputs.GetIncidentTemplateTemplateNameValue;
17627
+ arrayValues: outputs.GetIncidentFormLifecycleElementRequiredIfConditionGroupConditionParamBindingArrayValue[];
17628
+ expressionRef: string;
17629
+ value: outputs.GetIncidentFormLifecycleElementRequiredIfConditionGroupConditionParamBindingValue;
17630
+ valueLiteral: string;
17631
+ valueReference: string;
17632
+ values: string[];
17650
17633
  }
17651
- export interface GetIncidentTemplateTemplateNameArrayValue {
17634
+ export interface GetIncidentFormLifecycleElementRequiredIfConditionGroupConditionParamBindingArrayValue {
17652
17635
  /**
17653
17636
  * If set, this is the literal value of the step parameter
17654
17637
  */
@@ -17658,7 +17641,7 @@ export interface GetIncidentTemplateTemplateNameArrayValue {
17658
17641
  */
17659
17642
  reference: string;
17660
17643
  }
17661
- export interface GetIncidentTemplateTemplateNameValue {
17644
+ export interface GetIncidentFormLifecycleElementRequiredIfConditionGroupConditionParamBindingValue {
17662
17645
  /**
17663
17646
  * If set, this is the literal value of the step parameter
17664
17647
  */
@@ -17668,25 +17651,32 @@ export interface GetIncidentTemplateTemplateNameValue {
17668
17651
  */
17669
17652
  reference: string;
17670
17653
  }
17671
- export interface GetIncidentTemplateTemplateSeverity {
17672
- binding: outputs.GetIncidentTemplateTemplateSeverityBinding;
17654
+ export interface GetIncidentFormLifecycleElementShowIfConditionGroup {
17673
17655
  /**
17674
- * Strategy for merging severity when multiple alerts create/update the same incident. Possible values are: `first-wins`, `max`.
17656
+ * All conditions in this list must be satisfied for the group to be satisfied
17675
17657
  */
17676
- mergeStrategy: string;
17658
+ conditions: outputs.GetIncidentFormLifecycleElementShowIfConditionGroupCondition[];
17677
17659
  }
17678
- export interface GetIncidentTemplateTemplateSeverityBinding {
17660
+ export interface GetIncidentFormLifecycleElementShowIfConditionGroupCondition {
17661
+ operation: string;
17662
+ /**
17663
+ * Bindings for the operation parameters
17664
+ */
17665
+ paramBindings: outputs.GetIncidentFormLifecycleElementShowIfConditionGroupConditionParamBinding[];
17666
+ subject: string;
17667
+ }
17668
+ export interface GetIncidentFormLifecycleElementShowIfConditionGroupConditionParamBinding {
17679
17669
  /**
17680
17670
  * If array*value is set, this helps render the values
17681
17671
  */
17682
- arrayValues: outputs.GetIncidentTemplateTemplateSeverityBindingArrayValue[];
17672
+ arrayValues: outputs.GetIncidentFormLifecycleElementShowIfConditionGroupConditionParamBindingArrayValue[];
17683
17673
  expressionRef: string;
17684
- value: outputs.GetIncidentTemplateTemplateSeverityBindingValue;
17674
+ value: outputs.GetIncidentFormLifecycleElementShowIfConditionGroupConditionParamBindingValue;
17685
17675
  valueLiteral: string;
17686
17676
  valueReference: string;
17687
17677
  values: string[];
17688
17678
  }
17689
- export interface GetIncidentTemplateTemplateSeverityBindingArrayValue {
17679
+ export interface GetIncidentFormLifecycleElementShowIfConditionGroupConditionParamBindingArrayValue {
17690
17680
  /**
17691
17681
  * If set, this is the literal value of the step parameter
17692
17682
  */
@@ -17696,7 +17686,7 @@ export interface GetIncidentTemplateTemplateSeverityBindingArrayValue {
17696
17686
  */
17697
17687
  reference: string;
17698
17688
  }
17699
- export interface GetIncidentTemplateTemplateSeverityBindingValue {
17689
+ export interface GetIncidentFormLifecycleElementShowIfConditionGroupConditionParamBindingValue {
17700
17690
  /**
17701
17691
  * If set, this is the literal value of the step parameter
17702
17692
  */
@@ -17706,18 +17696,37 @@ export interface GetIncidentTemplateTemplateSeverityBindingValue {
17706
17696
  */
17707
17697
  reference: string;
17708
17698
  }
17709
- export interface GetIncidentTemplateTemplateStartInTriage {
17699
+ export interface GetIncidentTemplateExpression {
17700
+ elseBranch: outputs.GetIncidentTemplateExpressionElseBranch;
17701
+ /**
17702
+ * The human readable label of the expression
17703
+ */
17704
+ label: string;
17705
+ operations: outputs.GetIncidentTemplateExpressionOperation[];
17706
+ /**
17707
+ * A short ID that can be used to reference the expression
17708
+ */
17709
+ reference: string;
17710
+ /**
17711
+ * The root reference for this expression (i.e. where the expression starts)
17712
+ */
17713
+ rootReference: string;
17714
+ }
17715
+ export interface GetIncidentTemplateExpressionElseBranch {
17716
+ result: outputs.GetIncidentTemplateExpressionElseBranchResult;
17717
+ }
17718
+ export interface GetIncidentTemplateExpressionElseBranchResult {
17710
17719
  /**
17711
17720
  * If array*value is set, this helps render the values
17712
17721
  */
17713
- arrayValues: outputs.GetIncidentTemplateTemplateStartInTriageArrayValue[];
17722
+ arrayValues: outputs.GetIncidentTemplateExpressionElseBranchResultArrayValue[];
17714
17723
  expressionRef: string;
17715
- value: outputs.GetIncidentTemplateTemplateStartInTriageValue;
17724
+ value: outputs.GetIncidentTemplateExpressionElseBranchResultValue;
17716
17725
  valueLiteral: string;
17717
17726
  valueReference: string;
17718
17727
  values: string[];
17719
17728
  }
17720
- export interface GetIncidentTemplateTemplateStartInTriageArrayValue {
17729
+ export interface GetIncidentTemplateExpressionElseBranchResultArrayValue {
17721
17730
  /**
17722
17731
  * If set, this is the literal value of the step parameter
17723
17732
  */
@@ -17727,7 +17736,7 @@ export interface GetIncidentTemplateTemplateStartInTriageArrayValue {
17727
17736
  */
17728
17737
  reference: string;
17729
17738
  }
17730
- export interface GetIncidentTemplateTemplateStartInTriageValue {
17739
+ export interface GetIncidentTemplateExpressionElseBranchResultValue {
17731
17740
  /**
17732
17741
  * If set, this is the literal value of the step parameter
17733
17742
  */
@@ -17737,52 +17746,61 @@ export interface GetIncidentTemplateTemplateStartInTriageValue {
17737
17746
  */
17738
17747
  reference: string;
17739
17748
  }
17740
- export interface GetIncidentTemplateTemplateSummary {
17741
- /**
17742
- * The array of literal or reference parameter values
17743
- */
17744
- arrayValues: outputs.GetIncidentTemplateTemplateSummaryArrayValue[];
17749
+ export interface GetIncidentTemplateExpressionOperation {
17750
+ branches: outputs.GetIncidentTemplateExpressionOperationBranches;
17745
17751
  /**
17746
- * Whether this attribute should be autogenerated using AI
17752
+ * The cast target of this operation, set when the operation type is `cast`
17747
17753
  */
17748
- autogenerated: boolean;
17754
+ cast: outputs.GetIncidentTemplateExpressionOperationCast;
17755
+ concatenate: outputs.GetIncidentTemplateExpressionOperationConcatenate;
17756
+ filter: outputs.GetIncidentTemplateExpressionOperationFilter;
17757
+ navigate: outputs.GetIncidentTemplateExpressionOperationNavigate;
17749
17758
  /**
17750
- * The literal or reference parameter value
17759
+ * The type of the operation. Possible values are: `navigate`, `filter`, `concatenate`, `count`, `min`, `max`, `sum`, `random`, `first`, `parse`, `branches`, `cast`.
17751
17760
  */
17752
- value: outputs.GetIncidentTemplateTemplateSummaryValue;
17761
+ operationType: string;
17762
+ parse: outputs.GetIncidentTemplateExpressionOperationParse;
17753
17763
  }
17754
- export interface GetIncidentTemplateTemplateSummaryArrayValue {
17764
+ export interface GetIncidentTemplateExpressionOperationBranches {
17755
17765
  /**
17756
- * If set, this is the literal value of the step parameter
17766
+ * The branches to apply for this operation
17757
17767
  */
17758
- literal: string;
17768
+ branches: outputs.GetIncidentTemplateExpressionOperationBranchesBranch[];
17769
+ returns: outputs.GetIncidentTemplateExpressionOperationBranchesReturns;
17770
+ }
17771
+ export interface GetIncidentTemplateExpressionOperationBranchesBranch {
17759
17772
  /**
17760
- * If set, this is the reference into the trigger scope that is the value of this parameter
17773
+ * The condition groups to apply in this filter. Only one group needs to be satisfied for the filter to pass.
17761
17774
  */
17762
- reference: string;
17775
+ conditionGroups: outputs.GetIncidentTemplateExpressionOperationBranchesBranchConditionGroup[];
17776
+ result: outputs.GetIncidentTemplateExpressionOperationBranchesBranchResult;
17763
17777
  }
17764
- export interface GetIncidentTemplateTemplateSummaryValue {
17778
+ export interface GetIncidentTemplateExpressionOperationBranchesBranchConditionGroup {
17765
17779
  /**
17766
- * If set, this is the literal value of the step parameter
17780
+ * All conditions in this list must be satisfied for the group to be satisfied
17767
17781
  */
17768
- literal: string;
17782
+ conditions: outputs.GetIncidentTemplateExpressionOperationBranchesBranchConditionGroupCondition[];
17783
+ }
17784
+ export interface GetIncidentTemplateExpressionOperationBranchesBranchConditionGroupCondition {
17785
+ operation: string;
17769
17786
  /**
17770
- * If set, this is the reference into the trigger scope that is the value of this parameter
17787
+ * Bindings for the operation parameters
17771
17788
  */
17772
- reference: string;
17789
+ paramBindings: outputs.GetIncidentTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBinding[];
17790
+ subject: string;
17773
17791
  }
17774
- export interface GetIncidentTemplateTemplateWorkspace {
17792
+ export interface GetIncidentTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBinding {
17775
17793
  /**
17776
17794
  * If array*value is set, this helps render the values
17777
17795
  */
17778
- arrayValues: outputs.GetIncidentTemplateTemplateWorkspaceArrayValue[];
17796
+ arrayValues: outputs.GetIncidentTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValue[];
17779
17797
  expressionRef: string;
17780
- value: outputs.GetIncidentTemplateTemplateWorkspaceValue;
17798
+ value: outputs.GetIncidentTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingValue;
17781
17799
  valueLiteral: string;
17782
17800
  valueReference: string;
17783
17801
  values: string[];
17784
17802
  }
17785
- export interface GetIncidentTemplateTemplateWorkspaceArrayValue {
17803
+ export interface GetIncidentTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValue {
17786
17804
  /**
17787
17805
  * If set, this is the literal value of the step parameter
17788
17806
  */
@@ -17792,7 +17810,7 @@ export interface GetIncidentTemplateTemplateWorkspaceArrayValue {
17792
17810
  */
17793
17811
  reference: string;
17794
17812
  }
17795
- export interface GetIncidentTemplateTemplateWorkspaceValue {
17813
+ export interface GetIncidentTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingValue {
17796
17814
  /**
17797
17815
  * If set, this is the literal value of the step parameter
17798
17816
  */
@@ -17802,168 +17820,176 @@ export interface GetIncidentTemplateTemplateWorkspaceValue {
17802
17820
  */
17803
17821
  reference: string;
17804
17822
  }
17805
- export interface GetIpAllowlistAllowlist {
17823
+ export interface GetIncidentTemplateExpressionOperationBranchesBranchResult {
17806
17824
  /**
17807
- * A label to help identify this IP or prefix
17825
+ * If array*value is set, this helps render the values
17808
17826
  */
17809
- label: string;
17810
- /**
17811
- * An IP address or a CIDR IP prefix to allow
17812
- */
17813
- value: string;
17827
+ arrayValues: outputs.GetIncidentTemplateExpressionOperationBranchesBranchResultArrayValue[];
17828
+ expressionRef: string;
17829
+ value: outputs.GetIncidentTemplateExpressionOperationBranchesBranchResultValue;
17830
+ valueLiteral: string;
17831
+ valueReference: string;
17832
+ values: string[];
17814
17833
  }
17815
- export interface GetPayConfigOneOffRule {
17816
- /**
17817
- * When this rule stops applying
17818
- */
17819
- endAt: string;
17820
- /**
17821
- * Unique identifier for this rule, stable across edits to the config
17822
- */
17823
- id: string;
17824
- /**
17825
- * Human readable name for this rule
17826
- */
17827
- name: string;
17834
+ export interface GetIncidentTemplateExpressionOperationBranchesBranchResultArrayValue {
17828
17835
  /**
17829
- * Rate paid while this rule applies, in the lowest denomination of the config's currency
17836
+ * If set, this is the literal value of the step parameter
17830
17837
  */
17831
- rateCents: number;
17838
+ literal: string;
17832
17839
  /**
17833
- * When this rule starts applying
17840
+ * If set, this is the reference into the trigger scope that is the value of this parameter
17834
17841
  */
17835
- startAt: string;
17842
+ reference: string;
17836
17843
  }
17837
- export interface GetPayConfigWeeklyRule {
17838
- /**
17839
- * Time of day this rule ends, in 24 hour format. Equal to startTime means it runs for the whole day. Written as `HH:MM`.
17840
- */
17841
- endTime: string;
17844
+ export interface GetIncidentTemplateExpressionOperationBranchesBranchResultValue {
17842
17845
  /**
17843
- * Unique identifier for this rule, stable across edits to the config
17846
+ * If set, this is the literal value of the step parameter
17844
17847
  */
17845
- id: string;
17848
+ literal: string;
17846
17849
  /**
17847
- * Rate paid while this rule applies, in the lowest denomination of the config's currency
17850
+ * If set, this is the reference into the trigger scope that is the value of this parameter
17848
17851
  */
17849
- rateCents: number;
17852
+ reference: string;
17853
+ }
17854
+ export interface GetIncidentTemplateExpressionOperationBranchesReturns {
17850
17855
  /**
17851
- * Time of day this rule starts, in 24 hour format, as `HH:MM`.
17856
+ * Whether the return value should be single or multi-value
17852
17857
  */
17853
- startTime: string;
17858
+ array: boolean;
17854
17859
  /**
17855
- * Days of the week this rule applies on. Possible values are: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.
17860
+ * Expected return type of this expression (what to try casting the result to)
17856
17861
  */
17857
- weekdays: string[];
17862
+ type: string;
17858
17863
  }
17859
- export interface GetScheduleReplicaSource {
17864
+ export interface GetIncidentTemplateExpressionOperationCast {
17865
+ returns: outputs.GetIncidentTemplateExpressionOperationCastReturns;
17866
+ }
17867
+ export interface GetIncidentTemplateExpressionOperationCastReturns {
17860
17868
  /**
17861
- * The ID of the layer within the rotation to replicate. Rotations can have multiple layers that stack on top of each other, and you must specify which layer to replicate.
17869
+ * Whether the return value should be single or multi-value
17862
17870
  */
17863
- layerId: string;
17871
+ array: boolean;
17864
17872
  /**
17865
- * The ID of the rotation within the schedule to replicate. Each schedule can have multiple rotations, and you can choose which ones to include in the replica.
17873
+ * Expected return type of this expression (what to try casting the result to)
17866
17874
  */
17867
- rotationId: string;
17875
+ type: string;
17868
17876
  }
17869
- export interface GetScheduleReplicaUserStatus {
17877
+ export interface GetIncidentTemplateExpressionOperationConcatenate {
17870
17878
  /**
17871
- * The corresponding user ID in the external provider (e.g. a PagerDuty user ID). If set, the user has been successfully mapped to an external user and will be included in the replica. If null, the user could not be resolved and syncing may produce errors.
17879
+ * The reference within the scope to concatenate with
17872
17880
  */
17873
- externalUserId: string;
17881
+ reference: string;
17882
+ }
17883
+ export interface GetIncidentTemplateExpressionOperationFilter {
17874
17884
  /**
17875
- * The incident.io user ID for a user who appears in the schedule rotation.
17885
+ * The condition groups to apply in this filter. Only one group needs to be satisfied for the filter to pass.
17876
17886
  */
17877
- userId: string;
17887
+ conditionGroups: outputs.GetIncidentTemplateExpressionOperationFilterConditionGroup[];
17878
17888
  }
17879
- export interface GetScheduleRotationBetaHandover {
17889
+ export interface GetIncidentTemplateExpressionOperationFilterConditionGroup {
17880
17890
  /**
17881
- * How many of the interval type to wait between handovers.
17891
+ * All conditions in this list must be satisfied for the group to be satisfied
17882
17892
  */
17883
- interval: number;
17893
+ conditions: outputs.GetIncidentTemplateExpressionOperationFilterConditionGroupCondition[];
17894
+ }
17895
+ export interface GetIncidentTemplateExpressionOperationFilterConditionGroupCondition {
17896
+ operation: string;
17884
17897
  /**
17885
- * How often a handover occurs. Possible values are: `hourly`, `daily`, `weekly`.
17898
+ * Bindings for the operation parameters
17886
17899
  */
17887
- intervalType: string;
17900
+ paramBindings: outputs.GetIncidentTemplateExpressionOperationFilterConditionGroupConditionParamBinding[];
17901
+ subject: string;
17888
17902
  }
17889
- export interface GetScheduleRotationBetaWorkingInterval {
17903
+ export interface GetIncidentTemplateExpressionOperationFilterConditionGroupConditionParamBinding {
17890
17904
  /**
17891
- * Time of day this window closes, as HH:MM.
17905
+ * If array*value is set, this helps render the values
17892
17906
  */
17893
- endTime: string;
17907
+ arrayValues: outputs.GetIncidentTemplateExpressionOperationFilterConditionGroupConditionParamBindingArrayValue[];
17908
+ expressionRef: string;
17909
+ value: outputs.GetIncidentTemplateExpressionOperationFilterConditionGroupConditionParamBindingValue;
17910
+ valueLiteral: string;
17911
+ valueReference: string;
17912
+ values: string[];
17913
+ }
17914
+ export interface GetIncidentTemplateExpressionOperationFilterConditionGroupConditionParamBindingArrayValue {
17894
17915
  /**
17895
- * Time of day this window opens, as HH:MM.
17916
+ * If set, this is the literal value of the step parameter
17896
17917
  */
17897
- startTime: string;
17918
+ literal: string;
17898
17919
  /**
17899
- * Day of the week, lowercase. Possible values are: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.
17920
+ * If set, this is the reference into the trigger scope that is the value of this parameter
17900
17921
  */
17901
- weekday: string;
17922
+ reference: string;
17902
17923
  }
17903
- export interface GetScheduleRotationHandover {
17924
+ export interface GetIncidentTemplateExpressionOperationFilterConditionGroupConditionParamBindingValue {
17904
17925
  /**
17905
- * How many of the interval type to wait between handovers.
17926
+ * If set, this is the literal value of the step parameter
17906
17927
  */
17907
- interval: number;
17928
+ literal: string;
17908
17929
  /**
17909
- * How often a handover occurs. Possible values are: `hourly`, `daily`, `weekly`.
17930
+ * If set, this is the reference into the trigger scope that is the value of this parameter
17910
17931
  */
17911
- intervalType: string;
17932
+ reference: string;
17912
17933
  }
17913
- export interface GetScheduleRotationWorkingInterval {
17914
- /**
17915
- * Time of day this window closes, as HH:MM.
17916
- */
17917
- endTime: string;
17934
+ export interface GetIncidentTemplateExpressionOperationNavigate {
17918
17935
  /**
17919
- * Time of day this window opens, as HH:MM.
17936
+ * The reference within the scope to navigate to
17920
17937
  */
17921
- startTime: string;
17938
+ reference: string;
17939
+ }
17940
+ export interface GetIncidentTemplateExpressionOperationParse {
17941
+ returns: outputs.GetIncidentTemplateExpressionOperationParseReturns;
17922
17942
  /**
17923
- * Day of the week, lowercase. Possible values are: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.
17943
+ * Source expression that is evaluated to a result
17924
17944
  */
17925
- weekday: string;
17945
+ source: string;
17926
17946
  }
17927
- export interface GetScheduleSyncTargetLinkedSchedule {
17947
+ export interface GetIncidentTemplateExpressionOperationParseReturns {
17928
17948
  /**
17929
- * Unique internal ID of the schedule
17949
+ * Whether the return value should be single or multi-value
17930
17950
  */
17931
- id: string;
17951
+ array: boolean;
17932
17952
  /**
17933
- * Human readable name of the schedule
17953
+ * Expected return type of this expression (what to try casting the result to)
17934
17954
  */
17935
- name: string;
17955
+ type: string;
17956
+ }
17957
+ export interface GetIncidentTemplateTemplate {
17936
17958
  /**
17937
- * IDs of teams that own this schedule
17959
+ * Custom fields configuration
17938
17960
  */
17939
- teamIds: string[];
17961
+ customFields: outputs.GetIncidentTemplateTemplateCustomField[];
17962
+ incidentMode: outputs.GetIncidentTemplateTemplateIncidentMode;
17963
+ incidentType: outputs.GetIncidentTemplateTemplateIncidentType;
17964
+ name: outputs.GetIncidentTemplateTemplateName;
17965
+ severity: outputs.GetIncidentTemplateTemplateSeverity;
17966
+ startInTriage: outputs.GetIncidentTemplateTemplateStartInTriage;
17967
+ summary: outputs.GetIncidentTemplateTemplateSummary;
17968
+ workspace: outputs.GetIncidentTemplateTemplateWorkspace;
17940
17969
  }
17941
- export interface GetWorkflowConditionGroup {
17970
+ export interface GetIncidentTemplateTemplateCustomField {
17971
+ binding: outputs.GetIncidentTemplateTemplateCustomFieldBinding;
17942
17972
  /**
17943
- * All conditions in this list must be satisfied for the group to be satisfied
17973
+ * ID of the custom field
17944
17974
  */
17945
- conditions: outputs.GetWorkflowConditionGroupCondition[];
17946
- }
17947
- export interface GetWorkflowConditionGroupCondition {
17948
- operation: string;
17975
+ customFieldId: string;
17949
17976
  /**
17950
- * Bindings for the operation parameters
17977
+ * The strategy to use when multiple alerts match this route. Possible values are: `first-wins`, `last-wins`, `append`.
17951
17978
  */
17952
- paramBindings: outputs.GetWorkflowConditionGroupConditionParamBinding[];
17953
- subject: string;
17979
+ mergeStrategy: string;
17954
17980
  }
17955
- export interface GetWorkflowConditionGroupConditionParamBinding {
17981
+ export interface GetIncidentTemplateTemplateCustomFieldBinding {
17956
17982
  /**
17957
17983
  * If array*value is set, this helps render the values
17958
17984
  */
17959
- arrayValues: outputs.GetWorkflowConditionGroupConditionParamBindingArrayValue[];
17985
+ arrayValues: outputs.GetIncidentTemplateTemplateCustomFieldBindingArrayValue[];
17960
17986
  expressionRef: string;
17961
- value: outputs.GetWorkflowConditionGroupConditionParamBindingValue;
17987
+ value: outputs.GetIncidentTemplateTemplateCustomFieldBindingValue;
17962
17988
  valueLiteral: string;
17963
17989
  valueReference: string;
17964
17990
  values: string[];
17965
17991
  }
17966
- export interface GetWorkflowConditionGroupConditionParamBindingArrayValue {
17992
+ export interface GetIncidentTemplateTemplateCustomFieldBindingArrayValue {
17967
17993
  /**
17968
17994
  * If set, this is the literal value of the step parameter
17969
17995
  */
@@ -17973,7 +17999,7 @@ export interface GetWorkflowConditionGroupConditionParamBindingArrayValue {
17973
17999
  */
17974
18000
  reference: string;
17975
18001
  }
17976
- export interface GetWorkflowConditionGroupConditionParamBindingValue {
18002
+ export interface GetIncidentTemplateTemplateCustomFieldBindingValue {
17977
18003
  /**
17978
18004
  * If set, this is the literal value of the step parameter
17979
18005
  */
@@ -17983,47 +18009,49 @@ export interface GetWorkflowConditionGroupConditionParamBindingValue {
17983
18009
  */
17984
18010
  reference: string;
17985
18011
  }
17986
- export interface GetWorkflowDelay {
17987
- /**
17988
- * If this workflow is delayed, whether the conditions should be rechecked between trigger firing and execution
17989
- */
17990
- conditionsApplyOverDelay: boolean;
18012
+ export interface GetIncidentTemplateTemplateIncidentMode {
17991
18013
  /**
17992
- * Delay in seconds between trigger firing and running the workflow
18014
+ * If array*value is set, this helps render the values
17993
18015
  */
17994
- forSeconds: number;
18016
+ arrayValues: outputs.GetIncidentTemplateTemplateIncidentModeArrayValue[];
18017
+ expressionRef: string;
18018
+ value: outputs.GetIncidentTemplateTemplateIncidentModeValue;
18019
+ valueLiteral: string;
18020
+ valueReference: string;
18021
+ values: string[];
17995
18022
  }
17996
- export interface GetWorkflowExpression {
17997
- elseBranch: outputs.GetWorkflowExpressionElseBranch;
18023
+ export interface GetIncidentTemplateTemplateIncidentModeArrayValue {
17998
18024
  /**
17999
- * The human readable label of the expression
18025
+ * If set, this is the literal value of the step parameter
18000
18026
  */
18001
- label: string;
18002
- operations: outputs.GetWorkflowExpressionOperation[];
18027
+ literal: string;
18003
18028
  /**
18004
- * A short ID that can be used to reference the expression
18029
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18005
18030
  */
18006
18031
  reference: string;
18032
+ }
18033
+ export interface GetIncidentTemplateTemplateIncidentModeValue {
18007
18034
  /**
18008
- * The root reference for this expression (i.e. where the expression starts)
18035
+ * If set, this is the literal value of the step parameter
18009
18036
  */
18010
- rootReference: string;
18011
- }
18012
- export interface GetWorkflowExpressionElseBranch {
18013
- result: outputs.GetWorkflowExpressionElseBranchResult;
18037
+ literal: string;
18038
+ /**
18039
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18040
+ */
18041
+ reference: string;
18014
18042
  }
18015
- export interface GetWorkflowExpressionElseBranchResult {
18043
+ export interface GetIncidentTemplateTemplateIncidentType {
18016
18044
  /**
18017
18045
  * If array*value is set, this helps render the values
18018
18046
  */
18019
- arrayValues: outputs.GetWorkflowExpressionElseBranchResultArrayValue[];
18047
+ arrayValues: outputs.GetIncidentTemplateTemplateIncidentTypeArrayValue[];
18020
18048
  expressionRef: string;
18021
- value: outputs.GetWorkflowExpressionElseBranchResultValue;
18049
+ value: outputs.GetIncidentTemplateTemplateIncidentTypeValue;
18022
18050
  valueLiteral: string;
18023
18051
  valueReference: string;
18024
18052
  values: string[];
18025
18053
  }
18026
- export interface GetWorkflowExpressionElseBranchResultArrayValue {
18054
+ export interface GetIncidentTemplateTemplateIncidentTypeArrayValue {
18027
18055
  /**
18028
18056
  * If set, this is the literal value of the step parameter
18029
18057
  */
@@ -18033,7 +18061,7 @@ export interface GetWorkflowExpressionElseBranchResultArrayValue {
18033
18061
  */
18034
18062
  reference: string;
18035
18063
  }
18036
- export interface GetWorkflowExpressionElseBranchResultValue {
18064
+ export interface GetIncidentTemplateTemplateIncidentTypeValue {
18037
18065
  /**
18038
18066
  * If set, this is the literal value of the step parameter
18039
18067
  */
@@ -18043,283 +18071,1287 @@ export interface GetWorkflowExpressionElseBranchResultValue {
18043
18071
  */
18044
18072
  reference: string;
18045
18073
  }
18046
- export interface GetWorkflowExpressionOperation {
18047
- branches: outputs.GetWorkflowExpressionOperationBranches;
18074
+ export interface GetIncidentTemplateTemplateName {
18048
18075
  /**
18049
- * The cast target of this operation, set when the operation type is `cast`
18076
+ * The array of literal or reference parameter values
18077
+ */
18078
+ arrayValues: outputs.GetIncidentTemplateTemplateNameArrayValue[];
18079
+ /**
18080
+ * Whether this attribute should be autogenerated using AI
18081
+ */
18082
+ autogenerated: boolean;
18083
+ /**
18084
+ * The literal or reference parameter value
18085
+ */
18086
+ value: outputs.GetIncidentTemplateTemplateNameValue;
18087
+ }
18088
+ export interface GetIncidentTemplateTemplateNameArrayValue {
18089
+ /**
18090
+ * If set, this is the literal value of the step parameter
18091
+ */
18092
+ literal: string;
18093
+ /**
18094
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18095
+ */
18096
+ reference: string;
18097
+ }
18098
+ export interface GetIncidentTemplateTemplateNameValue {
18099
+ /**
18100
+ * If set, this is the literal value of the step parameter
18101
+ */
18102
+ literal: string;
18103
+ /**
18104
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18105
+ */
18106
+ reference: string;
18107
+ }
18108
+ export interface GetIncidentTemplateTemplateSeverity {
18109
+ binding: outputs.GetIncidentTemplateTemplateSeverityBinding;
18110
+ /**
18111
+ * Strategy for merging severity when multiple alerts create/update the same incident. Possible values are: `first-wins`, `max`.
18112
+ */
18113
+ mergeStrategy: string;
18114
+ }
18115
+ export interface GetIncidentTemplateTemplateSeverityBinding {
18116
+ /**
18117
+ * If array*value is set, this helps render the values
18118
+ */
18119
+ arrayValues: outputs.GetIncidentTemplateTemplateSeverityBindingArrayValue[];
18120
+ expressionRef: string;
18121
+ value: outputs.GetIncidentTemplateTemplateSeverityBindingValue;
18122
+ valueLiteral: string;
18123
+ valueReference: string;
18124
+ values: string[];
18125
+ }
18126
+ export interface GetIncidentTemplateTemplateSeverityBindingArrayValue {
18127
+ /**
18128
+ * If set, this is the literal value of the step parameter
18129
+ */
18130
+ literal: string;
18131
+ /**
18132
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18133
+ */
18134
+ reference: string;
18135
+ }
18136
+ export interface GetIncidentTemplateTemplateSeverityBindingValue {
18137
+ /**
18138
+ * If set, this is the literal value of the step parameter
18139
+ */
18140
+ literal: string;
18141
+ /**
18142
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18143
+ */
18144
+ reference: string;
18145
+ }
18146
+ export interface GetIncidentTemplateTemplateStartInTriage {
18147
+ /**
18148
+ * If array*value is set, this helps render the values
18149
+ */
18150
+ arrayValues: outputs.GetIncidentTemplateTemplateStartInTriageArrayValue[];
18151
+ expressionRef: string;
18152
+ value: outputs.GetIncidentTemplateTemplateStartInTriageValue;
18153
+ valueLiteral: string;
18154
+ valueReference: string;
18155
+ values: string[];
18156
+ }
18157
+ export interface GetIncidentTemplateTemplateStartInTriageArrayValue {
18158
+ /**
18159
+ * If set, this is the literal value of the step parameter
18160
+ */
18161
+ literal: string;
18162
+ /**
18163
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18164
+ */
18165
+ reference: string;
18166
+ }
18167
+ export interface GetIncidentTemplateTemplateStartInTriageValue {
18168
+ /**
18169
+ * If set, this is the literal value of the step parameter
18170
+ */
18171
+ literal: string;
18172
+ /**
18173
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18174
+ */
18175
+ reference: string;
18176
+ }
18177
+ export interface GetIncidentTemplateTemplateSummary {
18178
+ /**
18179
+ * The array of literal or reference parameter values
18180
+ */
18181
+ arrayValues: outputs.GetIncidentTemplateTemplateSummaryArrayValue[];
18182
+ /**
18183
+ * Whether this attribute should be autogenerated using AI
18184
+ */
18185
+ autogenerated: boolean;
18186
+ /**
18187
+ * The literal or reference parameter value
18188
+ */
18189
+ value: outputs.GetIncidentTemplateTemplateSummaryValue;
18190
+ }
18191
+ export interface GetIncidentTemplateTemplateSummaryArrayValue {
18192
+ /**
18193
+ * If set, this is the literal value of the step parameter
18194
+ */
18195
+ literal: string;
18196
+ /**
18197
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18198
+ */
18199
+ reference: string;
18200
+ }
18201
+ export interface GetIncidentTemplateTemplateSummaryValue {
18202
+ /**
18203
+ * If set, this is the literal value of the step parameter
18204
+ */
18205
+ literal: string;
18206
+ /**
18207
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18208
+ */
18209
+ reference: string;
18210
+ }
18211
+ export interface GetIncidentTemplateTemplateWorkspace {
18212
+ /**
18213
+ * If array*value is set, this helps render the values
18214
+ */
18215
+ arrayValues: outputs.GetIncidentTemplateTemplateWorkspaceArrayValue[];
18216
+ expressionRef: string;
18217
+ value: outputs.GetIncidentTemplateTemplateWorkspaceValue;
18218
+ valueLiteral: string;
18219
+ valueReference: string;
18220
+ values: string[];
18221
+ }
18222
+ export interface GetIncidentTemplateTemplateWorkspaceArrayValue {
18223
+ /**
18224
+ * If set, this is the literal value of the step parameter
18225
+ */
18226
+ literal: string;
18227
+ /**
18228
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18229
+ */
18230
+ reference: string;
18231
+ }
18232
+ export interface GetIncidentTemplateTemplateWorkspaceValue {
18233
+ /**
18234
+ * If set, this is the literal value of the step parameter
18235
+ */
18236
+ literal: string;
18237
+ /**
18238
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18239
+ */
18240
+ reference: string;
18241
+ }
18242
+ export interface GetIpAllowlistAllowlist {
18243
+ /**
18244
+ * A label to help identify this IP or prefix
18245
+ */
18246
+ label: string;
18247
+ /**
18248
+ * An IP address or a CIDR IP prefix to allow
18249
+ */
18250
+ value: string;
18251
+ }
18252
+ export interface GetPayConfigOneOffRule {
18253
+ /**
18254
+ * When this rule stops applying
18255
+ */
18256
+ endAt: string;
18257
+ /**
18258
+ * Unique identifier for this rule, stable across edits to the config
18259
+ */
18260
+ id: string;
18261
+ /**
18262
+ * Human readable name for this rule
18263
+ */
18264
+ name: string;
18265
+ /**
18266
+ * Rate paid while this rule applies, in the lowest denomination of the config's currency
18267
+ */
18268
+ rateCents: number;
18269
+ /**
18270
+ * When this rule starts applying
18271
+ */
18272
+ startAt: string;
18273
+ }
18274
+ export interface GetPayConfigWeeklyRule {
18275
+ /**
18276
+ * Time of day this rule ends, in 24 hour format. Equal to startTime means it runs for the whole day. Written as `HH:MM`.
18277
+ */
18278
+ endTime: string;
18279
+ /**
18280
+ * Unique identifier for this rule, stable across edits to the config
18281
+ */
18282
+ id: string;
18283
+ /**
18284
+ * Rate paid while this rule applies, in the lowest denomination of the config's currency
18285
+ */
18286
+ rateCents: number;
18287
+ /**
18288
+ * Time of day this rule starts, in 24 hour format, as `HH:MM`.
18289
+ */
18290
+ startTime: string;
18291
+ /**
18292
+ * Days of the week this rule applies on. Possible values are: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.
18293
+ */
18294
+ weekdays: string[];
18295
+ }
18296
+ export interface GetScheduleReplicaSource {
18297
+ /**
18298
+ * The ID of the layer within the rotation to replicate. Rotations can have multiple layers that stack on top of each other, and you must specify which layer to replicate.
18299
+ */
18300
+ layerId: string;
18301
+ /**
18302
+ * The ID of the rotation within the schedule to replicate. Each schedule can have multiple rotations, and you can choose which ones to include in the replica.
18303
+ */
18304
+ rotationId: string;
18305
+ }
18306
+ export interface GetScheduleReplicaUserStatus {
18307
+ /**
18308
+ * The corresponding user ID in the external provider (e.g. a PagerDuty user ID). If set, the user has been successfully mapped to an external user and will be included in the replica. If null, the user could not be resolved and syncing may produce errors.
18309
+ */
18310
+ externalUserId: string;
18311
+ /**
18312
+ * The incident.io user ID for a user who appears in the schedule rotation.
18313
+ */
18314
+ userId: string;
18315
+ }
18316
+ export interface GetScheduleRotationBetaHandover {
18317
+ /**
18318
+ * How many of the interval type to wait between handovers.
18319
+ */
18320
+ interval: number;
18321
+ /**
18322
+ * How often a handover occurs. Possible values are: `hourly`, `daily`, `weekly`.
18323
+ */
18324
+ intervalType: string;
18325
+ }
18326
+ export interface GetScheduleRotationBetaWorkingInterval {
18327
+ /**
18328
+ * Time of day this window closes, as HH:MM.
18329
+ */
18330
+ endTime: string;
18331
+ /**
18332
+ * Time of day this window opens, as HH:MM.
18333
+ */
18334
+ startTime: string;
18335
+ /**
18336
+ * Day of the week, lowercase. Possible values are: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.
18337
+ */
18338
+ weekday: string;
18339
+ }
18340
+ export interface GetScheduleRotationHandover {
18341
+ /**
18342
+ * How many of the interval type to wait between handovers.
18343
+ */
18344
+ interval: number;
18345
+ /**
18346
+ * How often a handover occurs. Possible values are: `hourly`, `daily`, `weekly`.
18347
+ */
18348
+ intervalType: string;
18349
+ }
18350
+ export interface GetScheduleRotationWorkingInterval {
18351
+ /**
18352
+ * Time of day this window closes, as HH:MM.
18353
+ */
18354
+ endTime: string;
18355
+ /**
18356
+ * Time of day this window opens, as HH:MM.
18357
+ */
18358
+ startTime: string;
18359
+ /**
18360
+ * Day of the week, lowercase. Possible values are: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.
18361
+ */
18362
+ weekday: string;
18363
+ }
18364
+ export interface GetScheduleSyncTargetLinkedSchedule {
18365
+ /**
18366
+ * Unique internal ID of the schedule
18367
+ */
18368
+ id: string;
18369
+ /**
18370
+ * Human readable name of the schedule
18371
+ */
18372
+ name: string;
18373
+ /**
18374
+ * IDs of teams that own this schedule
18375
+ */
18376
+ teamIds: string[];
18377
+ }
18378
+ export interface GetWorkflowConditionGroup {
18379
+ /**
18380
+ * All conditions in this list must be satisfied for the group to be satisfied
18381
+ */
18382
+ conditions: outputs.GetWorkflowConditionGroupCondition[];
18383
+ }
18384
+ export interface GetWorkflowConditionGroupCondition {
18385
+ operation: string;
18386
+ /**
18387
+ * Bindings for the operation parameters
18388
+ */
18389
+ paramBindings: outputs.GetWorkflowConditionGroupConditionParamBinding[];
18390
+ subject: string;
18391
+ }
18392
+ export interface GetWorkflowConditionGroupConditionParamBinding {
18393
+ /**
18394
+ * If array*value is set, this helps render the values
18395
+ */
18396
+ arrayValues: outputs.GetWorkflowConditionGroupConditionParamBindingArrayValue[];
18397
+ expressionRef: string;
18398
+ value: outputs.GetWorkflowConditionGroupConditionParamBindingValue;
18399
+ valueLiteral: string;
18400
+ valueReference: string;
18401
+ values: string[];
18402
+ }
18403
+ export interface GetWorkflowConditionGroupConditionParamBindingArrayValue {
18404
+ /**
18405
+ * If set, this is the literal value of the step parameter
18406
+ */
18407
+ literal: string;
18408
+ /**
18409
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18410
+ */
18411
+ reference: string;
18412
+ }
18413
+ export interface GetWorkflowConditionGroupConditionParamBindingValue {
18414
+ /**
18415
+ * If set, this is the literal value of the step parameter
18416
+ */
18417
+ literal: string;
18418
+ /**
18419
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18420
+ */
18421
+ reference: string;
18422
+ }
18423
+ export interface GetWorkflowDelay {
18424
+ /**
18425
+ * If this workflow is delayed, whether the conditions should be rechecked between trigger firing and execution
18426
+ */
18427
+ conditionsApplyOverDelay: boolean;
18428
+ /**
18429
+ * Delay in seconds between trigger firing and running the workflow
18430
+ */
18431
+ forSeconds: number;
18432
+ }
18433
+ export interface GetWorkflowExpression {
18434
+ elseBranch: outputs.GetWorkflowExpressionElseBranch;
18435
+ /**
18436
+ * The human readable label of the expression
18437
+ */
18438
+ label: string;
18439
+ operations: outputs.GetWorkflowExpressionOperation[];
18440
+ /**
18441
+ * A short ID that can be used to reference the expression
18442
+ */
18443
+ reference: string;
18444
+ /**
18445
+ * The root reference for this expression (i.e. where the expression starts)
18446
+ */
18447
+ rootReference: string;
18448
+ }
18449
+ export interface GetWorkflowExpressionElseBranch {
18450
+ result: outputs.GetWorkflowExpressionElseBranchResult;
18451
+ }
18452
+ export interface GetWorkflowExpressionElseBranchResult {
18453
+ /**
18454
+ * If array*value is set, this helps render the values
18455
+ */
18456
+ arrayValues: outputs.GetWorkflowExpressionElseBranchResultArrayValue[];
18457
+ expressionRef: string;
18458
+ value: outputs.GetWorkflowExpressionElseBranchResultValue;
18459
+ valueLiteral: string;
18460
+ valueReference: string;
18461
+ values: string[];
18462
+ }
18463
+ export interface GetWorkflowExpressionElseBranchResultArrayValue {
18464
+ /**
18465
+ * If set, this is the literal value of the step parameter
18466
+ */
18467
+ literal: string;
18468
+ /**
18469
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18470
+ */
18471
+ reference: string;
18472
+ }
18473
+ export interface GetWorkflowExpressionElseBranchResultValue {
18474
+ /**
18475
+ * If set, this is the literal value of the step parameter
18476
+ */
18477
+ literal: string;
18478
+ /**
18479
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18480
+ */
18481
+ reference: string;
18482
+ }
18483
+ export interface GetWorkflowExpressionOperation {
18484
+ branches: outputs.GetWorkflowExpressionOperationBranches;
18485
+ /**
18486
+ * The cast target of this operation, set when the operation type is `cast`
18487
+ */
18488
+ cast: outputs.GetWorkflowExpressionOperationCast;
18489
+ concatenate: outputs.GetWorkflowExpressionOperationConcatenate;
18490
+ filter: outputs.GetWorkflowExpressionOperationFilter;
18491
+ navigate: outputs.GetWorkflowExpressionOperationNavigate;
18492
+ /**
18493
+ * The type of the operation. Possible values are: `navigate`, `filter`, `concatenate`, `count`, `min`, `max`, `sum`, `random`, `first`, `parse`, `branches`, `cast`.
18494
+ */
18495
+ operationType: string;
18496
+ parse: outputs.GetWorkflowExpressionOperationParse;
18497
+ }
18498
+ export interface GetWorkflowExpressionOperationBranches {
18499
+ /**
18500
+ * The branches to apply for this operation
18501
+ */
18502
+ branches: outputs.GetWorkflowExpressionOperationBranchesBranch[];
18503
+ returns: outputs.GetWorkflowExpressionOperationBranchesReturns;
18504
+ }
18505
+ export interface GetWorkflowExpressionOperationBranchesBranch {
18506
+ /**
18507
+ * The condition groups to apply in this filter. Only one group needs to be satisfied for the filter to pass.
18508
+ */
18509
+ conditionGroups: outputs.GetWorkflowExpressionOperationBranchesBranchConditionGroup[];
18510
+ result: outputs.GetWorkflowExpressionOperationBranchesBranchResult;
18511
+ }
18512
+ export interface GetWorkflowExpressionOperationBranchesBranchConditionGroup {
18513
+ /**
18514
+ * All conditions in this list must be satisfied for the group to be satisfied
18515
+ */
18516
+ conditions: outputs.GetWorkflowExpressionOperationBranchesBranchConditionGroupCondition[];
18517
+ }
18518
+ export interface GetWorkflowExpressionOperationBranchesBranchConditionGroupCondition {
18519
+ operation: string;
18520
+ /**
18521
+ * Bindings for the operation parameters
18522
+ */
18523
+ paramBindings: outputs.GetWorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBinding[];
18524
+ subject: string;
18525
+ }
18526
+ export interface GetWorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBinding {
18527
+ /**
18528
+ * If array*value is set, this helps render the values
18529
+ */
18530
+ arrayValues: outputs.GetWorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValue[];
18531
+ expressionRef: string;
18532
+ value: outputs.GetWorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingValue;
18533
+ valueLiteral: string;
18534
+ valueReference: string;
18535
+ values: string[];
18536
+ }
18537
+ export interface GetWorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValue {
18538
+ /**
18539
+ * If set, this is the literal value of the step parameter
18540
+ */
18541
+ literal: string;
18542
+ /**
18543
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18544
+ */
18545
+ reference: string;
18546
+ }
18547
+ export interface GetWorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingValue {
18548
+ /**
18549
+ * If set, this is the literal value of the step parameter
18550
+ */
18551
+ literal: string;
18552
+ /**
18553
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18554
+ */
18555
+ reference: string;
18556
+ }
18557
+ export interface GetWorkflowExpressionOperationBranchesBranchResult {
18558
+ /**
18559
+ * If array*value is set, this helps render the values
18560
+ */
18561
+ arrayValues: outputs.GetWorkflowExpressionOperationBranchesBranchResultArrayValue[];
18562
+ expressionRef: string;
18563
+ value: outputs.GetWorkflowExpressionOperationBranchesBranchResultValue;
18564
+ valueLiteral: string;
18565
+ valueReference: string;
18566
+ values: string[];
18567
+ }
18568
+ export interface GetWorkflowExpressionOperationBranchesBranchResultArrayValue {
18569
+ /**
18570
+ * If set, this is the literal value of the step parameter
18571
+ */
18572
+ literal: string;
18573
+ /**
18574
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18575
+ */
18576
+ reference: string;
18577
+ }
18578
+ export interface GetWorkflowExpressionOperationBranchesBranchResultValue {
18579
+ /**
18580
+ * If set, this is the literal value of the step parameter
18581
+ */
18582
+ literal: string;
18583
+ /**
18584
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18585
+ */
18586
+ reference: string;
18587
+ }
18588
+ export interface GetWorkflowExpressionOperationBranchesReturns {
18589
+ /**
18590
+ * Whether the return value should be single or multi-value
18591
+ */
18592
+ array: boolean;
18593
+ /**
18594
+ * Expected return type of this expression (what to try casting the result to)
18595
+ */
18596
+ type: string;
18597
+ }
18598
+ export interface GetWorkflowExpressionOperationCast {
18599
+ returns: outputs.GetWorkflowExpressionOperationCastReturns;
18600
+ }
18601
+ export interface GetWorkflowExpressionOperationCastReturns {
18602
+ /**
18603
+ * Whether the return value should be single or multi-value
18604
+ */
18605
+ array: boolean;
18606
+ /**
18607
+ * Expected return type of this expression (what to try casting the result to)
18608
+ */
18609
+ type: string;
18610
+ }
18611
+ export interface GetWorkflowExpressionOperationConcatenate {
18612
+ /**
18613
+ * The reference within the scope to concatenate with
18614
+ */
18615
+ reference: string;
18616
+ }
18617
+ export interface GetWorkflowExpressionOperationFilter {
18618
+ /**
18619
+ * The condition groups to apply in this filter. Only one group needs to be satisfied for the filter to pass.
18620
+ */
18621
+ conditionGroups: outputs.GetWorkflowExpressionOperationFilterConditionGroup[];
18622
+ }
18623
+ export interface GetWorkflowExpressionOperationFilterConditionGroup {
18624
+ /**
18625
+ * All conditions in this list must be satisfied for the group to be satisfied
18626
+ */
18627
+ conditions: outputs.GetWorkflowExpressionOperationFilterConditionGroupCondition[];
18628
+ }
18629
+ export interface GetWorkflowExpressionOperationFilterConditionGroupCondition {
18630
+ operation: string;
18631
+ /**
18632
+ * Bindings for the operation parameters
18633
+ */
18634
+ paramBindings: outputs.GetWorkflowExpressionOperationFilterConditionGroupConditionParamBinding[];
18635
+ subject: string;
18636
+ }
18637
+ export interface GetWorkflowExpressionOperationFilterConditionGroupConditionParamBinding {
18638
+ /**
18639
+ * If array*value is set, this helps render the values
18640
+ */
18641
+ arrayValues: outputs.GetWorkflowExpressionOperationFilterConditionGroupConditionParamBindingArrayValue[];
18642
+ expressionRef: string;
18643
+ value: outputs.GetWorkflowExpressionOperationFilterConditionGroupConditionParamBindingValue;
18644
+ valueLiteral: string;
18645
+ valueReference: string;
18646
+ values: string[];
18647
+ }
18648
+ export interface GetWorkflowExpressionOperationFilterConditionGroupConditionParamBindingArrayValue {
18649
+ /**
18650
+ * If set, this is the literal value of the step parameter
18651
+ */
18652
+ literal: string;
18653
+ /**
18654
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18655
+ */
18656
+ reference: string;
18657
+ }
18658
+ export interface GetWorkflowExpressionOperationFilterConditionGroupConditionParamBindingValue {
18659
+ /**
18660
+ * If set, this is the literal value of the step parameter
18661
+ */
18662
+ literal: string;
18663
+ /**
18664
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18665
+ */
18666
+ reference: string;
18667
+ }
18668
+ export interface GetWorkflowExpressionOperationNavigate {
18669
+ /**
18670
+ * The reference within the scope to navigate to
18671
+ */
18672
+ reference: string;
18673
+ }
18674
+ export interface GetWorkflowExpressionOperationParse {
18675
+ returns: outputs.GetWorkflowExpressionOperationParseReturns;
18676
+ /**
18677
+ * Source expression that is evaluated to a result
18678
+ */
18679
+ source: string;
18680
+ }
18681
+ export interface GetWorkflowExpressionOperationParseReturns {
18682
+ /**
18683
+ * Whether the return value should be single or multi-value
18684
+ */
18685
+ array: boolean;
18686
+ /**
18687
+ * Expected return type of this expression (what to try casting the result to)
18688
+ */
18689
+ type: string;
18690
+ }
18691
+ export interface GetWorkflowFormField {
18692
+ /**
18693
+ * Whether this field holds a list of values rather than a single value
18694
+ */
18695
+ array: boolean;
18696
+ /**
18697
+ * Optional help text shown beneath the field
18698
+ */
18699
+ description: string;
18700
+ /**
18701
+ * Stable identifier for this form field, preserved across versions
18702
+ */
18703
+ id: string;
18704
+ /**
18705
+ * The key used to reference this field in the workflow scope
18706
+ */
18707
+ key: string;
18708
+ /**
18709
+ * Whether this field must be filled in when running the workflow
18710
+ */
18711
+ required: boolean;
18712
+ /**
18713
+ * Human readable title shown in the form
18714
+ */
18715
+ title: string;
18716
+ /**
18717
+ * The engine resource type of this field
18718
+ */
18719
+ type: string;
18720
+ }
18721
+ export interface GetWorkflowStep {
18722
+ forEach: string;
18723
+ id: string;
18724
+ name: string;
18725
+ /**
18726
+ * Bindings for the operation parameters
18727
+ */
18728
+ paramBindings: outputs.GetWorkflowStepParamBinding[];
18729
+ }
18730
+ export interface GetWorkflowStepParamBinding {
18731
+ /**
18732
+ * If array*value is set, this helps render the values
18733
+ */
18734
+ arrayValues: outputs.GetWorkflowStepParamBindingArrayValue[];
18735
+ expressionRef: string;
18736
+ value: outputs.GetWorkflowStepParamBindingValue;
18737
+ valueLiteral: string;
18738
+ valueReference: string;
18739
+ values: string[];
18740
+ }
18741
+ export interface GetWorkflowStepParamBindingArrayValue {
18742
+ /**
18743
+ * If set, this is the literal value of the step parameter
18744
+ */
18745
+ literal: string;
18746
+ /**
18747
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18748
+ */
18749
+ reference: string;
18750
+ }
18751
+ export interface GetWorkflowStepParamBindingValue {
18752
+ /**
18753
+ * If set, this is the literal value of the step parameter
18754
+ */
18755
+ literal: string;
18756
+ /**
18757
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18758
+ */
18759
+ reference: string;
18760
+ }
18761
+ export interface IncidentFormExpression {
18762
+ /**
18763
+ * The else branch to resort to if all operations fail
18764
+ */
18765
+ elseBranch?: outputs.IncidentFormExpressionElseBranch;
18766
+ /**
18767
+ * The human readable label of the expression
18768
+ */
18769
+ label: string;
18770
+ /**
18771
+ * The operations to execute in sequence for this expression
18772
+ */
18773
+ operations: outputs.IncidentFormExpressionOperation[];
18774
+ /**
18775
+ * A short ID that can be used to reference the expression
18776
+ */
18777
+ reference: string;
18778
+ /**
18779
+ * The root reference for this expression (i.e. where the expression starts)
18780
+ */
18781
+ rootReference: string;
18782
+ }
18783
+ export interface IncidentFormExpressionElseBranch {
18784
+ /**
18785
+ * The result assumed if the else branch is reached
18786
+ */
18787
+ result: outputs.IncidentFormExpressionElseBranchResult;
18788
+ }
18789
+ export interface IncidentFormExpressionElseBranchResult {
18790
+ /**
18791
+ * The array of literal or reference parameter values
18792
+ */
18793
+ arrayValues?: outputs.IncidentFormExpressionElseBranchResultArrayValue[];
18794
+ /**
18795
+ * The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
18796
+ */
18797
+ expressionRef?: string;
18798
+ /**
18799
+ * The literal or reference parameter value
18800
+ */
18801
+ value?: outputs.IncidentFormExpressionElseBranchResultValue;
18802
+ /**
18803
+ * A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
18804
+ */
18805
+ valueLiteral?: string;
18806
+ /**
18807
+ * A reference into the scope, shorthand for `value = { reference = ... }`.
18808
+ */
18809
+ valueReference?: string;
18810
+ /**
18811
+ * Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
18812
+ */
18813
+ values?: string[];
18814
+ }
18815
+ export interface IncidentFormExpressionElseBranchResultArrayValue {
18816
+ /**
18817
+ * If set, this is the literal value of the step parameter
18818
+ */
18819
+ literal?: string;
18820
+ /**
18821
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18822
+ */
18823
+ reference?: string;
18824
+ }
18825
+ export interface IncidentFormExpressionElseBranchResultValue {
18826
+ /**
18827
+ * If set, this is the literal value of the step parameter
18828
+ */
18829
+ literal?: string;
18830
+ /**
18831
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18832
+ */
18833
+ reference?: string;
18834
+ }
18835
+ export interface IncidentFormExpressionOperation {
18836
+ /**
18837
+ * An operation type that allows for a value to be set conditionally by a series of logical branches
18838
+ */
18839
+ branches?: outputs.IncidentFormExpressionOperationBranches;
18840
+ /**
18841
+ * An operation type that converts a value into another type. Only valid on values that can be represented as text. The returned `array` follows the value being cast, so it must match the cardinality of the previous operation
18842
+ */
18843
+ cast?: outputs.IncidentFormExpressionOperationCast;
18844
+ /**
18845
+ * An operation type that adds the values behind another reference to the current value, keeping each value once. There is no delimiter, despite the name
18846
+ */
18847
+ concatenate?: outputs.IncidentFormExpressionOperationConcatenate;
18848
+ /**
18849
+ * An operation type that allows values to be filtered out by conditions
18850
+ */
18851
+ filter?: outputs.IncidentFormExpressionOperationFilter;
18852
+ /**
18853
+ * An operation type that allows attributes of a type to be accessed by reference
18854
+ */
18855
+ navigate?: outputs.IncidentFormExpressionOperationNavigate;
18856
+ /**
18857
+ * Indicates which operation type to execute. Possible values are: `navigate`, `filter`, `concatenate`, `count`, `min`, `max`, `sum`, `random`, `first`, `parse`, `branches`, `cast`.
18858
+ */
18859
+ operationType: string;
18860
+ /**
18861
+ * An operation type that allows a value to parsed from within a JSON object
18862
+ */
18863
+ parse?: outputs.IncidentFormExpressionOperationParse;
18864
+ }
18865
+ export interface IncidentFormExpressionOperationBranches {
18866
+ /**
18867
+ * The branches to apply for this operation
18868
+ */
18869
+ branches: outputs.IncidentFormExpressionOperationBranchesBranch[];
18870
+ /**
18871
+ * The return type of an operation
18872
+ */
18873
+ returns: outputs.IncidentFormExpressionOperationBranchesReturns;
18874
+ }
18875
+ export interface IncidentFormExpressionOperationBranchesBranch {
18876
+ /**
18877
+ * Groups of prerequisite conditions. All conditions in at least one group must be satisfied
18878
+ */
18879
+ conditionGroups: outputs.IncidentFormExpressionOperationBranchesBranchConditionGroup[];
18880
+ /**
18881
+ * The result assumed if the condition groups are satisfied
18882
+ */
18883
+ result: outputs.IncidentFormExpressionOperationBranchesBranchResult;
18884
+ }
18885
+ export interface IncidentFormExpressionOperationBranchesBranchConditionGroup {
18886
+ /**
18887
+ * The prerequisite conditions that must all be satisfied
18888
+ */
18889
+ conditions: outputs.IncidentFormExpressionOperationBranchesBranchConditionGroupCondition[];
18890
+ }
18891
+ export interface IncidentFormExpressionOperationBranchesBranchConditionGroupCondition {
18892
+ /**
18893
+ * The logical operation to be applied
18894
+ */
18895
+ operation: string;
18896
+ /**
18897
+ * Bindings for the operation parameters
18898
+ */
18899
+ paramBindings: outputs.IncidentFormExpressionOperationBranchesBranchConditionGroupConditionParamBinding[];
18900
+ /**
18901
+ * The subject of the condition, on which the operation is applied
18902
+ */
18903
+ subject: string;
18904
+ }
18905
+ export interface IncidentFormExpressionOperationBranchesBranchConditionGroupConditionParamBinding {
18906
+ /**
18907
+ * The array of literal or reference parameter values
18908
+ */
18909
+ arrayValues?: outputs.IncidentFormExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValue[];
18910
+ /**
18911
+ * The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
18912
+ */
18913
+ expressionRef?: string;
18914
+ /**
18915
+ * The literal or reference parameter value
18916
+ */
18917
+ value?: outputs.IncidentFormExpressionOperationBranchesBranchConditionGroupConditionParamBindingValue;
18918
+ /**
18919
+ * A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
18920
+ */
18921
+ valueLiteral?: string;
18922
+ /**
18923
+ * A reference into the scope, shorthand for `value = { reference = ... }`.
18924
+ */
18925
+ valueReference?: string;
18926
+ /**
18927
+ * Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
18928
+ */
18929
+ values?: string[];
18930
+ }
18931
+ export interface IncidentFormExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValue {
18932
+ /**
18933
+ * If set, this is the literal value of the step parameter
18934
+ */
18935
+ literal?: string;
18936
+ /**
18937
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18938
+ */
18939
+ reference?: string;
18940
+ }
18941
+ export interface IncidentFormExpressionOperationBranchesBranchConditionGroupConditionParamBindingValue {
18942
+ /**
18943
+ * If set, this is the literal value of the step parameter
18944
+ */
18945
+ literal?: string;
18946
+ /**
18947
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18948
+ */
18949
+ reference?: string;
18950
+ }
18951
+ export interface IncidentFormExpressionOperationBranchesBranchResult {
18952
+ /**
18953
+ * The array of literal or reference parameter values
18954
+ */
18955
+ arrayValues?: outputs.IncidentFormExpressionOperationBranchesBranchResultArrayValue[];
18956
+ /**
18957
+ * The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
18958
+ */
18959
+ expressionRef?: string;
18960
+ /**
18961
+ * The literal or reference parameter value
18962
+ */
18963
+ value?: outputs.IncidentFormExpressionOperationBranchesBranchResultValue;
18964
+ /**
18965
+ * A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
18966
+ */
18967
+ valueLiteral?: string;
18968
+ /**
18969
+ * A reference into the scope, shorthand for `value = { reference = ... }`.
18970
+ */
18971
+ valueReference?: string;
18972
+ /**
18973
+ * Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
18974
+ */
18975
+ values?: string[];
18976
+ }
18977
+ export interface IncidentFormExpressionOperationBranchesBranchResultArrayValue {
18978
+ /**
18979
+ * If set, this is the literal value of the step parameter
18980
+ */
18981
+ literal?: string;
18982
+ /**
18983
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18984
+ */
18985
+ reference?: string;
18986
+ }
18987
+ export interface IncidentFormExpressionOperationBranchesBranchResultValue {
18988
+ /**
18989
+ * If set, this is the literal value of the step parameter
18990
+ */
18991
+ literal?: string;
18992
+ /**
18993
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18994
+ */
18995
+ reference?: string;
18996
+ }
18997
+ export interface IncidentFormExpressionOperationBranchesReturns {
18998
+ /**
18999
+ * Whether the return value should be single or multi-value
19000
+ */
19001
+ array: boolean;
19002
+ /**
19003
+ * Expected return type of this expression (what to try casting the result to)
19004
+ */
19005
+ type: string;
19006
+ }
19007
+ export interface IncidentFormExpressionOperationCast {
19008
+ /**
19009
+ * The return type of an operation
19010
+ */
19011
+ returns: outputs.IncidentFormExpressionOperationCastReturns;
19012
+ }
19013
+ export interface IncidentFormExpressionOperationCastReturns {
19014
+ /**
19015
+ * Whether the return value should be single or multi-value
19016
+ */
19017
+ array: boolean;
19018
+ /**
19019
+ * Expected return type of this expression (what to try casting the result to)
19020
+ */
19021
+ type: string;
19022
+ }
19023
+ export interface IncidentFormExpressionOperationConcatenate {
19024
+ /**
19025
+ * The reference within the scope to concatenate with
19026
+ */
19027
+ reference: string;
19028
+ }
19029
+ export interface IncidentFormExpressionOperationFilter {
19030
+ /**
19031
+ * Groups of prerequisite conditions. All conditions in at least one group must be satisfied
19032
+ */
19033
+ conditionGroups: outputs.IncidentFormExpressionOperationFilterConditionGroup[];
19034
+ }
19035
+ export interface IncidentFormExpressionOperationFilterConditionGroup {
19036
+ /**
19037
+ * The prerequisite conditions that must all be satisfied
19038
+ */
19039
+ conditions: outputs.IncidentFormExpressionOperationFilterConditionGroupCondition[];
19040
+ }
19041
+ export interface IncidentFormExpressionOperationFilterConditionGroupCondition {
19042
+ /**
19043
+ * The logical operation to be applied
19044
+ */
19045
+ operation: string;
19046
+ /**
19047
+ * Bindings for the operation parameters
19048
+ */
19049
+ paramBindings: outputs.IncidentFormExpressionOperationFilterConditionGroupConditionParamBinding[];
19050
+ /**
19051
+ * The subject of the condition, on which the operation is applied
19052
+ */
19053
+ subject: string;
19054
+ }
19055
+ export interface IncidentFormExpressionOperationFilterConditionGroupConditionParamBinding {
19056
+ /**
19057
+ * The array of literal or reference parameter values
19058
+ */
19059
+ arrayValues?: outputs.IncidentFormExpressionOperationFilterConditionGroupConditionParamBindingArrayValue[];
19060
+ /**
19061
+ * The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
19062
+ */
19063
+ expressionRef?: string;
19064
+ /**
19065
+ * The literal or reference parameter value
19066
+ */
19067
+ value?: outputs.IncidentFormExpressionOperationFilterConditionGroupConditionParamBindingValue;
19068
+ /**
19069
+ * A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
19070
+ */
19071
+ valueLiteral?: string;
19072
+ /**
19073
+ * A reference into the scope, shorthand for `value = { reference = ... }`.
19074
+ */
19075
+ valueReference?: string;
19076
+ /**
19077
+ * Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
19078
+ */
19079
+ values?: string[];
19080
+ }
19081
+ export interface IncidentFormExpressionOperationFilterConditionGroupConditionParamBindingArrayValue {
19082
+ /**
19083
+ * If set, this is the literal value of the step parameter
19084
+ */
19085
+ literal?: string;
19086
+ /**
19087
+ * If set, this is the reference into the trigger scope that is the value of this parameter
19088
+ */
19089
+ reference?: string;
19090
+ }
19091
+ export interface IncidentFormExpressionOperationFilterConditionGroupConditionParamBindingValue {
19092
+ /**
19093
+ * If set, this is the literal value of the step parameter
19094
+ */
19095
+ literal?: string;
19096
+ /**
19097
+ * If set, this is the reference into the trigger scope that is the value of this parameter
19098
+ */
19099
+ reference?: string;
19100
+ }
19101
+ export interface IncidentFormExpressionOperationNavigate {
19102
+ reference: string;
19103
+ }
19104
+ export interface IncidentFormExpressionOperationParse {
19105
+ /**
19106
+ * The return type of an operation
19107
+ */
19108
+ returns: outputs.IncidentFormExpressionOperationParseReturns;
19109
+ /**
19110
+ * The ES5 Javascript expression to execute
19111
+ */
19112
+ source: string;
19113
+ }
19114
+ export interface IncidentFormExpressionOperationParseReturns {
19115
+ /**
19116
+ * Whether the return value should be single or multi-value
19117
+ */
19118
+ array: boolean;
19119
+ /**
19120
+ * Expected return type of this expression (what to try casting the result to)
19121
+ */
19122
+ type: string;
19123
+ }
19124
+ export interface IncidentFormLifecycleElement {
19125
+ /**
19126
+ * Whether the user can explicitly choose no value. Only meaningful for custom field elements.
19127
+ */
19128
+ canSelectNoValue: boolean;
19129
+ config?: outputs.IncidentFormLifecycleElementConfig;
19130
+ /**
19131
+ * The custom field this element edits. Set only when element*type is custom*field.
19132
+ */
19133
+ customFieldId?: string;
19134
+ defaultValue?: outputs.IncidentFormLifecycleElementDefaultValue;
19135
+ /**
19136
+ * Description shown beside this element, as markdown
19137
+ */
19138
+ description?: string;
19139
+ /**
19140
+ * What this element captures. Possible values are: `name`, `status`, `severity`, `incidentRole`, `incidentType`, `summary`, `customField`, `timestamp`, `updateMessage`, `nextUpdateIn`, `triage`, `visibility`, `divider`, `text`, `incidentAttachments`, `slackChannel`, `announceRetroIncident`, `enterPostIncidentFlow`, `investigationFeedback`.
19141
+ */
19142
+ elementType: string;
19143
+ /**
19144
+ * Unique identifier for this element. divider and text elements are matched on this, because they have no natural key.
19145
+ */
19146
+ id: string;
19147
+ /**
19148
+ * The incident role this element assigns. Set only when element*type is incident*role.
19149
+ */
19150
+ incidentRoleId?: string;
19151
+ /**
19152
+ * The incident timestamp this element sets. Set only when elementType is timestamp.
18050
19153
  */
18051
- cast: outputs.GetWorkflowExpressionOperationCast;
18052
- concatenate: outputs.GetWorkflowExpressionOperationConcatenate;
18053
- filter: outputs.GetWorkflowExpressionOperationFilter;
18054
- navigate: outputs.GetWorkflowExpressionOperationNavigate;
19154
+ incidentTimestampId?: string;
18055
19155
  /**
18056
- * The type of the operation. Possible values are: `navigate`, `filter`, `concatenate`, `count`, `min`, `max`, `sum`, `random`, `first`, `parse`, `branches`, `cast`.
19156
+ * Placeholder text shown in the empty field
18057
19157
  */
18058
- operationType: string;
18059
- parse: outputs.GetWorkflowExpressionOperationParse;
18060
- }
18061
- export interface GetWorkflowExpressionOperationBranches {
19158
+ placeholder?: string;
18062
19159
  /**
18063
- * The branches to apply for this operation
19160
+ * When this element must be filled in. Possible values are: `checkEngineConfig`, `alwaysRequire`, `neverRequire`.
18064
19161
  */
18065
- branches: outputs.GetWorkflowExpressionOperationBranchesBranch[];
18066
- returns: outputs.GetWorkflowExpressionOperationBranchesReturns;
18067
- }
18068
- export interface GetWorkflowExpressionOperationBranchesBranch {
19162
+ requiredIf: string;
18069
19163
  /**
18070
- * The condition groups to apply in this filter. Only one group needs to be satisfied for the filter to pass.
19164
+ * Condition groups that make this element required. Used when required*if is check*engine*config.
18071
19165
  */
18072
- conditionGroups: outputs.GetWorkflowExpressionOperationBranchesBranchConditionGroup[];
18073
- result: outputs.GetWorkflowExpressionOperationBranchesBranchResult;
18074
- }
18075
- export interface GetWorkflowExpressionOperationBranchesBranchConditionGroup {
19166
+ requiredIfConditionGroups?: outputs.IncidentFormLifecycleElementRequiredIfConditionGroup[];
18076
19167
  /**
18077
- * All conditions in this list must be satisfied for the group to be satisfied
19168
+ * The element is shown when any of these condition groups match. Unset means it is always shown.
18078
19169
  */
18079
- conditions: outputs.GetWorkflowExpressionOperationBranchesBranchConditionGroupCondition[];
19170
+ showIfConditionGroups?: outputs.IncidentFormLifecycleElementShowIfConditionGroup[];
18080
19171
  }
18081
- export interface GetWorkflowExpressionOperationBranchesBranchConditionGroupCondition {
18082
- operation: string;
19172
+ export interface IncidentFormLifecycleElementConfig {
18083
19173
  /**
18084
- * Bindings for the operation parameters
19174
+ * Whether the free-text comment must be filled in, for anyone giving investigation feedback
18085
19175
  */
18086
- paramBindings: outputs.GetWorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBinding[];
18087
- subject: string;
19176
+ requireComment: boolean;
18088
19177
  }
18089
- export interface GetWorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBinding {
19178
+ export interface IncidentFormLifecycleElementDefaultValue {
18090
19179
  /**
18091
- * If array*value is set, this helps render the values
19180
+ * The array of literal or reference parameter values
18092
19181
  */
18093
- arrayValues: outputs.GetWorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValue[];
18094
- expressionRef: string;
18095
- value: outputs.GetWorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingValue;
18096
- valueLiteral: string;
18097
- valueReference: string;
18098
- values: string[];
18099
- }
18100
- export interface GetWorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValue {
19182
+ arrayValues?: outputs.IncidentFormLifecycleElementDefaultValueArrayValue[];
18101
19183
  /**
18102
- * If set, this is the literal value of the step parameter
19184
+ * The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
18103
19185
  */
18104
- literal: string;
19186
+ expressionRef?: string;
18105
19187
  /**
18106
- * If set, this is the reference into the trigger scope that is the value of this parameter
19188
+ * The literal or reference parameter value
18107
19189
  */
18108
- reference: string;
18109
- }
18110
- export interface GetWorkflowExpressionOperationBranchesBranchConditionGroupConditionParamBindingValue {
19190
+ value?: outputs.IncidentFormLifecycleElementDefaultValueValue;
18111
19191
  /**
18112
- * If set, this is the literal value of the step parameter
19192
+ * A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
18113
19193
  */
18114
- literal: string;
19194
+ valueLiteral?: string;
18115
19195
  /**
18116
- * If set, this is the reference into the trigger scope that is the value of this parameter
19196
+ * A reference into the scope, shorthand for `value = { reference = ... }`.
18117
19197
  */
18118
- reference: string;
18119
- }
18120
- export interface GetWorkflowExpressionOperationBranchesBranchResult {
19198
+ valueReference?: string;
18121
19199
  /**
18122
- * If array*value is set, this helps render the values
19200
+ * Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
18123
19201
  */
18124
- arrayValues: outputs.GetWorkflowExpressionOperationBranchesBranchResultArrayValue[];
18125
- expressionRef: string;
18126
- value: outputs.GetWorkflowExpressionOperationBranchesBranchResultValue;
18127
- valueLiteral: string;
18128
- valueReference: string;
18129
- values: string[];
19202
+ values?: string[];
18130
19203
  }
18131
- export interface GetWorkflowExpressionOperationBranchesBranchResultArrayValue {
19204
+ export interface IncidentFormLifecycleElementDefaultValueArrayValue {
18132
19205
  /**
18133
19206
  * If set, this is the literal value of the step parameter
18134
19207
  */
18135
- literal: string;
19208
+ literal?: string;
18136
19209
  /**
18137
19210
  * If set, this is the reference into the trigger scope that is the value of this parameter
18138
19211
  */
18139
- reference: string;
19212
+ reference?: string;
18140
19213
  }
18141
- export interface GetWorkflowExpressionOperationBranchesBranchResultValue {
19214
+ export interface IncidentFormLifecycleElementDefaultValueValue {
18142
19215
  /**
18143
19216
  * If set, this is the literal value of the step parameter
18144
19217
  */
18145
- literal: string;
19218
+ literal?: string;
18146
19219
  /**
18147
19220
  * If set, this is the reference into the trigger scope that is the value of this parameter
18148
19221
  */
18149
- reference: string;
19222
+ reference?: string;
18150
19223
  }
18151
- export interface GetWorkflowExpressionOperationBranchesReturns {
18152
- /**
18153
- * Whether the return value should be single or multi-value
18154
- */
18155
- array: boolean;
19224
+ export interface IncidentFormLifecycleElementRequiredIfConditionGroup {
18156
19225
  /**
18157
- * Expected return type of this expression (what to try casting the result to)
19226
+ * The prerequisite conditions that must all be satisfied
18158
19227
  */
18159
- type: string;
19228
+ conditions: outputs.IncidentFormLifecycleElementRequiredIfConditionGroupCondition[];
18160
19229
  }
18161
- export interface GetWorkflowExpressionOperationCast {
18162
- returns: outputs.GetWorkflowExpressionOperationCastReturns;
18163
- }
18164
- export interface GetWorkflowExpressionOperationCastReturns {
19230
+ export interface IncidentFormLifecycleElementRequiredIfConditionGroupCondition {
18165
19231
  /**
18166
- * Whether the return value should be single or multi-value
19232
+ * The logical operation to be applied
18167
19233
  */
18168
- array: boolean;
19234
+ operation: string;
18169
19235
  /**
18170
- * Expected return type of this expression (what to try casting the result to)
19236
+ * Bindings for the operation parameters
18171
19237
  */
18172
- type: string;
18173
- }
18174
- export interface GetWorkflowExpressionOperationConcatenate {
19238
+ paramBindings: outputs.IncidentFormLifecycleElementRequiredIfConditionGroupConditionParamBinding[];
18175
19239
  /**
18176
- * The reference within the scope to concatenate with
19240
+ * The subject of the condition, on which the operation is applied
18177
19241
  */
18178
- reference: string;
19242
+ subject: string;
18179
19243
  }
18180
- export interface GetWorkflowExpressionOperationFilter {
19244
+ export interface IncidentFormLifecycleElementRequiredIfConditionGroupConditionParamBinding {
18181
19245
  /**
18182
- * The condition groups to apply in this filter. Only one group needs to be satisfied for the filter to pass.
19246
+ * The array of literal or reference parameter values
18183
19247
  */
18184
- conditionGroups: outputs.GetWorkflowExpressionOperationFilterConditionGroup[];
18185
- }
18186
- export interface GetWorkflowExpressionOperationFilterConditionGroup {
19248
+ arrayValues?: outputs.IncidentFormLifecycleElementRequiredIfConditionGroupConditionParamBindingArrayValue[];
18187
19249
  /**
18188
- * All conditions in this list must be satisfied for the group to be satisfied
19250
+ * The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
18189
19251
  */
18190
- conditions: outputs.GetWorkflowExpressionOperationFilterConditionGroupCondition[];
18191
- }
18192
- export interface GetWorkflowExpressionOperationFilterConditionGroupCondition {
18193
- operation: string;
19252
+ expressionRef?: string;
18194
19253
  /**
18195
- * Bindings for the operation parameters
19254
+ * The literal or reference parameter value
18196
19255
  */
18197
- paramBindings: outputs.GetWorkflowExpressionOperationFilterConditionGroupConditionParamBinding[];
18198
- subject: string;
18199
- }
18200
- export interface GetWorkflowExpressionOperationFilterConditionGroupConditionParamBinding {
19256
+ value?: outputs.IncidentFormLifecycleElementRequiredIfConditionGroupConditionParamBindingValue;
18201
19257
  /**
18202
- * If array*value is set, this helps render the values
19258
+ * A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
18203
19259
  */
18204
- arrayValues: outputs.GetWorkflowExpressionOperationFilterConditionGroupConditionParamBindingArrayValue[];
18205
- expressionRef: string;
18206
- value: outputs.GetWorkflowExpressionOperationFilterConditionGroupConditionParamBindingValue;
18207
- valueLiteral: string;
18208
- valueReference: string;
18209
- values: string[];
18210
- }
18211
- export interface GetWorkflowExpressionOperationFilterConditionGroupConditionParamBindingArrayValue {
19260
+ valueLiteral?: string;
18212
19261
  /**
18213
- * If set, this is the literal value of the step parameter
19262
+ * A reference into the scope, shorthand for `value = { reference = ... }`.
18214
19263
  */
18215
- literal: string;
19264
+ valueReference?: string;
18216
19265
  /**
18217
- * If set, this is the reference into the trigger scope that is the value of this parameter
19266
+ * Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
18218
19267
  */
18219
- reference: string;
19268
+ values?: string[];
18220
19269
  }
18221
- export interface GetWorkflowExpressionOperationFilterConditionGroupConditionParamBindingValue {
19270
+ export interface IncidentFormLifecycleElementRequiredIfConditionGroupConditionParamBindingArrayValue {
18222
19271
  /**
18223
19272
  * If set, this is the literal value of the step parameter
18224
19273
  */
18225
- literal: string;
19274
+ literal?: string;
18226
19275
  /**
18227
19276
  * If set, this is the reference into the trigger scope that is the value of this parameter
18228
19277
  */
18229
- reference: string;
19278
+ reference?: string;
18230
19279
  }
18231
- export interface GetWorkflowExpressionOperationNavigate {
19280
+ export interface IncidentFormLifecycleElementRequiredIfConditionGroupConditionParamBindingValue {
18232
19281
  /**
18233
- * The reference within the scope to navigate to
19282
+ * If set, this is the literal value of the step parameter
18234
19283
  */
18235
- reference: string;
18236
- }
18237
- export interface GetWorkflowExpressionOperationParse {
18238
- returns: outputs.GetWorkflowExpressionOperationParseReturns;
19284
+ literal?: string;
18239
19285
  /**
18240
- * Source expression that is evaluated to a result
19286
+ * If set, this is the reference into the trigger scope that is the value of this parameter
18241
19287
  */
18242
- source: string;
19288
+ reference?: string;
18243
19289
  }
18244
- export interface GetWorkflowExpressionOperationParseReturns {
18245
- /**
18246
- * Whether the return value should be single or multi-value
18247
- */
18248
- array: boolean;
19290
+ export interface IncidentFormLifecycleElementShowIfConditionGroup {
18249
19291
  /**
18250
- * Expected return type of this expression (what to try casting the result to)
19292
+ * The prerequisite conditions that must all be satisfied
18251
19293
  */
18252
- type: string;
19294
+ conditions: outputs.IncidentFormLifecycleElementShowIfConditionGroupCondition[];
18253
19295
  }
18254
- export interface GetWorkflowFormField {
19296
+ export interface IncidentFormLifecycleElementShowIfConditionGroupCondition {
18255
19297
  /**
18256
- * Whether this field holds a list of values rather than a single value
19298
+ * The logical operation to be applied
18257
19299
  */
18258
- array: boolean;
19300
+ operation: string;
18259
19301
  /**
18260
- * Optional help text shown beneath the field
19302
+ * Bindings for the operation parameters
18261
19303
  */
18262
- description: string;
19304
+ paramBindings: outputs.IncidentFormLifecycleElementShowIfConditionGroupConditionParamBinding[];
18263
19305
  /**
18264
- * Stable identifier for this form field, preserved across versions
19306
+ * The subject of the condition, on which the operation is applied
18265
19307
  */
18266
- id: string;
19308
+ subject: string;
19309
+ }
19310
+ export interface IncidentFormLifecycleElementShowIfConditionGroupConditionParamBinding {
18267
19311
  /**
18268
- * The key used to reference this field in the workflow scope
19312
+ * The array of literal or reference parameter values
18269
19313
  */
18270
- key: string;
19314
+ arrayValues?: outputs.IncidentFormLifecycleElementShowIfConditionGroupConditionParamBindingArrayValue[];
18271
19315
  /**
18272
- * Whether this field must be filled in when running the workflow
19316
+ * The name of an expression on this resource, whose result becomes the value. Shorthand for referencing `expressions["name"]`.
18273
19317
  */
18274
- required: boolean;
19318
+ expressionRef?: string;
18275
19319
  /**
18276
- * Human readable title shown in the form
19320
+ * The literal or reference parameter value
18277
19321
  */
18278
- title: string;
19322
+ value?: outputs.IncidentFormLifecycleElementShowIfConditionGroupConditionParamBindingValue;
18279
19323
  /**
18280
- * The engine resource type of this field
19324
+ * A fixed value, shorthand for `value = { literal = ... }`. A catalog entry ID is a literal, not a reference.
18281
19325
  */
18282
- type: string;
18283
- }
18284
- export interface GetWorkflowStep {
18285
- forEach: string;
18286
- id: string;
18287
- name: string;
19326
+ valueLiteral?: string;
18288
19327
  /**
18289
- * Bindings for the operation parameters
19328
+ * A reference into the scope, shorthand for `value = { reference = ... }`.
18290
19329
  */
18291
- paramBindings: outputs.GetWorkflowStepParamBinding[];
18292
- }
18293
- export interface GetWorkflowStepParamBinding {
19330
+ valueReference?: string;
18294
19331
  /**
18295
- * If array*value is set, this helps render the values
19332
+ * Several fixed values, shorthand for an `arrayValue` of literals. For a mix of literals and references, use `arrayValue`.
18296
19333
  */
18297
- arrayValues: outputs.GetWorkflowStepParamBindingArrayValue[];
18298
- expressionRef: string;
18299
- value: outputs.GetWorkflowStepParamBindingValue;
18300
- valueLiteral: string;
18301
- valueReference: string;
18302
- values: string[];
19334
+ values?: string[];
18303
19335
  }
18304
- export interface GetWorkflowStepParamBindingArrayValue {
19336
+ export interface IncidentFormLifecycleElementShowIfConditionGroupConditionParamBindingArrayValue {
18305
19337
  /**
18306
19338
  * If set, this is the literal value of the step parameter
18307
19339
  */
18308
- literal: string;
19340
+ literal?: string;
18309
19341
  /**
18310
19342
  * If set, this is the reference into the trigger scope that is the value of this parameter
18311
19343
  */
18312
- reference: string;
19344
+ reference?: string;
18313
19345
  }
18314
- export interface GetWorkflowStepParamBindingValue {
19346
+ export interface IncidentFormLifecycleElementShowIfConditionGroupConditionParamBindingValue {
18315
19347
  /**
18316
19348
  * If set, this is the literal value of the step parameter
18317
19349
  */
18318
- literal: string;
19350
+ literal?: string;
18319
19351
  /**
18320
19352
  * If set, this is the reference into the trigger scope that is the value of this parameter
18321
19353
  */
18322
- reference: string;
19354
+ reference?: string;
18323
19355
  }
18324
19356
  export interface IncidentTemplateExpression {
18325
19357
  /**
@@ -20264,6 +21296,8 @@ export interface PolicySchedule {
20264
21296
  */
20265
21297
  requirementType: string;
20266
21298
  }
21299
+ export interface PolicyShiftConflict {
21300
+ }
20267
21301
  export interface PolicyVacationConflict {
20268
21302
  }
20269
21303
  export interface ScheduleBetaHolidaysPublicConfig {
@@ -20364,6 +21398,64 @@ export interface ScheduleSyncTargetNewSlackUserGroup {
20364
21398
  */
20365
21399
  slackTeamId?: string;
20366
21400
  }
21401
+ export interface StatusPageStructureItem {
21402
+ /**
21403
+ * ID of the component to place, shown on its own.
21404
+ */
21405
+ componentId?: string;
21406
+ /**
21407
+ * Whether the page shows the component's uptime. Left out, a component already on the page keeps its setting and a new one shows it.
21408
+ */
21409
+ displayUptime: boolean;
21410
+ /**
21411
+ * A named group of components.
21412
+ */
21413
+ group?: outputs.StatusPageStructureItemGroup;
21414
+ /**
21415
+ * Whether the component is hidden from the page. Left out, a component already on the page keeps its setting and a new one is shown.
21416
+ */
21417
+ hidden: boolean;
21418
+ }
21419
+ export interface StatusPageStructureItemGroup {
21420
+ /**
21421
+ * The components in this group, in display order.
21422
+ */
21423
+ components: outputs.StatusPageStructureItemGroupComponent[];
21424
+ /**
21425
+ * A description shown under the group's name. Left out, the group has none, so a description set in the dashboard has to be written here to survive an apply.
21426
+ */
21427
+ description?: string;
21428
+ /**
21429
+ * Whether the page shows uptime aggregated across the group's components. Left out, a group already on the page keeps its setting and a new one shows it when a component allows. It needs a visible component that shows uptime.
21430
+ */
21431
+ displayAggregatedUptime: boolean;
21432
+ /**
21433
+ * Whether the group is hidden from the page. Left out, a group already on the page keeps its setting and a new one is hidden only when every component in it is. A visible group needs a visible component.
21434
+ */
21435
+ hidden: boolean;
21436
+ /**
21437
+ * Unique ID of this component group. Assigned by incident.io, and kept while the group keeps its name.
21438
+ */
21439
+ id: string;
21440
+ /**
21441
+ * The name of this component group
21442
+ */
21443
+ name: string;
21444
+ }
21445
+ export interface StatusPageStructureItemGroupComponent {
21446
+ /**
21447
+ * ID of the component to place
21448
+ */
21449
+ componentId: string;
21450
+ /**
21451
+ * Whether the page shows the component's uptime. Left out, a component already on the page keeps its setting and a new one shows it.
21452
+ */
21453
+ displayUptime: boolean;
21454
+ /**
21455
+ * Whether the component is hidden from the page. Left out, a component already on the page keeps its setting and a new one is shown.
21456
+ */
21457
+ hidden: boolean;
21458
+ }
20367
21459
  export interface TeamGroupingPreferenceDefault {
20368
21460
  /**
20369
21461
  * How a team's alerts are grouped together, on every alert route
@@ -20371,6 +21463,10 @@ export interface TeamGroupingPreferenceDefault {
20371
21463
  settings: outputs.TeamGroupingPreferenceDefaultSettings;
20372
21464
  }
20373
21465
  export interface TeamGroupingPreferenceDefaultSettings {
21466
+ /**
21467
+ * Use AI to group similar looking alerts. AI alert grouping can only group alerts that are attributed to the same team, so grouping keys must be empty or only contain the team alert attribute. Private alerts are not grouped unless AI incident access allows private incidents and alerts. Omit it on an update to keep the current value.
21468
+ */
21469
+ aiEnabled: boolean;
20374
21470
  /**
20375
21471
  * Whether the team's alerts are grouped. When false, none of the team's alerts are grouped, regardless of any alert route grouping config.
20376
21472
  */