diff --git a/components/smartsuite/package.json b/components/smartsuite/package.json index 97321cd418ca0..159f2af208cbf 100644 --- a/components/smartsuite/package.json +++ b/components/smartsuite/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/smartsuite", - "version": "0.1.0", + "version": "0.1.1", "description": "Pipedream SmartSuite Components", "main": "smartsuite.app.mjs", "keywords": [ diff --git a/components/smartsuite/sources/common/base.mjs b/components/smartsuite/sources/common/base.mjs index 0aa060f46bdae..0f64216840c67 100644 --- a/components/smartsuite/sources/common/base.mjs +++ b/components/smartsuite/sources/common/base.mjs @@ -5,6 +5,14 @@ export default { smartsuite, db: "$.service.db", http: "$.interface.http", + timer: { + label: "Webhook renewal schedule", + description: "The SmartSuite API requires occasional renewal of webhooks. **This runs in the background, so you should not need to modify this schedule**.", + type: "$.interface.timer", + static: { + intervalSeconds: 24 * 60 * 60, // once per day + }, + }, solutionId: { propDefinition: [ smartsuite, diff --git a/components/smartsuite/sources/new-record-created-instant/new-record-created-instant.mjs b/components/smartsuite/sources/new-record-created-instant/new-record-created-instant.mjs index 08e2ea1e249c8..41661125c0593 100644 --- a/components/smartsuite/sources/new-record-created-instant/new-record-created-instant.mjs +++ b/components/smartsuite/sources/new-record-created-instant/new-record-created-instant.mjs @@ -6,7 +6,7 @@ export default { key: "smartsuite-new-record-created-instant", name: "New Record Created (Instant)", description: "Emit new event when a new record is created", - version: "0.0.1", + version: "0.0.2", type: "source", dedupe: "unique", methods: { diff --git a/components/smartsuite/sources/record-updated-instant/record-updated-instant.mjs b/components/smartsuite/sources/record-updated-instant/record-updated-instant.mjs index 97dfe46577e61..332e121b9fbda 100644 --- a/components/smartsuite/sources/record-updated-instant/record-updated-instant.mjs +++ b/components/smartsuite/sources/record-updated-instant/record-updated-instant.mjs @@ -6,7 +6,7 @@ export default { key: "smartsuite-record-updated-instant", name: "Record Updated (Instant)", description: "Emit new event when an existing record is updated", - version: "0.0.1", + version: "0.0.2", type: "source", dedupe: "unique", methods: {