@shaxpir/duiduidui-models 1.13.0 → 1.15.0
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.
package/dist/models/Billing.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { CompactDateTime, MultiTime } from '@shaxpir/shaxpir-common';
|
|
|
3
3
|
import { ShareSync } from '../repo';
|
|
4
4
|
import { Content, ContentBody, ContentId, ContentMeta } from "./Content";
|
|
5
5
|
export type SubscriptionStatus = 'active' | 'trialing' | 'grace_period' | 'expired' | 'inactive';
|
|
6
|
-
export type SubscriptionSource = 'app_store' | 'stripe' | 'promo' | 'lifetime_free';
|
|
6
|
+
export type SubscriptionSource = 'app_store' | 'play_store' | 'stripe' | 'promo' | 'lifetime_free';
|
|
7
7
|
export interface BillingPayload {
|
|
8
8
|
subscription_status: SubscriptionStatus;
|
|
9
9
|
subscription_source: SubscriptionSource | null;
|
|
@@ -11,6 +11,8 @@ export interface BillingPayload {
|
|
|
11
11
|
renewed_at: CompactDateTime | null;
|
|
12
12
|
app_store_product_id: string | null;
|
|
13
13
|
app_store_original_transaction_id: string | null;
|
|
14
|
+
play_store_product_id: string | null;
|
|
15
|
+
play_store_purchase_token: string | null;
|
|
14
16
|
stripe_customer_id: string | null;
|
|
15
17
|
stripe_subscription_id: string | null;
|
|
16
18
|
grant_note: string | null;
|
package/dist/models/Billing.js
CHANGED
|
@@ -17,6 +17,8 @@ class Billing extends Content_1.Content {
|
|
|
17
17
|
renewed_at: null,
|
|
18
18
|
app_store_product_id: null,
|
|
19
19
|
app_store_original_transaction_id: null,
|
|
20
|
+
play_store_product_id: null,
|
|
21
|
+
play_store_purchase_token: null,
|
|
20
22
|
stripe_customer_id: null,
|
|
21
23
|
stripe_subscription_id: null,
|
|
22
24
|
grant_note: null
|