yousign_client 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- 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,46 @@
|
|
1
|
+
=begin
|
2
|
+
#Yousign API Swagger
|
3
|
+
|
4
|
+
#For your information, the Yousign API documentation is available at https://dev.yousign.com/
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.1
|
7
|
+
Contact: support@yousign.fr
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for YousignClient::OrganizationsApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'OrganizationsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = YousignClient::OrganizationsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of OrganizationsApi' do
|
30
|
+
it 'should create an instance of OrganizationsApi' do
|
31
|
+
expect(@instance).to be_instance_of(YousignClient::OrganizationsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for organizations_get
|
36
|
+
# List all Organizations
|
37
|
+
# @param authorization Authentication credentials for HTTP authentication
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @return [Array<OrganizationOutput>]
|
40
|
+
describe 'organizations_get test' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
@@ -0,0 +1,178 @@
|
|
1
|
+
=begin
|
2
|
+
#Yousign API Swagger
|
3
|
+
|
4
|
+
#For your information, the Yousign API documentation is available at https://dev.yousign.com/
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.1
|
7
|
+
Contact: support@yousign.fr
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for YousignClient::ProceduresApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ProceduresApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = YousignClient::ProceduresApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ProceduresApi' do
|
30
|
+
it 'should create an instance of ProceduresApi' do
|
31
|
+
expect(@instance).to be_instance_of(YousignClient::ProceduresApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for export_procedures_get
|
36
|
+
# Export Procedure list
|
37
|
+
# @param authorization Authentication credentials for HTTP authentication
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [String] :status Return Procedure list based on the status for each Procedure
|
40
|
+
# @option opts [String] :name Filter by name (contains)
|
41
|
+
# @option opts [String] :members_firstname Filter by member firstname (contains)
|
42
|
+
# @option opts [String] :members_lastname Filter by member lastname (contains)
|
43
|
+
# @option opts [String] :members_phone Filter by member phone (contains)
|
44
|
+
# @option opts [String] :members_email Filter by member email (contains)
|
45
|
+
# @option opts [String] :files_name Filter by file name (contains)
|
46
|
+
# @option opts [Array<Date>] :created_at Filter by creation date createdAt[after]=2017-09-18 createdAt[before]=2017-09-18 createdAt[strictly_after]=2017-09-18 createdAt[strictly_before]=2017-09-18
|
47
|
+
# @option opts [Array<Date>] :updated_at Filter by update date updatedAt[after]=2017-09-18 updatedAt[before]=2017-09-18 updatedAt[strictly_after]=2017-09-18 updatedAt[strictly_before]=2017-09-18
|
48
|
+
# @option opts [Array<Date>] :expires_at Filter by expire date expiresAt[after]=2017-09-18 expiresAt[before]=2017-09-18 expiresAt[strictly_after]=2017-09-18 expiresAt[strictly_before]=2017-09-18
|
49
|
+
# @option opts [Array<Date>] :deleted_at Filter by delete date deletedAt[after]=2017-09-18 deletedAt[before]=2017-09-18 deletedAt[strictly_after]=2017-09-18 deletedAt[strictly_before]=2017-09-18
|
50
|
+
# @option opts [String] :order_created_at Order by attribut
|
51
|
+
# @return [String]
|
52
|
+
describe 'export_procedures_get test' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
# unit tests for procedures_get
|
59
|
+
# Get Procedure list
|
60
|
+
# @param authorization Authentication credentials for HTTP authentication
|
61
|
+
# @param [Hash] opts the optional parameters
|
62
|
+
# @option opts [String] :status Return Procedure list based on the status for each Procedure
|
63
|
+
# @option opts [BOOLEAN] :template Used to get Procedure template list
|
64
|
+
# @option opts [Array<String>] :members Get Procedure list for given members (paraph mode)
|
65
|
+
# @option opts [String] :items_per_page Number of items per page for the pagination
|
66
|
+
# @option opts [BOOLEAN] :pagination Enable the pagination
|
67
|
+
# @option opts [Integer] :page Page of the pagination
|
68
|
+
# @option opts [String] :name Filter by name (contains)
|
69
|
+
# @option opts [String] :members_firstname Filter by member firstname (contains)
|
70
|
+
# @option opts [String] :members_lastname Filter by member lastname (contains)
|
71
|
+
# @option opts [String] :members_phone Filter by member phone (contains)
|
72
|
+
# @option opts [String] :members_email Filter by member email (contains)
|
73
|
+
# @option opts [String] :files_name Filter by file name (contains)
|
74
|
+
# @option opts [Array<Date>] :created_at Filter by creation date createdAt[after]=2017-09-18 createdAt[before]=2017-09-18 createdAt[strictly_after]=2017-09-18 createdAt[strictly_before]=2017-09-18
|
75
|
+
# @option opts [Array<Date>] :updated_at Filter by update date updatedAt[after]=2017-09-18 updatedAt[before]=2017-09-18 updatedAt[strictly_after]=2017-09-18 updatedAt[strictly_before]=2017-09-18
|
76
|
+
# @option opts [Array<Date>] :expires_at Filter by expire date expiresAt[after]=2017-09-18 expiresAt[before]=2017-09-18 expiresAt[strictly_after]=2017-09-18 expiresAt[strictly_before]=2017-09-18
|
77
|
+
# @option opts [Array<Date>] :deleted_at Filter by delete date deletedAt[after]=2017-09-18 deletedAt[before]=2017-09-18 deletedAt[strictly_after]=2017-09-18 deletedAt[strictly_before]=2017-09-18
|
78
|
+
# @option opts [String] :order_created_at Order by createdAt order[createdAt]=asc order[createdAt]=desc
|
79
|
+
# @return [Array<ProcedureOutput>]
|
80
|
+
describe 'procedures_get test' do
|
81
|
+
it 'should work' do
|
82
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
# unit tests for procedures_id_delete
|
87
|
+
# Delete a Procedure
|
88
|
+
# @param id
|
89
|
+
# @param authorization Authentication credentials for HTTP authentication
|
90
|
+
# @param [Hash] opts the optional parameters
|
91
|
+
# @return [nil]
|
92
|
+
describe 'procedures_id_delete test' do
|
93
|
+
it 'should work' do
|
94
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
# unit tests for procedures_id_duplicate_post
|
99
|
+
# Duplicate a Procedure
|
100
|
+
# @param id
|
101
|
+
# @param authorization Authentication credentials for HTTP authentication
|
102
|
+
# @param content_type The MIME type of the body of the request
|
103
|
+
# @param body
|
104
|
+
# @param [Hash] opts the optional parameters
|
105
|
+
# @return [ProcedureOutput]
|
106
|
+
describe 'procedures_id_duplicate_post test' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
# unit tests for procedures_id_get
|
113
|
+
# Find a Procedure by ID
|
114
|
+
# @param id
|
115
|
+
# @param authorization Authentication credentials for HTTP authentication
|
116
|
+
# @param [Hash] opts the optional parameters
|
117
|
+
# @return [ProcedureOutput]
|
118
|
+
describe 'procedures_id_get test' do
|
119
|
+
it 'should work' do
|
120
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
# unit tests for procedures_id_proof_get
|
125
|
+
# Get a Procedure proof file
|
126
|
+
# Get a Procedure proof file
|
127
|
+
# @param id
|
128
|
+
# @param authorization Authentication credentials for HTTP authentication
|
129
|
+
# @param [Hash] opts the optional parameters
|
130
|
+
# @return [String]
|
131
|
+
describe 'procedures_id_proof_get test' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
137
|
+
# unit tests for procedures_id_put
|
138
|
+
# Update a Procedure
|
139
|
+
# @param id
|
140
|
+
# @param authorization Authentication credentials for HTTP authentication
|
141
|
+
# @param content_type The MIME type of the body of the request
|
142
|
+
# @param body
|
143
|
+
# @param [Hash] opts the optional parameters
|
144
|
+
# @return [ProcedureOutput]
|
145
|
+
describe 'procedures_id_put test' do
|
146
|
+
it 'should work' do
|
147
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
# unit tests for procedures_id_remind_post
|
152
|
+
# Remind a Procedure
|
153
|
+
# @param id
|
154
|
+
# @param authorization Authentication credentials for HTTP authentication
|
155
|
+
# @param content_type The MIME type of the body of the request
|
156
|
+
# @param body
|
157
|
+
# @param [Hash] opts the optional parameters
|
158
|
+
# @return [ProcedureOutput]
|
159
|
+
describe 'procedures_id_remind_post test' do
|
160
|
+
it 'should work' do
|
161
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
# unit tests for procedures_post
|
166
|
+
# Create a new Procedure
|
167
|
+
# @param authorization Authentication credentials for HTTP authentication
|
168
|
+
# @param content_type The MIME type of the body of the request
|
169
|
+
# @param body
|
170
|
+
# @param [Hash] opts the optional parameters
|
171
|
+
# @return [ProcedureOutput]
|
172
|
+
describe 'procedures_post test' do
|
173
|
+
it 'should work' do
|
174
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
end
|
@@ -0,0 +1,60 @@
|
|
1
|
+
=begin
|
2
|
+
#Yousign API Swagger
|
3
|
+
|
4
|
+
#For your information, the Yousign API documentation is available at https://dev.yousign.com/
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.1
|
7
|
+
Contact: support@yousign.fr
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for YousignClient::ServerStampsApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ServerStampsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = YousignClient::ServerStampsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ServerStampsApi' do
|
30
|
+
it 'should create an instance of ServerStampsApi' do
|
31
|
+
expect(@instance).to be_instance_of(YousignClient::ServerStampsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for server_stamps_id_get
|
36
|
+
# Find a Server Stamp by ID
|
37
|
+
# @param id
|
38
|
+
# @param authorization Authentication credentials for HTTP authentication
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [ServerStampOutput]
|
41
|
+
describe 'server_stamps_id_get test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for server_stamps_post
|
48
|
+
# Create a Server Stamp
|
49
|
+
# @param authorization Authentication credentials for HTTP authentication
|
50
|
+
# @param content_type The MIME type of the body of the request
|
51
|
+
# @param body
|
52
|
+
# @param [Hash] opts the optional parameters
|
53
|
+
# @return [ServerStampOutput]
|
54
|
+
describe 'server_stamps_post test' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
end
|
@@ -0,0 +1,170 @@
|
|
1
|
+
=begin
|
2
|
+
#Yousign API Swagger
|
3
|
+
|
4
|
+
#For your information, the Yousign API documentation is available at https://dev.yousign.com/
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.1
|
7
|
+
Contact: support@yousign.fr
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for YousignClient::SignatureUIsApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'SignatureUIsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = YousignClient::SignatureUIsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of SignatureUIsApi' do
|
30
|
+
it 'should create an instance of SignatureUIsApi' do
|
31
|
+
expect(@instance).to be_instance_of(YousignClient::SignatureUIsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for signature_ui_labels_get
|
36
|
+
# Get Signature UI Labels
|
37
|
+
# Only usefull if you use a filter with name or signatureUI
|
38
|
+
# @param authorization Authentication credentials for HTTP authentication
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [String] :name Filtering on name of signature ui labels
|
41
|
+
# @option opts [String] :signature_ui Filtering on id of signature ui resource
|
42
|
+
# @return [Array<SignatureUiLabelOutput>]
|
43
|
+
describe 'signature_ui_labels_get test' do
|
44
|
+
it 'should work' do
|
45
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
# unit tests for signature_ui_labels_id_delete
|
50
|
+
# Delete a Signature UI Label
|
51
|
+
# @param id
|
52
|
+
# @param authorization Authentication credentials for HTTP authentication
|
53
|
+
# @param [Hash] opts the optional parameters
|
54
|
+
# @option opts [String] :id2 Id of signature ui label
|
55
|
+
# @return [nil]
|
56
|
+
describe 'signature_ui_labels_id_delete test' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
# unit tests for signature_ui_labels_id_get
|
63
|
+
# Find a Signature UI Label by ID
|
64
|
+
# @param id
|
65
|
+
# @param authorization Authentication credentials for HTTP authentication
|
66
|
+
# @param [Hash] opts the optional parameters
|
67
|
+
# @option opts [String] :id2 id of signature ui label
|
68
|
+
# @return [SignatureUiLabelOutput]
|
69
|
+
describe 'signature_ui_labels_id_get test' do
|
70
|
+
it 'should work' do
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
# unit tests for signature_ui_labels_id_put
|
76
|
+
# Update a Signature UI Label
|
77
|
+
# @param id
|
78
|
+
# @param authorization Authentication credentials for HTTP authentication
|
79
|
+
# @param content_type The MIME type of the body of the request
|
80
|
+
# @param body
|
81
|
+
# @param [Hash] opts the optional parameters
|
82
|
+
# @option opts [String] :id2 Id of signature ui labels
|
83
|
+
# @return [SignatureUiLabelOutput]
|
84
|
+
describe 'signature_ui_labels_id_put test' do
|
85
|
+
it 'should work' do
|
86
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# unit tests for signature_ui_labels_post
|
91
|
+
# Create a new Signature UI Label
|
92
|
+
# @param authorization Authentication credentials for HTTP authentication
|
93
|
+
# @param content_type The MIME type of the body of the request
|
94
|
+
# @param body
|
95
|
+
# @param [Hash] opts the optional parameters
|
96
|
+
# @return [SignatureUiLabelOutput]
|
97
|
+
describe 'signature_ui_labels_post test' do
|
98
|
+
it 'should work' do
|
99
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
# unit tests for signature_uis_get
|
104
|
+
# Get Signature UI list
|
105
|
+
# @param authorization Authentication credentials for HTTP authentication
|
106
|
+
# @param [Hash] opts the optional parameters
|
107
|
+
# @return [Array<SignatureUiOutput>]
|
108
|
+
describe 'signature_uis_get test' do
|
109
|
+
it 'should work' do
|
110
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
# unit tests for signature_uis_id_delete
|
115
|
+
# Delete a Signature UI
|
116
|
+
# @param id
|
117
|
+
# @param authorization Authentication credentials for HTTP authentication
|
118
|
+
# @param content_type The MIME type of the body of the request
|
119
|
+
# @param [Hash] opts the optional parameters
|
120
|
+
# @option opts [String] :id2 Id of the signature ui
|
121
|
+
# @return [nil]
|
122
|
+
describe 'signature_uis_id_delete test' do
|
123
|
+
it 'should work' do
|
124
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
# unit tests for signature_uis_id_get
|
129
|
+
# Find a Signature UI by ID
|
130
|
+
# @param id
|
131
|
+
# @param authorization Authentication credentials for HTTP authentication
|
132
|
+
# @param content_type The MIME type of the body of the request
|
133
|
+
# @param [Hash] opts the optional parameters
|
134
|
+
# @option opts [String] :id2 id of a signature ui
|
135
|
+
# @return [SignatureUiOutput]
|
136
|
+
describe 'signature_uis_id_get test' do
|
137
|
+
it 'should work' do
|
138
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
# unit tests for signature_uis_id_put
|
143
|
+
# Update a Signature UI
|
144
|
+
# @param id
|
145
|
+
# @param authorization Authentication credentials for HTTP authentication
|
146
|
+
# @param content_type The MIME type of the body of the request
|
147
|
+
# @param [Hash] opts the optional parameters
|
148
|
+
# @option opts [String] :id2 id of signature ui to update
|
149
|
+
# @return [SignatureUiInputUpdate]
|
150
|
+
describe 'signature_uis_id_put test' do
|
151
|
+
it 'should work' do
|
152
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
# unit tests for signature_uis_post
|
157
|
+
# Create a new Signature UI
|
158
|
+
# Here is the url format to build on your side to get a custom signature interface with your settings : https://webapp.yousign.com/procedure/sign?members=~2Fmembers~2F__MEMBER_ID__&signatureUi=~2Fsignature_uis~2F__SIGNATURE_UI_ID__
|
159
|
+
# @param authorization Authentication credentials for HTTP authentication
|
160
|
+
# @param content_type The MIME type of the body of the request
|
161
|
+
# @param body
|
162
|
+
# @param [Hash] opts the optional parameters
|
163
|
+
# @return [SignatureUiOutput]
|
164
|
+
describe 'signature_uis_post test' do
|
165
|
+
it 'should work' do
|
166
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
167
|
+
end
|
168
|
+
end
|
169
|
+
|
170
|
+
end
|