-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from panoratech/feat/freshsales-integration-cr…
…m-contact feat: started add-contact integration
- Loading branch information
Showing
22 changed files
with
321 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
packages/api/prisma/migrations/20231023135023_init/migration.sql
This file was deleted.
Oops, something went wrong.
97 changes: 0 additions & 97 deletions
97
packages/api/prisma/migrations/20231024140507_init/migration.sql
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# SCRIPT TO USE IF YOU WANT TO UPDATE YOUR PRISMA MODEL BASED ON YOUR DB | ||
# it pulls changes from your database to your Prisma schema | ||
# DB => PRISMA MODEL | ||
|
||
# Check if there are any new migrations and run them. | ||
npx prisma db pull | ||
|
||
# Generate Prisma Client | ||
npx prisma generate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
import { Email, Phone } from '../types'; | ||
|
||
export class CreateContactDto { | ||
first_name: string; | ||
last_name: string; | ||
email_addresses: string[]; | ||
phone_numbers: string[]; | ||
email_addresses: Email[]; | ||
phone_numbers: Phone[]; | ||
} |
Oops, something went wrong.