From 234395c942433ac11bd6e1195d369c0f8c11e288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20COLL?= Date: Wed, 28 Aug 2024 17:43:54 +0200 Subject: [PATCH] feat(swagger): upgrade the api --- README.md | 4 ++++ swagger.yml | 18 +++++++++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 77553cd..69e7a46 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,7 @@ ![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/hiit-consulting-fr/ipaidthat-proxy) Java client to access iPaidThat Api + +## Documentation + +La documentation de l'API est disponible sur le site [iPaidThat](https://ipaidthat.io/inv/api/v3/redoc/) \ No newline at end of file diff --git a/swagger.yml b/swagger.yml index 8b1af42..b134ec2 100644 --- a/swagger.yml +++ b/swagger.yml @@ -865,8 +865,8 @@ definitions: type: integer readOnly: true payment_delay: - title: Retard de paiement - description: Définira automatiquement la date d'échéance x jours après la date de la facture. Une valeur de 0 ne fixera pas automatiquement la date d'échéance. + title: Échéance manuelle + description: Calcul de la date d'échéance en nombre de jours après l'émission de la facture. Laissez ce champs à 0 pour privilégier la méthode de calcul automatique définit dans le profil de facturation. type: integer maximum: 65535 minimum: 0 @@ -892,9 +892,11 @@ definitions: type: string enum: - invoice + - credit - quote - order - - credit + - delivery + - proforma - other title: title: Titre @@ -933,11 +935,11 @@ definitions: type: string maxLength: 30 sender: - title: Paramètres + title: Profil type: integer x-nullable: true customer: - title: Clients + title: Client type: integer x-nullable: true draft: @@ -954,8 +956,14 @@ definitions: enum: - draft - updating + - validated - not paid + - partially paid + - past due - paid + - canceled + - accepted + - rejected paid: title: Paid type: boolean