yousign_client 1.0.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.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/README.md +230 -0
- data/Rakefile +8 -0
- data/config.json +11 -0
- data/docs/AuthenticationEmailOutput.md +10 -0
- data/docs/AuthenticationInweboOutput.md +10 -0
- data/docs/AuthenticationSmsOutput.md +10 -0
- data/docs/AuthenticationsApi.md +320 -0
- data/docs/Body.md +8 -0
- data/docs/Body1.md +9 -0
- data/docs/Body2.md +9 -0
- data/docs/CheckDocumentBankAccountsInput.md +13 -0
- data/docs/CheckDocumentBankAccountsOutput.md +24 -0
- data/docs/CheckDocumentIdentitiesInput.md +11 -0
- data/docs/CheckDocumentIdentitiesOutput.md +28 -0
- data/docs/CheckDocumentsApi.md +210 -0
- data/docs/ConfigEmailTemplate.md +11 -0
- data/docs/ConfigWebhookTemplate.md +10 -0
- data/docs/ConsentProcessInput.md +14 -0
- data/docs/ConsentProcessOutput.md +15 -0
- data/docs/ConsentProcessValueInput.md +10 -0
- data/docs/ConsentProcessValueOutput.md +12 -0
- data/docs/ConsentProcessesApi.md +422 -0
- data/docs/FileInput.md +15 -0
- data/docs/FileInputMetadata.md +9 -0
- data/docs/FileObjectInput.md +21 -0
- data/docs/FileObjectInputWithoutFileReference.md +13 -0
- data/docs/FileObjectOutput.md +24 -0
- data/docs/FileObjectOutputWithoutFileReference.md +17 -0
- data/docs/FileObjectsApi.md +220 -0
- data/docs/FileOutput.md +19 -0
- data/docs/FilesApi.md +218 -0
- data/docs/InlineResponse400.md +8 -0
- data/docs/InweboUserRequest.md +8 -0
- data/docs/MemberInput.md +19 -0
- data/docs/MemberOutput.md +24 -0
- data/docs/MembersApi.md +272 -0
- data/docs/ModeSmsConfiguration.md +8 -0
- data/docs/OperationInput.md +14 -0
- data/docs/OperationOutput.md +15 -0
- data/docs/OperationOutputMetadata.md +9 -0
- data/docs/OperationsApi.md +109 -0
- data/docs/OrganizationBillingAddress.md +16 -0
- data/docs/OrganizationOutput.md +41 -0
- data/docs/OrganizationsApi.md +54 -0
- data/docs/ProcedureConfig.md +10 -0
- data/docs/ProcedureConfigEmail.md +15 -0
- data/docs/ProcedureConfigReminder.md +10 -0
- data/docs/ProcedureConfigReminderConfig.md +8 -0
- data/docs/ProcedureConfigReminderConfigEmail.md +8 -0
- data/docs/ProcedureConfigWebhook.md +15 -0
- data/docs/ProcedureDuplicateInput.md +9 -0
- data/docs/ProcedureInput.md +18 -0
- data/docs/ProcedureInputMetadata.md +9 -0
- data/docs/ProcedureOutput.md +27 -0
- data/docs/ProcedureOutputMetadata.md +9 -0
- data/docs/ProcedureRemindConfig.md +8 -0
- data/docs/ProcedureRemindConfigEmail.md +8 -0
- data/docs/ProcedureRemindInput.md +8 -0
- data/docs/ProceduresApi.md +527 -0
- data/docs/ServerStampConfig.md +8 -0
- data/docs/ServerStampConfigWebhook.md +8 -0
- data/docs/ServerStampInput.md +12 -0
- data/docs/ServerStampOutput.md +17 -0
- data/docs/ServerStampsApi.md +109 -0
- data/docs/SignatureUIsApi.md +545 -0
- data/docs/SignatureUiInput.md +28 -0
- data/docs/SignatureUiInputRedirectCancel.md +10 -0
- data/docs/SignatureUiInputRedirectError.md +10 -0
- data/docs/SignatureUiInputRedirectSuccess.md +10 -0
- data/docs/SignatureUiInputUpdate.md +27 -0
- data/docs/SignatureUiLabelInput.md +10 -0
- data/docs/SignatureUiLabelInputIncluded.md +9 -0
- data/docs/SignatureUiLabelOutput.md +14 -0
- data/docs/SignatureUiOutput.md +33 -0
- data/docs/SignatureUiOutputRedirectCancel.md +10 -0
- data/docs/SignatureUiOutputRedirectError.md +10 -0
- data/docs/SignatureUiOutputRedirectSuccess.md +10 -0
- data/docs/UserGroup.md +10 -0
- data/docs/UserGroupsApi.md +103 -0
- data/docs/UserInput.md +17 -0
- data/docs/UserInputNotifications.md +8 -0
- data/docs/UserOutput.md +29 -0
- data/docs/UserOutputNotifications.md +8 -0
- data/docs/UserWorkspaceOutput.md +9 -0
- data/docs/UsersApi.md +258 -0
- data/docs/WorkspaceConfig.md +10 -0
- data/docs/WorkspaceConfigEmail.md +15 -0
- data/docs/WorkspaceConfigProcedure.md +8 -0
- data/docs/WorkspaceOutput.md +16 -0
- data/docs/WorkspacesApi.md +54 -0
- data/git_push.sh +55 -0
- data/lib/yousign_client.rb +126 -0
- data/lib/yousign_client/api/authentications_api.rb +410 -0
- data/lib/yousign_client/api/check_documents_api.rb +269 -0
- data/lib/yousign_client/api/consent_processes_api.rb +528 -0
- data/lib/yousign_client/api/file_objects_api.rb +282 -0
- data/lib/yousign_client/api/files_api.rb +279 -0
- data/lib/yousign_client/api/members_api.rb +340 -0
- data/lib/yousign_client/api/operations_api.rb +148 -0
- data/lib/yousign_client/api/organizations_api.rb +76 -0
- data/lib/yousign_client/api/procedures_api.rb +680 -0
- data/lib/yousign_client/api/server_stamps_api.rb +146 -0
- data/lib/yousign_client/api/signature_u_is_api.rb +669 -0
- data/lib/yousign_client/api/user_groups_api.rb +135 -0
- data/lib/yousign_client/api/users_api.rb +327 -0
- data/lib/yousign_client/api/workspaces_api.rb +76 -0
- data/lib/yousign_client/api_client.rb +391 -0
- data/lib/yousign_client/api_error.rb +38 -0
- data/lib/yousign_client/configuration.rb +209 -0
- data/lib/yousign_client/models/authentication_email_output.rb +239 -0
- data/lib/yousign_client/models/authentication_inwebo_output.rb +239 -0
- data/lib/yousign_client/models/authentication_sms_output.rb +239 -0
- data/lib/yousign_client/models/body.rb +185 -0
- data/lib/yousign_client/models/body_1.rb +200 -0
- data/lib/yousign_client/models/body_2.rb +200 -0
- data/lib/yousign_client/models/check_document_bank_accounts_input.rb +240 -0
- data/lib/yousign_client/models/check_document_bank_accounts_output.rb +394 -0
- data/lib/yousign_client/models/check_document_identities_input.rb +222 -0
- data/lib/yousign_client/models/check_document_identities_output.rb +440 -0
- data/lib/yousign_client/models/config_email_template.rb +256 -0
- data/lib/yousign_client/models/config_webhook_template.rb +246 -0
- data/lib/yousign_client/models/consent_process_input.rb +293 -0
- data/lib/yousign_client/models/consent_process_output.rb +298 -0
- data/lib/yousign_client/models/consent_process_value_input.rb +215 -0
- data/lib/yousign_client/models/consent_process_value_output.rb +235 -0
- data/lib/yousign_client/models/file_input.rb +304 -0
- data/lib/yousign_client/models/file_input_metadata.rb +194 -0
- data/lib/yousign_client/models/file_object_input.rb +445 -0
- data/lib/yousign_client/models/file_object_input_without_file_reference.rb +252 -0
- data/lib/yousign_client/models/file_object_output.rb +489 -0
- data/lib/yousign_client/models/file_object_output_without_file_reference.rb +307 -0
- data/lib/yousign_client/models/file_output.rb +374 -0
- data/lib/yousign_client/models/inline_response_400.rb +185 -0
- data/lib/yousign_client/models/inwebo_user_request.rb +200 -0
- data/lib/yousign_client/models/member_input.rb +343 -0
- data/lib/yousign_client/models/member_output.rb +432 -0
- data/lib/yousign_client/models/mode_sms_configuration.rb +190 -0
- data/lib/yousign_client/models/operation_input.rb +313 -0
- data/lib/yousign_client/models/operation_output.rb +311 -0
- data/lib/yousign_client/models/operation_output_metadata.rb +194 -0
- data/lib/yousign_client/models/organization_billing_address.rb +256 -0
- data/lib/yousign_client/models/organization_output.rb +530 -0
- data/lib/yousign_client/models/procedure_config.rb +204 -0
- data/lib/yousign_client/models/procedure_config_email.rb +263 -0
- data/lib/yousign_client/models/procedure_config_reminder.rb +256 -0
- data/lib/yousign_client/models/procedure_config_reminder_config.rb +184 -0
- data/lib/yousign_client/models/procedure_config_reminder_config_email.rb +186 -0
- data/lib/yousign_client/models/procedure_config_webhook.rb +263 -0
- data/lib/yousign_client/models/procedure_duplicate_input.rb +197 -0
- data/lib/yousign_client/models/procedure_input.rb +289 -0
- data/lib/yousign_client/models/procedure_input_metadata.rb +194 -0
- data/lib/yousign_client/models/procedure_output.rb +457 -0
- data/lib/yousign_client/models/procedure_output_metadata.rb +194 -0
- data/lib/yousign_client/models/procedure_remind_config.rb +184 -0
- data/lib/yousign_client/models/procedure_remind_config_email.rb +186 -0
- data/lib/yousign_client/models/procedure_remind_input.rb +184 -0
- data/lib/yousign_client/models/server_stamp_config.rb +184 -0
- data/lib/yousign_client/models/server_stamp_config_webhook.rb +186 -0
- data/lib/yousign_client/models/server_stamp_input.rb +242 -0
- data/lib/yousign_client/models/server_stamp_output.rb +352 -0
- data/lib/yousign_client/models/signature_ui_input.rb +456 -0
- data/lib/yousign_client/models/signature_ui_input_redirect_cancel.rb +244 -0
- data/lib/yousign_client/models/signature_ui_input_redirect_error.rb +247 -0
- data/lib/yousign_client/models/signature_ui_input_redirect_success.rb +242 -0
- data/lib/yousign_client/models/signature_ui_input_update.rb +421 -0
- data/lib/yousign_client/models/signature_ui_label_input.rb +210 -0
- data/lib/yousign_client/models/signature_ui_label_input_included.rb +200 -0
- data/lib/yousign_client/models/signature_ui_label_output.rb +245 -0
- data/lib/yousign_client/models/signature_ui_output.rb +481 -0
- data/lib/yousign_client/models/signature_ui_output_redirect_cancel.rb +242 -0
- data/lib/yousign_client/models/signature_ui_output_redirect_error.rb +247 -0
- data/lib/yousign_client/models/signature_ui_output_redirect_success.rb +242 -0
- data/lib/yousign_client/models/user_group.rb +249 -0
- data/lib/yousign_client/models/user_input.rb +341 -0
- data/lib/yousign_client/models/user_input_notifications.rb +185 -0
- data/lib/yousign_client/models/user_output.rb +457 -0
- data/lib/yousign_client/models/user_output_notifications.rb +185 -0
- data/lib/yousign_client/models/user_workspace_output.rb +210 -0
- data/lib/yousign_client/models/workspace_config.rb +226 -0
- data/lib/yousign_client/models/workspace_config_email.rb +263 -0
- data/lib/yousign_client/models/workspace_config_procedure.rb +208 -0
- data/lib/yousign_client/models/workspace_output.rb +275 -0
- data/lib/yousign_client/version.rb +15 -0
- data/spec/api/authentications_api_spec.rb +113 -0
- data/spec/api/check_documents_api_spec.rb +85 -0
- data/spec/api/consent_processes_api_spec.rb +138 -0
- data/spec/api/file_objects_api_spec.rb +90 -0
- data/spec/api/files_api_spec.rb +89 -0
- data/spec/api/members_api_spec.rb +103 -0
- data/spec/api/operations_api_spec.rb +60 -0
- data/spec/api/organizations_api_spec.rb +46 -0
- data/spec/api/procedures_api_spec.rb +178 -0
- data/spec/api/server_stamps_api_spec.rb +60 -0
- data/spec/api/signature_u_is_api_spec.rb +170 -0
- data/spec/api/user_groups_api_spec.rb +58 -0
- data/spec/api/users_api_spec.rb +97 -0
- data/spec/api/workspaces_api_spec.rb +46 -0
- data/spec/api_client_spec.rb +243 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/authentication_email_output_spec.rb +57 -0
- data/spec/models/authentication_inwebo_output_spec.rb +57 -0
- data/spec/models/authentication_sms_output_spec.rb +57 -0
- data/spec/models/body_1_spec.rb +47 -0
- data/spec/models/body_2_spec.rb +47 -0
- data/spec/models/body_spec.rb +41 -0
- data/spec/models/check_document_bank_accounts_input_spec.rb +71 -0
- data/spec/models/check_document_bank_accounts_output_spec.rb +141 -0
- data/spec/models/check_document_identities_input_spec.rb +59 -0
- data/spec/models/check_document_identities_output_spec.rb +165 -0
- data/spec/models/config_email_template_spec.rb +63 -0
- data/spec/models/config_webhook_template_spec.rb +57 -0
- data/spec/models/consent_process_input_spec.rb +81 -0
- data/spec/models/consent_process_output_spec.rb +87 -0
- data/spec/models/consent_process_value_input_spec.rb +53 -0
- data/spec/models/consent_process_value_output_spec.rb +65 -0
- data/spec/models/file_input_metadata_spec.rb +47 -0
- data/spec/models/file_input_spec.rb +87 -0
- data/spec/models/file_object_input_spec.rb +127 -0
- data/spec/models/file_object_input_without_file_reference_spec.rb +71 -0
- data/spec/models/file_object_output_spec.rb +145 -0
- data/spec/models/file_object_output_without_file_reference_spec.rb +95 -0
- data/spec/models/file_output_spec.rb +111 -0
- data/spec/models/inline_response_400_spec.rb +41 -0
- data/spec/models/inwebo_user_request_spec.rb +41 -0
- data/spec/models/member_input_spec.rb +119 -0
- data/spec/models/member_output_spec.rb +153 -0
- data/spec/models/mode_sms_configuration_spec.rb +41 -0
- data/spec/models/operation_input_spec.rb +89 -0
- data/spec/models/operation_output_metadata_spec.rb +47 -0
- data/spec/models/operation_output_spec.rb +95 -0
- data/spec/models/organization_billing_address_spec.rb +89 -0
- data/spec/models/organization_output_spec.rb +239 -0
- data/spec/models/procedure_config_email_spec.rb +83 -0
- data/spec/models/procedure_config_reminder_config_email_spec.rb +41 -0
- data/spec/models/procedure_config_reminder_config_spec.rb +41 -0
- data/spec/models/procedure_config_reminder_spec.rb +53 -0
- data/spec/models/procedure_config_spec.rb +53 -0
- data/spec/models/procedure_config_webhook_spec.rb +83 -0
- data/spec/models/procedure_duplicate_input_spec.rb +47 -0
- data/spec/models/procedure_input_metadata_spec.rb +47 -0
- data/spec/models/procedure_input_spec.rb +101 -0
- data/spec/models/procedure_output_metadata_spec.rb +47 -0
- data/spec/models/procedure_output_spec.rb +159 -0
- data/spec/models/procedure_remind_config_email_spec.rb +41 -0
- data/spec/models/procedure_remind_config_spec.rb +41 -0
- data/spec/models/procedure_remind_input_spec.rb +41 -0
- data/spec/models/server_stamp_config_spec.rb +41 -0
- data/spec/models/server_stamp_config_webhook_spec.rb +41 -0
- data/spec/models/server_stamp_input_spec.rb +65 -0
- data/spec/models/server_stamp_output_spec.rb +99 -0
- data/spec/models/signature_ui_input_redirect_cancel_spec.rb +57 -0
- data/spec/models/signature_ui_input_redirect_error_spec.rb +57 -0
- data/spec/models/signature_ui_input_redirect_success_spec.rb +57 -0
- data/spec/models/signature_ui_input_spec.rb +165 -0
- data/spec/models/signature_ui_input_update_spec.rb +159 -0
- data/spec/models/signature_ui_label_input_included_spec.rb +47 -0
- data/spec/models/signature_ui_label_input_spec.rb +53 -0
- data/spec/models/signature_ui_label_output_spec.rb +77 -0
- data/spec/models/signature_ui_output_redirect_cancel_spec.rb +57 -0
- data/spec/models/signature_ui_output_redirect_error_spec.rb +57 -0
- data/spec/models/signature_ui_output_redirect_success_spec.rb +57 -0
- data/spec/models/signature_ui_output_spec.rb +195 -0
- data/spec/models/user_group_spec.rb +57 -0
- data/spec/models/user_input_notifications_spec.rb +41 -0
- data/spec/models/user_input_spec.rb +99 -0
- data/spec/models/user_output_notifications_spec.rb +41 -0
- data/spec/models/user_output_spec.rb +171 -0
- data/spec/models/user_workspace_output_spec.rb +47 -0
- data/spec/models/workspace_config_email_spec.rb +83 -0
- data/spec/models/workspace_config_procedure_spec.rb +45 -0
- data/spec/models/workspace_config_spec.rb +57 -0
- data/spec/models/workspace_output_spec.rb +89 -0
- data/spec/spec_helper.rb +111 -0
- data/update_client.sh +11 -0
- data/yousign_client.gemspec +45 -0
- data/yousign_openapi.json +5417 -0
- metadata +590 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# YousignClient::SignatureUiInput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**name** | **String** | Signature UI's name |
|
|
7
|
+
**description** | **String** | Signature UI's description | [optional]
|
|
8
|
+
**enable_header_bar** | **BOOLEAN** | Toggle header bar of the app view | [optional] [default to true]
|
|
9
|
+
**enable_header_bar_sign_as** | **BOOLEAN** | Toggle \"Sign as\" band on the top of the app view | [optional] [default to true]
|
|
10
|
+
**enable_sidebar** | **BOOLEAN** | Toggle sidebar of the app view | [optional] [default to true]
|
|
11
|
+
**enable_member_list** | **BOOLEAN** | Toggle list of members in the procedure | [optional] [default to true]
|
|
12
|
+
**enable_document_list** | **BOOLEAN** | Toggle list of documents in the procedure | [optional] [default to true]
|
|
13
|
+
**enable_document_download** | **BOOLEAN** | Toggle downloads buttons for documents | [optional] [default to true]
|
|
14
|
+
**enable_activities** | **BOOLEAN** | Toggle activity feed | [optional] [default to true]
|
|
15
|
+
**authentication_popup** | **BOOLEAN** | True for use a popup to enter the SMS code, false for use a fullscreen view. | [optional] [default to false]
|
|
16
|
+
**default_zoom** | **Float** | Default value for zoom of the PDF viewer. Default value is the adapted to the resolution of your screen. | [optional]
|
|
17
|
+
**logo** | **String** | Base64 of your logo | [optional]
|
|
18
|
+
**sign_image_types_available** | **Array<String>** | Allow sign images types available for signature. The first type of the list will be selected as default for the signer. | [optional]
|
|
19
|
+
**default_language** | **String** | Default selected language of the interface. Must be present in \"languages\" field. | [optional]
|
|
20
|
+
**languages** | **Array<String>** | Array of allowed languages, use country code | [optional]
|
|
21
|
+
**labels** | [**Array<SignatureUiLabelInputIncluded>**](SignatureUiLabelInputIncluded.md) | | [optional]
|
|
22
|
+
**fonts** | **Array<String>** | List of fonts to load on the view. (Loaded via Google fonts) | [optional]
|
|
23
|
+
**style** | **String** | CSS for customize the view | [optional]
|
|
24
|
+
**redirect_cancel** | [**SignatureUiInputRedirectCancel**](SignatureUiInputRedirectCancel.md) | | [optional]
|
|
25
|
+
**redirect_error** | [**SignatureUiInputRedirectError**](SignatureUiInputRedirectError.md) | | [optional]
|
|
26
|
+
**redirect_success** | [**SignatureUiInputRedirectSuccess**](SignatureUiInputRedirectSuccess.md) | | [optional]
|
|
27
|
+
|
|
28
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# YousignClient::SignatureUiInputRedirectCancel
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**url** | **String** | URL of redirect | [optional]
|
|
7
|
+
**target** | **String** | Target of the redirection | [optional] [default to '_top']
|
|
8
|
+
**auto** | **BOOLEAN** | Don't redirect the user directly, send to our detail of the procedure view. But invite the user to click on a button for use this redirection. | [optional] [default to true]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# YousignClient::SignatureUiInputRedirectError
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**url** | **String** | URL of redirect |
|
|
7
|
+
**target** | **String** | Target of the redirection | [optional]
|
|
8
|
+
**auto** | **BOOLEAN** | Don't redirect the user directly, send to our detail of the procedure view. But invite the user to click on a button for use this redirection. | [optional] [default to true]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# YousignClient::SignatureUiInputRedirectSuccess
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**url** | **String** | URL of redirect | [optional]
|
|
7
|
+
**target** | **String** | Target of the redirection | [optional]
|
|
8
|
+
**auto** | **BOOLEAN** | Don't redirect the user directly, send to our detail of the procedure view. But invite the user to click on a button for use this redirection. | [optional] [default to true]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# YousignClient::SignatureUiInputUpdate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**name** | **String** | Resource's name |
|
|
7
|
+
**description** | **String** | Signature UI's description | [optional]
|
|
8
|
+
**enable_header_bar** | **BOOLEAN** | Toggle header bar of the app view | [optional] [default to true]
|
|
9
|
+
**enable_header_bar_sign_as** | **BOOLEAN** | Toggle \"Sign as\" band on the top of the app view | [optional] [default to true]
|
|
10
|
+
**enable_sidebar** | **BOOLEAN** | Toggle sidebar of the app view | [optional] [default to true]
|
|
11
|
+
**enable_member_list** | **BOOLEAN** | Toggle list of members in the procedure | [optional] [default to true]
|
|
12
|
+
**enable_document_list** | **BOOLEAN** | Toggle list of documents in the procedure | [optional] [default to true]
|
|
13
|
+
**enable_document_download** | **BOOLEAN** | Toggle downloads buttons for documents | [optional] [default to true]
|
|
14
|
+
**enable_activities** | **BOOLEAN** | Toggle activity feed | [optional] [default to true]
|
|
15
|
+
**authentication_popup** | **BOOLEAN** | True for use a popup for enter the SMS code, false for use a fullscreen view. | [optional] [default to false]
|
|
16
|
+
**default_zoom** | **Float** | Default zoom of the pdf viewer. Default is the adapted to the resolution of your screen. | [optional]
|
|
17
|
+
**logo** | **String** | Base64 of your logo | [optional]
|
|
18
|
+
**sign_image_types_available** | **Array<String>** | Allow sign images types available for signature. | [optional]
|
|
19
|
+
**default_language** | **String** | Default language of the view. Must be in \"languages\" field. | [optional]
|
|
20
|
+
**languages** | **Array<String>** | Array of allowed languages, use country code | [optional]
|
|
21
|
+
**fonts** | **Array<String>** | List of fonts to load on the view. (Loaded via google fonts) | [optional]
|
|
22
|
+
**style** | **String** | CSS for customize the view | [optional]
|
|
23
|
+
**redirect_cancel** | [**SignatureUiOutputRedirectCancel**](SignatureUiOutputRedirectCancel.md) | | [optional]
|
|
24
|
+
**redirect_error** | [**SignatureUiOutputRedirectError**](SignatureUiOutputRedirectError.md) | | [optional]
|
|
25
|
+
**redirect_success** | [**SignatureUiOutputRedirectSuccess**](SignatureUiOutputRedirectSuccess.md) | | [optional]
|
|
26
|
+
|
|
27
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# YousignClient::SignatureUiLabelInput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**name** | **String** | Name of the label. If the name is not used in the view, nothing will appear. |
|
|
7
|
+
**languages** | **Object** | Translation of the label per language | [optional]
|
|
8
|
+
**signature_ui** | **String** | Associated Signature UI's ID | [optional]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# YousignClient::SignatureUiLabelInputIncluded
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**name** | **String** | Name of the label. If the name is not used in the view, nothing will appear. |
|
|
7
|
+
**languages** | **Object** | Translation of the label per language | [optional]
|
|
8
|
+
|
|
9
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# YousignClient::SignatureUiLabelOutput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**id** | **String** | Resource's ID | [optional]
|
|
7
|
+
**name** | **String** | Name of the label. If the name is not used in the view, nothing will appear. | [optional]
|
|
8
|
+
**languages** | **Object** | Translation of the label per language | [optional]
|
|
9
|
+
**signature_ui** | **String** | Associated signature UI's ID | [optional]
|
|
10
|
+
**creator** | **String** | Creator's ID | [optional]
|
|
11
|
+
**created_at** | **DateTime** | Date of creation | [optional]
|
|
12
|
+
**updated_at** | **DateTime** | Date of last update | [optional]
|
|
13
|
+
|
|
14
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# YousignClient::SignatureUiOutput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**id** | **String** | Resource's ID | [optional]
|
|
7
|
+
**name** | **String** | Resource's name |
|
|
8
|
+
**description** | **String** | | [optional]
|
|
9
|
+
**enable_header_bar** | **BOOLEAN** | Toggle header bar of the app view | [optional] [default to true]
|
|
10
|
+
**enable_header_bar_sign_as** | **BOOLEAN** | Toggle \"Sign as\" band on the top of the app view | [optional] [default to true]
|
|
11
|
+
**enable_sidebar** | **BOOLEAN** | Toggle sidebar of the app view | [optional] [default to true]
|
|
12
|
+
**enable_member_list** | **BOOLEAN** | Toggle list of members in the procedure | [optional] [default to true]
|
|
13
|
+
**enable_document_list** | **BOOLEAN** | Toggle list of documents in the procedure | [optional] [default to true]
|
|
14
|
+
**enable_document_download** | **BOOLEAN** | Toggle downloads buttons for documents | [optional] [default to true]
|
|
15
|
+
**enable_activities** | **BOOLEAN** | Toggle activity feed | [optional] [default to true]
|
|
16
|
+
**authentication_popup** | **BOOLEAN** | True for use a popup for enter the SMS code, false for use a fullscreen view. | [optional] [default to false]
|
|
17
|
+
**default_zoom** | **Float** | Default value for zoom of the PDF viewer. Default value is the adapted to the resolution of your screen. | [optional]
|
|
18
|
+
**logo** | **String** | Base64 of your logo | [optional]
|
|
19
|
+
**sign_image_types_available** | **Array<String>** | Allow sign images types available for signature. | [optional]
|
|
20
|
+
**default_language** | **String** | Default language of the view. Must be in \"languages\" field. | [optional]
|
|
21
|
+
**languages** | **Array<String>** | Array of allowed languages, use country code | [optional]
|
|
22
|
+
**labels** | [**Array<SignatureUiLabelOutput>**](SignatureUiLabelOutput.md) | | [optional]
|
|
23
|
+
**fonts** | **Array<String>** | List of fonts to load on the view. (Loaded via google fonts) | [optional]
|
|
24
|
+
**style** | **String** | CSS for customize the view | [optional]
|
|
25
|
+
**redirect_cancel** | [**SignatureUiOutputRedirectCancel**](SignatureUiOutputRedirectCancel.md) | | [optional]
|
|
26
|
+
**redirect_error** | [**SignatureUiOutputRedirectError**](SignatureUiOutputRedirectError.md) | | [optional]
|
|
27
|
+
**redirect_success** | [**SignatureUiOutputRedirectSuccess**](SignatureUiOutputRedirectSuccess.md) | | [optional]
|
|
28
|
+
**creator** | **String** | Creator's ID | [optional]
|
|
29
|
+
**workspace** | **String** | Associated Workspace's ID | [optional]
|
|
30
|
+
**created_at** | **DateTime** | Date of creation | [optional]
|
|
31
|
+
**updated_at** | **DateTime** | Date of last update | [optional]
|
|
32
|
+
|
|
33
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# YousignClient::SignatureUiOutputRedirectCancel
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**url** | **String** | Url of redirect | [optional]
|
|
7
|
+
**target** | **String** | target of the redirection | [optional] [default to '_top']
|
|
8
|
+
**auto** | **BOOLEAN** | Don't redirect the user directly, send to our detail of the procedure view. But invite the user to click on a button for use this redirection. | [optional]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# YousignClient::SignatureUiOutputRedirectError
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**url** | **String** | Url of redirect |
|
|
7
|
+
**target** | **String** | target of the redirection | [optional]
|
|
8
|
+
**auto** | **BOOLEAN** | Don't redirect the user directly, send to our detail of the procedure view. But invite the user to click on a button for use this redirection. | [optional] [default to false]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# YousignClient::SignatureUiOutputRedirectSuccess
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**url** | **String** | Url of redirect | [optional]
|
|
7
|
+
**target** | **String** | Target of the redirection | [optional]
|
|
8
|
+
**auto** | **BOOLEAN** | Don't redirect the user directly, send to our detail of the procedure view. But invite the user to click on a button for use this redirection. | [optional] [default to false]
|
|
9
|
+
|
|
10
|
+
|
data/docs/UserGroup.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# YousignClient::UserGroup
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**id** | **String** | Id of the object | [optional]
|
|
7
|
+
**name** | **String** | Name of the UserGroup |
|
|
8
|
+
**permissions** | **Array<String>** | Permissions of UserGroup | [optional]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# YousignClient::UserGroupsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.yousign.com*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**user_groups_get**](UserGroupsApi.md#user_groups_get) | **GET** /user_groups | Get User Group list
|
|
8
|
+
[**user_groups_id_get**](UserGroupsApi.md#user_groups_id_get) | **GET** /user_groups/{id} | Find a User Group by ID
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# **user_groups_get**
|
|
12
|
+
> Array<UserGroup> user_groups_get(authorization)
|
|
13
|
+
|
|
14
|
+
Get User Group list
|
|
15
|
+
|
|
16
|
+
### Example
|
|
17
|
+
```ruby
|
|
18
|
+
# load the gem
|
|
19
|
+
require 'yousign_client'
|
|
20
|
+
|
|
21
|
+
api_instance = YousignClient::UserGroupsApi.new
|
|
22
|
+
|
|
23
|
+
authorization = 'Bearer {{access_token}}' # String | Authentication credentials for HTTP authentication
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
begin
|
|
27
|
+
#Get User Group list
|
|
28
|
+
result = api_instance.user_groups_get(authorization)
|
|
29
|
+
p result
|
|
30
|
+
rescue YousignClient::ApiError => e
|
|
31
|
+
puts "Exception when calling UserGroupsApi->user_groups_get: #{e}"
|
|
32
|
+
end
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Parameters
|
|
36
|
+
|
|
37
|
+
Name | Type | Description | Notes
|
|
38
|
+
------------- | ------------- | ------------- | -------------
|
|
39
|
+
**authorization** | **String**| Authentication credentials for HTTP authentication |
|
|
40
|
+
|
|
41
|
+
### Return type
|
|
42
|
+
|
|
43
|
+
[**Array<UserGroup>**](UserGroup.md)
|
|
44
|
+
|
|
45
|
+
### Authorization
|
|
46
|
+
|
|
47
|
+
No authorization required
|
|
48
|
+
|
|
49
|
+
### HTTP request headers
|
|
50
|
+
|
|
51
|
+
- **Content-Type**: application/json
|
|
52
|
+
- **Accept**: application/json
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
# **user_groups_id_get**
|
|
57
|
+
> UserGroup user_groups_id_get(id, authorization)
|
|
58
|
+
|
|
59
|
+
Find a User Group by ID
|
|
60
|
+
|
|
61
|
+
### Example
|
|
62
|
+
```ruby
|
|
63
|
+
# load the gem
|
|
64
|
+
require 'yousign_client'
|
|
65
|
+
|
|
66
|
+
api_instance = YousignClient::UserGroupsApi.new
|
|
67
|
+
|
|
68
|
+
id = 'id_example' # String |
|
|
69
|
+
|
|
70
|
+
authorization = 'Bearer {{access_token}}' # String | Authentication credentials for HTTP authentication
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
begin
|
|
74
|
+
#Find a User Group by ID
|
|
75
|
+
result = api_instance.user_groups_id_get(id, authorization)
|
|
76
|
+
p result
|
|
77
|
+
rescue YousignClient::ApiError => e
|
|
78
|
+
puts "Exception when calling UserGroupsApi->user_groups_id_get: #{e}"
|
|
79
|
+
end
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Parameters
|
|
83
|
+
|
|
84
|
+
Name | Type | Description | Notes
|
|
85
|
+
------------- | ------------- | ------------- | -------------
|
|
86
|
+
**id** | **String**| |
|
|
87
|
+
**authorization** | **String**| Authentication credentials for HTTP authentication |
|
|
88
|
+
|
|
89
|
+
### Return type
|
|
90
|
+
|
|
91
|
+
[**UserGroup**](UserGroup.md)
|
|
92
|
+
|
|
93
|
+
### Authorization
|
|
94
|
+
|
|
95
|
+
No authorization required
|
|
96
|
+
|
|
97
|
+
### HTTP request headers
|
|
98
|
+
|
|
99
|
+
- **Content-Type**: application/json
|
|
100
|
+
- **Accept**: application/json
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
data/docs/UserInput.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# YousignClient::UserInput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**firstname** | **String** | User's firstname |
|
|
7
|
+
**lastname** | **String** | User's lastname |
|
|
8
|
+
**email** | **String** | User's email address (This field is allowed only during creation) |
|
|
9
|
+
**title** | **String** | User's job title | [optional]
|
|
10
|
+
**phone** | **String** | User's phone number (mobiles and landline telephones are supported). Phone number must be formatted to E164 (https://en.wikipedia.org/wiki/E.164) which includes the symbol '+' and the country code. For example : +33612131315. All countries are supported. | [optional]
|
|
11
|
+
**permission** | **Array<String>** | | [optional]
|
|
12
|
+
**group** | **String** | User's UserGroup | [optional]
|
|
13
|
+
**config** | **Object** | | [optional]
|
|
14
|
+
**default_sign_image** | **String** | ID of file image | [optional]
|
|
15
|
+
**notifications** | [**UserInputNotifications**](UserInputNotifications.md) | | [optional]
|
|
16
|
+
|
|
17
|
+
|
data/docs/UserOutput.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# YousignClient::UserOutput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**id** | **String** | Object's ID | [optional]
|
|
7
|
+
**firstname** | **String** | User's firstname |
|
|
8
|
+
**lastname** | **String** | User's lastname |
|
|
9
|
+
**email** | **String** | User's email address |
|
|
10
|
+
**title** | **String** | User's title | [optional]
|
|
11
|
+
**phone** | **String** | User's phone number (mobiles and landline telephones are supported). Phone number must be formatted to E164 (https://en.wikipedia.org/wiki/E.164) which includes the symbol '+' and the country code. For example : +33612131315. All countries are supported. | [optional]
|
|
12
|
+
**status** | **String** | User's status | [optional]
|
|
13
|
+
**organization** | **String** | ID of the organization the user belongs to | [optional]
|
|
14
|
+
**workspaces** | [**Array<UserWorkspaceOutput>**](UserWorkspaceOutput.md) | List of workspaces to which the user is connected and has access | [optional]
|
|
15
|
+
**permission** | **String** | | [optional]
|
|
16
|
+
**group** | [**UserGroup**](UserGroup.md) | | [optional]
|
|
17
|
+
**created_at** | **DateTime** | Created date of the object | [optional]
|
|
18
|
+
**updated_at** | **DateTime** | Updated date of the object | [optional]
|
|
19
|
+
**deleted** | **BOOLEAN** | Defines if the User is deleted or not | [optional]
|
|
20
|
+
**deleted_at** | **DateTime** | Defines the date where the user has been deleted | [optional]
|
|
21
|
+
**config** | **Object** | | [optional]
|
|
22
|
+
**inwebo_user_request** | **String** | Internal usage, should not be used | [optional]
|
|
23
|
+
**saml_name_id** | **String** | ID of SAML | [optional]
|
|
24
|
+
**default_sign_image** | **String** | ID of the default sign image. | [optional]
|
|
25
|
+
**notifications** | [**UserOutputNotifications**](UserOutputNotifications.md) | | [optional]
|
|
26
|
+
**fast_sign** | **BOOLEAN** | Defines if the fast signature is available for the user on the Yousign application | [optional]
|
|
27
|
+
**full_name** | **String** | User's full name | [optional]
|
|
28
|
+
|
|
29
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# YousignClient::UserWorkspaceOutput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**id** | **String** | Object's ID | [optional]
|
|
7
|
+
**name** | **String** | Workspace name | [optional]
|
|
8
|
+
|
|
9
|
+
|
data/docs/UsersApi.md
ADDED
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
# YousignClient::UsersApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.yousign.com*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**users_get**](UsersApi.md#users_get) | **GET** /users | List all Users
|
|
8
|
+
[**users_id_delete**](UsersApi.md#users_id_delete) | **DELETE** /users/{id} | Delete a User
|
|
9
|
+
[**users_id_get**](UsersApi.md#users_id_get) | **GET** /users/{id} | Find a User by ID
|
|
10
|
+
[**users_id_put**](UsersApi.md#users_id_put) | **PUT** /users/{id} | Update a User
|
|
11
|
+
[**users_post**](UsersApi.md#users_post) | **POST** /users | Create a new User on Yousign application
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# **users_get**
|
|
15
|
+
> Array<UserOutput> users_get(authorization)
|
|
16
|
+
|
|
17
|
+
List all Users
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
```ruby
|
|
21
|
+
# load the gem
|
|
22
|
+
require 'yousign_client'
|
|
23
|
+
|
|
24
|
+
api_instance = YousignClient::UsersApi.new
|
|
25
|
+
|
|
26
|
+
authorization = 'Bearer {{access_token}}' # String | Authentication credentials for HTTP authentication
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
begin
|
|
30
|
+
#List all Users
|
|
31
|
+
result = api_instance.users_get(authorization)
|
|
32
|
+
p result
|
|
33
|
+
rescue YousignClient::ApiError => e
|
|
34
|
+
puts "Exception when calling UsersApi->users_get: #{e}"
|
|
35
|
+
end
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Parameters
|
|
39
|
+
|
|
40
|
+
Name | Type | Description | Notes
|
|
41
|
+
------------- | ------------- | ------------- | -------------
|
|
42
|
+
**authorization** | **String**| Authentication credentials for HTTP authentication |
|
|
43
|
+
|
|
44
|
+
### Return type
|
|
45
|
+
|
|
46
|
+
[**Array<UserOutput>**](UserOutput.md)
|
|
47
|
+
|
|
48
|
+
### Authorization
|
|
49
|
+
|
|
50
|
+
No authorization required
|
|
51
|
+
|
|
52
|
+
### HTTP request headers
|
|
53
|
+
|
|
54
|
+
- **Content-Type**: application/json
|
|
55
|
+
- **Accept**: application/json
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
# **users_id_delete**
|
|
60
|
+
> users_id_delete(id, authorization)
|
|
61
|
+
|
|
62
|
+
Delete a User
|
|
63
|
+
|
|
64
|
+
### Example
|
|
65
|
+
```ruby
|
|
66
|
+
# load the gem
|
|
67
|
+
require 'yousign_client'
|
|
68
|
+
|
|
69
|
+
api_instance = YousignClient::UsersApi.new
|
|
70
|
+
|
|
71
|
+
id = 'id_example' # String |
|
|
72
|
+
|
|
73
|
+
authorization = 'Bearer {{access_token}}' # String | Authentication credentials for HTTP authentication
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
begin
|
|
77
|
+
#Delete a User
|
|
78
|
+
api_instance.users_id_delete(id, authorization)
|
|
79
|
+
rescue YousignClient::ApiError => e
|
|
80
|
+
puts "Exception when calling UsersApi->users_id_delete: #{e}"
|
|
81
|
+
end
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Parameters
|
|
85
|
+
|
|
86
|
+
Name | Type | Description | Notes
|
|
87
|
+
------------- | ------------- | ------------- | -------------
|
|
88
|
+
**id** | **String**| |
|
|
89
|
+
**authorization** | **String**| Authentication credentials for HTTP authentication |
|
|
90
|
+
|
|
91
|
+
### Return type
|
|
92
|
+
|
|
93
|
+
nil (empty response body)
|
|
94
|
+
|
|
95
|
+
### Authorization
|
|
96
|
+
|
|
97
|
+
No authorization required
|
|
98
|
+
|
|
99
|
+
### HTTP request headers
|
|
100
|
+
|
|
101
|
+
- **Content-Type**: application/json
|
|
102
|
+
- **Accept**: application/json
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
# **users_id_get**
|
|
107
|
+
> UserOutput users_id_get(id, authorization)
|
|
108
|
+
|
|
109
|
+
Find a User by ID
|
|
110
|
+
|
|
111
|
+
### Example
|
|
112
|
+
```ruby
|
|
113
|
+
# load the gem
|
|
114
|
+
require 'yousign_client'
|
|
115
|
+
|
|
116
|
+
api_instance = YousignClient::UsersApi.new
|
|
117
|
+
|
|
118
|
+
id = 'id_example' # String |
|
|
119
|
+
|
|
120
|
+
authorization = 'Bearer {{access_token}}' # String | Authentication credentials for HTTP authentication
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
begin
|
|
124
|
+
#Find a User by ID
|
|
125
|
+
result = api_instance.users_id_get(id, authorization)
|
|
126
|
+
p result
|
|
127
|
+
rescue YousignClient::ApiError => e
|
|
128
|
+
puts "Exception when calling UsersApi->users_id_get: #{e}"
|
|
129
|
+
end
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### Parameters
|
|
133
|
+
|
|
134
|
+
Name | Type | Description | Notes
|
|
135
|
+
------------- | ------------- | ------------- | -------------
|
|
136
|
+
**id** | **String**| |
|
|
137
|
+
**authorization** | **String**| Authentication credentials for HTTP authentication |
|
|
138
|
+
|
|
139
|
+
### Return type
|
|
140
|
+
|
|
141
|
+
[**UserOutput**](UserOutput.md)
|
|
142
|
+
|
|
143
|
+
### Authorization
|
|
144
|
+
|
|
145
|
+
No authorization required
|
|
146
|
+
|
|
147
|
+
### HTTP request headers
|
|
148
|
+
|
|
149
|
+
- **Content-Type**: application/json
|
|
150
|
+
- **Accept**: application/json
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
# **users_id_put**
|
|
155
|
+
> UserOutput users_id_put(id, authorization, content_type, body)
|
|
156
|
+
|
|
157
|
+
Update a User
|
|
158
|
+
|
|
159
|
+
### Example
|
|
160
|
+
```ruby
|
|
161
|
+
# load the gem
|
|
162
|
+
require 'yousign_client'
|
|
163
|
+
|
|
164
|
+
api_instance = YousignClient::UsersApi.new
|
|
165
|
+
|
|
166
|
+
id = 'id_example' # String |
|
|
167
|
+
|
|
168
|
+
authorization = 'Bearer {{access_token}}' # String | Authentication credentials for HTTP authentication
|
|
169
|
+
|
|
170
|
+
content_type = 'application/json' # String | The MIME type of the body of the request
|
|
171
|
+
|
|
172
|
+
body = YousignClient::UserInput.new # UserInput |
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
begin
|
|
176
|
+
#Update a User
|
|
177
|
+
result = api_instance.users_id_put(id, authorization, content_type, body)
|
|
178
|
+
p result
|
|
179
|
+
rescue YousignClient::ApiError => e
|
|
180
|
+
puts "Exception when calling UsersApi->users_id_put: #{e}"
|
|
181
|
+
end
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
### Parameters
|
|
185
|
+
|
|
186
|
+
Name | Type | Description | Notes
|
|
187
|
+
------------- | ------------- | ------------- | -------------
|
|
188
|
+
**id** | **String**| |
|
|
189
|
+
**authorization** | **String**| Authentication credentials for HTTP authentication |
|
|
190
|
+
**content_type** | **String**| The MIME type of the body of the request |
|
|
191
|
+
**body** | [**UserInput**](UserInput.md)| |
|
|
192
|
+
|
|
193
|
+
### Return type
|
|
194
|
+
|
|
195
|
+
[**UserOutput**](UserOutput.md)
|
|
196
|
+
|
|
197
|
+
### Authorization
|
|
198
|
+
|
|
199
|
+
No authorization required
|
|
200
|
+
|
|
201
|
+
### HTTP request headers
|
|
202
|
+
|
|
203
|
+
- **Content-Type**: Not defined
|
|
204
|
+
- **Accept**: application/json
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
# **users_post**
|
|
209
|
+
> UserOutput users_post(authorization, content_type, body)
|
|
210
|
+
|
|
211
|
+
Create a new User on Yousign application
|
|
212
|
+
|
|
213
|
+
### Example
|
|
214
|
+
```ruby
|
|
215
|
+
# load the gem
|
|
216
|
+
require 'yousign_client'
|
|
217
|
+
|
|
218
|
+
api_instance = YousignClient::UsersApi.new
|
|
219
|
+
|
|
220
|
+
authorization = 'Bearer {{access_token}}' # String | Authentication credentials for HTTP authentication
|
|
221
|
+
|
|
222
|
+
content_type = 'application/json' # String | The MIME type of the body of the request
|
|
223
|
+
|
|
224
|
+
body = YousignClient::UserInput.new # UserInput |
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
begin
|
|
228
|
+
#Create a new User on Yousign application
|
|
229
|
+
result = api_instance.users_post(authorization, content_type, body)
|
|
230
|
+
p result
|
|
231
|
+
rescue YousignClient::ApiError => e
|
|
232
|
+
puts "Exception when calling UsersApi->users_post: #{e}"
|
|
233
|
+
end
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
### Parameters
|
|
237
|
+
|
|
238
|
+
Name | Type | Description | Notes
|
|
239
|
+
------------- | ------------- | ------------- | -------------
|
|
240
|
+
**authorization** | **String**| Authentication credentials for HTTP authentication |
|
|
241
|
+
**content_type** | **String**| The MIME type of the body of the request |
|
|
242
|
+
**body** | [**UserInput**](UserInput.md)| |
|
|
243
|
+
|
|
244
|
+
### Return type
|
|
245
|
+
|
|
246
|
+
[**UserOutput**](UserOutput.md)
|
|
247
|
+
|
|
248
|
+
### Authorization
|
|
249
|
+
|
|
250
|
+
No authorization required
|
|
251
|
+
|
|
252
|
+
### HTTP request headers
|
|
253
|
+
|
|
254
|
+
- **Content-Type**: Not defined
|
|
255
|
+
- **Accept**: application/json
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|