ultracart_api 4.0.170 → 4.0.171
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/README.md +5 -4
- data/docs/EmailSettings.md +2 -0
- data/lib/ultracart_api/models/email_settings.rb +11 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +1 -1
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 5ade3e58500ff5aebe765d881b9e37a9ed2eca8f346d017a932960f1c23bf48a
         | 
| 4 | 
            +
              data.tar.gz: 55d5b097820a0ffe7d202d270a0ea0987f6b76f789641f7654da14b3e23fb233
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: d4b978cd9f5090e96666f7f24366bf8dd7de391e05f2a9c3fce37bf14963b3877d050e2a40a1233f263c557b752d25bce328f35a285ffcafe4c45151cf3160ee
         | 
| 7 | 
            +
              data.tar.gz: 5729201118d9a908437cd8580871c701d24cf375b01502c9fefa606da86460ffaa7439a3b792960d4c453e2a876108baf622144d6727336d2e36988aaa52361f
         | 
    
        data/README.md
    CHANGED
    
    | @@ -7,7 +7,7 @@ UltraCart REST API Version 2 | |
| 7 7 | 
             
            This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
         | 
| 8 8 |  | 
| 9 9 | 
             
            - API version: 2.0.0
         | 
| 10 | 
            -
            - Package version: 4.0. | 
| 10 | 
            +
            - Package version: 4.0.171
         | 
| 11 11 | 
             
            - Build package: org.openapitools.codegen.languages.RubyClientCodegen
         | 
| 12 12 | 
             
            For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
         | 
| 13 13 |  | 
| @@ -24,16 +24,16 @@ gem build ultracart_api.gemspec | |
| 24 24 | 
             
            Then either install the gem locally:
         | 
| 25 25 |  | 
| 26 26 | 
             
            ```shell
         | 
| 27 | 
            -
            gem install ./ultracart_api-4.0. | 
| 27 | 
            +
            gem install ./ultracart_api-4.0.171.gem
         | 
| 28 28 | 
             
            ```
         | 
| 29 29 |  | 
| 30 | 
            -
            (for development, run `gem install --dev ./ultracart_api-4.0. | 
| 30 | 
            +
            (for development, run `gem install --dev ./ultracart_api-4.0.171.gem` to install the development dependencies)
         | 
| 31 31 |  | 
| 32 32 | 
             
            or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
         | 
| 33 33 |  | 
| 34 34 | 
             
            Finally add this to the Gemfile:
         | 
| 35 35 |  | 
| 36 | 
            -
                gem 'ultracart_api', '~> 4.0. | 
| 36 | 
            +
                gem 'ultracart_api', '~> 4.0.171'
         | 
| 37 37 |  | 
| 38 38 | 
             
            ### Install from Git
         | 
| 39 39 |  | 
| @@ -1368,6 +1368,7 @@ Not every change is committed to every SDK. | |
| 1368 1368 |  | 
| 1369 1369 | 
             
            | Version | Date | Comments |
         | 
| 1370 1370 | 
             
            | --: | :-: | --- |
         | 
| 1371 | 
            +
            | 4.0.171 | 08/14/2023 | esp - add require_order_within_last to the settings object |
         | 
| 1371 1372 | 
             
            | 4.0.170 | 08/14/2023 | esp - expose rate limiter values in settings object |
         | 
| 1372 1373 | 
             
            | 4.0.169 | 07/27/2023 | dw bi - add settings to the report and page objects |
         | 
| 1373 1374 | 
             
            | 4.0.168 | 07/19/2023 | dw bi - add data_source_uuid to filter connection obj |
         | 
    
        data/docs/EmailSettings.md
    CHANGED
    
    | @@ -16,6 +16,7 @@ | |
| 16 16 | 
             
            | **postcard_from_name** | **String** |  | [optional] |
         | 
| 17 17 | 
             
            | **postcard_from_postal_code** | **String** |  | [optional] |
         | 
| 18 18 | 
             
            | **postcard_from_state** | **String** |  | [optional] |
         | 
| 19 | 
            +
            | **require_order_within_last** | **Integer** | Require order within last | [optional] |
         | 
| 19 20 | 
             
            | **reviews_io_configured** | **Boolean** | True if the Reviews.io integration is configured | [optional] |
         | 
| 20 21 | 
             
            | **sms_esp_twilio_uuid** | **String** |  | [optional] |
         | 
| 21 22 | 
             
            | **sms_phone_number** | **String** |  | [optional] |
         | 
| @@ -41,6 +42,7 @@ instance = UltracartClient::EmailSettings.new( | |
| 41 42 | 
             
              postcard_from_name: null,
         | 
| 42 43 | 
             
              postcard_from_postal_code: null,
         | 
| 43 44 | 
             
              postcard_from_state: null,
         | 
| 45 | 
            +
              require_order_within_last: null,
         | 
| 44 46 | 
             
              reviews_io_configured: null,
         | 
| 45 47 | 
             
              sms_esp_twilio_uuid: null,
         | 
| 46 48 | 
             
              sms_phone_number: null,
         | 
| @@ -42,6 +42,9 @@ module UltracartClient | |
| 42 42 |  | 
| 43 43 | 
             
                attr_accessor :postcard_from_state
         | 
| 44 44 |  | 
| 45 | 
            +
                # Require order within last
         | 
| 46 | 
            +
                attr_accessor :require_order_within_last
         | 
| 47 | 
            +
             | 
| 45 48 | 
             
                # True if the Reviews.io integration is configured
         | 
| 46 49 | 
             
                attr_accessor :reviews_io_configured
         | 
| 47 50 |  | 
| @@ -70,6 +73,7 @@ module UltracartClient | |
| 70 73 | 
             
                    :'postcard_from_name' => :'postcard_from_name',
         | 
| 71 74 | 
             
                    :'postcard_from_postal_code' => :'postcard_from_postal_code',
         | 
| 72 75 | 
             
                    :'postcard_from_state' => :'postcard_from_state',
         | 
| 76 | 
            +
                    :'require_order_within_last' => :'require_order_within_last',
         | 
| 73 77 | 
             
                    :'reviews_io_configured' => :'reviews_io_configured',
         | 
| 74 78 | 
             
                    :'sms_esp_twilio_uuid' => :'sms_esp_twilio_uuid',
         | 
| 75 79 | 
             
                    :'sms_phone_number' => :'sms_phone_number',
         | 
| @@ -99,6 +103,7 @@ module UltracartClient | |
| 99 103 | 
             
                    :'postcard_from_name' => :'String',
         | 
| 100 104 | 
             
                    :'postcard_from_postal_code' => :'String',
         | 
| 101 105 | 
             
                    :'postcard_from_state' => :'String',
         | 
| 106 | 
            +
                    :'require_order_within_last' => :'Integer',
         | 
| 102 107 | 
             
                    :'reviews_io_configured' => :'Boolean',
         | 
| 103 108 | 
             
                    :'sms_esp_twilio_uuid' => :'String',
         | 
| 104 109 | 
             
                    :'sms_phone_number' => :'String',
         | 
| @@ -177,6 +182,10 @@ module UltracartClient | |
| 177 182 | 
             
                    self.postcard_from_state = attributes[:'postcard_from_state']
         | 
| 178 183 | 
             
                  end
         | 
| 179 184 |  | 
| 185 | 
            +
                  if attributes.key?(:'require_order_within_last')
         | 
| 186 | 
            +
                    self.require_order_within_last = attributes[:'require_order_within_last']
         | 
| 187 | 
            +
                  end
         | 
| 188 | 
            +
             | 
| 180 189 | 
             
                  if attributes.key?(:'reviews_io_configured')
         | 
| 181 190 | 
             
                    self.reviews_io_configured = attributes[:'reviews_io_configured']
         | 
| 182 191 | 
             
                  end
         | 
| @@ -232,6 +241,7 @@ module UltracartClient | |
| 232 241 | 
             
                      postcard_from_name == o.postcard_from_name &&
         | 
| 233 242 | 
             
                      postcard_from_postal_code == o.postcard_from_postal_code &&
         | 
| 234 243 | 
             
                      postcard_from_state == o.postcard_from_state &&
         | 
| 244 | 
            +
                      require_order_within_last == o.require_order_within_last &&
         | 
| 235 245 | 
             
                      reviews_io_configured == o.reviews_io_configured &&
         | 
| 236 246 | 
             
                      sms_esp_twilio_uuid == o.sms_esp_twilio_uuid &&
         | 
| 237 247 | 
             
                      sms_phone_number == o.sms_phone_number &&
         | 
| @@ -249,7 +259,7 @@ module UltracartClient | |
| 249 259 | 
             
                # Calculates hash code according to all attributes.
         | 
| 250 260 | 
             
                # @return [Integer] Hash code
         | 
| 251 261 | 
             
                def hash
         | 
| 252 | 
            -
                  [emails_per_day, emails_per_hour, emails_per_month, marketing_esp_domain_user, marketing_esp_domain_uuid, marketing_esp_friendly_name, postcard_from_address1, postcard_from_address2, postcard_from_city, postcard_from_name, postcard_from_postal_code, postcard_from_state, reviews_io_configured, sms_esp_twilio_uuid, sms_phone_number, transactional_esp_domain_user, transactional_esp_domain_uuid, transactional_esp_friendly_name].hash
         | 
| 262 | 
            +
                  [emails_per_day, emails_per_hour, emails_per_month, marketing_esp_domain_user, marketing_esp_domain_uuid, marketing_esp_friendly_name, postcard_from_address1, postcard_from_address2, postcard_from_city, postcard_from_name, postcard_from_postal_code, postcard_from_state, require_order_within_last, reviews_io_configured, sms_esp_twilio_uuid, sms_phone_number, transactional_esp_domain_user, transactional_esp_domain_uuid, transactional_esp_friendly_name].hash
         | 
| 253 263 | 
             
                end
         | 
| 254 264 |  | 
| 255 265 | 
             
                # Builds the object from hash
         |