@hasna/contacts 0.3.1 → 0.3.2
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/cli/index.js +7 -7
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -5521,13 +5521,13 @@ program.command("seed").description("Seed demo contacts, companies, and relation
|
|
|
5521
5521
|
const elizabeth = createContact({ display_name: "Elizabeth Robles", first_name: "Elizabeth", last_name: "Robles", job_title: "Tax Manager", emails: [{ address: "elizabeth.robles@escalon.services", type: "work", is_primary: true }], source: "manual" });
|
|
5522
5522
|
const drew = createContact({ display_name: "Andrew Jurgensen", first_name: "Andrew", last_name: "Jurgensen", job_title: "Partner", emails: [{ address: "drew@revisionlegal.com", type: "work", is_primary: true }], source: "manual" });
|
|
5523
5523
|
const donna = createContact({ display_name: "Donna Yang", first_name: "Donna", last_name: "Yang", job_title: "Relationship Manager", emails: [{ address: "DYang@svb.com", type: "work", is_primary: true }], source: "manual" });
|
|
5524
|
-
createCompanyRelationship({ contact_id: alina.id, company_id: kpmg.id, relationship_type: "
|
|
5525
|
-
createCompanyRelationship({ contact_id: lucia.id, company_id: kpmg.id, relationship_type: "
|
|
5526
|
-
createCompanyRelationship({ contact_id: elizabeth.id, company_id: escalon.id, relationship_type: "
|
|
5527
|
-
createCompanyRelationship({ contact_id: drew.id, company_id: revisionLegal.id, relationship_type: "
|
|
5528
|
-
createCompanyRelationship({ contact_id: donna.id, company_id: svb.id, relationship_type: "
|
|
5529
|
-
createCompanyRelationship({ contact_id: alina.id, company_id: hasnaInc.id, relationship_type: "
|
|
5530
|
-
createCompanyRelationship({ contact_id: alina.id, company_id: beepMedia.id, relationship_type: "
|
|
5524
|
+
createCompanyRelationship({ contact_id: alina.id, company_id: kpmg.id, relationship_type: "vendor", is_primary: true }, db);
|
|
5525
|
+
createCompanyRelationship({ contact_id: lucia.id, company_id: kpmg.id, relationship_type: "vendor" }, db);
|
|
5526
|
+
createCompanyRelationship({ contact_id: elizabeth.id, company_id: escalon.id, relationship_type: "vendor", is_primary: true }, db);
|
|
5527
|
+
createCompanyRelationship({ contact_id: drew.id, company_id: revisionLegal.id, relationship_type: "vendor", is_primary: true }, db);
|
|
5528
|
+
createCompanyRelationship({ contact_id: donna.id, company_id: svb.id, relationship_type: "vendor", is_primary: true }, db);
|
|
5529
|
+
createCompanyRelationship({ contact_id: alina.id, company_id: hasnaInc.id, relationship_type: "vendor", is_primary: true }, db);
|
|
5530
|
+
createCompanyRelationship({ contact_id: alina.id, company_id: beepMedia.id, relationship_type: "vendor", is_primary: true }, db);
|
|
5531
5531
|
console.log(chalk.green(`\u2713 Seeded: 5 companies, 3 owned entities, 5 key contacts`));
|
|
5532
5532
|
console.log(chalk.gray(" Try: contacts entities list"));
|
|
5533
5533
|
console.log(chalk.gray(" Try: contacts workload " + alina.id));
|