diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-09-23 17:17:28 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-09-23 17:17:28 +0200 |
| commit | 7682da81ff4c775eca048aaf0586593fb159cb85 (patch) | |
| tree | e310245e136b21e15696ffee2756cc6f49f6ae73 /crates/rocie-client/docs | |
| parent | feat(scripts/generate_api_client.sh): Make the API better by configuring the ... (diff) | |
| download | server-7682da81ff4c775eca048aaf0586593fb159cb85.zip | |
chore(crates/rocie-client): Regenerate
Diffstat (limited to 'crates/rocie-client/docs')
| -rw-r--r-- | crates/rocie-client/docs/ApiGetInventoryApi.md | 2 | ||||
| -rw-r--r-- | crates/rocie-client/docs/ApiGetProductApi.md | 2 | ||||
| -rw-r--r-- | crates/rocie-client/docs/ApiGetUnitApi.md | 2 | ||||
| -rw-r--r-- | crates/rocie-client/docs/ApiSetBarcodeApi.md | 4 | ||||
| -rw-r--r-- | crates/rocie-client/docs/ApiSetProductApi.md | 6 | ||||
| -rw-r--r-- | crates/rocie-client/docs/ApiSetUnitApi.md | 4 | ||||
| -rw-r--r-- | crates/rocie-client/docs/Barcode.md | 2 | ||||
| -rw-r--r-- | crates/rocie-client/docs/BarcodeId.md | 11 | ||||
| -rw-r--r-- | crates/rocie-client/docs/Product.md | 2 | ||||
| -rw-r--r-- | crates/rocie-client/docs/ProductAmount.md | 2 | ||||
| -rw-r--r-- | crates/rocie-client/docs/ProductId.md | 11 | ||||
| -rw-r--r-- | crates/rocie-client/docs/ProductStub.md | 2 | ||||
| -rw-r--r-- | crates/rocie-client/docs/Unit.md | 2 | ||||
| -rw-r--r-- | crates/rocie-client/docs/UnitAmount.md | 4 | ||||
| -rw-r--r-- | crates/rocie-client/docs/UnitId.md | 11 |
15 files changed, 50 insertions, 17 deletions
diff --git a/crates/rocie-client/docs/ApiGetInventoryApi.md b/crates/rocie-client/docs/ApiGetInventoryApi.md index 0310b96..92a53f9 100644 --- a/crates/rocie-client/docs/ApiGetInventoryApi.md +++ b/crates/rocie-client/docs/ApiGetInventoryApi.md @@ -18,7 +18,7 @@ Get the amount of an product Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **uuid::Uuid** | Product id | [required] | +**id** | [**ProductId**](.md) | Product id | [required] | ### Return type diff --git a/crates/rocie-client/docs/ApiGetProductApi.md b/crates/rocie-client/docs/ApiGetProductApi.md index 58955c6..bc991c5 100644 --- a/crates/rocie-client/docs/ApiGetProductApi.md +++ b/crates/rocie-client/docs/ApiGetProductApi.md @@ -19,7 +19,7 @@ Get Product by id Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **uuid::Uuid** | Product id | [required] | +**id** | [**ProductId**](.md) | Product id | [required] | ### Return type diff --git a/crates/rocie-client/docs/ApiGetUnitApi.md b/crates/rocie-client/docs/ApiGetUnitApi.md index 3ac44c0..f539aec 100644 --- a/crates/rocie-client/docs/ApiGetUnitApi.md +++ b/crates/rocie-client/docs/ApiGetUnitApi.md @@ -19,7 +19,7 @@ Get Unit by id Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **uuid::Uuid** | Unit id | [required] | +**id** | [**UnitId**](.md) | Unit id | [required] | ### Return type diff --git a/crates/rocie-client/docs/ApiSetBarcodeApi.md b/crates/rocie-client/docs/ApiSetBarcodeApi.md index 2075bb9..d77fa6d 100644 --- a/crates/rocie-client/docs/ApiSetBarcodeApi.md +++ b/crates/rocie-client/docs/ApiSetBarcodeApi.md @@ -19,7 +19,7 @@ Buy an barcode Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **i32** | The numeric value of the barcode | [required] | +**id** | [**BarcodeId**](.md) | The numeric value of the barcode | [required] | ### Return type @@ -47,7 +47,7 @@ Consume an barcode Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **i32** | The numeric value of the barcode | [required] | +**id** | [**BarcodeId**](.md) | The numeric value of the barcode | [required] | **unit_amount** | [**UnitAmount**](UnitAmount.md) | | [required] | ### Return type diff --git a/crates/rocie-client/docs/ApiSetProductApi.md b/crates/rocie-client/docs/ApiSetProductApi.md index 6166887..bb4ca4e 100644 --- a/crates/rocie-client/docs/ApiSetProductApi.md +++ b/crates/rocie-client/docs/ApiSetProductApi.md @@ -19,7 +19,7 @@ Associate a barcode with a product Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **uuid::Uuid** | The id of the product to associated the barcode with | [required] | +**id** | [**ProductId**](.md) | The id of the product to associated the barcode with | [required] | **barcode** | [**Barcode**](Barcode.md) | | [required] | ### Return type @@ -40,7 +40,7 @@ No authorization required ## register_product -> uuid::Uuid register_product(product_stub) +> models::ProductId register_product(product_stub) Register a product ### Parameters @@ -52,7 +52,7 @@ Name | Type | Description | Required | Notes ### Return type -[**uuid::Uuid**](uuid::Uuid.md) +[**models::ProductId**](ProductId.md) ### Authorization diff --git a/crates/rocie-client/docs/ApiSetUnitApi.md b/crates/rocie-client/docs/ApiSetUnitApi.md index 6d6d397..ebe8e5c 100644 --- a/crates/rocie-client/docs/ApiSetUnitApi.md +++ b/crates/rocie-client/docs/ApiSetUnitApi.md @@ -10,7 +10,7 @@ Method | HTTP request | Description ## register_unit -> uuid::Uuid register_unit(unit_stub) +> models::UnitId register_unit(unit_stub) Register an Unit ### Parameters @@ -22,7 +22,7 @@ Name | Type | Description | Required | Notes ### Return type -[**uuid::Uuid**](uuid::Uuid.md) +[**models::UnitId**](UnitId.md) ### Authorization diff --git a/crates/rocie-client/docs/Barcode.md b/crates/rocie-client/docs/Barcode.md index 7e6f4fb..622b82d 100644 --- a/crates/rocie-client/docs/Barcode.md +++ b/crates/rocie-client/docs/Barcode.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **amount** | [**models::UnitAmount**](UnitAmount.md) | | -**id** | **i32** | | +**id** | [**models::BarcodeId**](BarcodeId.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/crates/rocie-client/docs/BarcodeId.md b/crates/rocie-client/docs/BarcodeId.md new file mode 100644 index 0000000..630e07f --- /dev/null +++ b/crates/rocie-client/docs/BarcodeId.md @@ -0,0 +1,11 @@ +# BarcodeId + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | **u32** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/crates/rocie-client/docs/Product.md b/crates/rocie-client/docs/Product.md index 3995429..6f0f914 100644 --- a/crates/rocie-client/docs/Product.md +++ b/crates/rocie-client/docs/Product.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **associated_bar_codes** | [**Vec<models::Barcode>**](Barcode.md) | | **description** | Option<**String**> | | [optional] -**id** | [**uuid::Uuid**](uuid::Uuid.md) | | +**id** | [**models::ProductId**](ProductId.md) | | **name** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/crates/rocie-client/docs/ProductAmount.md b/crates/rocie-client/docs/ProductAmount.md index d6e869c..ac5d9cc 100644 --- a/crates/rocie-client/docs/ProductAmount.md +++ b/crates/rocie-client/docs/ProductAmount.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **amount** | [**models::UnitAmount**](UnitAmount.md) | | -**product_id** | [**uuid::Uuid**](uuid::Uuid.md) | | +**product_id** | [**models::ProductId**](ProductId.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/crates/rocie-client/docs/ProductId.md b/crates/rocie-client/docs/ProductId.md new file mode 100644 index 0000000..90dc866 --- /dev/null +++ b/crates/rocie-client/docs/ProductId.md @@ -0,0 +1,11 @@ +# ProductId + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | [**uuid::Uuid**](uuid::Uuid.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/crates/rocie-client/docs/ProductStub.md b/crates/rocie-client/docs/ProductStub.md index d0b0db8..4d4ffde 100644 --- a/crates/rocie-client/docs/ProductStub.md +++ b/crates/rocie-client/docs/ProductStub.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | Option<**String**> | | [optional] **name** | **String** | | -**parent** | Option<[**uuid::Uuid**](uuid::Uuid.md)> | | [optional] +**parent** | Option<[**models::ProductId**](ProductId.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/crates/rocie-client/docs/Unit.md b/crates/rocie-client/docs/Unit.md index 9fb95a5..5e86ab3 100644 --- a/crates/rocie-client/docs/Unit.md +++ b/crates/rocie-client/docs/Unit.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **description** | Option<**String**> | | [optional] **full_name_plural** | **String** | | **full_name_singular** | **String** | | -**id** | [**uuid::Uuid**](uuid::Uuid.md) | | +**id** | [**models::UnitId**](UnitId.md) | | **short_name** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/crates/rocie-client/docs/UnitAmount.md b/crates/rocie-client/docs/UnitAmount.md index f0c1b5f..1546f57 100644 --- a/crates/rocie-client/docs/UnitAmount.md +++ b/crates/rocie-client/docs/UnitAmount.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**unit** | [**uuid::Uuid**](uuid::Uuid.md) | | -**value** | **i64** | | +**unit** | [**models::UnitId**](UnitId.md) | | +**value** | **u32** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/crates/rocie-client/docs/UnitId.md b/crates/rocie-client/docs/UnitId.md new file mode 100644 index 0000000..7d0979c --- /dev/null +++ b/crates/rocie-client/docs/UnitId.md @@ -0,0 +1,11 @@ +# UnitId + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | [**uuid::Uuid**](uuid::Uuid.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + |
