{
    "swagger": "2.0",
    "info": {
        "title": "wannapaych",
        "description": "API",
        "version": "299"
    },
    "host": "api.wannapay.ch",
    "basePath": "\/",
    "schemes": [
        "https"
    ],
    "consumes": [
        "application\/json",
        "multipart\/form-data",
        "application\/x-www-form-urlencoded"
    ],
    "produces": [
        "application\/json"
    ],
    "tags": [
        {
            "name": "CompositionItem"
        },
        {
            "name": "Composition"
        },
        {
            "name": "Configuration"
        },
        {
            "name": "Credential"
        },
        {
            "name": "Customer"
        },
        {
            "name": "Email"
        },
        {
            "name": "Faq"
        },
        {
            "name": "FaqQuestion"
        },
        {
            "name": "File"
        },
        {
            "name": "Idask"
        },
        {
            "name": "InvoiceQuote"
        },
        {
            "name": "InvoiceQuoteItem"
        },
        {
            "name": "Log"
        },
        {
            "name": "Page"
        },
        {
            "name": "Payment"
        },
        {
            "name": "Plan"
        },
        {
            "name": "Signature"
        },
        {
            "name": "Subscription"
        },
        {
            "name": "User"
        },
        {
            "name": "UserPurchase"
        },
        {
            "name": "UserRequest"
        }
    ],
    "paths": {
        "\/CompositionItem": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/CompositionItem"
                            }
                        }
                    }
                },
                "tags": [
                    "CompositionItem"
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/CompositionItem"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "CompositionItem"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/CompositionItem\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/CompositionItem"
                        }
                    }
                },
                "tags": [
                    "CompositionItem"
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/CompositionItem"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "CompositionItem"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "CompositionItem"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Composition": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/Composition"
                            }
                        }
                    }
                },
                "tags": [
                    "Composition"
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Composition"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Composition"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Composition\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/Composition"
                        }
                    }
                },
                "tags": [
                    "Composition"
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Composition"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Composition"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Composition"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Composition\/{id}\/sendComposition": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "summary": "\t * Send composition to client: generate token, create sub-modules, activate items, send email",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/Composition\/{id}\/validateToken": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "token",
                        "in": "formData",
                        "required": true,
                        "type": "string"
                    }
                ],
                "summary": "\t * Validate token for public access",
                "responses": {
                    "200": {
                        "schema": {
                            "$ref": {
                                "type": "array"
                            }
                        }
                    }
                }
            }
        },
        "\/Composition\/{id}\/completeItem": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item_unique_id",
                        "in": "formData",
                        "required": true,
                        "type": "string"
                    }
                ],
                "summary": "\t * Mark a composition item as completed and activate next (sequential)",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/Composition\/{id}\/recalculateStatus": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "summary": "\t * Recalculate global_status based on items. If all completed, send final emails.",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/Composition\/{id}\/cancelComposition": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "summary": "\t * Cancel composition and all pending\/active items",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/Configuration": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/Configuration"
                            }
                        }
                    }
                },
                "tags": [
                    "Configuration"
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Configuration"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Configuration"
                ]
            }
        },
        "\/Configuration\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/Configuration"
                        }
                    }
                },
                "tags": [
                    "Configuration"
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Configuration"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Configuration"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Configuration"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Configuration\/{id}\/contact": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "token",
                        "in": "formData",
                        "required": true,
                        "type": "string"
                    },
                    {
                        "name": "type",
                        "in": "formData",
                        "required": true,
                        "type": "string"
                    }
                ],
                "summary": "Send contact form",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/Credential": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/Credential"
                            }
                        }
                    }
                },
                "tags": [
                    "Credential"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Credential"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Credential"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Credential\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/Credential"
                        }
                    }
                },
                "tags": [
                    "Credential"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Credential"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Credential"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Credential"
                ]
            }
        },
        "\/Customer": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/Customer"
                            }
                        }
                    }
                },
                "tags": [
                    "Customer"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Customer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Customer"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Customer\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/Customer"
                        }
                    }
                },
                "tags": [
                    "Customer"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Customer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Customer"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Customer"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Email": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/Email"
                            }
                        }
                    }
                },
                "tags": [
                    "Email"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Email"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Email"
                ]
            }
        },
        "\/Email\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/Email"
                        }
                    }
                },
                "tags": [
                    "Email"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Email"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Email"
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Email"
                ]
            }
        },
        "\/Email\/{id}\/send": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "token",
                        "in": "formData",
                        "required": true,
                        "type": "string"
                    }
                ],
                "summary": "Send an email",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/Faq": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/Faq"
                            }
                        }
                    }
                },
                "tags": [
                    "Faq"
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Faq"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Faq"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Faq\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/Faq"
                        }
                    }
                },
                "tags": [
                    "Faq"
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Faq"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Faq"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Faq"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/FaqQuestion": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/FaqQuestion"
                            }
                        }
                    }
                },
                "tags": [
                    "FaqQuestion"
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/FaqQuestion"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "FaqQuestion"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/FaqQuestion\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/FaqQuestion"
                        }
                    }
                },
                "tags": [
                    "FaqQuestion"
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/FaqQuestion"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "FaqQuestion"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "FaqQuestion"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/File": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/File"
                            }
                        }
                    }
                },
                "tags": [
                    "File"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "post": {
                "summary": "Create",
                "consumes": [
                    "multipart\\\/form-data"
                ],
                "parameters": [
                    {
                        "name": "file",
                        "in": "formData",
                        "description": "File to upload",
                        "required": true,
                        "type": "file"
                    },
                    {
                        "name": "type",
                        "in": "formData",
                        "description": "Type of file",
                        "required": true,
                        "type": "string"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Full file infos.",
                        "schema": {
                            "$ref": "#\/definitions\/File"
                        }
                    }
                },
                "tags": [
                    "File"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/File\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/File"
                        }
                    }
                },
                "tags": [
                    "File"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "File"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Idask": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/Idask"
                            }
                        }
                    }
                },
                "tags": [
                    "Idask"
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Idask"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Idask"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Idask\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/Idask"
                        }
                    }
                },
                "tags": [
                    "Idask"
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Idask"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Idask"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Idask"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Idask\/{id}\/receiveDocuments": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "file_ids",
                        "in": "formData",
                        "required": true,
                        "type": "string"
                    }
                ],
                "summary": "\t * Receive identity documents from the public LINK app"
            }
        },
        "\/InvoiceQuote": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/InvoiceQuote"
                            }
                        }
                    }
                },
                "tags": [
                    "InvoiceQuote"
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/InvoiceQuote"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "InvoiceQuote"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/InvoiceQuote\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/InvoiceQuote"
                        }
                    }
                },
                "tags": [
                    "InvoiceQuote"
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/InvoiceQuote"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "InvoiceQuote"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "InvoiceQuote"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/InvoiceQuote\/{id}\/cleanIQ": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "summary": "\t * Clean IQ items before update",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/InvoiceQuote\/{id}\/generatePDF": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "summary": "\t * Generate PDF for preview",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/InvoiceQuote\/{id}\/performAction": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "action",
                        "in": "formData",
                        "required": true,
                        "type": "string"
                    }
                ],
                "summary": "\t * Perform Action",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/InvoiceQuoteItem": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/InvoiceQuoteItem"
                            }
                        }
                    }
                },
                "tags": [
                    "InvoiceQuoteItem"
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/InvoiceQuoteItem"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "InvoiceQuoteItem"
                ]
            }
        },
        "\/InvoiceQuoteItem\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/InvoiceQuoteItem"
                        }
                    }
                },
                "tags": [
                    "InvoiceQuoteItem"
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/InvoiceQuoteItem"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "InvoiceQuoteItem"
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "InvoiceQuoteItem"
                ]
            }
        },
        "\/Log": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/Log"
                            }
                        }
                    }
                },
                "tags": [
                    "Log"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Log"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Log"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Log\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/Log"
                        }
                    }
                },
                "tags": [
                    "Log"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Log"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Log"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Log"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Page": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/Page"
                            }
                        }
                    }
                },
                "tags": [
                    "Page"
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Page"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Page"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Page\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/Page"
                        }
                    }
                },
                "tags": [
                    "Page"
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Page"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Page"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Page"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Payment": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/Payment"
                            }
                        }
                    }
                },
                "tags": [
                    "Payment"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Payment"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Payment"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Payment\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/Payment"
                        }
                    }
                },
                "tags": [
                    "Payment"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Payment"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Payment"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Payment"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Payment\/{id}\/sendNotification": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "type",
                        "in": "formData",
                        "required": true,
                        "type": "string"
                    }
                ],
                "summary": "\t * Send notification for current Payment",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/Plan": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/Plan"
                            }
                        }
                    }
                },
                "tags": [
                    "Plan"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Plan"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Plan"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Plan\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/Plan"
                        }
                    }
                },
                "tags": [
                    "Plan"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Plan"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Plan"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Plan"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Signature": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/Signature"
                            }
                        }
                    }
                },
                "tags": [
                    "Signature"
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Signature"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Signature"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Signature\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/Signature"
                        }
                    }
                },
                "tags": [
                    "Signature"
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Signature"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Signature"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Signature"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Signature\/{id}\/saveCoordinates": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "coordinates",
                        "in": "formData",
                        "required": true,
                        "type": "string"
                    }
                ],
                "summary": "Save coordinates and mark as ready",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/Signature\/{id}\/sendSignatureRequest": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "summary": "Send signature request email to client",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/Signature\/{id}\/validateToken": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "token",
                        "in": "formData",
                        "required": true,
                        "type": "string"
                    }
                ],
                "summary": "Validate token for public access (called from LINK)",
                "responses": {
                    "200": {
                        "schema": {
                            "$ref": {
                                "type": "array"
                            }
                        }
                    }
                }
            }
        },
        "\/Signature\/{id}\/applySignature": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "token",
                        "in": "formData",
                        "required": true,
                        "type": "string"
                    },
                    {
                        "name": "signature_image_url",
                        "in": "formData",
                        "required": true,
                        "type": "string"
                    }
                ],
                "summary": "Apply signature: receive image, overlay on PDF, produce final doc",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/Signature\/{id}\/cancelRequest": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "summary": "Cancel a signature request",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/Signature\/{id}\/resendSignatureRequest": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "summary": "Resend signature request (generate new token)",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/Signature\/{id}\/sendSignedPdf": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "summary": "Resend signed PDF to client by email",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/Subscription": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/Subscription"
                            }
                        }
                    }
                },
                "tags": [
                    "Subscription"
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Subscription"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Subscription"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/Subscription\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/Subscription"
                        }
                    }
                },
                "tags": [
                    "Subscription"
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/Subscription"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Subscription"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "Subscription"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/User": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/User"
                            }
                        }
                    }
                },
                "tags": [
                    "User"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/User"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "User"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/User\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/User"
                        }
                    }
                },
                "tags": [
                    "User"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/User"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "User"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "User"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/me": {
            "get": {
                "summary": "Read current logged user infos",
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/User"
                        }
                    }
                },
                "tags": [
                    "User"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "put": {
                "summary": "Update current logged user infos",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/User"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "User"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "delete": {
                "summary": "Delete current logged user",
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "User"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/User\/{id}\/changePassword": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "password",
                        "in": "formData",
                        "required": true,
                        "type": "string"
                    },
                    {
                        "name": "key",
                        "in": "formData",
                        "required": true,
                        "type": "string"
                    }
                ],
                "summary": "Update user's password",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/User\/{id}\/sendOtp": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "summary": "Update user's password",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/User\/{id}\/generateUUID": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "summary": "Generate UUID",
                "responses": {
                    "200": {
                        "schema": {
                            "$ref": {
                                "type": "array"
                            }
                        }
                    }
                }
            }
        },
        "\/User\/{id}\/getWebhook": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "user_unique_id",
                        "in": "formData",
                        "required": true,
                        "type": "string"
                    }
                ],
                "summary": "Get or Generate Web Hook for the account",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/User\/{id}\/searchCustomer": {
            "patch": {
                "consumes": [
                    "application\/x-www-form-urlencoded"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "search",
                        "in": "formData",
                        "required": true,
                        "type": "string"
                    }
                ],
                "summary": "Search existing customer",
                "responses": {
                    "200": {
                        "description": "Generic response",
                        "schema": {
                            "$ref": "#\/definitions\/BooleanResponse"
                        }
                    }
                }
            }
        },
        "\/UserPurchase": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/UserPurchase"
                            }
                        }
                    }
                },
                "tags": [
                    "UserPurchase"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/UserPurchase"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "UserPurchase"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/UserPurchase\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/UserPurchase"
                        }
                    }
                },
                "tags": [
                    "UserPurchase"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/UserPurchase"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "UserPurchase"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "UserPurchase"
                ]
            }
        },
        "\/UserRequest": {
            "get": {
                "summary": "Read many elements",
                "parameters": [
                    {
                        "name": "fields",
                        "in": "query",
                        "description": "The fields of the object you want to get",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "The limit and offset to apply to query results. (ex: 2000, 1000 gives items from 2000 to 3000)",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "order",
                        "in": "query",
                        "description": "The order clause to apply to the query",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "filter",
                        "in": "query",
                        "description": "Filters to be applied. AND condition",
                        "required": false,
                        "type": "array",
                        "collectionFormat": "multi",
                        "items": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of items",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#\/definitions\/UserRequest"
                            }
                        }
                    }
                },
                "tags": [
                    "UserRequest"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "post": {
                "summary": "Create",
                "parameters": [
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Item to create.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/UserRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Identifier of created item.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "UserRequest"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            }
        },
        "\/UserRequest\/{id}": {
            "get": {
                "summary": "Read one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Requested item.",
                        "schema": {
                            "$ref": "#\/definitions\/UserRequest"
                        }
                    }
                },
                "tags": [
                    "UserRequest"
                ],
                "security": [
                    {
                        "basicAuth": []
                    }
                ]
            },
            "put": {
                "summary": "Update one item",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    },
                    {
                        "name": "item",
                        "in": "body",
                        "description": "Properties of item to update.",
                        "required": true,
                        "schema": {
                            "$ref": "#\/definitions\/UserRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "UserRequest"
                ]
            },
            "delete": {
                "summary": "Delete one element",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Identifier for item.",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Number of affected rows.",
                        "schema": {
                            "$ref": "#\/definitions\/IntegerResponse"
                        }
                    }
                },
                "tags": [
                    "UserRequest"
                ]
            }
        }
    },
    "definitions": {
        "BooleanResponse": {
            "type": "object",
            "properties": {
                "value": {
                    "type": "boolean"
                }
            }
        },
        "StringResponse": {
            "type": "object",
            "properties": {
                "value": {
                    "type": "string"
                }
            }
        },
        "IntegerResponse": {
            "type": "object",
            "properties": {
                "value": {
                    "type": "integer"
                }
            }
        },
        "NumberResponse": {
            "type": "object",
            "properties": {
                "value": {
                    "type": "number"
                }
            }
        },
        "CompositionItem": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "unique_id": {
                    "type": "string"
                },
                "composition_id": {
                    "type": "string"
                },
                "module_type": {
                    "type": "string"
                },
                "module_reference_id": {
                    "type": "string"
                },
                "execution_order": {
                    "type": "integer"
                },
                "status": {
                    "type": "string"
                },
                "configuration_json": {
                    "type": "string"
                },
                "creation_date": {
                    "type": "string",
                    "format": "date-time"
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "boolean"
                }
            },
            "required": [
                "id",
                "unique_id",
                "composition_id",
                "module_type",
                "execution_order",
                "status",
                "configuration_json",
                "creation_date",
                "change_dt",
                "deleted"
            ]
        },
        "Composition": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "unique_id": {
                    "type": "string"
                },
                "user_unique_id": {
                    "type": "string"
                },
                "customer_id": {
                    "type": "string"
                },
                "title": {
                    "type": "string"
                },
                "description": {
                    "type": "string"
                },
                "first_name": {
                    "type": "string"
                },
                "last_name": {
                    "type": "string"
                },
                "email": {
                    "type": "string"
                },
                "contact_phone": {
                    "type": "string"
                },
                "execution_mode": {
                    "type": "string"
                },
                "global_status": {
                    "type": "string"
                },
                "token": {
                    "type": "string"
                },
                "token_expiry": {
                    "type": "string",
                    "format": "date-time"
                },
                "sent_at": {
                    "type": "string",
                    "format": "date-time"
                },
                "completed_at": {
                    "type": "string",
                    "format": "date-time"
                },
                "creation_date": {
                    "type": "string",
                    "format": "date-time"
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "boolean"
                }
            },
            "required": [
                "id",
                "unique_id",
                "user_unique_id",
                "title",
                "first_name",
                "email",
                "execution_mode",
                "global_status",
                "creation_date",
                "change_dt",
                "deleted"
            ]
        },
        "Configuration": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "integer"
                }
            },
            "required": [
                "id",
                "change_dt",
                "deleted"
            ]
        },
        "Credential": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "user_unique_id": {
                    "type": "string"
                },
                "identifier": {
                    "type": "string"
                },
                "password": {
                    "type": "string"
                },
                "platform": {
                    "type": "string"
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "creation_date": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "integer"
                }
            },
            "required": [
                "id",
                "user_unique_id",
                "platform",
                "change_dt",
                "creation_date",
                "deleted"
            ]
        },
        "Customer": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "unique_id": {
                    "type": "string"
                },
                "user_unique_id": {
                    "type": "string"
                },
                "customer_type": {
                    "type": "string"
                },
                "society_name": {
                    "type": "string"
                },
                "siret": {
                    "type": "string"
                },
                "tva_intra": {
                    "type": "string"
                },
                "first_name": {
                    "type": "string"
                },
                "last_name": {
                    "type": "string"
                },
                "address": {
                    "type": "string"
                },
                "zipcode": {
                    "type": "string"
                },
                "city": {
                    "type": "string"
                },
                "country": {
                    "type": "string"
                },
                "email": {
                    "type": "string"
                },
                "phone": {
                    "type": "string"
                },
                "creation_date": {
                    "type": "string",
                    "format": "date-time"
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "integer"
                }
            },
            "required": [
                "id",
                "unique_id",
                "user_unique_id",
                "customer_type",
                "address",
                "zipcode",
                "city",
                "country",
                "creation_date",
                "change_dt",
                "deleted"
            ]
        },
        "Email": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "subject": {
                    "type": "string"
                },
                "content": {
                    "type": "string"
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "integer"
                }
            },
            "required": [
                "id",
                "subject",
                "content",
                "change_dt",
                "deleted"
            ]
        },
        "Faq": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "name": {
                    "type": "string"
                },
                "slug": {
                    "type": "string"
                },
                "position": {
                    "type": "integer"
                },
                "is_team": {
                    "type": "integer"
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "integer"
                }
            },
            "required": [
                "id",
                "name",
                "slug",
                "position",
                "is_team",
                "change_dt",
                "deleted"
            ]
        },
        "FaqQuestion": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "faq_id": {
                    "type": "integer"
                },
                "question": {
                    "type": "string"
                },
                "answer": {
                    "type": "string"
                },
                "position": {
                    "type": "integer"
                },
                "is_fav": {
                    "type": "integer"
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "integer"
                }
            },
            "required": [
                "id",
                "faq_id",
                "question",
                "answer",
                "position",
                "is_fav",
                "change_dt",
                "deleted"
            ]
        },
        "File": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "uuid": {
                    "type": "string"
                },
                "type": {
                    "type": "string"
                },
                "item_id": {
                    "type": "string"
                },
                "file_name": {
                    "type": "string"
                },
                "url": {
                    "type": "string"
                },
                "md5": {
                    "type": "string"
                },
                "sha1": {
                    "type": "string"
                },
                "mime": {
                    "type": "string"
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "integer"
                }
            },
            "required": [
                "id",
                "type",
                "file_name",
                "url",
                "mime",
                "change_dt",
                "deleted"
            ]
        },
        "Idask": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "unique_id": {
                    "type": "string"
                },
                "user_unique_id": {
                    "type": "string"
                },
                "first_name": {
                    "type": "string"
                },
                "last_name": {
                    "type": "string"
                },
                "email": {
                    "type": "string"
                },
                "contact_phone": {
                    "type": "string"
                },
                "document_type": {
                    "type": "string"
                },
                "ask_for_selfie": {
                    "type": "integer"
                },
                "comment": {
                    "type": "string"
                },
                "is_sent": {
                    "type": "integer"
                },
                "is_received": {
                    "type": "integer"
                },
                "received_date": {
                    "type": "string",
                    "format": "date-time"
                },
                "files": {
                    "type": "string"
                },
                "creation_date": {
                    "type": "string",
                    "format": "date-time"
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "integer"
                }
            },
            "required": [
                "id",
                "unique_id",
                "user_unique_id",
                "first_name",
                "last_name",
                "email",
                "contact_phone",
                "document_type",
                "ask_for_selfie",
                "is_sent",
                "is_received",
                "creation_date",
                "change_dt",
                "deleted"
            ]
        },
        "InvoiceQuote": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "unique_id": {
                    "type": "string"
                },
                "user_unique_id": {
                    "type": "string"
                },
                "customer_unique_id": {
                    "type": "string"
                },
                "type": {
                    "type": "string"
                },
                "invoice_quote_number": {
                    "type": "string"
                },
                "state": {
                    "type": "string"
                },
                "is_sent": {
                    "type": "integer"
                },
                "sender_society_name": {
                    "type": "string"
                },
                "sender_address": {
                    "type": "string"
                },
                "sender_zipcode": {
                    "type": "string"
                },
                "sender_city": {
                    "type": "string"
                },
                "sender_country": {
                    "type": "string"
                },
                "sender_phone": {
                    "type": "string"
                },
                "sender_email": {
                    "type": "string"
                },
                "customer_type": {
                    "type": "string"
                },
                "client_society_name": {
                    "type": "string"
                },
                "client_tva": {
                    "type": "string"
                },
                "client_siret": {
                    "type": "string"
                },
                "client_first_name": {
                    "type": "string"
                },
                "client_last_name": {
                    "type": "string"
                },
                "client_address": {
                    "type": "string"
                },
                "client_zipcode": {
                    "type": "string"
                },
                "client_city": {
                    "type": "string"
                },
                "client_country": {
                    "type": "string"
                },
                "client_email": {
                    "type": "string"
                },
                "client_phone": {
                    "type": "string"
                },
                "subtotal": {
                    "type": "integer"
                },
                "total_discounts": {
                    "type": "integer"
                },
                "vat_amount": {
                    "type": "integer"
                },
                "total": {
                    "type": "integer"
                },
                "validity_date": {
                    "type": "string",
                    "format": "date-time"
                },
                "finalization_date": {
                    "type": "string",
                    "format": "date-time"
                },
                "file_url": {
                    "type": "string"
                },
                "payment_state": {
                    "type": "string"
                },
                "partial_amount_received": {
                    "type": "integer"
                },
                "creation_date": {
                    "type": "string",
                    "format": "date-time"
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "integer"
                }
            },
            "required": [
                "id",
                "unique_id",
                "user_unique_id",
                "customer_unique_id",
                "type",
                "state",
                "is_sent",
                "sender_address",
                "sender_zipcode",
                "sender_city",
                "sender_country",
                "sender_phone",
                "sender_email",
                "customer_type",
                "client_first_name",
                "client_address",
                "client_zipcode",
                "client_city",
                "client_country",
                "client_email",
                "subtotal",
                "vat_amount",
                "total",
                "payment_state",
                "creation_date",
                "change_dt",
                "deleted"
            ]
        },
        "InvoiceQuoteItem": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "quote_unique_id": {
                    "type": "string"
                },
                "description": {
                    "type": "string"
                },
                "quantity": {
                    "type": "integer"
                },
                "unit_price": {
                    "type": "integer"
                },
                "discount": {
                    "type": "integer"
                },
                "discount_type": {
                    "type": "string"
                },
                "price_excl": {
                    "type": "integer"
                },
                "price_incl": {
                    "type": "integer"
                },
                "creation_date": {
                    "type": "string",
                    "format": "date-time"
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "integer"
                }
            },
            "required": [
                "id",
                "quote_unique_id",
                "description",
                "quantity",
                "unit_price",
                "price_excl",
                "price_incl",
                "creation_date",
                "change_dt",
                "deleted"
            ]
        },
        "Log": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "user_id": {
                    "type": "integer"
                },
                "action": {
                    "type": "string"
                },
                "type": {
                    "type": "string"
                },
                "item_id": {
                    "type": "string"
                },
                "link": {
                    "type": "string"
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "integer"
                }
            },
            "required": [
                "id",
                "user_id",
                "action",
                "change_dt",
                "deleted"
            ]
        },
        "Page": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "title": {
                    "type": "string"
                },
                "slug": {
                    "type": "string"
                },
                "content": {
                    "type": "string"
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "integer"
                }
            },
            "required": [
                "id",
                "title",
                "slug",
                "content",
                "change_dt",
                "deleted"
            ]
        },
        "Payment": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "unique_id": {
                    "type": "string"
                },
                "user_unique_id": {
                    "type": "string"
                },
                "amount": {
                    "type": "integer"
                },
                "state": {
                    "type": "string"
                },
                "type": {
                    "type": "string"
                },
                "first_name": {
                    "type": "string"
                },
                "last_name": {
                    "type": "string"
                },
                "email": {
                    "type": "string"
                },
                "contact_phone": {
                    "type": "string"
                },
                "reference": {
                    "type": "string"
                },
                "society_name": {
                    "type": "string"
                },
                "comment": {
                    "type": "string"
                },
                "is_captured": {
                    "type": "integer"
                },
                "amount_captured": {
                    "type": "integer"
                },
                "capture_expiration": {
                    "type": "string",
                    "format": "date-time"
                },
                "free_date": {
                    "type": "string",
                    "format": "date-time"
                },
                "payment_intent_id": {
                    "type": "string"
                },
                "is_sent": {
                    "type": "integer"
                },
                "event": {
                    "type": "string"
                },
                "receipt_url": {
                    "type": "string"
                },
                "creation_date": {
                    "type": "string",
                    "format": "date-time"
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "integer"
                }
            },
            "required": [
                "id",
                "unique_id",
                "user_unique_id",
                "amount",
                "state",
                "type",
                "first_name",
                "last_name",
                "email",
                "contact_phone",
                "reference",
                "is_captured",
                "is_sent",
                "creation_date",
                "change_dt",
                "deleted"
            ]
        },
        "Plan": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "name": {
                    "type": "string"
                },
                "slug": {
                    "type": "string"
                },
                "type": {
                    "type": "string"
                },
                "price": {
                    "type": "integer"
                },
                "content": {
                    "type": "string"
                },
                "is_main": {
                    "type": "integer"
                },
                "purchase_description": {
                    "type": "string"
                },
                "stripe_product_id": {
                    "type": "string"
                },
                "configuration_fees": {
                    "type": "integer"
                },
                "percentage_per_booking": {
                    "type": "integer"
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "integer"
                }
            },
            "required": [
                "id",
                "name",
                "slug",
                "type",
                "price",
                "content",
                "is_main",
                "configuration_fees",
                "percentage_per_booking",
                "change_dt",
                "deleted"
            ]
        },
        "Signature": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "unique_id": {
                    "type": "string"
                },
                "user_unique_id": {
                    "type": "string"
                },
                "document_type": {
                    "type": "string"
                },
                "is_sent": {
                    "type": "integer"
                },
                "is_received": {
                    "type": "integer"
                },
                "state": {
                    "type": "string"
                },
                "sent_at": {
                    "type": "string",
                    "format": "date-time"
                },
                "first_viewed_at": {
                    "type": "string",
                    "format": "date-time"
                },
                "token": {
                    "type": "string"
                },
                "token_expiry": {
                    "type": "string",
                    "format": "date-time"
                },
                "original_file_id": {
                    "type": "integer"
                },
                "original_file_uuid": {
                    "type": "string"
                },
                "original_file_url": {
                    "type": "string"
                },
                "coordinates": {
                    "type": "string"
                },
                "final_file_url": {
                    "type": "string"
                },
                "signature_image_url": {
                    "type": "string"
                },
                "signer_ip": {
                    "type": "string"
                },
                "signer_user_agent": {
                    "type": "string"
                },
                "receiver_name": {
                    "type": "string"
                },
                "email": {
                    "type": "string"
                },
                "phone": {
                    "type": "string"
                },
                "comment": {
                    "type": "string"
                },
                "signature_date": {
                    "type": "string",
                    "format": "date-time"
                },
                "creation_date": {
                    "type": "string",
                    "format": "date-time"
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "integer"
                }
            },
            "required": [
                "id",
                "unique_id",
                "user_unique_id",
                "document_type",
                "is_sent",
                "is_received",
                "state",
                "original_file_id",
                "original_file_uuid",
                "original_file_url",
                "receiver_name",
                "creation_date",
                "change_dt",
                "deleted"
            ]
        },
        "Subscription": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "unique_id": {
                    "type": "string"
                },
                "user_unique_id": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "description": {
                    "type": "string"
                },
                "product_id": {
                    "type": "string"
                },
                "prices_list": {
                    "type": "string"
                },
                "ask_for_phone": {
                    "type": "integer"
                },
                "trial_period": {
                    "type": "integer"
                },
                "creation_date": {
                    "type": "string",
                    "format": "date-time"
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "integer"
                }
            },
            "required": [
                "id",
                "unique_id",
                "user_unique_id",
                "name",
                "product_id",
                "prices_list",
                "ask_for_phone",
                "trial_period",
                "creation_date",
                "change_dt",
                "deleted"
            ]
        },
        "User": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "stripe_id": {
                    "type": "string"
                },
                "unique_id": {
                    "type": "string"
                },
                "email": {
                    "type": "string"
                },
                "password": {
                    "type": "string"
                },
                "first_name": {
                    "type": "string"
                },
                "last_name": {
                    "type": "string"
                },
                "society_name": {
                    "type": "string"
                },
                "society_email": {
                    "type": "string"
                },
                "address": {
                    "type": "string"
                },
                "zipcode": {
                    "type": "string"
                },
                "city": {
                    "type": "string"
                },
                "country": {
                    "type": "string"
                },
                "contact_phone": {
                    "type": "string"
                },
                "website": {
                    "type": "string"
                },
                "che": {
                    "type": "string"
                },
                "vat": {
                    "type": "integer"
                },
                "logo_id": {
                    "type": "integer"
                },
                "logo_filename": {
                    "type": "string"
                },
                "logo_url": {
                    "type": "string"
                },
                "main_color": {
                    "type": "string"
                },
                "public_phone": {
                    "type": "string"
                },
                "cgu_link": {
                    "type": "string"
                },
                "bought_plan": {
                    "type": "integer"
                },
                "quotes_validity_duration": {
                    "type": "integer"
                },
                "quotes_prefix": {
                    "type": "string"
                },
                "invoices_prefix": {
                    "type": "string"
                },
                "quotes_start_counter": {
                    "type": "integer"
                },
                "invoices_start_counter": {
                    "type": "integer"
                },
                "quotes_conclusion_text": {
                    "type": "string"
                },
                "invoices_conclusion_text": {
                    "type": "string"
                },
                "otp": {
                    "type": "integer"
                },
                "next_otp_notification": {
                    "type": "string",
                    "format": "date-time"
                },
                "is_activated": {
                    "type": "integer"
                },
                "is_setup": {
                    "type": "integer"
                },
                "access_level": {
                    "type": "integer"
                },
                "member_until": {
                    "type": "string",
                    "format": "date-time"
                },
                "creation_date": {
                    "type": "string",
                    "format": "date-time"
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "integer"
                }
            },
            "required": [
                "id",
                "email",
                "password",
                "first_name",
                "last_name",
                "vat",
                "quotes_validity_duration",
                "quotes_start_counter",
                "invoices_start_counter",
                "otp",
                "is_activated",
                "is_setup"
            ]
        },
        "UserPurchase": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "user_unique_id": {
                    "type": "string"
                },
                "transaction_id": {
                    "type": "string"
                },
                "event": {
                    "type": "string"
                },
                "nb_annonces": {
                    "type": "integer"
                },
                "period_start": {
                    "type": "string"
                },
                "period_end": {
                    "type": "string"
                },
                "customer_id": {
                    "type": "string"
                },
                "bought_plan": {
                    "type": "integer"
                },
                "creation_date": {
                    "type": "string",
                    "format": "date-time"
                },
                "change_dt": {
                    "type": "string",
                    "format": "date-time"
                },
                "deleted": {
                    "type": "integer"
                }
            },
            "required": [
                "id",
                "transaction_id",
                "event",
                "period_start",
                "period_end",
                "customer_id",
                "bought_plan",
                "creation_date",
                "change_dt",
                "deleted"
            ]
        },
        "UserRequest": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "x-primary-key": true
                },
                "email": {
                    "type": "string"
                },
                "type": {
                    "type": "string"
                },
                "ip": {
                    "type": "string"
                },
                "creation_date": {
                    "type": "string",
                    "format": "date-time"
                }
            },
            "required": [
                "id",
                "email",
                "type",
                "creation_date"
            ]
        }
    },
    "securityDefinitions": {
        "basicAuth": {
            "description": "Global Security",
            "type": "basic"
        }
    }
}