@cofondateurauchomage/libs 1.1.146 → 1.1.147
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/api.d.ts +4 -4
- package/build/db.model.d.ts +1 -1
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -2,18 +2,18 @@ import { IBlogHtmlArticle, IContact, INewsletter, IProject, IProspect, IReaction
|
|
|
2
2
|
export type CloudFunctionNames = "createProject" | "updateProject" | "deleteProject" | "createUser" | "updateUser" | "deleteUser" | "updateVisibility" | "addStripeId" | "updatePlan" | "updateMetaStripe" | "addStatsAssociation" | "updateNewsletter" | "createProspect" | "getProspect" | "updateProspect" | "createReaction" | "deleteReaction" | "createBlogHtmlArticle";
|
|
3
3
|
export type RouteNames = "checkout_session" | "delete_customer" | "portal_session" | "webhook";
|
|
4
4
|
export type BodyForO<O extends CloudFunctionNames | RouteNames> = {
|
|
5
|
-
createProject: Omit<IProject, "id" | "plan" | "visibility" | "clicks" | "creationDate" | "lastConnection" | "stripeId" | "referrer" | "postedOnLinkedInAt"> & IContact & {
|
|
5
|
+
createProject: Omit<IProject, "id" | "plan" | "visibility" | "clicks" | "creationDate" | "lastConnection" | "stripeId" | "referrer" | "postedOnLinkedInAt" | "complimentaryProGrantedAt" | "complimentaryProRevokedAt"> & IContact & {
|
|
6
6
|
newsletterMarketing?: boolean;
|
|
7
7
|
emailProspect: string;
|
|
8
8
|
};
|
|
9
9
|
deleteProject: {};
|
|
10
|
-
updateProject: Partial<Omit<IProject, "id" | "plan" | "visibility" | "clicks" | "creationDate" | "lastConnection" | "stripeId" | "referrer" | "postedOnLinkedInAt" | "partner_swanbase" | "partner_iii"> & Omit<IContact, "email">>;
|
|
11
|
-
createUser: Omit<IUser, "id" | "plan" | "visibility" | "clicks" | "creationDate" | "lastConnection" | "stripeId" | "referrer"> & IContact & {
|
|
10
|
+
updateProject: Partial<Omit<IProject, "id" | "plan" | "visibility" | "clicks" | "creationDate" | "lastConnection" | "stripeId" | "referrer" | "postedOnLinkedInAt" | "partner_swanbase" | "partner_iii" | "complimentaryProGrantedAt" | "complimentaryProRevokedAt"> & Omit<IContact, "email">>;
|
|
11
|
+
createUser: Omit<IUser, "id" | "plan" | "visibility" | "clicks" | "creationDate" | "lastConnection" | "stripeId" | "referrer" | "complimentaryProGrantedAt" | "complimentaryProRevokedAt"> & IContact & {
|
|
12
12
|
newsletterMarketing?: boolean;
|
|
13
13
|
emailProspect: string;
|
|
14
14
|
};
|
|
15
15
|
deleteUser: {};
|
|
16
|
-
updateUser: Partial<Omit<IUser, "id" | "plan" | "visibility" | "clicks" | "creationDate" | "lastConnection" | "stripeId" | "referrer"> & Omit<IContact, "email">>;
|
|
16
|
+
updateUser: Partial<Omit<IUser, "id" | "plan" | "visibility" | "clicks" | "creationDate" | "lastConnection" | "stripeId" | "referrer" | "complimentaryProGrantedAt" | "complimentaryProRevokedAt"> & Omit<IContact, "email">>;
|
|
17
17
|
updateVisibility: {
|
|
18
18
|
visibility: TVisibility;
|
|
19
19
|
};
|
package/build/db.model.d.ts
CHANGED
|
@@ -145,7 +145,7 @@ export interface INotification {
|
|
|
145
145
|
body?: string;
|
|
146
146
|
link?: string;
|
|
147
147
|
}
|
|
148
|
-
export type IProspect = Partial<Omit<IUser, "id" | "plan" | "visibility" | "clicks" | "lastConnection" | "stripeId" | "photo" | 'availability'>> & Partial<Omit<IProject, "id" | "plan" | "visibility" | "clicks" | "lastConnection" | "stripeId" | "logo" | "postedOnLinkedInAt" | 'ambitions' | 'productTypes' | 'industries'>> & Partial<IContact> & {
|
|
148
|
+
export type IProspect = Partial<Omit<IUser, "id" | "plan" | "visibility" | "clicks" | "lastConnection" | "stripeId" | "photo" | 'availability' | "complimentaryProGrantedAt" | "complimentaryProRevokedAt">> & Partial<Omit<IProject, "id" | "plan" | "visibility" | "clicks" | "lastConnection" | "stripeId" | "logo" | "postedOnLinkedInAt" | 'ambitions' | 'productTypes' | 'industries' | "complimentaryProGrantedAt" | "complimentaryProRevokedAt">> & Partial<IContact> & {
|
|
149
149
|
email: string;
|
|
150
150
|
};
|
|
151
151
|
export type IReactionStatus = "like" | "dislike";
|