Skip to content

Commit 68e19d3

Browse files
authored
chore(APIEntitlement): update ends_at and starts_at to be nullable (#1158)
1 parent 534dc2f commit 68e19d3

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

deno/payloads/v10/monetization.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ export interface APIEntitlement {
3333
*/
3434
deleted: boolean;
3535
/**
36-
* Start date at which the entitlement is valid. Not present when using test entitlements.
36+
* Start date at which the entitlement is valid.
3737
*/
38-
starts_at?: string;
38+
starts_at: string | null;
3939
/**
40-
* Date at which the entitlement is no longer valid. Not present when using test entitlements.
40+
* Date at which the entitlement is no longer valid.
4141
*/
42-
ends_at?: string;
42+
ends_at: string | null;
4343
/**
4444
* For consumable items, whether or not the entitlement has been consumed
4545
*/

deno/payloads/v9/monetization.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ export interface APIEntitlement {
3333
*/
3434
deleted: boolean;
3535
/**
36-
* Start date at which the entitlement is valid. Not present when using test entitlements.
36+
* Start date at which the entitlement is valid.
3737
*/
38-
starts_at?: string;
38+
starts_at: string | null;
3939
/**
40-
* Date at which the entitlement is no longer valid. Not present when using test entitlements.
40+
* Date at which the entitlement is no longer valid.
4141
*/
42-
ends_at?: string;
42+
ends_at: string | null;
4343
/**
4444
* For consumable items, whether or not the entitlement has been consumed
4545
*/

payloads/v10/monetization.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ export interface APIEntitlement {
3333
*/
3434
deleted: boolean;
3535
/**
36-
* Start date at which the entitlement is valid. Not present when using test entitlements.
36+
* Start date at which the entitlement is valid.
3737
*/
38-
starts_at?: string;
38+
starts_at: string | null;
3939
/**
40-
* Date at which the entitlement is no longer valid. Not present when using test entitlements.
40+
* Date at which the entitlement is no longer valid.
4141
*/
42-
ends_at?: string;
42+
ends_at: string | null;
4343
/**
4444
* For consumable items, whether or not the entitlement has been consumed
4545
*/

payloads/v9/monetization.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ export interface APIEntitlement {
3333
*/
3434
deleted: boolean;
3535
/**
36-
* Start date at which the entitlement is valid. Not present when using test entitlements.
36+
* Start date at which the entitlement is valid.
3737
*/
38-
starts_at?: string;
38+
starts_at: string | null;
3939
/**
40-
* Date at which the entitlement is no longer valid. Not present when using test entitlements.
40+
* Date at which the entitlement is no longer valid.
4141
*/
42-
ends_at?: string;
42+
ends_at: string | null;
4343
/**
4444
* For consumable items, whether or not the entitlement has been consumed
4545
*/

0 commit comments

Comments
 (0)