diff --git a/components/sharepoint/actions/create-item/create-item.mjs b/components/sharepoint/actions/create-item/create-item.mjs index c758c252326a6..84147ada0fd93 100644 --- a/components/sharepoint/actions/create-item/create-item.mjs +++ b/components/sharepoint/actions/create-item/create-item.mjs @@ -4,7 +4,7 @@ export default { key: "sharepoint-create-item", name: "Create Item", description: "Create a new item in Microsoft Sharepoint. [See the documentation](https://learn.microsoft.com/en-us/graph/api/listitem-create?view=graph-rest-1.0&tabs=http)", - version: "0.0.3", + version: "0.0.4", type: "action", props: { sharepoint, diff --git a/components/sharepoint/actions/create-list/create-list.mjs b/components/sharepoint/actions/create-list/create-list.mjs index 832c80c8f80de..942af88c4109a 100644 --- a/components/sharepoint/actions/create-list/create-list.mjs +++ b/components/sharepoint/actions/create-list/create-list.mjs @@ -4,7 +4,7 @@ export default { key: "sharepoint-create-list", name: "Create List", description: "Create a new list in Microsoft Sharepoint. [See the documentation](https://learn.microsoft.com/en-us/graph/api/list-create?view=graph-rest-1.0&tabs=http)", - version: "0.0.3", + version: "0.0.4", type: "action", props: { sharepoint, diff --git a/components/sharepoint/actions/download-file/download-file.mjs b/components/sharepoint/actions/download-file/download-file.mjs index b3c662c38daac..bc8e7095220f3 100644 --- a/components/sharepoint/actions/download-file/download-file.mjs +++ b/components/sharepoint/actions/download-file/download-file.mjs @@ -5,7 +5,7 @@ export default { key: "sharepoint-download-file", name: "Download File", description: "Download a Microsoft Sharepoint file to the /tmp directory. [See the documentation](https://learn.microsoft.com/en-us/graph/api/driveitem-get-content?view=graph-rest-1.0&tabs=http)", - version: "0.0.1", + version: "0.0.2", type: "action", props: { sharepoint, @@ -43,7 +43,7 @@ export default { async run({ $ }) { const response = await this.sharepoint.getFile({ $, - siteId: this.siteId, + driveId: this.driveId, fileId: this.fileId, responseType: "arraybuffer", }); diff --git a/components/sharepoint/actions/update-item/update-item.mjs b/components/sharepoint/actions/update-item/update-item.mjs index a05e250492875..cecf4f5760e97 100644 --- a/components/sharepoint/actions/update-item/update-item.mjs +++ b/components/sharepoint/actions/update-item/update-item.mjs @@ -5,7 +5,7 @@ export default { key: "sharepoint-update-item", name: "Update Item", description: "Updates an existing item in Microsoft Sharepoint. [See the documentation](https://learn.microsoft.com/en-us/graph/api/listitem-update?view=graph-rest-1.0&tabs=http)", - version: "0.0.2", + version: "0.0.3", type: "action", props: { sharepoint, diff --git a/components/sharepoint/package.json b/components/sharepoint/package.json index 4c9d12b349476..bdb7fcc614688 100644 --- a/components/sharepoint/package.json +++ b/components/sharepoint/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/sharepoint", - "version": "0.3.0", + "version": "0.3.1", "description": "Pipedream Microsoft Sharepoint Online Components", "main": "sharepoint.app.mjs", "keywords": [ diff --git a/components/sharepoint/sharepoint.app.mjs b/components/sharepoint/sharepoint.app.mjs index d523e4b640184..ee21c3dbea21b 100644 --- a/components/sharepoint/sharepoint.app.mjs +++ b/components/sharepoint/sharepoint.app.mjs @@ -254,10 +254,10 @@ export default { }); }, getFile({ - siteId, fileId, ...args + driveId, fileId, ...args }) { return this._makeRequest({ - path: `/sites/${siteId}/drive/items/${fileId}/content`, + path: `/drives/${driveId}/items/${fileId}/content`, ...args, }); }, diff --git a/components/sharepoint/sources/new-list-item/new-list-item.mjs b/components/sharepoint/sources/new-list-item/new-list-item.mjs index 4c18625452128..4e7a2b57a3175 100644 --- a/components/sharepoint/sources/new-list-item/new-list-item.mjs +++ b/components/sharepoint/sources/new-list-item/new-list-item.mjs @@ -5,7 +5,7 @@ export default { key: "sharepoint-new-list-item", name: "New List Item", description: "Emit new event when a new list is created in Microsoft Sharepoint.", - version: "0.0.3", + version: "0.0.4", type: "source", dedupe: "unique", props: { diff --git a/components/sharepoint/sources/updated-list-item/updated-list-item.mjs b/components/sharepoint/sources/updated-list-item/updated-list-item.mjs index ead8a17b19215..9fd8d17b9a2f4 100644 --- a/components/sharepoint/sources/updated-list-item/updated-list-item.mjs +++ b/components/sharepoint/sources/updated-list-item/updated-list-item.mjs @@ -5,7 +5,7 @@ export default { key: "sharepoint-updated-list-item", name: "Updated List Item", description: "Emit new event when a list is updated in Microsoft Sharepoint.", - version: "0.0.3", + version: "0.0.4", type: "source", dedupe: "unique", props: { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index eeb566cba33cb..98a878bb1008e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6967,8 +6967,7 @@ importers: components/kartra: {} - components/keboola: - specifiers: {} + components/keboola: {} components/keen: dependencies: