algolia 3.13.0 → 3.14.0

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: 15617f15ff7f9f7c25035345947117aa64fbe8a6d08b717924ec0971484ed4b0
4
- data.tar.gz: 84fd518cf5098cf7766b73a19f21c57b9767dc40ccae3d3c92e610a9412c6a9c
3
+ metadata.gz: d20896ef848b1f294d635976bec438dcd5d5d295b73684b572507f2e3bd37155
4
+ data.tar.gz: 5e27c47d71e9f264112e814e91f495285d7534a0e1cbeb95429fc92fc9454aa5
5
5
  SHA512:
6
- metadata.gz: 34b9c321cae37ad5a9d29e1d9a81dc3cee8c4164117b2332a27fafaf239edd38e9638458e9590fb31be1ae9a6754db585142dfcad9f8e640e965c3e34db77868
7
- data.tar.gz: 51cb90ff9a5ac360a3ea4b0a01d8cf7a446ce7083b0e57e7a807f0fc4a223ddeaa77a9406b0540106ed4d129158fbc063ad0cc2b161b109353893517d1aa7824
6
+ metadata.gz: 1232023160daae40b2d071b6c8851e5819d2af7cf5615faa09cf646e52b41ebf31079d6227f1b7f86f949cacd07098b2f3f441c1f92ef47fe8c0a21172905710
7
+ data.tar.gz: 72b7b96ed599b63db62d5e185625b5a32a5789c3ca880d64fdfbe1ac09a16f85a05c05a8b2b13ab69a1dd51cf60096af997e5c6a33a3706e2050f57637acfead
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [3.14.0](https://github.com/algolia/algoliasearch-client-ruby/compare/3.13.0...3.14.0)
2
+
3
+ - [26457d0ec8](https://github.com/algolia/api-clients-automation/commit/26457d0ec8) feat(specs): add the owner attributes to ingestion resources ([#4616](https://github.com/algolia/api-clients-automation/pull/4616)) by [@millotp](https://github.com/millotp/)
4
+
1
5
  ## [3.13.0](https://github.com/algolia/algoliasearch-client-ruby/compare/3.12.3...3.13.0)
2
6
 
3
7
  - [ab623194e](https://github.com/algolia/api-clients-automation/commit/ab623194e) feat(specs): add `subscriptionAction` to ingestion specs ([#4587](https://github.com/algolia/api-clients-automation/pull/4587)) by [@shortcuts](https://github.com/shortcuts/)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- algolia (3.13.0)
4
+ algolia (3.14.0)
5
5
  base64 (>= 0.2.0, < 1)
6
6
  faraday (>= 1.0.1, < 3.0)
7
7
  faraday-net_http_persistent (>= 0.15, < 3)
@@ -19,6 +19,9 @@ module Algolia
19
19
 
20
20
  attr_accessor :platform
21
21
 
22
+ # Owner of the resource.
23
+ attr_accessor :owner
24
+
22
25
  attr_accessor :input
23
26
 
24
27
  # Date of creation in RFC 3339 format.
@@ -34,6 +37,7 @@ module Algolia
34
37
  :type => :type,
35
38
  :name => :name,
36
39
  :platform => :platform,
40
+ :owner => :owner,
37
41
  :input => :input,
38
42
  :created_at => :createdAt,
39
43
  :updated_at => :updatedAt
@@ -47,6 +51,7 @@ module Algolia
47
51
  :type => :"AuthenticationType",
48
52
  :name => :"String",
49
53
  :platform => :"Platform",
54
+ :owner => :"String",
50
55
  :input => :"AuthInputPartial",
51
56
  :created_at => :"String",
52
57
  :updated_at => :"String"
@@ -57,7 +62,8 @@ module Algolia
57
62
  def self.openapi_nullable
58
63
  Set.new(
59
64
  [
60
- :platform
65
+ :platform,
66
+ :owner
61
67
  ]
62
68
  )
63
69
  end
@@ -107,6 +113,10 @@ module Algolia
107
113
  self.platform = attributes[:platform]
108
114
  end
109
115
 
116
+ if attributes.key?(:owner)
117
+ self.owner = attributes[:owner]
118
+ end
119
+
110
120
  if attributes.key?(:input)
111
121
  self.input = attributes[:input]
112
122
  else
@@ -133,6 +143,7 @@ module Algolia
133
143
  type == other.type &&
134
144
  name == other.name &&
135
145
  platform == other.platform &&
146
+ owner == other.owner &&
136
147
  input == other.input &&
137
148
  created_at == other.created_at &&
138
149
  updated_at == other.updated_at
@@ -147,7 +158,7 @@ module Algolia
147
158
  # Calculates hash code according to all attributes.
148
159
  # @return [Integer] Hash code
149
160
  def hash
150
- [authentication_id, type, name, platform, input, created_at, updated_at].hash
161
+ [authentication_id, type, name, platform, owner, input, created_at, updated_at].hash
151
162
  end
152
163
 
153
164
  # Builds the object from hash
@@ -17,6 +17,9 @@ module Algolia
17
17
  # Descriptive name for the resource.
18
18
  attr_accessor :name
19
19
 
20
+ # Owner of the resource.
21
+ attr_accessor :owner
22
+
20
23
  attr_accessor :input
21
24
 
22
25
  # Date of creation in RFC 3339 format.
@@ -36,6 +39,7 @@ module Algolia
36
39
  :destination_id => :destinationID,
37
40
  :type => :type,
38
41
  :name => :name,
42
+ :owner => :owner,
39
43
  :input => :input,
40
44
  :created_at => :createdAt,
41
45
  :updated_at => :updatedAt,
@@ -50,6 +54,7 @@ module Algolia
50
54
  :destination_id => :"String",
51
55
  :type => :"DestinationType",
52
56
  :name => :"String",
57
+ :owner => :"String",
53
58
  :input => :"DestinationInput",
54
59
  :created_at => :"String",
55
60
  :updated_at => :"String",
@@ -61,7 +66,9 @@ module Algolia
61
66
  # List of attributes with nullable: true
62
67
  def self.openapi_nullable
63
68
  Set.new(
64
- []
69
+ [
70
+ :owner
71
+ ]
65
72
  )
66
73
  end
67
74
 
@@ -106,6 +113,10 @@ module Algolia
106
113
  self.name = nil
107
114
  end
108
115
 
116
+ if attributes.key?(:owner)
117
+ self.owner = attributes[:owner]
118
+ end
119
+
109
120
  if attributes.key?(:input)
110
121
  self.input = attributes[:input]
111
122
  else
@@ -141,6 +152,7 @@ module Algolia
141
152
  destination_id == other.destination_id &&
142
153
  type == other.type &&
143
154
  name == other.name &&
155
+ owner == other.owner &&
144
156
  input == other.input &&
145
157
  created_at == other.created_at &&
146
158
  updated_at == other.updated_at &&
@@ -157,7 +169,7 @@ module Algolia
157
169
  # Calculates hash code according to all attributes.
158
170
  # @return [Integer] Hash code
159
171
  def hash
160
- [destination_id, type, name, input, created_at, updated_at, authentication_id, transformation_ids].hash
172
+ [destination_id, type, name, owner, input, created_at, updated_at, authentication_id, transformation_ids].hash
161
173
  end
162
174
 
163
175
  # Builds the object from hash
@@ -15,6 +15,9 @@ module Algolia
15
15
 
16
16
  attr_accessor :name
17
17
 
18
+ # Owner of the resource.
19
+ attr_accessor :owner
20
+
18
21
  attr_accessor :input
19
22
 
20
23
  # Universally unique identifier (UUID) of an authentication resource.
@@ -32,6 +35,7 @@ module Algolia
32
35
  :source_id => :sourceID,
33
36
  :type => :type,
34
37
  :name => :name,
38
+ :owner => :owner,
35
39
  :input => :input,
36
40
  :authentication_id => :authenticationID,
37
41
  :created_at => :createdAt,
@@ -45,6 +49,7 @@ module Algolia
45
49
  :source_id => :"String",
46
50
  :type => :"SourceType",
47
51
  :name => :"String",
52
+ :owner => :"String",
48
53
  :input => :"SourceInput",
49
54
  :authentication_id => :"String",
50
55
  :created_at => :"String",
@@ -55,7 +60,9 @@ module Algolia
55
60
  # List of attributes with nullable: true
56
61
  def self.openapi_nullable
57
62
  Set.new(
58
- []
63
+ [
64
+ :owner
65
+ ]
59
66
  )
60
67
  end
61
68
 
@@ -97,6 +104,10 @@ module Algolia
97
104
  self.name = nil
98
105
  end
99
106
 
107
+ if attributes.key?(:owner)
108
+ self.owner = attributes[:owner]
109
+ end
110
+
100
111
  if attributes.key?(:input)
101
112
  self.input = attributes[:input]
102
113
  end
@@ -124,6 +135,7 @@ module Algolia
124
135
  source_id == other.source_id &&
125
136
  type == other.type &&
126
137
  name == other.name &&
138
+ owner == other.owner &&
127
139
  input == other.input &&
128
140
  authentication_id == other.authentication_id &&
129
141
  created_at == other.created_at &&
@@ -139,7 +151,7 @@ module Algolia
139
151
  # Calculates hash code according to all attributes.
140
152
  # @return [Integer] Hash code
141
153
  def hash
142
- [source_id, type, name, input, authentication_id, created_at, updated_at].hash
154
+ [source_id, type, name, owner, input, authentication_id, created_at, updated_at].hash
143
155
  end
144
156
 
145
157
  # Builds the object from hash
@@ -26,6 +26,9 @@ module Algolia
26
26
  # The next scheduled run of the task in RFC 3339 format.
27
27
  attr_accessor :next_run
28
28
 
29
+ # Owner of the resource.
30
+ attr_accessor :owner
31
+
29
32
  attr_accessor :input
30
33
 
31
34
  # Whether the task is enabled.
@@ -60,6 +63,7 @@ module Algolia
60
63
  :cron => :cron,
61
64
  :last_run => :lastRun,
62
65
  :next_run => :nextRun,
66
+ :owner => :owner,
63
67
  :input => :input,
64
68
  :enabled => :enabled,
65
69
  :failure_threshold => :failureThreshold,
@@ -82,6 +86,7 @@ module Algolia
82
86
  :cron => :"String",
83
87
  :last_run => :"String",
84
88
  :next_run => :"String",
89
+ :owner => :"String",
85
90
  :input => :"TaskInput",
86
91
  :enabled => :"Boolean",
87
92
  :failure_threshold => :"Integer",
@@ -98,7 +103,9 @@ module Algolia
98
103
  # List of attributes with nullable: true
99
104
  def self.openapi_nullable
100
105
  Set.new(
101
- []
106
+ [
107
+ :owner
108
+ ]
102
109
  )
103
110
  end
104
111
 
@@ -152,6 +159,10 @@ module Algolia
152
159
  self.next_run = attributes[:next_run]
153
160
  end
154
161
 
162
+ if attributes.key?(:owner)
163
+ self.owner = attributes[:owner]
164
+ end
165
+
155
166
  if attributes.key?(:input)
156
167
  self.input = attributes[:input]
157
168
  end
@@ -208,6 +219,7 @@ module Algolia
208
219
  cron == other.cron &&
209
220
  last_run == other.last_run &&
210
221
  next_run == other.next_run &&
222
+ owner == other.owner &&
211
223
  input == other.input &&
212
224
  enabled == other.enabled &&
213
225
  failure_threshold == other.failure_threshold &&
@@ -236,6 +248,7 @@ module Algolia
236
248
  cron,
237
249
  last_run,
238
250
  next_run,
251
+ owner,
239
252
  input,
240
253
  enabled,
241
254
  failure_threshold,
@@ -23,6 +23,9 @@ module Algolia
23
23
  # A descriptive name for your transformation of what it does.
24
24
  attr_accessor :description
25
25
 
26
+ # Owner of the resource.
27
+ attr_accessor :owner
28
+
26
29
  # Date of creation in RFC 3339 format.
27
30
  attr_accessor :created_at
28
31
 
@@ -37,6 +40,7 @@ module Algolia
37
40
  :code => :code,
38
41
  :name => :name,
39
42
  :description => :description,
43
+ :owner => :owner,
40
44
  :created_at => :createdAt,
41
45
  :updated_at => :updatedAt
42
46
  }
@@ -50,6 +54,7 @@ module Algolia
50
54
  :code => :"String",
51
55
  :name => :"String",
52
56
  :description => :"String",
57
+ :owner => :"String",
53
58
  :created_at => :"String",
54
59
  :updated_at => :"String"
55
60
  }
@@ -58,7 +63,9 @@ module Algolia
58
63
  # List of attributes with nullable: true
59
64
  def self.openapi_nullable
60
65
  Set.new(
61
- []
66
+ [
67
+ :owner
68
+ ]
62
69
  )
63
70
  end
64
71
 
@@ -113,6 +120,10 @@ module Algolia
113
120
  self.description = attributes[:description]
114
121
  end
115
122
 
123
+ if attributes.key?(:owner)
124
+ self.owner = attributes[:owner]
125
+ end
126
+
116
127
  if attributes.key?(:created_at)
117
128
  self.created_at = attributes[:created_at]
118
129
  else
@@ -134,6 +145,7 @@ module Algolia
134
145
  code == other.code &&
135
146
  name == other.name &&
136
147
  description == other.description &&
148
+ owner == other.owner &&
137
149
  created_at == other.created_at &&
138
150
  updated_at == other.updated_at
139
151
  end
@@ -147,7 +159,7 @@ module Algolia
147
159
  # Calculates hash code according to all attributes.
148
160
  # @return [Integer] Hash code
149
161
  def hash
150
- [transformation_id, authentication_ids, code, name, description, created_at, updated_at].hash
162
+ [transformation_id, authentication_ids, code, name, description, owner, created_at, updated_at].hash
151
163
  end
152
164
 
153
165
  # Builds the object from hash
@@ -3,5 +3,5 @@
3
3
  # Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
4
4
 
5
5
  module Algolia
6
- VERSION = "3.13.0"
6
+ VERSION = "3.14.0"
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: algolia
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.13.0
4
+ version: 3.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - https://alg.li/support
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-11 00:00:00.000000000 Z
10
+ date: 2025-03-24 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: faraday