@cofondateurauchomage/libs 1.1.148 → 1.1.150
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/build/db.model.d.ts +3 -4
- package/package.json +1 -1
package/build/db.model.d.ts
CHANGED
|
@@ -87,7 +87,6 @@ export type IProspect = Partial<Omit<IUser, "id" | "plan" | "visibility" | "clic
|
|
|
87
87
|
email: string;
|
|
88
88
|
};
|
|
89
89
|
export interface IStripeMeta {
|
|
90
|
-
stripeId?: string;
|
|
91
90
|
/** First successful invoice payment tied to subscriptions (unix ms). */
|
|
92
91
|
stripeFirstPaidAt?: number;
|
|
93
92
|
/** Last successful invoice payment (unix ms). */
|
|
@@ -103,11 +102,11 @@ export interface IStripeMeta {
|
|
|
103
102
|
subscriptionCancellationComment?: string;
|
|
104
103
|
}
|
|
105
104
|
/** CRM mirror of `prospects/{id}` without heavy assets or long text fields. */
|
|
106
|
-
type ICrmProspectProfileSnapshot = Omit<IProspect, "
|
|
105
|
+
type ICrmProspectProfileSnapshot = Omit<IProspect, "motivations" | "bestStrength" | "partner" | "business" | "description" | "status_detail">;
|
|
107
106
|
/** CRM mirror of `users/{id}` without heavy assets or long text fields. */
|
|
108
|
-
type ICrmUserProfileSnapshot = Omit<IUser, "photo" | "motivations" | "bestStrength" | "partner" | "business">;
|
|
107
|
+
type ICrmUserProfileSnapshot = Omit<IUser, "photo" | "motivations" | "bestStrength" | "partner" | "business" | "clicks">;
|
|
109
108
|
/** CRM mirror of `projects/{id}` without heavy assets or long text fields. */
|
|
110
|
-
type ICrmProjectProfileSnapshot = Omit<IProject, "logo" | "description" | "partner" | "status_detail">;
|
|
109
|
+
type ICrmProjectProfileSnapshot = Omit<IProject, "logo" | "description" | "partner" | "status_detail" | "clicks">;
|
|
111
110
|
/** CRM pipeline column; computed server-side from profile + billing state. */
|
|
112
111
|
export type TCrmPipelineBucket = "lead" | "inscrit" | "pro" | "ancien_pro";
|
|
113
112
|
interface ICrmProfileBase {
|