Skip to content

Commit

Permalink
chore: Update internal SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
birkjernstrom committed Dec 13, 2024
1 parent c502dd6 commit 003bc72
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions clients/packages/sdk/src/client/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7219,13 +7219,13 @@ export interface CustomerSubscriptionCancel {
* @type {CustomerCancellationReason}
* @memberof CustomerSubscriptionCancel
*/
reason?: CustomerCancellationReason;
reason?: CustomerCancellationReason | null;
/**
* Customer feedback and why they decided to cancel.
*
* @type {string}
* @memberof CustomerSubscriptionCancel
*/
comment?: string;
comment?: string | null;
}


Expand Down Expand Up @@ -17127,32 +17127,23 @@ export interface Subscription {
*/
export interface SubscriptionCancel {
/**
* Cancel subscription immediately (`True`). Otherwise, subscription is canceled at period end by default.
*
* @type {boolean}
* @memberof SubscriptionCancel
*/
now?: boolean;
now?: boolean | null;
/**
*
* @type {CustomerCancellationReason}
* @memberof SubscriptionCancel
*/
customer_reason?: CustomerCancellationReason;
customer_reason?: CustomerCancellationReason | null;
/**
* Customer feedback and why they decided to cancel.
*
* **IMPORTANT:**
* Do not use this to store internal notes! It's intended to be input
* from the customer and is therefore also available in their Polar
* purchases library.
*
* Only set this in case your own service is requesting the reason from the
* customer. Or you copy a message directly from a customer
* conversation, i.e support.
* @type {string}
* @memberof SubscriptionCancel
*/
customer_comment?: string;
customer_comment?: string | null;
}


Expand Down

0 comments on commit 003bc72

Please sign in to comment.