dialmycalls_client 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +201 -0
  3. data/README.md +186 -0
  4. data/dialmycalls_client-1.0.0.gem +0 -0
  5. data/dialmycalls_client.gemspec +55 -0
  6. data/docs/Accessaccount.md +12 -0
  7. data/docs/Account.md +9 -0
  8. data/docs/AccountsApi.md +324 -0
  9. data/docs/CallRecipient.md +19 -0
  10. data/docs/CallerIdsApi.md +386 -0
  11. data/docs/Callerid.md +13 -0
  12. data/docs/CallsApi.md +278 -0
  13. data/docs/Callservice.md +17 -0
  14. data/docs/Contact.md +18 -0
  15. data/docs/ContactAttributes.md +11 -0
  16. data/docs/ContactsApi.md +330 -0
  17. data/docs/CreateAccessAccountParameters.md +10 -0
  18. data/docs/CreateCallParameters.md +18 -0
  19. data/docs/CreateCallerIdParameters.md +9 -0
  20. data/docs/CreateContactParameters.md +14 -0
  21. data/docs/CreateGroupParameters.md +8 -0
  22. data/docs/CreateRecordingByPhoneParameters.md +12 -0
  23. data/docs/CreateRecordingByUrlParameters.md +9 -0
  24. data/docs/CreateRecordingParameters.md +11 -0
  25. data/docs/CreateTextParameters.md +17 -0
  26. data/docs/CreateUnverifiedCallerIdParameters.md +9 -0
  27. data/docs/DoNotContactsApi.md +62 -0
  28. data/docs/Donotcontact.md +12 -0
  29. data/docs/Group.md +12 -0
  30. data/docs/GroupsApi.md +277 -0
  31. data/docs/Identifier.md +8 -0
  32. data/docs/Incomingtext.md +13 -0
  33. data/docs/Keyword.md +12 -0
  34. data/docs/KeywordsApi.md +168 -0
  35. data/docs/Polling.md +10 -0
  36. data/docs/PushToListenAgain.md +9 -0
  37. data/docs/PushToOptOut.md +9 -0
  38. data/docs/PushToRecord.md +9 -0
  39. data/docs/PushToTalk.md +12 -0
  40. data/docs/Recording.md +15 -0
  41. data/docs/RecordingsApi.md +383 -0
  42. data/docs/Service.md +16 -0
  43. data/docs/Shortcode.md +11 -0
  44. data/docs/TextRecipient.md +13 -0
  45. data/docs/TextsApi.md +492 -0
  46. data/docs/UpdateAccessAccountByIdParameters.md +10 -0
  47. data/docs/UpdateCallerIdByIdParameters.md +8 -0
  48. data/docs/UpdateContactByIdParameters.md +14 -0
  49. data/docs/UpdateGroupByIdParameters.md +8 -0
  50. data/docs/UpdateRecordingByIdParameters.md +8 -0
  51. data/docs/UpdateVanityNumberByIdParameters.md +12 -0
  52. data/docs/VanityNumbersApi.md +224 -0
  53. data/docs/Vanitynumber.md +16 -0
  54. data/docs/VerifyCallerIdByIdParameters.md +8 -0
  55. data/git_push.sh +67 -0
  56. data/lib/dialmycalls_client/api/accounts_api.rb +375 -0
  57. data/lib/dialmycalls_client/api/caller_ids_api.rb +440 -0
  58. data/lib/dialmycalls_client/api/calls_api.rb +321 -0
  59. data/lib/dialmycalls_client/api/contacts_api.rb +379 -0
  60. data/lib/dialmycalls_client/api/do_not_contacts_api.rb +90 -0
  61. data/lib/dialmycalls_client/api/groups_api.rb +322 -0
  62. data/lib/dialmycalls_client/api/keywords_api.rb +204 -0
  63. data/lib/dialmycalls_client/api/recordings_api.rb +436 -0
  64. data/lib/dialmycalls_client/api/texts_api.rb +547 -0
  65. data/lib/dialmycalls_client/api/vanity_numbers_api.rb +265 -0
  66. data/lib/dialmycalls_client/api_client.rb +379 -0
  67. data/lib/dialmycalls_client/api_error.rb +47 -0
  68. data/lib/dialmycalls_client/configuration.rb +214 -0
  69. data/lib/dialmycalls_client/models/accessaccount.rb +240 -0
  70. data/lib/dialmycalls_client/models/account.rb +210 -0
  71. data/lib/dialmycalls_client/models/call_recipient.rb +310 -0
  72. data/lib/dialmycalls_client/models/callerid.rb +250 -0
  73. data/lib/dialmycalls_client/models/callservice.rb +290 -0
  74. data/lib/dialmycalls_client/models/contact.rb +300 -0
  75. data/lib/dialmycalls_client/models/contact_attributes.rb +230 -0
  76. data/lib/dialmycalls_client/models/create_access_account_parameters.rb +220 -0
  77. data/lib/dialmycalls_client/models/create_call_parameters.rb +304 -0
  78. data/lib/dialmycalls_client/models/create_caller_id_parameters.rb +210 -0
  79. data/lib/dialmycalls_client/models/create_contact_parameters.rb +262 -0
  80. data/lib/dialmycalls_client/models/create_group_parameters.rb +200 -0
  81. data/lib/dialmycalls_client/models/create_recording_by_phone_parameters.rb +240 -0
  82. data/lib/dialmycalls_client/models/create_recording_by_url_parameters.rb +210 -0
  83. data/lib/dialmycalls_client/models/create_recording_parameters.rb +230 -0
  84. data/lib/dialmycalls_client/models/create_text_parameters.rb +294 -0
  85. data/lib/dialmycalls_client/models/create_unverified_caller_id_parameters.rb +210 -0
  86. data/lib/dialmycalls_client/models/donotcontact.rb +240 -0
  87. data/lib/dialmycalls_client/models/group.rb +240 -0
  88. data/lib/dialmycalls_client/models/identifier.rb +200 -0
  89. data/lib/dialmycalls_client/models/incomingtext.rb +250 -0
  90. data/lib/dialmycalls_client/models/keyword.rb +240 -0
  91. data/lib/dialmycalls_client/models/polling.rb +220 -0
  92. data/lib/dialmycalls_client/models/push_to_listen_again.rb +210 -0
  93. data/lib/dialmycalls_client/models/push_to_opt_out.rb +210 -0
  94. data/lib/dialmycalls_client/models/push_to_record.rb +210 -0
  95. data/lib/dialmycalls_client/models/push_to_talk.rb +240 -0
  96. data/lib/dialmycalls_client/models/recording.rb +270 -0
  97. data/lib/dialmycalls_client/models/service.rb +280 -0
  98. data/lib/dialmycalls_client/models/shortcode.rb +230 -0
  99. data/lib/dialmycalls_client/models/text_recipient.rb +250 -0
  100. data/lib/dialmycalls_client/models/update_access_account_by_id_parameters.rb +220 -0
  101. data/lib/dialmycalls_client/models/update_caller_id_by_id_parameters.rb +200 -0
  102. data/lib/dialmycalls_client/models/update_contact_by_id_parameters.rb +262 -0
  103. data/lib/dialmycalls_client/models/update_group_by_id_parameters.rb +200 -0
  104. data/lib/dialmycalls_client/models/update_recording_by_id_parameters.rb +200 -0
  105. data/lib/dialmycalls_client/models/update_vanity_number_by_id_parameters.rb +242 -0
  106. data/lib/dialmycalls_client/models/vanitynumber.rb +280 -0
  107. data/lib/dialmycalls_client/models/verify_caller_id_by_id_parameters.rb +200 -0
  108. data/lib/dialmycalls_client/version.rb +26 -0
  109. data/lib/dialmycalls_client.rb +99 -0
  110. data/spec/api/accounts_api_spec.rb +118 -0
  111. data/spec/api/caller_ids_api_spec.rb +132 -0
  112. data/spec/api/calls_api_spec.rb +107 -0
  113. data/spec/api/contacts_api_spec.rb +119 -0
  114. data/spec/api/do_not_contacts_api_spec.rb +58 -0
  115. data/spec/api/groups_api_spec.rb +107 -0
  116. data/spec/api/keywords_api_spec.rb +82 -0
  117. data/spec/api/recordings_api_spec.rb +131 -0
  118. data/spec/api/texts_api_spec.rb +155 -0
  119. data/spec/api/vanity_numbers_api_spec.rb +95 -0
  120. data/spec/api_client_spec.rb +237 -0
  121. data/spec/configuration_spec.rb +53 -0
  122. data/spec/models/accessaccount_spec.rb +77 -0
  123. data/spec/models/account_spec.rb +59 -0
  124. data/spec/models/call_recipient_spec.rb +119 -0
  125. data/spec/models/callerid_spec.rb +83 -0
  126. data/spec/models/callservice_spec.rb +107 -0
  127. data/spec/models/contact_attributes_spec.rb +71 -0
  128. data/spec/models/contact_spec.rb +113 -0
  129. data/spec/models/create_access_account_parameters_spec.rb +65 -0
  130. data/spec/models/create_call_parameters_spec.rb +113 -0
  131. data/spec/models/create_caller_id_parameters_spec.rb +59 -0
  132. data/spec/models/create_contact_parameters_spec.rb +89 -0
  133. data/spec/models/create_group_parameters_spec.rb +53 -0
  134. data/spec/models/create_recording_by_phone_parameters_spec.rb +77 -0
  135. data/spec/models/create_recording_by_url_parameters_spec.rb +59 -0
  136. data/spec/models/create_recording_parameters_spec.rb +71 -0
  137. data/spec/models/create_text_parameters_spec.rb +107 -0
  138. data/spec/models/create_unverified_caller_id_parameters_spec.rb +59 -0
  139. data/spec/models/donotcontact_spec.rb +77 -0
  140. data/spec/models/group_spec.rb +77 -0
  141. data/spec/models/identifier_spec.rb +53 -0
  142. data/spec/models/incomingtext_spec.rb +83 -0
  143. data/spec/models/keyword_spec.rb +77 -0
  144. data/spec/models/polling_spec.rb +65 -0
  145. data/spec/models/push_to_listen_again_spec.rb +59 -0
  146. data/spec/models/push_to_opt_out_spec.rb +59 -0
  147. data/spec/models/push_to_record_spec.rb +59 -0
  148. data/spec/models/push_to_talk_spec.rb +77 -0
  149. data/spec/models/recording_spec.rb +95 -0
  150. data/spec/models/service_spec.rb +101 -0
  151. data/spec/models/shortcode_spec.rb +71 -0
  152. data/spec/models/text_recipient_spec.rb +83 -0
  153. data/spec/models/update_access_account_by_id_parameters_spec.rb +65 -0
  154. data/spec/models/update_caller_id_by_id_parameters_spec.rb +53 -0
  155. data/spec/models/update_contact_by_id_parameters_spec.rb +89 -0
  156. data/spec/models/update_group_by_id_parameters_spec.rb +53 -0
  157. data/spec/models/update_recording_by_id_parameters_spec.rb +53 -0
  158. data/spec/models/update_vanity_number_by_id_parameters_spec.rb +77 -0
  159. data/spec/models/vanitynumber_spec.rb +101 -0
  160. data/spec/models/verify_caller_id_by_id_parameters_spec.rb +53 -0
  161. data/spec/spec_helper.rb +122 -0
  162. metadata +436 -0
data/docs/Contact.md ADDED
@@ -0,0 +1,18 @@
1
+ # DialMyCalls::Contact
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | Unique identifier for this contact. | [optional]
7
+ **firstname** | **String** | The contact's first name. | [optional]
8
+ **lastname** | **String** | The contact's last name. | [optional]
9
+ **miscellaneous** | **String** | Miscellaneous information. | [optional]
10
+ **phone** | **String** | The contact's phone number. | [optional]
11
+ **extension** | **String** | The contact's phone extension. | [optional]
12
+ **email** | **String** | The contact's email address. | [optional]
13
+ **extra1** | **String** | Miscellaneous data about this contact. | [optional]
14
+ **groups** | **String** | List of groups that this contact belongs to. | [optional]
15
+ **created_at** | **String** | When the contact was created. | [optional]
16
+ **updated_at** | **String** | When the contact was last updated. | [optional]
17
+
18
+
@@ -0,0 +1,11 @@
1
+ # DialMyCalls::ContactAttributes
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **phone** | **String** | Contact's phone number. | [optional]
7
+ **firstname** | **String** | Contact's first name. | [optional]
8
+ **lastname** | **String** | Contact's last name. | [optional]
9
+ **email** | **String** | Contact's email address. | [optional]
10
+
11
+
@@ -0,0 +1,330 @@
1
+ # DialMyCalls::ContactsApi
2
+
3
+ All URIs are relative to *https://api.dialmycalls.com/2.0*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create_contact**](ContactsApi.md#create_contact) | **POST** /contact | Add Contact
8
+ [**delete_contact_by_id**](ContactsApi.md#delete_contact_by_id) | **DELETE** /contact/{ContactId} | Delete Contact
9
+ [**get_contact_by_id**](ContactsApi.md#get_contact_by_id) | **GET** /contact/{ContactId} | Get Contact
10
+ [**get_contacts**](ContactsApi.md#get_contacts) | **GET** /contacts | List Contacts
11
+ [**get_contacts_by_group_id**](ContactsApi.md#get_contacts_by_group_id) | **GET** /contacts/{GroupId} | List Contacts in Group
12
+ [**update_contact_by_id**](ContactsApi.md#update_contact_by_id) | **PUT** /contact/{ContactId} | Update Contact
13
+
14
+
15
+ # **create_contact**
16
+ > Object create_contact(create_contact_parameters)
17
+
18
+ Add Contact
19
+
20
+ Add a contact to your contact list. <br><br> Returns a contact object on success, and returns an error otherwise. <br><br> ``` curl -i -H \"Content-Type: application/json\" -X POST -d \"{\\\"phone\\\": \\\"5555555555\\\"}\" https://$API_KEY@api.dialmycalls.com/2.0/contact ```
21
+
22
+ ### Example
23
+ ```ruby
24
+ # load the gem
25
+ require 'dialmycalls_client'
26
+ # setup authorization
27
+ DialMyCalls.configure do |config|
28
+ # Configure API key authorization: api_key
29
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
30
+ end
31
+
32
+ api_instance = DialMyCalls::ContactsApi.new
33
+
34
+ create_contact_parameters = DialMyCalls::CreateContactParameters.new # CreateContactParameters | Request body
35
+
36
+
37
+ begin
38
+ #Add Contact
39
+ result = api_instance.create_contact(create_contact_parameters)
40
+ p result
41
+ rescue DialMyCalls::ApiError => e
42
+ puts "Exception when calling ContactsApi->create_contact: #{e}"
43
+ end
44
+ ```
45
+
46
+ ### Parameters
47
+
48
+ Name | Type | Description | Notes
49
+ ------------- | ------------- | ------------- | -------------
50
+ **create_contact_parameters** | [**CreateContactParameters**](CreateContactParameters.md)| Request body |
51
+
52
+ ### Return type
53
+
54
+ **Object**
55
+
56
+ ### Authorization
57
+
58
+ [api_key](../README.md#api_key)
59
+
60
+ ### HTTP request headers
61
+
62
+ - **Content-Type**: application/json, application/xml
63
+ - **Accept**: application/json, application/xml
64
+
65
+
66
+
67
+ # **delete_contact_by_id**
68
+ > Object delete_contact_by_id(contact_id)
69
+
70
+ Delete Contact
71
+
72
+ Delete a contact from your contact list. <br><br> Returns the following if a valid identifier was provided, and returns an error otherwise. <br><br> ``` curl -i -H \"Content-Type: application/json\" -X DELETE https://$API_KEY@api.dialmycalls.com/2.0/contact/$CONTACT_ID ```
73
+
74
+ ### Example
75
+ ```ruby
76
+ # load the gem
77
+ require 'dialmycalls_client'
78
+ # setup authorization
79
+ DialMyCalls.configure do |config|
80
+ # Configure API key authorization: api_key
81
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
82
+ end
83
+
84
+ api_instance = DialMyCalls::ContactsApi.new
85
+
86
+ contact_id = "contact_id_example" # String | ContactId
87
+
88
+
89
+ begin
90
+ #Delete Contact
91
+ result = api_instance.delete_contact_by_id(contact_id)
92
+ p result
93
+ rescue DialMyCalls::ApiError => e
94
+ puts "Exception when calling ContactsApi->delete_contact_by_id: #{e}"
95
+ end
96
+ ```
97
+
98
+ ### Parameters
99
+
100
+ Name | Type | Description | Notes
101
+ ------------- | ------------- | ------------- | -------------
102
+ **contact_id** | **String**| ContactId |
103
+
104
+ ### Return type
105
+
106
+ **Object**
107
+
108
+ ### Authorization
109
+
110
+ [api_key](../README.md#api_key)
111
+
112
+ ### HTTP request headers
113
+
114
+ - **Content-Type**: application/json, application/xml
115
+ - **Accept**: application/json, application/xml
116
+
117
+
118
+
119
+ # **get_contact_by_id**
120
+ > Object get_contact_by_id(contact_id)
121
+
122
+ Get Contact
123
+
124
+ Retrieve a contact to your contact list. <br><br> Returns a contact object if a valid identifier was provided, and returns an error otherwise. <br><br> ``` curl -i -H \"Content-Type: application/json\" -X GET https://$API_KEY@api.dialmycalls.com/2.0/contact/$CONTACT_ID ```
125
+
126
+ ### Example
127
+ ```ruby
128
+ # load the gem
129
+ require 'dialmycalls_client'
130
+ # setup authorization
131
+ DialMyCalls.configure do |config|
132
+ # Configure API key authorization: api_key
133
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
134
+ end
135
+
136
+ api_instance = DialMyCalls::ContactsApi.new
137
+
138
+ contact_id = "contact_id_example" # String | ContactId
139
+
140
+
141
+ begin
142
+ #Get Contact
143
+ result = api_instance.get_contact_by_id(contact_id)
144
+ p result
145
+ rescue DialMyCalls::ApiError => e
146
+ puts "Exception when calling ContactsApi->get_contact_by_id: #{e}"
147
+ end
148
+ ```
149
+
150
+ ### Parameters
151
+
152
+ Name | Type | Description | Notes
153
+ ------------- | ------------- | ------------- | -------------
154
+ **contact_id** | **String**| ContactId |
155
+
156
+ ### Return type
157
+
158
+ **Object**
159
+
160
+ ### Authorization
161
+
162
+ [api_key](../README.md#api_key)
163
+
164
+ ### HTTP request headers
165
+
166
+ - **Content-Type**: application/json, application/xml
167
+ - **Accept**: application/json, application/xml
168
+
169
+
170
+
171
+ # **get_contacts**
172
+ > Object get_contacts(opts)
173
+
174
+ List Contacts
175
+
176
+ Retrieve a list of contacts. <br><br> Returns a list of contact objects. <br><br> ``` curl -i -H \"Content-Type: application/json\" -X GET https://$API_KEY@api.dialmycalls.com/2.0/contacts ```
177
+
178
+ ### Example
179
+ ```ruby
180
+ # load the gem
181
+ require 'dialmycalls_client'
182
+ # setup authorization
183
+ DialMyCalls.configure do |config|
184
+ # Configure API key authorization: api_key
185
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
186
+ end
187
+
188
+ api_instance = DialMyCalls::ContactsApi.new
189
+
190
+ opts = {
191
+ range: "range_example" # String | Range (ie \"records=201-300\") of contacts requested
192
+ }
193
+
194
+ begin
195
+ #List Contacts
196
+ result = api_instance.get_contacts(opts)
197
+ p result
198
+ rescue DialMyCalls::ApiError => e
199
+ puts "Exception when calling ContactsApi->get_contacts: #{e}"
200
+ end
201
+ ```
202
+
203
+ ### Parameters
204
+
205
+ Name | Type | Description | Notes
206
+ ------------- | ------------- | ------------- | -------------
207
+ **range** | **String**| Range (ie \&quot;records&#x3D;201-300\&quot;) of contacts requested | [optional]
208
+
209
+ ### Return type
210
+
211
+ **Object**
212
+
213
+ ### Authorization
214
+
215
+ [api_key](../README.md#api_key)
216
+
217
+ ### HTTP request headers
218
+
219
+ - **Content-Type**: application/json, application/xml
220
+ - **Accept**: application/json, application/xml
221
+
222
+
223
+
224
+ # **get_contacts_by_group_id**
225
+ > Object get_contacts_by_group_id(group_id)
226
+
227
+ List Contacts in Group
228
+
229
+ Retrieve a list of contacts in a contact group. <br><br> Returns a list of contact objects. <br><br> ``` curl -i -H \"Content-Type: application/json\" -X GET https://$API_KEY@api.dialmycalls.com/2.0/contacts/$GROUP_ID ```
230
+
231
+ ### Example
232
+ ```ruby
233
+ # load the gem
234
+ require 'dialmycalls_client'
235
+ # setup authorization
236
+ DialMyCalls.configure do |config|
237
+ # Configure API key authorization: api_key
238
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
239
+ end
240
+
241
+ api_instance = DialMyCalls::ContactsApi.new
242
+
243
+ group_id = "group_id_example" # String | GroupId
244
+
245
+
246
+ begin
247
+ #List Contacts in Group
248
+ result = api_instance.get_contacts_by_group_id(group_id)
249
+ p result
250
+ rescue DialMyCalls::ApiError => e
251
+ puts "Exception when calling ContactsApi->get_contacts_by_group_id: #{e}"
252
+ end
253
+ ```
254
+
255
+ ### Parameters
256
+
257
+ Name | Type | Description | Notes
258
+ ------------- | ------------- | ------------- | -------------
259
+ **group_id** | **String**| GroupId |
260
+
261
+ ### Return type
262
+
263
+ **Object**
264
+
265
+ ### Authorization
266
+
267
+ [api_key](../README.md#api_key)
268
+
269
+ ### HTTP request headers
270
+
271
+ - **Content-Type**: application/json, application/xml
272
+ - **Accept**: application/json, application/xml
273
+
274
+
275
+
276
+ # **update_contact_by_id**
277
+ > Object update_contact_by_id(update_contact_by_id_parameters, contact_id)
278
+
279
+ Update Contact
280
+
281
+ Update an existing contact in your contact list. <br><br> Returns a contact object if a valid identifier was provided and input validation passed, and returns an error otherwise. <br><br> ``` curl -i -H \"Content-Type: application/json\" -X PUT -d \"{\\\"phone\\\": \\\"5555555555\\\"}\" https://$API_KEY@api.dialmycalls.com/2.0/contact/$CONTACT_ID ```
282
+
283
+ ### Example
284
+ ```ruby
285
+ # load the gem
286
+ require 'dialmycalls_client'
287
+ # setup authorization
288
+ DialMyCalls.configure do |config|
289
+ # Configure API key authorization: api_key
290
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
291
+ end
292
+
293
+ api_instance = DialMyCalls::ContactsApi.new
294
+
295
+ update_contact_by_id_parameters = DialMyCalls::UpdateContactByIdParameters.new # UpdateContactByIdParameters | Request body
296
+
297
+ contact_id = "contact_id_example" # String | ContactId
298
+
299
+
300
+ begin
301
+ #Update Contact
302
+ result = api_instance.update_contact_by_id(update_contact_by_id_parameters, contact_id)
303
+ p result
304
+ rescue DialMyCalls::ApiError => e
305
+ puts "Exception when calling ContactsApi->update_contact_by_id: #{e}"
306
+ end
307
+ ```
308
+
309
+ ### Parameters
310
+
311
+ Name | Type | Description | Notes
312
+ ------------- | ------------- | ------------- | -------------
313
+ **update_contact_by_id_parameters** | [**UpdateContactByIdParameters**](UpdateContactByIdParameters.md)| Request body |
314
+ **contact_id** | **String**| ContactId |
315
+
316
+ ### Return type
317
+
318
+ **Object**
319
+
320
+ ### Authorization
321
+
322
+ [api_key](../README.md#api_key)
323
+
324
+ ### HTTP request headers
325
+
326
+ - **Content-Type**: application/json, application/xml
327
+ - **Accept**: application/json, application/xml
328
+
329
+
330
+
@@ -0,0 +1,10 @@
1
+ # DialMyCalls::CreateAccessAccountParameters
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **email** | **String** | (Required) The email address for this access account. | [optional]
7
+ **password** | **String** | (Required) The password for this access account. Requirements: 8 characters, 1 digit, 1 upper case character. | [optional]
8
+ **name** | **String** | (Required) The name for this access account. | [optional]
9
+
10
+
@@ -0,0 +1,18 @@
1
+ # DialMyCalls::CreateCallParameters
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | (Required) Name the broadcast. | [optional]
7
+ **callerid_id** | **String** | (Required) The caller id that the message should be sent from. | [optional]
8
+ **recording_id** | **String** | (Required) The recording id of the message that should be played. | [optional]
9
+ **machine_recording_id** | **String** | The recording id of the message that should be played on answering machines. If not supplied the recording_id will be used. use_amd must be true in order for this feature to work. | [optional]
10
+ **send_at** | **String** | When the broadcast should be sent. (Ex: 2016-07-25T12:00:00+0000) | [optional]
11
+ **send_immediately** | **BOOLEAN** | Should the broadcast go out immediately? | [optional]
12
+ **use_amd** | **BOOLEAN** | Using answering machine detection? | [optional]
13
+ **send_email** | **BOOLEAN** | Also send an email to the contacts? | [optional]
14
+ **accessaccount_id** | **String** | Schedule this broadcast as an access account. | [optional]
15
+ **contacts** | [**Array&lt;ContactAttributes&gt;**](ContactAttributes.md) | (Required) List of contact information that should be sent the broadcast. | [optional]
16
+ **add_ons** | [**Array&lt;PushToListenAgain&gt;**](PushToListenAgain.md) | A list of feature add-ons for the calls. | [optional]
17
+
18
+
@@ -0,0 +1,9 @@
1
+ # DialMyCalls::CreateCallerIdParameters
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **phone** | **String** | (Required) The caller ID phone number. | [optional]
7
+ **name** | **String** | (Required) The caller ID&#39;s name. | [optional]
8
+
9
+
@@ -0,0 +1,14 @@
1
+ # DialMyCalls::CreateContactParameters
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **firstname** | **String** | The contact&#39;s first name. | [optional]
7
+ **lastname** | **String** | The contact&#39;s last name. | [optional]
8
+ **phone** | **String** | (Required) The contact&#39;s phone number. | [optional]
9
+ **extension** | **String** | The contact&#39;s phone extension. | [optional]
10
+ **email** | **String** | The contact&#39;s email address. | [optional]
11
+ **extra1** | **String** | Miscellaneous data about this contact. | [optional]
12
+ **groups** | **Array&lt;String&gt;** | List of group IDs that this contact should belong to. | [optional]
13
+
14
+
@@ -0,0 +1,8 @@
1
+ # DialMyCalls::CreateGroupParameters
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | (Required) The contact group&#39;s name. | [optional]
7
+
8
+
@@ -0,0 +1,12 @@
1
+ # DialMyCalls::CreateRecordingByPhoneParameters
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | (Required) The name of the recording. | [optional]
7
+ **callerid_id** | **String** | The caller id that the create recording message should be sent from. | [optional]
8
+ **whitelabel** | **BOOLEAN** | Add or remove the DialMyCalls intro message. | [optional]
9
+ **phone** | **String** | (Required) The recipient&#39;s phone number who will record the message. | [optional]
10
+ **extension** | **String** | The recipient&#39;s phone extension up to 10 numeric digits. | [optional]
11
+
12
+
@@ -0,0 +1,9 @@
1
+ # DialMyCalls::CreateRecordingByUrlParameters
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | (Required) The name of the recording. | [optional]
7
+ **url** | **String** | (Required) The URL of the sound file. (Formats: MP3 or WAV) | [optional]
8
+
9
+
@@ -0,0 +1,11 @@
1
+ # DialMyCalls::CreateRecordingParameters
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | (Required) The name of the recording. | [optional]
7
+ **gender** | **String** | (Required) Gender of the recording. Options: M or F | [optional]
8
+ **language** | **String** | (Required) The language of the recording. Options: en, es | [optional]
9
+ **text** | **String** | (Required) The text to convert to speech. | [optional]
10
+
11
+
@@ -0,0 +1,17 @@
1
+ # DialMyCalls::CreateTextParameters
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | (Required) Name the broadcast. | [optional]
7
+ **keyword_id** | **String** | (Required) The keyword id that should be associated with this broadcast. | [optional]
8
+ **messages** | **Array&lt;String&gt;** | (Required) List of messages to send (up to 10). | [optional]
9
+ **send_at** | **String** | When the broadcast should be sent. (Ex: 2016-07-25T12:00:00+0000) | [optional]
10
+ **send_immediately** | **BOOLEAN** | Should the broadcast go out immediately? | [optional]
11
+ **send_email** | **BOOLEAN** | Also send an email to the contacts? | [optional]
12
+ **accessaccount_id** | **String** | Schedule this broadcast as an access account. | [optional]
13
+ **shortcode_id** | **String** | The shortcode id that the broadcast will be sent from. | [optional]
14
+ **concatenate_sms** | **BOOLEAN** | Combine all SMS messages into 1 message on the end users device. | [optional]
15
+ **contacts** | [**Array&lt;ContactAttributes&gt;**](ContactAttributes.md) | (Required) List of contact information that should be sent the broadcast. | [optional]
16
+
17
+
@@ -0,0 +1,9 @@
1
+ # DialMyCalls::CreateUnverifiedCallerIdParameters
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **phone** | **String** | (Required) The caller ID phone number. | [optional]
7
+ **name** | **String** | (Required) The caller ID&#39;s name. | [optional]
8
+
9
+
@@ -0,0 +1,62 @@
1
+ # DialMyCalls::DoNotContactsApi
2
+
3
+ All URIs are relative to *https://api.dialmycalls.com/2.0*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get_do_not_contacts**](DoNotContactsApi.md#get_do_not_contacts) | **GET** /donotcontacts | List DoNotContacts
8
+
9
+
10
+ # **get_do_not_contacts**
11
+ > Object get_do_not_contacts(opts)
12
+
13
+ List DoNotContacts
14
+
15
+ Retrieve a list of donotcontacts. <br><br> Returns a list of donotcontact objects. <br><br> ``` curl -i -H \"Content-Type: application/json\" -X GET https://$API_KEY@api.dialmycalls.com/2.0/donotcontacts ```
16
+
17
+ ### Example
18
+ ```ruby
19
+ # load the gem
20
+ require 'dialmycalls_client'
21
+ # setup authorization
22
+ DialMyCalls.configure do |config|
23
+ # Configure API key authorization: api_key
24
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
25
+ end
26
+
27
+ api_instance = DialMyCalls::DoNotContactsApi.new
28
+
29
+ opts = {
30
+ range: "range_example" # String | Range (ie \"records=201-300\") of donotcontacts requested
31
+ }
32
+
33
+ begin
34
+ #List DoNotContacts
35
+ result = api_instance.get_do_not_contacts(opts)
36
+ p result
37
+ rescue DialMyCalls::ApiError => e
38
+ puts "Exception when calling DoNotContactsApi->get_do_not_contacts: #{e}"
39
+ end
40
+ ```
41
+
42
+ ### Parameters
43
+
44
+ Name | Type | Description | Notes
45
+ ------------- | ------------- | ------------- | -------------
46
+ **range** | **String**| Range (ie \&quot;records&#x3D;201-300\&quot;) of donotcontacts requested | [optional]
47
+
48
+ ### Return type
49
+
50
+ **Object**
51
+
52
+ ### Authorization
53
+
54
+ [api_key](../README.md#api_key)
55
+
56
+ ### HTTP request headers
57
+
58
+ - **Content-Type**: application/json, application/xml
59
+ - **Accept**: application/json, application/xml
60
+
61
+
62
+
@@ -0,0 +1,12 @@
1
+ # DialMyCalls::Donotcontact
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | Unique identifier for this group. | [optional]
7
+ **phone** | **String** | The phone number that is on the donotcontact list. | [optional]
8
+ **type** | **String** | The type of the donotcontact. Options: call, text | [optional]
9
+ **created_at** | **String** | When the donotcontact was created. | [optional]
10
+ **updated_at** | **String** | When the donotcontact was last updated. | [optional]
11
+
12
+
data/docs/Group.md ADDED
@@ -0,0 +1,12 @@
1
+ # DialMyCalls::Group
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | Unique identifier for this group. | [optional]
7
+ **name** | **String** | The group name. | [optional]
8
+ **contacts_count** | **Float** | The number of contacts in the group. | [optional]
9
+ **created_at** | **String** | When the group was created. | [optional]
10
+ **updated_at** | **String** | When the group was last updated. | [optional]
11
+
12
+