pdf4me 1.0.1 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{LICENSE → LICENSE.txt} +6 -6
- data/README.md +124 -395
- data/lib/pdf4me.rb +40 -110
- data/lib/pdf4me/actions/complex_action.rb +64 -0
- data/lib/pdf4me/actions/convert_file_to_pdf.rb +30 -0
- data/lib/pdf4me/actions/convert_to_pdf.rb +14 -0
- data/lib/pdf4me/actions/create_pdf_a.rb +29 -0
- data/lib/pdf4me/actions/create_thumbnail.rb +55 -0
- data/lib/pdf4me/actions/extract_pages.rb +49 -0
- data/lib/pdf4me/actions/merge_two_pdfs.rb +34 -0
- data/lib/pdf4me/actions/optimize.rb +10 -0
- data/lib/pdf4me/actions/optimize_by_profile.rb +42 -0
- data/lib/pdf4me/actions/split_by_page_nr.rb +55 -0
- data/lib/pdf4me/actions/text_stamp.rb +63 -0
- data/lib/pdf4me/actions/wrapper_action.rb +65 -0
- data/lib/pdf4me/client.rb +87 -0
- data/lib/pdf4me/configuration.rb +9 -88
- data/lib/pdf4me/exceptions.rb +26 -0
- data/lib/pdf4me/models/base.rb +26 -0
- data/lib/pdf4me/models/convert_to_pdf_action.rb +26 -246
- data/lib/pdf4me/models/convert_to_pdf_res.rb +5 -185
- data/lib/pdf4me/models/doc_log.rb +12 -257
- data/lib/pdf4me/models/doc_metadata.rb +13 -282
- data/lib/pdf4me/models/document.rb +14 -282
- data/lib/pdf4me/models/notification.rb +8 -191
- data/lib/pdf4me/models/optimize_action.rb +72 -508
- data/lib/pdf4me/models/optimize_res.rb +5 -195
- data/lib/pdf4me/models/page.rb +12 -254
- data/lib/pdf4me/utils/assigner.rb +10 -0
- data/lib/pdf4me/utils/serializer.rb +43 -0
- data/lib/pdf4me/version.rb +1 -13
- data/spec/actions/create_pdf_a_spec.rb +21 -0
- data/spec/actions/wrapper_action_spec.rb +24 -0
- data/spec/files/4.pdf +0 -0
- data/spec/spec_helper.rb +17 -100
- metadata +70 -421
- data/Gemfile +0 -7
- data/Rakefile +0 -8
- data/docs/ActionFlow.md +0 -8
- data/docs/ApiUsageRes.md +0 -11
- data/docs/ArchiveConfig.md +0 -11
- data/docs/ArchiveJobReq.md +0 -12
- data/docs/ArchiveJobRes.md +0 -9
- data/docs/Color.md +0 -10
- data/docs/ConvertApi.md +0 -102
- data/docs/ConvertToPdf.md +0 -10
- data/docs/ConvertToPdfAction.md +0 -10
- data/docs/ConvertToPdfRes.md +0 -8
- data/docs/CreateImages.md +0 -10
- data/docs/CreateImagesRes.md +0 -8
- data/docs/CreatePdfA.md +0 -10
- data/docs/CreatePdfARes.md +0 -8
- data/docs/CustomCMSConfig.md +0 -23
- data/docs/DocAction.md +0 -8
- data/docs/DocLog.md +0 -12
- data/docs/DocMetadata.md +0 -16
- data/docs/Document.md +0 -16
- data/docs/DocumentApi.md +0 -203
- data/docs/DropDocumentReq.md +0 -20
- data/docs/DropDocumentRes.md +0 -15
- data/docs/ExecutionTrigger.md +0 -10
- data/docs/Extract.md +0 -10
- data/docs/ExtractAction.md +0 -9
- data/docs/ExtractApi.md +0 -102
- data/docs/ExtractRes.md +0 -8
- data/docs/GetDocumentListRes.md +0 -13
- data/docs/GetDocumentReq.md +0 -14
- data/docs/GetDocumentRes.md +0 -14
- data/docs/IFormFile.md +0 -13
- data/docs/Image.md +0 -15
- data/docs/ImageAction.md +0 -30
- data/docs/ImageApi.md +0 -107
- data/docs/Job.md +0 -10
- data/docs/JobApi.md +0 -197
- data/docs/JobConfig.md +0 -18
- data/docs/JobConfigRes.md +0 -8
- data/docs/KeyValuePairStringObject.md +0 -9
- data/docs/KeyValuePairStringString.md +0 -9
- data/docs/ManagementApi.md +0 -92
- data/docs/Merge.md +0 -10
- data/docs/MergeAction.md +0 -8
- data/docs/MergeApi.md +0 -102
- data/docs/MergeRes.md +0 -8
- data/docs/Notification.md +0 -9
- data/docs/OcrAction.md +0 -12
- data/docs/OcrApi.md +0 -57
- data/docs/Optimize.md +0 -10
- data/docs/OptimizeAction.md +0 -35
- data/docs/OptimizeApi.md +0 -103
- data/docs/OptimizeRes.md +0 -9
- data/docs/Page.md +0 -14
- data/docs/PageSelection.md +0 -10
- data/docs/Pdf4meAction.md +0 -12
- data/docs/Pdf4meDocument.md +0 -32
- data/docs/Pdf4meException.md +0 -8
- data/docs/PdfAAction.md +0 -14
- data/docs/PdfAApi.md +0 -102
- data/docs/PdfFont.md +0 -9
- data/docs/Pricing.md +0 -13
- data/docs/ProduceDocuments.md +0 -14
- data/docs/ProduceDocumentsRes.md +0 -8
- data/docs/ProduceOutput.md +0 -8
- data/docs/RGBSet.md +0 -10
- data/docs/RecognizeDocument.md +0 -10
- data/docs/RecognizeDocumentRes.md +0 -9
- data/docs/Rectangle.md +0 -11
- data/docs/Rotate.md +0 -10
- data/docs/RunJobRes.md +0 -10
- data/docs/SignatureConfig.md +0 -7
- data/docs/Split.md +0 -10
- data/docs/SplitAction.md +0 -11
- data/docs/SplitApi.md +0 -103
- data/docs/SplitRes.md +0 -8
- data/docs/Stamp.md +0 -10
- data/docs/StampAction.md +0 -22
- data/docs/StampApi.md +0 -110
- data/docs/StampRes.md +0 -8
- data/docs/StorageFolder.md +0 -10
- data/docs/Text.md +0 -17
- data/docs/Transform.md +0 -13
- data/docs/Translate.md +0 -9
- data/docs/UserFingerprint.md +0 -9
- data/docs/VersionRes.md +0 -8
- data/docs/java.md +0 -425
- data/lib/pdf4me/api/convert_api.rb +0 -130
- data/lib/pdf4me/api/document_api.rb +0 -218
- data/lib/pdf4me/api/extract_api.rb +0 -131
- data/lib/pdf4me/api/image_api.rb +0 -139
- data/lib/pdf4me/api/job_api.rb +0 -223
- data/lib/pdf4me/api/management_api.rb +0 -117
- data/lib/pdf4me/api/merge_api.rb +0 -131
- data/lib/pdf4me/api/ocr_api.rb +0 -74
- data/lib/pdf4me/api/optimize_api.rb +0 -139
- data/lib/pdf4me/api/pdf_a_api.rb +0 -134
- data/lib/pdf4me/api/split_api.rb +0 -135
- data/lib/pdf4me/api/stamp_api.rb +0 -159
- data/lib/pdf4me/api_client.rb +0 -380
- data/lib/pdf4me/api_error.rb +0 -38
- data/lib/pdf4me/models/action_flow.rb +0 -190
- data/lib/pdf4me/models/api_usage_res.rb +0 -219
- data/lib/pdf4me/models/archive_config.rb +0 -226
- data/lib/pdf4me/models/archive_job_req.rb +0 -249
- data/lib/pdf4me/models/archive_job_res.rb +0 -207
- data/lib/pdf4me/models/color.rb +0 -206
- data/lib/pdf4me/models/convert_to_pdf.rb +0 -209
- data/lib/pdf4me/models/create_images.rb +0 -209
- data/lib/pdf4me/models/create_images_res.rb +0 -189
- data/lib/pdf4me/models/create_pdf_a.rb +0 -209
- data/lib/pdf4me/models/create_pdf_a_res.rb +0 -189
- data/lib/pdf4me/models/custom_cms_config.rb +0 -323
- data/lib/pdf4me/models/doc_action.rb +0 -190
- data/lib/pdf4me/models/drop_document_req.rb +0 -348
- data/lib/pdf4me/models/drop_document_res.rb +0 -260
- data/lib/pdf4me/models/execution_trigger.rb +0 -206
- data/lib/pdf4me/models/extract.rb +0 -207
- data/lib/pdf4me/models/extract_action.rb +0 -201
- data/lib/pdf4me/models/extract_res.rb +0 -188
- data/lib/pdf4me/models/get_document_list_res.rb +0 -237
- data/lib/pdf4me/models/get_document_req.rb +0 -243
- data/lib/pdf4me/models/get_document_res.rb +0 -246
- data/lib/pdf4me/models/i_form_file.rb +0 -235
- data/lib/pdf4me/models/image.rb +0 -300
- data/lib/pdf4me/models/image_action.rb +0 -513
- data/lib/pdf4me/models/job.rb +0 -213
- data/lib/pdf4me/models/job_config.rb +0 -298
- data/lib/pdf4me/models/job_config_res.rb +0 -193
- data/lib/pdf4me/models/key_value_pair_string_object.rb +0 -197
- data/lib/pdf4me/models/key_value_pair_string_string.rb +0 -197
- data/lib/pdf4me/models/merge.rb +0 -209
- data/lib/pdf4me/models/merge_action.rb +0 -190
- data/lib/pdf4me/models/merge_res.rb +0 -188
- data/lib/pdf4me/models/ocr_action.rb +0 -259
- data/lib/pdf4me/models/optimize.rb +0 -209
- data/lib/pdf4me/models/page_selection.rb +0 -246
- data/lib/pdf4me/models/pdf4me_action.rb +0 -259
- data/lib/pdf4me/models/pdf4me_document.rb +0 -511
- data/lib/pdf4me/models/pdf4me_exception.rb +0 -189
- data/lib/pdf4me/models/pdf_a_action.rb +0 -297
- data/lib/pdf4me/models/pdf_font.rb +0 -213
- data/lib/pdf4me/models/pricing.rb +0 -278
- data/lib/pdf4me/models/produce_documents.rb +0 -251
- data/lib/pdf4me/models/produce_documents_res.rb +0 -191
- data/lib/pdf4me/models/produce_output.rb +0 -221
- data/lib/pdf4me/models/recognize_document.rb +0 -209
- data/lib/pdf4me/models/recognize_document_res.rb +0 -198
- data/lib/pdf4me/models/rectangle.rb +0 -215
- data/lib/pdf4me/models/rgb_set.rb +0 -206
- data/lib/pdf4me/models/rotate.rb +0 -221
- data/lib/pdf4me/models/run_job_res.rb +0 -215
- data/lib/pdf4me/models/signature_config.rb +0 -179
- data/lib/pdf4me/models/split.rb +0 -207
- data/lib/pdf4me/models/split_action.rb +0 -219
- data/lib/pdf4me/models/split_res.rb +0 -190
- data/lib/pdf4me/models/stamp.rb +0 -209
- data/lib/pdf4me/models/stamp_action.rb +0 -387
- data/lib/pdf4me/models/stamp_res.rb +0 -189
- data/lib/pdf4me/models/storage_folder.rb +0 -239
- data/lib/pdf4me/models/text.rb +0 -320
- data/lib/pdf4me/models/transform.rb +0 -263
- data/lib/pdf4me/models/translate.rb +0 -207
- data/lib/pdf4me/models/user_fingerprint.rb +0 -197
- data/lib/pdf4me/models/version_res.rb +0 -188
- data/pdf4me.gemspec +0 -47
- data/spec/api/convert_api_spec.rb +0 -60
- data/spec/api/document_api_spec.rb +0 -83
- data/spec/api/extract_api_spec.rb +0 -60
- data/spec/api/image_api_spec.rb +0 -62
- data/spec/api/job_api_spec.rb +0 -82
- data/spec/api/management_api_spec.rb +0 -57
- data/spec/api/merge_api_spec.rb +0 -60
- data/spec/api/ocr_api_spec.rb +0 -47
- data/spec/api/optimize_api_spec.rb +0 -60
- data/spec/api/pdf_a_api_spec.rb +0 -60
- data/spec/api/split_api_spec.rb +0 -60
- data/spec/api/stamp_api_spec.rb +0 -63
- data/spec/api_client_spec.rb +0 -226
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/action_flow_spec.rb +0 -42
- data/spec/models/api_usage_res_spec.rb +0 -60
- data/spec/models/archive_config_spec.rb +0 -60
- data/spec/models/archive_job_req_spec.rb +0 -66
- data/spec/models/archive_job_res_spec.rb +0 -48
- data/spec/models/color_spec.rb +0 -54
- data/spec/models/convert_to_pdf_action_spec.rb +0 -62
- data/spec/models/convert_to_pdf_res_spec.rb +0 -42
- data/spec/models/convert_to_pdf_spec.rb +0 -54
- data/spec/models/create_images_res_spec.rb +0 -42
- data/spec/models/create_images_spec.rb +0 -54
- data/spec/models/create_pdf_a_res_spec.rb +0 -42
- data/spec/models/create_pdf_a_spec.rb +0 -54
- data/spec/models/custom_cms_config_spec.rb +0 -132
- data/spec/models/doc_action_spec.rb +0 -42
- data/spec/models/doc_log_spec.rb +0 -70
- data/spec/models/doc_metadata_spec.rb +0 -90
- data/spec/models/document_spec.rb +0 -90
- data/spec/models/drop_document_req_spec.rb +0 -118
- data/spec/models/drop_document_res_spec.rb +0 -84
- data/spec/models/execution_trigger_spec.rb +0 -54
- data/spec/models/extract_action_spec.rb +0 -48
- data/spec/models/extract_res_spec.rb +0 -42
- data/spec/models/extract_spec.rb +0 -54
- data/spec/models/get_document_list_res_spec.rb +0 -72
- data/spec/models/get_document_req_spec.rb +0 -78
- data/spec/models/get_document_res_spec.rb +0 -78
- data/spec/models/i_form_file_spec.rb +0 -72
- data/spec/models/image_action_spec.rb +0 -206
- data/spec/models/image_spec.rb +0 -88
- data/spec/models/job_config_res_spec.rb +0 -42
- data/spec/models/job_config_spec.rb +0 -102
- data/spec/models/job_spec.rb +0 -54
- data/spec/models/key_value_pair_string_object_spec.rb +0 -48
- data/spec/models/key_value_pair_string_string_spec.rb +0 -48
- data/spec/models/merge_action_spec.rb +0 -42
- data/spec/models/merge_res_spec.rb +0 -42
- data/spec/models/merge_spec.rb +0 -54
- data/spec/models/notification_spec.rb +0 -48
- data/spec/models/ocr_action_spec.rb +0 -70
- data/spec/models/optimize_action_spec.rb +0 -228
- data/spec/models/optimize_res_spec.rb +0 -48
- data/spec/models/optimize_spec.rb +0 -54
- data/spec/models/page_selection_spec.rb +0 -58
- data/spec/models/page_spec.rb +0 -78
- data/spec/models/pdf4me_action_spec.rb +0 -70
- data/spec/models/pdf4me_document_spec.rb +0 -202
- data/spec/models/pdf4me_exception_spec.rb +0 -42
- data/spec/models/pdf_a_action_spec.rb +0 -86
- data/spec/models/pdf_font_spec.rb +0 -48
- data/spec/models/pricing_spec.rb +0 -80
- data/spec/models/produce_documents_res_spec.rb +0 -42
- data/spec/models/produce_documents_spec.rb +0 -78
- data/spec/models/produce_output_spec.rb +0 -46
- data/spec/models/recognize_document_res_spec.rb +0 -48
- data/spec/models/recognize_document_spec.rb +0 -54
- data/spec/models/rectangle_spec.rb +0 -60
- data/spec/models/rgb_set_spec.rb +0 -54
- data/spec/models/rotate_spec.rb +0 -54
- data/spec/models/run_job_res_spec.rb +0 -54
- data/spec/models/signature_config_spec.rb +0 -36
- data/spec/models/split_action_spec.rb +0 -60
- data/spec/models/split_res_spec.rb +0 -42
- data/spec/models/split_spec.rb +0 -54
- data/spec/models/stamp_action_spec.rb +0 -142
- data/spec/models/stamp_res_spec.rb +0 -42
- data/spec/models/stamp_spec.rb +0 -54
- data/spec/models/storage_folder_spec.rb +0 -58
- data/spec/models/text_spec.rb +0 -104
- data/spec/models/transform_spec.rb +0 -72
- data/spec/models/translate_spec.rb +0 -48
- data/spec/models/user_fingerprint_spec.rb +0 -48
- data/spec/models/version_res_spec.rb +0 -42
data/Gemfile
DELETED
data/Rakefile
DELETED
data/docs/ActionFlow.md
DELETED
data/docs/ApiUsageRes.md
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
# Pdf4me::ApiUsageRes
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**api_usage** | **Integer** | Api usage since last payment. | [optional]
|
7
|
-
**payed_usage** | **Integer** | Total Usage payed. | [optional]
|
8
|
-
**last_payment** | **DateTime** | Date of last payment | [optional]
|
9
|
-
**payment_profile** | **String** | Profile of selected payment | [optional]
|
10
|
-
|
11
|
-
|
data/docs/ArchiveConfig.md
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
# Pdf4me::ArchiveConfig
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**archive_metadata** | [**Array<KeyValuePairStringString>**](KeyValuePairStringString.md) | Give the documents metadata for archiving. |
|
7
|
-
**stamp_action** | [**StampAction**](StampAction.md) | Place a signature stamp on to the document. | [optional]
|
8
|
-
**signature_config** | [**SignatureConfig**](SignatureConfig.md) | Give your Signature Configure to get the electronical Identity. | [optional]
|
9
|
-
**use_tsa** | **BOOLEAN** | To guarantee the time of change use a Time Stamp Service. | [optional]
|
10
|
-
|
11
|
-
|
data/docs/ArchiveJobReq.md
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
# Pdf4me::ArchiveJobReq
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**job_id** | **String** | |
|
7
|
-
**source_folder** | [**StorageFolder**](StorageFolder.md) | |
|
8
|
-
**execution_trigger** | [**ExecutionTrigger**](ExecutionTrigger.md) | |
|
9
|
-
**archive_config** | [**ArchiveConfig**](ArchiveConfig.md) | |
|
10
|
-
**target_folder** | [**StorageFolder**](StorageFolder.md) | |
|
11
|
-
|
12
|
-
|
data/docs/ArchiveJobRes.md
DELETED
data/docs/Color.md
DELETED
data/docs/ConvertApi.md
DELETED
@@ -1,102 +0,0 @@
|
|
1
|
-
# Pdf4me::ConvertApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://localhost*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**convert_file_to_pdf**](ConvertApi.md#convert_file_to_pdf) | **POST** /Convert/ConvertFileToPdf |
|
8
|
-
[**convert_to_pdf**](ConvertApi.md#convert_to_pdf) | **POST** /Convert/ConvertToPdf |
|
9
|
-
|
10
|
-
|
11
|
-
# **convert_file_to_pdf**
|
12
|
-
> File convert_file_to_pdf(opts)
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
### Example
|
17
|
-
```ruby
|
18
|
-
# load the gem
|
19
|
-
require 'pdf4me'
|
20
|
-
|
21
|
-
api_instance = Pdf4me::ConvertApi.new
|
22
|
-
|
23
|
-
opts = {
|
24
|
-
file_name: "file_name_example", # String |
|
25
|
-
file: "file_example" # String |
|
26
|
-
}
|
27
|
-
|
28
|
-
begin
|
29
|
-
result = api_instance.convert_file_to_pdf(opts)
|
30
|
-
p result
|
31
|
-
rescue Pdf4me::ApiError => e
|
32
|
-
puts "Exception when calling ConvertApi->convert_file_to_pdf: #{e}"
|
33
|
-
end
|
34
|
-
```
|
35
|
-
|
36
|
-
### Parameters
|
37
|
-
|
38
|
-
Name | Type | Description | Notes
|
39
|
-
------------- | ------------- | ------------- | -------------
|
40
|
-
**file_name** | **String**| | [optional]
|
41
|
-
**file** | **String**| | [optional]
|
42
|
-
|
43
|
-
### Return type
|
44
|
-
|
45
|
-
**File**
|
46
|
-
|
47
|
-
### Authorization
|
48
|
-
|
49
|
-
No authorization required
|
50
|
-
|
51
|
-
### HTTP request headers
|
52
|
-
|
53
|
-
- **Content-Type**: Not defined
|
54
|
-
- **Accept**: application/octet-stream
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
# **convert_to_pdf**
|
59
|
-
> ConvertToPdfRes convert_to_pdf(opts)
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
### Example
|
64
|
-
```ruby
|
65
|
-
# load the gem
|
66
|
-
require 'pdf4me'
|
67
|
-
|
68
|
-
api_instance = Pdf4me::ConvertApi.new
|
69
|
-
|
70
|
-
opts = {
|
71
|
-
req: Pdf4me::ConvertToPdf.new # ConvertToPdf |
|
72
|
-
}
|
73
|
-
|
74
|
-
begin
|
75
|
-
result = api_instance.convert_to_pdf(opts)
|
76
|
-
p result
|
77
|
-
rescue Pdf4me::ApiError => e
|
78
|
-
puts "Exception when calling ConvertApi->convert_to_pdf: #{e}"
|
79
|
-
end
|
80
|
-
```
|
81
|
-
|
82
|
-
### Parameters
|
83
|
-
|
84
|
-
Name | Type | Description | Notes
|
85
|
-
------------- | ------------- | ------------- | -------------
|
86
|
-
**req** | [**ConvertToPdf**](ConvertToPdf.md)| | [optional]
|
87
|
-
|
88
|
-
### Return type
|
89
|
-
|
90
|
-
[**ConvertToPdfRes**](ConvertToPdfRes.md)
|
91
|
-
|
92
|
-
### Authorization
|
93
|
-
|
94
|
-
No authorization required
|
95
|
-
|
96
|
-
### HTTP request headers
|
97
|
-
|
98
|
-
- **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json, application/bson
|
99
|
-
- **Accept**: text/plain, application/json, text/json, application/bson
|
100
|
-
|
101
|
-
|
102
|
-
|
data/docs/ConvertToPdf.md
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
# Pdf4me::ConvertToPdf
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**notification** | [**Notification**](Notification.md) | Set Notification | [optional]
|
7
|
-
**document** | [**Document**](Document.md) | Document containing the data | [optional]
|
8
|
-
**convert_to_pdf_action** | [**ConvertToPdfAction**](ConvertToPdfAction.md) | Conversion configuration | [optional]
|
9
|
-
|
10
|
-
|
data/docs/ConvertToPdfAction.md
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
# Pdf4me::ConvertToPdfAction
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**pdf_conformance** | **String** | | [optional]
|
7
|
-
**conversion_mode** | **String** | | [optional]
|
8
|
-
**custom_properties** | [**Array<KeyValuePairStringString>**](KeyValuePairStringString.md) | | [optional]
|
9
|
-
|
10
|
-
|
data/docs/ConvertToPdfRes.md
DELETED
data/docs/CreateImages.md
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
# Pdf4me::CreateImages
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**document** | [**Document**](Document.md) | Stamped Document | [optional]
|
7
|
-
**image_action** | [**ImageAction**](ImageAction.md) | MrcAction configuration | [optional]
|
8
|
-
**notification** | [**Notification**](Notification.md) | Set Notification | [optional]
|
9
|
-
|
10
|
-
|
data/docs/CreateImagesRes.md
DELETED
data/docs/CreatePdfA.md
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
# Pdf4me::CreatePdfA
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**document** | [**Document**](Document.md) | Document containing the data | [optional]
|
7
|
-
**pdf_a_action** | [**PdfAAction**](PdfAAction.md) | PdfAAction configuration | [optional]
|
8
|
-
**notification** | [**Notification**](Notification.md) | Set Notification | [optional]
|
9
|
-
|
10
|
-
|
data/docs/CreatePdfARes.md
DELETED
data/docs/CustomCMSConfig.md
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
# Pdf4me::CustomCMSConfig
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**white** | [**RGBSet**](RGBSet.md) | | [optional]
|
7
|
-
**c** | [**RGBSet**](RGBSet.md) | | [optional]
|
8
|
-
**m** | [**RGBSet**](RGBSet.md) | | [optional]
|
9
|
-
**y** | [**RGBSet**](RGBSet.md) | | [optional]
|
10
|
-
**k** | [**RGBSet**](RGBSet.md) | | [optional]
|
11
|
-
**cm** | [**RGBSet**](RGBSet.md) | | [optional]
|
12
|
-
**cy** | [**RGBSet**](RGBSet.md) | | [optional]
|
13
|
-
**ck** | [**RGBSet**](RGBSet.md) | | [optional]
|
14
|
-
**my** | [**RGBSet**](RGBSet.md) | | [optional]
|
15
|
-
**mk** | [**RGBSet**](RGBSet.md) | | [optional]
|
16
|
-
**yk** | [**RGBSet**](RGBSet.md) | | [optional]
|
17
|
-
**cmy** | [**RGBSet**](RGBSet.md) | | [optional]
|
18
|
-
**cmk** | [**RGBSet**](RGBSet.md) | | [optional]
|
19
|
-
**cyk** | [**RGBSet**](RGBSet.md) | | [optional]
|
20
|
-
**myk** | [**RGBSet**](RGBSet.md) | | [optional]
|
21
|
-
**cmyk** | [**RGBSet**](RGBSet.md) | | [optional]
|
22
|
-
|
23
|
-
|
data/docs/DocAction.md
DELETED
data/docs/DocLog.md
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
# Pdf4me::DocLog
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**message_type** | **String** | | [optional]
|
7
|
-
**message** | **String** | | [optional]
|
8
|
-
**timestamp** | **DateTime** | | [optional]
|
9
|
-
**doc_log_level** | **String** | | [optional]
|
10
|
-
**duration_milliseconds** | **Integer** | | [optional]
|
11
|
-
|
12
|
-
|
data/docs/DocMetadata.md
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
# Pdf4me::DocMetadata
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**title** | **String** | | [optional]
|
7
|
-
**subject** | **String** | | [optional]
|
8
|
-
**page_count** | **Integer** | |
|
9
|
-
**size** | **Integer** | |
|
10
|
-
**is_encrypted** | **BOOLEAN** | |
|
11
|
-
**pdf_compliance** | **String** | | [optional]
|
12
|
-
**is_signed** | **BOOLEAN** | |
|
13
|
-
**uploaded_mime_type** | **String** | | [optional]
|
14
|
-
**uploaded_file_size** | **Integer** | |
|
15
|
-
|
16
|
-
|
data/docs/Document.md
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
# Pdf4me::Document
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**job_id** | **String** | JobId of Documents WorkingSet | [optional]
|
7
|
-
**document_id** | **String** | DocumentId | [optional]
|
8
|
-
**name** | **String** | Give filename inlcuding filetype | [optional]
|
9
|
-
**doc_status** | **String** | Returns the Status of the Document | [optional]
|
10
|
-
**pages** | [**Array<Page>**](Page.md) | Description of pages | [optional]
|
11
|
-
**doc_data** | **String** | | [optional]
|
12
|
-
**doc_metadata** | [**DocMetadata**](DocMetadata.md) | | [optional]
|
13
|
-
**doc_logs** | [**Array<DocLog>**](DocLog.md) | | [optional]
|
14
|
-
**notification** | [**Notification**](Notification.md) | | [optional]
|
15
|
-
|
16
|
-
|
data/docs/DocumentApi.md
DELETED
@@ -1,203 +0,0 @@
|
|
1
|
-
# Pdf4me::DocumentApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://localhost*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**drop_document**](DocumentApi.md#drop_document) | **POST** /Document/DropDocument | DropDocument
|
8
|
-
[**drop_document_0**](DocumentApi.md#drop_document_0) | **POST** /Document/ProduceDocuments | ProduceDocuments
|
9
|
-
[**get_document**](DocumentApi.md#get_document) | **POST** /Document/GetDocument | GetDocument
|
10
|
-
[**get_documents**](DocumentApi.md#get_documents) | **GET** /Document/GetDocuments | GetDocuments
|
11
|
-
|
12
|
-
|
13
|
-
# **drop_document**
|
14
|
-
> DropDocumentRes drop_document(opts)
|
15
|
-
|
16
|
-
DropDocument
|
17
|
-
|
18
|
-
Drop a document from local FIlesystem or give a cloud storage from where the files will be downloaded.
|
19
|
-
|
20
|
-
### Example
|
21
|
-
```ruby
|
22
|
-
# load the gem
|
23
|
-
require 'pdf4me'
|
24
|
-
|
25
|
-
api_instance = Pdf4me::DocumentApi.new
|
26
|
-
|
27
|
-
opts = {
|
28
|
-
req: Pdf4me::DropDocumentReq.new # DropDocumentReq |
|
29
|
-
}
|
30
|
-
|
31
|
-
begin
|
32
|
-
#DropDocument
|
33
|
-
result = api_instance.drop_document(opts)
|
34
|
-
p result
|
35
|
-
rescue Pdf4me::ApiError => e
|
36
|
-
puts "Exception when calling DocumentApi->drop_document: #{e}"
|
37
|
-
end
|
38
|
-
```
|
39
|
-
|
40
|
-
### Parameters
|
41
|
-
|
42
|
-
Name | Type | Description | Notes
|
43
|
-
------------- | ------------- | ------------- | -------------
|
44
|
-
**req** | [**DropDocumentReq**](DropDocumentReq.md)| | [optional]
|
45
|
-
|
46
|
-
### Return type
|
47
|
-
|
48
|
-
[**DropDocumentRes**](DropDocumentRes.md)
|
49
|
-
|
50
|
-
### Authorization
|
51
|
-
|
52
|
-
No authorization required
|
53
|
-
|
54
|
-
### HTTP request headers
|
55
|
-
|
56
|
-
- **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json, application/bson
|
57
|
-
- **Accept**: text/plain, application/json, text/json, application/bson
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
# **drop_document_0**
|
62
|
-
> ProduceDocumentsRes drop_document_0(opts)
|
63
|
-
|
64
|
-
ProduceDocuments
|
65
|
-
|
66
|
-
Produce the requested new Order Documents.
|
67
|
-
|
68
|
-
### Example
|
69
|
-
```ruby
|
70
|
-
# load the gem
|
71
|
-
require 'pdf4me'
|
72
|
-
|
73
|
-
api_instance = Pdf4me::DocumentApi.new
|
74
|
-
|
75
|
-
opts = {
|
76
|
-
req: Pdf4me::ProduceDocuments.new # ProduceDocuments |
|
77
|
-
}
|
78
|
-
|
79
|
-
begin
|
80
|
-
#ProduceDocuments
|
81
|
-
result = api_instance.drop_document_0(opts)
|
82
|
-
p result
|
83
|
-
rescue Pdf4me::ApiError => e
|
84
|
-
puts "Exception when calling DocumentApi->drop_document_0: #{e}"
|
85
|
-
end
|
86
|
-
```
|
87
|
-
|
88
|
-
### Parameters
|
89
|
-
|
90
|
-
Name | Type | Description | Notes
|
91
|
-
------------- | ------------- | ------------- | -------------
|
92
|
-
**req** | [**ProduceDocuments**](ProduceDocuments.md)| | [optional]
|
93
|
-
|
94
|
-
### Return type
|
95
|
-
|
96
|
-
[**ProduceDocumentsRes**](ProduceDocumentsRes.md)
|
97
|
-
|
98
|
-
### Authorization
|
99
|
-
|
100
|
-
No authorization required
|
101
|
-
|
102
|
-
### HTTP request headers
|
103
|
-
|
104
|
-
- **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json, application/bson
|
105
|
-
- **Accept**: text/plain, application/json, text/json, application/bson
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
# **get_document**
|
110
|
-
> GetDocumentRes get_document(opts)
|
111
|
-
|
112
|
-
GetDocument
|
113
|
-
|
114
|
-
Get the content of a document in its full datastructure and content.
|
115
|
-
|
116
|
-
### Example
|
117
|
-
```ruby
|
118
|
-
# load the gem
|
119
|
-
require 'pdf4me'
|
120
|
-
|
121
|
-
api_instance = Pdf4me::DocumentApi.new
|
122
|
-
|
123
|
-
opts = {
|
124
|
-
req: Pdf4me::GetDocumentReq.new # GetDocumentReq |
|
125
|
-
}
|
126
|
-
|
127
|
-
begin
|
128
|
-
#GetDocument
|
129
|
-
result = api_instance.get_document(opts)
|
130
|
-
p result
|
131
|
-
rescue Pdf4me::ApiError => e
|
132
|
-
puts "Exception when calling DocumentApi->get_document: #{e}"
|
133
|
-
end
|
134
|
-
```
|
135
|
-
|
136
|
-
### Parameters
|
137
|
-
|
138
|
-
Name | Type | Description | Notes
|
139
|
-
------------- | ------------- | ------------- | -------------
|
140
|
-
**req** | [**GetDocumentReq**](GetDocumentReq.md)| | [optional]
|
141
|
-
|
142
|
-
### Return type
|
143
|
-
|
144
|
-
[**GetDocumentRes**](GetDocumentRes.md)
|
145
|
-
|
146
|
-
### Authorization
|
147
|
-
|
148
|
-
No authorization required
|
149
|
-
|
150
|
-
### HTTP request headers
|
151
|
-
|
152
|
-
- **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json, application/bson
|
153
|
-
- **Accept**: text/plain, application/json, text/json, application/bson
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
# **get_documents**
|
158
|
-
> GetDocumentRes get_documents(job_id)
|
159
|
-
|
160
|
-
GetDocuments
|
161
|
-
|
162
|
-
Get the workingset of documents by the JobId.
|
163
|
-
|
164
|
-
### Example
|
165
|
-
```ruby
|
166
|
-
# load the gem
|
167
|
-
require 'pdf4me'
|
168
|
-
|
169
|
-
api_instance = Pdf4me::DocumentApi.new
|
170
|
-
|
171
|
-
job_id = "job_id_example" # String |
|
172
|
-
|
173
|
-
|
174
|
-
begin
|
175
|
-
#GetDocuments
|
176
|
-
result = api_instance.get_documents(job_id)
|
177
|
-
p result
|
178
|
-
rescue Pdf4me::ApiError => e
|
179
|
-
puts "Exception when calling DocumentApi->get_documents: #{e}"
|
180
|
-
end
|
181
|
-
```
|
182
|
-
|
183
|
-
### Parameters
|
184
|
-
|
185
|
-
Name | Type | Description | Notes
|
186
|
-
------------- | ------------- | ------------- | -------------
|
187
|
-
**job_id** | [**String**](.md)| |
|
188
|
-
|
189
|
-
### Return type
|
190
|
-
|
191
|
-
[**GetDocumentRes**](GetDocumentRes.md)
|
192
|
-
|
193
|
-
### Authorization
|
194
|
-
|
195
|
-
No authorization required
|
196
|
-
|
197
|
-
### HTTP request headers
|
198
|
-
|
199
|
-
- **Content-Type**: Not defined
|
200
|
-
- **Accept**: text/plain, application/json, text/json, application/bson
|
201
|
-
|
202
|
-
|
203
|
-
|