mirror of
https://github.com/discord/discord-api-spec.git
synced 2026-01-28 01:33:45 -05:00
Automated spec update (179803)
This commit is contained in:
parent
1b537b31c1
commit
237c1d4daf
2 changed files with 106 additions and 0 deletions
|
|
@ -10874,6 +10874,9 @@
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/PongInteractionCallbackRequest"
|
"$ref": "#/components/schemas/PongInteractionCallbackRequest"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/SocialLayerSKUPurchaseEligibilityInteractionCallbackRequest"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/UpdateMessageInteractionCallbackRequest"
|
"$ref": "#/components/schemas/UpdateMessageInteractionCallbackRequest"
|
||||||
}
|
}
|
||||||
|
|
@ -10899,6 +10902,9 @@
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/PongInteractionCallbackRequest"
|
"$ref": "#/components/schemas/PongInteractionCallbackRequest"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/SocialLayerSKUPurchaseEligibilityInteractionCallbackRequest"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/UpdateMessageInteractionCallbackRequest"
|
"$ref": "#/components/schemas/UpdateMessageInteractionCallbackRequest"
|
||||||
}
|
}
|
||||||
|
|
@ -10924,6 +10930,9 @@
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/PongInteractionCallbackRequest"
|
"$ref": "#/components/schemas/PongInteractionCallbackRequest"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/SocialLayerSKUPurchaseEligibilityInteractionCallbackRequest"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/UpdateMessageInteractionCallbackRequest"
|
"$ref": "#/components/schemas/UpdateMessageInteractionCallbackRequest"
|
||||||
}
|
}
|
||||||
|
|
@ -27118,6 +27127,10 @@
|
||||||
{
|
{
|
||||||
"title": "LAUNCH_ACTIVITY",
|
"title": "LAUNCH_ACTIVITY",
|
||||||
"const": 12
|
"const": 12
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "SOCIAL_LAYER_SKU_PURCHASE_ELIGIBILITY",
|
||||||
|
"const": 13
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
|
@ -27200,6 +27213,11 @@
|
||||||
"title": "MODAL_SUBMIT",
|
"title": "MODAL_SUBMIT",
|
||||||
"description": "Sent when a user submits a modal previously sent by your application",
|
"description": "Sent when a user submits a modal previously sent by your application",
|
||||||
"const": 5
|
"const": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "SOCIAL_LAYER_SKU_PURCHASE_ELIGIBILITY",
|
||||||
|
"description": "Sent when Discord is checking if a user can purchase a Social Layer SKU",
|
||||||
|
"const": 6
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
|
@ -33724,6 +33742,41 @@
|
||||||
"pattern": "^(0|[1-9][0-9]*)$",
|
"pattern": "^(0|[1-9][0-9]*)$",
|
||||||
"format": "snowflake"
|
"format": "snowflake"
|
||||||
},
|
},
|
||||||
|
"SocialLayerSKUPurchaseEligibilityCallbackData": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"eligible": {
|
||||||
|
"type": "boolean"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"eligible"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"SocialLayerSKUPurchaseEligibilityInteractionCallbackRequest": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"type": {
|
||||||
|
"type": "integer",
|
||||||
|
"enum": [
|
||||||
|
13
|
||||||
|
],
|
||||||
|
"allOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/InteractionCallbackTypes"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"data": {
|
||||||
|
"$ref": "#/components/schemas/SocialLayerSKUPurchaseEligibilityCallbackData"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"type",
|
||||||
|
"data"
|
||||||
|
]
|
||||||
|
},
|
||||||
"SortingOrder": {
|
"SortingOrder": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
|
|
|
||||||
|
|
@ -11214,6 +11214,9 @@
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/PongInteractionCallbackRequest"
|
"$ref": "#/components/schemas/PongInteractionCallbackRequest"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/SocialLayerSKUPurchaseEligibilityInteractionCallbackRequest"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/UpdateMessageInteractionCallbackRequest"
|
"$ref": "#/components/schemas/UpdateMessageInteractionCallbackRequest"
|
||||||
}
|
}
|
||||||
|
|
@ -11239,6 +11242,9 @@
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/PongInteractionCallbackRequest"
|
"$ref": "#/components/schemas/PongInteractionCallbackRequest"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/SocialLayerSKUPurchaseEligibilityInteractionCallbackRequest"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/UpdateMessageInteractionCallbackRequest"
|
"$ref": "#/components/schemas/UpdateMessageInteractionCallbackRequest"
|
||||||
}
|
}
|
||||||
|
|
@ -11264,6 +11270,9 @@
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/PongInteractionCallbackRequest"
|
"$ref": "#/components/schemas/PongInteractionCallbackRequest"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/SocialLayerSKUPurchaseEligibilityInteractionCallbackRequest"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/UpdateMessageInteractionCallbackRequest"
|
"$ref": "#/components/schemas/UpdateMessageInteractionCallbackRequest"
|
||||||
}
|
}
|
||||||
|
|
@ -27704,6 +27713,10 @@
|
||||||
{
|
{
|
||||||
"title": "LAUNCH_ACTIVITY",
|
"title": "LAUNCH_ACTIVITY",
|
||||||
"const": 12
|
"const": 12
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "SOCIAL_LAYER_SKU_PURCHASE_ELIGIBILITY",
|
||||||
|
"const": 13
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
|
@ -27786,6 +27799,11 @@
|
||||||
"title": "MODAL_SUBMIT",
|
"title": "MODAL_SUBMIT",
|
||||||
"description": "Sent when a user submits a modal previously sent by your application",
|
"description": "Sent when a user submits a modal previously sent by your application",
|
||||||
"const": 5
|
"const": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "SOCIAL_LAYER_SKU_PURCHASE_ELIGIBILITY",
|
||||||
|
"description": "Sent when Discord is checking if a user can purchase a Social Layer SKU",
|
||||||
|
"const": 6
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
|
@ -34993,6 +35011,41 @@
|
||||||
"pattern": "^(0|[1-9][0-9]*)$",
|
"pattern": "^(0|[1-9][0-9]*)$",
|
||||||
"format": "snowflake"
|
"format": "snowflake"
|
||||||
},
|
},
|
||||||
|
"SocialLayerSKUPurchaseEligibilityCallbackData": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"eligible": {
|
||||||
|
"type": "boolean"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"eligible"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"SocialLayerSKUPurchaseEligibilityInteractionCallbackRequest": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"type": {
|
||||||
|
"type": "integer",
|
||||||
|
"enum": [
|
||||||
|
13
|
||||||
|
],
|
||||||
|
"allOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/InteractionCallbackTypes"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"data": {
|
||||||
|
"$ref": "#/components/schemas/SocialLayerSKUPurchaseEligibilityCallbackData"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"type",
|
||||||
|
"data"
|
||||||
|
]
|
||||||
|
},
|
||||||
"SortingMode": {
|
"SortingMode": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue