MailchimpMarketing 3.0.32 → 3.0.33

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: adf75a666dfc687afbe3e8a0d8cde20c8cbca5cd8b0ed39dc379b2e76dcef7bf
4
- data.tar.gz: 40bf596d14629fe7e4c1fff7cd04e0a4d799fc3457b04cccd5111321d5e4591d
3
+ metadata.gz: 04642f221a8eb33cae449ce2c65536d131f2283534a7c564eedd36fa9ba4b14d
4
+ data.tar.gz: fdab26622e78931eae71e8ee301383dc970fbb2a195b62adf0f97e35ccea2ab7
5
5
  SHA512:
6
- metadata.gz: cd0aa82759b4c88fe8b5d57c96215a24e9e74522dcc99c0c3d729c019d0778c65b85f646551396f1f2ef19d800be7b776b3e5d1121137a269b4ffbae583aeb0b
7
- data.tar.gz: 59640c58f8fb40f1bda71654feb66d4c6f4df3ce131f496a491417ae55a56d3110800343efcd7a27892ae993790937d0fd02ccd17aa75d274c598d815cb4b607
6
+ metadata.gz: 4d8e5ff144fc33bea8bb9e1b09b4e11ed4b1fc30d999127bf70f26d9982786337ce7508185dd21fb80b58b94bfe982185be0dbcf4e58922c9d13648f6dce2bd6
7
+ data.tar.gz: e8ae266ed1bc5517800db2246274d4277ac34833c87ce00430f956e1d8975b1f68d821b6f0078b7db0384d2d5096e937ec14d170b98b11baf140fdcccb4fb8f4
@@ -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.32
8
+ OpenAPI spec version: 3.0.33
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.32.gem
30
- gem 'MailchimpMarketing', '~> 3.0.32'
29
+ gem install ./MailchimpMarketing-3.0.33.gem
30
+ gem 'MailchimpMarketing', '~> 3.0.33'
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32
6
+ OpenAPI spec version: 3.0.33
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.32'
14
+ VERSION = '3.0.33'
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.32
4
+ version: 3.0.33
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-23 00:00:00.000000000 Z
11
+ date: 2021-02-24 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