From fb7c6b8903bded49c379ba61a520818ba5ab15ba Mon Sep 17 00:00:00 2001 From: Danial Raza Date: Wed, 18 Dec 2024 16:35:29 +0100 Subject: [PATCH] feat(APISubscription): add `renewal_sku_ids` (#1172) --- deno/payloads/v10/monetization.ts | 4 ++++ deno/payloads/v9/monetization.ts | 4 ++++ payloads/v10/monetization.ts | 4 ++++ payloads/v9/monetization.ts | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/deno/payloads/v10/monetization.ts b/deno/payloads/v10/monetization.ts index cb78cfee8..4000b4c21 100644 --- a/deno/payloads/v10/monetization.ts +++ b/deno/payloads/v10/monetization.ts @@ -177,6 +177,10 @@ export interface APISubscription { * List of entitlements granted for this subscription */ entitlement_ids: Snowflake[]; + /** + * List of SKUs that this user will be subscribed to at renewal + */ + renewal_sku_ids: Snowflake[] | null; /** * Start of the current subscription period */ diff --git a/deno/payloads/v9/monetization.ts b/deno/payloads/v9/monetization.ts index cb78cfee8..4000b4c21 100644 --- a/deno/payloads/v9/monetization.ts +++ b/deno/payloads/v9/monetization.ts @@ -177,6 +177,10 @@ export interface APISubscription { * List of entitlements granted for this subscription */ entitlement_ids: Snowflake[]; + /** + * List of SKUs that this user will be subscribed to at renewal + */ + renewal_sku_ids: Snowflake[] | null; /** * Start of the current subscription period */ diff --git a/payloads/v10/monetization.ts b/payloads/v10/monetization.ts index 83ec6d102..e5026301a 100644 --- a/payloads/v10/monetization.ts +++ b/payloads/v10/monetization.ts @@ -177,6 +177,10 @@ export interface APISubscription { * List of entitlements granted for this subscription */ entitlement_ids: Snowflake[]; + /** + * List of SKUs that this user will be subscribed to at renewal + */ + renewal_sku_ids: Snowflake[] | null; /** * Start of the current subscription period */ diff --git a/payloads/v9/monetization.ts b/payloads/v9/monetization.ts index 83ec6d102..e5026301a 100644 --- a/payloads/v9/monetization.ts +++ b/payloads/v9/monetization.ts @@ -177,6 +177,10 @@ export interface APISubscription { * List of entitlements granted for this subscription */ entitlement_ids: Snowflake[]; + /** + * List of SKUs that this user will be subscribed to at renewal + */ + renewal_sku_ids: Snowflake[] | null; /** * Start of the current subscription period */