@demind-inc/core 1.2.38 → 1.2.40
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,7 +1,9 @@
|
|
|
1
|
+
import { DocumentReference } from "@google-cloud/firestore";
|
|
1
2
|
export type TodoIntegrationType = "trello" | "todoist" | "ticktick" | "notion";
|
|
2
3
|
export interface TodoIntegration {
|
|
3
4
|
todoIntegrationId: string;
|
|
4
5
|
source: TodoIntegrationType;
|
|
5
6
|
memberId: string;
|
|
6
7
|
boardIds: string[];
|
|
8
|
+
boardRefs?: DocumentReference[];
|
|
7
9
|
}
|
package/dist/models/User.d.ts
CHANGED
|
@@ -60,6 +60,13 @@ export interface Subscription {
|
|
|
60
60
|
metadata?: {
|
|
61
61
|
stripeLookupKey?: StripeLookupkey;
|
|
62
62
|
};
|
|
63
|
+
grants?: GrantSubscription[];
|
|
64
|
+
}
|
|
65
|
+
export interface GrantSubscription {
|
|
66
|
+
productId: string;
|
|
67
|
+
purchaseDate?: string;
|
|
68
|
+
gracePeriodExpiresDate?: string;
|
|
69
|
+
expirationDate?: string;
|
|
63
70
|
}
|
|
64
71
|
export interface ConvertedReferralCampaign {
|
|
65
72
|
campaignId: string;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { DocumentReference } from "@google-cloud/firestore";
|
|
2
|
+
|
|
1
3
|
export type TodoIntegrationType = "trello" | "todoist" | "ticktick" | "notion";
|
|
2
4
|
|
|
3
5
|
export interface TodoIntegration {
|
|
@@ -5,4 +7,5 @@ export interface TodoIntegration {
|
|
|
5
7
|
source: TodoIntegrationType;
|
|
6
8
|
memberId: string;
|
|
7
9
|
boardIds: string[];
|
|
10
|
+
boardRefs?: DocumentReference[];
|
|
8
11
|
}
|
package/lib/models/User.ts
CHANGED
|
@@ -66,6 +66,14 @@ export interface Subscription {
|
|
|
66
66
|
metadata?: {
|
|
67
67
|
stripeLookupKey?: StripeLookupkey;
|
|
68
68
|
};
|
|
69
|
+
grants?: GrantSubscription[];
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface GrantSubscription {
|
|
73
|
+
productId: string;
|
|
74
|
+
purchaseDate?: string;
|
|
75
|
+
gracePeriodExpiresDate?: string;
|
|
76
|
+
expirationDate?: string;
|
|
69
77
|
}
|
|
70
78
|
|
|
71
79
|
export interface ConvertedReferralCampaign {
|