signrequest_client 0.1.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 (188) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/Gemfile.lock +69 -0
  4. data/LICENSE +21 -0
  5. data/README.md +122 -0
  6. data/Rakefile +9 -0
  7. data/docs/ApiTokensApi.md +226 -0
  8. data/docs/AuthToken.md +13 -0
  9. data/docs/Document.md +33 -0
  10. data/docs/DocumentAttachment.md +15 -0
  11. data/docs/DocumentAttachmentsApi.md +179 -0
  12. data/docs/DocumentSearch.md +22 -0
  13. data/docs/DocumentSignerTemplateConf.md +14 -0
  14. data/docs/DocumentsApi.md +301 -0
  15. data/docs/DocumentsSearchApi.md +119 -0
  16. data/docs/Event.md +17 -0
  17. data/docs/EventsApi.md +145 -0
  18. data/docs/FileFromSf.md +9 -0
  19. data/docs/InlineDocumentSignerIntegrationData.md +9 -0
  20. data/docs/InlineIntegrationData.md +9 -0
  21. data/docs/InlinePrefillTags.md +11 -0
  22. data/docs/InlineResponse200.md +11 -0
  23. data/docs/InlineResponse2001.md +11 -0
  24. data/docs/InlineResponse2002.md +11 -0
  25. data/docs/InlineResponse2003.md +11 -0
  26. data/docs/InlineResponse2004.md +11 -0
  27. data/docs/InlineResponse2005.md +11 -0
  28. data/docs/InlineResponse2006.md +11 -0
  29. data/docs/InlineResponse2007.md +11 -0
  30. data/docs/InlineResponse2008.md +11 -0
  31. data/docs/InlineResponse2009.md +11 -0
  32. data/docs/InlineSignRequest.md +25 -0
  33. data/docs/InlineTeam.md +10 -0
  34. data/docs/InlineTeamMember.md +13 -0
  35. data/docs/InviteMember.md +10 -0
  36. data/docs/Placeholder.md +15 -0
  37. data/docs/RequiredAttachment.md +9 -0
  38. data/docs/SignRequest.md +29 -0
  39. data/docs/SignRequestQuickCreate.md +42 -0
  40. data/docs/Signer.md +40 -0
  41. data/docs/SignerAttachment.md +11 -0
  42. data/docs/SignerInputs.md +14 -0
  43. data/docs/SigningLog.md +9 -0
  44. data/docs/SignrequestQuickCreateApi.md +62 -0
  45. data/docs/SignrequestsApi.md +291 -0
  46. data/docs/Team.md +15 -0
  47. data/docs/TeamMember.md +14 -0
  48. data/docs/TeamMembersApi.md +131 -0
  49. data/docs/TeamsApi.md +344 -0
  50. data/docs/Template.md +14 -0
  51. data/docs/TemplatesApi.md +119 -0
  52. data/docs/User.md +11 -0
  53. data/docs/WebhookSubscription.md +15 -0
  54. data/docs/WebhooksApi.md +340 -0
  55. data/git_push.sh +55 -0
  56. data/lib/signrequest_client/api/api_tokens_api.rb +242 -0
  57. data/lib/signrequest_client/api/document_attachments_api.rb +197 -0
  58. data/lib/signrequest_client/api/documents_api.rb +330 -0
  59. data/lib/signrequest_client/api/documents_search_api.rb +133 -0
  60. data/lib/signrequest_client/api/events_api.rb +172 -0
  61. data/lib/signrequest_client/api/signrequest_quick_create_api.rb +78 -0
  62. data/lib/signrequest_client/api/signrequests_api.rb +316 -0
  63. data/lib/signrequest_client/api/team_members_api.rb +151 -0
  64. data/lib/signrequest_client/api/teams_api.rb +371 -0
  65. data/lib/signrequest_client/api/templates_api.rb +133 -0
  66. data/lib/signrequest_client/api/webhooks_api.rb +364 -0
  67. data/lib/signrequest_client/api_client.rb +389 -0
  68. data/lib/signrequest_client/api_error.rb +38 -0
  69. data/lib/signrequest_client/configuration.rb +209 -0
  70. data/lib/signrequest_client/models/auth_token.rb +298 -0
  71. data/lib/signrequest_client/models/document.rb +605 -0
  72. data/lib/signrequest_client/models/document_attachment.rb +304 -0
  73. data/lib/signrequest_client/models/document_search.rb +519 -0
  74. data/lib/signrequest_client/models/document_signer_template_conf.rb +294 -0
  75. data/lib/signrequest_client/models/event.rb +330 -0
  76. data/lib/signrequest_client/models/file_from_sf.rb +245 -0
  77. data/lib/signrequest_client/models/inline_document_signer_integration_data.rb +230 -0
  78. data/lib/signrequest_client/models/inline_integration_data.rb +230 -0
  79. data/lib/signrequest_client/models/inline_prefill_tags.rb +231 -0
  80. data/lib/signrequest_client/models/inline_response_200.rb +227 -0
  81. data/lib/signrequest_client/models/inline_response_200_1.rb +227 -0
  82. data/lib/signrequest_client/models/inline_response_200_2.rb +227 -0
  83. data/lib/signrequest_client/models/inline_response_200_3.rb +227 -0
  84. data/lib/signrequest_client/models/inline_response_200_4.rb +227 -0
  85. data/lib/signrequest_client/models/inline_response_200_5.rb +227 -0
  86. data/lib/signrequest_client/models/inline_response_200_6.rb +227 -0
  87. data/lib/signrequest_client/models/inline_response_200_7.rb +227 -0
  88. data/lib/signrequest_client/models/inline_response_200_8.rb +227 -0
  89. data/lib/signrequest_client/models/inline_response_200_9.rb +227 -0
  90. data/lib/signrequest_client/models/inline_sign_request.rb +496 -0
  91. data/lib/signrequest_client/models/inline_team.rb +247 -0
  92. data/lib/signrequest_client/models/inline_team_member.rb +249 -0
  93. data/lib/signrequest_client/models/invite_member.rb +234 -0
  94. data/lib/signrequest_client/models/placeholder.rb +326 -0
  95. data/lib/signrequest_client/models/required_attachment.rb +246 -0
  96. data/lib/signrequest_client/models/sign_request.rb +543 -0
  97. data/lib/signrequest_client/models/sign_request_quick_create.rb +764 -0
  98. data/lib/signrequest_client/models/signer.rb +751 -0
  99. data/lib/signrequest_client/models/signer_attachment.rb +247 -0
  100. data/lib/signrequest_client/models/signer_inputs.rb +312 -0
  101. data/lib/signrequest_client/models/signing_log.rb +213 -0
  102. data/lib/signrequest_client/models/team.rb +367 -0
  103. data/lib/signrequest_client/models/team_member.rb +258 -0
  104. data/lib/signrequest_client/models/template.rb +309 -0
  105. data/lib/signrequest_client/models/user.rb +296 -0
  106. data/lib/signrequest_client/models/webhook_subscription.rb +366 -0
  107. data/lib/signrequest_client/version.rb +15 -0
  108. data/lib/signrequest_client.rb +87 -0
  109. data/pkg/signrequest_client-0.1.0.gem +0 -0
  110. data/signrequest_client.gemspec +45 -0
  111. data/signrequst_client/.git/HEAD +1 -0
  112. data/signrequst_client/.git/config +7 -0
  113. data/signrequst_client/.git/description +1 -0
  114. data/signrequst_client/.git/hooks/applypatch-msg.sample +15 -0
  115. data/signrequst_client/.git/hooks/commit-msg.sample +24 -0
  116. data/signrequst_client/.git/hooks/fsmonitor-watchman.sample +114 -0
  117. data/signrequst_client/.git/hooks/post-update.sample +8 -0
  118. data/signrequst_client/.git/hooks/pre-applypatch.sample +14 -0
  119. data/signrequst_client/.git/hooks/pre-commit.sample +49 -0
  120. data/signrequst_client/.git/hooks/pre-push.sample +53 -0
  121. data/signrequst_client/.git/hooks/pre-rebase.sample +169 -0
  122. data/signrequst_client/.git/hooks/pre-receive.sample +24 -0
  123. data/signrequst_client/.git/hooks/prepare-commit-msg.sample +42 -0
  124. data/signrequst_client/.git/hooks/update.sample +128 -0
  125. data/signrequst_client/.git/index +0 -0
  126. data/signrequst_client/.git/info/exclude +6 -0
  127. data/signrequst_client/.git/objects/30/68cc8a074ffc0c7b8891cb21d68b5d367cb8c4 +0 -0
  128. data/signrequst_client/.git/objects/32/c4b7e9f988621ed2ce28954f1aaf088f340848 +2 -0
  129. data/signrequst_client/.git/objects/3e/8c4c2f8d1d5334612f3072160124e985f27e8c +0 -0
  130. data/signrequst_client/.git/objects/43/022f711e20ed55baf2470278eb8e428a04856f +0 -0
  131. data/signrequst_client/.git/objects/6f/8caa83dfb6dc8a987a2829cbfefae18c8870c3 +0 -0
  132. data/signrequst_client/.git/objects/91/06b2a345b019a799c02e5069affa88370b35dd +0 -0
  133. data/signrequst_client/.git/objects/aa/58e53f733551ac2bde6f7a50b5a9f16ddbf110 +0 -0
  134. data/signrequst_client/.git/objects/dc/e67d860af47a4eb630117ce03624bae45dcf26 +3 -0
  135. data/signrequst_client/.git/objects/f1/c9171bed4c19fd22429ffd68d4cbb2c3ce2fce +0 -0
  136. data/signrequst_client/.git/objects/f8/e4c2573ebc57d5a365ebe14d5c18cc8d0716c4 +0 -0
  137. data/spec/api/api_tokens_api_spec.rb +84 -0
  138. data/spec/api/document_attachments_api_spec.rb +75 -0
  139. data/spec/api/documents_api_spec.rb +106 -0
  140. data/spec/api/documents_search_api_spec.rb +60 -0
  141. data/spec/api/events_api_spec.rb +73 -0
  142. data/spec/api/signrequest_quick_create_api_spec.rb +47 -0
  143. data/spec/api/signrequests_api_spec.rb +100 -0
  144. data/spec/api/team_members_api_spec.rb +66 -0
  145. data/spec/api/teams_api_spec.rb +111 -0
  146. data/spec/api/templates_api_spec.rb +60 -0
  147. data/spec/api/webhooks_api_spec.rb +110 -0
  148. data/spec/api_client_spec.rb +226 -0
  149. data/spec/configuration_spec.rb +42 -0
  150. data/spec/models/auth_token_spec.rb +72 -0
  151. data/spec/models/document_attachment_spec.rb +84 -0
  152. data/spec/models/document_search_spec.rb +126 -0
  153. data/spec/models/document_signer_template_conf_spec.rb +78 -0
  154. data/spec/models/document_spec.rb +196 -0
  155. data/spec/models/event_spec.rb +104 -0
  156. data/spec/models/file_from_sf_spec.rb +48 -0
  157. data/spec/models/inline_document_signer_integration_data_spec.rb +52 -0
  158. data/spec/models/inline_integration_data_spec.rb +52 -0
  159. data/spec/models/inline_prefill_tags_spec.rb +60 -0
  160. data/spec/models/inline_response_200_1_spec.rb +60 -0
  161. data/spec/models/inline_response_200_2_spec.rb +60 -0
  162. data/spec/models/inline_response_200_3_spec.rb +60 -0
  163. data/spec/models/inline_response_200_4_spec.rb +60 -0
  164. data/spec/models/inline_response_200_5_spec.rb +60 -0
  165. data/spec/models/inline_response_200_6_spec.rb +60 -0
  166. data/spec/models/inline_response_200_7_spec.rb +60 -0
  167. data/spec/models/inline_response_200_8_spec.rb +60 -0
  168. data/spec/models/inline_response_200_9_spec.rb +60 -0
  169. data/spec/models/inline_response_200_spec.rb +60 -0
  170. data/spec/models/inline_sign_request_spec.rb +148 -0
  171. data/spec/models/inline_team_member_spec.rb +72 -0
  172. data/spec/models/inline_team_spec.rb +54 -0
  173. data/spec/models/invite_member_spec.rb +54 -0
  174. data/spec/models/placeholder_spec.rb +88 -0
  175. data/spec/models/required_attachment_spec.rb +48 -0
  176. data/spec/models/sign_request_quick_create_spec.rb +254 -0
  177. data/spec/models/sign_request_spec.rb +176 -0
  178. data/spec/models/signer_attachment_spec.rb +60 -0
  179. data/spec/models/signer_inputs_spec.rb +82 -0
  180. data/spec/models/signer_spec.rb +238 -0
  181. data/spec/models/signing_log_spec.rb +48 -0
  182. data/spec/models/team_member_spec.rb +78 -0
  183. data/spec/models/team_spec.rb +84 -0
  184. data/spec/models/template_spec.rb +82 -0
  185. data/spec/models/user_spec.rb +60 -0
  186. data/spec/models/webhook_subscription_spec.rb +92 -0
  187. data/spec/spec_helper.rb +111 -0
  188. metadata +461 -0
data/docs/TeamsApi.md ADDED
@@ -0,0 +1,344 @@
1
+ # SignRequestClient::TeamsApi
2
+
3
+ All URIs are relative to *https://signrequest.com/api/v1*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**teams_create**](TeamsApi.md#teams_create) | **POST** /teams/ |
8
+ [**teams_invite_member**](TeamsApi.md#teams_invite_member) | **POST** /teams/{subdomain}/invite_member/ |
9
+ [**teams_list**](TeamsApi.md#teams_list) | **GET** /teams/ |
10
+ [**teams_partial_update**](TeamsApi.md#teams_partial_update) | **PATCH** /teams/{subdomain}/ |
11
+ [**teams_read**](TeamsApi.md#teams_read) | **GET** /teams/{subdomain}/ |
12
+ [**teams_update**](TeamsApi.md#teams_update) | **PUT** /teams/{subdomain}/ |
13
+
14
+
15
+ # **teams_create**
16
+ > Team teams_create(data)
17
+
18
+
19
+
20
+ If your application requires to create Teams and act on behalf of them you need to become an integration partner. Required fields are **name** and **subdomain** where the subdomain is globally unique. Use **POST** to create a Team. To update a field on a Team use **PATCH**. To use the API on behalf of a particular team change the endpoint to: *https://**{{ subdomain }}**.signrequest.com/api/v1/...* To invite new team members you can use **POST** {\"email\":\"**email-of-member-to-invite@example.com**\",\"is_admin\":false,\"is_owner\":false} to: *https://signrequest.com/api/v1/teams/**{{ subdomain }}**/invite_member/*
21
+
22
+ ### Example
23
+ ```ruby
24
+ # load the gem
25
+ require 'signrequest_client'
26
+ # setup authorization
27
+ SignRequestClient.configure do |config|
28
+ # Configure API key authorization: Token
29
+ config.api_key['Authorization'] = 'YOUR API KEY'
30
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
31
+ #config.api_key_prefix['Authorization'] = 'Bearer'
32
+ end
33
+
34
+ api_instance = SignRequestClient::TeamsApi.new
35
+
36
+ data = SignRequestClient::Team.new # Team |
37
+
38
+
39
+ begin
40
+ result = api_instance.teams_create(data)
41
+ p result
42
+ rescue SignRequestClient::ApiError => e
43
+ puts "Exception when calling TeamsApi->teams_create: #{e}"
44
+ end
45
+ ```
46
+
47
+ ### Parameters
48
+
49
+ Name | Type | Description | Notes
50
+ ------------- | ------------- | ------------- | -------------
51
+ **data** | [**Team**](Team.md)| |
52
+
53
+ ### Return type
54
+
55
+ [**Team**](Team.md)
56
+
57
+ ### Authorization
58
+
59
+ [Token](../README.md#Token)
60
+
61
+ ### HTTP request headers
62
+
63
+ - **Content-Type**: application/json
64
+ - **Accept**: application/json
65
+
66
+
67
+
68
+ # **teams_invite_member**
69
+ > InviteMember teams_invite_member(subdomain, data)
70
+
71
+
72
+
73
+ If your application requires to create Teams and act on behalf of them you need to become an integration partner. Required fields are **name** and **subdomain** where the subdomain is globally unique. Use **POST** to create a Team. To update a field on a Team use **PATCH**. To use the API on behalf of a particular team change the endpoint to: *https://**{{ subdomain }}**.signrequest.com/api/v1/...* To invite new team members you can use **POST** {\"email\":\"**email-of-member-to-invite@example.com**\",\"is_admin\":false,\"is_owner\":false} to: *https://signrequest.com/api/v1/teams/**{{ subdomain }}**/invite_member/*
74
+
75
+ ### Example
76
+ ```ruby
77
+ # load the gem
78
+ require 'signrequest_client'
79
+ # setup authorization
80
+ SignRequestClient.configure do |config|
81
+ # Configure API key authorization: Token
82
+ config.api_key['Authorization'] = 'YOUR API KEY'
83
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
84
+ #config.api_key_prefix['Authorization'] = 'Bearer'
85
+ end
86
+
87
+ api_instance = SignRequestClient::TeamsApi.new
88
+
89
+ subdomain = "subdomain_example" # String |
90
+
91
+ data = SignRequestClient::InviteMember.new # InviteMember |
92
+
93
+
94
+ begin
95
+ result = api_instance.teams_invite_member(subdomain, data)
96
+ p result
97
+ rescue SignRequestClient::ApiError => e
98
+ puts "Exception when calling TeamsApi->teams_invite_member: #{e}"
99
+ end
100
+ ```
101
+
102
+ ### Parameters
103
+
104
+ Name | Type | Description | Notes
105
+ ------------- | ------------- | ------------- | -------------
106
+ **subdomain** | **String**| |
107
+ **data** | [**InviteMember**](InviteMember.md)| |
108
+
109
+ ### Return type
110
+
111
+ [**InviteMember**](InviteMember.md)
112
+
113
+ ### Authorization
114
+
115
+ [Token](../README.md#Token)
116
+
117
+ ### HTTP request headers
118
+
119
+ - **Content-Type**: application/json
120
+ - **Accept**: application/json
121
+
122
+
123
+
124
+ # **teams_list**
125
+ > InlineResponse2007 teams_list(opts)
126
+
127
+
128
+
129
+ If your application requires to create Teams and act on behalf of them you need to become an integration partner. Required fields are **name** and **subdomain** where the subdomain is globally unique. Use **POST** to create a Team. To update a field on a Team use **PATCH**. To use the API on behalf of a particular team change the endpoint to: *https://**{{ subdomain }}**.signrequest.com/api/v1/...* To invite new team members you can use **POST** {\"email\":\"**email-of-member-to-invite@example.com**\",\"is_admin\":false,\"is_owner\":false} to: *https://signrequest.com/api/v1/teams/**{{ subdomain }}**/invite_member/*
130
+
131
+ ### Example
132
+ ```ruby
133
+ # load the gem
134
+ require 'signrequest_client'
135
+ # setup authorization
136
+ SignRequestClient.configure do |config|
137
+ # Configure API key authorization: Token
138
+ config.api_key['Authorization'] = 'YOUR API KEY'
139
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
140
+ #config.api_key_prefix['Authorization'] = 'Bearer'
141
+ end
142
+
143
+ api_instance = SignRequestClient::TeamsApi.new
144
+
145
+ opts = {
146
+ page: 56, # Integer | A page number within the paginated result set.
147
+ limit: 56 # Integer | Number of results to return per page.
148
+ }
149
+
150
+ begin
151
+ result = api_instance.teams_list(opts)
152
+ p result
153
+ rescue SignRequestClient::ApiError => e
154
+ puts "Exception when calling TeamsApi->teams_list: #{e}"
155
+ end
156
+ ```
157
+
158
+ ### Parameters
159
+
160
+ Name | Type | Description | Notes
161
+ ------------- | ------------- | ------------- | -------------
162
+ **page** | **Integer**| A page number within the paginated result set. | [optional]
163
+ **limit** | **Integer**| Number of results to return per page. | [optional]
164
+
165
+ ### Return type
166
+
167
+ [**InlineResponse2007**](InlineResponse2007.md)
168
+
169
+ ### Authorization
170
+
171
+ [Token](../README.md#Token)
172
+
173
+ ### HTTP request headers
174
+
175
+ - **Content-Type**: application/json
176
+ - **Accept**: application/json
177
+
178
+
179
+
180
+ # **teams_partial_update**
181
+ > Team teams_partial_update(subdomain, data)
182
+
183
+
184
+
185
+ If your application requires to create Teams and act on behalf of them you need to become an integration partner. Required fields are **name** and **subdomain** where the subdomain is globally unique. Use **POST** to create a Team. To update a field on a Team use **PATCH**. To use the API on behalf of a particular team change the endpoint to: *https://**{{ subdomain }}**.signrequest.com/api/v1/...* To invite new team members you can use **POST** {\"email\":\"**email-of-member-to-invite@example.com**\",\"is_admin\":false,\"is_owner\":false} to: *https://signrequest.com/api/v1/teams/**{{ subdomain }}**/invite_member/*
186
+
187
+ ### Example
188
+ ```ruby
189
+ # load the gem
190
+ require 'signrequest_client'
191
+ # setup authorization
192
+ SignRequestClient.configure do |config|
193
+ # Configure API key authorization: Token
194
+ config.api_key['Authorization'] = 'YOUR API KEY'
195
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
196
+ #config.api_key_prefix['Authorization'] = 'Bearer'
197
+ end
198
+
199
+ api_instance = SignRequestClient::TeamsApi.new
200
+
201
+ subdomain = "subdomain_example" # String |
202
+
203
+ data = SignRequestClient::Team.new # Team |
204
+
205
+
206
+ begin
207
+ result = api_instance.teams_partial_update(subdomain, data)
208
+ p result
209
+ rescue SignRequestClient::ApiError => e
210
+ puts "Exception when calling TeamsApi->teams_partial_update: #{e}"
211
+ end
212
+ ```
213
+
214
+ ### Parameters
215
+
216
+ Name | Type | Description | Notes
217
+ ------------- | ------------- | ------------- | -------------
218
+ **subdomain** | **String**| |
219
+ **data** | [**Team**](Team.md)| |
220
+
221
+ ### Return type
222
+
223
+ [**Team**](Team.md)
224
+
225
+ ### Authorization
226
+
227
+ [Token](../README.md#Token)
228
+
229
+ ### HTTP request headers
230
+
231
+ - **Content-Type**: application/json
232
+ - **Accept**: application/json
233
+
234
+
235
+
236
+ # **teams_read**
237
+ > Team teams_read(subdomain, )
238
+
239
+
240
+
241
+ If your application requires to create Teams and act on behalf of them you need to become an integration partner. Required fields are **name** and **subdomain** where the subdomain is globally unique. Use **POST** to create a Team. To update a field on a Team use **PATCH**. To use the API on behalf of a particular team change the endpoint to: *https://**{{ subdomain }}**.signrequest.com/api/v1/...* To invite new team members you can use **POST** {\"email\":\"**email-of-member-to-invite@example.com**\",\"is_admin\":false,\"is_owner\":false} to: *https://signrequest.com/api/v1/teams/**{{ subdomain }}**/invite_member/*
242
+
243
+ ### Example
244
+ ```ruby
245
+ # load the gem
246
+ require 'signrequest_client'
247
+ # setup authorization
248
+ SignRequestClient.configure do |config|
249
+ # Configure API key authorization: Token
250
+ config.api_key['Authorization'] = 'YOUR API KEY'
251
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
252
+ #config.api_key_prefix['Authorization'] = 'Bearer'
253
+ end
254
+
255
+ api_instance = SignRequestClient::TeamsApi.new
256
+
257
+ subdomain = "subdomain_example" # String |
258
+
259
+
260
+ begin
261
+ result = api_instance.teams_read(subdomain, )
262
+ p result
263
+ rescue SignRequestClient::ApiError => e
264
+ puts "Exception when calling TeamsApi->teams_read: #{e}"
265
+ end
266
+ ```
267
+
268
+ ### Parameters
269
+
270
+ Name | Type | Description | Notes
271
+ ------------- | ------------- | ------------- | -------------
272
+ **subdomain** | **String**| |
273
+
274
+ ### Return type
275
+
276
+ [**Team**](Team.md)
277
+
278
+ ### Authorization
279
+
280
+ [Token](../README.md#Token)
281
+
282
+ ### HTTP request headers
283
+
284
+ - **Content-Type**: application/json
285
+ - **Accept**: application/json
286
+
287
+
288
+
289
+ # **teams_update**
290
+ > Team teams_update(subdomain, data)
291
+
292
+
293
+
294
+ If your application requires to create Teams and act on behalf of them you need to become an integration partner. Required fields are **name** and **subdomain** where the subdomain is globally unique. Use **POST** to create a Team. To update a field on a Team use **PATCH**. To use the API on behalf of a particular team change the endpoint to: *https://**{{ subdomain }}**.signrequest.com/api/v1/...* To invite new team members you can use **POST** {\"email\":\"**email-of-member-to-invite@example.com**\",\"is_admin\":false,\"is_owner\":false} to: *https://signrequest.com/api/v1/teams/**{{ subdomain }}**/invite_member/*
295
+
296
+ ### Example
297
+ ```ruby
298
+ # load the gem
299
+ require 'signrequest_client'
300
+ # setup authorization
301
+ SignRequestClient.configure do |config|
302
+ # Configure API key authorization: Token
303
+ config.api_key['Authorization'] = 'YOUR API KEY'
304
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
305
+ #config.api_key_prefix['Authorization'] = 'Bearer'
306
+ end
307
+
308
+ api_instance = SignRequestClient::TeamsApi.new
309
+
310
+ subdomain = "subdomain_example" # String |
311
+
312
+ data = SignRequestClient::Team.new # Team |
313
+
314
+
315
+ begin
316
+ result = api_instance.teams_update(subdomain, data)
317
+ p result
318
+ rescue SignRequestClient::ApiError => e
319
+ puts "Exception when calling TeamsApi->teams_update: #{e}"
320
+ end
321
+ ```
322
+
323
+ ### Parameters
324
+
325
+ Name | Type | Description | Notes
326
+ ------------- | ------------- | ------------- | -------------
327
+ **subdomain** | **String**| |
328
+ **data** | [**Team**](Team.md)| |
329
+
330
+ ### Return type
331
+
332
+ [**Team**](Team.md)
333
+
334
+ ### Authorization
335
+
336
+ [Token](../README.md#Token)
337
+
338
+ ### HTTP request headers
339
+
340
+ - **Content-Type**: application/json
341
+ - **Accept**: application/json
342
+
343
+
344
+
data/docs/Template.md ADDED
@@ -0,0 +1,14 @@
1
+ # SignRequestClient::Template
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **url** | **String** | | [optional]
7
+ **name** | **String** | | [optional]
8
+ **uuid** | **String** | | [optional]
9
+ **user** | [**User**](User.md) | | [optional]
10
+ **team** | [**InlineTeam**](InlineTeam.md) | | [optional]
11
+ **who** | **String** | | [optional]
12
+ **signers** | [**Array<DocumentSignerTemplateConf>**](DocumentSignerTemplateConf.md) | | [optional]
13
+
14
+
@@ -0,0 +1,119 @@
1
+ # SignRequestClient::TemplatesApi
2
+
3
+ All URIs are relative to *https://signrequest.com/api/v1*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**templates_list**](TemplatesApi.md#templates_list) | **GET** /templates/ |
8
+ [**templates_read**](TemplatesApi.md#templates_read) | **GET** /templates/{uuid}/ |
9
+
10
+
11
+ # **templates_list**
12
+ > InlineResponse2008 templates_list(opts)
13
+
14
+
15
+
16
+
17
+
18
+ ### Example
19
+ ```ruby
20
+ # load the gem
21
+ require 'signrequest_client'
22
+ # setup authorization
23
+ SignRequestClient.configure do |config|
24
+ # Configure API key authorization: Token
25
+ config.api_key['Authorization'] = 'YOUR API KEY'
26
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
27
+ #config.api_key_prefix['Authorization'] = 'Bearer'
28
+ end
29
+
30
+ api_instance = SignRequestClient::TemplatesApi.new
31
+
32
+ opts = {
33
+ page: 56, # Integer | A page number within the paginated result set.
34
+ limit: 56 # Integer | Number of results to return per page.
35
+ }
36
+
37
+ begin
38
+ result = api_instance.templates_list(opts)
39
+ p result
40
+ rescue SignRequestClient::ApiError => e
41
+ puts "Exception when calling TemplatesApi->templates_list: #{e}"
42
+ end
43
+ ```
44
+
45
+ ### Parameters
46
+
47
+ Name | Type | Description | Notes
48
+ ------------- | ------------- | ------------- | -------------
49
+ **page** | **Integer**| A page number within the paginated result set. | [optional]
50
+ **limit** | **Integer**| Number of results to return per page. | [optional]
51
+
52
+ ### Return type
53
+
54
+ [**InlineResponse2008**](InlineResponse2008.md)
55
+
56
+ ### Authorization
57
+
58
+ [Token](../README.md#Token)
59
+
60
+ ### HTTP request headers
61
+
62
+ - **Content-Type**: application/json
63
+ - **Accept**: application/json
64
+
65
+
66
+
67
+ # **templates_read**
68
+ > Template templates_read(uuid)
69
+
70
+
71
+
72
+
73
+
74
+ ### Example
75
+ ```ruby
76
+ # load the gem
77
+ require 'signrequest_client'
78
+ # setup authorization
79
+ SignRequestClient.configure do |config|
80
+ # Configure API key authorization: Token
81
+ config.api_key['Authorization'] = 'YOUR API KEY'
82
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
83
+ #config.api_key_prefix['Authorization'] = 'Bearer'
84
+ end
85
+
86
+ api_instance = SignRequestClient::TemplatesApi.new
87
+
88
+ uuid = "uuid_example" # String |
89
+
90
+
91
+ begin
92
+ result = api_instance.templates_read(uuid)
93
+ p result
94
+ rescue SignRequestClient::ApiError => e
95
+ puts "Exception when calling TemplatesApi->templates_read: #{e}"
96
+ end
97
+ ```
98
+
99
+ ### Parameters
100
+
101
+ Name | Type | Description | Notes
102
+ ------------- | ------------- | ------------- | -------------
103
+ **uuid** | **String**| |
104
+
105
+ ### Return type
106
+
107
+ [**Template**](Template.md)
108
+
109
+ ### Authorization
110
+
111
+ [Token](../README.md#Token)
112
+
113
+ ### HTTP request headers
114
+
115
+ - **Content-Type**: application/json
116
+ - **Accept**: application/json
117
+
118
+
119
+
data/docs/User.md ADDED
@@ -0,0 +1,11 @@
1
+ # SignRequestClient::User
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **email** | **String** | |
7
+ **first_name** | **String** | | [optional]
8
+ **last_name** | **String** | | [optional]
9
+ **display_name** | **String** | | [optional]
10
+
11
+
@@ -0,0 +1,15 @@
1
+ # SignRequestClient::WebhookSubscription
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **url** | **String** | | [optional]
7
+ **uuid** | **String** | | [optional]
8
+ **name** | **String** | | [optional]
9
+ **event_type** | **String** | |
10
+ **callback_url** | **String** | |
11
+ **integration** | **String** | | [optional]
12
+ **team** | [**InlineTeam**](InlineTeam.md) | | [optional]
13
+ **created** | **DateTime** | | [optional]
14
+
15
+