@sentry/api 1.26.0 → 1.28.0

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.
@@ -8845,6 +8845,9 @@ export type ListFlagLogsResponse = {
8845
8845
  }>;
8846
8846
  };
8847
8847
  export type ListMemberOnTeamResponse = Array<{
8848
+ /**
8849
+ * Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested
8850
+ */
8848
8851
  externalUsers?: Array<{
8849
8852
  externalId?: string;
8850
8853
  userId?: string;
@@ -8854,11 +8857,29 @@ export type ListMemberOnTeamResponse = Array<{
8854
8857
  externalName: string;
8855
8858
  integrationId: string;
8856
8859
  }>;
8860
+ /**
8861
+ * Deprecated. Use orgRole
8862
+ */
8857
8863
  role?: string;
8864
+ /**
8865
+ * Deprecated. Name of the member's organization role
8866
+ */
8858
8867
  roleName?: string;
8868
+ /**
8869
+ * Organization member ID
8870
+ */
8859
8871
  id: string;
8872
+ /**
8873
+ * Email address of the member's user, or the invited email address if they have no account yet
8874
+ */
8860
8875
  email: string;
8876
+ /**
8877
+ * Display name of the member's user, or their email address if they have no account yet
8878
+ */
8861
8879
  name: string;
8880
+ /**
8881
+ * The member's user
8882
+ */
8862
8883
  user: {
8863
8884
  /**
8864
8885
  * SSO identities of the user. Only included for the requesting user, unless the request has active superuser or staff access
@@ -9037,24 +9058,66 @@ export type ListMemberOnTeamResponse = Array<{
9037
9058
  is_verified: boolean;
9038
9059
  }>;
9039
9060
  };
9061
+ /**
9062
+ * ID of the member's organization role
9063
+ */
9040
9064
  orgRole: string;
9065
+ /**
9066
+ * Whether the member has no user account linked yet, as with an invite that hasn't been accepted
9067
+ */
9041
9068
  pending: boolean;
9069
+ /**
9070
+ * Whether the member's invite has expired
9071
+ */
9042
9072
  expired: boolean;
9073
+ /**
9074
+ * Member flags
9075
+ */
9043
9076
  flags: {
9077
+ /**
9078
+ * Whether the member is provisioned and managed through the organization's identity provider (SCIM)
9079
+ */
9044
9080
  'idp:provisioned': boolean;
9081
+ /**
9082
+ * Whether the member's organization role is set by the identity provider through SCIM
9083
+ */
9045
9084
  'idp:role-restricted': boolean;
9085
+ /**
9086
+ * Whether the member has linked their account to the organization's SSO provider
9087
+ */
9046
9088
  'sso:linked': boolean;
9047
9089
  'sso:invalid': boolean;
9048
9090
  'member-limit:restricted': boolean;
9091
+ /**
9092
+ * Whether the member is managed by an active partnership and can't be changed until it ends
9093
+ */
9049
9094
  'partnership:restricted': boolean;
9050
9095
  };
9096
+ /**
9097
+ * When the member was added or invited
9098
+ */
9051
9099
  dateCreated: string;
9100
+ /**
9101
+ * Invite status: approved, requested_to_be_invited or requested_to_join
9102
+ */
9052
9103
  inviteStatus: string | null;
9104
+ /**
9105
+ * Name of the user who invited the member, or null
9106
+ */
9053
9107
  inviterName: string | null;
9108
+ /**
9109
+ * ID of the member's team role, or null if the member has the minimum team role from their organization role
9110
+ */
9054
9111
  teamRole: string | null;
9112
+ /**
9113
+ * Slug of the team
9114
+ */
9055
9115
  teamSlug: string;
9056
9116
  }>;
9057
9117
  export type ListOrgMembersResponse = Array<{
9118
+ /**
9119
+ * Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested
9120
+ */
9058
9121
  externalUsers?: Array<{
9059
9122
  externalId?: string;
9060
9123
  userId?: string;
@@ -9064,9 +9127,21 @@ export type ListOrgMembersResponse = Array<{
9064
9127
  externalName: string;
9065
9128
  integrationId: string;
9066
9129
  }>;
9130
+ /**
9131
+ * Organization member ID
9132
+ */
9067
9133
  id: string;
9134
+ /**
9135
+ * Email address of the member's user, or the invited email address if they have no account yet
9136
+ */
9068
9137
  email: string;
9138
+ /**
9139
+ * Display name of the member's user, or their email address if they have no account yet
9140
+ */
9069
9141
  name: string;
9142
+ /**
9143
+ * The member's user. Null for invited members without an account, or if the user can't be found
9144
+ */
9070
9145
  user: {
9071
9146
  /**
9072
9147
  * SSO identities of the user. Only included for the requesting user, unless the request has active superuser or staff access
@@ -9245,19 +9320,52 @@ export type ListOrgMembersResponse = Array<{
9245
9320
  is_verified: boolean;
9246
9321
  }>;
9247
9322
  } | null;
9323
+ /**
9324
+ * ID of the member's organization role
9325
+ */
9248
9326
  orgRole: string;
9327
+ /**
9328
+ * Whether the member has no user account linked yet, as with an invite that hasn't been accepted
9329
+ */
9249
9330
  pending: boolean;
9331
+ /**
9332
+ * Whether the member's invite has expired
9333
+ */
9250
9334
  expired: boolean;
9335
+ /**
9336
+ * Member flags
9337
+ */
9251
9338
  flags: {
9339
+ /**
9340
+ * Whether the member is provisioned and managed through the organization's identity provider (SCIM)
9341
+ */
9252
9342
  'idp:provisioned': boolean;
9343
+ /**
9344
+ * Whether the member's organization role is set by the identity provider through SCIM
9345
+ */
9253
9346
  'idp:role-restricted': boolean;
9347
+ /**
9348
+ * Whether the member has linked their account to the organization's SSO provider
9349
+ */
9254
9350
  'sso:linked': boolean;
9255
9351
  'sso:invalid': boolean;
9256
9352
  'member-limit:restricted': boolean;
9353
+ /**
9354
+ * Whether the member is managed by an active partnership and can't be changed until it ends
9355
+ */
9257
9356
  'partnership:restricted': boolean;
9258
9357
  };
9358
+ /**
9359
+ * When the member was added or invited
9360
+ */
9259
9361
  dateCreated: string;
9362
+ /**
9363
+ * Invite status: approved, requested_to_be_invited or requested_to_join
9364
+ */
9260
9365
  inviteStatus: string | null;
9366
+ /**
9367
+ * Name of the user who invited the member, or null
9368
+ */
9261
9369
  inviterName: string | null;
9262
9370
  }>;
9263
9371
  export type ListOrgTeamResponse = Array<{
@@ -9673,6 +9781,9 @@ export type ListOrganizationIntegrationResponse = Array<{
9673
9781
  gracePeriodEnd: string | null;
9674
9782
  }>;
9675
9783
  export type ListOrganizationMemberResponse = Array<{
9784
+ /**
9785
+ * Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested
9786
+ */
9676
9787
  externalUsers?: Array<{
9677
9788
  externalId?: string;
9678
9789
  userId?: string;
@@ -9682,9 +9793,21 @@ export type ListOrganizationMemberResponse = Array<{
9682
9793
  externalName: string;
9683
9794
  integrationId: string;
9684
9795
  }>;
9796
+ /**
9797
+ * Organization member ID
9798
+ */
9685
9799
  id: string;
9800
+ /**
9801
+ * Email address of the member's user, or the invited email address if they have no account yet
9802
+ */
9686
9803
  email: string;
9804
+ /**
9805
+ * Display name of the member's user, or their email address if they have no account yet
9806
+ */
9687
9807
  name: string;
9808
+ /**
9809
+ * The member's user. Null for invited members without an account, or if the user can't be found
9810
+ */
9688
9811
  user: {
9689
9812
  /**
9690
9813
  * SSO identities of the user. Only included for the requesting user, unless the request has active superuser or staff access
@@ -9863,19 +9986,52 @@ export type ListOrganizationMemberResponse = Array<{
9863
9986
  is_verified: boolean;
9864
9987
  }>;
9865
9988
  } | null;
9989
+ /**
9990
+ * ID of the member's organization role
9991
+ */
9866
9992
  orgRole: string;
9993
+ /**
9994
+ * Whether the member has no user account linked yet, as with an invite that hasn't been accepted
9995
+ */
9867
9996
  pending: boolean;
9997
+ /**
9998
+ * Whether the member's invite has expired
9999
+ */
9868
10000
  expired: boolean;
10001
+ /**
10002
+ * Member flags
10003
+ */
9869
10004
  flags: {
10005
+ /**
10006
+ * Whether the member is provisioned and managed through the organization's identity provider (SCIM)
10007
+ */
9870
10008
  'idp:provisioned': boolean;
10009
+ /**
10010
+ * Whether the member's organization role is set by the identity provider through SCIM
10011
+ */
9871
10012
  'idp:role-restricted': boolean;
10013
+ /**
10014
+ * Whether the member has linked their account to the organization's SSO provider
10015
+ */
9872
10016
  'sso:linked': boolean;
9873
10017
  'sso:invalid': boolean;
9874
10018
  'member-limit:restricted': boolean;
10019
+ /**
10020
+ * Whether the member is managed by an active partnership and can't be changed until it ends
10021
+ */
9875
10022
  'partnership:restricted': boolean;
9876
10023
  };
10024
+ /**
10025
+ * When the member was added or invited
10026
+ */
9877
10027
  dateCreated: string;
10028
+ /**
10029
+ * Invite status: approved, requested_to_be_invited or requested_to_join
10030
+ */
9878
10031
  inviteStatus: string | null;
10032
+ /**
10033
+ * Name of the user who invited the member, or null
10034
+ */
9879
10035
  inviterName: string | null;
9880
10036
  }>;
9881
10037
  export type ListOrganizationReleaseCommitsResponse = Array<{
@@ -14433,6 +14589,9 @@ export type OrganizationIssueViewList = Array<{
14433
14589
  stars: number;
14434
14590
  }>;
14435
14591
  export type OrganizationMember = {
14592
+ /**
14593
+ * Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested
14594
+ */
14436
14595
  externalUsers?: Array<{
14437
14596
  externalId?: string;
14438
14597
  userId?: string;
@@ -14442,9 +14601,21 @@ export type OrganizationMember = {
14442
14601
  externalName: string;
14443
14602
  integrationId: string;
14444
14603
  }>;
14604
+ /**
14605
+ * Organization member ID
14606
+ */
14445
14607
  id: string;
14608
+ /**
14609
+ * Email address of the member's user, or the invited email address if they have no account yet
14610
+ */
14446
14611
  email: string;
14612
+ /**
14613
+ * Display name of the member's user, or their email address if they have no account yet
14614
+ */
14447
14615
  name: string;
14616
+ /**
14617
+ * The member's user. Null for invited members without an account, or if the user can't be found
14618
+ */
14448
14619
  user: {
14449
14620
  /**
14450
14621
  * SSO identities of the user. Only included for the requesting user, unless the request has active superuser or staff access
@@ -14623,19 +14794,52 @@ export type OrganizationMember = {
14623
14794
  is_verified: boolean;
14624
14795
  }>;
14625
14796
  } | null;
14797
+ /**
14798
+ * ID of the member's organization role
14799
+ */
14626
14800
  orgRole: string;
14801
+ /**
14802
+ * Whether the member has no user account linked yet, as with an invite that hasn't been accepted
14803
+ */
14627
14804
  pending: boolean;
14805
+ /**
14806
+ * Whether the member's invite has expired
14807
+ */
14628
14808
  expired: boolean;
14809
+ /**
14810
+ * Member flags
14811
+ */
14629
14812
  flags: {
14813
+ /**
14814
+ * Whether the member is provisioned and managed through the organization's identity provider (SCIM)
14815
+ */
14630
14816
  'idp:provisioned': boolean;
14817
+ /**
14818
+ * Whether the member's organization role is set by the identity provider through SCIM
14819
+ */
14631
14820
  'idp:role-restricted': boolean;
14821
+ /**
14822
+ * Whether the member has linked their account to the organization's SSO provider
14823
+ */
14632
14824
  'sso:linked': boolean;
14633
14825
  'sso:invalid': boolean;
14634
14826
  'member-limit:restricted': boolean;
14827
+ /**
14828
+ * Whether the member is managed by an active partnership and can't be changed until it ends
14829
+ */
14635
14830
  'partnership:restricted': boolean;
14636
14831
  };
14832
+ /**
14833
+ * When the member was added or invited
14834
+ */
14637
14835
  dateCreated: string;
14836
+ /**
14837
+ * Invite status: approved, requested_to_be_invited or requested_to_join
14838
+ */
14638
14839
  inviteStatus: string | null;
14840
+ /**
14841
+ * Name of the user who invited the member, or null
14842
+ */
14639
14843
  inviterName: string | null;
14640
14844
  };
14641
14845
  export type OrganizationMemberRequest = {
@@ -14698,22 +14902,64 @@ export type OrganizationMemberRequest = {
14698
14902
  * as a SCIM user object.
14699
14903
  */
14700
14904
  export type OrganizationMemberScim = {
14905
+ /**
14906
+ * Always true when included. Sentry doesn't use this field, but SCIM expects it
14907
+ */
14701
14908
  active?: boolean;
14909
+ /**
14910
+ * SCIM schema URIs of the resource
14911
+ */
14702
14912
  schemas: Array<string>;
14913
+ /**
14914
+ * Organization member ID
14915
+ */
14703
14916
  id: string;
14917
+ /**
14918
+ * Email address of the member
14919
+ */
14704
14920
  userName: string;
14921
+ /**
14922
+ * Name of the member
14923
+ */
14705
14924
  name: {
14925
+ /**
14926
+ * Given name. Always N/A, because Sentry doesn't store it
14927
+ */
14706
14928
  givenName: string;
14929
+ /**
14930
+ * Family name. Always N/A, because Sentry doesn't store it
14931
+ */
14707
14932
  familyName: string;
14708
14933
  };
14934
+ /**
14935
+ * Email addresses of the member
14936
+ */
14709
14937
  emails: Array<{
14938
+ /**
14939
+ * Whether this is the primary email address. Always true
14940
+ */
14710
14941
  primary: boolean;
14942
+ /**
14943
+ * Email address
14944
+ */
14711
14945
  value: string;
14946
+ /**
14947
+ * Email type. Always work
14948
+ */
14712
14949
  type: string;
14713
14950
  }>;
14951
+ /**
14952
+ * SCIM resource metadata
14953
+ */
14714
14954
  meta: {
14955
+ /**
14956
+ * SCIM resource type, such as User or Group
14957
+ */
14715
14958
  resourceType: string;
14716
14959
  };
14960
+ /**
14961
+ * ID of the member's organization role
14962
+ */
14717
14963
  sentryOrgRole: string;
14718
14964
  };
14719
14965
  export type OrganizationMemberTeam = {
@@ -14726,10 +14972,19 @@ export type OrganizationMemberTeam = {
14726
14972
  teamRole?: 'contributor' | 'admin';
14727
14973
  };
14728
14974
  export type OrganizationMemberTeamDetails = {
14975
+ /**
14976
+ * Whether the team membership is active. An inactive membership removes the team from the member's default list, but the member can rejoin without a request
14977
+ */
14729
14978
  isActive: boolean;
14979
+ /**
14980
+ * ID of the member's team role
14981
+ */
14730
14982
  teamRole: 'contributor' | 'admin';
14731
14983
  };
14732
14984
  export type OrganizationMemberWithRoles = {
14985
+ /**
14986
+ * Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested
14987
+ */
14733
14988
  externalUsers?: Array<{
14734
14989
  externalId?: string;
14735
14990
  userId?: string;
@@ -14739,11 +14994,29 @@ export type OrganizationMemberWithRoles = {
14739
14994
  externalName: string;
14740
14995
  integrationId: string;
14741
14996
  }>;
14997
+ /**
14998
+ * Deprecated. Use orgRole
14999
+ */
14742
15000
  role?: string;
15001
+ /**
15002
+ * Deprecated. Name of the member's organization role
15003
+ */
14743
15004
  roleName?: string;
15005
+ /**
15006
+ * Organization member ID
15007
+ */
14744
15008
  id: string;
15009
+ /**
15010
+ * Email address of the member's user, or the invited email address if they have no account yet
15011
+ */
14745
15012
  email: string;
15013
+ /**
15014
+ * Display name of the member's user, or their email address if they have no account yet
15015
+ */
14746
15016
  name: string;
15017
+ /**
15018
+ * The member's user. Null for invited members without an account, or if the user can't be found
15019
+ */
14747
15020
  user: {
14748
15021
  /**
14749
15022
  * SSO identities of the user. Only included for the requesting user, unless the request has active superuser or staff access
@@ -14922,27 +15195,78 @@ export type OrganizationMemberWithRoles = {
14922
15195
  is_verified: boolean;
14923
15196
  }>;
14924
15197
  } | null;
15198
+ /**
15199
+ * ID of the member's organization role
15200
+ */
14925
15201
  orgRole: string;
15202
+ /**
15203
+ * Whether the member has no user account linked yet, as with an invite that hasn't been accepted
15204
+ */
14926
15205
  pending: boolean;
15206
+ /**
15207
+ * Whether the member's invite has expired
15208
+ */
14927
15209
  expired: boolean;
15210
+ /**
15211
+ * Member flags
15212
+ */
14928
15213
  flags: {
15214
+ /**
15215
+ * Whether the member is provisioned and managed through the organization's identity provider (SCIM)
15216
+ */
14929
15217
  'idp:provisioned': boolean;
15218
+ /**
15219
+ * Whether the member's organization role is set by the identity provider through SCIM
15220
+ */
14930
15221
  'idp:role-restricted': boolean;
15222
+ /**
15223
+ * Whether the member has linked their account to the organization's SSO provider
15224
+ */
14931
15225
  'sso:linked': boolean;
14932
15226
  'sso:invalid': boolean;
14933
15227
  'member-limit:restricted': boolean;
15228
+ /**
15229
+ * Whether the member is managed by an active partnership and can't be changed until it ends
15230
+ */
14934
15231
  'partnership:restricted': boolean;
14935
15232
  };
15233
+ /**
15234
+ * When the member was added or invited
15235
+ */
14936
15236
  dateCreated: string;
15237
+ /**
15238
+ * Invite status: approved, requested_to_be_invited or requested_to_join
15239
+ */
14937
15240
  inviteStatus: string | null;
15241
+ /**
15242
+ * Name of the user who invited the member, or null
15243
+ */
14938
15244
  inviterName: string | null;
15245
+ /**
15246
+ * Deprecated. Slugs of the active teams the member belongs to. Use teamRoles
15247
+ */
14939
15248
  teams: Array<string>;
15249
+ /**
15250
+ * Active teams the member belongs to, with the member's role in each
15251
+ */
14940
15252
  teamRoles: Array<{
15253
+ /**
15254
+ * Team slug
15255
+ */
14941
15256
  teamSlug: string;
15257
+ /**
15258
+ * ID of the member's team role, or null if the member has the minimum team role from their organization role
15259
+ */
14942
15260
  role: string | null;
14943
15261
  }>;
14944
15262
  invite_link: string | null;
15263
+ /**
15264
+ * Whether the member is the only owner of the organization
15265
+ */
14945
15266
  isOnlyOwner: boolean;
15267
+ /**
15268
+ * Organization roles, with whether the requesting user can assign each one
15269
+ */
14946
15270
  orgRoleList: Array<{
14947
15271
  /**
14948
15272
  * Role ID, such as member or admin
@@ -14989,6 +15313,9 @@ export type OrganizationMemberWithRoles = {
14989
15313
  */
14990
15314
  minimumTeamRole: string;
14991
15315
  }>;
15316
+ /**
15317
+ * Team roles available in the organization
15318
+ */
14992
15319
  teamRoleList: Array<{
14993
15320
  /**
14994
15321
  * Role ID, such as member or admin
@@ -17932,22 +18259,64 @@ export type ScimListResponseEnvelopeScimMemberIndexResponse = {
17932
18259
  startIndex: number;
17933
18260
  itemsPerPage: number;
17934
18261
  Resources: Array<{
18262
+ /**
18263
+ * Always true when included. Sentry doesn't use this field, but SCIM expects it
18264
+ */
17935
18265
  active?: boolean;
18266
+ /**
18267
+ * SCIM schema URIs of the resource
18268
+ */
17936
18269
  schemas: Array<string>;
18270
+ /**
18271
+ * Organization member ID
18272
+ */
17937
18273
  id: string;
18274
+ /**
18275
+ * Email address of the member
18276
+ */
17938
18277
  userName: string;
18278
+ /**
18279
+ * Name of the member
18280
+ */
17939
18281
  name: {
18282
+ /**
18283
+ * Given name. Always N/A, because Sentry doesn't store it
18284
+ */
17940
18285
  givenName: string;
18286
+ /**
18287
+ * Family name. Always N/A, because Sentry doesn't store it
18288
+ */
17941
18289
  familyName: string;
17942
18290
  };
18291
+ /**
18292
+ * Email addresses of the member
18293
+ */
17943
18294
  emails: Array<{
18295
+ /**
18296
+ * Whether this is the primary email address. Always true
18297
+ */
17944
18298
  primary: boolean;
18299
+ /**
18300
+ * Email address
18301
+ */
17945
18302
  value: string;
18303
+ /**
18304
+ * Email type. Always work
18305
+ */
17946
18306
  type: string;
17947
18307
  }>;
18308
+ /**
18309
+ * SCIM resource metadata
18310
+ */
17948
18311
  meta: {
18312
+ /**
18313
+ * SCIM resource type, such as User or Group
18314
+ */
17949
18315
  resourceType: string;
17950
18316
  };
18317
+ /**
18318
+ * ID of the member's organization role
18319
+ */
17951
18320
  sentryOrgRole: string;
17952
18321
  }>;
17953
18322
  };
@@ -17973,6 +18342,9 @@ export type ScimListResponseEnvelopeScimTeamIndexResponse = {
17973
18342
  * SCIM resource metadata
17974
18343
  */
17975
18344
  meta: {
18345
+ /**
18346
+ * SCIM resource type, such as User or Group
18347
+ */
17976
18348
  resourceType: string;
17977
18349
  };
17978
18350
  /**
@@ -19793,6 +20165,9 @@ export type TeamScim = {
19793
20165
  * SCIM resource metadata
19794
20166
  */
19795
20167
  meta: {
20168
+ /**
20169
+ * SCIM resource type, such as User or Group
20170
+ */
19796
20171
  resourceType: string;
19797
20172
  };
19798
20173
  /**
@@ -30985,6 +31360,9 @@ export type ListOrganizationMembersErrors = {
30985
31360
  };
30986
31361
  export type ListOrganizationMembersResponses = {
30987
31362
  200: Array<{
31363
+ /**
31364
+ * Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested
31365
+ */
30988
31366
  externalUsers?: Array<{
30989
31367
  externalId?: string;
30990
31368
  userId?: string;
@@ -30994,9 +31372,21 @@ export type ListOrganizationMembersResponses = {
30994
31372
  externalName: string;
30995
31373
  integrationId: string;
30996
31374
  }>;
31375
+ /**
31376
+ * Organization member ID
31377
+ */
30997
31378
  id: string;
31379
+ /**
31380
+ * Email address of the member's user, or the invited email address if they have no account yet
31381
+ */
30998
31382
  email: string;
31383
+ /**
31384
+ * Display name of the member's user, or their email address if they have no account yet
31385
+ */
30999
31386
  name: string;
31387
+ /**
31388
+ * The member's user. Null for invited members without an account, or if the user can't be found
31389
+ */
31000
31390
  user: {
31001
31391
  /**
31002
31392
  * SSO identities of the user. Only included for the requesting user, unless the request has active superuser or staff access
@@ -31175,19 +31565,52 @@ export type ListOrganizationMembersResponses = {
31175
31565
  is_verified: boolean;
31176
31566
  }>;
31177
31567
  } | null;
31568
+ /**
31569
+ * ID of the member's organization role
31570
+ */
31178
31571
  orgRole: string;
31572
+ /**
31573
+ * Whether the member has no user account linked yet, as with an invite that hasn't been accepted
31574
+ */
31179
31575
  pending: boolean;
31576
+ /**
31577
+ * Whether the member's invite has expired
31578
+ */
31180
31579
  expired: boolean;
31580
+ /**
31581
+ * Member flags
31582
+ */
31181
31583
  flags: {
31584
+ /**
31585
+ * Whether the member is provisioned and managed through the organization's identity provider (SCIM)
31586
+ */
31182
31587
  'idp:provisioned': boolean;
31588
+ /**
31589
+ * Whether the member's organization role is set by the identity provider through SCIM
31590
+ */
31183
31591
  'idp:role-restricted': boolean;
31592
+ /**
31593
+ * Whether the member has linked their account to the organization's SSO provider
31594
+ */
31184
31595
  'sso:linked': boolean;
31185
31596
  'sso:invalid': boolean;
31186
31597
  'member-limit:restricted': boolean;
31598
+ /**
31599
+ * Whether the member is managed by an active partnership and can't be changed until it ends
31600
+ */
31187
31601
  'partnership:restricted': boolean;
31188
31602
  };
31603
+ /**
31604
+ * When the member was added or invited
31605
+ */
31189
31606
  dateCreated: string;
31607
+ /**
31608
+ * Invite status: approved, requested_to_be_invited or requested_to_join
31609
+ */
31190
31610
  inviteStatus: string | null;
31611
+ /**
31612
+ * Name of the user who invited the member, or null
31613
+ */
31191
31614
  inviterName: string | null;
31192
31615
  }>;
31193
31616
  };
@@ -31277,6 +31700,9 @@ export type AddOrganizationMemberErrors = {
31277
31700
  };
31278
31701
  export type AddOrganizationMemberResponses = {
31279
31702
  201: {
31703
+ /**
31704
+ * Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested
31705
+ */
31280
31706
  externalUsers?: Array<{
31281
31707
  externalId?: string;
31282
31708
  userId?: string;
@@ -31286,9 +31712,21 @@ export type AddOrganizationMemberResponses = {
31286
31712
  externalName: string;
31287
31713
  integrationId: string;
31288
31714
  }>;
31715
+ /**
31716
+ * Organization member ID
31717
+ */
31289
31718
  id: string;
31719
+ /**
31720
+ * Email address of the member's user, or the invited email address if they have no account yet
31721
+ */
31290
31722
  email: string;
31723
+ /**
31724
+ * Display name of the member's user, or their email address if they have no account yet
31725
+ */
31291
31726
  name: string;
31727
+ /**
31728
+ * The member's user. Null for invited members without an account, or if the user can't be found
31729
+ */
31292
31730
  user: {
31293
31731
  /**
31294
31732
  * SSO identities of the user. Only included for the requesting user, unless the request has active superuser or staff access
@@ -31467,19 +31905,52 @@ export type AddOrganizationMemberResponses = {
31467
31905
  is_verified: boolean;
31468
31906
  }>;
31469
31907
  } | null;
31908
+ /**
31909
+ * ID of the member's organization role
31910
+ */
31470
31911
  orgRole: string;
31912
+ /**
31913
+ * Whether the member has no user account linked yet, as with an invite that hasn't been accepted
31914
+ */
31471
31915
  pending: boolean;
31916
+ /**
31917
+ * Whether the member's invite has expired
31918
+ */
31472
31919
  expired: boolean;
31920
+ /**
31921
+ * Member flags
31922
+ */
31473
31923
  flags: {
31924
+ /**
31925
+ * Whether the member is provisioned and managed through the organization's identity provider (SCIM)
31926
+ */
31474
31927
  'idp:provisioned': boolean;
31928
+ /**
31929
+ * Whether the member's organization role is set by the identity provider through SCIM
31930
+ */
31475
31931
  'idp:role-restricted': boolean;
31932
+ /**
31933
+ * Whether the member has linked their account to the organization's SSO provider
31934
+ */
31476
31935
  'sso:linked': boolean;
31477
31936
  'sso:invalid': boolean;
31478
31937
  'member-limit:restricted': boolean;
31938
+ /**
31939
+ * Whether the member is managed by an active partnership and can't be changed until it ends
31940
+ */
31479
31941
  'partnership:restricted': boolean;
31480
31942
  };
31943
+ /**
31944
+ * When the member was added or invited
31945
+ */
31481
31946
  dateCreated: string;
31947
+ /**
31948
+ * Invite status: approved, requested_to_be_invited or requested_to_join
31949
+ */
31482
31950
  inviteStatus: string | null;
31951
+ /**
31952
+ * Name of the user who invited the member, or null
31953
+ */
31483
31954
  inviterName: string | null;
31484
31955
  };
31485
31956
  };
@@ -31551,6 +32022,9 @@ export type GetOrganizationMemberErrors = {
31551
32022
  };
31552
32023
  export type GetOrganizationMemberResponses = {
31553
32024
  200: {
32025
+ /**
32026
+ * Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested
32027
+ */
31554
32028
  externalUsers?: Array<{
31555
32029
  externalId?: string;
31556
32030
  userId?: string;
@@ -31560,11 +32034,29 @@ export type GetOrganizationMemberResponses = {
31560
32034
  externalName: string;
31561
32035
  integrationId: string;
31562
32036
  }>;
32037
+ /**
32038
+ * Deprecated. Use orgRole
32039
+ */
31563
32040
  role?: string;
32041
+ /**
32042
+ * Deprecated. Name of the member's organization role
32043
+ */
31564
32044
  roleName?: string;
32045
+ /**
32046
+ * Organization member ID
32047
+ */
31565
32048
  id: string;
32049
+ /**
32050
+ * Email address of the member's user, or the invited email address if they have no account yet
32051
+ */
31566
32052
  email: string;
32053
+ /**
32054
+ * Display name of the member's user, or their email address if they have no account yet
32055
+ */
31567
32056
  name: string;
32057
+ /**
32058
+ * The member's user. Null for invited members without an account, or if the user can't be found
32059
+ */
31568
32060
  user: {
31569
32061
  /**
31570
32062
  * SSO identities of the user. Only included for the requesting user, unless the request has active superuser or staff access
@@ -31743,27 +32235,78 @@ export type GetOrganizationMemberResponses = {
31743
32235
  is_verified: boolean;
31744
32236
  }>;
31745
32237
  } | null;
32238
+ /**
32239
+ * ID of the member's organization role
32240
+ */
31746
32241
  orgRole: string;
32242
+ /**
32243
+ * Whether the member has no user account linked yet, as with an invite that hasn't been accepted
32244
+ */
31747
32245
  pending: boolean;
32246
+ /**
32247
+ * Whether the member's invite has expired
32248
+ */
31748
32249
  expired: boolean;
32250
+ /**
32251
+ * Member flags
32252
+ */
31749
32253
  flags: {
32254
+ /**
32255
+ * Whether the member is provisioned and managed through the organization's identity provider (SCIM)
32256
+ */
31750
32257
  'idp:provisioned': boolean;
32258
+ /**
32259
+ * Whether the member's organization role is set by the identity provider through SCIM
32260
+ */
31751
32261
  'idp:role-restricted': boolean;
32262
+ /**
32263
+ * Whether the member has linked their account to the organization's SSO provider
32264
+ */
31752
32265
  'sso:linked': boolean;
31753
32266
  'sso:invalid': boolean;
31754
32267
  'member-limit:restricted': boolean;
32268
+ /**
32269
+ * Whether the member is managed by an active partnership and can't be changed until it ends
32270
+ */
31755
32271
  'partnership:restricted': boolean;
31756
32272
  };
32273
+ /**
32274
+ * When the member was added or invited
32275
+ */
31757
32276
  dateCreated: string;
32277
+ /**
32278
+ * Invite status: approved, requested_to_be_invited or requested_to_join
32279
+ */
31758
32280
  inviteStatus: string | null;
32281
+ /**
32282
+ * Name of the user who invited the member, or null
32283
+ */
31759
32284
  inviterName: string | null;
32285
+ /**
32286
+ * Deprecated. Slugs of the active teams the member belongs to. Use teamRoles
32287
+ */
31760
32288
  teams: Array<string>;
32289
+ /**
32290
+ * Active teams the member belongs to, with the member's role in each
32291
+ */
31761
32292
  teamRoles: Array<{
32293
+ /**
32294
+ * Team slug
32295
+ */
31762
32296
  teamSlug: string;
32297
+ /**
32298
+ * ID of the member's team role, or null if the member has the minimum team role from their organization role
32299
+ */
31763
32300
  role: string | null;
31764
32301
  }>;
31765
32302
  invite_link: string | null;
32303
+ /**
32304
+ * Whether the member is the only owner of the organization
32305
+ */
31766
32306
  isOnlyOwner: boolean;
32307
+ /**
32308
+ * Organization roles, with whether the requesting user can assign each one
32309
+ */
31767
32310
  orgRoleList: Array<{
31768
32311
  /**
31769
32312
  * Role ID, such as member or admin
@@ -31810,6 +32353,9 @@ export type GetOrganizationMemberResponses = {
31810
32353
  */
31811
32354
  minimumTeamRole: string;
31812
32355
  }>;
32356
+ /**
32357
+ * Team roles available in the organization
32358
+ */
31813
32359
  teamRoleList: Array<{
31814
32360
  /**
31815
32361
  * Role ID, such as member or admin
@@ -31923,6 +32469,9 @@ export type UpdateOrganizationMemberErrors = {
31923
32469
  };
31924
32470
  export type UpdateOrganizationMemberResponses = {
31925
32471
  200: {
32472
+ /**
32473
+ * Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested
32474
+ */
31926
32475
  externalUsers?: Array<{
31927
32476
  externalId?: string;
31928
32477
  userId?: string;
@@ -31932,11 +32481,29 @@ export type UpdateOrganizationMemberResponses = {
31932
32481
  externalName: string;
31933
32482
  integrationId: string;
31934
32483
  }>;
32484
+ /**
32485
+ * Deprecated. Use orgRole
32486
+ */
31935
32487
  role?: string;
32488
+ /**
32489
+ * Deprecated. Name of the member's organization role
32490
+ */
31936
32491
  roleName?: string;
32492
+ /**
32493
+ * Organization member ID
32494
+ */
31937
32495
  id: string;
32496
+ /**
32497
+ * Email address of the member's user, or the invited email address if they have no account yet
32498
+ */
31938
32499
  email: string;
32500
+ /**
32501
+ * Display name of the member's user, or their email address if they have no account yet
32502
+ */
31939
32503
  name: string;
32504
+ /**
32505
+ * The member's user. Null for invited members without an account, or if the user can't be found
32506
+ */
31940
32507
  user: {
31941
32508
  /**
31942
32509
  * SSO identities of the user. Only included for the requesting user, unless the request has active superuser or staff access
@@ -32115,27 +32682,78 @@ export type UpdateOrganizationMemberResponses = {
32115
32682
  is_verified: boolean;
32116
32683
  }>;
32117
32684
  } | null;
32685
+ /**
32686
+ * ID of the member's organization role
32687
+ */
32118
32688
  orgRole: string;
32689
+ /**
32690
+ * Whether the member has no user account linked yet, as with an invite that hasn't been accepted
32691
+ */
32119
32692
  pending: boolean;
32693
+ /**
32694
+ * Whether the member's invite has expired
32695
+ */
32120
32696
  expired: boolean;
32697
+ /**
32698
+ * Member flags
32699
+ */
32121
32700
  flags: {
32701
+ /**
32702
+ * Whether the member is provisioned and managed through the organization's identity provider (SCIM)
32703
+ */
32122
32704
  'idp:provisioned': boolean;
32705
+ /**
32706
+ * Whether the member's organization role is set by the identity provider through SCIM
32707
+ */
32123
32708
  'idp:role-restricted': boolean;
32709
+ /**
32710
+ * Whether the member has linked their account to the organization's SSO provider
32711
+ */
32124
32712
  'sso:linked': boolean;
32125
32713
  'sso:invalid': boolean;
32126
32714
  'member-limit:restricted': boolean;
32715
+ /**
32716
+ * Whether the member is managed by an active partnership and can't be changed until it ends
32717
+ */
32127
32718
  'partnership:restricted': boolean;
32128
32719
  };
32720
+ /**
32721
+ * When the member was added or invited
32722
+ */
32129
32723
  dateCreated: string;
32724
+ /**
32725
+ * Invite status: approved, requested_to_be_invited or requested_to_join
32726
+ */
32130
32727
  inviteStatus: string | null;
32728
+ /**
32729
+ * Name of the user who invited the member, or null
32730
+ */
32131
32731
  inviterName: string | null;
32732
+ /**
32733
+ * Deprecated. Slugs of the active teams the member belongs to. Use teamRoles
32734
+ */
32132
32735
  teams: Array<string>;
32736
+ /**
32737
+ * Active teams the member belongs to, with the member's role in each
32738
+ */
32133
32739
  teamRoles: Array<{
32740
+ /**
32741
+ * Team slug
32742
+ */
32134
32743
  teamSlug: string;
32744
+ /**
32745
+ * ID of the member's team role, or null if the member has the minimum team role from their organization role
32746
+ */
32135
32747
  role: string | null;
32136
32748
  }>;
32137
32749
  invite_link: string | null;
32750
+ /**
32751
+ * Whether the member is the only owner of the organization
32752
+ */
32138
32753
  isOnlyOwner: boolean;
32754
+ /**
32755
+ * Organization roles, with whether the requesting user can assign each one
32756
+ */
32139
32757
  orgRoleList: Array<{
32140
32758
  /**
32141
32759
  * Role ID, such as member or admin
@@ -32182,6 +32800,9 @@ export type UpdateOrganizationMemberResponses = {
32182
32800
  */
32183
32801
  minimumTeamRole: string;
32184
32802
  }>;
32803
+ /**
32804
+ * Team roles available in the organization
32805
+ */
32185
32806
  teamRoleList: Array<{
32186
32807
  /**
32187
32808
  * Role ID, such as member or admin
@@ -32472,7 +33093,13 @@ export type UpdateOrganizationMemberTeamErrors = {
32472
33093
  };
32473
33094
  export type UpdateOrganizationMemberTeamResponses = {
32474
33095
  200: {
33096
+ /**
33097
+ * Whether the team membership is active. An inactive membership removes the team from the member's default list, but the member can rejoin without a request
33098
+ */
32475
33099
  isActive: boolean;
33100
+ /**
33101
+ * ID of the member's team role
33102
+ */
32476
33103
  teamRole: 'contributor' | 'admin';
32477
33104
  };
32478
33105
  };
@@ -40824,6 +41451,9 @@ export type ListOrganizationScimV2GroupsResponses = {
40824
41451
  * SCIM resource metadata
40825
41452
  */
40826
41453
  meta: {
41454
+ /**
41455
+ * SCIM resource type, such as User or Group
41456
+ */
40827
41457
  resourceType: string;
40828
41458
  };
40829
41459
  /**
@@ -40891,6 +41521,9 @@ export type ProvisionOrganizationScimV2GroupResponses = {
40891
41521
  * SCIM resource metadata
40892
41522
  */
40893
41523
  meta: {
41524
+ /**
41525
+ * SCIM resource type, such as User or Group
41526
+ */
40894
41527
  resourceType: string;
40895
41528
  };
40896
41529
  /**
@@ -40992,6 +41625,9 @@ export type GetOrganizationScimV2GroupResponses = {
40992
41625
  * SCIM resource metadata
40993
41626
  */
40994
41627
  meta: {
41628
+ /**
41629
+ * SCIM resource type, such as User or Group
41630
+ */
40995
41631
  resourceType: string;
40996
41632
  };
40997
41633
  /**
@@ -41365,22 +42001,64 @@ export type ListOrganizationScimV2UsersResponses = {
41365
42001
  startIndex: number;
41366
42002
  itemsPerPage: number;
41367
42003
  Resources: Array<{
42004
+ /**
42005
+ * Always true when included. Sentry doesn't use this field, but SCIM expects it
42006
+ */
41368
42007
  active?: boolean;
42008
+ /**
42009
+ * SCIM schema URIs of the resource
42010
+ */
41369
42011
  schemas: Array<string>;
42012
+ /**
42013
+ * Organization member ID
42014
+ */
41370
42015
  id: string;
42016
+ /**
42017
+ * Email address of the member
42018
+ */
41371
42019
  userName: string;
42020
+ /**
42021
+ * Name of the member
42022
+ */
41372
42023
  name: {
42024
+ /**
42025
+ * Given name. Always N/A, because Sentry doesn't store it
42026
+ */
41373
42027
  givenName: string;
42028
+ /**
42029
+ * Family name. Always N/A, because Sentry doesn't store it
42030
+ */
41374
42031
  familyName: string;
41375
42032
  };
42033
+ /**
42034
+ * Email addresses of the member
42035
+ */
41376
42036
  emails: Array<{
42037
+ /**
42038
+ * Whether this is the primary email address. Always true
42039
+ */
41377
42040
  primary: boolean;
42041
+ /**
42042
+ * Email address
42043
+ */
41378
42044
  value: string;
42045
+ /**
42046
+ * Email type. Always work
42047
+ */
41379
42048
  type: string;
41380
42049
  }>;
42050
+ /**
42051
+ * SCIM resource metadata
42052
+ */
41381
42053
  meta: {
42054
+ /**
42055
+ * SCIM resource type, such as User or Group
42056
+ */
41382
42057
  resourceType: string;
41383
42058
  };
42059
+ /**
42060
+ * ID of the member's organization role
42061
+ */
41384
42062
  sentryOrgRole: string;
41385
42063
  }>;
41386
42064
  };
@@ -41436,22 +42114,64 @@ export type ProvisionOrganizationScimV2UserResponses = {
41436
42114
  * as a SCIM user object.
41437
42115
  */
41438
42116
  201: {
42117
+ /**
42118
+ * Always true when included. Sentry doesn't use this field, but SCIM expects it
42119
+ */
41439
42120
  active?: boolean;
42121
+ /**
42122
+ * SCIM schema URIs of the resource
42123
+ */
41440
42124
  schemas: Array<string>;
42125
+ /**
42126
+ * Organization member ID
42127
+ */
41441
42128
  id: string;
42129
+ /**
42130
+ * Email address of the member
42131
+ */
41442
42132
  userName: string;
42133
+ /**
42134
+ * Name of the member
42135
+ */
41443
42136
  name: {
42137
+ /**
42138
+ * Given name. Always N/A, because Sentry doesn't store it
42139
+ */
41444
42140
  givenName: string;
42141
+ /**
42142
+ * Family name. Always N/A, because Sentry doesn't store it
42143
+ */
41445
42144
  familyName: string;
41446
42145
  };
42146
+ /**
42147
+ * Email addresses of the member
42148
+ */
41447
42149
  emails: Array<{
42150
+ /**
42151
+ * Whether this is the primary email address. Always true
42152
+ */
41448
42153
  primary: boolean;
42154
+ /**
42155
+ * Email address
42156
+ */
41449
42157
  value: string;
42158
+ /**
42159
+ * Email type. Always work
42160
+ */
41450
42161
  type: string;
41451
42162
  }>;
42163
+ /**
42164
+ * SCIM resource metadata
42165
+ */
41452
42166
  meta: {
42167
+ /**
42168
+ * SCIM resource type, such as User or Group
42169
+ */
41453
42170
  resourceType: string;
41454
42171
  };
42172
+ /**
42173
+ * ID of the member's organization role
42174
+ */
41455
42175
  sentryOrgRole: string;
41456
42176
  };
41457
42177
  };
@@ -41527,22 +42247,64 @@ export type GetOrganizationScimV2UserResponses = {
41527
42247
  * as a SCIM user object.
41528
42248
  */
41529
42249
  200: {
42250
+ /**
42251
+ * Always true when included. Sentry doesn't use this field, but SCIM expects it
42252
+ */
41530
42253
  active?: boolean;
42254
+ /**
42255
+ * SCIM schema URIs of the resource
42256
+ */
41531
42257
  schemas: Array<string>;
42258
+ /**
42259
+ * Organization member ID
42260
+ */
41532
42261
  id: string;
42262
+ /**
42263
+ * Email address of the member
42264
+ */
41533
42265
  userName: string;
42266
+ /**
42267
+ * Name of the member
42268
+ */
41534
42269
  name: {
42270
+ /**
42271
+ * Given name. Always N/A, because Sentry doesn't store it
42272
+ */
41535
42273
  givenName: string;
42274
+ /**
42275
+ * Family name. Always N/A, because Sentry doesn't store it
42276
+ */
41536
42277
  familyName: string;
41537
42278
  };
42279
+ /**
42280
+ * Email addresses of the member
42281
+ */
41538
42282
  emails: Array<{
42283
+ /**
42284
+ * Whether this is the primary email address. Always true
42285
+ */
41539
42286
  primary: boolean;
42287
+ /**
42288
+ * Email address
42289
+ */
41540
42290
  value: string;
42291
+ /**
42292
+ * Email type. Always work
42293
+ */
41541
42294
  type: string;
41542
42295
  }>;
42296
+ /**
42297
+ * SCIM resource metadata
42298
+ */
41543
42299
  meta: {
42300
+ /**
42301
+ * SCIM resource type, such as User or Group
42302
+ */
41544
42303
  resourceType: string;
41545
42304
  };
42305
+ /**
42306
+ * ID of the member's organization role
42307
+ */
41546
42308
  sentryOrgRole: string;
41547
42309
  };
41548
42310
  };
@@ -51197,6 +51959,9 @@ export type ListProjectMembersErrors = {
51197
51959
  };
51198
51960
  export type ListProjectMembersResponses = {
51199
51961
  200: Array<{
51962
+ /**
51963
+ * Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested
51964
+ */
51200
51965
  externalUsers?: Array<{
51201
51966
  externalId?: string;
51202
51967
  userId?: string;
@@ -51206,9 +51971,21 @@ export type ListProjectMembersResponses = {
51206
51971
  externalName: string;
51207
51972
  integrationId: string;
51208
51973
  }>;
51974
+ /**
51975
+ * Organization member ID
51976
+ */
51209
51977
  id: string;
51978
+ /**
51979
+ * Email address of the member's user, or the invited email address if they have no account yet
51980
+ */
51210
51981
  email: string;
51982
+ /**
51983
+ * Display name of the member's user, or their email address if they have no account yet
51984
+ */
51211
51985
  name: string;
51986
+ /**
51987
+ * The member's user. Null for invited members without an account, or if the user can't be found
51988
+ */
51212
51989
  user: {
51213
51990
  /**
51214
51991
  * SSO identities of the user. Only included for the requesting user, unless the request has active superuser or staff access
@@ -51387,19 +52164,52 @@ export type ListProjectMembersResponses = {
51387
52164
  is_verified: boolean;
51388
52165
  }>;
51389
52166
  } | null;
52167
+ /**
52168
+ * ID of the member's organization role
52169
+ */
51390
52170
  orgRole: string;
52171
+ /**
52172
+ * Whether the member has no user account linked yet, as with an invite that hasn't been accepted
52173
+ */
51391
52174
  pending: boolean;
52175
+ /**
52176
+ * Whether the member's invite has expired
52177
+ */
51392
52178
  expired: boolean;
52179
+ /**
52180
+ * Member flags
52181
+ */
51393
52182
  flags: {
52183
+ /**
52184
+ * Whether the member is provisioned and managed through the organization's identity provider (SCIM)
52185
+ */
51394
52186
  'idp:provisioned': boolean;
52187
+ /**
52188
+ * Whether the member's organization role is set by the identity provider through SCIM
52189
+ */
51395
52190
  'idp:role-restricted': boolean;
52191
+ /**
52192
+ * Whether the member has linked their account to the organization's SSO provider
52193
+ */
51396
52194
  'sso:linked': boolean;
51397
52195
  'sso:invalid': boolean;
51398
52196
  'member-limit:restricted': boolean;
52197
+ /**
52198
+ * Whether the member is managed by an active partnership and can't be changed until it ends
52199
+ */
51399
52200
  'partnership:restricted': boolean;
51400
52201
  };
52202
+ /**
52203
+ * When the member was added or invited
52204
+ */
51401
52205
  dateCreated: string;
52206
+ /**
52207
+ * Invite status: approved, requested_to_be_invited or requested_to_join
52208
+ */
51402
52209
  inviteStatus: string | null;
52210
+ /**
52211
+ * Name of the user who invited the member, or null
52212
+ */
51403
52213
  inviterName: string | null;
51404
52214
  }>;
51405
52215
  };
@@ -57539,6 +58349,9 @@ export type ListTeamMembersErrors = {
57539
58349
  };
57540
58350
  export type ListTeamMembersResponses = {
57541
58351
  200: Array<{
58352
+ /**
58353
+ * Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested
58354
+ */
57542
58355
  externalUsers?: Array<{
57543
58356
  externalId?: string;
57544
58357
  userId?: string;
@@ -57548,11 +58361,29 @@ export type ListTeamMembersResponses = {
57548
58361
  externalName: string;
57549
58362
  integrationId: string;
57550
58363
  }>;
58364
+ /**
58365
+ * Deprecated. Use orgRole
58366
+ */
57551
58367
  role?: string;
58368
+ /**
58369
+ * Deprecated. Name of the member's organization role
58370
+ */
57552
58371
  roleName?: string;
58372
+ /**
58373
+ * Organization member ID
58374
+ */
57553
58375
  id: string;
58376
+ /**
58377
+ * Email address of the member's user, or the invited email address if they have no account yet
58378
+ */
57554
58379
  email: string;
58380
+ /**
58381
+ * Display name of the member's user, or their email address if they have no account yet
58382
+ */
57555
58383
  name: string;
58384
+ /**
58385
+ * The member's user
58386
+ */
57556
58387
  user: {
57557
58388
  /**
57558
58389
  * SSO identities of the user. Only included for the requesting user, unless the request has active superuser or staff access
@@ -57731,21 +58562,60 @@ export type ListTeamMembersResponses = {
57731
58562
  is_verified: boolean;
57732
58563
  }>;
57733
58564
  };
58565
+ /**
58566
+ * ID of the member's organization role
58567
+ */
57734
58568
  orgRole: string;
58569
+ /**
58570
+ * Whether the member has no user account linked yet, as with an invite that hasn't been accepted
58571
+ */
57735
58572
  pending: boolean;
58573
+ /**
58574
+ * Whether the member's invite has expired
58575
+ */
57736
58576
  expired: boolean;
58577
+ /**
58578
+ * Member flags
58579
+ */
57737
58580
  flags: {
58581
+ /**
58582
+ * Whether the member is provisioned and managed through the organization's identity provider (SCIM)
58583
+ */
57738
58584
  'idp:provisioned': boolean;
58585
+ /**
58586
+ * Whether the member's organization role is set by the identity provider through SCIM
58587
+ */
57739
58588
  'idp:role-restricted': boolean;
58589
+ /**
58590
+ * Whether the member has linked their account to the organization's SSO provider
58591
+ */
57740
58592
  'sso:linked': boolean;
57741
58593
  'sso:invalid': boolean;
57742
58594
  'member-limit:restricted': boolean;
58595
+ /**
58596
+ * Whether the member is managed by an active partnership and can't be changed until it ends
58597
+ */
57743
58598
  'partnership:restricted': boolean;
57744
58599
  };
58600
+ /**
58601
+ * When the member was added or invited
58602
+ */
57745
58603
  dateCreated: string;
58604
+ /**
58605
+ * Invite status: approved, requested_to_be_invited or requested_to_join
58606
+ */
57746
58607
  inviteStatus: string | null;
58608
+ /**
58609
+ * Name of the user who invited the member, or null
58610
+ */
57747
58611
  inviterName: string | null;
58612
+ /**
58613
+ * ID of the member's team role, or null if the member has the minimum team role from their organization role
58614
+ */
57748
58615
  teamRole: string | null;
58616
+ /**
58617
+ * Slug of the team
58618
+ */
57749
58619
  teamSlug: string;
57750
58620
  }>;
57751
58621
  };