Compare commits

..

2 commits

Author SHA1 Message Date
Nelly (automation bot)
c21a1572d3 Automated spec update (42687) 2024-04-19 21:26:05 +00:00
Nelly (automation bot)
b67077a0a8 Automated spec update (42638) 2024-04-19 19:13:51 +00:00
2 changed files with 114 additions and 12 deletions

View file

@ -13061,7 +13061,15 @@
"type": "object", "type": "object",
"properties": { "properties": {
"type": { "type": {
"type": "string",
"enum": [
"channel"
],
"allOf": [
{
"$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes" "$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes"
}
]
}, },
"id": { "id": {
"$ref": "#/components/schemas/SnowflakeType" "$ref": "#/components/schemas/SnowflakeType"
@ -20857,7 +20865,16 @@
"array", "array",
"null" "null"
], ],
"items": {}, "items": {
"oneOf": [
{
"$ref": "#/components/schemas/RoleSelectDefaultValue"
},
{
"$ref": "#/components/schemas/UserSelectDefaultValue"
}
]
},
"maxItems": 25 "maxItems": 25
} }
}, },
@ -24091,7 +24108,12 @@
}, },
"PurchaseType": { "PurchaseType": {
"type": "integer", "type": "integer",
"oneOf": [], "oneOf": [
{
"title": "GUILD_PRODUCT",
"const": 0
}
],
"format": "int32" "format": "int32"
}, },
"QuarantineUserAction": { "QuarantineUserAction": {
@ -24674,7 +24696,15 @@
"type": "object", "type": "object",
"properties": { "properties": {
"type": { "type": {
"type": "string",
"enum": [
"role"
],
"allOf": [
{
"$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes" "$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes"
}
]
}, },
"id": { "id": {
"$ref": "#/components/schemas/SnowflakeType" "$ref": "#/components/schemas/SnowflakeType"
@ -24977,7 +25007,20 @@
}, },
"SnowflakeSelectDefaultValueTypes": { "SnowflakeSelectDefaultValueTypes": {
"type": "string", "type": "string",
"oneOf": [] "oneOf": [
{
"title": "USER",
"const": "user"
},
{
"title": "ROLE",
"const": "role"
},
{
"title": "CHANNEL",
"const": "channel"
}
]
}, },
"SnowflakeType": { "SnowflakeType": {
"type": "string", "type": "string",
@ -26870,7 +26913,15 @@
"type": "object", "type": "object",
"properties": { "properties": {
"type": { "type": {
"type": "string",
"enum": [
"user"
],
"allOf": [
{
"$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes" "$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes"
}
]
}, },
"id": { "id": {
"$ref": "#/components/schemas/SnowflakeType" "$ref": "#/components/schemas/SnowflakeType"

View file

@ -13304,7 +13304,15 @@
"type": "object", "type": "object",
"properties": { "properties": {
"type": { "type": {
"type": "string",
"enum": [
"channel"
],
"allOf": [
{
"$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes" "$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes"
}
]
}, },
"id": { "id": {
"$ref": "#/components/schemas/SnowflakeType" "$ref": "#/components/schemas/SnowflakeType"
@ -21185,7 +21193,16 @@
"array", "array",
"null" "null"
], ],
"items": {}, "items": {
"oneOf": [
{
"$ref": "#/components/schemas/RoleSelectDefaultValue"
},
{
"$ref": "#/components/schemas/UserSelectDefaultValue"
}
]
},
"maxItems": 25 "maxItems": 25
} }
}, },
@ -24555,7 +24572,12 @@
}, },
"PurchaseType": { "PurchaseType": {
"type": "integer", "type": "integer",
"oneOf": [], "oneOf": [
{
"title": "GUILD_PRODUCT",
"const": 0
}
],
"format": "int32" "format": "int32"
}, },
"QuarantineUserAction": { "QuarantineUserAction": {
@ -25431,7 +25453,15 @@
"type": "object", "type": "object",
"properties": { "properties": {
"type": { "type": {
"type": "string",
"enum": [
"role"
],
"allOf": [
{
"$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes" "$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes"
}
]
}, },
"id": { "id": {
"$ref": "#/components/schemas/SnowflakeType" "$ref": "#/components/schemas/SnowflakeType"
@ -25758,7 +25788,20 @@
}, },
"SnowflakeSelectDefaultValueTypes": { "SnowflakeSelectDefaultValueTypes": {
"type": "string", "type": "string",
"oneOf": [] "oneOf": [
{
"title": "USER",
"const": "user"
},
{
"title": "ROLE",
"const": "role"
},
{
"title": "CHANNEL",
"const": "channel"
}
]
}, },
"SnowflakeType": { "SnowflakeType": {
"type": "string", "type": "string",
@ -27682,7 +27725,15 @@
"type": "object", "type": "object",
"properties": { "properties": {
"type": { "type": {
"type": "string",
"enum": [
"user"
],
"allOf": [
{
"$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes" "$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes"
}
]
}, },
"id": { "id": {
"$ref": "#/components/schemas/SnowflakeType" "$ref": "#/components/schemas/SnowflakeType"