Skip to content

Commit d3e872b

Browse files
committed
some adjusts
1 parent d8b3093 commit d3e872b

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

components/boldsign/actions/send-document-template/send-document-template.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default {
3636
roles: {
3737
type: "string[]",
3838
label: "Roles",
39-
description: "Roles assigned to the signers. [See the documentation](https://developers.boldsign.com/documents/send-document-from-template) for further information.",
39+
description: "A role is simply a placeholder for a real person. For example, if we have a purchase order that will always be signed by two people, one from the company and one from the customer, we can create a template with two roles Customer and Representative. Example: **[{\"roleIndex\": 50,\"signerName\": \"Richard\",\"signerOrder\": 1,\"signerEmail\": \"richard@cubeflakes.com\",\"privateMessage\": \"Please check and sign the document.\",\"authenticationCode\": \"281028\",\"enableEmailOTP\": false,\"signerType\": \"Signer\",\"signerRole\": \"Manager\",\"formFields\": [{\"id\": \"SignField\",\"fieldType\": \"Signature\",\"pageNumber\": 1,\"bounds\": {\"x\": 100,\"y\": 100,\"width\": 100,\"height\": 50},\"isRequired\": true}]**.",
4040
},
4141
brandId: {
4242
propDefinition: [
@@ -156,7 +156,7 @@ export default {
156156
files: {
157157
type: "string[]",
158158
label: "Files",
159-
description: "Files to include in the document.",
159+
description: "A list of paths to files in the `/tmp` directory. [See the documentation on working with files](https://pipedream.com/docs/code/nodejs/working-with-files/#writing-a-file-to-tmp).",
160160
optional: true,
161161
},
162162
fileUrls: {
@@ -230,7 +230,7 @@ export default {
230230
reminderDays: this.reminderDays,
231231
reminderCount: this.reminderCount,
232232
},
233-
cc: this.cc ?? parseObject(this.cc)?.map((item) => ({
233+
cc: parseObject(this.cc)?.map((item) => ({
234234
emailAddress: item,
235235
})),
236236
expiryDays: this.expiryDays,

components/boldsign/boldsign.app.mjs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,7 @@ export default {
5353
},
5454
});
5555

56-
return result.map(({
57-
id: value, email: label,
58-
}) => ({
59-
label,
60-
value,
61-
}));
56+
return result.map(({ email }) => email);
6257
},
6358
},
6459
sentBy: {

0 commit comments

Comments
 (0)