MailchimpMarketing 3.0.30 → 3.0.35

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/MailchimpMarketing.gemspec +1 -1
  3. data/README.md +3 -2
  4. data/lib/MailchimpMarketing.rb +6 -1
  5. data/lib/MailchimpMarketing/api/activity_feed_api.rb +1 -1
  6. data/lib/MailchimpMarketing/api/authorized_apps_api.rb +1 -1
  7. data/lib/MailchimpMarketing/api/automations_api.rb +1 -1
  8. data/lib/MailchimpMarketing/api/batch_webhooks_api.rb +1 -1
  9. data/lib/MailchimpMarketing/api/batches_api.rb +1 -1
  10. data/lib/MailchimpMarketing/api/campaign_folders_api.rb +1 -1
  11. data/lib/MailchimpMarketing/api/campaigns_api.rb +1 -1
  12. data/lib/MailchimpMarketing/api/connected_sites_api.rb +1 -1
  13. data/lib/MailchimpMarketing/api/conversations_api.rb +1 -1
  14. data/lib/MailchimpMarketing/api/customer_journeys_api.rb +39 -0
  15. data/lib/MailchimpMarketing/api/ecommerce_api.rb +1 -1
  16. data/lib/MailchimpMarketing/api/facebook_ads_api.rb +1 -1
  17. data/lib/MailchimpMarketing/api/file_manager_api.rb +1 -1
  18. data/lib/MailchimpMarketing/api/landing_pages_api.rb +1 -1
  19. data/lib/MailchimpMarketing/api/lists_api.rb +1 -1
  20. data/lib/MailchimpMarketing/api/ping_api.rb +1 -1
  21. data/lib/MailchimpMarketing/api/reporting_api.rb +1 -1
  22. data/lib/MailchimpMarketing/api/reports_api.rb +1 -1
  23. data/lib/MailchimpMarketing/api/root_api.rb +1 -1
  24. data/lib/MailchimpMarketing/api/search_campaigns_api.rb +1 -1
  25. data/lib/MailchimpMarketing/api/search_members_api.rb +1 -1
  26. data/lib/MailchimpMarketing/api/template_folders_api.rb +1 -1
  27. data/lib/MailchimpMarketing/api/templates_api.rb +1 -1
  28. data/lib/MailchimpMarketing/api/verified_domains_api.rb +1 -1
  29. data/lib/MailchimpMarketing/api_client.rb +1 -1
  30. data/lib/MailchimpMarketing/api_error.rb +1 -1
  31. data/lib/MailchimpMarketing/configuration.rb +1 -1
  32. data/lib/MailchimpMarketing/version.rb +2 -2
  33. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a152667fff2406934ba7359e1d2d7b2797ae8094eda990538487489c37ee96f4
4
- data.tar.gz: 1e33acca1b7a7509eff35684517f431e4e373e64e079f1300ca977d9b94e5de0
3
+ metadata.gz: 20df106e1a8850de98238caffc954d2746836c6aaecc0d1fd653acf4b890b92f
4
+ data.tar.gz: f7f5a6987768cb56c399819e2ffba1e4d7a90219fe814ff2fcbfed009288e425
5
5
  SHA512:
6
- metadata.gz: b6375a0f9ca6de85b9dc21501fbe1602d8e29de0f6a18884bffc6201cc9650b65d9ae72f1ceaa5b399a1a343591e18a2fa69bab1fafa609898b1f3f7600d2c61
7
- data.tar.gz: 701934d7173806489c19c2094fe8e19f78dc87d2f31a92b804198abb955449468516a7d2871e3e638bbb01441a5842bac263a2a62808892ac29e24c90f5b1e9a
6
+ metadata.gz: 77b771569374575dcc599975f4687a534b6ea9fdea394ba8c266e5f6d320a8972594feb948229e52a5c59270825a54e997fae41870c235d3fc1295f804d6082c
7
+ data.tar.gz: 42dc48919eb2a436d3c4dc7e70b4e13a94f9b02098f2209c707563c60a066ebc77515a4fac7a5c5d6493be6043dd5421408899f4126eb04dba51585e6416cacf
@@ -5,7 +5,7 @@
5
5
 
6
6
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
7
7
 
8
- OpenAPI spec version: 3.0.30
8
+ OpenAPI spec version: 3.0.35
9
9
  Contact: apihelp@mailchimp.com
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
11
  Swagger Codegen version: 2.4.12
data/README.md CHANGED
@@ -26,8 +26,8 @@ gem 'MailchimpMarketing', :git => 'https://github.com/mailchimp/mailchimp-market
26
26
 
27
27
  ```shell
28
28
  gem build MailchimpMarketing.gemspec
29
- gem install ./MailchimpMarketing-3.0.30.gem
30
- gem 'MailchimpMarketing', '~> 3.0.30'
29
+ gem install ./MailchimpMarketing-3.0.35.gem
30
+ gem 'MailchimpMarketing', '~> 3.0.35'
31
31
  ```
32
32
 
33
33
  ## Quick Start
@@ -154,6 +154,7 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
154
154
  | **conversations.get_conversation_messages** | /conversations/{conversation_id}/messages |
155
155
  | **conversations.get_conversation_message** | /conversations/{conversation_id}/messages/{message_id} |
156
156
  | **conversations.create_conversation_message** | /conversations/{conversation_id}/messages |
157
+ | **customerJourneys.trigger** | /customer-journeys/journeys/{journey_id}/steps/{step_id}/actions/trigger |
157
158
  | **ecommerce.delete_store** | /ecommerce/stores/{store_id} |
158
159
  | **ecommerce.delete_store_cart** | /ecommerce/stores/{store_id}/carts/{cart_id} |
159
160
  | **ecommerce.delete_cart_line_item** | /ecommerce/stores/{store_id}/carts/{cart_id}/lines/{line_id} |
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -25,6 +25,7 @@ require 'MailchimpMarketing/api/campaign_folders_api'
25
25
  require 'MailchimpMarketing/api/campaigns_api'
26
26
  require 'MailchimpMarketing/api/connected_sites_api'
27
27
  require 'MailchimpMarketing/api/conversations_api'
28
+ require 'MailchimpMarketing/api/customer_journeys_api'
28
29
  require 'MailchimpMarketing/api/ecommerce_api'
29
30
  require 'MailchimpMarketing/api/facebook_ads_api'
30
31
  require 'MailchimpMarketing/api/file_manager_api'
@@ -54,6 +55,7 @@ module MailchimpMarketing
54
55
  @Campaigns = CampaignsApi.new(@api_client)
55
56
  @ConnectedSites = ConnectedSitesApi.new(@api_client)
56
57
  @Conversations = ConversationsApi.new(@api_client)
58
+ @CustomerJourneys = CustomerJourneysApi.new(@api_client)
57
59
  @Ecommerce = EcommerceApi.new(@api_client)
58
60
  @FacebookAds = FacebookAdsApi.new(@api_client)
59
61
  @FileManager = FileManagerApi.new(@api_client)
@@ -101,6 +103,9 @@ module MailchimpMarketing
101
103
  def conversations
102
104
  @Conversations
103
105
  end
106
+ def customerJourneys
107
+ @CustomerJourneys
108
+ end
104
109
  def ecommerce
105
110
  @Ecommerce
106
111
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -0,0 +1,39 @@
1
+ =begin
2
+ #Mailchimp Marketing API
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 3.0.35
7
+ Contact: apihelp@mailchimp.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.12
10
+
11
+ =end
12
+
13
+ require 'uri'
14
+
15
+ module MailchimpMarketing
16
+ class CustomerJourneysApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client)
20
+ @api_client = api_client
21
+ end
22
+
23
+ # Trigger an API3.0 Customer Journey trigger.
24
+ def trigger(journey_id, step_id, body, opts = {})
25
+ fail ArgumentError, "Missing required param: 'journey_id'" if journey_id.nil?
26
+ fail ArgumentError, "Missing required param: 'step_id'" if step_id.nil?
27
+ fail ArgumentError, "Missing required param: 'body'" if body.nil?
28
+
29
+ query_params = {}
30
+ post_body = @api_client.object_to_http_body(body)
31
+
32
+ local_var_path = '/customer-journeys/journeys/{journey_id}/steps/{step_id}/actions/trigger'.sub('{' + 'journey_id' + '}', journey_id.to_s).sub('{' + 'step_id' + '}', step_id.to_s)
33
+ data = @api_client.call_api(:POST, local_var_path,
34
+ :query_params => query_params,
35
+ :body => post_body)
36
+ return data
37
+ end
38
+ end
39
+ end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.30
6
+ OpenAPI spec version: 3.0.35
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.12
11
11
  =end
12
12
 
13
13
  module MailchimpMarketing
14
- VERSION = '3.0.30'
14
+ VERSION = '3.0.35'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: MailchimpMarketing
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.30
4
+ version: 3.0.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swagger-Codegen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-19 00:00:00.000000000 Z
11
+ date: 2021-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon
@@ -205,6 +205,7 @@ files:
205
205
  - lib/MailchimpMarketing/api/campaigns_api.rb
206
206
  - lib/MailchimpMarketing/api/connected_sites_api.rb
207
207
  - lib/MailchimpMarketing/api/conversations_api.rb
208
+ - lib/MailchimpMarketing/api/customer_journeys_api.rb
208
209
  - lib/MailchimpMarketing/api/ecommerce_api.rb
209
210
  - lib/MailchimpMarketing/api/facebook_ads_api.rb
210
211
  - lib/MailchimpMarketing/api/file_manager_api.rb