@pipedream/pandadoc 0.2.4 → 0.2.5

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.
@@ -1,11 +1,11 @@
1
1
  import app from "../../pandadoc.app.mjs";
2
2
 
3
- export default defineComponent({
3
+ export default {
4
4
  key: "pandadoc-send-document",
5
5
  name: "Send Document",
6
6
  description: "Move a document to sent status and send an optional email. [See the documentation](https://developers.pandadoc.com/reference/send-document)",
7
7
  type: "action",
8
- version: "0.0.4",
8
+ version: "0.0.5",
9
9
  props: {
10
10
  app,
11
11
  documentId: {
@@ -31,7 +31,7 @@ export default defineComponent({
31
31
  type: "boolean",
32
32
  label: "Silent",
33
33
  description:
34
- `Disables sent, viewed, comment and completed email notifications for document recipients and the document sender. By default, notifications emails are sent for specific actions. If set as true, it won't affect "Approve document" email notification sent to the Approver.`,
34
+ "Disables sent, viewed, comment and completed email notifications for document recipients and the document sender. By default, notifications emails are sent for specific actions. If set as true, it won't affect \"Approve document\" email notification sent to the Approver.",
35
35
  optional: true,
36
36
  default: false,
37
37
  },
@@ -75,7 +75,7 @@ export default defineComponent({
75
75
  break;
76
76
  }
77
77
  console.log(
78
- `Document status is '${documentStatus}' and not 'document.draft'. Waiting 1s and trying again...`
78
+ `Document status is '${documentStatus}' and not 'document.draft'. Waiting 1s and trying again...`,
79
79
  );
80
80
  await new Promise((resolve) => setTimeout(resolve, 1000)); // Wait for 1 second
81
81
  retryCount++;
@@ -114,8 +114,8 @@ export default defineComponent({
114
114
 
115
115
  $.export(
116
116
  "$summary",
117
- `Successfully sent "${response.name}" document with ID: ${response.id} to ${response.recipients.length} recipient(s)`
117
+ `Successfully sent "${response.name}" document with ID: ${response.id} to ${response.recipients.length} recipient(s)`,
118
118
  );
119
119
  return response;
120
120
  },
121
- });
121
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/pandadoc",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Pipedream PandaDoc Components",
5
5
  "main": "pandadoc.app.mjs",
6
6
  "keywords": [