@salable/sdk 1.0.57 → 1.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -100,11 +100,11 @@ export declare function serializeSubscriptionsPostResponse(writer: Serialization
|
|
|
100
100
|
export declare function serializeSubscriptionsPostResponse_data(writer: SerializationWriter, subscriptionsPostResponse_data?: Partial<SubscriptionsPostResponse_data> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
101
101
|
export interface SubscriptionsPostRequestBody extends Parsable {
|
|
102
102
|
/**
|
|
103
|
-
* When `true`, the subscription will be cancelled at the end of the current billing period rather than renewing.
|
|
103
|
+
* When `true`, the subscription will be cancelled at the end of the current billing period rather than renewing. Required and must be `true` when `expiryDate` is provided without an `interval`.
|
|
104
104
|
*/
|
|
105
105
|
cancelAtPeriodEnd?: boolean | null;
|
|
106
106
|
/**
|
|
107
|
-
* A
|
|
107
|
+
* A future date on which the subscription period ends. When `interval` is omitted, `cancelAtPeriodEnd` must be `true`. Cannot be used together with `isPerpetual`.
|
|
108
108
|
*/
|
|
109
109
|
expiryDate?: Date | null;
|
|
110
110
|
/**
|