From 237c1d4daf7147df72fec41356d8b8018b6b8242 Mon Sep 17 00:00:00 2001 From: "Nelly (automation bot)" <> Date: Mon, 26 Jan 2026 23:15:35 +0000 Subject: [PATCH] Automated spec update (179803) --- specs/openapi.json | 53 ++++++++++++++++++++++++++++++++++++++ specs/openapi_preview.json | 53 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+) diff --git a/specs/openapi.json b/specs/openapi.json index 034111e..ff41f99 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -10874,6 +10874,9 @@ { "$ref": "#/components/schemas/PongInteractionCallbackRequest" }, + { + "$ref": "#/components/schemas/SocialLayerSKUPurchaseEligibilityInteractionCallbackRequest" + }, { "$ref": "#/components/schemas/UpdateMessageInteractionCallbackRequest" } @@ -10899,6 +10902,9 @@ { "$ref": "#/components/schemas/PongInteractionCallbackRequest" }, + { + "$ref": "#/components/schemas/SocialLayerSKUPurchaseEligibilityInteractionCallbackRequest" + }, { "$ref": "#/components/schemas/UpdateMessageInteractionCallbackRequest" } @@ -10924,6 +10930,9 @@ { "$ref": "#/components/schemas/PongInteractionCallbackRequest" }, + { + "$ref": "#/components/schemas/SocialLayerSKUPurchaseEligibilityInteractionCallbackRequest" + }, { "$ref": "#/components/schemas/UpdateMessageInteractionCallbackRequest" } @@ -27118,6 +27127,10 @@ { "title": "LAUNCH_ACTIVITY", "const": 12 + }, + { + "title": "SOCIAL_LAYER_SKU_PURCHASE_ELIGIBILITY", + "const": 13 } ], "format": "int32" @@ -27200,6 +27213,11 @@ "title": "MODAL_SUBMIT", "description": "Sent when a user submits a modal previously sent by your application", "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" @@ -33724,6 +33742,41 @@ "pattern": "^(0|[1-9][0-9]*)$", "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": { "type": "string", "oneOf": [ diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index f93eebf..a5bc87d 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -11214,6 +11214,9 @@ { "$ref": "#/components/schemas/PongInteractionCallbackRequest" }, + { + "$ref": "#/components/schemas/SocialLayerSKUPurchaseEligibilityInteractionCallbackRequest" + }, { "$ref": "#/components/schemas/UpdateMessageInteractionCallbackRequest" } @@ -11239,6 +11242,9 @@ { "$ref": "#/components/schemas/PongInteractionCallbackRequest" }, + { + "$ref": "#/components/schemas/SocialLayerSKUPurchaseEligibilityInteractionCallbackRequest" + }, { "$ref": "#/components/schemas/UpdateMessageInteractionCallbackRequest" } @@ -11264,6 +11270,9 @@ { "$ref": "#/components/schemas/PongInteractionCallbackRequest" }, + { + "$ref": "#/components/schemas/SocialLayerSKUPurchaseEligibilityInteractionCallbackRequest" + }, { "$ref": "#/components/schemas/UpdateMessageInteractionCallbackRequest" } @@ -27704,6 +27713,10 @@ { "title": "LAUNCH_ACTIVITY", "const": 12 + }, + { + "title": "SOCIAL_LAYER_SKU_PURCHASE_ELIGIBILITY", + "const": 13 } ], "format": "int32" @@ -27786,6 +27799,11 @@ "title": "MODAL_SUBMIT", "description": "Sent when a user submits a modal previously sent by your application", "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" @@ -34993,6 +35011,41 @@ "pattern": "^(0|[1-9][0-9]*)$", "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": { "type": "string", "oneOf": [