1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 07:02:34 +01:00
invoiceninja/app/Http/Controllers/OpenAPI/ActivitySchema.php
2022-08-11 10:47:34 +10:00

24 lines
2.0 KiB
PHP

<?php
/**
* @OA\Schema(
* schema="Activity",
* type="object",
* @OA\Property(property="id", type="string", example="Opnel5aKBz", description="The id field of the activity"),
* @OA\Property(property="activity_type_id", type="string", example="Opnel5aKBz", description="The activity type id"),
* @OA\Property(property="client_id", type="string", example="Opnel5aKBz", description="The client hashed id"),
* @OA\Property(property="company_id", type="string", example="Opnel5aKBz", description="The company hashed id"),
* @OA\Property(property="user_id", type="string", example="Opnel5aKBz", description="The user hashed id"),
* @OA\Property(property="invoice_id", type="string", example="Opnel5aKBz", description="The invoice hashed id"),
* @OA\Property(property="payment_id", type="string", example="Opnel5aKBz", description="The payment hashed id"),
* @OA\Property(property="credit_id", type="string", example="Opnel5aKBz", description="The credit hashed id"),
* @OA\Property(property="updated_at", type="integer", example="343421434", description="Unixtimestamp the last time the record was updated"),
* @OA\Property(property="expense_id", type="string", example="Opnel5aKBz", description="The expense hashed id"),
* @OA\Property(property="is_system", type="boolean", example=true, description="Defines is the activity was performed by the system"),
* @OA\Property(property="contact_id", type="string", example="Opnel5aKBz", description="The contact hashed id"),
* @OA\Property(property="task_id", type="string", example="Opnel5aKBz", description="The task hashed id"),
* @OA\Property(property="notes", type="string", example="Opnel5aKBz", description="Activity Notes"),
* @OA\Property(property="token_id", type="string", example="Opnel5aKBz", description="The hashed ID of the token who performed the action"),
* @OA\Property(property="ip", type="string", example="192.168.1.252", description="The IP Address of the user who performed the action"),
* )
*/