Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 27 additions & 6 deletions docs/Api/ArchiveApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ $apiInstance = new FattureInCloud\Api\ArchiveApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$create_archive_document_request = new \FattureInCloud\Model\CreateArchiveDocumentRequest; // \FattureInCloud\Model\CreateArchiveDocumentRequest | The Archive Document.
$company_id = 12345; // int | The ID of the company.
$create_archive_document_request = new \FattureInCloud\Model\CreateArchiveDocumentRequest; // \FattureInCloud\Model\CreateArchiveDocumentRequest | The Archive Document.

try {
$result = $apiInstance->createArchiveDocument($company_id, $create_archive_document_request);
print_r($result);
Expand Down Expand Up @@ -99,7 +101,9 @@ $apiInstance = new FattureInCloud\Api\ArchiveApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.
$company_id = 12345; // int | The ID of the company.
$document_id = 56; // int | The ID of the document.

try {
$apiInstance->deleteArchiveDocument($company_id, $document_id);
} catch (Exception $e) {
Expand Down Expand Up @@ -158,7 +162,11 @@ $apiInstance = new FattureInCloud\Api\ArchiveApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.
$company_id = 12345; // int | The ID of the company.
$document_id = 56; // int | The ID of the document.
$fields = 'fields_example'; // string | List of comma-separated fields.
$fieldset = 'fieldset_example'; // string | Name of the fieldset.

try {
$result = $apiInstance->getArchiveDocument($company_id, $document_id, $fields, $fieldset);
print_r($result);
Expand Down Expand Up @@ -220,7 +228,14 @@ $apiInstance = new FattureInCloud\Api\ArchiveApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).$page = 1; // int | The page to retrieve.$per_page = 5; // int | The size of the page.$q = 'q_example'; // string | Query for filtering the results.
$company_id = 12345; // int | The ID of the company.
$fields = 'fields_example'; // string | List of comma-separated fields.
$fieldset = 'fieldset_example'; // string | Name of the fieldset.
$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).
$page = 1; // int | The page to retrieve.
$per_page = 5; // int | The size of the page.
$q = 'q_example'; // string | Query for filtering the results.

try {
$result = $apiInstance->listArchiveDocuments($company_id, $fields, $fieldset, $sort, $page, $per_page, $q);
print_r($result);
Expand Down Expand Up @@ -285,7 +300,10 @@ $apiInstance = new FattureInCloud\Api\ArchiveApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.$modify_archive_document_request = new \FattureInCloud\Model\ModifyArchiveDocumentRequest; // \FattureInCloud\Model\ModifyArchiveDocumentRequest | Modified Archive Document
$company_id = 12345; // int | The ID of the company.
$document_id = 56; // int | The ID of the document.
$modify_archive_document_request = new \FattureInCloud\Model\ModifyArchiveDocumentRequest; // \FattureInCloud\Model\ModifyArchiveDocumentRequest | Modified Archive Document

try {
$result = $apiInstance->modifyArchiveDocument($company_id, $document_id, $modify_archive_document_request);
print_r($result);
Expand Down Expand Up @@ -346,7 +364,10 @@ $apiInstance = new FattureInCloud\Api\ArchiveApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$filename = 'filename_example'; // string | Attachment file name$attachment = "/path/to/file.txt"; // \SplFileObject | Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]
$company_id = 12345; // int | The ID of the company.
$filename = 'filename_example'; // string | Attachment file name
$attachment = "/path/to/file.txt"; // \SplFileObject | Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]

try {
$result = $apiInstance->uploadArchiveDocumentAttachment($company_id, $filename, $attachment);
print_r($result);
Expand Down
27 changes: 22 additions & 5 deletions docs/Api/CashbookApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ $apiInstance = new FattureInCloud\Api\CashbookApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$create_cashbook_entry_request = new \FattureInCloud\Model\CreateCashbookEntryRequest; // \FattureInCloud\Model\CreateCashbookEntryRequest | Cashbook entry.
$company_id = 12345; // int | The ID of the company.
$create_cashbook_entry_request = new \FattureInCloud\Model\CreateCashbookEntryRequest; // \FattureInCloud\Model\CreateCashbookEntryRequest | Cashbook entry.

try {
$result = $apiInstance->createCashbookEntry($company_id, $create_cashbook_entry_request);
print_r($result);
Expand Down Expand Up @@ -98,7 +100,9 @@ $apiInstance = new FattureInCloud\Api\CashbookApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$document_id = 'document_id_example'; // string | The ID of the document.
$company_id = 12345; // int | The ID of the company.
$document_id = 'document_id_example'; // string | The ID of the document.

try {
$apiInstance->deleteCashbookEntry($company_id, $document_id);
} catch (Exception $e) {
Expand Down Expand Up @@ -157,7 +161,11 @@ $apiInstance = new FattureInCloud\Api\CashbookApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$document_id = 'document_id_example'; // string | The ID of the document.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.
$company_id = 12345; // int | The ID of the company.
$document_id = 'document_id_example'; // string | The ID of the document.
$fields = 'fields_example'; // string | List of comma-separated fields.
$fieldset = 'fieldset_example'; // string | Name of the fieldset.

try {
$result = $apiInstance->getCashbookEntry($company_id, $document_id, $fields, $fieldset);
print_r($result);
Expand Down Expand Up @@ -219,7 +227,13 @@ $apiInstance = new FattureInCloud\Api\CashbookApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$date_from = 'date_from_example'; // string | Start date.$date_to = 'date_to_example'; // string | End date.$year = 56; // int | Filter cashbook by year.$type = 'type_example'; // string | Filter cashbook by type.$payment_account_id = 56; // int | Filter by payment account.
$company_id = 12345; // int | The ID of the company.
$date_from = 'date_from_example'; // string | Start date.
$date_to = 'date_to_example'; // string | End date.
$year = 56; // int | Filter cashbook by year.
$type = 'type_example'; // string | Filter cashbook by type.
$payment_account_id = 56; // int | Filter by payment account.

try {
$result = $apiInstance->listCashbookEntries($company_id, $date_from, $date_to, $year, $type, $payment_account_id);
print_r($result);
Expand Down Expand Up @@ -283,7 +297,10 @@ $apiInstance = new FattureInCloud\Api\CashbookApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$document_id = 'document_id_example'; // string | The ID of the document.$modify_cashbook_entry_request = new \FattureInCloud\Model\ModifyCashbookEntryRequest; // \FattureInCloud\Model\ModifyCashbookEntryRequest | Cashbook Entry
$company_id = 12345; // int | The ID of the company.
$document_id = 'document_id_example'; // string | The ID of the document.
$modify_cashbook_entry_request = new \FattureInCloud\Model\ModifyCashbookEntryRequest; // \FattureInCloud\Model\ModifyCashbookEntryRequest | Cashbook Entry

try {
$result = $apiInstance->modifyCashbookEntry($company_id, $document_id, $modify_cashbook_entry_request);
print_r($result);
Expand Down
28 changes: 23 additions & 5 deletions docs/Api/ClientsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ $apiInstance = new FattureInCloud\Api\ClientsApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$create_client_request = new \FattureInCloud\Model\CreateClientRequest; // \FattureInCloud\Model\CreateClientRequest | The client to create
$company_id = 12345; // int | The ID of the company.
$create_client_request = new \FattureInCloud\Model\CreateClientRequest; // \FattureInCloud\Model\CreateClientRequest | The client to create

try {
$result = $apiInstance->createClient($company_id, $create_client_request);
print_r($result);
Expand Down Expand Up @@ -98,7 +100,9 @@ $apiInstance = new FattureInCloud\Api\ClientsApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$client_id = 56; // int | The ID of the client.
$company_id = 12345; // int | The ID of the company.
$client_id = 56; // int | The ID of the client.

try {
$apiInstance->deleteClient($company_id, $client_id);
} catch (Exception $e) {
Expand Down Expand Up @@ -157,7 +161,11 @@ $apiInstance = new FattureInCloud\Api\ClientsApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$client_id = 56; // int | The ID of the client.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.
$company_id = 12345; // int | The ID of the company.
$client_id = 56; // int | The ID of the client.
$fields = 'fields_example'; // string | List of comma-separated fields.
$fieldset = 'fieldset_example'; // string | Name of the fieldset.

try {
$result = $apiInstance->getClient($company_id, $client_id, $fields, $fieldset);
print_r($result);
Expand Down Expand Up @@ -219,7 +227,14 @@ $apiInstance = new FattureInCloud\Api\ClientsApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).$page = 1; // int | The page to retrieve.$per_page = 5; // int | The size of the page.$q = 'q_example'; // string | Query for filtering the results.
$company_id = 12345; // int | The ID of the company.
$fields = 'fields_example'; // string | List of comma-separated fields.
$fieldset = 'fieldset_example'; // string | Name of the fieldset.
$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).
$page = 1; // int | The page to retrieve.
$per_page = 5; // int | The size of the page.
$q = 'q_example'; // string | Query for filtering the results.

try {
$result = $apiInstance->listClients($company_id, $fields, $fieldset, $sort, $page, $per_page, $q);
print_r($result);
Expand Down Expand Up @@ -284,7 +299,10 @@ $apiInstance = new FattureInCloud\Api\ClientsApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$client_id = 56; // int | The ID of the client.$modify_client_request = new \FattureInCloud\Model\ModifyClientRequest; // \FattureInCloud\Model\ModifyClientRequest | The modified Client. First level parameters are managed in delta mode.
$company_id = 12345; // int | The ID of the company.
$client_id = 56; // int | The ID of the client.
$modify_client_request = new \FattureInCloud\Model\ModifyClientRequest; // \FattureInCloud\Model\ModifyClientRequest | The modified Client. First level parameters are managed in delta mode.

try {
$result = $apiInstance->modifyClient($company_id, $client_id, $modify_client_request);
print_r($result);
Expand Down
7 changes: 5 additions & 2 deletions docs/Api/CompaniesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ $apiInstance = new FattureInCloud\Api\CompaniesApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$company_id = 12345; // int | The ID of the company.

try {
$result = $apiInstance->getCompanyInfo($company_id);
print_r($result);
Expand Down Expand Up @@ -94,7 +95,9 @@ $apiInstance = new FattureInCloud\Api\CompaniesApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$category = 'category_example'; // string | Category
$company_id = 12345; // int | The ID of the company.
$category = 'category_example'; // string | Category

try {
$result = $apiInstance->getCompanyPlanUsage($company_id, $category);
print_r($result);
Expand Down
3 changes: 2 additions & 1 deletion docs/Api/EmailsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ $apiInstance = new FattureInCloud\Api\EmailsApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$company_id = 12345; // int | The ID of the company.

try {
$result = $apiInstance->listEmails($company_id);
print_r($result);
Expand Down
52 changes: 36 additions & 16 deletions docs/Api/InfoApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ $apiInstance = new FattureInCloud\Api\InfoApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$company_id = 12345; // int | The ID of the company.

try {
$result = $apiInstance->listArchiveCategories($company_id);
print_r($result);
Expand Down Expand Up @@ -108,7 +109,9 @@ $apiInstance = new FattureInCloud\Api\InfoApi(
new GuzzleHttp\Client(),
$config
);
$postal_code = 'postal_code_example'; // string | Postal code for filtering.$city = 'city_example'; // string | City for filtering (ignored if postal_code is passed).
$postal_code = 'postal_code_example'; // string | Postal code for filtering.
$city = 'city_example'; // string | City for filtering (ignored if postal_code is passed).

try {
$result = $apiInstance->listCities($postal_code, $city);
print_r($result);
Expand Down Expand Up @@ -168,7 +171,8 @@ $apiInstance = new FattureInCloud\Api\InfoApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$company_id = 12345; // int | The ID of the company.

try {
$result = $apiInstance->listCostCenters($company_id);
print_r($result);
Expand Down Expand Up @@ -227,7 +231,7 @@ $apiInstance = new FattureInCloud\Api\InfoApi(
new GuzzleHttp\Client(),
$config
);

try {
$result = $apiInstance->listCountries();
print_r($result);
Expand Down Expand Up @@ -284,7 +288,7 @@ $apiInstance = new FattureInCloud\Api\InfoApi(
new GuzzleHttp\Client(),
$config
);

try {
$result = $apiInstance->listCurrencies();
print_r($result);
Expand Down Expand Up @@ -341,7 +345,7 @@ $apiInstance = new FattureInCloud\Api\InfoApi(
new GuzzleHttp\Client(),
$config
);

try {
$result = $apiInstance->listDeliveryNotesDefaultCausals();
print_r($result);
Expand Down Expand Up @@ -398,7 +402,7 @@ $apiInstance = new FattureInCloud\Api\InfoApi(
new GuzzleHttp\Client(),
$config
);

try {
$result = $apiInstance->listDetailedCountries();
print_r($result);
Expand Down Expand Up @@ -455,7 +459,7 @@ $apiInstance = new FattureInCloud\Api\InfoApi(
new GuzzleHttp\Client(),
$config
);

try {
$result = $apiInstance->listLanguages();
print_r($result);
Expand Down Expand Up @@ -512,7 +516,11 @@ $apiInstance = new FattureInCloud\Api\InfoApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).
$company_id = 12345; // int | The ID of the company.
$fields = 'fields_example'; // string | List of comma-separated fields.
$fieldset = 'fieldset_example'; // string | Name of the fieldset.
$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).

try {
$result = $apiInstance->listPaymentAccounts($company_id, $fields, $fieldset, $sort);
print_r($result);
Expand Down Expand Up @@ -574,7 +582,11 @@ $apiInstance = new FattureInCloud\Api\InfoApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).
$company_id = 12345; // int | The ID of the company.
$fields = 'fields_example'; // string | List of comma-separated fields.
$fieldset = 'fieldset_example'; // string | Name of the fieldset.
$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).

try {
$result = $apiInstance->listPaymentMethods($company_id, $fields, $fieldset, $sort);
print_r($result);
Expand Down Expand Up @@ -636,7 +648,9 @@ $apiInstance = new FattureInCloud\Api\InfoApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$context = 'context_example'; // string | Categories resource type.
$company_id = 12345; // int | The ID of the company.
$context = 'context_example'; // string | Categories resource type.

try {
$result = $apiInstance->listProductCategories($company_id, $context);
print_r($result);
Expand Down Expand Up @@ -696,7 +710,8 @@ $apiInstance = new FattureInCloud\Api\InfoApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$company_id = 12345; // int | The ID of the company.

try {
$result = $apiInstance->listReceivedDocumentCategories($company_id);
print_r($result);
Expand Down Expand Up @@ -755,7 +770,8 @@ $apiInstance = new FattureInCloud\Api\InfoApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$company_id = 12345; // int | The ID of the company.

try {
$result = $apiInstance->listRevenueCenters($company_id);
print_r($result);
Expand Down Expand Up @@ -814,7 +830,9 @@ $apiInstance = new FattureInCloud\Api\InfoApi(
new GuzzleHttp\Client(),
$config
);
$type = 'all'; // string | Type of the templates.$by_type = false; // bool | [Only if type=all] If true, splits the list in objects, grouping templates by type.
$type = 'all'; // string | Type of the templates.
$by_type = false; // bool | [Only if type=all] If true, splits the list in objects, grouping templates by type.

try {
$result = $apiInstance->listTemplates($type, $by_type);
print_r($result);
Expand Down Expand Up @@ -874,7 +892,7 @@ $apiInstance = new FattureInCloud\Api\InfoApi(
new GuzzleHttp\Client(),
$config
);

try {
$result = $apiInstance->listUnitsOfMeasure();
print_r($result);
Expand Down Expand Up @@ -931,7 +949,9 @@ $apiInstance = new FattureInCloud\Api\InfoApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.$fieldset = 'fieldset_example'; // string | Name of the fieldset.
$company_id = 12345; // int | The ID of the company.
$fieldset = 'fieldset_example'; // string | Name of the fieldset.

try {
$result = $apiInstance->listVatTypes($company_id, $fieldset);
print_r($result);
Expand Down
Loading