-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5df6447
commit e06a9a5
Showing
4 changed files
with
6 additions
and
28 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 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 |
---|---|---|
|
@@ -32,13 +32,13 @@ export default { | |
}, | ||
emails: { | ||
type: "string[]", | ||
label: "Email", | ||
label: "Emails", | ||
description: "Email addresses (one or more) associated with the person, presented in the same manner as received by GET request of a person. **Example: {\"value\":\"[email protected]\", \"primary\":true, \"label\":\"work\"}**", | ||
optional: true, | ||
}, | ||
phones: { | ||
type: "string[]", | ||
label: "Phone", | ||
label: "Phones", | ||
description: "Phone numbers (one or more) associated with the person, presented in the same manner as received by GET request of a person. **Example: {\"value\":\"12345\", \"primary\":true, \"label\":\"work\"}**", | ||
optional: true, | ||
}, | ||
|
@@ -49,13 +49,6 @@ export default { | |
], | ||
description: "Visibility of the person. If omitted, visibility will be set to the default visibility setting of this item type for the authorized user.", | ||
}, | ||
addTime: { | ||
propDefinition: [ | ||
pipedriveApp, | ||
"addTime", | ||
], | ||
description: "Optional creation date & time of the person in UTC. Requires admin user API token. Format: `YYYY-MM-DDTHH:MM:SSZ`", | ||
}, | ||
}, | ||
async run({ $ }) { | ||
try { | ||
|
@@ -64,7 +57,6 @@ export default { | |
name: this.name, | ||
owner_id: this.ownerId, | ||
org_id: this.organizationId, | ||
add_time: this.addTime, | ||
emails: parseObject(this.emails), | ||
phones: parseObject(this.phones), | ||
visible_to: this.visibleTo, | ||
|
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