diff --git a/deno/payloads/v10/monetization.ts b/deno/payloads/v10/monetization.ts index 01c66e5d..cb78cfee 100644 --- a/deno/payloads/v10/monetization.ts +++ b/deno/payloads/v10/monetization.ts @@ -33,13 +33,13 @@ export interface APIEntitlement { */ deleted: boolean; /** - * Start date at which the entitlement is valid. Not present when using test entitlements. + * Start date at which the entitlement is valid. */ - starts_at?: string; + starts_at: string | null; /** - * Date at which the entitlement is no longer valid. Not present when using test entitlements. + * Date at which the entitlement is no longer valid. */ - ends_at?: string; + ends_at: string | null; /** * For consumable items, whether or not the entitlement has been consumed */ diff --git a/deno/payloads/v9/monetization.ts b/deno/payloads/v9/monetization.ts index 01c66e5d..cb78cfee 100644 --- a/deno/payloads/v9/monetization.ts +++ b/deno/payloads/v9/monetization.ts @@ -33,13 +33,13 @@ export interface APIEntitlement { */ deleted: boolean; /** - * Start date at which the entitlement is valid. Not present when using test entitlements. + * Start date at which the entitlement is valid. */ - starts_at?: string; + starts_at: string | null; /** - * Date at which the entitlement is no longer valid. Not present when using test entitlements. + * Date at which the entitlement is no longer valid. */ - ends_at?: string; + ends_at: string | null; /** * For consumable items, whether or not the entitlement has been consumed */ diff --git a/payloads/v10/monetization.ts b/payloads/v10/monetization.ts index 47d6e4cd..83ec6d10 100644 --- a/payloads/v10/monetization.ts +++ b/payloads/v10/monetization.ts @@ -33,13 +33,13 @@ export interface APIEntitlement { */ deleted: boolean; /** - * Start date at which the entitlement is valid. Not present when using test entitlements. + * Start date at which the entitlement is valid. */ - starts_at?: string; + starts_at: string | null; /** - * Date at which the entitlement is no longer valid. Not present when using test entitlements. + * Date at which the entitlement is no longer valid. */ - ends_at?: string; + ends_at: string | null; /** * For consumable items, whether or not the entitlement has been consumed */ diff --git a/payloads/v9/monetization.ts b/payloads/v9/monetization.ts index 47d6e4cd..83ec6d10 100644 --- a/payloads/v9/monetization.ts +++ b/payloads/v9/monetization.ts @@ -33,13 +33,13 @@ export interface APIEntitlement { */ deleted: boolean; /** - * Start date at which the entitlement is valid. Not present when using test entitlements. + * Start date at which the entitlement is valid. */ - starts_at?: string; + starts_at: string | null; /** - * Date at which the entitlement is no longer valid. Not present when using test entitlements. + * Date at which the entitlement is no longer valid. */ - ends_at?: string; + ends_at: string | null; /** * For consumable items, whether or not the entitlement has been consumed */