@sentry/api 1.27.0 → 1.29.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.
- package/README.md +23 -0
- package/dist/api-client/api-path-scope.d.ts +25 -0
- package/dist/api-client/api-path.d.ts +1 -20
- package/dist/api-client/index.js +30 -28
- package/dist/client/index.d.ts +1 -1
- package/dist/client/types.gen.d.ts +22 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +53 -0
- package/dist/types.gen.d.ts +870 -0
- package/dist/valibot.gen.d.ts +1195 -349
- package/dist/valibot.js +347 -347
- package/dist/zod.gen.d.ts +2 -2
- package/dist/zod.js +838 -258
- package/package.json +1 -1
package/dist/zod.js
CHANGED
|
@@ -8193,12 +8193,24 @@ var zListMemberOnTeamResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.object
|
|
|
8193
8193
|
provider: /* @__PURE__ */ z.string(),
|
|
8194
8194
|
externalName: /* @__PURE__ */ z.string(),
|
|
8195
8195
|
integrationId: /* @__PURE__ */ z.string()
|
|
8196
|
-
})).
|
|
8197
|
-
|
|
8198
|
-
|
|
8199
|
-
|
|
8200
|
-
|
|
8201
|
-
|
|
8196
|
+
})).register(z.globalRegistry, {
|
|
8197
|
+
description: "Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested"
|
|
8198
|
+
}).optional(),
|
|
8199
|
+
role: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8200
|
+
description: "Deprecated. Use orgRole"
|
|
8201
|
+
}).optional(),
|
|
8202
|
+
roleName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8203
|
+
description: "Deprecated. Name of the member's organization role"
|
|
8204
|
+
}).optional(),
|
|
8205
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8206
|
+
description: "Organization member ID"
|
|
8207
|
+
}),
|
|
8208
|
+
email: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8209
|
+
description: "Email address of the member's user, or the invited email address if they have no account yet"
|
|
8210
|
+
}),
|
|
8211
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8212
|
+
description: "Display name of the member's user, or their email address if they have no account yet"
|
|
8213
|
+
}),
|
|
8202
8214
|
user: /* @__PURE__ */ z.object({
|
|
8203
8215
|
identities: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
8204
8216
|
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
@@ -8332,23 +8344,51 @@ var zListMemberOnTeamResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.object
|
|
|
8332
8344
|
})).register(z.globalRegistry, {
|
|
8333
8345
|
description: "Email addresses of the user. Only included for the requesting user or superusers; empty otherwise"
|
|
8334
8346
|
})
|
|
8347
|
+
}).register(z.globalRegistry, {
|
|
8348
|
+
description: "The member's user"
|
|
8349
|
+
}),
|
|
8350
|
+
orgRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8351
|
+
description: "ID of the member's organization role"
|
|
8352
|
+
}),
|
|
8353
|
+
pending: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
8354
|
+
description: "Whether the member has no user account linked yet, as with an invite that hasn't been accepted"
|
|
8355
|
+
}),
|
|
8356
|
+
expired: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
8357
|
+
description: "Whether the member's invite has expired"
|
|
8335
8358
|
}),
|
|
8336
|
-
orgRole: /* @__PURE__ */ z.string(),
|
|
8337
|
-
pending: /* @__PURE__ */ z.boolean(),
|
|
8338
|
-
expired: /* @__PURE__ */ z.boolean(),
|
|
8339
8359
|
flags: /* @__PURE__ */ z.object({
|
|
8340
|
-
"idp:provisioned": /* @__PURE__ */ z.boolean(),
|
|
8341
|
-
|
|
8342
|
-
|
|
8360
|
+
"idp:provisioned": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
8361
|
+
description: "Whether the member is provisioned and managed through the organization's identity provider (SCIM)"
|
|
8362
|
+
}),
|
|
8363
|
+
"idp:role-restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
8364
|
+
description: "Whether the member's organization role is set by the identity provider through SCIM"
|
|
8365
|
+
}),
|
|
8366
|
+
"sso:linked": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
8367
|
+
description: "Whether the member has linked their account to the organization's SSO provider"
|
|
8368
|
+
}),
|
|
8343
8369
|
"sso:invalid": /* @__PURE__ */ z.boolean(),
|
|
8344
8370
|
"member-limit:restricted": /* @__PURE__ */ z.boolean(),
|
|
8345
|
-
"partnership:restricted": /* @__PURE__ */ z.boolean()
|
|
8371
|
+
"partnership:restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
8372
|
+
description: "Whether the member is managed by an active partnership and can't be changed until it ends"
|
|
8373
|
+
})
|
|
8374
|
+
}).register(z.globalRegistry, {
|
|
8375
|
+
description: "Member flags"
|
|
8346
8376
|
}),
|
|
8347
|
-
dateCreated: /* @__PURE__ */ z.iso.datetime(),
|
|
8348
|
-
|
|
8349
|
-
|
|
8350
|
-
|
|
8351
|
-
|
|
8377
|
+
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
8378
|
+
description: "When the member was added or invited"
|
|
8379
|
+
}),
|
|
8380
|
+
inviteStatus: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8381
|
+
description: "Invite status: approved, requested_to_be_invited or requested_to_join"
|
|
8382
|
+
}).nullable(),
|
|
8383
|
+
inviterName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8384
|
+
description: "Name of the user who invited the member, or null"
|
|
8385
|
+
}).nullable(),
|
|
8386
|
+
teamRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8387
|
+
description: "ID of the member's team role, or null if the member has the minimum team role from their organization role"
|
|
8388
|
+
}).nullable(),
|
|
8389
|
+
teamSlug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8390
|
+
description: "Slug of the team"
|
|
8391
|
+
})
|
|
8352
8392
|
}));
|
|
8353
8393
|
var zListOrgMembersResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
8354
8394
|
externalUsers: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
@@ -8359,10 +8399,18 @@ var zListOrgMembersResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
|
8359
8399
|
provider: /* @__PURE__ */ z.string(),
|
|
8360
8400
|
externalName: /* @__PURE__ */ z.string(),
|
|
8361
8401
|
integrationId: /* @__PURE__ */ z.string()
|
|
8362
|
-
})).
|
|
8363
|
-
|
|
8364
|
-
|
|
8365
|
-
|
|
8402
|
+
})).register(z.globalRegistry, {
|
|
8403
|
+
description: "Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested"
|
|
8404
|
+
}).optional(),
|
|
8405
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8406
|
+
description: "Organization member ID"
|
|
8407
|
+
}),
|
|
8408
|
+
email: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8409
|
+
description: "Email address of the member's user, or the invited email address if they have no account yet"
|
|
8410
|
+
}),
|
|
8411
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8412
|
+
description: "Display name of the member's user, or their email address if they have no account yet"
|
|
8413
|
+
}),
|
|
8366
8414
|
user: /* @__PURE__ */ z.object({
|
|
8367
8415
|
identities: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
8368
8416
|
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
@@ -8496,21 +8544,45 @@ var zListOrgMembersResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
|
8496
8544
|
})).register(z.globalRegistry, {
|
|
8497
8545
|
description: "Email addresses of the user. Only included for the requesting user or superusers; empty otherwise"
|
|
8498
8546
|
})
|
|
8547
|
+
}).register(z.globalRegistry, {
|
|
8548
|
+
description: "The member's user. Null for invited members without an account, or if the user can't be found"
|
|
8499
8549
|
}).nullable(),
|
|
8500
|
-
orgRole: /* @__PURE__ */ z.string(),
|
|
8501
|
-
|
|
8502
|
-
|
|
8550
|
+
orgRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8551
|
+
description: "ID of the member's organization role"
|
|
8552
|
+
}),
|
|
8553
|
+
pending: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
8554
|
+
description: "Whether the member has no user account linked yet, as with an invite that hasn't been accepted"
|
|
8555
|
+
}),
|
|
8556
|
+
expired: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
8557
|
+
description: "Whether the member's invite has expired"
|
|
8558
|
+
}),
|
|
8503
8559
|
flags: /* @__PURE__ */ z.object({
|
|
8504
|
-
"idp:provisioned": /* @__PURE__ */ z.boolean(),
|
|
8505
|
-
|
|
8506
|
-
|
|
8560
|
+
"idp:provisioned": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
8561
|
+
description: "Whether the member is provisioned and managed through the organization's identity provider (SCIM)"
|
|
8562
|
+
}),
|
|
8563
|
+
"idp:role-restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
8564
|
+
description: "Whether the member's organization role is set by the identity provider through SCIM"
|
|
8565
|
+
}),
|
|
8566
|
+
"sso:linked": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
8567
|
+
description: "Whether the member has linked their account to the organization's SSO provider"
|
|
8568
|
+
}),
|
|
8507
8569
|
"sso:invalid": /* @__PURE__ */ z.boolean(),
|
|
8508
8570
|
"member-limit:restricted": /* @__PURE__ */ z.boolean(),
|
|
8509
|
-
"partnership:restricted": /* @__PURE__ */ z.boolean()
|
|
8571
|
+
"partnership:restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
8572
|
+
description: "Whether the member is managed by an active partnership and can't be changed until it ends"
|
|
8573
|
+
})
|
|
8574
|
+
}).register(z.globalRegistry, {
|
|
8575
|
+
description: "Member flags"
|
|
8510
8576
|
}),
|
|
8511
|
-
dateCreated: /* @__PURE__ */ z.iso.datetime(),
|
|
8512
|
-
|
|
8513
|
-
|
|
8577
|
+
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
8578
|
+
description: "When the member was added or invited"
|
|
8579
|
+
}),
|
|
8580
|
+
inviteStatus: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8581
|
+
description: "Invite status: approved, requested_to_be_invited or requested_to_join"
|
|
8582
|
+
}).nullable(),
|
|
8583
|
+
inviterName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8584
|
+
description: "Name of the user who invited the member, or null"
|
|
8585
|
+
}).nullable()
|
|
8514
8586
|
}));
|
|
8515
8587
|
var zListOrgTeamResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
8516
8588
|
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
@@ -8873,10 +8945,18 @@ var zListOrganizationMemberResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.
|
|
|
8873
8945
|
provider: /* @__PURE__ */ z.string(),
|
|
8874
8946
|
externalName: /* @__PURE__ */ z.string(),
|
|
8875
8947
|
integrationId: /* @__PURE__ */ z.string()
|
|
8876
|
-
})).
|
|
8877
|
-
|
|
8878
|
-
|
|
8879
|
-
|
|
8948
|
+
})).register(z.globalRegistry, {
|
|
8949
|
+
description: "Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested"
|
|
8950
|
+
}).optional(),
|
|
8951
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8952
|
+
description: "Organization member ID"
|
|
8953
|
+
}),
|
|
8954
|
+
email: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8955
|
+
description: "Email address of the member's user, or the invited email address if they have no account yet"
|
|
8956
|
+
}),
|
|
8957
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8958
|
+
description: "Display name of the member's user, or their email address if they have no account yet"
|
|
8959
|
+
}),
|
|
8880
8960
|
user: /* @__PURE__ */ z.object({
|
|
8881
8961
|
identities: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
8882
8962
|
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
@@ -9010,21 +9090,45 @@ var zListOrganizationMemberResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.
|
|
|
9010
9090
|
})).register(z.globalRegistry, {
|
|
9011
9091
|
description: "Email addresses of the user. Only included for the requesting user or superusers; empty otherwise"
|
|
9012
9092
|
})
|
|
9093
|
+
}).register(z.globalRegistry, {
|
|
9094
|
+
description: "The member's user. Null for invited members without an account, or if the user can't be found"
|
|
9013
9095
|
}).nullable(),
|
|
9014
|
-
orgRole: /* @__PURE__ */ z.string(),
|
|
9015
|
-
|
|
9016
|
-
|
|
9096
|
+
orgRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
9097
|
+
description: "ID of the member's organization role"
|
|
9098
|
+
}),
|
|
9099
|
+
pending: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
9100
|
+
description: "Whether the member has no user account linked yet, as with an invite that hasn't been accepted"
|
|
9101
|
+
}),
|
|
9102
|
+
expired: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
9103
|
+
description: "Whether the member's invite has expired"
|
|
9104
|
+
}),
|
|
9017
9105
|
flags: /* @__PURE__ */ z.object({
|
|
9018
|
-
"idp:provisioned": /* @__PURE__ */ z.boolean(),
|
|
9019
|
-
|
|
9020
|
-
|
|
9106
|
+
"idp:provisioned": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
9107
|
+
description: "Whether the member is provisioned and managed through the organization's identity provider (SCIM)"
|
|
9108
|
+
}),
|
|
9109
|
+
"idp:role-restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
9110
|
+
description: "Whether the member's organization role is set by the identity provider through SCIM"
|
|
9111
|
+
}),
|
|
9112
|
+
"sso:linked": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
9113
|
+
description: "Whether the member has linked their account to the organization's SSO provider"
|
|
9114
|
+
}),
|
|
9021
9115
|
"sso:invalid": /* @__PURE__ */ z.boolean(),
|
|
9022
9116
|
"member-limit:restricted": /* @__PURE__ */ z.boolean(),
|
|
9023
|
-
"partnership:restricted": /* @__PURE__ */ z.boolean()
|
|
9117
|
+
"partnership:restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
9118
|
+
description: "Whether the member is managed by an active partnership and can't be changed until it ends"
|
|
9119
|
+
})
|
|
9120
|
+
}).register(z.globalRegistry, {
|
|
9121
|
+
description: "Member flags"
|
|
9024
9122
|
}),
|
|
9025
|
-
dateCreated: /* @__PURE__ */ z.iso.datetime(),
|
|
9026
|
-
|
|
9027
|
-
|
|
9123
|
+
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
9124
|
+
description: "When the member was added or invited"
|
|
9125
|
+
}),
|
|
9126
|
+
inviteStatus: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
9127
|
+
description: "Invite status: approved, requested_to_be_invited or requested_to_join"
|
|
9128
|
+
}).nullable(),
|
|
9129
|
+
inviterName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
9130
|
+
description: "Name of the user who invited the member, or null"
|
|
9131
|
+
}).nullable()
|
|
9028
9132
|
}));
|
|
9029
9133
|
var zListOrganizationReleaseCommitsResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
9030
9134
|
id: /* @__PURE__ */ z.string(),
|
|
@@ -12890,10 +12994,18 @@ var zOrganizationMember = /* @__PURE__ */ z.object({
|
|
|
12890
12994
|
provider: /* @__PURE__ */ z.string(),
|
|
12891
12995
|
externalName: /* @__PURE__ */ z.string(),
|
|
12892
12996
|
integrationId: /* @__PURE__ */ z.string()
|
|
12893
|
-
})).
|
|
12894
|
-
|
|
12895
|
-
|
|
12896
|
-
|
|
12997
|
+
})).register(z.globalRegistry, {
|
|
12998
|
+
description: "Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested"
|
|
12999
|
+
}).optional(),
|
|
13000
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13001
|
+
description: "Organization member ID"
|
|
13002
|
+
}),
|
|
13003
|
+
email: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13004
|
+
description: "Email address of the member's user, or the invited email address if they have no account yet"
|
|
13005
|
+
}),
|
|
13006
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13007
|
+
description: "Display name of the member's user, or their email address if they have no account yet"
|
|
13008
|
+
}),
|
|
12897
13009
|
user: /* @__PURE__ */ z.object({
|
|
12898
13010
|
identities: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
12899
13011
|
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
@@ -13027,21 +13139,45 @@ var zOrganizationMember = /* @__PURE__ */ z.object({
|
|
|
13027
13139
|
})).register(z.globalRegistry, {
|
|
13028
13140
|
description: "Email addresses of the user. Only included for the requesting user or superusers; empty otherwise"
|
|
13029
13141
|
})
|
|
13142
|
+
}).register(z.globalRegistry, {
|
|
13143
|
+
description: "The member's user. Null for invited members without an account, or if the user can't be found"
|
|
13030
13144
|
}).nullable(),
|
|
13031
|
-
orgRole: /* @__PURE__ */ z.string(),
|
|
13032
|
-
|
|
13033
|
-
|
|
13145
|
+
orgRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13146
|
+
description: "ID of the member's organization role"
|
|
13147
|
+
}),
|
|
13148
|
+
pending: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
13149
|
+
description: "Whether the member has no user account linked yet, as with an invite that hasn't been accepted"
|
|
13150
|
+
}),
|
|
13151
|
+
expired: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
13152
|
+
description: "Whether the member's invite has expired"
|
|
13153
|
+
}),
|
|
13034
13154
|
flags: /* @__PURE__ */ z.object({
|
|
13035
|
-
"idp:provisioned": /* @__PURE__ */ z.boolean(),
|
|
13036
|
-
|
|
13037
|
-
|
|
13155
|
+
"idp:provisioned": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
13156
|
+
description: "Whether the member is provisioned and managed through the organization's identity provider (SCIM)"
|
|
13157
|
+
}),
|
|
13158
|
+
"idp:role-restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
13159
|
+
description: "Whether the member's organization role is set by the identity provider through SCIM"
|
|
13160
|
+
}),
|
|
13161
|
+
"sso:linked": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
13162
|
+
description: "Whether the member has linked their account to the organization's SSO provider"
|
|
13163
|
+
}),
|
|
13038
13164
|
"sso:invalid": /* @__PURE__ */ z.boolean(),
|
|
13039
13165
|
"member-limit:restricted": /* @__PURE__ */ z.boolean(),
|
|
13040
|
-
"partnership:restricted": /* @__PURE__ */ z.boolean()
|
|
13166
|
+
"partnership:restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
13167
|
+
description: "Whether the member is managed by an active partnership and can't be changed until it ends"
|
|
13168
|
+
})
|
|
13169
|
+
}).register(z.globalRegistry, {
|
|
13170
|
+
description: "Member flags"
|
|
13041
13171
|
}),
|
|
13042
|
-
dateCreated: /* @__PURE__ */ z.iso.datetime(),
|
|
13043
|
-
|
|
13044
|
-
|
|
13172
|
+
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
13173
|
+
description: "When the member was added or invited"
|
|
13174
|
+
}),
|
|
13175
|
+
inviteStatus: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13176
|
+
description: "Invite status: approved, requested_to_be_invited or requested_to_join"
|
|
13177
|
+
}).nullable(),
|
|
13178
|
+
inviterName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13179
|
+
description: "Name of the user who invited the member, or null"
|
|
13180
|
+
}).nullable()
|
|
13045
13181
|
});
|
|
13046
13182
|
var zOrganizationMemberRequest = /* @__PURE__ */ z.object({
|
|
13047
13183
|
email: /* @__PURE__ */ z.email().max(75).register(z.globalRegistry, {
|
|
@@ -13078,23 +13214,51 @@ var zOrganizationMemberRequest = /* @__PURE__ */ z.object({
|
|
|
13078
13214
|
}).optional()
|
|
13079
13215
|
});
|
|
13080
13216
|
var zOrganizationMemberScim = /* @__PURE__ */ z.object({
|
|
13081
|
-
active: /* @__PURE__ */ z.boolean().
|
|
13082
|
-
|
|
13083
|
-
|
|
13084
|
-
|
|
13217
|
+
active: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
13218
|
+
description: "Always true when included. Sentry doesn't use this field, but SCIM expects it"
|
|
13219
|
+
}).optional(),
|
|
13220
|
+
schemas: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
13221
|
+
description: "SCIM schema URIs of the resource"
|
|
13222
|
+
}),
|
|
13223
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13224
|
+
description: "Organization member ID"
|
|
13225
|
+
}),
|
|
13226
|
+
userName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13227
|
+
description: "Email address of the member"
|
|
13228
|
+
}),
|
|
13085
13229
|
name: /* @__PURE__ */ z.object({
|
|
13086
|
-
givenName: /* @__PURE__ */ z.string(),
|
|
13087
|
-
|
|
13230
|
+
givenName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13231
|
+
description: "Given name. Always N/A, because Sentry doesn't store it"
|
|
13232
|
+
}),
|
|
13233
|
+
familyName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13234
|
+
description: "Family name. Always N/A, because Sentry doesn't store it"
|
|
13235
|
+
})
|
|
13236
|
+
}).register(z.globalRegistry, {
|
|
13237
|
+
description: "Name of the member"
|
|
13088
13238
|
}),
|
|
13089
13239
|
emails: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
13090
|
-
primary: /* @__PURE__ */ z.boolean(),
|
|
13091
|
-
|
|
13092
|
-
|
|
13093
|
-
|
|
13240
|
+
primary: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
13241
|
+
description: "Whether this is the primary email address. Always true"
|
|
13242
|
+
}),
|
|
13243
|
+
value: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13244
|
+
description: "Email address"
|
|
13245
|
+
}),
|
|
13246
|
+
type: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13247
|
+
description: "Email type. Always work"
|
|
13248
|
+
})
|
|
13249
|
+
})).register(z.globalRegistry, {
|
|
13250
|
+
description: "Email addresses of the member"
|
|
13251
|
+
}),
|
|
13094
13252
|
meta: /* @__PURE__ */ z.object({
|
|
13095
|
-
resourceType: /* @__PURE__ */ z.string()
|
|
13253
|
+
resourceType: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13254
|
+
description: "SCIM resource type, such as User or Group"
|
|
13255
|
+
})
|
|
13256
|
+
}).register(z.globalRegistry, {
|
|
13257
|
+
description: "SCIM resource metadata"
|
|
13096
13258
|
}),
|
|
13097
|
-
sentryOrgRole: /* @__PURE__ */ z.string()
|
|
13259
|
+
sentryOrgRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13260
|
+
description: "ID of the member's organization role"
|
|
13261
|
+
})
|
|
13098
13262
|
}).register(z.globalRegistry, {
|
|
13099
13263
|
description: "Conforming to the SCIM RFC, this represents a Sentry Org Member\nas a SCIM user object."
|
|
13100
13264
|
});
|
|
@@ -13104,8 +13268,12 @@ var zOrganizationMemberTeam = /* @__PURE__ */ z.object({
|
|
|
13104
13268
|
}).optional().default("contributor")
|
|
13105
13269
|
});
|
|
13106
13270
|
var zOrganizationMemberTeamDetails = /* @__PURE__ */ z.object({
|
|
13107
|
-
isActive: /* @__PURE__ */ z.boolean(),
|
|
13108
|
-
|
|
13271
|
+
isActive: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
13272
|
+
description: "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"
|
|
13273
|
+
}),
|
|
13274
|
+
teamRole: /* @__PURE__ */ z.enum(["contributor", "admin"]).register(z.globalRegistry, {
|
|
13275
|
+
description: "ID of the member's team role"
|
|
13276
|
+
})
|
|
13109
13277
|
});
|
|
13110
13278
|
var zOrganizationMemberWithRoles = /* @__PURE__ */ z.object({
|
|
13111
13279
|
externalUsers: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
@@ -13116,12 +13284,24 @@ var zOrganizationMemberWithRoles = /* @__PURE__ */ z.object({
|
|
|
13116
13284
|
provider: /* @__PURE__ */ z.string(),
|
|
13117
13285
|
externalName: /* @__PURE__ */ z.string(),
|
|
13118
13286
|
integrationId: /* @__PURE__ */ z.string()
|
|
13119
|
-
})).
|
|
13120
|
-
|
|
13121
|
-
|
|
13122
|
-
|
|
13123
|
-
|
|
13124
|
-
|
|
13287
|
+
})).register(z.globalRegistry, {
|
|
13288
|
+
description: "Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested"
|
|
13289
|
+
}).optional(),
|
|
13290
|
+
role: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13291
|
+
description: "Deprecated. Use orgRole"
|
|
13292
|
+
}).optional(),
|
|
13293
|
+
roleName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13294
|
+
description: "Deprecated. Name of the member's organization role"
|
|
13295
|
+
}).optional(),
|
|
13296
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13297
|
+
description: "Organization member ID"
|
|
13298
|
+
}),
|
|
13299
|
+
email: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13300
|
+
description: "Email address of the member's user, or the invited email address if they have no account yet"
|
|
13301
|
+
}),
|
|
13302
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13303
|
+
description: "Display name of the member's user, or their email address if they have no account yet"
|
|
13304
|
+
}),
|
|
13125
13305
|
user: /* @__PURE__ */ z.object({
|
|
13126
13306
|
identities: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
13127
13307
|
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
@@ -13255,28 +13435,62 @@ var zOrganizationMemberWithRoles = /* @__PURE__ */ z.object({
|
|
|
13255
13435
|
})).register(z.globalRegistry, {
|
|
13256
13436
|
description: "Email addresses of the user. Only included for the requesting user or superusers; empty otherwise"
|
|
13257
13437
|
})
|
|
13438
|
+
}).register(z.globalRegistry, {
|
|
13439
|
+
description: "The member's user. Null for invited members without an account, or if the user can't be found"
|
|
13258
13440
|
}).nullable(),
|
|
13259
|
-
orgRole: /* @__PURE__ */ z.string(),
|
|
13260
|
-
|
|
13261
|
-
|
|
13441
|
+
orgRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13442
|
+
description: "ID of the member's organization role"
|
|
13443
|
+
}),
|
|
13444
|
+
pending: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
13445
|
+
description: "Whether the member has no user account linked yet, as with an invite that hasn't been accepted"
|
|
13446
|
+
}),
|
|
13447
|
+
expired: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
13448
|
+
description: "Whether the member's invite has expired"
|
|
13449
|
+
}),
|
|
13262
13450
|
flags: /* @__PURE__ */ z.object({
|
|
13263
|
-
"idp:provisioned": /* @__PURE__ */ z.boolean(),
|
|
13264
|
-
|
|
13265
|
-
|
|
13451
|
+
"idp:provisioned": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
13452
|
+
description: "Whether the member is provisioned and managed through the organization's identity provider (SCIM)"
|
|
13453
|
+
}),
|
|
13454
|
+
"idp:role-restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
13455
|
+
description: "Whether the member's organization role is set by the identity provider through SCIM"
|
|
13456
|
+
}),
|
|
13457
|
+
"sso:linked": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
13458
|
+
description: "Whether the member has linked their account to the organization's SSO provider"
|
|
13459
|
+
}),
|
|
13266
13460
|
"sso:invalid": /* @__PURE__ */ z.boolean(),
|
|
13267
13461
|
"member-limit:restricted": /* @__PURE__ */ z.boolean(),
|
|
13268
|
-
"partnership:restricted": /* @__PURE__ */ z.boolean()
|
|
13462
|
+
"partnership:restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
13463
|
+
description: "Whether the member is managed by an active partnership and can't be changed until it ends"
|
|
13464
|
+
})
|
|
13465
|
+
}).register(z.globalRegistry, {
|
|
13466
|
+
description: "Member flags"
|
|
13467
|
+
}),
|
|
13468
|
+
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
13469
|
+
description: "When the member was added or invited"
|
|
13470
|
+
}),
|
|
13471
|
+
inviteStatus: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13472
|
+
description: "Invite status: approved, requested_to_be_invited or requested_to_join"
|
|
13473
|
+
}).nullable(),
|
|
13474
|
+
inviterName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13475
|
+
description: "Name of the user who invited the member, or null"
|
|
13476
|
+
}).nullable(),
|
|
13477
|
+
teams: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
13478
|
+
description: "Deprecated. Slugs of the active teams the member belongs to. Use teamRoles"
|
|
13269
13479
|
}),
|
|
13270
|
-
dateCreated: /* @__PURE__ */ z.iso.datetime(),
|
|
13271
|
-
inviteStatus: /* @__PURE__ */ z.string().nullable(),
|
|
13272
|
-
inviterName: /* @__PURE__ */ z.string().nullable(),
|
|
13273
|
-
teams: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
|
|
13274
13480
|
teamRoles: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
13275
|
-
teamSlug: /* @__PURE__ */ z.string(),
|
|
13276
|
-
|
|
13277
|
-
|
|
13481
|
+
teamSlug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13482
|
+
description: "Team slug"
|
|
13483
|
+
}),
|
|
13484
|
+
role: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13485
|
+
description: "ID of the member's team role, or null if the member has the minimum team role from their organization role"
|
|
13486
|
+
}).nullable()
|
|
13487
|
+
})).register(z.globalRegistry, {
|
|
13488
|
+
description: "Active teams the member belongs to, with the member's role in each"
|
|
13489
|
+
}),
|
|
13278
13490
|
invite_link: /* @__PURE__ */ z.string().nullable(),
|
|
13279
|
-
isOnlyOwner: /* @__PURE__ */ z.boolean(),
|
|
13491
|
+
isOnlyOwner: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
13492
|
+
description: "Whether the member is the only owner of the organization"
|
|
13493
|
+
}),
|
|
13280
13494
|
orgRoleList: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
13281
13495
|
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13282
13496
|
description: "Role ID, such as member or admin"
|
|
@@ -13311,7 +13525,9 @@ var zOrganizationMemberWithRoles = /* @__PURE__ */ z.object({
|
|
|
13311
13525
|
minimumTeamRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13312
13526
|
description: "ID of the lowest team role that members with this organization role hold on every team"
|
|
13313
13527
|
})
|
|
13314
|
-
})),
|
|
13528
|
+
})).register(z.globalRegistry, {
|
|
13529
|
+
description: "Organization roles, with whether the requesting user can assign each one"
|
|
13530
|
+
}),
|
|
13315
13531
|
teamRoleList: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
13316
13532
|
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13317
13533
|
description: "Role ID, such as member or admin"
|
|
@@ -13340,7 +13556,9 @@ var zOrganizationMemberWithRoles = /* @__PURE__ */ z.object({
|
|
|
13340
13556
|
isMinimumRoleFor: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
13341
13557
|
description: "ID of the organization role whose members hold at least this team role on every team, or null"
|
|
13342
13558
|
}).nullable()
|
|
13343
|
-
}))
|
|
13559
|
+
})).register(z.globalRegistry, {
|
|
13560
|
+
description: "Team roles available in the organization"
|
|
13561
|
+
})
|
|
13344
13562
|
});
|
|
13345
13563
|
var zOrganizationProfilingChunksResponse = /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown());
|
|
13346
13564
|
var zOrganizationProfilingFlamegraphResponse = /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown());
|
|
@@ -15819,23 +16037,51 @@ var zScimListResponseEnvelopeScimMemberIndexResponse = /* @__PURE__ */ z.object(
|
|
|
15819
16037
|
startIndex: /* @__PURE__ */ z.int(),
|
|
15820
16038
|
itemsPerPage: /* @__PURE__ */ z.int(),
|
|
15821
16039
|
Resources: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
15822
|
-
active: /* @__PURE__ */ z.boolean().
|
|
15823
|
-
|
|
15824
|
-
|
|
15825
|
-
|
|
16040
|
+
active: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
16041
|
+
description: "Always true when included. Sentry doesn't use this field, but SCIM expects it"
|
|
16042
|
+
}).optional(),
|
|
16043
|
+
schemas: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
16044
|
+
description: "SCIM schema URIs of the resource"
|
|
16045
|
+
}),
|
|
16046
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
16047
|
+
description: "Organization member ID"
|
|
16048
|
+
}),
|
|
16049
|
+
userName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
16050
|
+
description: "Email address of the member"
|
|
16051
|
+
}),
|
|
15826
16052
|
name: /* @__PURE__ */ z.object({
|
|
15827
|
-
givenName: /* @__PURE__ */ z.string(),
|
|
15828
|
-
|
|
16053
|
+
givenName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
16054
|
+
description: "Given name. Always N/A, because Sentry doesn't store it"
|
|
16055
|
+
}),
|
|
16056
|
+
familyName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
16057
|
+
description: "Family name. Always N/A, because Sentry doesn't store it"
|
|
16058
|
+
})
|
|
16059
|
+
}).register(z.globalRegistry, {
|
|
16060
|
+
description: "Name of the member"
|
|
15829
16061
|
}),
|
|
15830
16062
|
emails: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
15831
|
-
primary: /* @__PURE__ */ z.boolean(),
|
|
15832
|
-
|
|
15833
|
-
|
|
15834
|
-
|
|
16063
|
+
primary: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
16064
|
+
description: "Whether this is the primary email address. Always true"
|
|
16065
|
+
}),
|
|
16066
|
+
value: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
16067
|
+
description: "Email address"
|
|
16068
|
+
}),
|
|
16069
|
+
type: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
16070
|
+
description: "Email type. Always work"
|
|
16071
|
+
})
|
|
16072
|
+
})).register(z.globalRegistry, {
|
|
16073
|
+
description: "Email addresses of the member"
|
|
16074
|
+
}),
|
|
15835
16075
|
meta: /* @__PURE__ */ z.object({
|
|
15836
|
-
resourceType: /* @__PURE__ */ z.string()
|
|
16076
|
+
resourceType: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
16077
|
+
description: "SCIM resource type, such as User or Group"
|
|
16078
|
+
})
|
|
16079
|
+
}).register(z.globalRegistry, {
|
|
16080
|
+
description: "SCIM resource metadata"
|
|
15837
16081
|
}),
|
|
15838
|
-
sentryOrgRole: /* @__PURE__ */ z.string()
|
|
16082
|
+
sentryOrgRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
16083
|
+
description: "ID of the member's organization role"
|
|
16084
|
+
})
|
|
15839
16085
|
}).register(z.globalRegistry, {
|
|
15840
16086
|
description: "Conforming to the SCIM RFC, this represents a Sentry Org Member\nas a SCIM user object."
|
|
15841
16087
|
}))
|
|
@@ -15856,7 +16102,9 @@ var zScimListResponseEnvelopeScimTeamIndexResponse = /* @__PURE__ */ z.object({
|
|
|
15856
16102
|
description: "Display name of the team"
|
|
15857
16103
|
}),
|
|
15858
16104
|
meta: /* @__PURE__ */ z.object({
|
|
15859
|
-
resourceType: /* @__PURE__ */ z.string()
|
|
16105
|
+
resourceType: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
16106
|
+
description: "SCIM resource type, such as User or Group"
|
|
16107
|
+
})
|
|
15860
16108
|
}).register(z.globalRegistry, {
|
|
15861
16109
|
description: "SCIM resource metadata"
|
|
15862
16110
|
}),
|
|
@@ -17408,7 +17656,9 @@ var zTeamScim = /* @__PURE__ */ z.object({
|
|
|
17408
17656
|
description: "Display name of the team"
|
|
17409
17657
|
}),
|
|
17410
17658
|
meta: /* @__PURE__ */ z.object({
|
|
17411
|
-
resourceType: /* @__PURE__ */ z.string()
|
|
17659
|
+
resourceType: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17660
|
+
description: "SCIM resource type, such as User or Group"
|
|
17661
|
+
})
|
|
17412
17662
|
}).register(z.globalRegistry, {
|
|
17413
17663
|
description: "SCIM resource metadata"
|
|
17414
17664
|
}),
|
|
@@ -25775,10 +26025,18 @@ var zListOrganizationMembersResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z
|
|
|
25775
26025
|
provider: /* @__PURE__ */ z.string(),
|
|
25776
26026
|
externalName: /* @__PURE__ */ z.string(),
|
|
25777
26027
|
integrationId: /* @__PURE__ */ z.string()
|
|
25778
|
-
})).
|
|
25779
|
-
|
|
25780
|
-
|
|
25781
|
-
|
|
26028
|
+
})).register(z.globalRegistry, {
|
|
26029
|
+
description: "Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested"
|
|
26030
|
+
}).optional(),
|
|
26031
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26032
|
+
description: "Organization member ID"
|
|
26033
|
+
}),
|
|
26034
|
+
email: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26035
|
+
description: "Email address of the member's user, or the invited email address if they have no account yet"
|
|
26036
|
+
}),
|
|
26037
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26038
|
+
description: "Display name of the member's user, or their email address if they have no account yet"
|
|
26039
|
+
}),
|
|
25782
26040
|
user: /* @__PURE__ */ z.object({
|
|
25783
26041
|
identities: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
25784
26042
|
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
@@ -25912,21 +26170,45 @@ var zListOrganizationMembersResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z
|
|
|
25912
26170
|
})).register(z.globalRegistry, {
|
|
25913
26171
|
description: "Email addresses of the user. Only included for the requesting user or superusers; empty otherwise"
|
|
25914
26172
|
})
|
|
26173
|
+
}).register(z.globalRegistry, {
|
|
26174
|
+
description: "The member's user. Null for invited members without an account, or if the user can't be found"
|
|
25915
26175
|
}).nullable(),
|
|
25916
|
-
orgRole: /* @__PURE__ */ z.string(),
|
|
25917
|
-
|
|
25918
|
-
|
|
26176
|
+
orgRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26177
|
+
description: "ID of the member's organization role"
|
|
26178
|
+
}),
|
|
26179
|
+
pending: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26180
|
+
description: "Whether the member has no user account linked yet, as with an invite that hasn't been accepted"
|
|
26181
|
+
}),
|
|
26182
|
+
expired: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26183
|
+
description: "Whether the member's invite has expired"
|
|
26184
|
+
}),
|
|
25919
26185
|
flags: /* @__PURE__ */ z.object({
|
|
25920
|
-
"idp:provisioned": /* @__PURE__ */ z.boolean(),
|
|
25921
|
-
|
|
25922
|
-
|
|
26186
|
+
"idp:provisioned": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26187
|
+
description: "Whether the member is provisioned and managed through the organization's identity provider (SCIM)"
|
|
26188
|
+
}),
|
|
26189
|
+
"idp:role-restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26190
|
+
description: "Whether the member's organization role is set by the identity provider through SCIM"
|
|
26191
|
+
}),
|
|
26192
|
+
"sso:linked": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26193
|
+
description: "Whether the member has linked their account to the organization's SSO provider"
|
|
26194
|
+
}),
|
|
25923
26195
|
"sso:invalid": /* @__PURE__ */ z.boolean(),
|
|
25924
26196
|
"member-limit:restricted": /* @__PURE__ */ z.boolean(),
|
|
25925
|
-
"partnership:restricted": /* @__PURE__ */ z.boolean()
|
|
26197
|
+
"partnership:restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26198
|
+
description: "Whether the member is managed by an active partnership and can't be changed until it ends"
|
|
26199
|
+
})
|
|
26200
|
+
}).register(z.globalRegistry, {
|
|
26201
|
+
description: "Member flags"
|
|
25926
26202
|
}),
|
|
25927
|
-
dateCreated: /* @__PURE__ */ z.iso.datetime(),
|
|
25928
|
-
|
|
25929
|
-
|
|
26203
|
+
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
26204
|
+
description: "When the member was added or invited"
|
|
26205
|
+
}),
|
|
26206
|
+
inviteStatus: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26207
|
+
description: "Invite status: approved, requested_to_be_invited or requested_to_join"
|
|
26208
|
+
}).nullable(),
|
|
26209
|
+
inviterName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26210
|
+
description: "Name of the user who invited the member, or null"
|
|
26211
|
+
}).nullable()
|
|
25930
26212
|
}));
|
|
25931
26213
|
var zAddOrganizationMemberBody = /* @__PURE__ */ z.object({
|
|
25932
26214
|
email: /* @__PURE__ */ z.email().max(75).register(z.globalRegistry, {
|
|
@@ -25979,10 +26261,18 @@ var zAddOrganizationMemberResponse = /* @__PURE__ */ z.object({
|
|
|
25979
26261
|
provider: /* @__PURE__ */ z.string(),
|
|
25980
26262
|
externalName: /* @__PURE__ */ z.string(),
|
|
25981
26263
|
integrationId: /* @__PURE__ */ z.string()
|
|
25982
|
-
})).
|
|
25983
|
-
|
|
25984
|
-
|
|
25985
|
-
|
|
26264
|
+
})).register(z.globalRegistry, {
|
|
26265
|
+
description: "Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested"
|
|
26266
|
+
}).optional(),
|
|
26267
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26268
|
+
description: "Organization member ID"
|
|
26269
|
+
}),
|
|
26270
|
+
email: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26271
|
+
description: "Email address of the member's user, or the invited email address if they have no account yet"
|
|
26272
|
+
}),
|
|
26273
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26274
|
+
description: "Display name of the member's user, or their email address if they have no account yet"
|
|
26275
|
+
}),
|
|
25986
26276
|
user: /* @__PURE__ */ z.object({
|
|
25987
26277
|
identities: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
25988
26278
|
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
@@ -26116,21 +26406,45 @@ var zAddOrganizationMemberResponse = /* @__PURE__ */ z.object({
|
|
|
26116
26406
|
})).register(z.globalRegistry, {
|
|
26117
26407
|
description: "Email addresses of the user. Only included for the requesting user or superusers; empty otherwise"
|
|
26118
26408
|
})
|
|
26409
|
+
}).register(z.globalRegistry, {
|
|
26410
|
+
description: "The member's user. Null for invited members without an account, or if the user can't be found"
|
|
26119
26411
|
}).nullable(),
|
|
26120
|
-
orgRole: /* @__PURE__ */ z.string(),
|
|
26121
|
-
|
|
26122
|
-
|
|
26412
|
+
orgRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26413
|
+
description: "ID of the member's organization role"
|
|
26414
|
+
}),
|
|
26415
|
+
pending: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26416
|
+
description: "Whether the member has no user account linked yet, as with an invite that hasn't been accepted"
|
|
26417
|
+
}),
|
|
26418
|
+
expired: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26419
|
+
description: "Whether the member's invite has expired"
|
|
26420
|
+
}),
|
|
26123
26421
|
flags: /* @__PURE__ */ z.object({
|
|
26124
|
-
"idp:provisioned": /* @__PURE__ */ z.boolean(),
|
|
26125
|
-
|
|
26126
|
-
|
|
26422
|
+
"idp:provisioned": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26423
|
+
description: "Whether the member is provisioned and managed through the organization's identity provider (SCIM)"
|
|
26424
|
+
}),
|
|
26425
|
+
"idp:role-restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26426
|
+
description: "Whether the member's organization role is set by the identity provider through SCIM"
|
|
26427
|
+
}),
|
|
26428
|
+
"sso:linked": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26429
|
+
description: "Whether the member has linked their account to the organization's SSO provider"
|
|
26430
|
+
}),
|
|
26127
26431
|
"sso:invalid": /* @__PURE__ */ z.boolean(),
|
|
26128
26432
|
"member-limit:restricted": /* @__PURE__ */ z.boolean(),
|
|
26129
|
-
"partnership:restricted": /* @__PURE__ */ z.boolean()
|
|
26433
|
+
"partnership:restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26434
|
+
description: "Whether the member is managed by an active partnership and can't be changed until it ends"
|
|
26435
|
+
})
|
|
26436
|
+
}).register(z.globalRegistry, {
|
|
26437
|
+
description: "Member flags"
|
|
26130
26438
|
}),
|
|
26131
|
-
dateCreated: /* @__PURE__ */ z.iso.datetime(),
|
|
26132
|
-
|
|
26133
|
-
|
|
26439
|
+
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
26440
|
+
description: "When the member was added or invited"
|
|
26441
|
+
}),
|
|
26442
|
+
inviteStatus: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26443
|
+
description: "Invite status: approved, requested_to_be_invited or requested_to_join"
|
|
26444
|
+
}).nullable(),
|
|
26445
|
+
inviterName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26446
|
+
description: "Name of the user who invited the member, or null"
|
|
26447
|
+
}).nullable()
|
|
26134
26448
|
});
|
|
26135
26449
|
var zDeleteOrganizationMemberPath = /* @__PURE__ */ z.object({
|
|
26136
26450
|
organization_id_or_slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
@@ -26160,12 +26474,24 @@ var zGetOrganizationMemberResponse = /* @__PURE__ */ z.object({
|
|
|
26160
26474
|
provider: /* @__PURE__ */ z.string(),
|
|
26161
26475
|
externalName: /* @__PURE__ */ z.string(),
|
|
26162
26476
|
integrationId: /* @__PURE__ */ z.string()
|
|
26163
|
-
})).
|
|
26164
|
-
|
|
26165
|
-
|
|
26166
|
-
|
|
26167
|
-
|
|
26168
|
-
|
|
26477
|
+
})).register(z.globalRegistry, {
|
|
26478
|
+
description: "Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested"
|
|
26479
|
+
}).optional(),
|
|
26480
|
+
role: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26481
|
+
description: "Deprecated. Use orgRole"
|
|
26482
|
+
}).optional(),
|
|
26483
|
+
roleName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26484
|
+
description: "Deprecated. Name of the member's organization role"
|
|
26485
|
+
}).optional(),
|
|
26486
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26487
|
+
description: "Organization member ID"
|
|
26488
|
+
}),
|
|
26489
|
+
email: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26490
|
+
description: "Email address of the member's user, or the invited email address if they have no account yet"
|
|
26491
|
+
}),
|
|
26492
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26493
|
+
description: "Display name of the member's user, or their email address if they have no account yet"
|
|
26494
|
+
}),
|
|
26169
26495
|
user: /* @__PURE__ */ z.object({
|
|
26170
26496
|
identities: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
26171
26497
|
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
@@ -26299,28 +26625,62 @@ var zGetOrganizationMemberResponse = /* @__PURE__ */ z.object({
|
|
|
26299
26625
|
})).register(z.globalRegistry, {
|
|
26300
26626
|
description: "Email addresses of the user. Only included for the requesting user or superusers; empty otherwise"
|
|
26301
26627
|
})
|
|
26628
|
+
}).register(z.globalRegistry, {
|
|
26629
|
+
description: "The member's user. Null for invited members without an account, or if the user can't be found"
|
|
26302
26630
|
}).nullable(),
|
|
26303
|
-
orgRole: /* @__PURE__ */ z.string(),
|
|
26304
|
-
|
|
26305
|
-
|
|
26631
|
+
orgRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26632
|
+
description: "ID of the member's organization role"
|
|
26633
|
+
}),
|
|
26634
|
+
pending: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26635
|
+
description: "Whether the member has no user account linked yet, as with an invite that hasn't been accepted"
|
|
26636
|
+
}),
|
|
26637
|
+
expired: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26638
|
+
description: "Whether the member's invite has expired"
|
|
26639
|
+
}),
|
|
26306
26640
|
flags: /* @__PURE__ */ z.object({
|
|
26307
|
-
"idp:provisioned": /* @__PURE__ */ z.boolean(),
|
|
26308
|
-
|
|
26309
|
-
|
|
26641
|
+
"idp:provisioned": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26642
|
+
description: "Whether the member is provisioned and managed through the organization's identity provider (SCIM)"
|
|
26643
|
+
}),
|
|
26644
|
+
"idp:role-restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26645
|
+
description: "Whether the member's organization role is set by the identity provider through SCIM"
|
|
26646
|
+
}),
|
|
26647
|
+
"sso:linked": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26648
|
+
description: "Whether the member has linked their account to the organization's SSO provider"
|
|
26649
|
+
}),
|
|
26310
26650
|
"sso:invalid": /* @__PURE__ */ z.boolean(),
|
|
26311
26651
|
"member-limit:restricted": /* @__PURE__ */ z.boolean(),
|
|
26312
|
-
"partnership:restricted": /* @__PURE__ */ z.boolean()
|
|
26652
|
+
"partnership:restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26653
|
+
description: "Whether the member is managed by an active partnership and can't be changed until it ends"
|
|
26654
|
+
})
|
|
26655
|
+
}).register(z.globalRegistry, {
|
|
26656
|
+
description: "Member flags"
|
|
26657
|
+
}),
|
|
26658
|
+
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
26659
|
+
description: "When the member was added or invited"
|
|
26660
|
+
}),
|
|
26661
|
+
inviteStatus: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26662
|
+
description: "Invite status: approved, requested_to_be_invited or requested_to_join"
|
|
26663
|
+
}).nullable(),
|
|
26664
|
+
inviterName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26665
|
+
description: "Name of the user who invited the member, or null"
|
|
26666
|
+
}).nullable(),
|
|
26667
|
+
teams: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
26668
|
+
description: "Deprecated. Slugs of the active teams the member belongs to. Use teamRoles"
|
|
26313
26669
|
}),
|
|
26314
|
-
dateCreated: /* @__PURE__ */ z.iso.datetime(),
|
|
26315
|
-
inviteStatus: /* @__PURE__ */ z.string().nullable(),
|
|
26316
|
-
inviterName: /* @__PURE__ */ z.string().nullable(),
|
|
26317
|
-
teams: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
|
|
26318
26670
|
teamRoles: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
26319
|
-
teamSlug: /* @__PURE__ */ z.string(),
|
|
26320
|
-
|
|
26321
|
-
|
|
26671
|
+
teamSlug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26672
|
+
description: "Team slug"
|
|
26673
|
+
}),
|
|
26674
|
+
role: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26675
|
+
description: "ID of the member's team role, or null if the member has the minimum team role from their organization role"
|
|
26676
|
+
}).nullable()
|
|
26677
|
+
})).register(z.globalRegistry, {
|
|
26678
|
+
description: "Active teams the member belongs to, with the member's role in each"
|
|
26679
|
+
}),
|
|
26322
26680
|
invite_link: /* @__PURE__ */ z.string().nullable(),
|
|
26323
|
-
isOnlyOwner: /* @__PURE__ */ z.boolean(),
|
|
26681
|
+
isOnlyOwner: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26682
|
+
description: "Whether the member is the only owner of the organization"
|
|
26683
|
+
}),
|
|
26324
26684
|
orgRoleList: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
26325
26685
|
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26326
26686
|
description: "Role ID, such as member or admin"
|
|
@@ -26355,7 +26715,9 @@ var zGetOrganizationMemberResponse = /* @__PURE__ */ z.object({
|
|
|
26355
26715
|
minimumTeamRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26356
26716
|
description: "ID of the lowest team role that members with this organization role hold on every team"
|
|
26357
26717
|
})
|
|
26358
|
-
})),
|
|
26718
|
+
})).register(z.globalRegistry, {
|
|
26719
|
+
description: "Organization roles, with whether the requesting user can assign each one"
|
|
26720
|
+
}),
|
|
26359
26721
|
teamRoleList: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
26360
26722
|
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26361
26723
|
description: "Role ID, such as member or admin"
|
|
@@ -26384,7 +26746,9 @@ var zGetOrganizationMemberResponse = /* @__PURE__ */ z.object({
|
|
|
26384
26746
|
isMinimumRoleFor: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26385
26747
|
description: "ID of the organization role whose members hold at least this team role on every team, or null"
|
|
26386
26748
|
}).nullable()
|
|
26387
|
-
}))
|
|
26749
|
+
})).register(z.globalRegistry, {
|
|
26750
|
+
description: "Team roles available in the organization"
|
|
26751
|
+
})
|
|
26388
26752
|
});
|
|
26389
26753
|
var zUpdateOrganizationMemberBody = /* @__PURE__ */ z.object({
|
|
26390
26754
|
orgRole: /* @__PURE__ */ z.enum([
|
|
@@ -26417,12 +26781,24 @@ var zUpdateOrganizationMemberResponse = /* @__PURE__ */ z.object({
|
|
|
26417
26781
|
provider: /* @__PURE__ */ z.string(),
|
|
26418
26782
|
externalName: /* @__PURE__ */ z.string(),
|
|
26419
26783
|
integrationId: /* @__PURE__ */ z.string()
|
|
26420
|
-
})).
|
|
26421
|
-
|
|
26422
|
-
|
|
26423
|
-
|
|
26424
|
-
|
|
26425
|
-
|
|
26784
|
+
})).register(z.globalRegistry, {
|
|
26785
|
+
description: "Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested"
|
|
26786
|
+
}).optional(),
|
|
26787
|
+
role: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26788
|
+
description: "Deprecated. Use orgRole"
|
|
26789
|
+
}).optional(),
|
|
26790
|
+
roleName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26791
|
+
description: "Deprecated. Name of the member's organization role"
|
|
26792
|
+
}).optional(),
|
|
26793
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26794
|
+
description: "Organization member ID"
|
|
26795
|
+
}),
|
|
26796
|
+
email: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26797
|
+
description: "Email address of the member's user, or the invited email address if they have no account yet"
|
|
26798
|
+
}),
|
|
26799
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26800
|
+
description: "Display name of the member's user, or their email address if they have no account yet"
|
|
26801
|
+
}),
|
|
26426
26802
|
user: /* @__PURE__ */ z.object({
|
|
26427
26803
|
identities: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
26428
26804
|
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
@@ -26556,28 +26932,62 @@ var zUpdateOrganizationMemberResponse = /* @__PURE__ */ z.object({
|
|
|
26556
26932
|
})).register(z.globalRegistry, {
|
|
26557
26933
|
description: "Email addresses of the user. Only included for the requesting user or superusers; empty otherwise"
|
|
26558
26934
|
})
|
|
26935
|
+
}).register(z.globalRegistry, {
|
|
26936
|
+
description: "The member's user. Null for invited members without an account, or if the user can't be found"
|
|
26559
26937
|
}).nullable(),
|
|
26560
|
-
orgRole: /* @__PURE__ */ z.string(),
|
|
26561
|
-
|
|
26562
|
-
|
|
26938
|
+
orgRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26939
|
+
description: "ID of the member's organization role"
|
|
26940
|
+
}),
|
|
26941
|
+
pending: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26942
|
+
description: "Whether the member has no user account linked yet, as with an invite that hasn't been accepted"
|
|
26943
|
+
}),
|
|
26944
|
+
expired: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26945
|
+
description: "Whether the member's invite has expired"
|
|
26946
|
+
}),
|
|
26563
26947
|
flags: /* @__PURE__ */ z.object({
|
|
26564
|
-
"idp:provisioned": /* @__PURE__ */ z.boolean(),
|
|
26565
|
-
|
|
26566
|
-
|
|
26948
|
+
"idp:provisioned": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26949
|
+
description: "Whether the member is provisioned and managed through the organization's identity provider (SCIM)"
|
|
26950
|
+
}),
|
|
26951
|
+
"idp:role-restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26952
|
+
description: "Whether the member's organization role is set by the identity provider through SCIM"
|
|
26953
|
+
}),
|
|
26954
|
+
"sso:linked": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26955
|
+
description: "Whether the member has linked their account to the organization's SSO provider"
|
|
26956
|
+
}),
|
|
26567
26957
|
"sso:invalid": /* @__PURE__ */ z.boolean(),
|
|
26568
26958
|
"member-limit:restricted": /* @__PURE__ */ z.boolean(),
|
|
26569
|
-
"partnership:restricted": /* @__PURE__ */ z.boolean()
|
|
26959
|
+
"partnership:restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26960
|
+
description: "Whether the member is managed by an active partnership and can't be changed until it ends"
|
|
26961
|
+
})
|
|
26962
|
+
}).register(z.globalRegistry, {
|
|
26963
|
+
description: "Member flags"
|
|
26964
|
+
}),
|
|
26965
|
+
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
26966
|
+
description: "When the member was added or invited"
|
|
26967
|
+
}),
|
|
26968
|
+
inviteStatus: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26969
|
+
description: "Invite status: approved, requested_to_be_invited or requested_to_join"
|
|
26970
|
+
}).nullable(),
|
|
26971
|
+
inviterName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26972
|
+
description: "Name of the user who invited the member, or null"
|
|
26973
|
+
}).nullable(),
|
|
26974
|
+
teams: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
26975
|
+
description: "Deprecated. Slugs of the active teams the member belongs to. Use teamRoles"
|
|
26570
26976
|
}),
|
|
26571
|
-
dateCreated: /* @__PURE__ */ z.iso.datetime(),
|
|
26572
|
-
inviteStatus: /* @__PURE__ */ z.string().nullable(),
|
|
26573
|
-
inviterName: /* @__PURE__ */ z.string().nullable(),
|
|
26574
|
-
teams: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
|
|
26575
26977
|
teamRoles: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
26576
|
-
teamSlug: /* @__PURE__ */ z.string(),
|
|
26577
|
-
|
|
26578
|
-
|
|
26978
|
+
teamSlug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26979
|
+
description: "Team slug"
|
|
26980
|
+
}),
|
|
26981
|
+
role: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26982
|
+
description: "ID of the member's team role, or null if the member has the minimum team role from their organization role"
|
|
26983
|
+
}).nullable()
|
|
26984
|
+
})).register(z.globalRegistry, {
|
|
26985
|
+
description: "Active teams the member belongs to, with the member's role in each"
|
|
26986
|
+
}),
|
|
26579
26987
|
invite_link: /* @__PURE__ */ z.string().nullable(),
|
|
26580
|
-
isOnlyOwner: /* @__PURE__ */ z.boolean(),
|
|
26988
|
+
isOnlyOwner: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
26989
|
+
description: "Whether the member is the only owner of the organization"
|
|
26990
|
+
}),
|
|
26581
26991
|
orgRoleList: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
26582
26992
|
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26583
26993
|
description: "Role ID, such as member or admin"
|
|
@@ -26612,7 +27022,9 @@ var zUpdateOrganizationMemberResponse = /* @__PURE__ */ z.object({
|
|
|
26612
27022
|
minimumTeamRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26613
27023
|
description: "ID of the lowest team role that members with this organization role hold on every team"
|
|
26614
27024
|
})
|
|
26615
|
-
})),
|
|
27025
|
+
})).register(z.globalRegistry, {
|
|
27026
|
+
description: "Organization roles, with whether the requesting user can assign each one"
|
|
27027
|
+
}),
|
|
26616
27028
|
teamRoleList: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
26617
27029
|
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26618
27030
|
description: "Role ID, such as member or admin"
|
|
@@ -26641,7 +27053,9 @@ var zUpdateOrganizationMemberResponse = /* @__PURE__ */ z.object({
|
|
|
26641
27053
|
isMinimumRoleFor: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
26642
27054
|
description: "ID of the organization role whose members hold at least this team role on every team, or null"
|
|
26643
27055
|
}).nullable()
|
|
26644
|
-
}))
|
|
27056
|
+
})).register(z.globalRegistry, {
|
|
27057
|
+
description: "Team roles available in the organization"
|
|
27058
|
+
})
|
|
26645
27059
|
});
|
|
26646
27060
|
var zDeleteOrganizationMemberTeamPath = /* @__PURE__ */ z.object({
|
|
26647
27061
|
organization_id_or_slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
@@ -26786,8 +27200,12 @@ var zUpdateOrganizationMemberTeamPath = /* @__PURE__ */ z.object({
|
|
|
26786
27200
|
})
|
|
26787
27201
|
});
|
|
26788
27202
|
var zUpdateOrganizationMemberTeamResponse = /* @__PURE__ */ z.object({
|
|
26789
|
-
isActive: /* @__PURE__ */ z.boolean(),
|
|
26790
|
-
|
|
27203
|
+
isActive: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
27204
|
+
description: "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"
|
|
27205
|
+
}),
|
|
27206
|
+
teamRole: /* @__PURE__ */ z.enum(["contributor", "admin"]).register(z.globalRegistry, {
|
|
27207
|
+
description: "ID of the member's team role"
|
|
27208
|
+
})
|
|
26791
27209
|
});
|
|
26792
27210
|
var zListOrganizationMonitorsPath = /* @__PURE__ */ z.object({
|
|
26793
27211
|
organization_id_or_slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
@@ -32936,7 +33354,9 @@ var zListOrganizationScimV2GroupsResponse = /* @__PURE__ */ z.object({
|
|
|
32936
33354
|
description: "Display name of the team"
|
|
32937
33355
|
}),
|
|
32938
33356
|
meta: /* @__PURE__ */ z.object({
|
|
32939
|
-
resourceType: /* @__PURE__ */ z.string()
|
|
33357
|
+
resourceType: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33358
|
+
description: "SCIM resource type, such as User or Group"
|
|
33359
|
+
})
|
|
32940
33360
|
}).register(z.globalRegistry, {
|
|
32941
33361
|
description: "SCIM resource metadata"
|
|
32942
33362
|
}),
|
|
@@ -32973,7 +33393,9 @@ var zProvisionOrganizationScimV2GroupResponse = /* @__PURE__ */ z.object({
|
|
|
32973
33393
|
description: "Display name of the team"
|
|
32974
33394
|
}),
|
|
32975
33395
|
meta: /* @__PURE__ */ z.object({
|
|
32976
|
-
resourceType: /* @__PURE__ */ z.string()
|
|
33396
|
+
resourceType: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33397
|
+
description: "SCIM resource type, such as User or Group"
|
|
33398
|
+
})
|
|
32977
33399
|
}).register(z.globalRegistry, {
|
|
32978
33400
|
description: "SCIM resource metadata"
|
|
32979
33401
|
}),
|
|
@@ -33018,7 +33440,9 @@ var zGetOrganizationScimV2GroupResponse = /* @__PURE__ */ z.object({
|
|
|
33018
33440
|
description: "Display name of the team"
|
|
33019
33441
|
}),
|
|
33020
33442
|
meta: /* @__PURE__ */ z.object({
|
|
33021
|
-
resourceType: /* @__PURE__ */ z.string()
|
|
33443
|
+
resourceType: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33444
|
+
description: "SCIM resource type, such as User or Group"
|
|
33445
|
+
})
|
|
33022
33446
|
}).register(z.globalRegistry, {
|
|
33023
33447
|
description: "SCIM resource metadata"
|
|
33024
33448
|
}),
|
|
@@ -33184,23 +33608,51 @@ var zListOrganizationScimV2UsersResponse = /* @__PURE__ */ z.object({
|
|
|
33184
33608
|
startIndex: /* @__PURE__ */ z.int(),
|
|
33185
33609
|
itemsPerPage: /* @__PURE__ */ z.int(),
|
|
33186
33610
|
Resources: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
33187
|
-
active: /* @__PURE__ */ z.boolean().
|
|
33188
|
-
|
|
33189
|
-
|
|
33190
|
-
|
|
33611
|
+
active: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
33612
|
+
description: "Always true when included. Sentry doesn't use this field, but SCIM expects it"
|
|
33613
|
+
}).optional(),
|
|
33614
|
+
schemas: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
33615
|
+
description: "SCIM schema URIs of the resource"
|
|
33616
|
+
}),
|
|
33617
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33618
|
+
description: "Organization member ID"
|
|
33619
|
+
}),
|
|
33620
|
+
userName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33621
|
+
description: "Email address of the member"
|
|
33622
|
+
}),
|
|
33191
33623
|
name: /* @__PURE__ */ z.object({
|
|
33192
|
-
givenName: /* @__PURE__ */ z.string(),
|
|
33193
|
-
|
|
33624
|
+
givenName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33625
|
+
description: "Given name. Always N/A, because Sentry doesn't store it"
|
|
33626
|
+
}),
|
|
33627
|
+
familyName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33628
|
+
description: "Family name. Always N/A, because Sentry doesn't store it"
|
|
33629
|
+
})
|
|
33630
|
+
}).register(z.globalRegistry, {
|
|
33631
|
+
description: "Name of the member"
|
|
33194
33632
|
}),
|
|
33195
33633
|
emails: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
33196
|
-
primary: /* @__PURE__ */ z.boolean(),
|
|
33197
|
-
|
|
33198
|
-
|
|
33199
|
-
|
|
33634
|
+
primary: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
33635
|
+
description: "Whether this is the primary email address. Always true"
|
|
33636
|
+
}),
|
|
33637
|
+
value: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33638
|
+
description: "Email address"
|
|
33639
|
+
}),
|
|
33640
|
+
type: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33641
|
+
description: "Email type. Always work"
|
|
33642
|
+
})
|
|
33643
|
+
})).register(z.globalRegistry, {
|
|
33644
|
+
description: "Email addresses of the member"
|
|
33645
|
+
}),
|
|
33200
33646
|
meta: /* @__PURE__ */ z.object({
|
|
33201
|
-
resourceType: /* @__PURE__ */ z.string()
|
|
33647
|
+
resourceType: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33648
|
+
description: "SCIM resource type, such as User or Group"
|
|
33649
|
+
})
|
|
33650
|
+
}).register(z.globalRegistry, {
|
|
33651
|
+
description: "SCIM resource metadata"
|
|
33202
33652
|
}),
|
|
33203
|
-
sentryOrgRole: /* @__PURE__ */ z.string()
|
|
33653
|
+
sentryOrgRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33654
|
+
description: "ID of the member's organization role"
|
|
33655
|
+
})
|
|
33204
33656
|
}).register(z.globalRegistry, {
|
|
33205
33657
|
description: "Conforming to the SCIM RFC, this represents a Sentry Org Member\nas a SCIM user object."
|
|
33206
33658
|
}))
|
|
@@ -33224,23 +33676,51 @@ var zProvisionOrganizationScimV2UserPath = /* @__PURE__ */ z.object({
|
|
|
33224
33676
|
})
|
|
33225
33677
|
});
|
|
33226
33678
|
var zProvisionOrganizationScimV2UserResponse = /* @__PURE__ */ z.object({
|
|
33227
|
-
active: /* @__PURE__ */ z.boolean().
|
|
33228
|
-
|
|
33229
|
-
|
|
33230
|
-
|
|
33679
|
+
active: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
33680
|
+
description: "Always true when included. Sentry doesn't use this field, but SCIM expects it"
|
|
33681
|
+
}).optional(),
|
|
33682
|
+
schemas: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
33683
|
+
description: "SCIM schema URIs of the resource"
|
|
33684
|
+
}),
|
|
33685
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33686
|
+
description: "Organization member ID"
|
|
33687
|
+
}),
|
|
33688
|
+
userName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33689
|
+
description: "Email address of the member"
|
|
33690
|
+
}),
|
|
33231
33691
|
name: /* @__PURE__ */ z.object({
|
|
33232
|
-
givenName: /* @__PURE__ */ z.string(),
|
|
33233
|
-
|
|
33692
|
+
givenName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33693
|
+
description: "Given name. Always N/A, because Sentry doesn't store it"
|
|
33694
|
+
}),
|
|
33695
|
+
familyName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33696
|
+
description: "Family name. Always N/A, because Sentry doesn't store it"
|
|
33697
|
+
})
|
|
33698
|
+
}).register(z.globalRegistry, {
|
|
33699
|
+
description: "Name of the member"
|
|
33234
33700
|
}),
|
|
33235
33701
|
emails: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
33236
|
-
primary: /* @__PURE__ */ z.boolean(),
|
|
33237
|
-
|
|
33238
|
-
|
|
33239
|
-
|
|
33702
|
+
primary: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
33703
|
+
description: "Whether this is the primary email address. Always true"
|
|
33704
|
+
}),
|
|
33705
|
+
value: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33706
|
+
description: "Email address"
|
|
33707
|
+
}),
|
|
33708
|
+
type: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33709
|
+
description: "Email type. Always work"
|
|
33710
|
+
})
|
|
33711
|
+
})).register(z.globalRegistry, {
|
|
33712
|
+
description: "Email addresses of the member"
|
|
33713
|
+
}),
|
|
33240
33714
|
meta: /* @__PURE__ */ z.object({
|
|
33241
|
-
resourceType: /* @__PURE__ */ z.string()
|
|
33715
|
+
resourceType: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33716
|
+
description: "SCIM resource type, such as User or Group"
|
|
33717
|
+
})
|
|
33718
|
+
}).register(z.globalRegistry, {
|
|
33719
|
+
description: "SCIM resource metadata"
|
|
33242
33720
|
}),
|
|
33243
|
-
sentryOrgRole: /* @__PURE__ */ z.string()
|
|
33721
|
+
sentryOrgRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33722
|
+
description: "ID of the member's organization role"
|
|
33723
|
+
})
|
|
33244
33724
|
}).register(z.globalRegistry, {
|
|
33245
33725
|
description: "Conforming to the SCIM RFC, this represents a Sentry Org Member\nas a SCIM user object."
|
|
33246
33726
|
});
|
|
@@ -33264,23 +33744,51 @@ var zGetOrganizationScimV2UserPath = /* @__PURE__ */ z.object({
|
|
|
33264
33744
|
})
|
|
33265
33745
|
});
|
|
33266
33746
|
var zGetOrganizationScimV2UserResponse = /* @__PURE__ */ z.object({
|
|
33267
|
-
active: /* @__PURE__ */ z.boolean().
|
|
33268
|
-
|
|
33269
|
-
|
|
33270
|
-
|
|
33747
|
+
active: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
33748
|
+
description: "Always true when included. Sentry doesn't use this field, but SCIM expects it"
|
|
33749
|
+
}).optional(),
|
|
33750
|
+
schemas: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
33751
|
+
description: "SCIM schema URIs of the resource"
|
|
33752
|
+
}),
|
|
33753
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33754
|
+
description: "Organization member ID"
|
|
33755
|
+
}),
|
|
33756
|
+
userName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33757
|
+
description: "Email address of the member"
|
|
33758
|
+
}),
|
|
33271
33759
|
name: /* @__PURE__ */ z.object({
|
|
33272
|
-
givenName: /* @__PURE__ */ z.string(),
|
|
33273
|
-
|
|
33760
|
+
givenName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33761
|
+
description: "Given name. Always N/A, because Sentry doesn't store it"
|
|
33762
|
+
}),
|
|
33763
|
+
familyName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33764
|
+
description: "Family name. Always N/A, because Sentry doesn't store it"
|
|
33765
|
+
})
|
|
33766
|
+
}).register(z.globalRegistry, {
|
|
33767
|
+
description: "Name of the member"
|
|
33274
33768
|
}),
|
|
33275
33769
|
emails: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
33276
|
-
primary: /* @__PURE__ */ z.boolean(),
|
|
33277
|
-
|
|
33278
|
-
|
|
33279
|
-
|
|
33770
|
+
primary: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
33771
|
+
description: "Whether this is the primary email address. Always true"
|
|
33772
|
+
}),
|
|
33773
|
+
value: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33774
|
+
description: "Email address"
|
|
33775
|
+
}),
|
|
33776
|
+
type: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33777
|
+
description: "Email type. Always work"
|
|
33778
|
+
})
|
|
33779
|
+
})).register(z.globalRegistry, {
|
|
33780
|
+
description: "Email addresses of the member"
|
|
33781
|
+
}),
|
|
33280
33782
|
meta: /* @__PURE__ */ z.object({
|
|
33281
|
-
resourceType: /* @__PURE__ */ z.string()
|
|
33783
|
+
resourceType: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33784
|
+
description: "SCIM resource type, such as User or Group"
|
|
33785
|
+
})
|
|
33786
|
+
}).register(z.globalRegistry, {
|
|
33787
|
+
description: "SCIM resource metadata"
|
|
33282
33788
|
}),
|
|
33283
|
-
sentryOrgRole: /* @__PURE__ */ z.string()
|
|
33789
|
+
sentryOrgRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
33790
|
+
description: "ID of the member's organization role"
|
|
33791
|
+
})
|
|
33284
33792
|
}).register(z.globalRegistry, {
|
|
33285
33793
|
description: "Conforming to the SCIM RFC, this represents a Sentry Org Member\nas a SCIM user object."
|
|
33286
33794
|
});
|
|
@@ -41558,10 +42066,18 @@ var zListProjectMembersResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.obje
|
|
|
41558
42066
|
provider: /* @__PURE__ */ z.string(),
|
|
41559
42067
|
externalName: /* @__PURE__ */ z.string(),
|
|
41560
42068
|
integrationId: /* @__PURE__ */ z.string()
|
|
41561
|
-
})).
|
|
41562
|
-
|
|
41563
|
-
|
|
41564
|
-
|
|
42069
|
+
})).register(z.globalRegistry, {
|
|
42070
|
+
description: "Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested"
|
|
42071
|
+
}).optional(),
|
|
42072
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
42073
|
+
description: "Organization member ID"
|
|
42074
|
+
}),
|
|
42075
|
+
email: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
42076
|
+
description: "Email address of the member's user, or the invited email address if they have no account yet"
|
|
42077
|
+
}),
|
|
42078
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
42079
|
+
description: "Display name of the member's user, or their email address if they have no account yet"
|
|
42080
|
+
}),
|
|
41565
42081
|
user: /* @__PURE__ */ z.object({
|
|
41566
42082
|
identities: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
41567
42083
|
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
@@ -41695,21 +42211,45 @@ var zListProjectMembersResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.obje
|
|
|
41695
42211
|
})).register(z.globalRegistry, {
|
|
41696
42212
|
description: "Email addresses of the user. Only included for the requesting user or superusers; empty otherwise"
|
|
41697
42213
|
})
|
|
42214
|
+
}).register(z.globalRegistry, {
|
|
42215
|
+
description: "The member's user. Null for invited members without an account, or if the user can't be found"
|
|
41698
42216
|
}).nullable(),
|
|
41699
|
-
orgRole: /* @__PURE__ */ z.string(),
|
|
41700
|
-
|
|
41701
|
-
|
|
42217
|
+
orgRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
42218
|
+
description: "ID of the member's organization role"
|
|
42219
|
+
}),
|
|
42220
|
+
pending: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
42221
|
+
description: "Whether the member has no user account linked yet, as with an invite that hasn't been accepted"
|
|
42222
|
+
}),
|
|
42223
|
+
expired: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
42224
|
+
description: "Whether the member's invite has expired"
|
|
42225
|
+
}),
|
|
41702
42226
|
flags: /* @__PURE__ */ z.object({
|
|
41703
|
-
"idp:provisioned": /* @__PURE__ */ z.boolean(),
|
|
41704
|
-
|
|
41705
|
-
|
|
42227
|
+
"idp:provisioned": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
42228
|
+
description: "Whether the member is provisioned and managed through the organization's identity provider (SCIM)"
|
|
42229
|
+
}),
|
|
42230
|
+
"idp:role-restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
42231
|
+
description: "Whether the member's organization role is set by the identity provider through SCIM"
|
|
42232
|
+
}),
|
|
42233
|
+
"sso:linked": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
42234
|
+
description: "Whether the member has linked their account to the organization's SSO provider"
|
|
42235
|
+
}),
|
|
41706
42236
|
"sso:invalid": /* @__PURE__ */ z.boolean(),
|
|
41707
42237
|
"member-limit:restricted": /* @__PURE__ */ z.boolean(),
|
|
41708
|
-
"partnership:restricted": /* @__PURE__ */ z.boolean()
|
|
42238
|
+
"partnership:restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
42239
|
+
description: "Whether the member is managed by an active partnership and can't be changed until it ends"
|
|
42240
|
+
})
|
|
42241
|
+
}).register(z.globalRegistry, {
|
|
42242
|
+
description: "Member flags"
|
|
41709
42243
|
}),
|
|
41710
|
-
dateCreated: /* @__PURE__ */ z.iso.datetime(),
|
|
41711
|
-
|
|
41712
|
-
|
|
42244
|
+
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
42245
|
+
description: "When the member was added or invited"
|
|
42246
|
+
}),
|
|
42247
|
+
inviteStatus: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
42248
|
+
description: "Invite status: approved, requested_to_be_invited or requested_to_join"
|
|
42249
|
+
}).nullable(),
|
|
42250
|
+
inviterName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
42251
|
+
description: "Name of the user who invited the member, or null"
|
|
42252
|
+
}).nullable()
|
|
41713
42253
|
}));
|
|
41714
42254
|
var zDeleteProjectMonitorPath = /* @__PURE__ */ z.object({
|
|
41715
42255
|
organization_id_or_slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
@@ -46415,12 +46955,24 @@ var zListTeamMembersResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.object(
|
|
|
46415
46955
|
provider: /* @__PURE__ */ z.string(),
|
|
46416
46956
|
externalName: /* @__PURE__ */ z.string(),
|
|
46417
46957
|
integrationId: /* @__PURE__ */ z.string()
|
|
46418
|
-
})).
|
|
46419
|
-
|
|
46420
|
-
|
|
46421
|
-
|
|
46422
|
-
|
|
46423
|
-
|
|
46958
|
+
})).register(z.globalRegistry, {
|
|
46959
|
+
description: "Users in external providers, such as Slack or GitHub, linked to the member's user. Included only when requested"
|
|
46960
|
+
}).optional(),
|
|
46961
|
+
role: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
46962
|
+
description: "Deprecated. Use orgRole"
|
|
46963
|
+
}).optional(),
|
|
46964
|
+
roleName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
46965
|
+
description: "Deprecated. Name of the member's organization role"
|
|
46966
|
+
}).optional(),
|
|
46967
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
46968
|
+
description: "Organization member ID"
|
|
46969
|
+
}),
|
|
46970
|
+
email: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
46971
|
+
description: "Email address of the member's user, or the invited email address if they have no account yet"
|
|
46972
|
+
}),
|
|
46973
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
46974
|
+
description: "Display name of the member's user, or their email address if they have no account yet"
|
|
46975
|
+
}),
|
|
46424
46976
|
user: /* @__PURE__ */ z.object({
|
|
46425
46977
|
identities: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
46426
46978
|
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
@@ -46554,23 +47106,51 @@ var zListTeamMembersResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.object(
|
|
|
46554
47106
|
})).register(z.globalRegistry, {
|
|
46555
47107
|
description: "Email addresses of the user. Only included for the requesting user or superusers; empty otherwise"
|
|
46556
47108
|
})
|
|
47109
|
+
}).register(z.globalRegistry, {
|
|
47110
|
+
description: "The member's user"
|
|
47111
|
+
}),
|
|
47112
|
+
orgRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
47113
|
+
description: "ID of the member's organization role"
|
|
47114
|
+
}),
|
|
47115
|
+
pending: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
47116
|
+
description: "Whether the member has no user account linked yet, as with an invite that hasn't been accepted"
|
|
47117
|
+
}),
|
|
47118
|
+
expired: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
47119
|
+
description: "Whether the member's invite has expired"
|
|
46557
47120
|
}),
|
|
46558
|
-
orgRole: /* @__PURE__ */ z.string(),
|
|
46559
|
-
pending: /* @__PURE__ */ z.boolean(),
|
|
46560
|
-
expired: /* @__PURE__ */ z.boolean(),
|
|
46561
47121
|
flags: /* @__PURE__ */ z.object({
|
|
46562
|
-
"idp:provisioned": /* @__PURE__ */ z.boolean(),
|
|
46563
|
-
|
|
46564
|
-
|
|
47122
|
+
"idp:provisioned": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
47123
|
+
description: "Whether the member is provisioned and managed through the organization's identity provider (SCIM)"
|
|
47124
|
+
}),
|
|
47125
|
+
"idp:role-restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
47126
|
+
description: "Whether the member's organization role is set by the identity provider through SCIM"
|
|
47127
|
+
}),
|
|
47128
|
+
"sso:linked": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
47129
|
+
description: "Whether the member has linked their account to the organization's SSO provider"
|
|
47130
|
+
}),
|
|
46565
47131
|
"sso:invalid": /* @__PURE__ */ z.boolean(),
|
|
46566
47132
|
"member-limit:restricted": /* @__PURE__ */ z.boolean(),
|
|
46567
|
-
"partnership:restricted": /* @__PURE__ */ z.boolean()
|
|
47133
|
+
"partnership:restricted": /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
47134
|
+
description: "Whether the member is managed by an active partnership and can't be changed until it ends"
|
|
47135
|
+
})
|
|
47136
|
+
}).register(z.globalRegistry, {
|
|
47137
|
+
description: "Member flags"
|
|
46568
47138
|
}),
|
|
46569
|
-
dateCreated: /* @__PURE__ */ z.iso.datetime(),
|
|
46570
|
-
|
|
46571
|
-
|
|
46572
|
-
|
|
46573
|
-
|
|
47139
|
+
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
47140
|
+
description: "When the member was added or invited"
|
|
47141
|
+
}),
|
|
47142
|
+
inviteStatus: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
47143
|
+
description: "Invite status: approved, requested_to_be_invited or requested_to_join"
|
|
47144
|
+
}).nullable(),
|
|
47145
|
+
inviterName: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
47146
|
+
description: "Name of the user who invited the member, or null"
|
|
47147
|
+
}).nullable(),
|
|
47148
|
+
teamRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
47149
|
+
description: "ID of the member's team role, or null if the member has the minimum team role from their organization role"
|
|
47150
|
+
}).nullable(),
|
|
47151
|
+
teamSlug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
47152
|
+
description: "Slug of the team"
|
|
47153
|
+
})
|
|
46574
47154
|
}));
|
|
46575
47155
|
var zListTeamProjectsPath = /* @__PURE__ */ z.object({
|
|
46576
47156
|
organization_id_or_slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|