messente_api 2.2.0 → 2.4.0

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 (138) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -1
  3. data/docs/AccountBalanceApi.md +161 -0
  4. data/docs/NumberVerificationApi.md +195 -0
  5. data/docs/Price.md +24 -0
  6. data/docs/PriceNetworksInner.md +22 -0
  7. data/docs/PricingApi.md +167 -0
  8. data/docs/WhatsApp.md +13 -1
  9. data/docs/WhatsAppAudio.md +22 -0
  10. data/docs/WhatsAppDocument.md +26 -0
  11. data/docs/WhatsAppImage.md +24 -0
  12. data/docs/WhatsAppParameter.md +5 -1
  13. data/docs/WhatsAppSticker.md +24 -0
  14. data/docs/WhatsAppTemplate.md +1 -1
  15. data/docs/WhatsAppTemplatesApi.md +384 -0
  16. data/docs/WhatsAppText.md +20 -0
  17. data/docs/WhatsAppVideo.md +24 -0
  18. data/docs/WhatsappButtonType.md +15 -0
  19. data/docs/WhatsappComponentType.md +15 -0
  20. data/docs/WhatsappCreateTemplateRequest.md +24 -0
  21. data/docs/WhatsappCreateTemplateResponse.md +22 -0
  22. data/docs/WhatsappHeaderFormat.md +15 -0
  23. data/docs/WhatsappListTemplatesResponse.md +20 -0
  24. data/docs/WhatsappOtpButtonType.md +15 -0
  25. data/docs/WhatsappPagination.md +22 -0
  26. data/docs/WhatsappPagingCursors.md +20 -0
  27. data/docs/WhatsappSupportedApp.md +20 -0
  28. data/docs/WhatsappTemplateButton.md +30 -0
  29. data/docs/WhatsappTemplateCategory.md +15 -0
  30. data/docs/WhatsappTemplateComponent.md +26 -0
  31. data/docs/WhatsappTemplateExample.md +20 -0
  32. data/docs/WhatsappTemplateResponse.md +28 -0
  33. data/docs/WhatsappTemplateStatus.md +15 -0
  34. data/docs/WhatsappUpdateTemplateRequest.md +20 -0
  35. data/lib/messente_api/api/account_balance_api.rb +160 -0
  36. data/lib/messente_api/api/blacklist_api.rb +5 -5
  37. data/lib/messente_api/api/bulk_messaging_api.rb +2 -2
  38. data/lib/messente_api/api/contacts_api.rb +9 -9
  39. data/lib/messente_api/api/delivery_report_api.rb +2 -2
  40. data/lib/messente_api/api/groups_api.rb +6 -6
  41. data/lib/messente_api/api/number_lookup_api.rb +2 -2
  42. data/lib/messente_api/api/number_verification_api.rb +217 -0
  43. data/lib/messente_api/api/omnimessage_api.rb +3 -3
  44. data/lib/messente_api/api/pricing_api.rb +170 -0
  45. data/lib/messente_api/api/statistics_api.rb +2 -2
  46. data/lib/messente_api/api/whats_app_templates_api.rb +399 -0
  47. data/lib/messente_api/api_client.rb +1 -1
  48. data/lib/messente_api/api_error.rb +1 -1
  49. data/lib/messente_api/configuration.rb +61 -1
  50. data/lib/messente_api/models/bulk_omni_message_create_success_response.rb +1 -1
  51. data/lib/messente_api/models/bulk_omni_message_create_success_response_messages_inner.rb +1 -1
  52. data/lib/messente_api/models/bulk_omnimessage.rb +1 -1
  53. data/lib/messente_api/models/channel.rb +1 -1
  54. data/lib/messente_api/models/contact_envelope.rb +1 -1
  55. data/lib/messente_api/models/contact_fields.rb +1 -1
  56. data/lib/messente_api/models/contact_list_envelope.rb +1 -1
  57. data/lib/messente_api/models/contact_response_fields.rb +1 -1
  58. data/lib/messente_api/models/contact_update_fields.rb +1 -1
  59. data/lib/messente_api/models/delivery_report_response.rb +1 -1
  60. data/lib/messente_api/models/delivery_result.rb +1 -1
  61. data/lib/messente_api/models/error_code_omnichannel.rb +1 -1
  62. data/lib/messente_api/models/error_code_omnichannel_machine.rb +1 -1
  63. data/lib/messente_api/models/error_code_phonebook.rb +1 -1
  64. data/lib/messente_api/models/error_code_statistics.rb +1 -1
  65. data/lib/messente_api/models/error_item_number_lookup.rb +1 -1
  66. data/lib/messente_api/models/error_item_number_lookup_error.rb +1 -1
  67. data/lib/messente_api/models/error_item_omnichannel.rb +1 -1
  68. data/lib/messente_api/models/error_item_phonebook.rb +1 -1
  69. data/lib/messente_api/models/error_item_statistics.rb +1 -1
  70. data/lib/messente_api/models/error_number_lookup.rb +1 -1
  71. data/lib/messente_api/models/error_omnichannel.rb +1 -1
  72. data/lib/messente_api/models/error_phonebook.rb +1 -1
  73. data/lib/messente_api/models/error_statistics.rb +1 -1
  74. data/lib/messente_api/models/error_title_omnichannel.rb +1 -1
  75. data/lib/messente_api/models/error_title_phonebook.rb +1 -1
  76. data/lib/messente_api/models/fetch_blacklist_success.rb +1 -1
  77. data/lib/messente_api/models/group_envelope.rb +1 -1
  78. data/lib/messente_api/models/group_list_envelope.rb +1 -1
  79. data/lib/messente_api/models/group_name.rb +1 -1
  80. data/lib/messente_api/models/group_response_fields.rb +1 -1
  81. data/lib/messente_api/models/message_result.rb +1 -1
  82. data/lib/messente_api/models/mobile_network.rb +1 -1
  83. data/lib/messente_api/models/number_to_blacklist.rb +1 -1
  84. data/lib/messente_api/models/numbers_to_investigate.rb +1 -1
  85. data/lib/messente_api/models/omni_message_create_success_response.rb +1 -1
  86. data/lib/messente_api/models/omnimessage.rb +1 -1
  87. data/lib/messente_api/models/omnimessage_messages_inner.rb +1 -1
  88. data/lib/messente_api/models/price.rb +276 -0
  89. data/lib/messente_api/models/price_info.rb +1 -1
  90. data/lib/messente_api/models/price_networks_inner.rb +257 -0
  91. data/lib/messente_api/models/priority.rb +1 -1
  92. data/lib/messente_api/models/sms.rb +1 -1
  93. data/lib/messente_api/models/statistics_report.rb +1 -1
  94. data/lib/messente_api/models/statistics_report_settings.rb +1 -1
  95. data/lib/messente_api/models/statistics_report_success.rb +1 -1
  96. data/lib/messente_api/models/status.rb +1 -1
  97. data/lib/messente_api/models/sync_number_lookup_result.rb +1 -1
  98. data/lib/messente_api/models/sync_number_lookup_success.rb +1 -1
  99. data/lib/messente_api/models/telegram.rb +1 -1
  100. data/lib/messente_api/models/text_store.rb +1 -1
  101. data/lib/messente_api/models/viber.rb +1 -1
  102. data/lib/messente_api/models/viber_video.rb +1 -1
  103. data/lib/messente_api/models/whats_app.rb +59 -5
  104. data/lib/messente_api/models/whats_app_audio.rb +239 -0
  105. data/lib/messente_api/models/whats_app_component.rb +2 -1
  106. data/lib/messente_api/models/whats_app_currency.rb +1 -1
  107. data/lib/messente_api/models/whats_app_datetime.rb +1 -1
  108. data/lib/messente_api/models/whats_app_document.rb +261 -0
  109. data/lib/messente_api/models/whats_app_image.rb +250 -0
  110. data/lib/messente_api/models/whats_app_language.rb +1 -1
  111. data/lib/messente_api/models/whats_app_media.rb +1 -1
  112. data/lib/messente_api/models/whats_app_parameter.rb +25 -5
  113. data/lib/messente_api/models/whats_app_sticker.rb +250 -0
  114. data/lib/messente_api/models/whats_app_template.rb +8 -1
  115. data/lib/messente_api/models/whats_app_text.rb +235 -0
  116. data/lib/messente_api/models/whats_app_video.rb +250 -0
  117. data/lib/messente_api/models/whatsapp_button_type.rb +45 -0
  118. data/lib/messente_api/models/whatsapp_component_type.rb +42 -0
  119. data/lib/messente_api/models/whatsapp_create_template_request.rb +297 -0
  120. data/lib/messente_api/models/whatsapp_create_template_response.rb +277 -0
  121. data/lib/messente_api/models/whatsapp_header_format.rb +39 -0
  122. data/lib/messente_api/models/whatsapp_list_templates_response.rb +241 -0
  123. data/lib/messente_api/models/whatsapp_otp_button_type.rb +41 -0
  124. data/lib/messente_api/models/whatsapp_pagination.rb +242 -0
  125. data/lib/messente_api/models/whatsapp_paging_cursors.rb +226 -0
  126. data/lib/messente_api/models/whatsapp_supported_app.rb +240 -0
  127. data/lib/messente_api/models/whatsapp_template_button.rb +355 -0
  128. data/lib/messente_api/models/whatsapp_template_category.rb +41 -0
  129. data/lib/messente_api/models/whatsapp_template_component.rb +277 -0
  130. data/lib/messente_api/models/whatsapp_template_example.rb +230 -0
  131. data/lib/messente_api/models/whatsapp_template_response.rb +330 -0
  132. data/lib/messente_api/models/whatsapp_template_status.rb +47 -0
  133. data/lib/messente_api/models/whatsapp_update_template_request.rb +227 -0
  134. data/lib/messente_api/version.rb +2 -2
  135. data/lib/messente_api.rb +30 -1
  136. data/messente_api.gemspec +1 -1
  137. data/spec/spec_helper.rb +1 -1
  138. metadata +60 -2
@@ -0,0 +1,22 @@
1
+ # MessenteApi::WhatsappPagination
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **previous** | **String** | A URL to ge the previous paginated page. | [optional] |
8
+ | **_next** | **String** | A URL to ge the next paginated page. | [optional] |
9
+ | **cursors** | [**WhatsappPagingCursors**](WhatsappPagingCursors.md) | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'messente_api'
15
+
16
+ instance = MessenteApi::WhatsappPagination.new(
17
+ previous: null,
18
+ _next: null,
19
+ cursors: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,20 @@
1
+ # MessenteApi::WhatsappPagingCursors
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **before** | **String** | The template before the first template in the current list | [optional] |
8
+ | **after** | **String** | The template after the last template in the current list | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'messente_api'
14
+
15
+ instance = MessenteApi::WhatsappPagingCursors.new(
16
+ before: null,
17
+ after: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # MessenteApi::WhatsappSupportedApp
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **package_name** | **String** | Package name | |
8
+ | **signature_hash** | **String** | Signature hash | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'messente_api'
14
+
15
+ instance = MessenteApi::WhatsappSupportedApp.new(
16
+ package_name: null,
17
+ signature_hash: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,30 @@
1
+ # MessenteApi::WhatsappTemplateButton
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | [**WhatsappButtonType**](WhatsappButtonType.md) | | [optional] |
8
+ | **otp_type** | [**WhatsappOtpButtonType**](WhatsappOtpButtonType.md) | | [optional] |
9
+ | **autofill_text** | **String** | Text to be autofilled in the OTP field | [optional] |
10
+ | **supported_apps** | [**Array<WhatsappSupportedApp>**](WhatsappSupportedApp.md) | List of supported apps for the button | [optional] |
11
+ | **text** | **String** | Text content of the button | [optional] |
12
+ | **phone_number** | **String** | Phone number for the button | [optional] |
13
+ | **url** | **String** | URL for the button | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'messente_api'
19
+
20
+ instance = MessenteApi::WhatsappTemplateButton.new(
21
+ type: null,
22
+ otp_type: null,
23
+ autofill_text: null,
24
+ supported_apps: null,
25
+ text: null,
26
+ phone_number: null,
27
+ url: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,15 @@
1
+ # MessenteApi::WhatsappTemplateCategory
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'messente_api'
12
+
13
+ instance = MessenteApi::WhatsappTemplateCategory.new()
14
+ ```
15
+
@@ -0,0 +1,26 @@
1
+ # MessenteApi::WhatsappTemplateComponent
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | [**WhatsappComponentType**](WhatsappComponentType.md) | | [optional] |
8
+ | **format** | [**WhatsappHeaderFormat**](WhatsappHeaderFormat.md) | | [optional] |
9
+ | **text** | **String** | Text content of the component | [optional] |
10
+ | **example** | [**WhatsappTemplateExample**](WhatsappTemplateExample.md) | | [optional] |
11
+ | **buttons** | [**Array<WhatsappTemplateButton>**](WhatsappTemplateButton.md) | List of buttons for the component | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'messente_api'
17
+
18
+ instance = MessenteApi::WhatsappTemplateComponent.new(
19
+ type: null,
20
+ format: null,
21
+ text: null,
22
+ example: null,
23
+ buttons: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,20 @@
1
+ # MessenteApi::WhatsappTemplateExample
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **header_text** | **Array<String>** | Example of the templated text for the header | [optional] |
8
+ | **body_text** | **Array<Array<String>>** | Example of the templated text for the body | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'messente_api'
14
+
15
+ instance = MessenteApi::WhatsappTemplateExample.new(
16
+ header_text: null,
17
+ body_text: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,28 @@
1
+ # MessenteApi::WhatsappTemplateResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Template ID | |
8
+ | **components** | [**Array<WhatsappTemplateComponent>**](WhatsappTemplateComponent.md) | List of template components | |
9
+ | **language** | **String** | Language of the template | |
10
+ | **name** | **String** | Name of the template | |
11
+ | **category** | [**WhatsappTemplateCategory**](WhatsappTemplateCategory.md) | | |
12
+ | **status** | [**WhatsappTemplateStatus**](WhatsappTemplateStatus.md) | | |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'messente_api'
18
+
19
+ instance = MessenteApi::WhatsappTemplateResponse.new(
20
+ id: null,
21
+ components: null,
22
+ language: null,
23
+ name: null,
24
+ category: null,
25
+ status: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,15 @@
1
+ # MessenteApi::WhatsappTemplateStatus
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'messente_api'
12
+
13
+ instance = MessenteApi::WhatsappTemplateStatus.new()
14
+ ```
15
+
@@ -0,0 +1,20 @@
1
+ # MessenteApi::WhatsappUpdateTemplateRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **category** | [**WhatsappTemplateCategory**](WhatsappTemplateCategory.md) | | [optional] |
8
+ | **components** | [**Array<WhatsappTemplateComponent>**](WhatsappTemplateComponent.md) | List of template components | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'messente_api'
14
+
15
+ instance = MessenteApi::WhatsappUpdateTemplateRequest.new(
16
+ category: null,
17
+ components: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,160 @@
1
+ =begin
2
+ #Messente API
3
+
4
+ #[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
5
+
6
+ The version of the OpenAPI document: 2.0.0
7
+ Contact: messente@messente.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.11.0
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module MessenteApi
16
+ class AccountBalanceApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Get account balance
23
+ # @param username [String] The API username
24
+ # @param password [String] The API password
25
+ # @param [Hash] opts the optional parameters
26
+ # @return [String]
27
+ def get_account_balance(username, password, opts = {})
28
+ data, _status_code, _headers = get_account_balance_with_http_info(username, password, opts)
29
+ data
30
+ end
31
+
32
+ # Get account balance
33
+ # @param username [String] The API username
34
+ # @param password [String] The API password
35
+ # @param [Hash] opts the optional parameters
36
+ # @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
37
+ def get_account_balance_with_http_info(username, password, opts = {})
38
+ if @api_client.config.debugging
39
+ @api_client.config.logger.debug 'Calling API: AccountBalanceApi.get_account_balance ...'
40
+ end
41
+ # verify the required parameter 'username' is set
42
+ if @api_client.config.client_side_validation && username.nil?
43
+ fail ArgumentError, "Missing the required parameter 'username' when calling AccountBalanceApi.get_account_balance"
44
+ end
45
+ # verify the required parameter 'password' is set
46
+ if @api_client.config.client_side_validation && password.nil?
47
+ fail ArgumentError, "Missing the required parameter 'password' when calling AccountBalanceApi.get_account_balance"
48
+ end
49
+ # resource path
50
+ local_var_path = '/get_balance'
51
+
52
+ # query parameters
53
+ query_params = opts[:query_params] || {}
54
+ query_params[:'username'] = username
55
+ query_params[:'password'] = password
56
+
57
+ # header parameters
58
+ header_params = opts[:header_params] || {}
59
+ # HTTP header 'Accept' (if needed)
60
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain']) unless header_params['Accept']
61
+
62
+ # form parameters
63
+ form_params = opts[:form_params] || {}
64
+
65
+ # http body (model)
66
+ post_body = opts[:debug_body]
67
+
68
+ # return_type
69
+ return_type = opts[:debug_return_type] || 'String'
70
+
71
+ # auth_names
72
+ auth_names = opts[:debug_auth_names] || ['apiPassword', 'apiUsername']
73
+
74
+ new_options = opts.merge(
75
+ :operation => :"AccountBalanceApi.get_account_balance",
76
+ :header_params => header_params,
77
+ :query_params => query_params,
78
+ :form_params => form_params,
79
+ :body => post_body,
80
+ :auth_names => auth_names,
81
+ :return_type => return_type
82
+ )
83
+
84
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
85
+ if @api_client.config.debugging
86
+ @api_client.config.logger.debug "API called: AccountBalanceApi#get_account_balance\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
87
+ end
88
+ return data, status_code, headers
89
+ end
90
+
91
+ # Get account balance
92
+ # @param username [String] The API username
93
+ # @param password [String] The API password
94
+ # @param [Hash] opts the optional parameters
95
+ # @return [String]
96
+ def get_account_balance_using_post(username, password, opts = {})
97
+ data, _status_code, _headers = get_account_balance_using_post_with_http_info(username, password, opts)
98
+ data
99
+ end
100
+
101
+ # Get account balance
102
+ # @param username [String] The API username
103
+ # @param password [String] The API password
104
+ # @param [Hash] opts the optional parameters
105
+ # @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
106
+ def get_account_balance_using_post_with_http_info(username, password, opts = {})
107
+ if @api_client.config.debugging
108
+ @api_client.config.logger.debug 'Calling API: AccountBalanceApi.get_account_balance_using_post ...'
109
+ end
110
+ # verify the required parameter 'username' is set
111
+ if @api_client.config.client_side_validation && username.nil?
112
+ fail ArgumentError, "Missing the required parameter 'username' when calling AccountBalanceApi.get_account_balance_using_post"
113
+ end
114
+ # verify the required parameter 'password' is set
115
+ if @api_client.config.client_side_validation && password.nil?
116
+ fail ArgumentError, "Missing the required parameter 'password' when calling AccountBalanceApi.get_account_balance_using_post"
117
+ end
118
+ # resource path
119
+ local_var_path = '/get_balance'
120
+
121
+ # query parameters
122
+ query_params = opts[:query_params] || {}
123
+ query_params[:'username'] = username
124
+ query_params[:'password'] = password
125
+
126
+ # header parameters
127
+ header_params = opts[:header_params] || {}
128
+ # HTTP header 'Accept' (if needed)
129
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain']) unless header_params['Accept']
130
+
131
+ # form parameters
132
+ form_params = opts[:form_params] || {}
133
+
134
+ # http body (model)
135
+ post_body = opts[:debug_body]
136
+
137
+ # return_type
138
+ return_type = opts[:debug_return_type] || 'String'
139
+
140
+ # auth_names
141
+ auth_names = opts[:debug_auth_names] || ['apiPassword', 'apiUsername']
142
+
143
+ new_options = opts.merge(
144
+ :operation => :"AccountBalanceApi.get_account_balance_using_post",
145
+ :header_params => header_params,
146
+ :query_params => query_params,
147
+ :form_params => form_params,
148
+ :body => post_body,
149
+ :auth_names => auth_names,
150
+ :return_type => return_type
151
+ )
152
+
153
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
154
+ if @api_client.config.debugging
155
+ @api_client.config.logger.debug "API called: AccountBalanceApi#get_account_balance_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
156
+ end
157
+ return data, status_code, headers
158
+ end
159
+ end
160
+ end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.0.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.6.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -49,7 +49,7 @@ module MessenteApi
49
49
  # header parameters
50
50
  header_params = opts[:header_params] || {}
51
51
  # HTTP header 'Accept' (if needed)
52
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
52
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
53
53
  # HTTP header 'Content-Type'
54
54
  content_type = @api_client.select_header_content_type(['application/json'])
55
55
  if !content_type.nil?
@@ -115,7 +115,7 @@ module MessenteApi
115
115
  # header parameters
116
116
  header_params = opts[:header_params] || {}
117
117
  # HTTP header 'Accept' (if needed)
118
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
118
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
119
119
 
120
120
  # form parameters
121
121
  form_params = opts[:form_params] || {}
@@ -170,7 +170,7 @@ module MessenteApi
170
170
  # header parameters
171
171
  header_params = opts[:header_params] || {}
172
172
  # HTTP header 'Accept' (if needed)
173
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
173
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
174
174
 
175
175
  # form parameters
176
176
  form_params = opts[:form_params] || {}
@@ -231,7 +231,7 @@ module MessenteApi
231
231
  # header parameters
232
232
  header_params = opts[:header_params] || {}
233
233
  # HTTP header 'Accept' (if needed)
234
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
234
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
235
235
 
236
236
  # form parameters
237
237
  form_params = opts[:form_params] || {}
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.0.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.6.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -49,7 +49,7 @@ module MessenteApi
49
49
  # header parameters
50
50
  header_params = opts[:header_params] || {}
51
51
  # HTTP header 'Accept' (if needed)
52
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
52
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
53
53
  # HTTP header 'Content-Type'
54
54
  content_type = @api_client.select_header_content_type(['application/json'])
55
55
  if !content_type.nil?
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.0.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.6.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -55,7 +55,7 @@ module MessenteApi
55
55
  # header parameters
56
56
  header_params = opts[:header_params] || {}
57
57
  # HTTP header 'Accept' (if needed)
58
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
58
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
59
59
 
60
60
  # form parameters
61
61
  form_params = opts[:form_params] || {}
@@ -116,7 +116,7 @@ module MessenteApi
116
116
  # header parameters
117
117
  header_params = opts[:header_params] || {}
118
118
  # HTTP header 'Accept' (if needed)
119
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
119
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
120
120
  # HTTP header 'Content-Type'
121
121
  content_type = @api_client.select_header_content_type(['application/json'])
122
122
  if !content_type.nil?
@@ -182,7 +182,7 @@ module MessenteApi
182
182
  # header parameters
183
183
  header_params = opts[:header_params] || {}
184
184
  # HTTP header 'Accept' (if needed)
185
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
185
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
186
186
 
187
187
  # form parameters
188
188
  form_params = opts[:form_params] || {}
@@ -243,7 +243,7 @@ module MessenteApi
243
243
  # header parameters
244
244
  header_params = opts[:header_params] || {}
245
245
  # HTTP header 'Accept' (if needed)
246
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
246
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
247
247
 
248
248
  # form parameters
249
249
  form_params = opts[:form_params] || {}
@@ -304,7 +304,7 @@ module MessenteApi
304
304
  # header parameters
305
305
  header_params = opts[:header_params] || {}
306
306
  # HTTP header 'Accept' (if needed)
307
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
307
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
308
308
 
309
309
  # form parameters
310
310
  form_params = opts[:form_params] || {}
@@ -362,7 +362,7 @@ module MessenteApi
362
362
  # header parameters
363
363
  header_params = opts[:header_params] || {}
364
364
  # HTTP header 'Accept' (if needed)
365
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
365
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
366
366
 
367
367
  # form parameters
368
368
  form_params = opts[:form_params] || {}
@@ -429,7 +429,7 @@ module MessenteApi
429
429
  # header parameters
430
430
  header_params = opts[:header_params] || {}
431
431
  # HTTP header 'Accept' (if needed)
432
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
432
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
433
433
 
434
434
  # form parameters
435
435
  form_params = opts[:form_params] || {}
@@ -496,7 +496,7 @@ module MessenteApi
496
496
  # header parameters
497
497
  header_params = opts[:header_params] || {}
498
498
  # HTTP header 'Accept' (if needed)
499
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
499
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
500
500
  # HTTP header 'Content-Type'
501
501
  content_type = @api_client.select_header_content_type(['application/json'])
502
502
  if !content_type.nil?
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.0.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.6.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -49,7 +49,7 @@ module MessenteApi
49
49
  # header parameters
50
50
  header_params = opts[:header_params] || {}
51
51
  # HTTP header 'Accept' (if needed)
52
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
52
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
53
53
 
54
54
  # form parameters
55
55
  form_params = opts[:form_params] || {}
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.0.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.6.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -49,7 +49,7 @@ module MessenteApi
49
49
  # header parameters
50
50
  header_params = opts[:header_params] || {}
51
51
  # HTTP header 'Accept' (if needed)
52
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
52
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
53
53
  # HTTP header 'Content-Type'
54
54
  content_type = @api_client.select_header_content_type(['application/json'])
55
55
  if !content_type.nil?
@@ -115,7 +115,7 @@ module MessenteApi
115
115
  # header parameters
116
116
  header_params = opts[:header_params] || {}
117
117
  # HTTP header 'Accept' (if needed)
118
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
118
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
119
119
 
120
120
  # form parameters
121
121
  form_params = opts[:form_params] || {}
@@ -176,7 +176,7 @@ module MessenteApi
176
176
  # header parameters
177
177
  header_params = opts[:header_params] || {}
178
178
  # HTTP header 'Accept' (if needed)
179
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
179
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
180
180
 
181
181
  # form parameters
182
182
  form_params = opts[:form_params] || {}
@@ -231,7 +231,7 @@ module MessenteApi
231
231
  # header parameters
232
232
  header_params = opts[:header_params] || {}
233
233
  # HTTP header 'Accept' (if needed)
234
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
234
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
235
235
 
236
236
  # form parameters
237
237
  form_params = opts[:form_params] || {}
@@ -298,7 +298,7 @@ module MessenteApi
298
298
  # header parameters
299
299
  header_params = opts[:header_params] || {}
300
300
  # HTTP header 'Accept' (if needed)
301
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
301
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
302
302
  # HTTP header 'Content-Type'
303
303
  content_type = @api_client.select_header_content_type(['application/json'])
304
304
  if !content_type.nil?
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.0.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.6.0
9
+ Generator version: 7.11.0
10
10
 
11
11
  =end
12
12
 
@@ -49,7 +49,7 @@ module MessenteApi
49
49
  # header parameters
50
50
  header_params = opts[:header_params] || {}
51
51
  # HTTP header 'Accept' (if needed)
52
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
52
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
53
53
  # HTTP header 'Content-Type'
54
54
  content_type = @api_client.select_header_content_type(['application/json'])
55
55
  if !content_type.nil?