algolia 3.12.3 → 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 +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/lib/algolia/models/ingestion/authentication.rb +13 -2
- data/lib/algolia/models/ingestion/destination.rb +14 -2
- data/lib/algolia/models/ingestion/source.rb +14 -2
- data/lib/algolia/models/ingestion/task.rb +24 -1
- data/lib/algolia/models/ingestion/task_create.rb +22 -1
- data/lib/algolia/models/ingestion/task_update.rb +10 -1
- data/lib/algolia/models/ingestion/transformation.rb +14 -2
- data/lib/algolia/version.rb +1 -1
- 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: d20896ef848b1f294d635976bec438dcd5d5d295b73684b572507f2e3bd37155
         | 
| 4 | 
            +
              data.tar.gz: 5e27c47d71e9f264112e814e91f495285d7534a0e1cbeb95429fc92fc9454aa5
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 1232023160daae40b2d071b6c8851e5819d2af7cf5615faa09cf646e52b41ebf31079d6227f1b7f86f949cacd07098b2f3f441c1f92ef47fe8c0a21172905710
         | 
| 7 | 
            +
              data.tar.gz: 72b7b96ed599b63db62d5e185625b5a32a5789c3ca880d64fdfbe1ac09a16f85a05c05a8b2b13ab69a1dd51cf60096af997e5c6a33a3706e2050f57637acfead
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,3 +1,11 @@ | |
| 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 | 
            +
             | 
| 5 | 
            +
            ## [3.13.0](https://github.com/algolia/algoliasearch-client-ruby/compare/3.12.3...3.13.0)
         | 
| 6 | 
            +
             | 
| 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/)
         | 
| 8 | 
            +
             | 
| 1 9 | 
             
            ## [3.12.3](https://github.com/algolia/algoliasearch-client-ruby/compare/3.12.2...3.12.3)
         | 
| 2 10 |  | 
| 3 11 | 
             
            - [92bd911848](https://github.com/algolia/api-clients-automation/commit/92bd911848) chore(scripts): point jira issues to another epic ([#4505](https://github.com/algolia/api-clients-automation/pull/4505)) by [@millotp](https://github.com/millotp/)
         | 
    
        data/Gemfile.lock
    CHANGED
    
    
| @@ -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.
         | 
| @@ -36,6 +39,8 @@ module Algolia | |
| 36 39 |  | 
| 37 40 | 
             
                  attr_accessor :action
         | 
| 38 41 |  | 
| 42 | 
            +
                  attr_accessor :subscription_action
         | 
| 43 | 
            +
             | 
| 39 44 | 
             
                  # Date of the last cursor in RFC 3339 format.
         | 
| 40 45 | 
             
                  attr_accessor :cursor
         | 
| 41 46 |  | 
| @@ -58,10 +63,12 @@ module Algolia | |
| 58 63 | 
             
                      :cron => :cron,
         | 
| 59 64 | 
             
                      :last_run => :lastRun,
         | 
| 60 65 | 
             
                      :next_run => :nextRun,
         | 
| 66 | 
            +
                      :owner => :owner,
         | 
| 61 67 | 
             
                      :input => :input,
         | 
| 62 68 | 
             
                      :enabled => :enabled,
         | 
| 63 69 | 
             
                      :failure_threshold => :failureThreshold,
         | 
| 64 70 | 
             
                      :action => :action,
         | 
| 71 | 
            +
                      :subscription_action => :subscriptionAction,
         | 
| 65 72 | 
             
                      :cursor => :cursor,
         | 
| 66 73 | 
             
                      :notifications => :notifications,
         | 
| 67 74 | 
             
                      :policies => :policies,
         | 
| @@ -79,10 +86,12 @@ module Algolia | |
| 79 86 | 
             
                      :cron => :"String",
         | 
| 80 87 | 
             
                      :last_run => :"String",
         | 
| 81 88 | 
             
                      :next_run => :"String",
         | 
| 89 | 
            +
                      :owner => :"String",
         | 
| 82 90 | 
             
                      :input => :"TaskInput",
         | 
| 83 91 | 
             
                      :enabled => :"Boolean",
         | 
| 84 92 | 
             
                      :failure_threshold => :"Integer",
         | 
| 85 93 | 
             
                      :action => :"ActionType",
         | 
| 94 | 
            +
                      :subscription_action => :"ActionType",
         | 
| 86 95 | 
             
                      :cursor => :"String",
         | 
| 87 96 | 
             
                      :notifications => :"Notifications",
         | 
| 88 97 | 
             
                      :policies => :"Policies",
         | 
| @@ -94,7 +103,9 @@ module Algolia | |
| 94 103 | 
             
                  # List of attributes with nullable: true
         | 
| 95 104 | 
             
                  def self.openapi_nullable
         | 
| 96 105 | 
             
                    Set.new(
         | 
| 97 | 
            -
                      [ | 
| 106 | 
            +
                      [
         | 
| 107 | 
            +
                        :owner
         | 
| 108 | 
            +
                      ]
         | 
| 98 109 | 
             
                    )
         | 
| 99 110 | 
             
                  end
         | 
| 100 111 |  | 
| @@ -148,6 +159,10 @@ module Algolia | |
| 148 159 | 
             
                      self.next_run = attributes[:next_run]
         | 
| 149 160 | 
             
                    end
         | 
| 150 161 |  | 
| 162 | 
            +
                    if attributes.key?(:owner)
         | 
| 163 | 
            +
                      self.owner = attributes[:owner]
         | 
| 164 | 
            +
                    end
         | 
| 165 | 
            +
             | 
| 151 166 | 
             
                    if attributes.key?(:input)
         | 
| 152 167 | 
             
                      self.input = attributes[:input]
         | 
| 153 168 | 
             
                    end
         | 
| @@ -166,6 +181,10 @@ module Algolia | |
| 166 181 | 
             
                      self.action = attributes[:action]
         | 
| 167 182 | 
             
                    end
         | 
| 168 183 |  | 
| 184 | 
            +
                    if attributes.key?(:subscription_action)
         | 
| 185 | 
            +
                      self.subscription_action = attributes[:subscription_action]
         | 
| 186 | 
            +
                    end
         | 
| 187 | 
            +
             | 
| 169 188 | 
             
                    if attributes.key?(:cursor)
         | 
| 170 189 | 
             
                      self.cursor = attributes[:cursor]
         | 
| 171 190 | 
             
                    end
         | 
| @@ -200,10 +219,12 @@ module Algolia | |
| 200 219 | 
             
                      cron == other.cron &&
         | 
| 201 220 | 
             
                      last_run == other.last_run &&
         | 
| 202 221 | 
             
                      next_run == other.next_run &&
         | 
| 222 | 
            +
                      owner == other.owner &&
         | 
| 203 223 | 
             
                      input == other.input &&
         | 
| 204 224 | 
             
                      enabled == other.enabled &&
         | 
| 205 225 | 
             
                      failure_threshold == other.failure_threshold &&
         | 
| 206 226 | 
             
                      action == other.action &&
         | 
| 227 | 
            +
                      subscription_action == other.subscription_action &&
         | 
| 207 228 | 
             
                      cursor == other.cursor &&
         | 
| 208 229 | 
             
                      notifications == other.notifications &&
         | 
| 209 230 | 
             
                      policies == other.policies &&
         | 
| @@ -227,10 +248,12 @@ module Algolia | |
| 227 248 | 
             
                      cron,
         | 
| 228 249 | 
             
                      last_run,
         | 
| 229 250 | 
             
                      next_run,
         | 
| 251 | 
            +
                      owner,
         | 
| 230 252 | 
             
                      input,
         | 
| 231 253 | 
             
                      enabled,
         | 
| 232 254 | 
             
                      failure_threshold,
         | 
| 233 255 | 
             
                      action,
         | 
| 256 | 
            +
                      subscription_action,
         | 
| 234 257 | 
             
                      cursor,
         | 
| 235 258 | 
             
                      notifications,
         | 
| 236 259 | 
             
                      policies,
         | 
| @@ -17,6 +17,8 @@ module Algolia | |
| 17 17 |  | 
| 18 18 | 
             
                  attr_accessor :action
         | 
| 19 19 |  | 
| 20 | 
            +
                  attr_accessor :subscription_action
         | 
| 21 | 
            +
             | 
| 20 22 | 
             
                  # Cron expression for the task's schedule.
         | 
| 21 23 | 
             
                  attr_accessor :cron
         | 
| 22 24 |  | 
| @@ -41,6 +43,7 @@ module Algolia | |
| 41 43 | 
             
                      :source_id => :sourceID,
         | 
| 42 44 | 
             
                      :destination_id => :destinationID,
         | 
| 43 45 | 
             
                      :action => :action,
         | 
| 46 | 
            +
                      :subscription_action => :subscriptionAction,
         | 
| 44 47 | 
             
                      :cron => :cron,
         | 
| 45 48 | 
             
                      :enabled => :enabled,
         | 
| 46 49 | 
             
                      :failure_threshold => :failureThreshold,
         | 
| @@ -57,6 +60,7 @@ module Algolia | |
| 57 60 | 
             
                      :source_id => :"String",
         | 
| 58 61 | 
             
                      :destination_id => :"String",
         | 
| 59 62 | 
             
                      :action => :"ActionType",
         | 
| 63 | 
            +
                      :subscription_action => :"ActionType",
         | 
| 60 64 | 
             
                      :cron => :"String",
         | 
| 61 65 | 
             
                      :enabled => :"Boolean",
         | 
| 62 66 | 
             
                      :failure_threshold => :"Integer",
         | 
| @@ -115,6 +119,10 @@ module Algolia | |
| 115 119 | 
             
                      self.action = nil
         | 
| 116 120 | 
             
                    end
         | 
| 117 121 |  | 
| 122 | 
            +
                    if attributes.key?(:subscription_action)
         | 
| 123 | 
            +
                      self.subscription_action = attributes[:subscription_action]
         | 
| 124 | 
            +
                    end
         | 
| 125 | 
            +
             | 
| 118 126 | 
             
                    if attributes.key?(:cron)
         | 
| 119 127 | 
             
                      self.cron = attributes[:cron]
         | 
| 120 128 | 
             
                    end
         | 
| @@ -152,6 +160,7 @@ module Algolia | |
| 152 160 | 
             
                      source_id == other.source_id &&
         | 
| 153 161 | 
             
                      destination_id == other.destination_id &&
         | 
| 154 162 | 
             
                      action == other.action &&
         | 
| 163 | 
            +
                      subscription_action == other.subscription_action &&
         | 
| 155 164 | 
             
                      cron == other.cron &&
         | 
| 156 165 | 
             
                      enabled == other.enabled &&
         | 
| 157 166 | 
             
                      failure_threshold == other.failure_threshold &&
         | 
| @@ -170,7 +179,19 @@ module Algolia | |
| 170 179 | 
             
                  # Calculates hash code according to all attributes.
         | 
| 171 180 | 
             
                  # @return [Integer] Hash code
         | 
| 172 181 | 
             
                  def hash
         | 
| 173 | 
            -
                    [ | 
| 182 | 
            +
                    [
         | 
| 183 | 
            +
                      source_id,
         | 
| 184 | 
            +
                      destination_id,
         | 
| 185 | 
            +
                      action,
         | 
| 186 | 
            +
                      subscription_action,
         | 
| 187 | 
            +
                      cron,
         | 
| 188 | 
            +
                      enabled,
         | 
| 189 | 
            +
                      failure_threshold,
         | 
| 190 | 
            +
                      input,
         | 
| 191 | 
            +
                      cursor,
         | 
| 192 | 
            +
                      notifications,
         | 
| 193 | 
            +
                      policies
         | 
| 194 | 
            +
                    ].hash
         | 
| 174 195 | 
             
                  end
         | 
| 175 196 |  | 
| 176 197 | 
             
                  # Builds the object from hash
         | 
| @@ -20,6 +20,8 @@ module Algolia | |
| 20 20 | 
             
                  # Whether the task is enabled.
         | 
| 21 21 | 
             
                  attr_accessor :enabled
         | 
| 22 22 |  | 
| 23 | 
            +
                  attr_accessor :subscription_action
         | 
| 24 | 
            +
             | 
| 23 25 | 
             
                  # Maximum accepted percentage of failures for a task run to finish successfully.
         | 
| 24 26 | 
             
                  attr_accessor :failure_threshold
         | 
| 25 27 |  | 
| @@ -34,6 +36,7 @@ module Algolia | |
| 34 36 | 
             
                      :cron => :cron,
         | 
| 35 37 | 
             
                      :input => :input,
         | 
| 36 38 | 
             
                      :enabled => :enabled,
         | 
| 39 | 
            +
                      :subscription_action => :subscriptionAction,
         | 
| 37 40 | 
             
                      :failure_threshold => :failureThreshold,
         | 
| 38 41 | 
             
                      :notifications => :notifications,
         | 
| 39 42 | 
             
                      :policies => :policies
         | 
| @@ -47,6 +50,7 @@ module Algolia | |
| 47 50 | 
             
                      :cron => :"String",
         | 
| 48 51 | 
             
                      :input => :"TaskInput",
         | 
| 49 52 | 
             
                      :enabled => :"Boolean",
         | 
| 53 | 
            +
                      :subscription_action => :"ActionType",
         | 
| 50 54 | 
             
                      :failure_threshold => :"Integer",
         | 
| 51 55 | 
             
                      :notifications => :"Notifications",
         | 
| 52 56 | 
             
                      :policies => :"Policies"
         | 
| @@ -99,6 +103,10 @@ module Algolia | |
| 99 103 | 
             
                      self.enabled = attributes[:enabled]
         | 
| 100 104 | 
             
                    end
         | 
| 101 105 |  | 
| 106 | 
            +
                    if attributes.key?(:subscription_action)
         | 
| 107 | 
            +
                      self.subscription_action = attributes[:subscription_action]
         | 
| 108 | 
            +
                    end
         | 
| 109 | 
            +
             | 
| 102 110 | 
             
                    if attributes.key?(:failure_threshold)
         | 
| 103 111 | 
             
                      self.failure_threshold = attributes[:failure_threshold]
         | 
| 104 112 | 
             
                    end
         | 
| @@ -121,6 +129,7 @@ module Algolia | |
| 121 129 | 
             
                      cron == other.cron &&
         | 
| 122 130 | 
             
                      input == other.input &&
         | 
| 123 131 | 
             
                      enabled == other.enabled &&
         | 
| 132 | 
            +
                      subscription_action == other.subscription_action &&
         | 
| 124 133 | 
             
                      failure_threshold == other.failure_threshold &&
         | 
| 125 134 | 
             
                      notifications == other.notifications &&
         | 
| 126 135 | 
             
                      policies == other.policies
         | 
| @@ -135,7 +144,7 @@ module Algolia | |
| 135 144 | 
             
                  # Calculates hash code according to all attributes.
         | 
| 136 145 | 
             
                  # @return [Integer] Hash code
         | 
| 137 146 | 
             
                  def hash
         | 
| 138 | 
            -
                    [destination_id, cron, input, enabled, failure_threshold, notifications, policies].hash
         | 
| 147 | 
            +
                    [destination_id, cron, input, enabled, subscription_action, failure_threshold, notifications, policies].hash
         | 
| 139 148 | 
             
                  end
         | 
| 140 149 |  | 
| 141 150 | 
             
                  # Builds the object from hash
         | 
| @@ -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
         | 
    
        data/lib/algolia/version.rb
    CHANGED
    
    
    
        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. | 
| 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- | 
| 10 | 
            +
            date: 2025-03-24 00:00:00.000000000 Z
         | 
| 11 11 | 
             
            dependencies:
         | 
| 12 12 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 13 13 | 
             
              name: faraday
         |