@@ -13547,9 +13547,8 @@ components:
13547
13547
oneOf:
13548
13548
- $ref: '#/components/schemas/TeamReference'
13549
13549
- $ref: '#/components/schemas/EscalationPolicyStep'
13550
- - $ref: '#/components/schemas/UserTarget'
13551
- - $ref: '#/components/schemas/ScheduleTarget'
13552
- - $ref: '#/components/schemas/TeamTarget'
13550
+ - $ref: '#/components/schemas/EscalationPolicyUser'
13551
+ - $ref: '#/components/schemas/ScheduleData'
13553
13552
EscalationPolicyStep:
13554
13553
description: Represents a single step in an escalation policy, including its
13555
13554
attributes, relationships, and resource type.
@@ -13795,6 +13794,44 @@ components:
13795
13794
type: string
13796
13795
x-enum-varnames:
13797
13796
- POLICIES
13797
+ EscalationPolicyUser:
13798
+ description: Represents a user object in the context of an escalation policy,
13799
+ including their `id`, type, and basic attributes.
13800
+ properties:
13801
+ attributes:
13802
+ $ref: '#/components/schemas/EscalationPolicyUserAttributes'
13803
+ id:
13804
+ description: The unique user identifier.
13805
+ type: string
13806
+ type:
13807
+ $ref: '#/components/schemas/EscalationPolicyUserType'
13808
+ required:
13809
+ - type
13810
+ type: object
13811
+ EscalationPolicyUserAttributes:
13812
+ description: Provides basic user information for an escalation policy, including
13813
+ a name and email address.
13814
+ properties:
13815
+ email:
13816
+ description: The user's email address.
13817
+
13818
+ type: string
13819
+ name:
13820
+ description: The user's name.
13821
+ example: Jane Doe
13822
+ type: string
13823
+ status:
13824
+ $ref: '#/components/schemas/UserAttributesStatus'
13825
+ type: object
13826
+ EscalationPolicyUserType:
13827
+ default: users
13828
+ description: Users resource type.
13829
+ enum:
13830
+ - users
13831
+ example: users
13832
+ type: string
13833
+ x-enum-varnames:
13834
+ - USERS
13798
13835
EscalationTarget:
13799
13836
description: Represents an escalation target, which can be a team, user, or
13800
13837
schedule.
@@ -31730,6 +31767,8 @@ components:
31730
31767
description: The user's name.
31731
31768
example: Jane Doe
31732
31769
type: string
31770
+ status:
31771
+ $ref: '#/components/schemas/UserAttributesStatus'
31733
31772
type: object
31734
31773
ScheduleUserType:
31735
31774
default: users
@@ -38564,6 +38603,17 @@ components:
38564
38603
description: Whether the user is verified.
38565
38604
type: boolean
38566
38605
type: object
38606
+ UserAttributesStatus:
38607
+ description: The user's status.
38608
+ enum:
38609
+ - active
38610
+ - deactivated
38611
+ - pending
38612
+ type: string
38613
+ x-enum-varnames:
38614
+ - ACTIVE
38615
+ - DEACTIVATED
38616
+ - PENDING
38567
38617
UserCreateAttributes:
38568
38618
description: Attributes of the created user.
38569
38619
properties:
0 commit comments