groupdocs_signature_cloud 19.5 → 20.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/groupdocs_signature_cloud.rb +9 -1
- data/lib/groupdocs_signature_cloud/api/file_api.rb +7 -7
- data/lib/groupdocs_signature_cloud/api/folder_api.rb +7 -7
- data/lib/groupdocs_signature_cloud/api/info_api.rb +2 -2
- data/lib/groupdocs_signature_cloud/api/sign_api.rb +198 -4
- data/lib/groupdocs_signature_cloud/api/storage_api.rb +5 -5
- data/lib/groupdocs_signature_cloud/api_client.rb +1 -1
- data/lib/groupdocs_signature_cloud/api_error.rb +1 -1
- data/lib/groupdocs_signature_cloud/configuration.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/barcode_signature.rb +140 -36
- data/lib/groupdocs_signature_cloud/models/barcode_type.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/barcodes_result.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/base_settings.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/border_line.rb +22 -7
- data/lib/groupdocs_signature_cloud/models/brush.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/color.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/delete_options.rb +271 -0
- data/lib/groupdocs_signature_cloud/models/delete_result.rb +258 -0
- data/lib/groupdocs_signature_cloud/models/delete_settings.rb +231 -0
- data/lib/groupdocs_signature_cloud/models/digital_signature.rb +127 -64
- data/lib/groupdocs_signature_cloud/models/disc_usage.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/error.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/error_details.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/file_info.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/file_version.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/file_versions.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/files_list.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/files_upload_result.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/format.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/formats_result.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/image_signature.rb +411 -0
- data/lib/groupdocs_signature_cloud/models/info_result.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/info_settings.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/linear_gradient_brush.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/object_exist.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/options_base.rb +2 -33
- data/lib/groupdocs_signature_cloud/models/padding.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/page_info.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/pages_setup.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/qr_code_signature.rb +140 -36
- data/lib/groupdocs_signature_cloud/models/qr_code_type.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/qr_codes_result.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/radial_gradient_brush.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/save_options.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/search_barcode_options.rb +2 -33
- data/lib/groupdocs_signature_cloud/models/search_digital_options.rb +2 -33
- data/lib/groupdocs_signature_cloud/models/search_options.rb +2 -33
- data/lib/groupdocs_signature_cloud/models/search_qr_code_options.rb +2 -33
- data/lib/groupdocs_signature_cloud/models/search_result.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/search_settings.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/sign_barcode_options.rb +33 -125
- data/lib/groupdocs_signature_cloud/models/sign_digital_options.rb +114 -59
- data/lib/groupdocs_signature_cloud/models/sign_image_options.rb +32 -53
- data/lib/groupdocs_signature_cloud/models/sign_options.rb +2 -33
- data/lib/groupdocs_signature_cloud/models/sign_qr_code_options.rb +42 -134
- data/lib/groupdocs_signature_cloud/models/sign_result.rb +29 -5
- data/lib/groupdocs_signature_cloud/models/sign_settings.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/sign_stamp_options.rb +32 -53
- data/lib/groupdocs_signature_cloud/models/sign_text_options.rb +31 -108
- data/lib/groupdocs_signature_cloud/models/signature.rb +130 -36
- data/lib/groupdocs_signature_cloud/models/signature_font.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/solid_brush.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/stamp_line.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/storage_exist.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/storage_file.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/text_signature.rb +406 -0
- data/lib/groupdocs_signature_cloud/models/texture_brush.rb +9 -9
- data/lib/groupdocs_signature_cloud/models/update_options.rb +356 -0
- data/lib/groupdocs_signature_cloud/models/update_result.rb +258 -0
- data/lib/groupdocs_signature_cloud/models/update_settings.rb +231 -0
- data/lib/groupdocs_signature_cloud/models/verify_barcode_options.rb +2 -33
- data/lib/groupdocs_signature_cloud/models/verify_digital_options.rb +8 -39
- data/lib/groupdocs_signature_cloud/models/verify_options.rb +2 -33
- data/lib/groupdocs_signature_cloud/models/verify_qr_code_options.rb +2 -33
- data/lib/groupdocs_signature_cloud/models/verify_result.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/verify_settings.rb +1 -1
- data/lib/groupdocs_signature_cloud/models/verify_text_options.rb +2 -33
- data/lib/groupdocs_signature_cloud/version.rb +2 -2
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fa984d6ace26ca0b73e9c3be93031929594d219
|
4
|
+
data.tar.gz: d990275e8c301d779c59571859caf8023836f7a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22c1e3b614286e022dfe2420e73561c00fe771d0754ffad4fc619e2448533dc94cdecef85facc52cf05f070d2beeabc25f8b5250c3953ce226be779cd78f9dd5
|
7
|
+
data.tar.gz: ea0bae5816f4246b5c5aa96cc8fb7b38647aedb4996948f035c860320b731ff8a39fbf6631f3c73715eb975361bcbb926a374d6257b7b751cc487803b3d25958
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# ------------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose Pty Ltd" file="groupdocs_signature_cloud.rb">
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -36,6 +36,8 @@ require_relative 'groupdocs_signature_cloud/models/base_settings'
|
|
36
36
|
require_relative 'groupdocs_signature_cloud/models/border_line'
|
37
37
|
require_relative 'groupdocs_signature_cloud/models/brush'
|
38
38
|
require_relative 'groupdocs_signature_cloud/models/color'
|
39
|
+
require_relative 'groupdocs_signature_cloud/models/delete_options'
|
40
|
+
require_relative 'groupdocs_signature_cloud/models/delete_result'
|
39
41
|
require_relative 'groupdocs_signature_cloud/models/disc_usage'
|
40
42
|
require_relative 'groupdocs_signature_cloud/models/error'
|
41
43
|
require_relative 'groupdocs_signature_cloud/models/error_details'
|
@@ -61,10 +63,14 @@ require_relative 'groupdocs_signature_cloud/models/signature_font'
|
|
61
63
|
require_relative 'groupdocs_signature_cloud/models/stamp_line'
|
62
64
|
require_relative 'groupdocs_signature_cloud/models/storage_exist'
|
63
65
|
require_relative 'groupdocs_signature_cloud/models/storage_file'
|
66
|
+
require_relative 'groupdocs_signature_cloud/models/update_options'
|
67
|
+
require_relative 'groupdocs_signature_cloud/models/update_result'
|
64
68
|
require_relative 'groupdocs_signature_cloud/models/verify_result'
|
65
69
|
require_relative 'groupdocs_signature_cloud/models/barcode_signature'
|
70
|
+
require_relative 'groupdocs_signature_cloud/models/delete_settings'
|
66
71
|
require_relative 'groupdocs_signature_cloud/models/digital_signature'
|
67
72
|
require_relative 'groupdocs_signature_cloud/models/file_version'
|
73
|
+
require_relative 'groupdocs_signature_cloud/models/image_signature'
|
68
74
|
require_relative 'groupdocs_signature_cloud/models/info_settings'
|
69
75
|
require_relative 'groupdocs_signature_cloud/models/linear_gradient_brush'
|
70
76
|
require_relative 'groupdocs_signature_cloud/models/qr_code_signature'
|
@@ -74,7 +80,9 @@ require_relative 'groupdocs_signature_cloud/models/search_settings'
|
|
74
80
|
require_relative 'groupdocs_signature_cloud/models/sign_options'
|
75
81
|
require_relative 'groupdocs_signature_cloud/models/sign_settings'
|
76
82
|
require_relative 'groupdocs_signature_cloud/models/solid_brush'
|
83
|
+
require_relative 'groupdocs_signature_cloud/models/text_signature'
|
77
84
|
require_relative 'groupdocs_signature_cloud/models/texture_brush'
|
85
|
+
require_relative 'groupdocs_signature_cloud/models/update_settings'
|
78
86
|
require_relative 'groupdocs_signature_cloud/models/verify_options'
|
79
87
|
require_relative 'groupdocs_signature_cloud/models/verify_settings'
|
80
88
|
require_relative 'groupdocs_signature_cloud/models/search_barcode_options'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -----------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose Pty Ltd" file="file.rb">
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -383,7 +383,7 @@ module GroupDocsSignatureCloud
|
|
383
383
|
|
384
384
|
# http body (model)
|
385
385
|
post_body = nil
|
386
|
-
data, status_code, headers = @api_client.call_api(:
|
386
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
387
387
|
header_params: header_params,
|
388
388
|
query_params: query_params,
|
389
389
|
form_params: form_params,
|
@@ -454,7 +454,7 @@ end
|
|
454
454
|
#
|
455
455
|
# --------------------------------------------------------------------------------------------------------------------
|
456
456
|
# <copyright company="Aspose Pty Ltd" file="copy_file_request.rb">
|
457
|
-
# Copyright (c) 2003-
|
457
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
458
458
|
# </copyright>
|
459
459
|
# <summary>
|
460
460
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -515,7 +515,7 @@ end
|
|
515
515
|
#
|
516
516
|
# --------------------------------------------------------------------------------------------------------------------
|
517
517
|
# <copyright company="Aspose Pty Ltd" file="delete_file_request.rb">
|
518
|
-
# Copyright (c) 2003-
|
518
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
519
519
|
# </copyright>
|
520
520
|
# <summary>
|
521
521
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -568,7 +568,7 @@ end
|
|
568
568
|
#
|
569
569
|
# --------------------------------------------------------------------------------------------------------------------
|
570
570
|
# <copyright company="Aspose Pty Ltd" file="download_file_request.rb">
|
571
|
-
# Copyright (c) 2003-
|
571
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
572
572
|
# </copyright>
|
573
573
|
# <summary>
|
574
574
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -621,7 +621,7 @@ end
|
|
621
621
|
#
|
622
622
|
# --------------------------------------------------------------------------------------------------------------------
|
623
623
|
# <copyright company="Aspose Pty Ltd" file="move_file_request.rb">
|
624
|
-
# Copyright (c) 2003-
|
624
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
625
625
|
# </copyright>
|
626
626
|
# <summary>
|
627
627
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -682,7 +682,7 @@ end
|
|
682
682
|
#
|
683
683
|
# --------------------------------------------------------------------------------------------------------------------
|
684
684
|
# <copyright company="Aspose Pty Ltd" file="upload_file_request.rb">
|
685
|
-
# Copyright (c) 2003-
|
685
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
686
686
|
# </copyright>
|
687
687
|
# <summary>
|
688
688
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -----------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose Pty Ltd" file="folder.rb">
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -176,7 +176,7 @@ module GroupDocsSignatureCloud
|
|
176
176
|
|
177
177
|
# http body (model)
|
178
178
|
post_body = nil
|
179
|
-
data, status_code, headers = @api_client.call_api(:
|
179
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
180
180
|
header_params: header_params,
|
181
181
|
query_params: query_params,
|
182
182
|
form_params: form_params,
|
@@ -435,7 +435,7 @@ end
|
|
435
435
|
#
|
436
436
|
# --------------------------------------------------------------------------------------------------------------------
|
437
437
|
# <copyright company="Aspose Pty Ltd" file="copy_folder_request.rb">
|
438
|
-
# Copyright (c) 2003-
|
438
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
439
439
|
# </copyright>
|
440
440
|
# <summary>
|
441
441
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -492,7 +492,7 @@ end
|
|
492
492
|
#
|
493
493
|
# --------------------------------------------------------------------------------------------------------------------
|
494
494
|
# <copyright company="Aspose Pty Ltd" file="create_folder_request.rb">
|
495
|
-
# Copyright (c) 2003-
|
495
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
496
496
|
# </copyright>
|
497
497
|
# <summary>
|
498
498
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -541,7 +541,7 @@ end
|
|
541
541
|
#
|
542
542
|
# --------------------------------------------------------------------------------------------------------------------
|
543
543
|
# <copyright company="Aspose Pty Ltd" file="delete_folder_request.rb">
|
544
|
-
# Copyright (c) 2003-
|
544
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
545
545
|
# </copyright>
|
546
546
|
# <summary>
|
547
547
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -594,7 +594,7 @@ end
|
|
594
594
|
#
|
595
595
|
# --------------------------------------------------------------------------------------------------------------------
|
596
596
|
# <copyright company="Aspose Pty Ltd" file="get_files_list_request.rb">
|
597
|
-
# Copyright (c) 2003-
|
597
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
598
598
|
# </copyright>
|
599
599
|
# <summary>
|
600
600
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -643,7 +643,7 @@ end
|
|
643
643
|
#
|
644
644
|
# --------------------------------------------------------------------------------------------------------------------
|
645
645
|
# <copyright company="Aspose Pty Ltd" file="move_folder_request.rb">
|
646
|
-
# Copyright (c) 2003-
|
646
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
647
647
|
# </copyright>
|
648
648
|
# <summary>
|
649
649
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -----------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose Pty Ltd" file="info.rb">
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -320,7 +320,7 @@ end
|
|
320
320
|
#
|
321
321
|
# --------------------------------------------------------------------------------------------------------------------
|
322
322
|
# <copyright company="Aspose Pty Ltd" file="get_info_request.rb">
|
323
|
-
# Copyright (c) 2003-
|
323
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
324
324
|
# </copyright>
|
325
325
|
# <summary>
|
326
326
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -----------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose Pty Ltd" file="sign.rb">
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -116,6 +116,58 @@ module GroupDocsSignatureCloud
|
|
116
116
|
[data, status_code, headers]
|
117
117
|
end
|
118
118
|
|
119
|
+
# Deletes signatures in the document
|
120
|
+
#
|
121
|
+
# @param request delete_signatures_request
|
122
|
+
# @return [DeleteResult]
|
123
|
+
def delete_signatures(request)
|
124
|
+
data, _status_code, _headers = delete_signatures_with_http_info(request)
|
125
|
+
data
|
126
|
+
end
|
127
|
+
|
128
|
+
# Deletes signatures in the document
|
129
|
+
#
|
130
|
+
# @param request delete_signatures_request
|
131
|
+
# @return [Array<(DeleteResult, Fixnum, Hash)>]
|
132
|
+
# DeleteResult data, response status code and response headers
|
133
|
+
def delete_signatures_with_http_info(request)
|
134
|
+
raise ArgumentError, 'Incorrect request type' unless request.is_a? DeleteSignaturesRequest
|
135
|
+
|
136
|
+
@api_client.config.logger.debug 'Calling API: SignApi.delete_signatures ...' if @api_client.config.debugging
|
137
|
+
# verify the required parameter 'delete_settings' is set
|
138
|
+
raise ArgumentError, 'Missing the required parameter delete_settings when calling SignApi.delete_signatures' if @api_client.config.client_side_validation && request.delete_settings.nil?
|
139
|
+
# resource path
|
140
|
+
local_var_path = '/signature/delete'
|
141
|
+
|
142
|
+
# query parameters
|
143
|
+
query_params = {}
|
144
|
+
|
145
|
+
# header parameters
|
146
|
+
header_params = {}
|
147
|
+
# HTTP header 'Accept' (if needed)
|
148
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
149
|
+
# HTTP header 'Content-Type'
|
150
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
151
|
+
|
152
|
+
# form parameters
|
153
|
+
form_params = {}
|
154
|
+
|
155
|
+
# http body (model)
|
156
|
+
post_body = @api_client.object_to_http_body(request.delete_settings)
|
157
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
158
|
+
header_params: header_params,
|
159
|
+
query_params: query_params,
|
160
|
+
form_params: form_params,
|
161
|
+
body: post_body,
|
162
|
+
access_token: get_access_token,
|
163
|
+
return_type: 'DeleteResult')
|
164
|
+
if @api_client.config.debugging
|
165
|
+
@api_client.config.logger.debug "API called:
|
166
|
+
SignApi#delete_signatures\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
167
|
+
end
|
168
|
+
[data, status_code, headers]
|
169
|
+
end
|
170
|
+
|
119
171
|
# Searches for signatures applied to the document
|
120
172
|
#
|
121
173
|
# @param request search_signatures_request
|
@@ -168,6 +220,58 @@ module GroupDocsSignatureCloud
|
|
168
220
|
[data, status_code, headers]
|
169
221
|
end
|
170
222
|
|
223
|
+
# Updates signatures in the document
|
224
|
+
#
|
225
|
+
# @param request update_signatures_request
|
226
|
+
# @return [UpdateResult]
|
227
|
+
def update_signatures(request)
|
228
|
+
data, _status_code, _headers = update_signatures_with_http_info(request)
|
229
|
+
data
|
230
|
+
end
|
231
|
+
|
232
|
+
# Updates signatures in the document
|
233
|
+
#
|
234
|
+
# @param request update_signatures_request
|
235
|
+
# @return [Array<(UpdateResult, Fixnum, Hash)>]
|
236
|
+
# UpdateResult data, response status code and response headers
|
237
|
+
def update_signatures_with_http_info(request)
|
238
|
+
raise ArgumentError, 'Incorrect request type' unless request.is_a? UpdateSignaturesRequest
|
239
|
+
|
240
|
+
@api_client.config.logger.debug 'Calling API: SignApi.update_signatures ...' if @api_client.config.debugging
|
241
|
+
# verify the required parameter 'update_settings' is set
|
242
|
+
raise ArgumentError, 'Missing the required parameter update_settings when calling SignApi.update_signatures' if @api_client.config.client_side_validation && request.update_settings.nil?
|
243
|
+
# resource path
|
244
|
+
local_var_path = '/signature/update'
|
245
|
+
|
246
|
+
# query parameters
|
247
|
+
query_params = {}
|
248
|
+
|
249
|
+
# header parameters
|
250
|
+
header_params = {}
|
251
|
+
# HTTP header 'Accept' (if needed)
|
252
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
253
|
+
# HTTP header 'Content-Type'
|
254
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
255
|
+
|
256
|
+
# form parameters
|
257
|
+
form_params = {}
|
258
|
+
|
259
|
+
# http body (model)
|
260
|
+
post_body = @api_client.object_to_http_body(request.update_settings)
|
261
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
262
|
+
header_params: header_params,
|
263
|
+
query_params: query_params,
|
264
|
+
form_params: form_params,
|
265
|
+
body: post_body,
|
266
|
+
access_token: get_access_token,
|
267
|
+
return_type: 'UpdateResult')
|
268
|
+
if @api_client.config.debugging
|
269
|
+
@api_client.config.logger.debug "API called:
|
270
|
+
SignApi#update_signatures\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
271
|
+
end
|
272
|
+
[data, status_code, headers]
|
273
|
+
end
|
274
|
+
|
171
275
|
# Verifies whether document contains signatures that meet the specified criteria
|
172
276
|
#
|
173
277
|
# @param request verify_signatures_request
|
@@ -277,7 +381,7 @@ end
|
|
277
381
|
#
|
278
382
|
# --------------------------------------------------------------------------------------------------------------------
|
279
383
|
# <copyright company="Aspose Pty Ltd" file="create_signatures_request.rb">
|
280
|
-
# Copyright (c) 2003-
|
384
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
281
385
|
# </copyright>
|
282
386
|
# <summary>
|
283
387
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -318,11 +422,56 @@ module GroupDocsSignatureCloud
|
|
318
422
|
self.sign_settings = sign_settings
|
319
423
|
end
|
320
424
|
end
|
425
|
+
end
|
426
|
+
#
|
427
|
+
# --------------------------------------------------------------------------------------------------------------------
|
428
|
+
# <copyright company="Aspose Pty Ltd" file="delete_signatures_request.rb">
|
429
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
430
|
+
# </copyright>
|
431
|
+
# <summary>
|
432
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
433
|
+
# of this software and associated documentation files (the "Software"), to deal
|
434
|
+
# in the Software without restriction, including without limitation the rights
|
435
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
436
|
+
# copies of the Software, and to permit persons to whom the Software is
|
437
|
+
# furnished to do so, subject to the following conditions:
|
438
|
+
#
|
439
|
+
# The above copyright notice and this permission notice shall be included in all
|
440
|
+
# copies or substantial portions of the Software.
|
441
|
+
#
|
442
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
443
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
444
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
445
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
446
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
447
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
448
|
+
# SOFTWARE.
|
449
|
+
# </summary>
|
450
|
+
# --------------------------------------------------------------------------------------------------------------------
|
451
|
+
#
|
452
|
+
|
453
|
+
module GroupDocsSignatureCloud
|
454
|
+
|
455
|
+
#
|
456
|
+
# Request model for delete_signatures operation.
|
457
|
+
#
|
458
|
+
class DeleteSignaturesRequest
|
459
|
+
|
460
|
+
# Delete signatures settings
|
461
|
+
attr_accessor :delete_settings
|
462
|
+
|
463
|
+
#
|
464
|
+
# Initializes a new instance.
|
465
|
+
# @param delete_settings Delete signatures settings
|
466
|
+
def initialize(delete_settings)
|
467
|
+
self.delete_settings = delete_settings
|
468
|
+
end
|
469
|
+
end
|
321
470
|
end
|
322
471
|
#
|
323
472
|
# --------------------------------------------------------------------------------------------------------------------
|
324
473
|
# <copyright company="Aspose Pty Ltd" file="search_signatures_request.rb">
|
325
|
-
# Copyright (c) 2003-
|
474
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
326
475
|
# </copyright>
|
327
476
|
# <summary>
|
328
477
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -363,11 +512,56 @@ module GroupDocsSignatureCloud
|
|
363
512
|
self.search_settings = search_settings
|
364
513
|
end
|
365
514
|
end
|
515
|
+
end
|
516
|
+
#
|
517
|
+
# --------------------------------------------------------------------------------------------------------------------
|
518
|
+
# <copyright company="Aspose Pty Ltd" file="update_signatures_request.rb">
|
519
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
520
|
+
# </copyright>
|
521
|
+
# <summary>
|
522
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
523
|
+
# of this software and associated documentation files (the "Software"), to deal
|
524
|
+
# in the Software without restriction, including without limitation the rights
|
525
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
526
|
+
# copies of the Software, and to permit persons to whom the Software is
|
527
|
+
# furnished to do so, subject to the following conditions:
|
528
|
+
#
|
529
|
+
# The above copyright notice and this permission notice shall be included in all
|
530
|
+
# copies or substantial portions of the Software.
|
531
|
+
#
|
532
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
533
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
534
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
535
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
536
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
537
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
538
|
+
# SOFTWARE.
|
539
|
+
# </summary>
|
540
|
+
# --------------------------------------------------------------------------------------------------------------------
|
541
|
+
#
|
542
|
+
|
543
|
+
module GroupDocsSignatureCloud
|
544
|
+
|
545
|
+
#
|
546
|
+
# Request model for update_signatures operation.
|
547
|
+
#
|
548
|
+
class UpdateSignaturesRequest
|
549
|
+
|
550
|
+
# Update signatures settings
|
551
|
+
attr_accessor :update_settings
|
552
|
+
|
553
|
+
#
|
554
|
+
# Initializes a new instance.
|
555
|
+
# @param update_settings Update signatures settings
|
556
|
+
def initialize(update_settings)
|
557
|
+
self.update_settings = update_settings
|
558
|
+
end
|
559
|
+
end
|
366
560
|
end
|
367
561
|
#
|
368
562
|
# --------------------------------------------------------------------------------------------------------------------
|
369
563
|
# <copyright company="Aspose Pty Ltd" file="verify_signatures_request.rb">
|
370
|
-
# Copyright (c) 2003-
|
564
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
371
565
|
# </copyright>
|
372
566
|
# <summary>
|
373
567
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -----------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose Pty Ltd" file="storage.rb">
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -353,7 +353,7 @@ end
|
|
353
353
|
#
|
354
354
|
# --------------------------------------------------------------------------------------------------------------------
|
355
355
|
# <copyright company="Aspose Pty Ltd" file="get_disc_usage_request.rb">
|
356
|
-
# Copyright (c) 2003-
|
356
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
357
357
|
# </copyright>
|
358
358
|
# <summary>
|
359
359
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -398,7 +398,7 @@ end
|
|
398
398
|
#
|
399
399
|
# --------------------------------------------------------------------------------------------------------------------
|
400
400
|
# <copyright company="Aspose Pty Ltd" file="get_file_versions_request.rb">
|
401
|
-
# Copyright (c) 2003-
|
401
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
402
402
|
# </copyright>
|
403
403
|
# <summary>
|
404
404
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -447,7 +447,7 @@ end
|
|
447
447
|
#
|
448
448
|
# --------------------------------------------------------------------------------------------------------------------
|
449
449
|
# <copyright company="Aspose Pty Ltd" file="object_exists_request.rb">
|
450
|
-
# Copyright (c) 2003-
|
450
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
451
451
|
# </copyright>
|
452
452
|
# <summary>
|
453
453
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -500,7 +500,7 @@ end
|
|
500
500
|
#
|
501
501
|
# --------------------------------------------------------------------------------------------------------------------
|
502
502
|
# <copyright company="Aspose Pty Ltd" file="storage_exists_request.rb">
|
503
|
-
# Copyright (c) 2003-
|
503
|
+
# Copyright (c) 2003-2020 Aspose Pty Ltd
|
504
504
|
# </copyright>
|
505
505
|
# <summary>
|
506
506
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|