From d9c07caf30e276678c0f716627e22cc68757a047 Mon Sep 17 00:00:00 2001 From: "Nelly (automation bot)" <> Date: Fri, 27 Oct 2023 01:16:40 +0000 Subject: [PATCH] Automated spec update (10288) --- specs/openapi.json | 61 ++++++++++++++++++++++++++++++++++++++ specs/openapi_preview.json | 61 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+) diff --git a/specs/openapi.json b/specs/openapi.json index 335b534..fdfe567 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -12447,6 +12447,16 @@ } ] }, + "purchase_notification": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/PurchaseNotificationResponse" + } + ] + }, "position": { "type": [ "integer", @@ -17389,6 +17399,21 @@ "stickers" ] }, + "GuildProductPurchaseResponse": { + "type": "object", + "properties": { + "listing_id": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "product_name": { + "type": "string" + } + }, + "required": [ + "listing_id", + "product_name" + ] + }, "GuildPruneResponse": { "type": "object", "properties": { @@ -22308,6 +22333,16 @@ } ] }, + "purchase_notification": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/PurchaseNotificationResponse" + } + ] + }, "position": { "type": [ "integer", @@ -23776,6 +23811,32 @@ "deaf" ] }, + "PurchaseNotificationResponse": { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/PurchaseType" + }, + "guild_product_purchase": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/GuildProductPurchaseResponse" + } + ] + } + }, + "required": [ + "type" + ] + }, + "PurchaseType": { + "type": "integer", + "oneOf": [], + "format": "int32" + }, "QuarantineUserAction": { "type": "object", "properties": { diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index 353a787..8079100 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -12447,6 +12447,16 @@ } ] }, + "purchase_notification": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/PurchaseNotificationResponse" + } + ] + }, "position": { "type": [ "integer", @@ -17442,6 +17452,21 @@ "stickers" ] }, + "GuildProductPurchaseResponse": { + "type": "object", + "properties": { + "listing_id": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "product_name": { + "type": "string" + } + }, + "required": [ + "listing_id", + "product_name" + ] + }, "GuildPruneResponse": { "type": "object", "properties": { @@ -22375,6 +22400,16 @@ } ] }, + "purchase_notification": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/PurchaseNotificationResponse" + } + ] + }, "position": { "type": [ "integer", @@ -23843,6 +23878,32 @@ "deaf" ] }, + "PurchaseNotificationResponse": { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/PurchaseType" + }, + "guild_product_purchase": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/GuildProductPurchaseResponse" + } + ] + } + }, + "required": [ + "type" + ] + }, + "PurchaseType": { + "type": "integer", + "oneOf": [], + "format": "int32" + }, "QuarantineUserAction": { "type": "object", "properties": {