repull 0.2.6 → 0.2.7
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 +4 -4
- data/lib/repull/models/create_connect_session_request.rb +16 -5
- data/lib/repull/models/create_connection_request.rb +15 -4
- data/lib/repull/version.rb +1 -1
- data/openapi/v1.json +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2002ffeade6c17fff58ce091ca2b9ef17dc9e2bb8b78ce00f5be7c384bf2dab1
|
|
4
|
+
data.tar.gz: f95b91551c7e754d0f274a4bed957a3fedd46e3afff565e350f89659b2b91293
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b1b860a983ba03fd156f3b2d8feeff8c33cae0b3711f9ca1553f77d649353a7bd4573a895e945029fcd1f137dc994b4fc4ab298bd4e38c4170f9c910fe64dcd
|
|
7
|
+
data.tar.gz: 5228ab1cdbd8b06e884f45d3cb7533aec85e0105afb5ab1deb51b1586fadd8ff24a66dd9e3fbfba6b1d2b637749c0db83f9b3e0efd3d4b36c254f1db8e576185
|
|
@@ -24,12 +24,16 @@ module Repull
|
|
|
24
24
|
# Optional whitelist of provider IDs the picker should expose. Omit to show every channel in the registry.
|
|
25
25
|
attr_accessor :allowed_providers
|
|
26
26
|
|
|
27
|
+
# Optional UI language for the hosted Connect pages. Accepts any supported locale code (currently `en`, `fr`). When set it pins the language for the whole flow, overriding the workspace `default_language`. Unknown codes are ignored and the page falls back to the workspace default, then `Accept-Language`, then `en`. The end user can still override per-visit with a `?locale=` query param on the hosted page.
|
|
28
|
+
attr_accessor :locale
|
|
29
|
+
|
|
27
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
28
31
|
def self.attribute_map
|
|
29
32
|
{
|
|
30
33
|
:'redirect_url' => :'redirectUrl',
|
|
31
34
|
:'state' => :'state',
|
|
32
|
-
:'allowed_providers' => :'allowedProviders'
|
|
35
|
+
:'allowed_providers' => :'allowedProviders',
|
|
36
|
+
:'locale' => :'locale'
|
|
33
37
|
}
|
|
34
38
|
end
|
|
35
39
|
|
|
@@ -48,7 +52,8 @@ module Repull
|
|
|
48
52
|
{
|
|
49
53
|
:'redirect_url' => :'String',
|
|
50
54
|
:'state' => :'String',
|
|
51
|
-
:'allowed_providers' => :'Array<String>'
|
|
55
|
+
:'allowed_providers' => :'Array<String>',
|
|
56
|
+
:'locale' => :'String'
|
|
52
57
|
}
|
|
53
58
|
end
|
|
54
59
|
|
|
@@ -56,7 +61,8 @@ module Repull
|
|
|
56
61
|
def self.openapi_nullable
|
|
57
62
|
Set.new([
|
|
58
63
|
:'state',
|
|
59
|
-
:'allowed_providers'
|
|
64
|
+
:'allowed_providers',
|
|
65
|
+
:'locale'
|
|
60
66
|
])
|
|
61
67
|
end
|
|
62
68
|
|
|
@@ -91,6 +97,10 @@ module Repull
|
|
|
91
97
|
self.allowed_providers = value
|
|
92
98
|
end
|
|
93
99
|
end
|
|
100
|
+
|
|
101
|
+
if attributes.key?(:'locale')
|
|
102
|
+
self.locale = attributes[:'locale']
|
|
103
|
+
end
|
|
94
104
|
end
|
|
95
105
|
|
|
96
106
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -130,7 +140,8 @@ module Repull
|
|
|
130
140
|
self.class == o.class &&
|
|
131
141
|
redirect_url == o.redirect_url &&
|
|
132
142
|
state == o.state &&
|
|
133
|
-
allowed_providers == o.allowed_providers
|
|
143
|
+
allowed_providers == o.allowed_providers &&
|
|
144
|
+
locale == o.locale
|
|
134
145
|
end
|
|
135
146
|
|
|
136
147
|
# @see the `==` method
|
|
@@ -142,7 +153,7 @@ module Repull
|
|
|
142
153
|
# Calculates hash code according to all attributes.
|
|
143
154
|
# @return [Integer] Hash code
|
|
144
155
|
def hash
|
|
145
|
-
[redirect_url, state, allowed_providers].hash
|
|
156
|
+
[redirect_url, state, allowed_providers, locale].hash
|
|
146
157
|
end
|
|
147
158
|
|
|
148
159
|
# Builds the object from hash
|
|
@@ -31,6 +31,9 @@ module Repull
|
|
|
31
31
|
# Plumguide — client secret.
|
|
32
32
|
attr_accessor :client_secret
|
|
33
33
|
|
|
34
|
+
# Airbnb only — optional UI language for the hosted Connect pages. Accepts any supported locale code (currently `en`, `fr`); unknown codes are ignored and resolution falls back to the workspace `default_language`, then `Accept-Language`, then `en`.
|
|
35
|
+
attr_accessor :locale
|
|
36
|
+
|
|
34
37
|
class EnumAttributeValidator
|
|
35
38
|
attr_reader :datatype
|
|
36
39
|
attr_reader :allowable_values
|
|
@@ -60,7 +63,8 @@ module Repull
|
|
|
60
63
|
:'access_type' => :'accessType',
|
|
61
64
|
:'api_key' => :'apiKey',
|
|
62
65
|
:'client_id' => :'clientId',
|
|
63
|
-
:'client_secret' => :'clientSecret'
|
|
66
|
+
:'client_secret' => :'clientSecret',
|
|
67
|
+
:'locale' => :'locale'
|
|
64
68
|
}
|
|
65
69
|
end
|
|
66
70
|
|
|
@@ -81,13 +85,15 @@ module Repull
|
|
|
81
85
|
:'access_type' => :'String',
|
|
82
86
|
:'api_key' => :'String',
|
|
83
87
|
:'client_id' => :'String',
|
|
84
|
-
:'client_secret' => :'String'
|
|
88
|
+
:'client_secret' => :'String',
|
|
89
|
+
:'locale' => :'String'
|
|
85
90
|
}
|
|
86
91
|
end
|
|
87
92
|
|
|
88
93
|
# List of attributes with nullable: true
|
|
89
94
|
def self.openapi_nullable
|
|
90
95
|
Set.new([
|
|
96
|
+
:'locale'
|
|
91
97
|
])
|
|
92
98
|
end
|
|
93
99
|
|
|
@@ -128,6 +134,10 @@ module Repull
|
|
|
128
134
|
if attributes.key?(:'client_secret')
|
|
129
135
|
self.client_secret = attributes[:'client_secret']
|
|
130
136
|
end
|
|
137
|
+
|
|
138
|
+
if attributes.key?(:'locale')
|
|
139
|
+
self.locale = attributes[:'locale']
|
|
140
|
+
end
|
|
131
141
|
end
|
|
132
142
|
|
|
133
143
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -166,7 +176,8 @@ module Repull
|
|
|
166
176
|
access_type == o.access_type &&
|
|
167
177
|
api_key == o.api_key &&
|
|
168
178
|
client_id == o.client_id &&
|
|
169
|
-
client_secret == o.client_secret
|
|
179
|
+
client_secret == o.client_secret &&
|
|
180
|
+
locale == o.locale
|
|
170
181
|
end
|
|
171
182
|
|
|
172
183
|
# @see the `==` method
|
|
@@ -178,7 +189,7 @@ module Repull
|
|
|
178
189
|
# Calculates hash code according to all attributes.
|
|
179
190
|
# @return [Integer] Hash code
|
|
180
191
|
def hash
|
|
181
|
-
[redirect_url, access_type, api_key, client_id, client_secret].hash
|
|
192
|
+
[redirect_url, access_type, api_key, client_id, client_secret, locale].hash
|
|
182
193
|
end
|
|
183
194
|
|
|
184
195
|
# Builds the object from hash
|
data/lib/repull/version.rb
CHANGED
data/openapi/v1.json
CHANGED
|
@@ -7632,6 +7632,12 @@
|
|
|
7632
7632
|
},
|
|
7633
7633
|
"nullable": true,
|
|
7634
7634
|
"description": "Optional whitelist of provider IDs the picker should expose. Omit to show every channel in the registry."
|
|
7635
|
+
},
|
|
7636
|
+
"locale": {
|
|
7637
|
+
"type": "string",
|
|
7638
|
+
"nullable": true,
|
|
7639
|
+
"description": "Optional UI language for the hosted Connect pages. Accepts any supported locale code (currently `en`, `fr`). When set it pins the language for the whole flow, overriding the workspace `default_language`. Unknown codes are ignored and the page falls back to the workspace default, then `Accept-Language`, then `en`. The end user can still override per-visit with a `?locale=` query param on the hosted page.",
|
|
7640
|
+
"example": "fr"
|
|
7635
7641
|
}
|
|
7636
7642
|
}
|
|
7637
7643
|
}
|
|
@@ -7800,6 +7806,12 @@
|
|
|
7800
7806
|
"clientSecret": {
|
|
7801
7807
|
"type": "string",
|
|
7802
7808
|
"description": "Plumguide \u2014 client secret."
|
|
7809
|
+
},
|
|
7810
|
+
"locale": {
|
|
7811
|
+
"type": "string",
|
|
7812
|
+
"nullable": true,
|
|
7813
|
+
"description": "Airbnb only \u2014 optional UI language for the hosted Connect pages. Accepts any supported locale code (currently `en`, `fr`); unknown codes are ignored and resolution falls back to the workspace `default_language`, then `Accept-Language`, then `en`.",
|
|
7814
|
+
"example": "fr"
|
|
7803
7815
|
}
|
|
7804
7816
|
}
|
|
7805
7817
|
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: repull
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Nikolov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-06-
|
|
11
|
+
date: 2026-06-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|