docs/DocumentsApi.md in budgea_client-1.4.4 vs docs/DocumentsApi.md in budgea_client-2.0.0

- old
+ new

@@ -81,11 +81,11 @@ [**users_id_user_transactionsclusters_id_transactions_cluster_documents_post**](DocumentsApi.md#users_id_user_transactionsclusters_id_transactions_cluster_documents_post) | **POST** /users/{id_user}/transactionsclusters/{id_transactions_cluster}/documents | Add a new document [**users_id_user_transactionsclusters_id_transactions_cluster_documents_put**](DocumentsApi.md#users_id_user_transactionsclusters_id_transactions_cluster_documents_put) | **PUT** /users/{id_user}/transactionsclusters/{id_transactions_cluster}/documents | Attach an existing document to a transaction or a transactions_cluster # **documenttypes_get** -> InlineResponse20013 documenttypes_get(opts) +> InlineResponse20014 documenttypes_get(opts) Get document types @@ -102,11 +102,11 @@ end api_instance = BudgeaClient::DocumentsApi.new opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Get document types result = api_instance.documenttypes_get(opts) @@ -122,11 +122,11 @@ ------------- | ------------- | ------------- | ------------- **expand** | **String**| | [optional] ### Return type -[**InlineResponse20013**](InlineResponse20013.md) +[**InlineResponse20014**](InlineResponse20014.md) ### Authorization [api_key](../README.md#api_key) @@ -158,16 +158,16 @@ api_instance = BudgeaClient::DocumentsApi.new id_documenttype = 56 # Integer | -name = "name_example" # String | Displayed name of document type +name = 'name_example' # String | Displayed name of document type attacheable = 56 # Integer | If true, documents of this type can be attached to a transaction, and have amount related meta-data opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Edit a document type result = api_instance.documenttypes_id_documenttype_put(id_documenttype, name, attacheable, opts) @@ -220,15 +220,15 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -file = File.new("/path/to/file.txt") # File | File of the document +file = File.new('/path/to/file.txt') # File | File of the document opts = { id_transaction: 56, # Integer | Transaction used to help OCR to find data - name: "name_example" # String | Name of the document + name: 'name_example' # String | Name of the document } begin #Post an image with OCR api_instance.ocr_post(file, opts) @@ -279,18 +279,18 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_account = 56 # Integer | id_transaction = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete documents result = api_instance.users_id_user_accounts_id_account_transactions_id_transaction_documents_delete(id_user, id_account, id_transaction, opts) @@ -323,11 +323,11 @@ - **Accept**: application/json # **users_id_user_accounts_id_account_transactions_id_transaction_documents_get** -> InlineResponse20026 users_id_user_accounts_id_account_transactions_id_transaction_documents_get(id_user, id_account, id_transaction, opts) +> InlineResponse20028 users_id_user_accounts_id_account_transactions_id_transaction_documents_get(id_user, id_account, id_transaction, opts) Get documents Get list of documents<br><br> @@ -343,27 +343,27 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_account = 56 # Integer | id_transaction = 56 # Integer | opts = { limit: 56, # Integer | limit number of results offset: 56, # Integer | offset of first result - min_date: Date.parse("2013-10-20"), # Date | minimal (inclusive) date - max_date: Date.parse("2013-10-20"), # Date | maximum (inclusive) date + min_date: Date.parse('2013-10-20'), # Date | minimal (inclusive) date + max_date: Date.parse('2013-10-20'), # Date | maximum (inclusive) date min_amount: 3.4, # Float | minimal (inclusive) amount - max_amount: 3.4, # Float | maximumd (inclusive) amount + max_amount: 3.4, # Float | maximum (inclusive) amount min_timestamp: 3.4, # Float | minimal (inclusive) timestamp - max_timestamp: 3.4, # Float | maximumd (inclusive) timestamp + max_timestamp: 3.4, # Float | maximum (inclusive) timestamp id_type: 56, # Integer | filter with a document type - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Get documents result = api_instance.users_id_user_accounts_id_account_transactions_id_transaction_documents_get(id_user, id_account, id_transaction, opts) @@ -383,19 +383,19 @@ **limit** | **Integer**| limit number of results | [optional] **offset** | **Integer**| offset of first result | [optional] **min_date** | **Date**| minimal (inclusive) date | [optional] **max_date** | **Date**| maximum (inclusive) date | [optional] **min_amount** | **Float**| minimal (inclusive) amount | [optional] - **max_amount** | **Float**| maximumd (inclusive) amount | [optional] + **max_amount** | **Float**| maximum (inclusive) amount | [optional] **min_timestamp** | **Float**| minimal (inclusive) timestamp | [optional] - **max_timestamp** | **Float**| maximumd (inclusive) timestamp | [optional] + **max_timestamp** | **Float**| maximum (inclusive) timestamp | [optional] **id_type** | **Integer**| filter with a document type | [optional] **expand** | **String**| | [optional] ### Return type -[**InlineResponse20026**](InlineResponse20026.md) +[**InlineResponse20028**](InlineResponse20028.md) ### Authorization [api_key](../README.md#api_key) @@ -425,20 +425,20 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_account = 56 # Integer | id_transaction = 56 # Integer | id_document = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete a document result = api_instance.users_id_user_accounts_id_account_transactions_id_transaction_documents_id_document_delete(id_user, id_account, id_transaction, id_document, opts) @@ -492,31 +492,31 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_account = 56 # Integer | id_transaction = 56 # Integer | id_document = 56 # Integer | opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category - date: Date.parse("2013-10-20"), # Date | Date of document - duedate: Date.parse("2013-10-20"), # Date | Due date of document + date: Date.parse('2013-10-20'), # Date | Date of document + duedate: Date.parse('2013-10-20'), # Date | Due date of document total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: 56, # Integer | Is an income or an outcome readonly: 56, # Integer | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + file: File.new('/path/to/file.txt'), # File | File of the document + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Edit a document result = api_instance.users_id_user_accounts_id_account_transactions_id_transaction_documents_id_document_put(id_user, id_account, id_transaction, id_document, opts) @@ -581,32 +581,32 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_account = 56 # Integer | id_transaction = 56 # Integer | -date = Date.parse("2013-10-20") # Date | Date of document +date = Date.parse('2013-10-20') # Date | Date of document -duedate = Date.parse("2013-10-20") # Date | Due date of document +duedate = Date.parse('2013-10-20') # Date | Due date of document opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: true, # BOOLEAN | Is an income or an outcome readonly: true, # BOOLEAN | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document + file: File.new('/path/to/file.txt'), # File | File of the document id_ocr: 56, # Integer | Related OCR process - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Add a new document result = api_instance.users_id_user_accounts_id_account_transactions_id_transaction_documents_post(id_user, id_account, id_transaction, date, duedate, opts) @@ -671,20 +671,20 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_account = 56 # Integer | id_transaction = 56 # Integer | id_document = 56 # Integer | id of the document you want to attach the file to opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Attach an existing document to a transaction or a transactions_cluster result = api_instance.users_id_user_accounts_id_account_transactions_id_transaction_documents_put(id_user, id_account, id_transaction, id_document, opts) @@ -738,18 +738,18 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_account = 56 # Integer | id_transactions_cluster = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete documents result = api_instance.users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_delete(id_user, id_account, id_transactions_cluster, opts) @@ -782,11 +782,11 @@ - **Accept**: application/json # **users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get** -> InlineResponse20026 users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get(id_user, id_account, id_transactions_cluster, opts) +> InlineResponse20028 users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get(id_user, id_account, id_transactions_cluster, opts) Get documents Get list of documents<br><br> @@ -802,27 +802,27 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_account = 56 # Integer | id_transactions_cluster = 56 # Integer | opts = { limit: 56, # Integer | limit number of results offset: 56, # Integer | offset of first result - min_date: Date.parse("2013-10-20"), # Date | minimal (inclusive) date - max_date: Date.parse("2013-10-20"), # Date | maximum (inclusive) date + min_date: Date.parse('2013-10-20'), # Date | minimal (inclusive) date + max_date: Date.parse('2013-10-20'), # Date | maximum (inclusive) date min_amount: 3.4, # Float | minimal (inclusive) amount - max_amount: 3.4, # Float | maximumd (inclusive) amount + max_amount: 3.4, # Float | maximum (inclusive) amount min_timestamp: 3.4, # Float | minimal (inclusive) timestamp - max_timestamp: 3.4, # Float | maximumd (inclusive) timestamp + max_timestamp: 3.4, # Float | maximum (inclusive) timestamp id_type: 56, # Integer | filter with a document type - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Get documents result = api_instance.users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get(id_user, id_account, id_transactions_cluster, opts) @@ -842,19 +842,19 @@ **limit** | **Integer**| limit number of results | [optional] **offset** | **Integer**| offset of first result | [optional] **min_date** | **Date**| minimal (inclusive) date | [optional] **max_date** | **Date**| maximum (inclusive) date | [optional] **min_amount** | **Float**| minimal (inclusive) amount | [optional] - **max_amount** | **Float**| maximumd (inclusive) amount | [optional] + **max_amount** | **Float**| maximum (inclusive) amount | [optional] **min_timestamp** | **Float**| minimal (inclusive) timestamp | [optional] - **max_timestamp** | **Float**| maximumd (inclusive) timestamp | [optional] + **max_timestamp** | **Float**| maximum (inclusive) timestamp | [optional] **id_type** | **Integer**| filter with a document type | [optional] **expand** | **String**| | [optional] ### Return type -[**InlineResponse20026**](InlineResponse20026.md) +[**InlineResponse20028**](InlineResponse20028.md) ### Authorization [api_key](../README.md#api_key) @@ -884,20 +884,20 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_account = 56 # Integer | id_transactions_cluster = 56 # Integer | id_document = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete a document result = api_instance.users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_delete(id_user, id_account, id_transactions_cluster, id_document, opts) @@ -951,31 +951,31 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_account = 56 # Integer | id_transactions_cluster = 56 # Integer | id_document = 56 # Integer | opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category - date: Date.parse("2013-10-20"), # Date | Date of document - duedate: Date.parse("2013-10-20"), # Date | Due date of document + date: Date.parse('2013-10-20'), # Date | Date of document + duedate: Date.parse('2013-10-20'), # Date | Due date of document total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: 56, # Integer | Is an income or an outcome readonly: 56, # Integer | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + file: File.new('/path/to/file.txt'), # File | File of the document + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Edit a document result = api_instance.users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_put(id_user, id_account, id_transactions_cluster, id_document, opts) @@ -1040,32 +1040,32 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_account = 56 # Integer | id_transactions_cluster = 56 # Integer | -date = Date.parse("2013-10-20") # Date | Date of document +date = Date.parse('2013-10-20') # Date | Date of document -duedate = Date.parse("2013-10-20") # Date | Due date of document +duedate = Date.parse('2013-10-20') # Date | Due date of document opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: true, # BOOLEAN | Is an income or an outcome readonly: true, # BOOLEAN | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document + file: File.new('/path/to/file.txt'), # File | File of the document id_ocr: 56, # Integer | Related OCR process - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Add a new document result = api_instance.users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_post(id_user, id_account, id_transactions_cluster, date, duedate, opts) @@ -1130,20 +1130,20 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_account = 56 # Integer | id_transactions_cluster = 56 # Integer | id_document = 56 # Integer | id of the document you want to attach the file to opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Attach an existing document to a transaction or a transactions_cluster result = api_instance.users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_put(id_user, id_account, id_transactions_cluster, id_document, opts) @@ -1197,20 +1197,20 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_account = 56 # Integer | id_transaction = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete documents result = api_instance.users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_delete(id_user, id_connection, id_account, id_transaction, opts) @@ -1244,11 +1244,11 @@ - **Accept**: application/json # **users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_get** -> InlineResponse20026 users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_get(id_user, id_connection, id_account, id_transaction, opts) +> InlineResponse20028 users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_get(id_user, id_connection, id_account, id_transaction, opts) Get documents Get list of documents<br><br> @@ -1264,29 +1264,29 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_account = 56 # Integer | id_transaction = 56 # Integer | opts = { limit: 56, # Integer | limit number of results offset: 56, # Integer | offset of first result - min_date: Date.parse("2013-10-20"), # Date | minimal (inclusive) date - max_date: Date.parse("2013-10-20"), # Date | maximum (inclusive) date + min_date: Date.parse('2013-10-20'), # Date | minimal (inclusive) date + max_date: Date.parse('2013-10-20'), # Date | maximum (inclusive) date min_amount: 3.4, # Float | minimal (inclusive) amount - max_amount: 3.4, # Float | maximumd (inclusive) amount + max_amount: 3.4, # Float | maximum (inclusive) amount min_timestamp: 3.4, # Float | minimal (inclusive) timestamp - max_timestamp: 3.4, # Float | maximumd (inclusive) timestamp + max_timestamp: 3.4, # Float | maximum (inclusive) timestamp id_type: 56, # Integer | filter with a document type - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Get documents result = api_instance.users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_get(id_user, id_connection, id_account, id_transaction, opts) @@ -1307,19 +1307,19 @@ **limit** | **Integer**| limit number of results | [optional] **offset** | **Integer**| offset of first result | [optional] **min_date** | **Date**| minimal (inclusive) date | [optional] **max_date** | **Date**| maximum (inclusive) date | [optional] **min_amount** | **Float**| minimal (inclusive) amount | [optional] - **max_amount** | **Float**| maximumd (inclusive) amount | [optional] + **max_amount** | **Float**| maximum (inclusive) amount | [optional] **min_timestamp** | **Float**| minimal (inclusive) timestamp | [optional] - **max_timestamp** | **Float**| maximumd (inclusive) timestamp | [optional] + **max_timestamp** | **Float**| maximum (inclusive) timestamp | [optional] **id_type** | **Integer**| filter with a document type | [optional] **expand** | **String**| | [optional] ### Return type -[**InlineResponse20026**](InlineResponse20026.md) +[**InlineResponse20028**](InlineResponse20028.md) ### Authorization [api_key](../README.md#api_key) @@ -1349,22 +1349,22 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_account = 56 # Integer | id_transaction = 56 # Integer | id_document = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete a document result = api_instance.users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_id_document_delete(id_user, id_connection, id_account, id_transaction, id_document, opts) @@ -1419,11 +1419,11 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_account = 56 # Integer | @@ -1432,20 +1432,20 @@ id_document = 56 # Integer | opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category - date: Date.parse("2013-10-20"), # Date | Date of document - duedate: Date.parse("2013-10-20"), # Date | Due date of document + date: Date.parse('2013-10-20'), # Date | Date of document + duedate: Date.parse('2013-10-20'), # Date | Due date of document total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: 56, # Integer | Is an income or an outcome readonly: 56, # Integer | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + file: File.new('/path/to/file.txt'), # File | File of the document + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Edit a document result = api_instance.users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_id_document_put(id_user, id_connection, id_account, id_transaction, id_document, opts) @@ -1511,34 +1511,34 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_account = 56 # Integer | id_transaction = 56 # Integer | -date = Date.parse("2013-10-20") # Date | Date of document +date = Date.parse('2013-10-20') # Date | Date of document -duedate = Date.parse("2013-10-20") # Date | Due date of document +duedate = Date.parse('2013-10-20') # Date | Due date of document opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: true, # BOOLEAN | Is an income or an outcome readonly: true, # BOOLEAN | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document + file: File.new('/path/to/file.txt'), # File | File of the document id_ocr: 56, # Integer | Related OCR process - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Add a new document result = api_instance.users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_post(id_user, id_connection, id_account, id_transaction, date, duedate, opts) @@ -1604,22 +1604,22 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_account = 56 # Integer | id_transaction = 56 # Integer | id_document = 56 # Integer | id of the document you want to attach the file to opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Attach an existing document to a transaction or a transactions_cluster result = api_instance.users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_put(id_user, id_connection, id_account, id_transaction, id_document, opts) @@ -1674,20 +1674,20 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_account = 56 # Integer | id_transactions_cluster = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete documents result = api_instance.users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_delete(id_user, id_connection, id_account, id_transactions_cluster, opts) @@ -1721,11 +1721,11 @@ - **Accept**: application/json # **users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get** -> InlineResponse20026 users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get(id_user, id_connection, id_account, id_transactions_cluster, opts) +> InlineResponse20028 users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get(id_user, id_connection, id_account, id_transactions_cluster, opts) Get documents Get list of documents<br><br> @@ -1741,29 +1741,29 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_account = 56 # Integer | id_transactions_cluster = 56 # Integer | opts = { limit: 56, # Integer | limit number of results offset: 56, # Integer | offset of first result - min_date: Date.parse("2013-10-20"), # Date | minimal (inclusive) date - max_date: Date.parse("2013-10-20"), # Date | maximum (inclusive) date + min_date: Date.parse('2013-10-20'), # Date | minimal (inclusive) date + max_date: Date.parse('2013-10-20'), # Date | maximum (inclusive) date min_amount: 3.4, # Float | minimal (inclusive) amount - max_amount: 3.4, # Float | maximumd (inclusive) amount + max_amount: 3.4, # Float | maximum (inclusive) amount min_timestamp: 3.4, # Float | minimal (inclusive) timestamp - max_timestamp: 3.4, # Float | maximumd (inclusive) timestamp + max_timestamp: 3.4, # Float | maximum (inclusive) timestamp id_type: 56, # Integer | filter with a document type - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Get documents result = api_instance.users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get(id_user, id_connection, id_account, id_transactions_cluster, opts) @@ -1784,19 +1784,19 @@ **limit** | **Integer**| limit number of results | [optional] **offset** | **Integer**| offset of first result | [optional] **min_date** | **Date**| minimal (inclusive) date | [optional] **max_date** | **Date**| maximum (inclusive) date | [optional] **min_amount** | **Float**| minimal (inclusive) amount | [optional] - **max_amount** | **Float**| maximumd (inclusive) amount | [optional] + **max_amount** | **Float**| maximum (inclusive) amount | [optional] **min_timestamp** | **Float**| minimal (inclusive) timestamp | [optional] - **max_timestamp** | **Float**| maximumd (inclusive) timestamp | [optional] + **max_timestamp** | **Float**| maximum (inclusive) timestamp | [optional] **id_type** | **Integer**| filter with a document type | [optional] **expand** | **String**| | [optional] ### Return type -[**InlineResponse20026**](InlineResponse20026.md) +[**InlineResponse20028**](InlineResponse20028.md) ### Authorization [api_key](../README.md#api_key) @@ -1826,22 +1826,22 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_account = 56 # Integer | id_transactions_cluster = 56 # Integer | id_document = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete a document result = api_instance.users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_delete(id_user, id_connection, id_account, id_transactions_cluster, id_document, opts) @@ -1896,11 +1896,11 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_account = 56 # Integer | @@ -1909,20 +1909,20 @@ id_document = 56 # Integer | opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category - date: Date.parse("2013-10-20"), # Date | Date of document - duedate: Date.parse("2013-10-20"), # Date | Due date of document + date: Date.parse('2013-10-20'), # Date | Date of document + duedate: Date.parse('2013-10-20'), # Date | Due date of document total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: 56, # Integer | Is an income or an outcome readonly: 56, # Integer | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + file: File.new('/path/to/file.txt'), # File | File of the document + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Edit a document result = api_instance.users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_put(id_user, id_connection, id_account, id_transactions_cluster, id_document, opts) @@ -1988,34 +1988,34 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_account = 56 # Integer | id_transactions_cluster = 56 # Integer | -date = Date.parse("2013-10-20") # Date | Date of document +date = Date.parse('2013-10-20') # Date | Date of document -duedate = Date.parse("2013-10-20") # Date | Due date of document +duedate = Date.parse('2013-10-20') # Date | Due date of document opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: true, # BOOLEAN | Is an income or an outcome readonly: true, # BOOLEAN | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document + file: File.new('/path/to/file.txt'), # File | File of the document id_ocr: 56, # Integer | Related OCR process - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Add a new document result = api_instance.users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_post(id_user, id_connection, id_account, id_transactions_cluster, date, duedate, opts) @@ -2081,22 +2081,22 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_account = 56 # Integer | id_transactions_cluster = 56 # Integer | id_document = 56 # Integer | id of the document you want to attach the file to opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Attach an existing document to a transaction or a transactions_cluster result = api_instance.users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_put(id_user, id_connection, id_account, id_transactions_cluster, id_document, opts) @@ -2125,11 +2125,11 @@ [api_key](../README.md#api_key) ### HTTP request headers - - **Content-Type**: multipart/form-data + - **Content-Type**: application/x-www-form-urlencoded - **Accept**: application/json # **users_id_user_connections_id_connection_documents_delete** @@ -2151,16 +2151,16 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete documents result = api_instance.users_id_user_connections_id_connection_documents_delete(id_user, id_connection, opts) @@ -2192,11 +2192,11 @@ - **Accept**: application/json # **users_id_user_connections_id_connection_documents_get** -> InlineResponse20026 users_id_user_connections_id_connection_documents_get(id_user, id_connection, opts) +> InlineResponse20028 users_id_user_connections_id_connection_documents_get(id_user, id_connection, opts) Get documents Get list of documents<br><br> @@ -2212,25 +2212,25 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | opts = { limit: 56, # Integer | limit number of results offset: 56, # Integer | offset of first result - min_date: Date.parse("2013-10-20"), # Date | minimal (inclusive) date - max_date: Date.parse("2013-10-20"), # Date | maximum (inclusive) date + min_date: Date.parse('2013-10-20'), # Date | minimal (inclusive) date + max_date: Date.parse('2013-10-20'), # Date | maximum (inclusive) date min_amount: 3.4, # Float | minimal (inclusive) amount - max_amount: 3.4, # Float | maximumd (inclusive) amount + max_amount: 3.4, # Float | maximum (inclusive) amount min_timestamp: 3.4, # Float | minimal (inclusive) timestamp - max_timestamp: 3.4, # Float | maximumd (inclusive) timestamp + max_timestamp: 3.4, # Float | maximum (inclusive) timestamp id_type: 56, # Integer | filter with a document type - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Get documents result = api_instance.users_id_user_connections_id_connection_documents_get(id_user, id_connection, opts) @@ -2249,19 +2249,19 @@ **limit** | **Integer**| limit number of results | [optional] **offset** | **Integer**| offset of first result | [optional] **min_date** | **Date**| minimal (inclusive) date | [optional] **max_date** | **Date**| maximum (inclusive) date | [optional] **min_amount** | **Float**| minimal (inclusive) amount | [optional] - **max_amount** | **Float**| maximumd (inclusive) amount | [optional] + **max_amount** | **Float**| maximum (inclusive) amount | [optional] **min_timestamp** | **Float**| minimal (inclusive) timestamp | [optional] - **max_timestamp** | **Float**| maximumd (inclusive) timestamp | [optional] + **max_timestamp** | **Float**| maximum (inclusive) timestamp | [optional] **id_type** | **Integer**| filter with a document type | [optional] **expand** | **String**| | [optional] ### Return type -[**InlineResponse20026**](InlineResponse20026.md) +[**InlineResponse20028**](InlineResponse20028.md) ### Authorization [api_key](../README.md#api_key) @@ -2291,18 +2291,18 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_document = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete a document result = api_instance.users_id_user_connections_id_connection_documents_id_document_delete(id_user, id_connection, id_document, opts) @@ -2355,29 +2355,29 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_document = 56 # Integer | opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category - date: Date.parse("2013-10-20"), # Date | Date of document - duedate: Date.parse("2013-10-20"), # Date | Due date of document + date: Date.parse('2013-10-20'), # Date | Date of document + duedate: Date.parse('2013-10-20'), # Date | Due date of document total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: 56, # Integer | Is an income or an outcome readonly: 56, # Integer | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + file: File.new('/path/to/file.txt'), # File | File of the document + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Edit a document result = api_instance.users_id_user_connections_id_connection_documents_id_document_put(id_user, id_connection, id_document, opts) @@ -2441,30 +2441,30 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | -date = Date.parse("2013-10-20") # Date | Date of document +date = Date.parse('2013-10-20') # Date | Date of document -duedate = Date.parse("2013-10-20") # Date | Due date of document +duedate = Date.parse('2013-10-20') # Date | Due date of document opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: true, # BOOLEAN | Is an income or an outcome readonly: true, # BOOLEAN | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document + file: File.new('/path/to/file.txt'), # File | File of the document id_ocr: 56, # Integer | Related OCR process - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Add a new document result = api_instance.users_id_user_connections_id_connection_documents_post(id_user, id_connection, date, duedate, opts) @@ -2528,18 +2528,18 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_document = 56 # Integer | id of the document you want to attach the file to opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Attach an existing document to a transaction or a transactions_cluster result = api_instance.users_id_user_connections_id_connection_documents_put(id_user, id_connection, id_document, opts) @@ -2592,18 +2592,18 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_subscription = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete documents result = api_instance.users_id_user_connections_id_connection_subscriptions_id_subscription_documents_delete(id_user, id_connection, id_subscription, opts) @@ -2636,11 +2636,11 @@ - **Accept**: application/json # **users_id_user_connections_id_connection_subscriptions_id_subscription_documents_get** -> InlineResponse20026 users_id_user_connections_id_connection_subscriptions_id_subscription_documents_get(id_user, id_connection, id_subscription, opts) +> InlineResponse20028 users_id_user_connections_id_connection_subscriptions_id_subscription_documents_get(id_user, id_connection, id_subscription, opts) Get documents Get list of documents<br><br> @@ -2656,27 +2656,27 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_subscription = 56 # Integer | opts = { limit: 56, # Integer | limit number of results offset: 56, # Integer | offset of first result - min_date: Date.parse("2013-10-20"), # Date | minimal (inclusive) date - max_date: Date.parse("2013-10-20"), # Date | maximum (inclusive) date + min_date: Date.parse('2013-10-20'), # Date | minimal (inclusive) date + max_date: Date.parse('2013-10-20'), # Date | maximum (inclusive) date min_amount: 3.4, # Float | minimal (inclusive) amount - max_amount: 3.4, # Float | maximumd (inclusive) amount + max_amount: 3.4, # Float | maximum (inclusive) amount min_timestamp: 3.4, # Float | minimal (inclusive) timestamp - max_timestamp: 3.4, # Float | maximumd (inclusive) timestamp + max_timestamp: 3.4, # Float | maximum (inclusive) timestamp id_type: 56, # Integer | filter with a document type - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Get documents result = api_instance.users_id_user_connections_id_connection_subscriptions_id_subscription_documents_get(id_user, id_connection, id_subscription, opts) @@ -2696,19 +2696,19 @@ **limit** | **Integer**| limit number of results | [optional] **offset** | **Integer**| offset of first result | [optional] **min_date** | **Date**| minimal (inclusive) date | [optional] **max_date** | **Date**| maximum (inclusive) date | [optional] **min_amount** | **Float**| minimal (inclusive) amount | [optional] - **max_amount** | **Float**| maximumd (inclusive) amount | [optional] + **max_amount** | **Float**| maximum (inclusive) amount | [optional] **min_timestamp** | **Float**| minimal (inclusive) timestamp | [optional] - **max_timestamp** | **Float**| maximumd (inclusive) timestamp | [optional] + **max_timestamp** | **Float**| maximum (inclusive) timestamp | [optional] **id_type** | **Integer**| filter with a document type | [optional] **expand** | **String**| | [optional] ### Return type -[**InlineResponse20026**](InlineResponse20026.md) +[**InlineResponse20028**](InlineResponse20028.md) ### Authorization [api_key](../README.md#api_key) @@ -2738,20 +2738,20 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_subscription = 56 # Integer | id_document = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete a document result = api_instance.users_id_user_connections_id_connection_subscriptions_id_subscription_documents_id_document_delete(id_user, id_connection, id_subscription, id_document, opts) @@ -2805,31 +2805,31 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_subscription = 56 # Integer | id_document = 56 # Integer | opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category - date: Date.parse("2013-10-20"), # Date | Date of document - duedate: Date.parse("2013-10-20"), # Date | Due date of document + date: Date.parse('2013-10-20'), # Date | Date of document + duedate: Date.parse('2013-10-20'), # Date | Due date of document total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: 56, # Integer | Is an income or an outcome readonly: 56, # Integer | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + file: File.new('/path/to/file.txt'), # File | File of the document + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Edit a document result = api_instance.users_id_user_connections_id_connection_subscriptions_id_subscription_documents_id_document_put(id_user, id_connection, id_subscription, id_document, opts) @@ -2894,32 +2894,32 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_subscription = 56 # Integer | -date = Date.parse("2013-10-20") # Date | Date of document +date = Date.parse('2013-10-20') # Date | Date of document -duedate = Date.parse("2013-10-20") # Date | Due date of document +duedate = Date.parse('2013-10-20') # Date | Due date of document opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: true, # BOOLEAN | Is an income or an outcome readonly: true, # BOOLEAN | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document + file: File.new('/path/to/file.txt'), # File | File of the document id_ocr: 56, # Integer | Related OCR process - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Add a new document result = api_instance.users_id_user_connections_id_connection_subscriptions_id_subscription_documents_post(id_user, id_connection, id_subscription, date, duedate, opts) @@ -2984,20 +2984,20 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_subscription = 56 # Integer | id_document = 56 # Integer | id of the document you want to attach the file to opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Attach an existing document to a transaction or a transactions_cluster result = api_instance.users_id_user_connections_id_connection_subscriptions_id_subscription_documents_put(id_user, id_connection, id_subscription, id_document, opts) @@ -3051,18 +3051,18 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_transaction = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete documents result = api_instance.users_id_user_connections_id_connection_transactions_id_transaction_documents_delete(id_user, id_connection, id_transaction, opts) @@ -3095,11 +3095,11 @@ - **Accept**: application/json # **users_id_user_connections_id_connection_transactions_id_transaction_documents_get** -> InlineResponse20026 users_id_user_connections_id_connection_transactions_id_transaction_documents_get(id_user, id_connection, id_transaction, opts) +> InlineResponse20028 users_id_user_connections_id_connection_transactions_id_transaction_documents_get(id_user, id_connection, id_transaction, opts) Get documents Get list of documents<br><br> @@ -3115,27 +3115,27 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_transaction = 56 # Integer | opts = { limit: 56, # Integer | limit number of results offset: 56, # Integer | offset of first result - min_date: Date.parse("2013-10-20"), # Date | minimal (inclusive) date - max_date: Date.parse("2013-10-20"), # Date | maximum (inclusive) date + min_date: Date.parse('2013-10-20'), # Date | minimal (inclusive) date + max_date: Date.parse('2013-10-20'), # Date | maximum (inclusive) date min_amount: 3.4, # Float | minimal (inclusive) amount - max_amount: 3.4, # Float | maximumd (inclusive) amount + max_amount: 3.4, # Float | maximum (inclusive) amount min_timestamp: 3.4, # Float | minimal (inclusive) timestamp - max_timestamp: 3.4, # Float | maximumd (inclusive) timestamp + max_timestamp: 3.4, # Float | maximum (inclusive) timestamp id_type: 56, # Integer | filter with a document type - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Get documents result = api_instance.users_id_user_connections_id_connection_transactions_id_transaction_documents_get(id_user, id_connection, id_transaction, opts) @@ -3155,19 +3155,19 @@ **limit** | **Integer**| limit number of results | [optional] **offset** | **Integer**| offset of first result | [optional] **min_date** | **Date**| minimal (inclusive) date | [optional] **max_date** | **Date**| maximum (inclusive) date | [optional] **min_amount** | **Float**| minimal (inclusive) amount | [optional] - **max_amount** | **Float**| maximumd (inclusive) amount | [optional] + **max_amount** | **Float**| maximum (inclusive) amount | [optional] **min_timestamp** | **Float**| minimal (inclusive) timestamp | [optional] - **max_timestamp** | **Float**| maximumd (inclusive) timestamp | [optional] + **max_timestamp** | **Float**| maximum (inclusive) timestamp | [optional] **id_type** | **Integer**| filter with a document type | [optional] **expand** | **String**| | [optional] ### Return type -[**InlineResponse20026**](InlineResponse20026.md) +[**InlineResponse20028**](InlineResponse20028.md) ### Authorization [api_key](../README.md#api_key) @@ -3197,20 +3197,20 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_transaction = 56 # Integer | id_document = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete a document result = api_instance.users_id_user_connections_id_connection_transactions_id_transaction_documents_id_document_delete(id_user, id_connection, id_transaction, id_document, opts) @@ -3264,31 +3264,31 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_transaction = 56 # Integer | id_document = 56 # Integer | opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category - date: Date.parse("2013-10-20"), # Date | Date of document - duedate: Date.parse("2013-10-20"), # Date | Due date of document + date: Date.parse('2013-10-20'), # Date | Date of document + duedate: Date.parse('2013-10-20'), # Date | Due date of document total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: 56, # Integer | Is an income or an outcome readonly: 56, # Integer | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + file: File.new('/path/to/file.txt'), # File | File of the document + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Edit a document result = api_instance.users_id_user_connections_id_connection_transactions_id_transaction_documents_id_document_put(id_user, id_connection, id_transaction, id_document, opts) @@ -3353,32 +3353,32 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_transaction = 56 # Integer | -date = Date.parse("2013-10-20") # Date | Date of document +date = Date.parse('2013-10-20') # Date | Date of document -duedate = Date.parse("2013-10-20") # Date | Due date of document +duedate = Date.parse('2013-10-20') # Date | Due date of document opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: true, # BOOLEAN | Is an income or an outcome readonly: true, # BOOLEAN | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document + file: File.new('/path/to/file.txt'), # File | File of the document id_ocr: 56, # Integer | Related OCR process - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Add a new document result = api_instance.users_id_user_connections_id_connection_transactions_id_transaction_documents_post(id_user, id_connection, id_transaction, date, duedate, opts) @@ -3443,20 +3443,20 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_transaction = 56 # Integer | id_document = 56 # Integer | id of the document you want to attach the file to opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Attach an existing document to a transaction or a transactions_cluster result = api_instance.users_id_user_connections_id_connection_transactions_id_transaction_documents_put(id_user, id_connection, id_transaction, id_document, opts) @@ -3510,18 +3510,18 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_transactions_cluster = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete documents result = api_instance.users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_delete(id_user, id_connection, id_transactions_cluster, opts) @@ -3554,11 +3554,11 @@ - **Accept**: application/json # **users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_get** -> InlineResponse20026 users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_get(id_user, id_connection, id_transactions_cluster, opts) +> InlineResponse20028 users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_get(id_user, id_connection, id_transactions_cluster, opts) Get documents Get list of documents<br><br> @@ -3574,27 +3574,27 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_transactions_cluster = 56 # Integer | opts = { limit: 56, # Integer | limit number of results offset: 56, # Integer | offset of first result - min_date: Date.parse("2013-10-20"), # Date | minimal (inclusive) date - max_date: Date.parse("2013-10-20"), # Date | maximum (inclusive) date + min_date: Date.parse('2013-10-20'), # Date | minimal (inclusive) date + max_date: Date.parse('2013-10-20'), # Date | maximum (inclusive) date min_amount: 3.4, # Float | minimal (inclusive) amount - max_amount: 3.4, # Float | maximumd (inclusive) amount + max_amount: 3.4, # Float | maximum (inclusive) amount min_timestamp: 3.4, # Float | minimal (inclusive) timestamp - max_timestamp: 3.4, # Float | maximumd (inclusive) timestamp + max_timestamp: 3.4, # Float | maximum (inclusive) timestamp id_type: 56, # Integer | filter with a document type - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Get documents result = api_instance.users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_get(id_user, id_connection, id_transactions_cluster, opts) @@ -3614,19 +3614,19 @@ **limit** | **Integer**| limit number of results | [optional] **offset** | **Integer**| offset of first result | [optional] **min_date** | **Date**| minimal (inclusive) date | [optional] **max_date** | **Date**| maximum (inclusive) date | [optional] **min_amount** | **Float**| minimal (inclusive) amount | [optional] - **max_amount** | **Float**| maximumd (inclusive) amount | [optional] + **max_amount** | **Float**| maximum (inclusive) amount | [optional] **min_timestamp** | **Float**| minimal (inclusive) timestamp | [optional] - **max_timestamp** | **Float**| maximumd (inclusive) timestamp | [optional] + **max_timestamp** | **Float**| maximum (inclusive) timestamp | [optional] **id_type** | **Integer**| filter with a document type | [optional] **expand** | **String**| | [optional] ### Return type -[**InlineResponse20026**](InlineResponse20026.md) +[**InlineResponse20028**](InlineResponse20028.md) ### Authorization [api_key](../README.md#api_key) @@ -3656,20 +3656,20 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_transactions_cluster = 56 # Integer | id_document = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete a document result = api_instance.users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_id_document_delete(id_user, id_connection, id_transactions_cluster, id_document, opts) @@ -3723,31 +3723,31 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_transactions_cluster = 56 # Integer | id_document = 56 # Integer | opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category - date: Date.parse("2013-10-20"), # Date | Date of document - duedate: Date.parse("2013-10-20"), # Date | Due date of document + date: Date.parse('2013-10-20'), # Date | Date of document + duedate: Date.parse('2013-10-20'), # Date | Due date of document total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: 56, # Integer | Is an income or an outcome readonly: 56, # Integer | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + file: File.new('/path/to/file.txt'), # File | File of the document + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Edit a document result = api_instance.users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_id_document_put(id_user, id_connection, id_transactions_cluster, id_document, opts) @@ -3812,32 +3812,32 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_transactions_cluster = 56 # Integer | -date = Date.parse("2013-10-20") # Date | Date of document +date = Date.parse('2013-10-20') # Date | Date of document -duedate = Date.parse("2013-10-20") # Date | Due date of document +duedate = Date.parse('2013-10-20') # Date | Due date of document opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: true, # BOOLEAN | Is an income or an outcome readonly: true, # BOOLEAN | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document + file: File.new('/path/to/file.txt'), # File | File of the document id_ocr: 56, # Integer | Related OCR process - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Add a new document result = api_instance.users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_post(id_user, id_connection, id_transactions_cluster, date, duedate, opts) @@ -3902,20 +3902,20 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_connection = 56 # Integer | id_transactions_cluster = 56 # Integer | id_document = 56 # Integer | id of the document you want to attach the file to opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Attach an existing document to a transaction or a transactions_cluster result = api_instance.users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_put(id_user, id_connection, id_transactions_cluster, id_document, opts) @@ -3969,14 +3969,14 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete documents result = api_instance.users_id_user_documents_delete(id_user, opts) @@ -4007,11 +4007,11 @@ - **Accept**: application/json # **users_id_user_documents_get** -> InlineResponse20026 users_id_user_documents_get(id_user, opts) +> InlineResponse20028 users_id_user_documents_get(id_user, opts) Get documents Get list of documents<br><br> @@ -4027,23 +4027,23 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' opts = { limit: 56, # Integer | limit number of results offset: 56, # Integer | offset of first result - min_date: Date.parse("2013-10-20"), # Date | minimal (inclusive) date - max_date: Date.parse("2013-10-20"), # Date | maximum (inclusive) date + min_date: Date.parse('2013-10-20'), # Date | minimal (inclusive) date + max_date: Date.parse('2013-10-20'), # Date | maximum (inclusive) date min_amount: 3.4, # Float | minimal (inclusive) amount - max_amount: 3.4, # Float | maximumd (inclusive) amount + max_amount: 3.4, # Float | maximum (inclusive) amount min_timestamp: 3.4, # Float | minimal (inclusive) timestamp - max_timestamp: 3.4, # Float | maximumd (inclusive) timestamp + max_timestamp: 3.4, # Float | maximum (inclusive) timestamp id_type: 56, # Integer | filter with a document type - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Get documents result = api_instance.users_id_user_documents_get(id_user, opts) @@ -4061,19 +4061,19 @@ **limit** | **Integer**| limit number of results | [optional] **offset** | **Integer**| offset of first result | [optional] **min_date** | **Date**| minimal (inclusive) date | [optional] **max_date** | **Date**| maximum (inclusive) date | [optional] **min_amount** | **Float**| minimal (inclusive) amount | [optional] - **max_amount** | **Float**| maximumd (inclusive) amount | [optional] + **max_amount** | **Float**| maximum (inclusive) amount | [optional] **min_timestamp** | **Float**| minimal (inclusive) timestamp | [optional] - **max_timestamp** | **Float**| maximumd (inclusive) timestamp | [optional] + **max_timestamp** | **Float**| maximum (inclusive) timestamp | [optional] **id_type** | **Integer**| filter with a document type | [optional] **expand** | **String**| | [optional] ### Return type -[**InlineResponse20026**](InlineResponse20026.md) +[**InlineResponse20028**](InlineResponse20028.md) ### Authorization [api_key](../README.md#api_key) @@ -4103,16 +4103,16 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_document = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete a document result = api_instance.users_id_user_documents_id_document_delete(id_user, id_document, opts) @@ -4164,27 +4164,27 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_document = 56 # Integer | opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category - date: Date.parse("2013-10-20"), # Date | Date of document - duedate: Date.parse("2013-10-20"), # Date | Due date of document + date: Date.parse('2013-10-20'), # Date | Date of document + duedate: Date.parse('2013-10-20'), # Date | Due date of document total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: 56, # Integer | Is an income or an outcome readonly: 56, # Integer | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + file: File.new('/path/to/file.txt'), # File | File of the document + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Edit a document result = api_instance.users_id_user_documents_id_document_put(id_user, id_document, opts) @@ -4247,28 +4247,28 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' -date = Date.parse("2013-10-20") # Date | Date of document +date = Date.parse('2013-10-20') # Date | Date of document -duedate = Date.parse("2013-10-20") # Date | Due date of document +duedate = Date.parse('2013-10-20') # Date | Due date of document opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: true, # BOOLEAN | Is an income or an outcome readonly: true, # BOOLEAN | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document + file: File.new('/path/to/file.txt'), # File | File of the document id_ocr: 56, # Integer | Related OCR process - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Add a new document result = api_instance.users_id_user_documents_post(id_user, date, duedate, opts) @@ -4331,16 +4331,16 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_document = 56 # Integer | id of the document you want to attach the file to opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Attach an existing document to a transaction or a transactions_cluster result = api_instance.users_id_user_documents_put(id_user, id_document, opts) @@ -4392,17 +4392,17 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' -file = File.new("/path/to/file.txt") # File | File of the document +file = File.new('/path/to/file.txt') # File | File of the document opts = { id_transaction: 56, # Integer | Transaction used to help OCR to find data - name: "name_example" # String | Name of the document + name: 'name_example' # String | Name of the document } begin #Post an image with OCR api_instance.users_id_user_ocr_post(id_user, file, opts) @@ -4454,16 +4454,16 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_subscription = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete documents result = api_instance.users_id_user_subscriptions_id_subscription_documents_delete(id_user, id_subscription, opts) @@ -4495,11 +4495,11 @@ - **Accept**: application/json # **users_id_user_subscriptions_id_subscription_documents_get** -> InlineResponse20026 users_id_user_subscriptions_id_subscription_documents_get(id_user, id_subscription, opts) +> InlineResponse20028 users_id_user_subscriptions_id_subscription_documents_get(id_user, id_subscription, opts) Get documents Get list of documents<br><br> @@ -4515,25 +4515,25 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_subscription = 56 # Integer | opts = { limit: 56, # Integer | limit number of results offset: 56, # Integer | offset of first result - min_date: Date.parse("2013-10-20"), # Date | minimal (inclusive) date - max_date: Date.parse("2013-10-20"), # Date | maximum (inclusive) date + min_date: Date.parse('2013-10-20'), # Date | minimal (inclusive) date + max_date: Date.parse('2013-10-20'), # Date | maximum (inclusive) date min_amount: 3.4, # Float | minimal (inclusive) amount - max_amount: 3.4, # Float | maximumd (inclusive) amount + max_amount: 3.4, # Float | maximum (inclusive) amount min_timestamp: 3.4, # Float | minimal (inclusive) timestamp - max_timestamp: 3.4, # Float | maximumd (inclusive) timestamp + max_timestamp: 3.4, # Float | maximum (inclusive) timestamp id_type: 56, # Integer | filter with a document type - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Get documents result = api_instance.users_id_user_subscriptions_id_subscription_documents_get(id_user, id_subscription, opts) @@ -4552,19 +4552,19 @@ **limit** | **Integer**| limit number of results | [optional] **offset** | **Integer**| offset of first result | [optional] **min_date** | **Date**| minimal (inclusive) date | [optional] **max_date** | **Date**| maximum (inclusive) date | [optional] **min_amount** | **Float**| minimal (inclusive) amount | [optional] - **max_amount** | **Float**| maximumd (inclusive) amount | [optional] + **max_amount** | **Float**| maximum (inclusive) amount | [optional] **min_timestamp** | **Float**| minimal (inclusive) timestamp | [optional] - **max_timestamp** | **Float**| maximumd (inclusive) timestamp | [optional] + **max_timestamp** | **Float**| maximum (inclusive) timestamp | [optional] **id_type** | **Integer**| filter with a document type | [optional] **expand** | **String**| | [optional] ### Return type -[**InlineResponse20026**](InlineResponse20026.md) +[**InlineResponse20028**](InlineResponse20028.md) ### Authorization [api_key](../README.md#api_key) @@ -4594,18 +4594,18 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_subscription = 56 # Integer | id_document = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete a document result = api_instance.users_id_user_subscriptions_id_subscription_documents_id_document_delete(id_user, id_subscription, id_document, opts) @@ -4658,29 +4658,29 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_subscription = 56 # Integer | id_document = 56 # Integer | opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category - date: Date.parse("2013-10-20"), # Date | Date of document - duedate: Date.parse("2013-10-20"), # Date | Due date of document + date: Date.parse('2013-10-20'), # Date | Date of document + duedate: Date.parse('2013-10-20'), # Date | Due date of document total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: 56, # Integer | Is an income or an outcome readonly: 56, # Integer | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + file: File.new('/path/to/file.txt'), # File | File of the document + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Edit a document result = api_instance.users_id_user_subscriptions_id_subscription_documents_id_document_put(id_user, id_subscription, id_document, opts) @@ -4744,30 +4744,30 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_subscription = 56 # Integer | -date = Date.parse("2013-10-20") # Date | Date of document +date = Date.parse('2013-10-20') # Date | Date of document -duedate = Date.parse("2013-10-20") # Date | Due date of document +duedate = Date.parse('2013-10-20') # Date | Due date of document opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: true, # BOOLEAN | Is an income or an outcome readonly: true, # BOOLEAN | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document + file: File.new('/path/to/file.txt'), # File | File of the document id_ocr: 56, # Integer | Related OCR process - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Add a new document result = api_instance.users_id_user_subscriptions_id_subscription_documents_post(id_user, id_subscription, date, duedate, opts) @@ -4831,18 +4831,18 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_subscription = 56 # Integer | id_document = 56 # Integer | id of the document you want to attach the file to opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Attach an existing document to a transaction or a transactions_cluster result = api_instance.users_id_user_subscriptions_id_subscription_documents_put(id_user, id_subscription, id_document, opts) @@ -4869,11 +4869,11 @@ [api_key](../README.md#api_key) ### HTTP request headers - - **Content-Type**: multipart/form-data + - **Content-Type**: application/x-www-form-urlencoded - **Accept**: application/json # **users_id_user_transactions_id_transaction_documents_delete** @@ -4895,16 +4895,16 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_transaction = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete documents result = api_instance.users_id_user_transactions_id_transaction_documents_delete(id_user, id_transaction, opts) @@ -4936,11 +4936,11 @@ - **Accept**: application/json # **users_id_user_transactions_id_transaction_documents_get** -> InlineResponse20026 users_id_user_transactions_id_transaction_documents_get(id_user, id_transaction, opts) +> InlineResponse20028 users_id_user_transactions_id_transaction_documents_get(id_user, id_transaction, opts) Get documents Get list of documents<br><br> @@ -4956,25 +4956,25 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_transaction = 56 # Integer | opts = { limit: 56, # Integer | limit number of results offset: 56, # Integer | offset of first result - min_date: Date.parse("2013-10-20"), # Date | minimal (inclusive) date - max_date: Date.parse("2013-10-20"), # Date | maximum (inclusive) date + min_date: Date.parse('2013-10-20'), # Date | minimal (inclusive) date + max_date: Date.parse('2013-10-20'), # Date | maximum (inclusive) date min_amount: 3.4, # Float | minimal (inclusive) amount - max_amount: 3.4, # Float | maximumd (inclusive) amount + max_amount: 3.4, # Float | maximum (inclusive) amount min_timestamp: 3.4, # Float | minimal (inclusive) timestamp - max_timestamp: 3.4, # Float | maximumd (inclusive) timestamp + max_timestamp: 3.4, # Float | maximum (inclusive) timestamp id_type: 56, # Integer | filter with a document type - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Get documents result = api_instance.users_id_user_transactions_id_transaction_documents_get(id_user, id_transaction, opts) @@ -4993,19 +4993,19 @@ **limit** | **Integer**| limit number of results | [optional] **offset** | **Integer**| offset of first result | [optional] **min_date** | **Date**| minimal (inclusive) date | [optional] **max_date** | **Date**| maximum (inclusive) date | [optional] **min_amount** | **Float**| minimal (inclusive) amount | [optional] - **max_amount** | **Float**| maximumd (inclusive) amount | [optional] + **max_amount** | **Float**| maximum (inclusive) amount | [optional] **min_timestamp** | **Float**| minimal (inclusive) timestamp | [optional] - **max_timestamp** | **Float**| maximumd (inclusive) timestamp | [optional] + **max_timestamp** | **Float**| maximum (inclusive) timestamp | [optional] **id_type** | **Integer**| filter with a document type | [optional] **expand** | **String**| | [optional] ### Return type -[**InlineResponse20026**](InlineResponse20026.md) +[**InlineResponse20028**](InlineResponse20028.md) ### Authorization [api_key](../README.md#api_key) @@ -5035,18 +5035,18 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_transaction = 56 # Integer | id_document = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete a document result = api_instance.users_id_user_transactions_id_transaction_documents_id_document_delete(id_user, id_transaction, id_document, opts) @@ -5099,29 +5099,29 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_transaction = 56 # Integer | id_document = 56 # Integer | opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category - date: Date.parse("2013-10-20"), # Date | Date of document - duedate: Date.parse("2013-10-20"), # Date | Due date of document + date: Date.parse('2013-10-20'), # Date | Date of document + duedate: Date.parse('2013-10-20'), # Date | Due date of document total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: 56, # Integer | Is an income or an outcome readonly: 56, # Integer | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + file: File.new('/path/to/file.txt'), # File | File of the document + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Edit a document result = api_instance.users_id_user_transactions_id_transaction_documents_id_document_put(id_user, id_transaction, id_document, opts) @@ -5185,30 +5185,30 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_transaction = 56 # Integer | -date = Date.parse("2013-10-20") # Date | Date of document +date = Date.parse('2013-10-20') # Date | Date of document -duedate = Date.parse("2013-10-20") # Date | Due date of document +duedate = Date.parse('2013-10-20') # Date | Due date of document opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: true, # BOOLEAN | Is an income or an outcome readonly: true, # BOOLEAN | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document + file: File.new('/path/to/file.txt'), # File | File of the document id_ocr: 56, # Integer | Related OCR process - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Add a new document result = api_instance.users_id_user_transactions_id_transaction_documents_post(id_user, id_transaction, date, duedate, opts) @@ -5272,18 +5272,18 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_transaction = 56 # Integer | id_document = 56 # Integer | id of the document you want to attach the file to opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Attach an existing document to a transaction or a transactions_cluster result = api_instance.users_id_user_transactions_id_transaction_documents_put(id_user, id_transaction, id_document, opts) @@ -5310,11 +5310,11 @@ [api_key](../README.md#api_key) ### HTTP request headers - - **Content-Type**: multipart/form-data + - **Content-Type**: application/x-www-form-urlencoded - **Accept**: application/json # **users_id_user_transactionsclusters_id_transactions_cluster_documents_delete** @@ -5336,16 +5336,16 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_transactions_cluster = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete documents result = api_instance.users_id_user_transactionsclusters_id_transactions_cluster_documents_delete(id_user, id_transactions_cluster, opts) @@ -5377,11 +5377,11 @@ - **Accept**: application/json # **users_id_user_transactionsclusters_id_transactions_cluster_documents_get** -> InlineResponse20026 users_id_user_transactionsclusters_id_transactions_cluster_documents_get(id_user, id_transactions_cluster, opts) +> InlineResponse20028 users_id_user_transactionsclusters_id_transactions_cluster_documents_get(id_user, id_transactions_cluster, opts) Get documents Get list of documents<br><br> @@ -5397,25 +5397,25 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_transactions_cluster = 56 # Integer | opts = { limit: 56, # Integer | limit number of results offset: 56, # Integer | offset of first result - min_date: Date.parse("2013-10-20"), # Date | minimal (inclusive) date - max_date: Date.parse("2013-10-20"), # Date | maximum (inclusive) date + min_date: Date.parse('2013-10-20'), # Date | minimal (inclusive) date + max_date: Date.parse('2013-10-20'), # Date | maximum (inclusive) date min_amount: 3.4, # Float | minimal (inclusive) amount - max_amount: 3.4, # Float | maximumd (inclusive) amount + max_amount: 3.4, # Float | maximum (inclusive) amount min_timestamp: 3.4, # Float | minimal (inclusive) timestamp - max_timestamp: 3.4, # Float | maximumd (inclusive) timestamp + max_timestamp: 3.4, # Float | maximum (inclusive) timestamp id_type: 56, # Integer | filter with a document type - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Get documents result = api_instance.users_id_user_transactionsclusters_id_transactions_cluster_documents_get(id_user, id_transactions_cluster, opts) @@ -5434,19 +5434,19 @@ **limit** | **Integer**| limit number of results | [optional] **offset** | **Integer**| offset of first result | [optional] **min_date** | **Date**| minimal (inclusive) date | [optional] **max_date** | **Date**| maximum (inclusive) date | [optional] **min_amount** | **Float**| minimal (inclusive) amount | [optional] - **max_amount** | **Float**| maximumd (inclusive) amount | [optional] + **max_amount** | **Float**| maximum (inclusive) amount | [optional] **min_timestamp** | **Float**| minimal (inclusive) timestamp | [optional] - **max_timestamp** | **Float**| maximumd (inclusive) timestamp | [optional] + **max_timestamp** | **Float**| maximum (inclusive) timestamp | [optional] **id_type** | **Integer**| filter with a document type | [optional] **expand** | **String**| | [optional] ### Return type -[**InlineResponse20026**](InlineResponse20026.md) +[**InlineResponse20028**](InlineResponse20028.md) ### Authorization [api_key](../README.md#api_key) @@ -5476,18 +5476,18 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_transactions_cluster = 56 # Integer | id_document = 56 # Integer | opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Delete a document result = api_instance.users_id_user_transactionsclusters_id_transactions_cluster_documents_id_document_delete(id_user, id_transactions_cluster, id_document, opts) @@ -5540,29 +5540,29 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_transactions_cluster = 56 # Integer | id_document = 56 # Integer | opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category - date: Date.parse("2013-10-20"), # Date | Date of document - duedate: Date.parse("2013-10-20"), # Date | Due date of document + date: Date.parse('2013-10-20'), # Date | Date of document + duedate: Date.parse('2013-10-20'), # Date | Due date of document total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: 56, # Integer | Is an income or an outcome readonly: 56, # Integer | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + file: File.new('/path/to/file.txt'), # File | File of the document + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Edit a document result = api_instance.users_id_user_transactionsclusters_id_transactions_cluster_documents_id_document_put(id_user, id_transactions_cluster, id_document, opts) @@ -5626,30 +5626,30 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_transactions_cluster = 56 # Integer | -date = Date.parse("2013-10-20") # Date | Date of document +date = Date.parse('2013-10-20') # Date | Date of document -duedate = Date.parse("2013-10-20") # Date | Due date of document +duedate = Date.parse('2013-10-20') # Date | Due date of document opts = { id_type: 56, # Integer | Type of this document id_category: 56, # Integer | Related category total_amount: 3.4, # Float | Taxed amount untaxed_amount: 3.4, # Float | Untaxed amount vat: 3.4, # Float | VAT amount income: true, # BOOLEAN | Is an income or an outcome readonly: true, # BOOLEAN | Is this file readonly - file: File.new("/path/to/file.txt"), # File | File of the document + file: File.new('/path/to/file.txt'), # File | File of the document id_ocr: 56, # Integer | Related OCR process - name: "name_example", # String | Name of the document - expand: "expand_example" # String | + name: 'name_example', # String | Name of the document + expand: 'expand_example' # String | } begin #Add a new document result = api_instance.users_id_user_transactionsclusters_id_transactions_cluster_documents_post(id_user, id_transactions_cluster, date, duedate, opts) @@ -5713,18 +5713,18 @@ #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = BudgeaClient::DocumentsApi.new -id_user = "id_user_example" # String | Hint: you can use 'me' or 'all' +id_user = 'id_user_example' # String | Hint: you can use 'me' or 'all' id_transactions_cluster = 56 # Integer | id_document = 56 # Integer | id of the document you want to attach the file to opts = { - expand: "expand_example" # String | + expand: 'expand_example' # String | } begin #Attach an existing document to a transaction or a transactions_cluster result = api_instance.users_id_user_transactionsclusters_id_transactions_cluster_documents_put(id_user, id_transactions_cluster, id_document, opts) @@ -5751,10 +5751,10 @@ [api_key](../README.md#api_key) ### HTTP request headers - - **Content-Type**: multipart/form-data + - **Content-Type**: application/x-www-form-urlencoded - **Accept**: application/json