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
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 964af83558bcde85ec40d504186a2c49817cedcd
4
+ data.tar.gz: 2b578bc26eaf49a7d3c9b16d5a199da4352c1bcc
5
+ SHA512:
6
+ metadata.gz: 05ce5ee6959c1742e8d699f1b77349b837d89f00f685487ad127be4c0cd92241a0f8a648e697fc269c60564d2bf6f01fd421dfb63cb1aa56eaa5f1256e724893
7
+ data.tar.gz: 2f4db4b5c9a9bb9d32a8262c121f2ae1a3e0ac9eeb7542eec02c7c765b167b5eefd7a6f0bfdf8b8629b51e4670f3cf6d51c2ccd70d316d56274ff9bc2a28b574
data/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright {yyyy} {name of copyright owner}
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
data/README.md ADDED
@@ -0,0 +1,186 @@
1
+ # dialmycalls_client
2
+
3
+ DialMyCalls - the Ruby gem for the DialMyCalls API
4
+
5
+ The DialMyCalls API
6
+
7
+ For more information, please visit [https://www.dialmycalls.com](https://www.dialmycalls.com)
8
+
9
+ ## Installation
10
+
11
+ ### Build a gem
12
+
13
+ To build the Ruby code into a gem:
14
+
15
+ ```shell
16
+ gem build dialmycalls_client.gemspec
17
+ ```
18
+
19
+ Then either install the gem locally:
20
+
21
+ ```shell
22
+ gem install ./dialmycalls_client-2.0.1.gem
23
+ ```
24
+ (for development, run `gem install --dev ./dialmycalls_client-2.0.1.gem` to install the development dependencies)
25
+
26
+ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
27
+
28
+ Finally add this to the Gemfile:
29
+
30
+ gem 'dialmycalls_client', '~> 2.0.1'
31
+
32
+ ### Install from Git
33
+
34
+ If the Ruby gem is hosted at a git repository: https://github.com/dialmycalls/ruby-sdk-v2, then add the following in the Gemfile:
35
+
36
+ gem 'dialmycalls_client', :git => 'https://github.com/dialmycalls/ruby-sdk-v2.git'
37
+
38
+ ### Include the Ruby code directly
39
+
40
+ Include the Ruby code directly using `-I` as follows:
41
+
42
+ ```shell
43
+ ruby -Ilib script.rb
44
+ ```
45
+
46
+ ## Getting Started
47
+
48
+ Please follow the [installation](#installation) procedure and then run the following code:
49
+ ```ruby
50
+ # Load the gem
51
+ require 'dialmycalls_client'
52
+
53
+ # Setup authorization
54
+ DialMyCalls.configure do |config|
55
+ # Configure API key authorization: api_key
56
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
57
+ end
58
+
59
+ api_instance = DialMyCalls::AccountsApi.new
60
+
61
+ create_access_account_parameters = DialMyCalls::CreateAccessAccountParameters.new # CreateAccessAccountParameters | Request body
62
+
63
+
64
+ begin
65
+ #Add Access Account
66
+ result = api_instance.create_access_account(create_access_account_parameters)
67
+ p result
68
+ rescue DialMyCalls::ApiError => e
69
+ puts "Exception when calling AccountsApi->create_access_account: #{e}"
70
+ end
71
+
72
+ ```
73
+
74
+ ## Documentation for API Endpoints
75
+
76
+ All URIs are relative to *https://api.dialmycalls.com/2.0*
77
+
78
+ Class | Method | HTTP request | Description
79
+ ------------ | ------------- | ------------- | -------------
80
+ *DialMyCalls::AccountsApi* | [**create_access_account**](docs/AccountsApi.md#create_access_account) | **POST** /accessaccount | Add Access Account
81
+ *DialMyCalls::AccountsApi* | [**delete_access_account_by_id**](docs/AccountsApi.md#delete_access_account_by_id) | **DELETE** /accessaccount/{AccessAccountId} | Delete Access Account
82
+ *DialMyCalls::AccountsApi* | [**get_access_account_by_id**](docs/AccountsApi.md#get_access_account_by_id) | **GET** /accessaccount/{AccessAccountId} | Get Access Account
83
+ *DialMyCalls::AccountsApi* | [**get_access_accounts**](docs/AccountsApi.md#get_access_accounts) | **GET** /accessaccounts | List Access Accounts
84
+ *DialMyCalls::AccountsApi* | [**get_account**](docs/AccountsApi.md#get_account) | **GET** /account | Get Account
85
+ *DialMyCalls::AccountsApi* | [**update_access_account_by_id**](docs/AccountsApi.md#update_access_account_by_id) | **PUT** /accessaccount/{AccessAccountId} | Update Access Account
86
+ *DialMyCalls::CallerIdsApi* | [**create_caller_id**](docs/CallerIdsApi.md#create_caller_id) | **POST** /callerid | Add Caller ID
87
+ *DialMyCalls::CallerIdsApi* | [**create_unverified_caller_id**](docs/CallerIdsApi.md#create_unverified_caller_id) | **POST** /verify/callerid | Add Caller ID (Unverified)
88
+ *DialMyCalls::CallerIdsApi* | [**delete_caller_id_by_id**](docs/CallerIdsApi.md#delete_caller_id_by_id) | **DELETE** /callerid/{CalleridId} | Delete Caller ID
89
+ *DialMyCalls::CallerIdsApi* | [**get_caller_id_by_id**](docs/CallerIdsApi.md#get_caller_id_by_id) | **GET** /callerid/{CalleridId} | Get Caller ID
90
+ *DialMyCalls::CallerIdsApi* | [**get_caller_ids**](docs/CallerIdsApi.md#get_caller_ids) | **GET** /callerids | List Caller IDs
91
+ *DialMyCalls::CallerIdsApi* | [**update_caller_id_by_id**](docs/CallerIdsApi.md#update_caller_id_by_id) | **PUT** /callerid/{CalleridId} | Update Caller ID
92
+ *DialMyCalls::CallerIdsApi* | [**verify_caller_id_by_id**](docs/CallerIdsApi.md#verify_caller_id_by_id) | **PUT** /verify/callerid/{CalleridId} | Verify Caller ID
93
+ *DialMyCalls::CallsApi* | [**cancel_call_by_id**](docs/CallsApi.md#cancel_call_by_id) | **DELETE** /service/call/{CallId} | Cancel Call
94
+ *DialMyCalls::CallsApi* | [**create_call**](docs/CallsApi.md#create_call) | **POST** /service/call | Create Call
95
+ *DialMyCalls::CallsApi* | [**get_call_by_id**](docs/CallsApi.md#get_call_by_id) | **GET** /service/call/{CallId} | Get Call
96
+ *DialMyCalls::CallsApi* | [**get_call_recipients_by_call_id**](docs/CallsApi.md#get_call_recipients_by_call_id) | **GET** /service/call/{CallId}/recipients | Get Call Recipients
97
+ *DialMyCalls::CallsApi* | [**get_calls**](docs/CallsApi.md#get_calls) | **GET** /service/calls | List Calls
98
+ *DialMyCalls::ContactsApi* | [**create_contact**](docs/ContactsApi.md#create_contact) | **POST** /contact | Add Contact
99
+ *DialMyCalls::ContactsApi* | [**delete_contact_by_id**](docs/ContactsApi.md#delete_contact_by_id) | **DELETE** /contact/{ContactId} | Delete Contact
100
+ *DialMyCalls::ContactsApi* | [**get_contact_by_id**](docs/ContactsApi.md#get_contact_by_id) | **GET** /contact/{ContactId} | Get Contact
101
+ *DialMyCalls::ContactsApi* | [**get_contacts**](docs/ContactsApi.md#get_contacts) | **GET** /contacts | List Contacts
102
+ *DialMyCalls::ContactsApi* | [**get_contacts_by_group_id**](docs/ContactsApi.md#get_contacts_by_group_id) | **GET** /contacts/{GroupId} | List Contacts in Group
103
+ *DialMyCalls::ContactsApi* | [**update_contact_by_id**](docs/ContactsApi.md#update_contact_by_id) | **PUT** /contact/{ContactId} | Update Contact
104
+ *DialMyCalls::DoNotContactsApi* | [**get_do_not_contacts**](docs/DoNotContactsApi.md#get_do_not_contacts) | **GET** /donotcontacts | List DoNotContacts
105
+ *DialMyCalls::GroupsApi* | [**create_group**](docs/GroupsApi.md#create_group) | **POST** /group | Add Group
106
+ *DialMyCalls::GroupsApi* | [**delete_group_by_id**](docs/GroupsApi.md#delete_group_by_id) | **DELETE** /group/{GroupId} | Delete Group
107
+ *DialMyCalls::GroupsApi* | [**get_group_by_id**](docs/GroupsApi.md#get_group_by_id) | **GET** /group/{GroupId} | Get Group
108
+ *DialMyCalls::GroupsApi* | [**get_groups**](docs/GroupsApi.md#get_groups) | **GET** /groups | List Groups
109
+ *DialMyCalls::GroupsApi* | [**update_group_by_id**](docs/GroupsApi.md#update_group_by_id) | **PUT** /group/{GroupId} | Update Group
110
+ *DialMyCalls::KeywordsApi* | [**delete_keyword_by_id**](docs/KeywordsApi.md#delete_keyword_by_id) | **DELETE** /keyword/{KeywordId} | Delete Keyword
111
+ *DialMyCalls::KeywordsApi* | [**get_keyword_by_id**](docs/KeywordsApi.md#get_keyword_by_id) | **GET** /keyword/{KeywordId} | Get Keyword
112
+ *DialMyCalls::KeywordsApi* | [**get_keywords**](docs/KeywordsApi.md#get_keywords) | **GET** /keywords | List Keywords
113
+ *DialMyCalls::RecordingsApi* | [**create_recording**](docs/RecordingsApi.md#create_recording) | **POST** /recording/tts | Create Recording (Text-to-Speech)
114
+ *DialMyCalls::RecordingsApi* | [**create_recording_by_phone**](docs/RecordingsApi.md#create_recording_by_phone) | **POST** /recording/phone | Create Recording (Phone)
115
+ *DialMyCalls::RecordingsApi* | [**create_recording_by_url**](docs/RecordingsApi.md#create_recording_by_url) | **POST** /recording/url | Create Recording (URL)
116
+ *DialMyCalls::RecordingsApi* | [**delete_recording_by_id**](docs/RecordingsApi.md#delete_recording_by_id) | **DELETE** /recording/{RecordingId} | Delete Recording
117
+ *DialMyCalls::RecordingsApi* | [**get_recording_by_id**](docs/RecordingsApi.md#get_recording_by_id) | **GET** /recording/{RecordingId} | Get Recording
118
+ *DialMyCalls::RecordingsApi* | [**get_recordings**](docs/RecordingsApi.md#get_recordings) | **GET** /recordings | List Recordings
119
+ *DialMyCalls::RecordingsApi* | [**update_recording_by_id**](docs/RecordingsApi.md#update_recording_by_id) | **PUT** /recording/{RecordingId} | Update Recording
120
+ *DialMyCalls::TextsApi* | [**cancel_text_by_id**](docs/TextsApi.md#cancel_text_by_id) | **DELETE** /service/text/{TextId} | Cancel Text
121
+ *DialMyCalls::TextsApi* | [**create_text**](docs/TextsApi.md#create_text) | **POST** /service/text | Create Text
122
+ *DialMyCalls::TextsApi* | [**delete_incoming_text_by_id**](docs/TextsApi.md#delete_incoming_text_by_id) | **DELETE** /incoming/text/{TextId} | Delete Incoming Text
123
+ *DialMyCalls::TextsApi* | [**get_incoming_text_by_id**](docs/TextsApi.md#get_incoming_text_by_id) | **GET** /incoming/text/{TextId} | Get Incoming Text
124
+ *DialMyCalls::TextsApi* | [**get_incoming_texts**](docs/TextsApi.md#get_incoming_texts) | **GET** /incoming/texts | List Incoming Texts
125
+ *DialMyCalls::TextsApi* | [**get_short_codes**](docs/TextsApi.md#get_short_codes) | **GET** /shortcodes | List Shortcodes
126
+ *DialMyCalls::TextsApi* | [**get_text_by_id**](docs/TextsApi.md#get_text_by_id) | **GET** /service/text/{TextId} | Get Text
127
+ *DialMyCalls::TextsApi* | [**get_text_recipients_by_text_id**](docs/TextsApi.md#get_text_recipients_by_text_id) | **GET** /service/text/{TextId}/recipients | Get Text Recipients
128
+ *DialMyCalls::TextsApi* | [**get_texts**](docs/TextsApi.md#get_texts) | **GET** /service/texts | List Texts
129
+ *DialMyCalls::VanityNumbersApi* | [**delete_vanity_number_by_id**](docs/VanityNumbersApi.md#delete_vanity_number_by_id) | **DELETE** /vanitynumber/{VanityNumberId} | Delete Vanity Number
130
+ *DialMyCalls::VanityNumbersApi* | [**get_vanity_number_by_id**](docs/VanityNumbersApi.md#get_vanity_number_by_id) | **GET** /vanitynumber/{VanityNumberId} | Get Vanity Number
131
+ *DialMyCalls::VanityNumbersApi* | [**get_vanity_numbers**](docs/VanityNumbersApi.md#get_vanity_numbers) | **GET** /vanitynumbers | List Vanity Numbers
132
+ *DialMyCalls::VanityNumbersApi* | [**update_vanity_number_by_id**](docs/VanityNumbersApi.md#update_vanity_number_by_id) | **PUT** /vanitynumber/{VanityNumberId} | Update Vanity Number
133
+
134
+
135
+ ## Documentation for Models
136
+
137
+ - [DialMyCalls::Accessaccount](docs/Accessaccount.md)
138
+ - [DialMyCalls::Account](docs/Account.md)
139
+ - [DialMyCalls::CallRecipient](docs/CallRecipient.md)
140
+ - [DialMyCalls::Callerid](docs/Callerid.md)
141
+ - [DialMyCalls::Callservice](docs/Callservice.md)
142
+ - [DialMyCalls::Contact](docs/Contact.md)
143
+ - [DialMyCalls::ContactAttributes](docs/ContactAttributes.md)
144
+ - [DialMyCalls::CreateAccessAccountParameters](docs/CreateAccessAccountParameters.md)
145
+ - [DialMyCalls::CreateCallParameters](docs/CreateCallParameters.md)
146
+ - [DialMyCalls::CreateCallerIdParameters](docs/CreateCallerIdParameters.md)
147
+ - [DialMyCalls::CreateContactParameters](docs/CreateContactParameters.md)
148
+ - [DialMyCalls::CreateGroupParameters](docs/CreateGroupParameters.md)
149
+ - [DialMyCalls::CreateRecordingByPhoneParameters](docs/CreateRecordingByPhoneParameters.md)
150
+ - [DialMyCalls::CreateRecordingByUrlParameters](docs/CreateRecordingByUrlParameters.md)
151
+ - [DialMyCalls::CreateRecordingParameters](docs/CreateRecordingParameters.md)
152
+ - [DialMyCalls::CreateTextParameters](docs/CreateTextParameters.md)
153
+ - [DialMyCalls::CreateUnverifiedCallerIdParameters](docs/CreateUnverifiedCallerIdParameters.md)
154
+ - [DialMyCalls::Donotcontact](docs/Donotcontact.md)
155
+ - [DialMyCalls::Group](docs/Group.md)
156
+ - [DialMyCalls::Identifier](docs/Identifier.md)
157
+ - [DialMyCalls::Incomingtext](docs/Incomingtext.md)
158
+ - [DialMyCalls::Keyword](docs/Keyword.md)
159
+ - [DialMyCalls::Polling](docs/Polling.md)
160
+ - [DialMyCalls::PushToListenAgain](docs/PushToListenAgain.md)
161
+ - [DialMyCalls::PushToOptOut](docs/PushToOptOut.md)
162
+ - [DialMyCalls::PushToRecord](docs/PushToRecord.md)
163
+ - [DialMyCalls::PushToTalk](docs/PushToTalk.md)
164
+ - [DialMyCalls::Recording](docs/Recording.md)
165
+ - [DialMyCalls::Service](docs/Service.md)
166
+ - [DialMyCalls::Shortcode](docs/Shortcode.md)
167
+ - [DialMyCalls::TextRecipient](docs/TextRecipient.md)
168
+ - [DialMyCalls::UpdateAccessAccountByIdParameters](docs/UpdateAccessAccountByIdParameters.md)
169
+ - [DialMyCalls::UpdateCallerIdByIdParameters](docs/UpdateCallerIdByIdParameters.md)
170
+ - [DialMyCalls::UpdateContactByIdParameters](docs/UpdateContactByIdParameters.md)
171
+ - [DialMyCalls::UpdateGroupByIdParameters](docs/UpdateGroupByIdParameters.md)
172
+ - [DialMyCalls::UpdateRecordingByIdParameters](docs/UpdateRecordingByIdParameters.md)
173
+ - [DialMyCalls::UpdateVanityNumberByIdParameters](docs/UpdateVanityNumberByIdParameters.md)
174
+ - [DialMyCalls::Vanitynumber](docs/Vanitynumber.md)
175
+ - [DialMyCalls::VerifyCallerIdByIdParameters](docs/VerifyCallerIdByIdParameters.md)
176
+
177
+
178
+ ## Documentation for Authorization
179
+
180
+
181
+ ### api_key
182
+
183
+ - **Type**: API key
184
+ - **API key parameter name**: X-Auth-ApiKey
185
+ - **Location**: HTTP header
186
+
Binary file
@@ -0,0 +1,55 @@
1
+ # -*- encoding: utf-8 -*-
2
+ #
3
+ =begin
4
+ #DialMyCalls API
5
+
6
+ #The DialMyCalls API
7
+
8
+ OpenAPI spec version: 2.0.1
9
+ Contact: support@dialmycalls.com
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+
12
+ Licensed under the Apache License, Version 2.0 (the "License");
13
+ you may not use this file except in compliance with the License.
14
+ You may obtain a copy of the License at
15
+
16
+ http://www.apache.org/licenses/LICENSE-2.0
17
+
18
+ Unless required by applicable law or agreed to in writing, software
19
+ distributed under the License is distributed on an "AS IS" BASIS,
20
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
+ See the License for the specific language governing permissions and
22
+ limitations under the License.
23
+
24
+ =end
25
+
26
+ $:.push File.expand_path("../lib", __FILE__)
27
+ require "dialmycalls_client/version"
28
+
29
+ Gem::Specification.new do |s|
30
+ s.name = "dialmycalls_client"
31
+ s.version = DialMyCalls::VERSION
32
+ s.platform = Gem::Platform::RUBY
33
+ s.authors = ["DialMyCalls"]
34
+ s.email = ["support@dialmycalls.com"]
35
+ s.homepage = "https://www.dialmycalls.com"
36
+ s.summary = "A ruby wrapper for the DialMyCalls APIs"
37
+ s.description = "This gem maps to the DialMyCalls API"
38
+ s.license = "MIT"
39
+
40
+ s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
41
+ s.add_runtime_dependency 'json', '~> 1.8', '>= 1.8.3'
42
+
43
+ s.add_development_dependency 'rspec', '~> 3.4', '>= 3.4.0'
44
+ s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
45
+ s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
46
+ s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
47
+ s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
48
+ s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
49
+ s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.11'
50
+
51
+ s.files = `find *`.split("\n").uniq.sort.select{|f| !f.empty? }
52
+ s.test_files = `find spec/*`.split("\n")
53
+ s.executables = []
54
+ s.require_paths = ["lib"]
55
+ end
@@ -0,0 +1,12 @@
1
+ # DialMyCalls::Accessaccount
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | Unique identifier for this access account. | [optional]
7
+ **name** | **String** | The name of the access account. | [optional]
8
+ **email** | **String** | The access account email address. | [optional]
9
+ **created_at** | **String** | When the access account was created. | [optional]
10
+ **updated_at** | **String** | When the access account was last updated. | [optional]
11
+
12
+
data/docs/Account.md ADDED
@@ -0,0 +1,9 @@
1
+ # DialMyCalls::Account
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **credits_available** | **Float** | The amount of credits available on your account. | [optional]
7
+ **created_at** | **String** | When your account was created. | [optional]
8
+
9
+