mints 0.0.28 → 0.0.30

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.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/lib/client.rb +287 -385
  3. data/lib/contact/config/appointments.rb +201 -0
  4. data/lib/contact/config/config.rb +7 -0
  5. data/lib/contact/content/content.rb +7 -0
  6. data/lib/contact/content/conversations.rb +121 -0
  7. data/lib/contact/ecommerce/ecommerce.rb +14 -0
  8. data/lib/contact/ecommerce/order_items.rb +19 -0
  9. data/lib/contact/ecommerce/order_items_groups.rb +95 -0
  10. data/lib/contact/ecommerce/orders.rb +132 -0
  11. data/lib/contact/ecommerce/vouchers.rb +18 -0
  12. data/lib/contact.rb +54 -603
  13. data/lib/errors.rb +4 -2
  14. data/lib/generators/mints_assets_controller.rb +4 -1
  15. data/lib/generators/mints_contact_controller.rb +4 -1
  16. data/lib/generators/mints_files_generator.rb +16 -13
  17. data/lib/generators/mints_link.rb +7 -4
  18. data/lib/generators/mints_public_controller.rb +4 -1
  19. data/lib/generators/mints_user_controller.rb +3 -0
  20. data/lib/generators/short_link_controller.rb +4 -1
  21. data/lib/mints/controllers/admin_base_controller.rb +5 -3
  22. data/lib/mints/controllers/base_api_controller.rb +6 -4
  23. data/lib/mints/controllers/base_controller.rb +5 -3
  24. data/lib/mints/controllers/concerns/mints_clients.rb +4 -2
  25. data/lib/mints/controllers/concerns/read_config_file.rb +3 -1
  26. data/lib/mints/controllers/contact_api_controller.rb +12 -10
  27. data/lib/mints/controllers/public_api_controller.rb +10 -8
  28. data/lib/mints/controllers/user_api_controller.rb +11 -9
  29. data/lib/mints/helpers/contact_auth_helper.rb +5 -3
  30. data/lib/mints/helpers/mints_helper.rb +39 -38
  31. data/lib/mints/helpers/proxy_controllers_methods.rb +24 -24
  32. data/lib/mints/helpers/user_auth_helper.rb +5 -3
  33. data/lib/mints.rb +12 -10
  34. data/lib/pub/config/attributes.rb +13 -0
  35. data/lib/pub/config/config.rb +15 -0
  36. data/lib/pub/config/public_folders.rb +51 -0
  37. data/lib/pub/config/tags.rb +42 -0
  38. data/lib/pub/config/taxonomies.rb +49 -0
  39. data/lib/pub/content/assets.rb +16 -0
  40. data/lib/pub/content/content.rb +22 -0
  41. data/lib/pub/content/content_bundles.rb +40 -0
  42. data/lib/pub/content/content_instance_versions.rb +56 -0
  43. data/lib/pub/content/content_instances.rb +37 -0
  44. data/lib/pub/content/forms.rb +47 -0
  45. data/lib/pub/content/stories.rb +44 -0
  46. data/lib/pub/content/story_versions.rb +46 -0
  47. data/lib/pub/ecommerce/ecommerce.rb +14 -0
  48. data/lib/pub/ecommerce/locations.rb +25 -0
  49. data/lib/pub/ecommerce/orders.rb +31 -0
  50. data/lib/pub/ecommerce/products.rb +45 -0
  51. data/lib/pub.rb +22 -461
  52. data/lib/user/config/api_keys.rb +63 -61
  53. data/lib/user/config/appointments.rb +217 -215
  54. data/lib/user/config/attribute_groups.rb +74 -72
  55. data/lib/user/config/attributes.rb +83 -81
  56. data/lib/user/config/calendars.rb +88 -86
  57. data/lib/user/config/config.rb +31 -63
  58. data/lib/user/config/public_folders.rb +105 -104
  59. data/lib/user/config/relationships.rb +135 -132
  60. data/lib/user/config/roles.rb +76 -79
  61. data/lib/user/config/seeds.rb +52 -51
  62. data/lib/user/config/system_settings.rb +50 -49
  63. data/lib/user/config/tags.rb +57 -59
  64. data/lib/user/config/taxonomies.rb +115 -119
  65. data/lib/user/config/teams.rb +2 -0
  66. data/lib/user/config/users.rb +2 -0
  67. data/lib/user/contacts/contacts.rb +2 -0
  68. data/lib/user/content/assets.rb +3 -3
  69. data/lib/user/content/content.rb +224 -223
  70. data/lib/user/content/content_instances.rb +4 -2
  71. data/lib/user/content/content_templates.rb +2 -0
  72. data/lib/user/content/conversations.rb +2 -0
  73. data/lib/user/content/dam.rb +2 -0
  74. data/lib/user/content/forms.rb +2 -0
  75. data/lib/user/content/message_templates.rb +2 -0
  76. data/lib/user/content/messages.rb +2 -0
  77. data/lib/user/content/pages.rb +4 -2
  78. data/lib/user/content/stories.rb +3 -3
  79. data/lib/user/content/story_templates.rb +5 -3
  80. data/lib/user/content/story_versions.rb +2 -0
  81. data/lib/user/crm/companies.rb +3 -1
  82. data/lib/user/crm/contacts.rb +2 -0
  83. data/lib/user/crm/crm.rb +2 -0
  84. data/lib/user/crm/deals.rb +2 -0
  85. data/lib/user/crm/favorites.rb +2 -0
  86. data/lib/user/crm/segments.rb +2 -0
  87. data/lib/user/crm/users.rb +2 -0
  88. data/lib/user/crm/workflow_step_objects.rb +2 -0
  89. data/lib/user/crm/workflow_steps.rb +2 -0
  90. data/lib/user/crm/workflows.rb +2 -0
  91. data/lib/user/ecommerce/ecommerce.rb +4 -0
  92. data/lib/user/ecommerce/item_prices.rb +2 -0
  93. data/lib/user/ecommerce/locations.rb +4 -2
  94. data/lib/user/ecommerce/order_items_groups.rb +5 -2
  95. data/lib/user/ecommerce/order_statuses.rb +2 -0
  96. data/lib/user/ecommerce/orders.rb +4 -1
  97. data/lib/user/ecommerce/price_lists.rb +2 -0
  98. data/lib/user/ecommerce/product_templates.rb +3 -1
  99. data/lib/user/ecommerce/product_variations.rb +2 -0
  100. data/lib/user/ecommerce/products.rb +3 -1
  101. data/lib/user/ecommerce/skus.rb +2 -0
  102. data/lib/user/ecommerce/taxes.rb +2 -0
  103. data/lib/user/ecommerce/variant_options.rb +2 -0
  104. data/lib/user/ecommerce/variant_values.rb +2 -0
  105. data/lib/user/ecommerce/vouchers.rb +90 -0
  106. data/lib/user/helpers/helpers.rb +2 -0
  107. data/lib/user/helpers/object_activities.rb +2 -0
  108. data/lib/user/helpers/object_folders.rb +2 -0
  109. data/lib/user/helpers/user_folders.rb +2 -0
  110. data/lib/user/marketing/marketing.rb +2 -0
  111. data/lib/user/profile/profile.rb +2 -0
  112. data/lib/user.rb +32 -41
  113. metadata +42 -16
  114. data/lib/user/config/importers.rb +0 -184
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module WorkflowStepObjects
2
4
  ##
3
5
  # == Workflow Step Objects
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module WorkFlowSteps
2
4
  ##
3
5
  # == Workflow Steps
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Workflows
2
4
  ##
3
5
  # == Workflows
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require_relative './item_prices'
2
4
  require_relative './locations'
3
5
  require_relative './order_items_groups'
@@ -11,6 +13,7 @@ require_relative './skus'
11
13
  require_relative './taxes'
12
14
  require_relative './variant_options'
13
15
  require_relative './variant_values'
16
+ require_relative './vouchers'
14
17
 
15
18
  module Ecommerce
16
19
  include ItemPrices
@@ -26,4 +29,5 @@ module Ecommerce
26
29
  include Taxes
27
30
  include VariantOptions
28
31
  include VariantValues
32
+ include Vouchers
29
33
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ItemPrices
2
4
  ##
3
5
  # == Item Prices
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Locations
2
4
  ##
3
5
  # == Locations
@@ -29,8 +31,8 @@ module Locations
29
31
  #
30
32
  # ==== Example
31
33
  # @data = @mints_user.get_location(2)
32
- def get_location(id)
33
- @client.raw('get', "/ecommerce/locations/#{id}")
34
+ def get_location(id, options = nil)
35
+ @client.raw('get', "/ecommerce/locations/#{id}", options)
34
36
  end
35
37
 
36
38
  # === Create location.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module OrderItemsGroups
2
4
  ##
3
5
  # == Order Items Groups
@@ -13,7 +15,8 @@ module OrderItemsGroups
13
15
  # ==== Example
14
16
  # @data = @mints_user.get_pending_order_template_from_order_item_group(1, 1)
15
17
  def get_pending_order_template_from_order_item_group(parent_order_id, order_template_id)
16
- @client.raw('get', "/ecommerce/order-items-groups/#{parent_order_id}/pending-items/order-template/#{order_template_id}")
18
+ url = "/ecommerce/order-items-groups/#{parent_order_id}/pending-items/order-template/#{order_template_id}"
19
+ @client.raw('get', url)
17
20
  end
18
21
 
19
22
  # === Get order item group support data by order id.
@@ -77,7 +80,7 @@ module OrderItemsGroups
77
80
  # }
78
81
  # options = { include: 'orderItems' }
79
82
  # @data = @mints_user.create_order_item_group(data, options)
80
- def create_order_item_group(data, options = nil)
83
+ def create_order_item_group(data, options = nil)
81
84
  @client.raw('post', '/ecommerce/order-items-groups', options, data_transform(data))
82
85
  end
83
86
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module OrderStatuses
2
4
  ##
3
5
  # == Order Statuses
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Orders
2
4
  ##
3
5
  # == Orders
@@ -208,7 +210,8 @@ module Orders
208
210
  #
209
211
  def update_order_item_from_order_item_group(order_item_id, group_id, data)
210
212
  # TODO: Research use
211
- @client.raw('put', "/ecommerce/order-items/update/#{order_item_id}/order-items-groups/#{group_id}", nil, data_transform(data))
213
+ url = "/ecommerce/order-items/update/#{order_item_id}/order-items-groups/#{group_id}"
214
+ @client.raw('put', url, nil, data_transform(data))
212
215
  end
213
216
 
214
217
  # === Get order items.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module PriceList
2
4
  ##
3
5
  # == Price List
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ProductTemplates
2
4
  ##
3
5
  # == Product Templates
@@ -33,7 +35,7 @@ module ProductTemplates
33
35
  # ==== Example
34
36
  # @data = @mints_user.get_product_templates_support_data
35
37
  def get_product_templates_support_data
36
- @client.raw('get', "/ecommerce/product-templates/support-data")
38
+ @client.raw('get', '/ecommerce/product-templates/support-data')
37
39
  end
38
40
 
39
41
  # === Get product templates.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ProductVariations
2
4
  ##
3
5
  # == Product Variation
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Products
2
4
  ##
3
5
  # == Product
@@ -112,7 +114,7 @@ module Products
112
114
  # }
113
115
  # @data = @mints_user.get_products(options, false)
114
116
  def get_products(options = nil, use_post = true)
115
- get_query_results("/ecommerce/products", options, use_post)
117
+ get_query_results('/ecommerce/products', options, use_post)
116
118
  end
117
119
 
118
120
  # === Get product.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Skus
2
4
  ##
3
5
  # == Sku
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Taxes
2
4
  ##
3
5
  # == Taxes
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module VariantOptions
2
4
  ##
3
5
  # == Variant Options
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module VariantValues
2
4
  ##
3
5
  # == Variant Values
@@ -0,0 +1,90 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Vouchers
4
+ ##
5
+ # === Get vouchers.
6
+ # Get a collection of vouchers.
7
+ #
8
+ # ==== Parameters
9
+ # options:: (Hash) -- List of Resource Collection Options shown above can be used as parameter.
10
+ # use_post:: (Boolean) -- Variable to determine if the request is by 'post' or 'get' functions.
11
+ #
12
+ # ==== First Example
13
+ #
14
+ # @data = @mints_user.get_vouchers
15
+ # ==== Second Example
16
+ #
17
+ # options = { fields: 'id,title' }
18
+ # @data = @mints_user.get_vouchers(options)
19
+ # ==== Third Example
20
+ #
21
+ # options = { fields: 'id,title' }
22
+ # @data = @mints_user.get_vouchers(options, true)
23
+ #
24
+ def get_vouchers(options = nil, use_post = true)
25
+ get_query_results('/ecommerce/vouchers', options, use_post)
26
+ end
27
+
28
+ ##
29
+ # === Get vouchers.
30
+ # Get a specific voucher.
31
+ #
32
+ # ==== Parameters
33
+ # id:: (Integer) -- Voucher id.
34
+ # options:: (Hash) -- List of Resource Collection Options shown above can be used as parameter.
35
+ #
36
+ # ==== First Example
37
+ #
38
+ # @data = @mints_user.get_voucher(1)
39
+ # ==== Second Example
40
+ #
41
+ # options = { fields: 'id,title' }
42
+ # @data = @mints_user.get_voucher(1, options)
43
+ def get_voucher(id, options = nil)
44
+ @client.raw('get', "/ecommerce/vouchers/#{id}", options)
45
+ end
46
+
47
+ ##
48
+ # === Create voucher.
49
+ # Create voucher code.
50
+ #
51
+ # ==== Parameters
52
+ # data:: (Hash) -- Data to be submitted.
53
+ #
54
+ # ==== Example
55
+ # data = {
56
+ # title: 'Voucher title',
57
+ # voucher_code: 'XAZWQ12MP',
58
+ # amount: 100,
59
+ # start_date: '2023-03-28T10:20:00-06:00',
60
+ # end_date: '2023-03-31T10:20:00-06:00',
61
+ # is_redeemed: false
62
+ # }
63
+ #
64
+ # @data = @mints_user.create_voucher(data)
65
+ def create_voucher(data)
66
+ @client.raw('post', '/ecommerce/vouchers', nil, data_transform(data))
67
+ end
68
+
69
+ ##
70
+ # === Update voucher.
71
+ # Update voucher code.
72
+ #
73
+ # ==== Parameters
74
+ # id:: (Integer) -- Voucher id.
75
+ # data:: (Hash) -- Data to be submitted.
76
+ #
77
+ # ==== Example
78
+ # data = {
79
+ # title: 'New voucher title',
80
+ # voucher_code: 'XAZWQ12MP2',
81
+ # amount: 250,
82
+ # start_date: '2023-03-27T10:20:00-06:00',
83
+ # end_date: '2023-03-30T10:20:00-06:00'
84
+ # }
85
+ #
86
+ # @data = @mints_user.update_voucher(1, data)
87
+ def update_voucher(id, data)
88
+ @client.raw('put', "/ecommerce/vouchers/#{id}", nil, data_transform(data))
89
+ end
90
+ end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require_relative './object_activities'
2
4
  require_relative './object_folders'
3
5
  require_relative './user_folders'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ObjectActivities
2
4
  ##
3
5
  # == Object Activities
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ObjectFolders
2
4
  ##
3
5
  # == Object Folders
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module UserFolders
2
4
  ##
3
5
  # == User Folders
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Marketing
2
4
  ##
3
5
  # == Automation
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Profile
2
4
  ##
3
5
  # === Me.
data/lib/user.rb CHANGED
@@ -1,13 +1,15 @@
1
- require_relative './client.rb'
2
- require_relative './mints/helpers/mints_helper.rb'
3
- require_relative './user/crm/crm.rb'
4
- require_relative './user/content/content.rb'
5
- require_relative './user/marketing/marketing.rb'
6
- require_relative './user/ecommerce/ecommerce.rb'
7
- require_relative './user/config/config.rb'
8
- require_relative './user/profile/profile.rb'
9
- require_relative './user/helpers/helpers.rb'
10
- require_relative './user/contacts/contacts.rb'
1
+ # frozen_string_literal: true
2
+
3
+ require_relative './client'
4
+ require_relative './mints/helpers/mints_helper'
5
+ require_relative './user/crm/crm'
6
+ require_relative './user/content/content'
7
+ require_relative './user/marketing/marketing'
8
+ require_relative './user/ecommerce/ecommerce'
9
+ require_relative './user/config/config'
10
+ require_relative './user/profile/profile'
11
+ require_relative './user/helpers/helpers'
12
+ require_relative './user/contacts/contacts'
11
13
 
12
14
  module Mints
13
15
  ##
@@ -21,21 +23,19 @@ module Mints
21
23
  # == Single resource options
22
24
  # * +include+ - [String] include a relationship
23
25
  # * +attributes+ - [Boolean] attach attributes to response
24
- # * +categories+ - [Boolean] attach categories to response
25
26
  # * +tags+ - [Boolean] attach tags to response
26
- # == Resource collections options
27
+ # * +taxonomies+ - [Boolean] attach categories to response
28
+ # == Resource collections options
27
29
  # * +search+ - [String] filter by a search word
28
30
  # * +scopes+ - [String] filter by a scope
29
31
  # * +filters+ - [String] filter by where clauses
30
- # * +jfilters+ - [String] filter using complex condition objects
31
- # * +catfilters+ - [String] filter by categories
32
+ # * +jfilters+ - [String] filter using complex condition objects (this filter use mongo queries)
33
+ # * +afilters+ - [String] filter using complex condition objects (this filter use postgresql queries)
34
+ # * +rfilters+ - [String] filter using complex condition objects from relationships
35
+ # * +dfilters+ - [String] filter using conditions based on dates
32
36
  # * +fields+ - [String] indicates the columns that will be selected
33
37
  # * +sort+ - [String] indicates the columns that will be selected
34
- # * +include+ - [String] include a relationship
35
- # * +attributes+ - [Boolean] attach attributes to response
36
- # * +categories+ - [Boolean] attach categories to response
37
- # * +taxonomies+ - [Boolean] attach categories to response
38
- # * +tags+ - [Boolean] attach tags to response
38
+
39
39
  class User
40
40
  include CRM
41
41
  include Content
@@ -45,44 +45,35 @@ module Mints
45
45
  include Profile
46
46
  include Helpers
47
47
  include Contacts
48
+ include MintsHelper
48
49
 
49
50
  attr_reader :client
51
+
50
52
  def initialize(host, api_key, session_token = nil, debug = false)
51
53
  @client = Mints::Client.new(host, api_key, 'user', session_token, nil, nil, debug)
52
54
  end
53
55
 
54
56
  def login(email, password)
55
- data = {
56
- email: email,
57
- password: password,
58
- }
59
- response = @client.raw('post', "/users/login", nil, data.to_json, '/api/v1', {'no_content_type': true})
60
- if response.key? "api_token"
61
- @client.session_token = response["api_token"]
62
- end
63
- return response
57
+ data = { email: email, password: password }
58
+ response = @client.raw('post', '/users/login', nil, data.to_json, '/api/v1', { no_content_type: true })
59
+ @client.session_token = response['api_token'] if response.key? 'api_token'
60
+
61
+ response
64
62
  end
65
63
 
66
64
  def magic_link_login(token)
67
- response = @client.raw('get', "/users/magic-link-login/#{token}", nil, nil, '/api/v1')
68
- return response
65
+ @client.raw('get', "/users/magic-link-login/#{token}", nil, nil, '/api/v1')
69
66
  end
70
67
 
71
68
  ##
72
69
  # === Send magic link to user
73
- def send_magic_link(email, redirectUrl = '', lifeTime = 24)
70
+ def send_magic_link(email, redirect_url = '', life_time = 24)
74
71
  data = {
75
72
  email: email,
76
- redirectUrl: redirectUrl,
77
- lifeTime: lifeTime
73
+ redirectUrl: redirect_url,
74
+ lifeTime: life_time
78
75
  }
79
- response = @client.raw('post', "/users/magic-link", nil, { data: data }, '/api/v1')
80
- return response
76
+ @client.raw('post', '/users/magic-link', nil, { data: data }, '/api/v1')
81
77
  end
82
-
83
- private
84
-
85
- include MintsHelper
86
-
87
- end
78
+ end
88
79
  end
metadata CHANGED
@@ -1,33 +1,33 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mints
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.28
4
+ version: 0.0.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruben Gomez Garcia, Omar Mora, Luis Payan, Oscar Castillo, Fabian Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-21 00:00:00.000000000 Z
11
+ date: 2023-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 2.7.0
20
- - - ">="
20
+ - - "~>"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.7.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - "~>"
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: 2.7.0
30
- - - ">="
30
+ - - "~>"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.7.0
33
33
  - !ruby/object:Gem::Dependency
@@ -68,40 +68,40 @@ dependencies:
68
68
  name: rails-reverse-proxy
69
69
  requirement: !ruby/object:Gem::Requirement
70
70
  requirements:
71
- - - "~>"
71
+ - - ">="
72
72
  - !ruby/object:Gem::Version
73
73
  version: 0.9.1
74
- - - ">="
74
+ - - "~>"
75
75
  - !ruby/object:Gem::Version
76
76
  version: 0.9.1
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - "~>"
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: 0.9.1
84
- - - ">="
84
+ - - "~>"
85
85
  - !ruby/object:Gem::Version
86
86
  version: 0.9.1
87
87
  - !ruby/object:Gem::Dependency
88
88
  name: redis
89
89
  requirement: !ruby/object:Gem::Requirement
90
90
  requirements:
91
- - - "~>"
91
+ - - ">="
92
92
  - !ruby/object:Gem::Version
93
93
  version: 4.2.2
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: 4.2.2
97
97
  type: :runtime
98
98
  prerelease: false
99
99
  version_requirements: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: 4.2.2
104
- - - ">="
104
+ - - "~>"
105
105
  - !ruby/object:Gem::Version
106
106
  version: 4.2.2
107
107
  description:
@@ -114,6 +114,15 @@ files:
114
114
  - README.md
115
115
  - lib/client.rb
116
116
  - lib/contact.rb
117
+ - lib/contact/config/appointments.rb
118
+ - lib/contact/config/config.rb
119
+ - lib/contact/content/content.rb
120
+ - lib/contact/content/conversations.rb
121
+ - lib/contact/ecommerce/ecommerce.rb
122
+ - lib/contact/ecommerce/order_items.rb
123
+ - lib/contact/ecommerce/order_items_groups.rb
124
+ - lib/contact/ecommerce/orders.rb
125
+ - lib/contact/ecommerce/vouchers.rb
117
126
  - lib/errors.rb
118
127
  - lib/generators/mints_assets_controller.rb
119
128
  - lib/generators/mints_config.yml.erb
@@ -137,6 +146,23 @@ files:
137
146
  - lib/mints/helpers/proxy_controllers_methods.rb
138
147
  - lib/mints/helpers/user_auth_helper.rb
139
148
  - lib/pub.rb
149
+ - lib/pub/config/attributes.rb
150
+ - lib/pub/config/config.rb
151
+ - lib/pub/config/public_folders.rb
152
+ - lib/pub/config/tags.rb
153
+ - lib/pub/config/taxonomies.rb
154
+ - lib/pub/content/assets.rb
155
+ - lib/pub/content/content.rb
156
+ - lib/pub/content/content_bundles.rb
157
+ - lib/pub/content/content_instance_versions.rb
158
+ - lib/pub/content/content_instances.rb
159
+ - lib/pub/content/forms.rb
160
+ - lib/pub/content/stories.rb
161
+ - lib/pub/content/story_versions.rb
162
+ - lib/pub/ecommerce/ecommerce.rb
163
+ - lib/pub/ecommerce/locations.rb
164
+ - lib/pub/ecommerce/orders.rb
165
+ - lib/pub/ecommerce/products.rb
140
166
  - lib/user.rb
141
167
  - lib/user/config/api_keys.rb
142
168
  - lib/user/config/appointments.rb
@@ -144,7 +170,6 @@ files:
144
170
  - lib/user/config/attributes.rb
145
171
  - lib/user/config/calendars.rb
146
172
  - lib/user/config/config.rb
147
- - lib/user/config/importers.rb
148
173
  - lib/user/config/public_folders.rb
149
174
  - lib/user/config/relationships.rb
150
175
  - lib/user/config/roles.rb
@@ -192,6 +217,7 @@ files:
192
217
  - lib/user/ecommerce/taxes.rb
193
218
  - lib/user/ecommerce/variant_options.rb
194
219
  - lib/user/ecommerce/variant_values.rb
220
+ - lib/user/ecommerce/vouchers.rb
195
221
  - lib/user/helpers/helpers.rb
196
222
  - lib/user/helpers/object_activities.rb
197
223
  - lib/user/helpers/object_folders.rb
@@ -217,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
243
  - !ruby/object:Gem::Version
218
244
  version: '0'
219
245
  requirements: []
220
- rubygems_version: 3.1.6
246
+ rubygems_version: 3.0.3.1
221
247
  signing_key:
222
248
  specification_version: 4
223
249
  summary: MINTS gem allows to connect your Rails App to MINTS.CLOUD