multiwoven-integrations 0.37.2 → 0.37.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf113d6e6e2f24e38a654d330b67c6e97019d59365672153719805eccb81800a
4
- data.tar.gz: 1ac0e51a66664f3148f48511507fa208a5b49a040a458835715d0229fe772340
3
+ metadata.gz: 71ee8fd3c0651926a4285dc991142f7c753debe1ea38688f68d14f0905c1e0f8
4
+ data.tar.gz: cd5d27846c0b7bc4921e3b2868bc33818e16e4951bed490e591b2c637642dd9f
5
5
  SHA512:
6
- metadata.gz: d804ad1b9a31c9842d222beb91429f43cdc73eb5cb50524ec826ad45c8f4b3653493992cc83ead61b020e5a01a89342cd88ca3ab1e062bfa358a410ce71e4673
7
- data.tar.gz: ee1409a6627a05cfd6d5aebea2bf8a4bc9230fc30f0200d4054136c0f1e93c6d458657097324c55bb67b14f059b4b67cb35e1b44e49707ac67501ef9defe0ce7
6
+ metadata.gz: ef8609b54259350604f85f6b9632b3887cbc4861ac8934fa562ded4193ca61155546e981197ae2ddf932523e2ad5143aa7c102d026bd5bd73c24d45442054d88
7
+ data.tar.gz: 5e2f1f9e798012bc049733c515f31b91d95f3d962cc1d4a28434c24cf589f9f1a5daa804b122207a26792ba3b9e806d4f22ad2153b82aab2f75ae31b1d29dfac
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Multiwoven
4
4
  module Integrations
5
- VERSION = "0.37.2"
5
+ VERSION = "0.37.3"
6
6
 
7
7
  ENABLED_SOURCES = %w[
8
8
  Snowflake
@@ -87,6 +87,8 @@ module Multiwoven::Integrations::Source
87
87
  end
88
88
 
89
89
  def create_connection(connection_config)
90
+ raise ArgumentError, "User Name or Share URL is required" unless connection_config[:share_url].present? || connection_config[:user_name].present?
91
+
90
92
  load_connection_config(connection_config)
91
93
 
92
94
  if @share_url.present?
@@ -6,7 +6,7 @@
6
6
  "$schema": "http://json-schema.org/draft-07/schema#",
7
7
  "title": "OneDrive",
8
8
  "type": "object",
9
- "required": ["user_name", "tenant_id", "client_id", "client_secret"],
9
+ "required": ["tenant_id", "client_id", "client_secret"],
10
10
  "properties": {
11
11
  "data_type": {
12
12
  "description": "Type of data in files",
@@ -18,11 +18,6 @@
18
18
  ],
19
19
  "default": "structured"
20
20
  },
21
- "user_name": {
22
- "type": "string",
23
- "description": "Email address of the OneDrive user to access on behalf of",
24
- "title": "User Name"
25
- },
26
21
  "tenant_id": {
27
22
  "type": "string",
28
23
  "description": "Azure AD tenant ID",
@@ -30,23 +25,30 @@
30
25
  },
31
26
  "client_id": {
32
27
  "type": "string",
28
+ "description": "Azure AD client ID",
33
29
  "multiwoven_secret": true,
34
30
  "title": "Client ID"
35
31
  },
36
32
  "client_secret": {
37
33
  "type": "string",
34
+ "description": "Azure AD client secret",
38
35
  "multiwoven_secret": true,
39
36
  "title": "Client Secret"
40
37
  },
38
+ "user_name": {
39
+ "type": "string",
40
+ "description": "Email address to access Root Folder, skip if using Share URL",
41
+ "title": "User Name"
42
+ },
41
43
  "share_url": {
42
44
  "type": "string",
43
45
  "title": "Share URL",
44
- "description": "OneDrive or SharePoint sharing link for the folder to read from. When not set, the user's OneDrive root folder is used."
46
+ "description": "OneDrive or SharePoint sharing link for the folder to read from, skip if using User Name to access Root Folder."
45
47
  },
46
48
  "file_name": {
47
49
  "type": "string",
48
50
  "title": "File Name",
49
- "description": "Optional. For unstructured data, fetches only this file from the shared folder."
51
+ "description": "Optional. For unstructured data, fetches only this file from the folder."
50
52
  },
51
53
  "access_token": {
52
54
  "type": "string",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multiwoven-integrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.2
4
+ version: 0.37.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Subin T P
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-06-30 00:00:00.000000000 Z
11
+ date: 2026-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport