@@ -30384,8 +30384,8 @@ components:
30384
30384
description: Defines an action that is executed when a routing rule matches
30385
30385
certain criteria.
30386
30386
oneOf:
30387
- - $ref: '#/components/schemas/SlackAction '
30388
- - $ref: '#/components/schemas/TeamsAction '
30387
+ - $ref: '#/components/schemas/SendSlackMessageAction '
30388
+ - $ref: '#/components/schemas/SendTeamsMessageAction '
30389
30389
RoutingRuleAttributes:
30390
30390
description: Defines the configurable attributes of a routing rule, such as
30391
30391
actions, query, time restriction, and urgency.
@@ -30401,6 +30401,7 @@ components:
30401
30401
type: string
30402
30402
time_restriction:
30403
30403
$ref: '#/components/schemas/TimeRestrictions'
30404
+ nullable: true
30404
30405
urgency:
30405
30406
$ref: '#/components/schemas/Urgency'
30406
30407
type: object
@@ -30416,8 +30417,7 @@ components:
30416
30417
properties:
30417
30418
data:
30418
30419
$ref: '#/components/schemas/RoutingRuleRelationshipsPolicyData'
30419
- required:
30420
- - data
30420
+ nullable: true
30421
30421
type: object
30422
30422
RoutingRuleRelationshipsPolicyData:
30423
30423
description: Represents the policy data reference, containing the policy's ID
@@ -34489,6 +34489,65 @@ components:
34489
34489
required:
34490
34490
- selfServiceTrigger
34491
34491
type: object
34492
+ SendSlackMessageAction:
34493
+ description: Sends a message to a Slack channel.
34494
+ properties:
34495
+ channel:
34496
+ description: The channel ID.
34497
+ example: CHANNEL
34498
+ type: string
34499
+ type:
34500
+ $ref: '#/components/schemas/SendSlackMessageActionType'
34501
+ workspace:
34502
+ description: The workspace ID.
34503
+ example: WORKSPACE
34504
+ type: string
34505
+ required:
34506
+ - type
34507
+ - channel
34508
+ - workspace
34509
+ type: object
34510
+ SendSlackMessageActionType:
34511
+ default: send_slack_message
34512
+ description: Indicates that the action is a send Slack message action.
34513
+ enum:
34514
+ - send_slack_message
34515
+ example: send_slack_message
34516
+ type: string
34517
+ x-enum-varnames:
34518
+ - SEND_SLACK_MESSAGE
34519
+ SendTeamsMessageAction:
34520
+ description: Sends a message to a Microsoft Teams channel.
34521
+ properties:
34522
+ channel:
34523
+ description: The channel ID.
34524
+ example: CHANNEL
34525
+ type: string
34526
+ team:
34527
+ description: The team ID.
34528
+ example: TEAM
34529
+ type: string
34530
+ tenant:
34531
+ description: The tenant ID.
34532
+ example: TENANT
34533
+ type: string
34534
+ type:
34535
+ $ref: '#/components/schemas/SendTeamsMessageActionType'
34536
+ required:
34537
+ - type
34538
+ - channel
34539
+ - tenant
34540
+ - team
34541
+ type: object
34542
+ SendTeamsMessageActionType:
34543
+ default: send_teams_message
34544
+ description: Indicates that the action is a send Microsoft Teams message action.
34545
+ enum:
34546
+ - send_teams_message
34547
+ example: send_teams_message
34548
+ type: string
34549
+ x-enum-varnames:
34550
+ - SEND_TEAMS_MESSAGE
34492
34551
SensitiveDataScannerConfigRequest:
34493
34552
description: Group reorder request.
34494
34553
properties:
@@ -36396,26 +36455,6 @@ components:
36396
36455
type: string
36397
36456
x-enum-varnames:
36398
36457
- AGGREGATED_CONNECTION
36399
- SlackAction:
36400
- description: Sends a message to a Slack channel.
36401
- properties:
36402
- channel:
36403
- description: The channel ID.
36404
- example: CHANNEL
36405
- type: string
36406
- type:
36407
- description: Must be set to "send_slack_message".
36408
- example: send_slack_message
36409
- type: string
36410
- workspace:
36411
- description: The workspace ID.
36412
- example: WORKSPACE
36413
- type: string
36414
- required:
36415
- - type
36416
- - channel
36417
- - workspace
36418
- type: object
36419
36458
SlackIntegrationMetadata:
36420
36459
description: Incident integration metadata for the Slack integration.
36421
36460
properties:
@@ -38330,31 +38369,6 @@ components:
38330
38369
required:
38331
38370
- data
38332
38371
type: object
38333
- TeamsAction:
38334
- description: Sends a message to a Microsoft Teams channel.
38335
- properties:
38336
- channel:
38337
- description: The channel ID.
38338
- example: CHANNEL
38339
- type: string
38340
- team:
38341
- description: The team ID.
38342
- example: TEAM
38343
- type: string
38344
- tenant:
38345
- description: The tenant ID.
38346
- example: TENANT
38347
- type: string
38348
- type:
38349
- description: Must be set to "send_teams_message".
38350
- example: send_teams_message
38351
- type: string
38352
- required:
38353
- - type
38354
- - channel
38355
- - tenant
38356
- - team
38357
- type: object
38358
38372
TeamsField:
38359
38373
description: Supported teams field.
38360
38374
enum:
0 commit comments