@paddle/paddle-node-sdk 0.1.1 → 0.1.2
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.
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type
|
|
1
|
+
import { type IBillingDetailsUpdate, type ICustomData, type ISubscriptionUpdateItem } from '../../../types';
|
|
2
|
+
import { type CollectionMode, type CurrencyCode, type ProrationBillingMode, type SubscriptionEffectiveFrom } from '../../../enums';
|
|
3
|
+
export interface UpdateSubscriptionDiscount {
|
|
4
|
+
id: string;
|
|
5
|
+
effective_from: SubscriptionEffectiveFrom;
|
|
6
|
+
}
|
|
3
7
|
export interface UpdateSubscriptionRequestBody {
|
|
4
8
|
customer_id?: string;
|
|
5
9
|
address_id?: string;
|
|
6
10
|
business_id?: string | undefined | null;
|
|
7
11
|
currency_code?: CurrencyCode;
|
|
8
12
|
next_billed_at?: string;
|
|
9
|
-
discount?:
|
|
13
|
+
discount?: UpdateSubscriptionDiscount | undefined | null;
|
|
10
14
|
collection_mode?: CollectionMode;
|
|
11
15
|
billing_details?: IBillingDetailsUpdate | undefined | null;
|
|
12
16
|
scheduled_change?: undefined | null;
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.2";
|
package/dist/version.js
CHANGED