clicksend_client 5.0.75 → 5.1.2
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/clicksend_client.gemspec +2 -2
- data/docs/ContactApi.md +3 -1
- data/docs/CountryListIds.md +8 -0
- data/docs/FaxMessage.md +1 -1
- data/docs/GlobalSendingApi.md +206 -0
- data/docs/MmsCampaign.md +1 -1
- data/docs/SMSApi.md +1 -1
- data/docs/SmsCampaign.md +1 -1
- data/docs/SmsMessage.md +2 -2
- data/docs/VoiceMessage.md +1 -1
- data/lib/clicksend_client/api/account_api.rb +1 -1
- data/lib/clicksend_client/api/account_recharge_api.rb +1 -1
- data/lib/clicksend_client/api/contact_api.rb +8 -1
- data/lib/clicksend_client/api/contact_list_api.rb +1 -1
- data/lib/clicksend_client/api/countries_api.rb +1 -1
- data/lib/clicksend_client/api/delivery_issues_api.rb +1 -1
- data/lib/clicksend_client/api/detect_address_api.rb +1 -1
- data/lib/clicksend_client/api/email_delivery_receipt_rules_api.rb +1 -1
- data/lib/clicksend_client/api/email_marketing_api.rb +1 -1
- data/lib/clicksend_client/api/email_to_sms_api.rb +1 -1
- data/lib/clicksend_client/api/fax_api.rb +1 -1
- data/lib/clicksend_client/api/fax_delivery_receipt_rules_api.rb +1 -1
- data/lib/clicksend_client/api/global_sending_api.rb +221 -0
- data/lib/clicksend_client/api/inbound_fax_rules_api.rb +1 -1
- data/lib/clicksend_client/api/inbound_sms_rules_api.rb +1 -1
- data/lib/clicksend_client/api/master_email_templates_api.rb +1 -1
- data/lib/clicksend_client/api/mms_api.rb +1 -1
- data/lib/clicksend_client/api/mms_campaign_api.rb +1 -1
- data/lib/clicksend_client/api/number_api.rb +1 -1
- data/lib/clicksend_client/api/post_letter_api.rb +1 -1
- data/lib/clicksend_client/api/post_postcard_api.rb +1 -1
- data/lib/clicksend_client/api/post_return_address_api.rb +1 -1
- data/lib/clicksend_client/api/referral_account_api.rb +1 -1
- data/lib/clicksend_client/api/reseller_account_api.rb +1 -1
- data/lib/clicksend_client/api/search_api.rb +1 -1
- data/lib/clicksend_client/api/sms_api.rb +3 -3
- data/lib/clicksend_client/api/sms_campaign_api.rb +1 -1
- data/lib/clicksend_client/api/sms_delivery_receipt_rules_api.rb +1 -1
- data/lib/clicksend_client/api/statistics_api.rb +1 -1
- data/lib/clicksend_client/api/subaccount_api.rb +1 -1
- data/lib/clicksend_client/api/timezones_api.rb +1 -1
- data/lib/clicksend_client/api/transactional_email_api.rb +1 -1
- data/lib/clicksend_client/api/transfer_credit_api.rb +1 -1
- data/lib/clicksend_client/api/upload_api.rb +1 -1
- data/lib/clicksend_client/api/user_email_templates_api.rb +1 -1
- data/lib/clicksend_client/api/voice_api.rb +1 -1
- data/lib/clicksend_client/api/voice_delivery_receipt_rules_api.rb +1 -1
- data/lib/clicksend_client/api_client.rb +1 -1
- data/lib/clicksend_client/api_error.rb +1 -1
- data/lib/clicksend_client/configuration.rb +1 -1
- data/lib/clicksend_client/models/account.rb +1 -1
- data/lib/clicksend_client/models/account_forgot_password_verify.rb +1 -1
- data/lib/clicksend_client/models/account_verify.rb +1 -1
- data/lib/clicksend_client/models/address.rb +1 -1
- data/lib/clicksend_client/models/attachment.rb +1 -1
- data/lib/clicksend_client/models/contact.rb +1 -1
- data/lib/clicksend_client/models/contact_list.rb +1 -1
- data/lib/clicksend_client/models/contact_list_import.rb +1 -1
- data/lib/clicksend_client/models/country_list_ids.rb +192 -0
- data/lib/clicksend_client/models/credit_card.rb +1 -1
- data/lib/clicksend_client/models/date_before.rb +1 -1
- data/lib/clicksend_client/models/delivery_issue.rb +1 -1
- data/lib/clicksend_client/models/delivery_receipt_rule.rb +1 -1
- data/lib/clicksend_client/models/email.rb +1 -1
- data/lib/clicksend_client/models/email_address.rb +1 -1
- data/lib/clicksend_client/models/email_campaign.rb +1 -1
- data/lib/clicksend_client/models/email_from.rb +1 -1
- data/lib/clicksend_client/models/email_recipient.rb +1 -1
- data/lib/clicksend_client/models/email_sms_address.rb +1 -1
- data/lib/clicksend_client/models/email_template_new.rb +1 -1
- data/lib/clicksend_client/models/email_template_update.rb +1 -1
- data/lib/clicksend_client/models/fax_message.rb +2 -2
- data/lib/clicksend_client/models/fax_message_collection.rb +1 -1
- data/lib/clicksend_client/models/fields.rb +1 -1
- data/lib/clicksend_client/models/fields_fields.rb +1 -1
- data/lib/clicksend_client/models/forgot_password.rb +1 -1
- data/lib/clicksend_client/models/forgot_username.rb +1 -1
- data/lib/clicksend_client/models/inbound_fax_rule.rb +1 -1
- data/lib/clicksend_client/models/inbound_sms_rule.rb +1 -1
- data/lib/clicksend_client/models/mms_campaign.rb +2 -2
- data/lib/clicksend_client/models/mms_message.rb +1 -1
- data/lib/clicksend_client/models/mms_message_collection.rb +1 -1
- data/lib/clicksend_client/models/post_letter.rb +1 -1
- data/lib/clicksend_client/models/post_postcard.rb +1 -1
- data/lib/clicksend_client/models/post_recipient.rb +1 -1
- data/lib/clicksend_client/models/reseller_account.rb +1 -1
- data/lib/clicksend_client/models/reseller_account_transfer_credit.rb +1 -1
- data/lib/clicksend_client/models/sms_campaign.rb +2 -2
- data/lib/clicksend_client/models/sms_message.rb +3 -3
- data/lib/clicksend_client/models/sms_message_collection.rb +1 -1
- data/lib/clicksend_client/models/sms_template.rb +1 -1
- data/lib/clicksend_client/models/stripped_string.rb +1 -1
- data/lib/clicksend_client/models/subaccount.rb +1 -1
- data/lib/clicksend_client/models/upload_file.rb +1 -1
- data/lib/clicksend_client/models/url.rb +1 -1
- data/lib/clicksend_client/models/voice_message.rb +2 -2
- data/lib/clicksend_client/models/voice_message_collection.rb +1 -1
- data/lib/clicksend_client/version.rb +2 -2
- data/lib/clicksend_client.rb +3 -1
- data/spec/api/account_api_spec.rb +1 -1
- data/spec/api/account_recharge_api_spec.rb +1 -1
- data/spec/api/contact_api_spec.rb +2 -1
- data/spec/api/contact_list_api_spec.rb +1 -1
- data/spec/api/countries_api_spec.rb +1 -1
- data/spec/api/delivery_issues_api_spec.rb +1 -1
- data/spec/api/detect_address_api_spec.rb +1 -1
- data/spec/api/email_delivery_receipt_rules_api_spec.rb +1 -1
- data/spec/api/email_marketing_api_spec.rb +1 -1
- data/spec/api/email_to_sms_api_spec.rb +1 -1
- data/spec/api/fax_api_spec.rb +1 -1
- data/spec/api/fax_delivery_receipt_rules_api_spec.rb +1 -1
- data/spec/api/global_sending_api_spec.rb +80 -0
- data/spec/api/inbound_fax_rules_api_spec.rb +1 -1
- data/spec/api/inbound_sms_rules_api_spec.rb +1 -1
- data/spec/api/master_email_templates_api_spec.rb +1 -1
- data/spec/api/mms_api_spec.rb +1 -1
- data/spec/api/mms_campaign_api_spec.rb +1 -1
- data/spec/api/number_api_spec.rb +1 -1
- data/spec/api/post_letter_api_spec.rb +1 -1
- data/spec/api/post_postcard_api_spec.rb +1 -1
- data/spec/api/post_return_address_api_spec.rb +1 -1
- data/spec/api/referral_account_api_spec.rb +1 -1
- data/spec/api/reseller_account_api_spec.rb +1 -1
- data/spec/api/search_api_spec.rb +1 -1
- data/spec/api/sms_api_spec.rb +2 -2
- data/spec/api/sms_campaign_api_spec.rb +1 -1
- data/spec/api/sms_delivery_receipt_rules_api_spec.rb +1 -1
- data/spec/api/statistics_api_spec.rb +1 -1
- data/spec/api/subaccount_api_spec.rb +1 -1
- data/spec/api/timezones_api_spec.rb +1 -1
- data/spec/api/transactional_email_api_spec.rb +1 -1
- data/spec/api/transfer_credit_api_spec.rb +1 -1
- data/spec/api/upload_api_spec.rb +1 -1
- data/spec/api/user_email_templates_api_spec.rb +1 -1
- data/spec/api/voice_api_spec.rb +1 -1
- data/spec/api/voice_delivery_receipt_rules_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/account_forgot_password_verify_spec.rb +1 -1
- data/spec/models/account_spec.rb +1 -1
- data/spec/models/account_verify_spec.rb +1 -1
- data/spec/models/address_spec.rb +1 -1
- data/spec/models/attachment_spec.rb +1 -1
- data/spec/models/contact_list_import_spec.rb +1 -1
- data/spec/models/contact_list_spec.rb +1 -1
- data/spec/models/contact_spec.rb +1 -1
- data/spec/models/country_list_ids_spec.rb +41 -0
- data/spec/models/credit_card_spec.rb +1 -1
- data/spec/models/date_before_spec.rb +1 -1
- data/spec/models/delivery_issue_spec.rb +1 -1
- data/spec/models/delivery_receipt_rule_spec.rb +1 -1
- data/spec/models/email_address_spec.rb +1 -1
- data/spec/models/email_campaign_spec.rb +1 -1
- data/spec/models/email_from_spec.rb +1 -1
- data/spec/models/email_recipient_spec.rb +1 -1
- data/spec/models/email_sms_address_spec.rb +1 -1
- data/spec/models/email_spec.rb +1 -1
- data/spec/models/email_template_new_spec.rb +1 -1
- data/spec/models/email_template_update_spec.rb +1 -1
- data/spec/models/fax_message_collection_spec.rb +1 -1
- data/spec/models/fax_message_spec.rb +1 -1
- data/spec/models/fields_fields_spec.rb +1 -1
- data/spec/models/fields_spec.rb +1 -1
- data/spec/models/forgot_password_spec.rb +1 -1
- data/spec/models/forgot_username_spec.rb +1 -1
- data/spec/models/inbound_fax_rule_spec.rb +1 -1
- data/spec/models/inbound_sms_rule_spec.rb +1 -1
- data/spec/models/mms_campaign_spec.rb +1 -1
- data/spec/models/mms_message_collection_spec.rb +1 -1
- data/spec/models/mms_message_spec.rb +1 -1
- data/spec/models/post_letter_spec.rb +1 -1
- data/spec/models/post_postcard_spec.rb +1 -1
- data/spec/models/post_recipient_spec.rb +1 -1
- data/spec/models/reseller_account_spec.rb +1 -1
- data/spec/models/reseller_account_transfer_credit_spec.rb +1 -1
- data/spec/models/sms_campaign_spec.rb +1 -1
- data/spec/models/sms_message_collection_spec.rb +1 -1
- data/spec/models/sms_message_spec.rb +1 -1
- data/spec/models/sms_template_spec.rb +1 -1
- data/spec/models/stripped_string_spec.rb +1 -1
- data/spec/models/subaccount_spec.rb +1 -1
- data/spec/models/upload_file_spec.rb +1 -1
- data/spec/models/url_spec.rb +1 -1
- data/spec/models/voice_message_collection_spec.rb +1 -1
- data/spec/models/voice_message_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +77 -73
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#ClickSend v3 API
|
|
3
|
+
|
|
4
|
+
# This is an official SDK for [ClickSend](https://clicksend.com) Below you will find a current list of the available methods for clicksend. *NOTE: You will need to create a free account to use the API. You can register [here](https://dashboard.clicksend.com/#/signup/step1/)..*
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 3.1
|
|
7
|
+
Contact: support@clicksend.com
|
|
8
|
+
Generated by: https://github.com/clicksend-api/clicksend-codegen.git
|
|
9
|
+
ClickSend Codegen version: 2.4.53-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'uri'
|
|
14
|
+
|
|
15
|
+
module ClickSendClient
|
|
16
|
+
class GlobalSendingApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# List of countries
|
|
23
|
+
# List of countries with IDs that can be used in selecting countries for Global sending.
|
|
24
|
+
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @return [String]
|
|
26
|
+
def list_countries_get(opts = {})
|
|
27
|
+
data, _status_code, _headers = list_countries_get_with_http_info(opts)
|
|
28
|
+
data
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# List of countries
|
|
32
|
+
# List of countries with IDs that can be used in selecting countries for Global sending.
|
|
33
|
+
# @param [Hash] opts the optional parameters
|
|
34
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
35
|
+
def list_countries_get_with_http_info(opts = {})
|
|
36
|
+
if @api_client.config.debugging
|
|
37
|
+
@api_client.config.logger.debug 'Calling API: GlobalSendingApi.list_countries_get ...'
|
|
38
|
+
end
|
|
39
|
+
# resource path
|
|
40
|
+
local_var_path = '/country-list'
|
|
41
|
+
|
|
42
|
+
# query parameters
|
|
43
|
+
query_params = {}
|
|
44
|
+
|
|
45
|
+
# header parameters
|
|
46
|
+
header_params = {}
|
|
47
|
+
# HTTP header 'Accept' (if needed)
|
|
48
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
49
|
+
# HTTP header 'Content-Type'
|
|
50
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
51
|
+
|
|
52
|
+
# form parameters
|
|
53
|
+
form_params = {}
|
|
54
|
+
|
|
55
|
+
# http body (model)
|
|
56
|
+
post_body = nil
|
|
57
|
+
auth_names = ['BasicAuth']
|
|
58
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
59
|
+
:header_params => header_params,
|
|
60
|
+
:query_params => query_params,
|
|
61
|
+
:form_params => form_params,
|
|
62
|
+
:body => post_body,
|
|
63
|
+
:auth_names => auth_names,
|
|
64
|
+
:return_type => 'String')
|
|
65
|
+
if @api_client.config.debugging
|
|
66
|
+
@api_client.config.logger.debug "API called: GlobalSendingApi#list_countries_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
67
|
+
end
|
|
68
|
+
return data, status_code, headers
|
|
69
|
+
end
|
|
70
|
+
# Agree to rules and regulation
|
|
71
|
+
# To agree on rules and regulations of selected countries and confirm selection.
|
|
72
|
+
# @param [Hash] opts the optional parameters
|
|
73
|
+
# @return [String]
|
|
74
|
+
def user_countries_agree_post(opts = {})
|
|
75
|
+
data, _status_code, _headers = user_countries_agree_post_with_http_info(opts)
|
|
76
|
+
data
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# Agree to rules and regulation
|
|
80
|
+
# To agree on rules and regulations of selected countries and confirm selection.
|
|
81
|
+
# @param [Hash] opts the optional parameters
|
|
82
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
83
|
+
def user_countries_agree_post_with_http_info(opts = {})
|
|
84
|
+
if @api_client.config.debugging
|
|
85
|
+
@api_client.config.logger.debug 'Calling API: GlobalSendingApi.user_countries_agree_post ...'
|
|
86
|
+
end
|
|
87
|
+
# resource path
|
|
88
|
+
local_var_path = '/user-countries/agree'
|
|
89
|
+
|
|
90
|
+
# query parameters
|
|
91
|
+
query_params = {}
|
|
92
|
+
|
|
93
|
+
# header parameters
|
|
94
|
+
header_params = {}
|
|
95
|
+
# HTTP header 'Accept' (if needed)
|
|
96
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
97
|
+
# HTTP header 'Content-Type'
|
|
98
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
99
|
+
|
|
100
|
+
# form parameters
|
|
101
|
+
form_params = {}
|
|
102
|
+
|
|
103
|
+
# http body (model)
|
|
104
|
+
post_body = nil
|
|
105
|
+
auth_names = ['BasicAuth']
|
|
106
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
107
|
+
:header_params => header_params,
|
|
108
|
+
:query_params => query_params,
|
|
109
|
+
:form_params => form_params,
|
|
110
|
+
:body => post_body,
|
|
111
|
+
:auth_names => auth_names,
|
|
112
|
+
:return_type => 'String')
|
|
113
|
+
if @api_client.config.debugging
|
|
114
|
+
@api_client.config.logger.debug "API called: GlobalSendingApi#user_countries_agree_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
115
|
+
end
|
|
116
|
+
return data, status_code, headers
|
|
117
|
+
end
|
|
118
|
+
# Get Countries for Global Sending
|
|
119
|
+
# Get the list of selected countries.
|
|
120
|
+
# @param [Hash] opts the optional parameters
|
|
121
|
+
# @return [String]
|
|
122
|
+
def user_countries_get(opts = {})
|
|
123
|
+
data, _status_code, _headers = user_countries_get_with_http_info(opts)
|
|
124
|
+
data
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# Get Countries for Global Sending
|
|
128
|
+
# Get the list of selected countries.
|
|
129
|
+
# @param [Hash] opts the optional parameters
|
|
130
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
131
|
+
def user_countries_get_with_http_info(opts = {})
|
|
132
|
+
if @api_client.config.debugging
|
|
133
|
+
@api_client.config.logger.debug 'Calling API: GlobalSendingApi.user_countries_get ...'
|
|
134
|
+
end
|
|
135
|
+
# resource path
|
|
136
|
+
local_var_path = '/user-countries'
|
|
137
|
+
|
|
138
|
+
# query parameters
|
|
139
|
+
query_params = {}
|
|
140
|
+
|
|
141
|
+
# header parameters
|
|
142
|
+
header_params = {}
|
|
143
|
+
# HTTP header 'Accept' (if needed)
|
|
144
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
145
|
+
# HTTP header 'Content-Type'
|
|
146
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
147
|
+
|
|
148
|
+
# form parameters
|
|
149
|
+
form_params = {}
|
|
150
|
+
|
|
151
|
+
# http body (model)
|
|
152
|
+
post_body = nil
|
|
153
|
+
auth_names = ['BasicAuth']
|
|
154
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
155
|
+
:header_params => header_params,
|
|
156
|
+
:query_params => query_params,
|
|
157
|
+
:form_params => form_params,
|
|
158
|
+
:body => post_body,
|
|
159
|
+
:auth_names => auth_names,
|
|
160
|
+
:return_type => 'String')
|
|
161
|
+
if @api_client.config.debugging
|
|
162
|
+
@api_client.config.logger.debug "API called: GlobalSendingApi#user_countries_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
163
|
+
end
|
|
164
|
+
return data, status_code, headers
|
|
165
|
+
end
|
|
166
|
+
# Select Countries for Global Sending
|
|
167
|
+
# Use this endpoint to select countries that you intend to send sms / mms to. To remove / unselect a country, just remove the country id from the array in the payload.
|
|
168
|
+
# @param country_list_ids Id of countr(ies) you want to select, you can get them from GET /country-list response
|
|
169
|
+
# @param [Hash] opts the optional parameters
|
|
170
|
+
# @return [String]
|
|
171
|
+
def user_countries_post(country_list_ids, opts = {})
|
|
172
|
+
data, _status_code, _headers = user_countries_post_with_http_info(country_list_ids, opts)
|
|
173
|
+
data
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
# Select Countries for Global Sending
|
|
177
|
+
# Use this endpoint to select countries that you intend to send sms / mms to. To remove / unselect a country, just remove the country id from the array in the payload.
|
|
178
|
+
# @param country_list_ids Id of countr(ies) you want to select, you can get them from GET /country-list response
|
|
179
|
+
# @param [Hash] opts the optional parameters
|
|
180
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
181
|
+
def user_countries_post_with_http_info(country_list_ids, opts = {})
|
|
182
|
+
if @api_client.config.debugging
|
|
183
|
+
@api_client.config.logger.debug 'Calling API: GlobalSendingApi.user_countries_post ...'
|
|
184
|
+
end
|
|
185
|
+
# verify the required parameter 'country_list_ids' is set
|
|
186
|
+
if @api_client.config.client_side_validation && country_list_ids.nil?
|
|
187
|
+
fail ArgumentError, "Missing the required parameter 'country_list_ids' when calling GlobalSendingApi.user_countries_post"
|
|
188
|
+
end
|
|
189
|
+
# resource path
|
|
190
|
+
local_var_path = '/user-countries'
|
|
191
|
+
|
|
192
|
+
# query parameters
|
|
193
|
+
query_params = {}
|
|
194
|
+
|
|
195
|
+
# header parameters
|
|
196
|
+
header_params = {}
|
|
197
|
+
# HTTP header 'Accept' (if needed)
|
|
198
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
199
|
+
# HTTP header 'Content-Type'
|
|
200
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
201
|
+
|
|
202
|
+
# form parameters
|
|
203
|
+
form_params = {}
|
|
204
|
+
|
|
205
|
+
# http body (model)
|
|
206
|
+
post_body = @api_client.object_to_http_body(country_list_ids)
|
|
207
|
+
auth_names = ['BasicAuth']
|
|
208
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
209
|
+
:header_params => header_params,
|
|
210
|
+
:query_params => query_params,
|
|
211
|
+
:form_params => form_params,
|
|
212
|
+
:body => post_body,
|
|
213
|
+
:auth_names => auth_names,
|
|
214
|
+
:return_type => 'String')
|
|
215
|
+
if @api_client.config.debugging
|
|
216
|
+
@api_client.config.logger.debug "API called: GlobalSendingApi#user_countries_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
217
|
+
end
|
|
218
|
+
return data, status_code, headers
|
|
219
|
+
end
|
|
220
|
+
end
|
|
221
|
+
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
OpenAPI spec version: 3.1
|
|
7
7
|
Contact: support@clicksend.com
|
|
8
8
|
Generated by: https://github.com/clicksend-api/clicksend-codegen.git
|
|
9
|
-
ClickSend Codegen version: 2.4.
|
|
9
|
+
ClickSend Codegen version: 2.4.53-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -745,7 +745,7 @@ module ClickSendClient
|
|
|
745
745
|
return data, status_code, headers
|
|
746
746
|
end
|
|
747
747
|
# Send sms message(s)
|
|
748
|
-
# # Send one or more SMS messages You can post up to 1000 messages with each API call. You can send to a mix of contacts and contact lists, as long as the total number of recipients is up to 1000. The response contains status and details for each recipient. *Refer to [Application Status Codes](https://
|
|
748
|
+
# # Send one or more SMS messages You can post up to 1000 messages with each API call. You can send to a mix of contacts and contact lists, as long as the total number of recipients is up to 1000. The response contains status and details for each recipient. *Refer to [Application Status Codes](https://developers.clicksend.com/docs/#application-status-codes) for the possible response message status strings.*
|
|
749
749
|
# @param sms_messages SmsMessageCollection model
|
|
750
750
|
# @param [Hash] opts the optional parameters
|
|
751
751
|
# @return [String]
|
|
@@ -755,7 +755,7 @@ module ClickSendClient
|
|
|
755
755
|
end
|
|
756
756
|
|
|
757
757
|
# Send sms message(s)
|
|
758
|
-
# # Send one or more SMS messages You can post up to 1000 messages with each API call. You can send to a mix of contacts and contact lists, as long as the total number of recipients is up to 1000. The response contains status and details for each recipient. *Refer to [Application Status Codes](https://
|
|
758
|
+
# # Send one or more SMS messages You can post up to 1000 messages with each API call. You can send to a mix of contacts and contact lists, as long as the total number of recipients is up to 1000. The response contains status and details for each recipient. *Refer to [Application Status Codes](https://developers.clicksend.com/docs/#application-status-codes) for the possible response message status strings.*
|
|
759
759
|
# @param sms_messages SmsMessageCollection model
|
|
760
760
|
# @param [Hash] opts the optional parameters
|
|
761
761
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|