multiwoven-integrations 0.1.61 → 0.1.63

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: a5efde87ecb1cfd15171d17bdc92a3248e9ab7b5400542c7e8650e1e3eac2651
4
- data.tar.gz: ad8179cddd26bd47638e4f9b117a99fe762aae1c3772439622962f6a4c8741a7
3
+ metadata.gz: d27c9915ed80faa33f88467a0dddfaeda4c5c91560ca7b94ba9970ece2430bb5
4
+ data.tar.gz: abefc5bb7771864fe8d1e4b6aee4810fa4f36e8db507c634f99d2546cae46df1
5
5
  SHA512:
6
- metadata.gz: f989346268782ec65ce95c33a299755bda4b947fab7fa845c10223856e982742f9940ba9c9ea5d2fb71f2bfdf5f7d6f0e98a8f729c93d17922d363dbf14c04ac
7
- data.tar.gz: 8ecc6a3bfeaa2d9c62bdd58305715672ceede40a75b12fb003a50a4928c5e76522fa2c371a6cbe105053df2a3dbb240cab5a03c22a45b81a419b0d811ef948af
6
+ metadata.gz: e39874d8fce8e065b862a460b84e7e35ca8cef3c1a897a507c6590feb39d45c4ec5a1b4c4ee206f9b7ce8e5763a5cfe77ea4b60ed4861e9f97b83c75ce40f37d
7
+ data.tar.gz: 251d70c151bc3bcb39bc5d3e20464dbc351353dd814b370f45631b3f58ae586ba1e21ab277d67b89943ad5905623a1aa0eb64629ebd0049ec6a774374fe55d41
@@ -9,6 +9,7 @@
9
9
  "properties": {
10
10
  "api_key": {
11
11
  "type": "string",
12
+ "multiwoven_secret": true,
12
13
  "title": "Personal access token",
13
14
  "order": 0
14
15
  },
@@ -9,6 +9,7 @@
9
9
  "properties": {
10
10
  "access_token": {
11
11
  "type": "string",
12
+ "multiwoven_secret": true,
12
13
  "title": "Access Token",
13
14
  "order": 0
14
15
  },
@@ -26,7 +26,8 @@
26
26
  "type": "string"
27
27
  },
28
28
  "private_key": {
29
- "type": "string"
29
+ "type": "string",
30
+ "multiwoven_secret": true
30
31
  },
31
32
  "client_email": {
32
33
  "type": "string",
@@ -9,6 +9,7 @@
9
9
  "properties": {
10
10
  "access_token": {
11
11
  "type": "string",
12
+ "multiwoven_secret": true,
12
13
  "title": "Access Token",
13
14
  "order": 0
14
15
  }
@@ -9,11 +9,13 @@
9
9
  "properties": {
10
10
  "public_api_key": {
11
11
  "type": "string",
12
+ "multiwoven_secret": true,
12
13
  "title": "Public API Key",
13
14
  "order": 0
14
15
  },
15
16
  "private_api_key": {
16
17
  "type": "string",
18
+ "multiwoven_secret": true,
17
19
  "title": "Private API Key",
18
20
  "order": 1
19
21
  }
@@ -21,6 +21,7 @@
21
21
  },
22
22
  "password": {
23
23
  "type": "string",
24
+ "multiwoven_secret": true,
24
25
  "title": "Password",
25
26
  "order": 1
26
27
  },
@@ -36,11 +37,13 @@
36
37
  },
37
38
  "client_secret": {
38
39
  "type": "string",
40
+ "multiwoven_secret": true,
39
41
  "title": "Client Secret",
40
42
  "order": 4
41
43
  },
42
44
  "security_token": {
43
45
  "type": "string",
46
+ "multiwoven_secret": true,
44
47
  "title": "Security Token",
45
48
  "order": 5
46
49
  }
@@ -15,11 +15,13 @@
15
15
  "properties": {
16
16
  "access_token": {
17
17
  "type": "string",
18
+ "multiwoven_secret": true,
18
19
  "title": "Access Token",
19
20
  "order": 0
20
21
  },
21
22
  "refresh_token": {
22
23
  "type": "string",
24
+ "multiwoven_secret": true,
23
25
  "title": "Refresh Token",
24
26
  "order": 1
25
27
  },
@@ -35,6 +37,7 @@
35
37
  },
36
38
  "client_secret": {
37
39
  "type": "string",
40
+ "multiwoven_secret": true,
38
41
  "title": "Client Secret",
39
42
  "order": 4
40
43
  }
@@ -31,6 +31,7 @@
31
31
  "title": "Password",
32
32
  "description": "Password associated with the username.",
33
33
  "type": "string",
34
+ "multiwoven_secret": true,
34
35
  "order": 3
35
36
  },
36
37
  "destination_path": {
@@ -9,6 +9,7 @@
9
9
  "properties": {
10
10
  "api_token": {
11
11
  "type": "string",
12
+ "multiwoven_secret": true,
12
13
  "title": "API Token",
13
14
  "order": 0
14
15
  },
@@ -9,6 +9,7 @@
9
9
  "properties": {
10
10
  "api_key": {
11
11
  "type": "string",
12
+ "multiwoven_secret": true,
12
13
  "title": "API Key",
13
14
  "order": 0
14
15
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Multiwoven
4
4
  module Integrations
5
- VERSION = "0.1.61"
5
+ VERSION = "0.1.63"
6
6
 
7
7
  ENABLED_SOURCES = %w[
8
8
  Snowflake
@@ -34,7 +34,8 @@
34
34
  "type": "string"
35
35
  },
36
36
  "private_key": {
37
- "type": "string"
37
+ "type": "string",
38
+ "multiwoven_secret": true
38
39
  },
39
40
  "client_email": {
40
41
  "type": "string",
@@ -41,7 +41,7 @@ module Multiwoven
41
41
  connection_config = sync_config.source.connection_specification.with_indifferent_access
42
42
  initialize_client(connection_config)
43
43
  query = sync_config.model.query
44
- query = batched_query(query, sync_config.limit, sync_config.offset) unless sync_config.limit.nil? && sync_config.offset.nil?
44
+ query = "#{query} LIMIT #{sync_config.limit}" unless sync_config.limit.nil?
45
45
  queried_data = @client.query(query)
46
46
  results = queried_data.map do |record|
47
47
  flatten_nested_hash(record)
@@ -22,6 +22,7 @@
22
22
  },
23
23
  "password": {
24
24
  "type": "string",
25
+ "multiwoven_secret": true,
25
26
  "title": "Password",
26
27
  "order": 1
27
28
  },
@@ -37,11 +38,13 @@
37
38
  },
38
39
  "client_secret": {
39
40
  "type": "string",
41
+ "multiwoven_secret": true,
40
42
  "title": "Client Secret",
41
43
  "order": 4
42
44
  },
43
45
  "security_token": {
44
46
  "type": "string",
47
+ "multiwoven_secret": true,
45
48
  "title": "Security Token",
46
49
  "order": 5
47
50
  }
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.1.61
4
+ version: 0.1.63
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: 2024-04-16 00:00:00.000000000 Z
11
+ date: 2024-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport