multiwoven-integrations 0.1.32 → 0.1.33

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: 4a489a81f1256c4b9b3330ff9a0bdf0e0de4ea6785adfb46ff5569598657c452
4
- data.tar.gz: a87e81b569be6ff5f9a5828aaca24da6ca533f1b7f3e584c673186a4641b715a
3
+ metadata.gz: a66cfeeb953e2701791198684f366777de89f4705352170541a1b0d8d53b7480
4
+ data.tar.gz: b72930a210e79eff11377e0b3f4f7b6a21e647efea3e043eb54cf59bb760eba0
5
5
  SHA512:
6
- metadata.gz: 3320dbac0e973597222396a356d32bcd40763b20a84cf022fff0b242efc170b7ccac7f8d977a7f37da66196e8def6a456a8e2a5bd4d116d3889bf4eca1b40e8e
7
- data.tar.gz: 631c60c420a342bcfc5bf0f0e8f48905fd0de4466843d87a24769862b3d1ace7b9d52f419d3ffcdd8e06560eaa8a533408236967db105e5f708e2e30bebf53b3
6
+ metadata.gz: c9862d1309777e818009d27518cbf80371d7a05158749959eebdd7614b32adf31e49b624d864846a50e1377c1e4bf8b9fbe561ca002be934ecb42e3b2ad9c921
7
+ data.tar.gz: b8faac5a076b51a73dae8f522e6481777441591e48ecd1dbb4e4d74292f8ce418aad7cb5e44fc160256c5712e98fa15a98382285486e5d5217e27a55a4370bdd
@@ -94,7 +94,8 @@ module Multiwoven
94
94
  json_schema: stream_json["json_schema"],
95
95
  request_rate_limit: stream_json["request_rate_limit"].to_i,
96
96
  request_rate_limit_unit: stream_json["request_rate_limit_unit"] || "minute",
97
- request_rate_concurrency: stream_json["request_rate_concurrency"].to_i
97
+ request_rate_concurrency: stream_json["request_rate_concurrency"].to_i,
98
+ supported_sync_modes: stream_json["supported_sync_modes"]
98
99
  )
99
100
  end
100
101
  end
@@ -94,7 +94,7 @@
94
94
  }
95
95
  }
96
96
  },
97
- "supported_sync_modes": ["full_refresh", "incremental"],
97
+ "supported_sync_modes": ["incremental"],
98
98
  "source_defined_cursor": true,
99
99
  "default_cursor_field": ["updated"]
100
100
  },
@@ -176,7 +176,7 @@
176
176
  },
177
177
  "required": ["inputs"]
178
178
  },
179
- "supported_sync_modes": ["full_refresh", "incremental"],
179
+ "supported_sync_modes": [ "incremental"],
180
180
  "source_defined_cursor": true,
181
181
  "default_cursor_field": ["updated"]
182
182
  },
@@ -264,7 +264,7 @@
264
264
  },
265
265
  "required": ["properties"]
266
266
  },
267
- "supported_sync_modes": ["full_refresh", "incremental"],
267
+ "supported_sync_modes": ["incremental"],
268
268
  "source_defined_cursor": true,
269
269
  "default_cursor_field": ["updated"]
270
270
  },
@@ -343,7 +343,7 @@
343
343
  },
344
344
  "required": ["properties", "associations"]
345
345
  },
346
- "supported_sync_modes": ["full_refresh", "incremental"],
346
+ "supported_sync_modes": ["incremental"],
347
347
  "source_defined_cursor": true,
348
348
  "default_cursor_field": ["updated"]
349
349
  }
@@ -106,7 +106,6 @@
106
106
  ]
107
107
  },
108
108
  "supported_sync_modes": [
109
- "full_refresh",
110
109
  "incremental"
111
110
  ],
112
111
  "source_defined_cursor": true,
@@ -311,7 +311,7 @@
311
311
  }
312
312
  }
313
313
  },
314
- "supported_sync_modes": ["full_refresh", "incremental"],
314
+ "supported_sync_modes": ["incremental"],
315
315
  "source_defined_cursor": true,
316
316
  "default_cursor_field": ["updated"],
317
317
  "source_defined_primary_key": [["Id"]]
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "oneOf": [{ "required": ["text"] }]
15
15
  },
16
- "supported_sync_modes": ["full_refresh", "incremental"],
16
+ "supported_sync_modes": ["incremental"],
17
17
  "request_rate_limit": 60,
18
18
  "request_rate_limit_unit": "minute",
19
19
  "request_rate_concurrency": 1
@@ -108,20 +108,18 @@ module Multiwoven
108
108
  attribute :name, Types::String
109
109
  attribute? :action, StreamAction
110
110
  attribute :json_schema, Types::Hash
111
- attribute? :supported_sync_modes, Types::Array.of(SyncMode).optional
111
+ attribute? :supported_sync_modes, Types::Array.of(SyncMode).optional.default(["incremental"])
112
112
 
113
113
  # Applicable for database streams
114
114
  attribute? :source_defined_cursor, Types::Bool.optional
115
115
  attribute? :default_cursor_field, Types::Array.of(Types::String).optional
116
116
  attribute? :source_defined_primary_key, Types::Array.of(Types::Array.of(Types::String)).optional
117
-
118
117
  attribute? :namespace, Types::String.optional
119
118
  # Applicable for API streams
120
119
  attribute? :url, Types::String.optional
121
120
  attribute? :request_method, Types::String.optional
122
121
  attribute :batch_support, Types::Bool.default(false)
123
122
  attribute :batch_size, Types::Integer.default(1)
124
-
125
123
  # Rate limits
126
124
  attribute? :request_rate_limit, Types::Integer
127
125
  attribute? :request_rate_limit_unit, RequestRateLimitingUnit
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Multiwoven
4
4
  module Integrations
5
- VERSION = "0.1.32"
5
+ VERSION = "0.1.33"
6
6
 
7
7
  ENABLED_SOURCES = %w[
8
8
  Snowflake
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.32
4
+ version: 0.1.33
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-03-06 00:00:00.000000000 Z
11
+ date: 2024-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport