From 0667880a5e3becd39792404cdf9c2fe3c71c24b3 Mon Sep 17 00:00:00 2001 From: Pierre Chalamet Date: Mon, 27 Oct 2025 23:05:14 +0100 Subject: [PATCH 1/5] add support for openapi 3.1 --- Makefile | 7 +++++-- OpenApiGen/Generators/TypeScriptAxiosGenerator.cs | 12 +++++++++--- OpenApiGen/OpenApiDef.cs | 4 ++-- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index f3ffc04..23bf763 100644 --- a/Makefile +++ b/Makefile @@ -13,12 +13,15 @@ gen: gen-buggy: dotnet run --project OpenApiGen -- Examples/OpenApiGen.config.json Examples/BuggyApi.json generated -gen-fund: - dotnet run --project OpenApiGen -- Examples/OpenApiGen.config.json Examples/FundApi.json generated +gen-invest: + dotnet run --project OpenApiGen -- Examples/InvestApi.config.json Examples/InvestApi.json generated gen-art: dotnet run --project OpenApiGen -- Examples/FundApi.config.json Examples/ArtApi.json generated +gen-petstore: + dotnet run --project OpenApiGen -- Examples/Default.config.json Examples/PetStore.json generated + help: dotnet run --project OpenApiGen -- --help diff --git a/OpenApiGen/Generators/TypeScriptAxiosGenerator.cs b/OpenApiGen/Generators/TypeScriptAxiosGenerator.cs index a387fd3..76729f2 100644 --- a/OpenApiGen/Generators/TypeScriptAxiosGenerator.cs +++ b/OpenApiGen/Generators/TypeScriptAxiosGenerator.cs @@ -1,4 +1,3 @@ -using System.Data.Common; using System.Text; using System.Text.RegularExpressions; @@ -257,14 +256,21 @@ private string RawGenerateType(int indent, Schema schema, string[] composedRequi } else if (schema is EnumSchema enumSchema) { return string.Join(" | ", enumSchema.Enum.Select(e => $"\"{e}\"")); } else if (schema is PrimitiveSchema primSchema) { - return (primSchema.Type, primSchema.Format) switch { + var types = + (primSchema.Types, primSchema.Type) switch { + (string[], _) => primSchema.Types, + (null, string) => [primSchema.Type], + _ => [] + }; + return string.Join(" | ", types.Select(type => (type, primSchema.Format) switch { ("string", "binary") => "File", ("string", _) => "string", ("integer", _) => "number", ("number", _) => "number", ("boolean", _) => "boolean", + ("null", _) => "null", _ => "void" - }; + })); } else { throw new ApplicationException("Unknown schema type."); } diff --git a/OpenApiGen/OpenApiDef.cs b/OpenApiGen/OpenApiDef.cs index 025fb18..a6e28c1 100644 --- a/OpenApiGen/OpenApiDef.cs +++ b/OpenApiGen/OpenApiDef.cs @@ -70,7 +70,7 @@ public record Parameter { [JsonConverter(typeof(SchemaConverter))] public abstract record Schema { - public bool? Nullable { get; init; } + public bool? Nullable { get; init; } // deprecated in 3.1 public object? Default { get; init; } } @@ -105,5 +105,5 @@ public sealed record Discriminator { public sealed record PrimitiveSchema : Schema { public string? Type { get; init; } // "string", "integer", "number", "boolean" public string? Format { get; init; } // "date-time", "uuid", etc. + public string[]? Types { get; init; } // new in 3.1 } - From 56da35fa6f36871a365566e5a7f96628483c3dad Mon Sep 17 00:00:00 2001 From: Pierre Chalamet Date: Mon, 27 Oct 2025 23:34:50 +0100 Subject: [PATCH 2/5] fix void case --- OpenApiGen/Generators/TypeScriptAxiosGenerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenApiGen/Generators/TypeScriptAxiosGenerator.cs b/OpenApiGen/Generators/TypeScriptAxiosGenerator.cs index 76729f2..b171dd7 100644 --- a/OpenApiGen/Generators/TypeScriptAxiosGenerator.cs +++ b/OpenApiGen/Generators/TypeScriptAxiosGenerator.cs @@ -260,7 +260,7 @@ private string RawGenerateType(int indent, Schema schema, string[] composedRequi (primSchema.Types, primSchema.Type) switch { (string[], _) => primSchema.Types, (null, string) => [primSchema.Type], - _ => [] + _ => ["void"] }; return string.Join(" | ", types.Select(type => (type, primSchema.Format) switch { ("string", "binary") => "File", From 9bdaf1c96bd74a07f0de9e93d176d9a95c3578d0 Mon Sep 17 00:00:00 2001 From: Pierre Chalamet Date: Mon, 3 Nov 2025 11:53:38 +0100 Subject: [PATCH 3/5] handle null enum --- OpenApiGen/Generators/TypeScriptAxiosGenerator.cs | 2 +- OpenApiGen/OpenApiDef.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenApiGen/Generators/TypeScriptAxiosGenerator.cs b/OpenApiGen/Generators/TypeScriptAxiosGenerator.cs index b171dd7..1fea0ae 100644 --- a/OpenApiGen/Generators/TypeScriptAxiosGenerator.cs +++ b/OpenApiGen/Generators/TypeScriptAxiosGenerator.cs @@ -254,7 +254,7 @@ private string RawGenerateType(int indent, Schema schema, string[] composedRequi sb.Append('}'); return sb.ToString(); } else if (schema is EnumSchema enumSchema) { - return string.Join(" | ", enumSchema.Enum.Select(e => $"\"{e}\"")); + return string.Join(" | ", enumSchema.Enum.Where(e => e is not null).Select(e => $"\"{e}\"")); } else if (schema is PrimitiveSchema primSchema) { var types = (primSchema.Types, primSchema.Type) switch { diff --git a/OpenApiGen/OpenApiDef.cs b/OpenApiGen/OpenApiDef.cs index a6e28c1..ee27895 100644 --- a/OpenApiGen/OpenApiDef.cs +++ b/OpenApiGen/OpenApiDef.cs @@ -75,7 +75,7 @@ public abstract record Schema { } public sealed record EnumSchema : Schema { - public required List Enum { get; init; } + public required List Enum { get; init; } } public sealed record RefSchema : Schema { From c5a2f9b7792473d8c00b125436a5642db2158a74 Mon Sep 17 00:00:00 2001 From: Pierre Chalamet Date: Mon, 3 Nov 2025 11:56:20 +0100 Subject: [PATCH 4/5] code cleanup --- OpenApiGen/Generators/TypeScriptAxiosGenerator.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/OpenApiGen/Generators/TypeScriptAxiosGenerator.cs b/OpenApiGen/Generators/TypeScriptAxiosGenerator.cs index 1fea0ae..7373497 100644 --- a/OpenApiGen/Generators/TypeScriptAxiosGenerator.cs +++ b/OpenApiGen/Generators/TypeScriptAxiosGenerator.cs @@ -163,14 +163,6 @@ private string ParameterPrototype(Parameter param) { return $"{param.Name}{optional}: {tsType}"; } - private static string ParameterQuery(Parameter param, int index) { - if (param.Schema.Default is null) { - return $"${{{param.Name} ? `&{param.Name}=${{encodeURIComponent({param.Name})}}` : ''}}"; - } else { - return $"&{param.Name}=${{encodeURIComponent({param.Name} ?? {param.Schema.Default})}}"; - } - } - private static string ParameterQueryInitializer(Parameter param) { return $"if ({param.Name} !== undefined) __query__.push(`{param.Name}=${{encodeURIComponent({param.Name})}}`);"; } From dbc7108ccd8ba98e7bcab32bca6ebbf26a6c514c Mon Sep 17 00:00:00 2001 From: Pierre Chalamet Date: Mon, 3 Nov 2025 12:13:53 +0100 Subject: [PATCH 5/5] remove useless files --- Examples/FundApi.json | 13849 ----------------------- Examples/InvestApi.config.json | 141 - Examples/InvestApi.json | 18109 ------------------------------- 3 files changed, 32099 deletions(-) delete mode 100644 Examples/FundApi.json delete mode 100644 Examples/InvestApi.config.json delete mode 100644 Examples/InvestApi.json diff --git a/Examples/FundApi.json b/Examples/FundApi.json deleted file mode 100644 index b89b9b7..0000000 --- a/Examples/FundApi.json +++ /dev/null @@ -1,13849 +0,0 @@ -{ - "openapi": "3.0.1", - "info": { - "title": "FundApi | v1", - "version": "1.0.0" - }, - "paths": { - "/webhooks/Lemonway/wallet": { - "post": { - "tags": [ - "Lemonway" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WalletStatusChanged" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/WalletStatusChanged" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/webhooks/Lemonway/document": { - "post": { - "tags": [ - "Lemonway" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DocumentStatusChanged" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/DocumentStatusChanged" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/profiles/{profileId}/bank-accounts": { - "post": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "profileId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateBankAccountRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/CreateBankAccountRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BankAccount" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "profileId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BankAccount" - } - } - } - }, - "204": { - "description": "No Content", - "content": { - "application/json": { } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/profiles/{profileId}/bank-accounts/{bankAccountId}/upload-document": { - "post": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "profileId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "bankAccountId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "multipart/form-data": { - "schema": { - "type": "object", - "properties": { - "File": { - "$ref": "#/components/schemas/IFormFile" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BankAccount" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/verify-email": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "code", - "in": "query", - "schema": { - "type": "string", - "default": null - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ChallengeResponse" - } - } - } - } - } - } - }, - "/User/verify-phone": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "code", - "in": "query", - "schema": { - "type": "string", - "default": null - } - }, - { - "name": "template", - "in": "query", - "schema": { - "type": "string", - "default": null - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ChallengeResponse" - } - } - } - } - } - } - }, - "/User/verify-meeting": { - "get": { - "tags": [ - "User" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ChallengeResponse" - } - } - } - } - } - } - }, - "/User/verify-account-validated": { - "get": { - "tags": [ - "User" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ChallengeResponse" - } - } - } - } - } - } - }, - "/User/verify-cooptation": { - "post": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CooptationVerifyRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/CooptationVerifyRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/create-investor": { - "post": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateInvestorRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/CreateInvestorRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ChallengeResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/kyc/{profileId}/upload/{documentType}": { - "post": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "profileId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "documentType", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "multipart/form-data": { - "schema": { - "type": "object", - "properties": { - "FileData": { - "$ref": "#/components/schemas/IFormFile" - }, - "BackFileData": { - "$ref": "#/components/schemas/IFormFile" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/KycDocument" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/kyc/{profileId}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "profileId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/KycDocument" - } - } - } - }, - "204": { - "description": "No Content", - "content": { - "application/json": { } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/me": { - "get": { - "tags": [ - "User" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MeResponse" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "patch": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateMeRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/UpdateMeRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MeResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/opportunities": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 10 - } - }, - { - "name": "type", - "in": "query", - "schema": { - "type": "string", - "default": null - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfOpportunity" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/opportunities/{id}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Opportunity" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/opportunities/{id}/documents": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfOpportunityDocument" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/profiles": { - "get": { - "tags": [ - "User" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProfileInfo" - } - } - } - } - } - } - } - }, - "/User/profiles/{id}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Profile" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "patch": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NaturalPersonProfile" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/NaturalPersonProfile" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Profile" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/questionnaire/{id}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Questionnaire" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "patch": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/QuestionnairePatch" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/QuestionnairePatch" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Questionnaire" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/ping": { - "get": { - "tags": [ - "Misc" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "string" - } - } - } - } - } - } - }, - "/Kyc": { - "get": { - "tags": [ - "Kyc" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProfileSummaryResponse" - } - } - } - } - } - } - } - }, - "/Kyc/{id}": { - "get": { - "tags": [ - "Kyc" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProfileResponse" - } - } - } - } - } - } - }, - "/Kyc/{id}/status": { - "post": { - "tags": [ - "Kyc" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProfileStatusRequest" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ProfileStatusRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/ProfileStatusRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProfileReview2" - } - } - } - } - } - } - }, - "/Kyc/{id}/review": { - "post": { - "tags": [ - "Kyc" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DocumentStatusRequest" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/DocumentStatusRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/DocumentStatusRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DocumentReview3" - } - } - } - } - } - } - }, - "/Kyc/{id}/upload": { - "post": { - "tags": [ - "Kyc" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "multipart/form-data": { - "schema": { - "type": "object", - "properties": { - "DocumentType": { - "type": "string" - }, - "File": { - "$ref": "#/components/schemas/IFormFile" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Document" - } - } - } - } - } - } - }, - "/backoffice/AdvisorProfiles": { - "get": { - "tags": [ - "AdvisorProfiles" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfAdvisorProfileOverview" - } - } - } - } - } - } - }, - "/backoffice/AdvisorProfiles/{id}": { - "get": { - "tags": [ - "AdvisorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AdvisorProfile" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/AdvisorProfiles/{id}/investors": { - "get": { - "tags": [ - "AdvisorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfInvestorProfile" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/AdvisorProfiles/{id}/subscriptions": { - "get": { - "tags": [ - "AdvisorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfSubscription" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/AdvisorProfiles/{id}/budgets": { - "get": { - "tags": [ - "AdvisorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfBudget" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Artworks": { - "get": { - "tags": [ - "Artworks" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfArtwork" - } - } - } - } - } - }, - "post": { - "tags": [ - "Artworks" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Artwork3" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/Artwork3" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Artwork2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Artworks/unassigned": { - "get": { - "tags": [ - "Artworks" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Artwork2" - } - } - } - } - } - } - } - }, - "/backoffice/Artworks/{id}": { - "get": { - "tags": [ - "Artworks" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Artwork2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "patch": { - "tags": [ - "Artworks" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Artwork4" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/Artwork4" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Artwork2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/BankAccounts": { - "get": { - "tags": [ - "BankAccounts" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfBankAccount" - } - } - } - } - } - } - }, - "/backoffice/BankAccounts/{id}": { - "get": { - "tags": [ - "BankAccounts" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BankAccount" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Budgets": { - "get": { - "tags": [ - "Budgets" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfBudget" - } - } - } - } - } - }, - "post": { - "tags": [ - "Budgets" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Budget3" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/Budget3" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Budget2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Budgets/{id}": { - "get": { - "tags": [ - "Budgets" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Budget2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "patch": { - "tags": [ - "Budgets" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Budget4" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/Budget4" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Budget2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Budgets/{id}/subscriptions": { - "get": { - "tags": [ - "Budgets" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfSubscription" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Commissions": { - "get": { - "tags": [ - "Commissions" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfCommission" - } - } - } - } - } - } - }, - "/backoffice/Commissions/{id}": { - "get": { - "tags": [ - "Commissions" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Commission2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Commissions/distributors": { - "get": { - "tags": [ - "Commissions" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfDistributorCommission" - } - } - } - } - } - } - }, - "/backoffice/Commissions/influencers": { - "get": { - "tags": [ - "Commissions" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfInfluencerCommission" - } - } - } - } - } - } - }, - "/backoffice/Cooptations": { - "get": { - "tags": [ - "Cooptations" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfCooptation" - } - } - } - } - } - } - }, - "/backoffice/Cooptations/bypasses": { - "get": { - "tags": [ - "Cooptations" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfCooptation" - } - } - } - } - } - } - }, - "/backoffice/Distributors": { - "get": { - "tags": [ - "Distributors" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfDistributorItem" - } - } - } - } - } - } - }, - "/backoffice/Distributors/{id}": { - "get": { - "tags": [ - "Distributors" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Distributor2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Distributors/{id}/advisors": { - "get": { - "tags": [ - "Distributors" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfDistributorAdvisorsItem" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Distributors/{id}/investors": { - "get": { - "tags": [ - "Distributors" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfDistributorInvestorsItem" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Distributors/{id}/subscriptions": { - "get": { - "tags": [ - "Distributors" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfSubscription" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Distributors/{id}/budgets": { - "get": { - "tags": [ - "Distributors" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfBudget" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Distributors/{id}/payment-operations": { - "get": { - "tags": [ - "Distributors" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfPaymentOperation" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Distributors/{id}/commissions": { - "get": { - "tags": [ - "Distributors" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfCommission" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Ifus": { - "get": { - "tags": [ - "Ifus" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfIfu" - } - } - } - } - } - } - }, - "/backoffice/Ifus/{id}": { - "get": { - "tags": [ - "Ifus" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Ifu" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InfluencerProfiles": { - "get": { - "tags": [ - "InfluencerProfiles" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfInfluencerProfile" - } - } - } - } - } - } - }, - "/backoffice/InfluencerProfiles/{id}": { - "get": { - "tags": [ - "InfluencerProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InfluencerProfile" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InfluencerProfiles/{id}/investors": { - "get": { - "tags": [ - "InfluencerProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfInfluencerInvestors" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InfluencerProfiles/{id}/subscriptions": { - "get": { - "tags": [ - "InfluencerProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfSubscription" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InfluencerProfiles/{id}/payment-operations": { - "get": { - "tags": [ - "InfluencerProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfPaymentOperation" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InfluencerProfiles/{id}/commissions": { - "get": { - "tags": [ - "InfluencerProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfInfluencerCommission" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InvestorProfiles": { - "get": { - "tags": [ - "InvestorProfiles" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfInvestorProfileOverview" - } - } - } - } - } - } - }, - "/backoffice/InvestorProfiles/{id}": { - "get": { - "tags": [ - "InvestorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InvestorProfile" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InvestorProfiles/{id}/subscriptions": { - "get": { - "tags": [ - "InvestorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfSubscription" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InvestorProfiles/{id}/payment-operations": { - "get": { - "tags": [ - "InvestorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfPaymentOperation" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InvestorProfiles/{id}/fiscalities": { - "get": { - "tags": [ - "InvestorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfFiscality" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InvestorProfiles/{id}/questionnaires": { - "get": { - "tags": [ - "InvestorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfQuestionnaire" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InvestorProfiles/{id}/provisional-subscriptions": { - "get": { - "tags": [ - "InvestorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProvisionalSubscription" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/KycDocuments": { - "get": { - "tags": [ - "KycDocuments" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfKycDocument" - } - } - } - } - } - } - }, - "/backoffice/KycDocuments/{id}": { - "get": { - "tags": [ - "KycDocuments" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/KycDocument" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/LendingInvestorTerms": { - "get": { - "tags": [ - "LendingInvestorTerms" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfLendingInvestorTermOverview" - } - } - } - } - } - } - }, - "/backoffice/LendingInvestorTerms/{id}": { - "get": { - "tags": [ - "LendingInvestorTerms" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/LendingInvestorTerm" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/LendingTerms": { - "get": { - "tags": [ - "LendingTerms" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfLendingTerm" - } - } - } - } - } - } - }, - "/backoffice/LendingTerms/{id}": { - "get": { - "tags": [ - "LendingTerms" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/LendingTerm2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Me": { - "get": { - "tags": [ - "Me" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MeResponse2" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/PaymentOperations": { - "get": { - "tags": [ - "PaymentOperations" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfPaymentOperation" - } - } - } - } - } - } - }, - "/backoffice/Platform/configuration": { - "get": { - "tags": [ - "Platform" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CmsConfiguration" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Platform/static-pages": { - "get": { - "tags": [ - "Platform" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfCmsPage" - } - } - } - } - } - } - }, - "/backoffice/Platform/static-pages/{id}": { - "get": { - "tags": [ - "Platform" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CmsPage" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Platform/fiscalities": { - "get": { - "tags": [ - "Platform" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfFiscality" - } - } - } - } - } - } - }, - "/backoffice/Platform/fiscalities/{id}": { - "get": { - "tags": [ - "Platform" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Fiscality" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Platform/informative-banner": { - "get": { - "tags": [ - "Platform" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CmsInformativeBanner" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Platform/subsidiaries": { - "get": { - "tags": [ - "Platform" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfCmsPlatformSubsidiary" - } - } - } - } - } - } - }, - "/backoffice/Platform/subsidiaries/{id}": { - "get": { - "tags": [ - "Platform" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CmsPlatformSubsidiary2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Platform/email-templates": { - "get": { - "tags": [ - "Platform" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfCmsRemoteEmailTemplate" - } - } - } - } - } - } - }, - "/backoffice/Platform/email-templates/{id}": { - "get": { - "tags": [ - "Platform" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CmsRemoteEmailTemplate" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProject" - } - } - } - } - } - }, - "post": { - "tags": [ - "Projects" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Project3" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/Project3" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Project2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Project2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "patch": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Project4" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/Project4" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Project2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/documents": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProjectDocument" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/descriptions": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProjectDescriptionBlock" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/subscriptions": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfSubscription" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/posts": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProjectPost" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/lending-terms": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfLendingTerm" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/distributor-commissions": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfDistributorCommission" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/influencer-commissions": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfInfluencerCommission" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/cover-picture": { - "post": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "multipart/form-data": { - "schema": { - "type": "object", - "properties": { - "File": { - "$ref": "#/components/schemas/IFormFile" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Project2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/thumbnail-picture": { - "post": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "multipart/form-data": { - "schema": { - "type": "object", - "properties": { - "File": { - "$ref": "#/components/schemas/IFormFile" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Project2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/ProjectOwners": { - "get": { - "tags": [ - "ProjectOwners" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProjectOwner" - } - } - } - } - } - }, - "post": { - "tags": [ - "ProjectOwners" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProjectOwner3" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/ProjectOwner3" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProjectOwner2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/ProjectOwners/unassigned": { - "get": { - "tags": [ - "ProjectOwners" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProjectOwner2" - } - } - } - } - } - } - } - }, - "/backoffice/ProjectOwners/{id}": { - "get": { - "tags": [ - "ProjectOwners" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProjectOwner2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "patch": { - "tags": [ - "ProjectOwners" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProjectOwner4" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/ProjectOwner4" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProjectOwner2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/ProjectOwners/{id}/projects": { - "get": { - "tags": [ - "ProjectOwners" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProject" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/ProjectOwners/{id}/payment-operations": { - "get": { - "tags": [ - "ProjectOwners" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfPaymentOperation" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/ProjectsPosts": { - "get": { - "tags": [ - "ProjectsPosts" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProjectPost" - } - } - } - } - } - } - }, - "/backoffice/ProjectsPosts/{id}": { - "get": { - "tags": [ - "ProjectsPosts" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProjectPost" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/ProvisionalSubscriptions": { - "get": { - "tags": [ - "ProvisionalSubscriptions" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProvisionalSubscription" - } - } - } - } - } - }, - "post": { - "tags": [ - "ProvisionalSubscriptions" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProvisionalSubscription2" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/ProvisionalSubscription2" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProvisionalSubscription" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/ProvisionalSubscriptions/{id}": { - "get": { - "tags": [ - "ProvisionalSubscriptions" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProvisionalSubscription" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Questionnaires": { - "get": { - "tags": [ - "Questionnaires" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfQuestionnaire" - } - } - } - } - } - } - }, - "/backoffice/Questionnaires/{id}": { - "get": { - "tags": [ - "Questionnaires" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Questionnaire2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Subscriptions": { - "get": { - "tags": [ - "Subscriptions" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfSubscription" - } - } - } - } - } - } - }, - "/backoffice/Subscriptions/{id}": { - "get": { - "tags": [ - "Subscriptions" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Subscription" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Subscriptions/{id}/payment-operations": { - "get": { - "tags": [ - "Subscriptions" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfPaymentOperation" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Subscriptions/{id}/lending-investor-terms": { - "get": { - "tags": [ - "Subscriptions" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfLendingInvestorTerm" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/SubscriptionIntentions": { - "get": { - "tags": [ - "SubscriptionIntentions" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfSubscriptionIntentionOverview" - } - } - } - } - } - } - }, - "/backoffice/SubscriptionIntentions/{id}": { - "get": { - "tags": [ - "SubscriptionIntentions" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionIntention2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Users": { - "get": { - "tags": [ - "Users" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfUser" - } - } - } - } - } - } - }, - "/backoffice/Users/{id}": { - "get": { - "tags": [ - "Users" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/User3" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Users/{id}/subscriptions": { - "get": { - "tags": [ - "Users" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfSubscription" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Users/{id}/payment-operations": { - "get": { - "tags": [ - "Users" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfPaymentOperation" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Users/validate/{id}": { - "post": { - "tags": [ - "Users" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/User3" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/Auth/google": { - "post": { - "tags": [ - "Auth" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GoogleLoginRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/GoogleLoginRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/LoginResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/Auth/user": { - "post": { - "tags": [ - "Auth" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserLoginRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/UserLoginRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ChallengeResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - } - }, - "components": { - "schemas": { - "AccountTemplates": { - "required": [ - "distributorInvitationInstructions", - "influencerInvitationInstructions", - "resetPasswordInstructions", - "passwordUpdated", - "investorInvitationInstructions" - ], - "type": "object", - "properties": { - "distributorInvitationInstructions": { - "type": "string", - "nullable": true - }, - "influencerInvitationInstructions": { - "type": "string", - "nullable": true - }, - "resetPasswordInstructions": { - "type": "string", - "nullable": true - }, - "passwordUpdated": { - "type": "string", - "nullable": true - }, - "investorInvitationInstructions": { - "type": "string", - "nullable": true - } - } - }, - "AddressInfo": { - "required": [ - "streetNumber", - "zipCode", - "city", - "street", - "country" - ], - "type": "object", - "properties": { - "streetNumber": { - "type": "string" - }, - "zipCode": { - "type": "string" - }, - "city": { - "type": "string" - }, - "street": { - "type": "string" - }, - "country": { - "type": "string" - } - }, - "nullable": true - }, - "AddressInfo2": { - "type": "object", - "properties": { - "streetNumber": { - "type": "string", - "nullable": true - }, - "zipCode": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "street": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "AdminTemplates": { - "required": [ - "meetingCanceled", - "projectOwnerReceivedFunds", - "usPersonAlert", - "subscriptionSignatureFailures", - "subscriptionCannotBeRefunded", - "registerCertificatesGenerationFails", - "newCollaborator", - "swissTaxResidency", - "refusedOrPendingBankAccounts", - "memobankTransferFailed", - "subscriptionCancellationRequest", - "debitFailure", - "distributorBankAccountUpdated" - ], - "type": "object", - "properties": { - "meetingCanceled": { - "type": "string", - "nullable": true - }, - "projectOwnerReceivedFunds": { - "type": "string", - "nullable": true - }, - "usPersonAlert": { - "type": "string", - "nullable": true - }, - "subscriptionSignatureFailures": { - "type": "string", - "nullable": true - }, - "subscriptionCannotBeRefunded": { - "type": "string", - "nullable": true - }, - "registerCertificatesGenerationFails": { - "type": "string", - "nullable": true - }, - "newCollaborator": { - "type": "string", - "nullable": true - }, - "swissTaxResidency": { - "type": "string", - "nullable": true - }, - "refusedOrPendingBankAccounts": { - "type": "string", - "nullable": true - }, - "memobankTransferFailed": { - "type": "string", - "nullable": true - }, - "subscriptionCancellationRequest": { - "type": "string", - "nullable": true - }, - "debitFailure": { - "type": "string", - "nullable": true - }, - "distributorBankAccountUpdated": { - "type": "string", - "nullable": true - } - } - }, - "AdvisorProfile": { - "required": [ - "distributor", - "isManager", - "id", - "createdAt", - "updatedAt", - "user", - "archivedAt", - "cooptation" - ], - "type": "object", - "properties": { - "distributor": { - "$ref": "#/components/schemas/Distributor" - }, - "isManager": { - "type": "boolean" - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/User" - }, - "archivedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "cooptation": { - "$ref": "#/components/schemas/CooptationInfo" - } - } - }, - "AdvisorProfileOverview": { - "required": [ - "advisor", - "investorsCount", - "subscriptionsCount" - ], - "type": "object", - "properties": { - "advisor": { - "$ref": "#/components/schemas/AdvisorProfile" - }, - "investorsCount": { - "type": "integer", - "format": "int64" - }, - "subscriptionsCount": { - "type": "integer", - "format": "int64" - } - } - }, - "Artwork": { - "required": [ - "name", - "id" - ], - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "id": { - "type": "string" - } - } - }, - "Artwork2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "artistName", - "year", - "size", - "name", - "technique", - "shortName", - "specificMention" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "artistName": { - "type": "string" - }, - "year": { - "type": "string" - }, - "size": { - "type": "string" - }, - "name": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "technique": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "shortName": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "specificMention": { - "$ref": "#/components/schemas/TranslationOfstring" - } - } - }, - "Artwork3": { - "required": [ - "artistName", - "year", - "size", - "name" - ], - "type": "object", - "properties": { - "artistName": { - "type": "string" - }, - "year": { - "type": "string" - }, - "size": { - "type": "string" - }, - "name": { - "$ref": "#/components/schemas/TranslationOfstring" - } - } - }, - "Artwork4": { - "type": "object", - "properties": { - "artistName": { - "type": "string", - "nullable": true - }, - "year": { - "type": "string", - "nullable": true - }, - "size": { - "type": "string", - "nullable": true - }, - "name": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "technique": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "shortName": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "specificMention": { - "$ref": "#/components/schemas/TranslationOfstring2" - } - } - }, - "BankAccount": { - "required": [ - "id", - "createdAt", - "updatedAt", - "ownerType", - "owner", - "documentData", - "iban", - "bic", - "status", - "lemonway", - "streammind" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "ownerType": { - "$ref": "#/components/schemas/BankAccountOwnerType" - }, - "owner": { - "type": "string" - }, - "documentData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "iban": { - "type": "string" - }, - "bic": { - "type": "string" - }, - "status": { - "$ref": "#/components/schemas/NullableOfBankAccountStatus" - }, - "lemonway": { - "$ref": "#/components/schemas/BankAccountLemonway" - }, - "streammind": { - "$ref": "#/components/schemas/BankAccountStreammind" - } - } - }, - "BankAccount2": { - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "nullable": true - }, - "BankAccountLemonway": { - "required": [ - "id", - "status", - "refuseReason" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "status": { - "type": "string", - "nullable": true - }, - "refuseReason": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "BankAccountOwnerType": { - "enum": [ - "natural_person", - "legal_entity", - "influencer", - "advisor" - ] - }, - "BankAccountStreammind": { - "required": [ - "id", - "status", - "refuseReason" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "status": { - "type": "string", - "nullable": true - }, - "refuseReason": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "BankAccountTemplates": { - "required": [ - "acceptedForInvestor", - "rejectedByAdmin", - "acceptedForDistributorOrInfluencer" - ], - "type": "object", - "properties": { - "acceptedForInvestor": { - "type": "string", - "nullable": true - }, - "rejectedByAdmin": { - "type": "string", - "nullable": true - }, - "acceptedForDistributorOrInfluencer": { - "type": "string", - "nullable": true - } - } - }, - "BirthInfo": { - "required": [ - "date", - "country", - "city", - "zipCode" - ], - "type": "object", - "properties": { - "date": { - "type": "string" - }, - "country": { - "type": "string" - }, - "city": { - "type": "string" - }, - "zipCode": { - "type": "string" - } - }, - "nullable": true - }, - "BirthInfo2": { - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "zipCode": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "Budget": { - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "nullable": true - }, - "Budget2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "project", - "distributor", - "amount", - "commission", - "status" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "distributor": { - "$ref": "#/components/schemas/Distributor" - }, - "amount": { - "type": "integer", - "format": "int32" - }, - "commission": { - "type": "number", - "format": "double" - }, - "status": { - "$ref": "#/components/schemas/BudgetStatus" - } - } - }, - "Budget3": { - "required": [ - "project", - "distributor", - "amount", - "commission" - ], - "type": "object", - "properties": { - "project": { - "type": "string" - }, - "distributor": { - "type": "string" - }, - "amount": { - "type": "integer", - "format": "int32" - }, - "commission": { - "type": "number", - "format": "double" - } - } - }, - "Budget4": { - "type": "object", - "properties": { - "project": { - "type": "string", - "nullable": true - }, - "distributor": { - "type": "string", - "nullable": true - }, - "amount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "commission": { - "type": "number", - "format": "double", - "nullable": true - }, - "status": { - "$ref": "#/components/schemas/NullableOfBudgetStatus" - } - } - }, - "BudgetStatus": { - "enum": [ - "draft", - "on_going", - "ended" - ] - }, - "ChallengeResponse": { - "required": [ - "accessToken", - "recipient", - "eventAt" - ], - "type": "object", - "properties": { - "accessToken": { - "type": "string" - }, - "recipient": { - "type": "string", - "nullable": true - }, - "eventAt": { - "type": "string", - "format": "date-time", - "nullable": true - } - } - }, - "Civility": { - "enum": [ - "mister", - "madam" - ] - }, - "CloudStorageReference": { - "required": [ - "url", - "mimeType" - ], - "type": "object", - "properties": { - "url": { - "type": "string" - }, - "mimeType": { - "type": "string" - } - }, - "nullable": true - }, - "CloudStorageReference2": { - "required": [ - "url", - "mimeType" - ], - "type": "object", - "properties": { - "url": { - "type": "string" - }, - "mimeType": { - "type": "string" - } - } - }, - "CmsConfiguration": { - "required": [ - "id", - "createdAt", - "updatedAt", - "platformAddress", - "platformZipcode", - "platformCity", - "platformCountry", - "platformPhone", - "platformEmail", - "statistics", - "docliftSubscriptionFormTemplateId", - "subscriptionFormSignPageNumber", - "subscriptionFormSignCoordinates", - "membershipsDocliftInvoiceId", - "docliftRegisterCertificateTemplateId", - "bankTransferFormSignCoordinates", - "docliftCommissionFormTemplateId", - "docliftBankTransferFormTemplateId", - "docliftRefundCertificateTemplateId", - "registerCertificateName", - "thesisData", - "invitationLimit", - "cooptationCode", - "membershipsPriceIncludingTaxes", - "membershipsTaxRate", - "vatCompanyNumber", - "membershipsDescription", - "membershipsImageData", - "membershipsPaymentIban", - "membershipsPaymentBic", - "emailInvitationInterval", - "skipMeetingAndValidationCooptationCode", - "commissionWalletAccountId" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "platformAddress": { - "type": "string", - "nullable": true - }, - "platformZipcode": { - "type": "string", - "nullable": true - }, - "platformCity": { - "type": "string", - "nullable": true - }, - "platformCountry": { - "type": "string", - "nullable": true - }, - "platformPhone": { - "type": "string", - "nullable": true - }, - "platformEmail": { - "type": "string", - "nullable": true - }, - "statistics": { - "type": "string", - "nullable": true - }, - "docliftSubscriptionFormTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "subscriptionFormSignPageNumber": { - "$ref": "#/components/schemas/TranslationOfint" - }, - "subscriptionFormSignCoordinates": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "membershipsDocliftInvoiceId": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "docliftRegisterCertificateTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "bankTransferFormSignCoordinates": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "docliftCommissionFormTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "docliftBankTransferFormTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "docliftRefundCertificateTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "registerCertificateName": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "thesisData": { - "$ref": "#/components/schemas/TranslationOfCloudStorageReference" - }, - "invitationLimit": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "cooptationCode": { - "type": "string", - "nullable": true - }, - "membershipsPriceIncludingTaxes": { - "type": "number", - "format": "double", - "nullable": true - }, - "membershipsTaxRate": { - "type": "number", - "format": "double", - "nullable": true - }, - "vatCompanyNumber": { - "type": "string", - "nullable": true - }, - "membershipsDescription": { - "type": "string", - "nullable": true - }, - "membershipsImageData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "membershipsPaymentIban": { - "type": "string", - "nullable": true - }, - "membershipsPaymentBic": { - "type": "string", - "nullable": true - }, - "emailInvitationInterval": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "skipMeetingAndValidationCooptationCode": { - "type": "string", - "nullable": true - }, - "commissionWalletAccountId": { - "type": "string", - "nullable": true - } - } - }, - "CmsInformativeBanner": { - "required": [ - "id", - "createdAt", - "updatedAt", - "description", - "backgroundColor", - "visible" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "description": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "backgroundColor": { - "type": "string", - "nullable": true - }, - "visible": { - "type": "boolean", - "nullable": true - } - } - }, - "CmsPage": { - "required": [ - "id", - "createdAt", - "updatedAt", - "slug", - "cmsPlatformSubsidiary", - "pageTitle", - "content" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "slug": { - "type": "string", - "nullable": true - }, - "cmsPlatformSubsidiary": { - "$ref": "#/components/schemas/CmsPlatformSubsidiary" - }, - "pageTitle": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "content": { - "$ref": "#/components/schemas/TranslationOfstring" - } - } - }, - "CmsPlatformSubsidiary": { - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "nullable": true - }, - "CmsPlatformSubsidiary2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "country" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "country": { - "type": "string" - } - } - }, - "CmsRemoteEmailTemplate": { - "required": [ - "id", - "createdAt", - "updatedAt", - "adminEmail", - "investEmail", - "account", - "admin", - "bankAccount", - "distributor", - "investorTerm", - "kyc", - "project", - "projectsOwner", - "projectsWaitingListMember", - "subscription", - "user", - "cooptation", - "influencer" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "adminEmail": { - "type": "string" - }, - "investEmail": { - "type": "string" - }, - "account": { - "$ref": "#/components/schemas/AccountTemplates" - }, - "admin": { - "$ref": "#/components/schemas/AdminTemplates" - }, - "bankAccount": { - "$ref": "#/components/schemas/BankAccountTemplates" - }, - "distributor": { - "$ref": "#/components/schemas/DistributorTemplates" - }, - "investorTerm": { - "$ref": "#/components/schemas/InvestorTermTemplates" - }, - "kyc": { - "$ref": "#/components/schemas/KycTemplates" - }, - "project": { - "$ref": "#/components/schemas/ProjectTemplates" - }, - "projectsOwner": { - "$ref": "#/components/schemas/ProjectsOwnerTemplates" - }, - "projectsWaitingListMember": { - "$ref": "#/components/schemas/ProjectsWaitingListMemberTemplates" - }, - "subscription": { - "$ref": "#/components/schemas/SubscriptionTemplates" - }, - "user": { - "$ref": "#/components/schemas/UserTemplates" - }, - "cooptation": { - "$ref": "#/components/schemas/CooptationTemplates" - }, - "influencer": { - "$ref": "#/components/schemas/InfluencerTemplates" - } - } - }, - "Commission": { - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "nullable": true - }, - "Commission2": { - "type": "object", - "anyOf": [ - { - "$ref": "#/components/schemas/CommissionDistributorCommission" - }, - { - "$ref": "#/components/schemas/CommissionInfluencerCommission" - }, - { - "$ref": "#/components/schemas/CommissionBase" - } - ] - }, - "CommissionBase": { - "required": [ - "id", - "createdAt", - "updatedAt", - "project", - "subscriptionsAmount", - "total", - "taxes", - "paidAt", - "docliftFormsBatchId", - "status", - "bankAccount" - ], - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "subscriptionsAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "total": { - "type": "number", - "format": "double", - "nullable": true - }, - "taxes": { - "type": "number", - "format": "double", - "nullable": true - }, - "paidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "docliftFormsBatchId": { - "type": "string", - "nullable": true - }, - "status": { - "$ref": "#/components/schemas/CommissionStatus" - }, - "bankAccount": { - "$ref": "#/components/schemas/BankAccount2" - } - } - }, - "CommissionDistributorCommission": { - "required": [ - "type", - "distributor", - "id", - "createdAt", - "updatedAt", - "project", - "subscriptionsAmount", - "total", - "taxes", - "paidAt", - "docliftFormsBatchId", - "status", - "bankAccount" - ], - "properties": { - "type": { - "enum": [ - "distributor" - ], - "type": "string" - }, - "distributor": { - "$ref": "#/components/schemas/Distributor" - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "subscriptionsAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "total": { - "type": "number", - "format": "double", - "nullable": true - }, - "taxes": { - "type": "number", - "format": "double", - "nullable": true - }, - "paidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "docliftFormsBatchId": { - "type": "string", - "nullable": true - }, - "status": { - "$ref": "#/components/schemas/CommissionStatus" - }, - "bankAccount": { - "$ref": "#/components/schemas/BankAccount2" - } - } - }, - "CommissionInfluencerCommission": { - "required": [ - "type", - "profile", - "id", - "createdAt", - "updatedAt", - "project", - "subscriptionsAmount", - "total", - "taxes", - "paidAt", - "docliftFormsBatchId", - "status", - "bankAccount" - ], - "properties": { - "type": { - "enum": [ - "influencer" - ], - "type": "string" - }, - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "subscriptionsAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "total": { - "type": "number", - "format": "double", - "nullable": true - }, - "taxes": { - "type": "number", - "format": "double", - "nullable": true - }, - "paidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "docliftFormsBatchId": { - "type": "string", - "nullable": true - }, - "status": { - "$ref": "#/components/schemas/CommissionStatus" - }, - "bankAccount": { - "$ref": "#/components/schemas/BankAccount2" - } - } - }, - "CommissionStatus": { - "enum": [ - "paid", - "awaiting_payment", - "paid_off_platform" - ] - }, - "Cooptation": { - "required": [ - "id", - "createdAt", - "updatedAt", - "sponsor", - "sponsoredUser", - "email", - "phoneNumber", - "firstName", - "lastName", - "civility", - "guestContactMethod" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "sponsor": { - "$ref": "#/components/schemas/Profile3" - }, - "sponsoredUser": { - "$ref": "#/components/schemas/User2" - }, - "email": { - "type": "string", - "nullable": true - }, - "phoneNumber": { - "type": "string", - "nullable": true - }, - "firstName": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true - }, - "civility": { - "type": "string", - "nullable": true - }, - "guestContactMethod": { - "type": "string", - "nullable": true - } - } - }, - "CooptationInfo": { - "required": [ - "cooptationCode", - "remainingInvitations", - "dailyInvitationsNumber" - ], - "type": "object", - "properties": { - "cooptationCode": { - "type": "string" - }, - "remainingInvitations": { - "type": "integer", - "format": "int32" - }, - "dailyInvitationsNumber": { - "type": "integer", - "format": "int32" - } - }, - "nullable": true - }, - "CooptationTemplates": { - "required": [ - "invitationSendInvitation" - ], - "type": "object", - "properties": { - "invitationSendInvitation": { - "type": "string", - "nullable": true - } - } - }, - "CooptationVerifyRequest": { - "required": [ - "cooptationCode" - ], - "type": "object", - "properties": { - "cooptationCode": { - "type": "string" - } - } - }, - "CreateBankAccountRequest": { - "required": [ - "iban", - "bic" - ], - "type": "object", - "properties": { - "iban": { - "type": "string" - }, - "bic": { - "type": "string" - } - } - }, - "CreateInvestorRequest": { - "required": [ - "civility", - "firstName", - "lastName", - "email", - "phoneNumber", - "password", - "defaultLanguage", - "cooptationCode" - ], - "type": "object", - "properties": { - "civility": { - "$ref": "#/components/schemas/Civility" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - }, - "phoneNumber": { - "type": "string" - }, - "password": { - "type": "string" - }, - "defaultLanguage": { - "type": "string" - }, - "cooptationCode": { - "type": "string" - } - } - }, - "Distributor": { - "required": [ - "name", - "manager", - "id" - ], - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manager": { - "$ref": "#/components/schemas/Profile2" - }, - "id": { - "type": "string" - } - } - }, - "Distributor2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "name", - "phoneNumber", - "registrationNumber", - "commission", - "accountId", - "remoteStatus", - "virtualIban", - "virtualBic", - "commissionTaxRate", - "street", - "zipCode", - "city", - "country", - "hubspot" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "name": { - "type": "string" - }, - "phoneNumber": { - "type": "string", - "nullable": true - }, - "registrationNumber": { - "type": "string" - }, - "commission": { - "type": "number", - "format": "double" - }, - "accountId": { - "type": "string", - "nullable": true - }, - "remoteStatus": { - "type": "string", - "nullable": true - }, - "virtualIban": { - "type": "string", - "nullable": true - }, - "virtualBic": { - "type": "string", - "nullable": true - }, - "commissionTaxRate": { - "type": "number", - "format": "double", - "nullable": true - }, - "street": { - "type": "string", - "nullable": true - }, - "zipCode": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "hubspot": { - "$ref": "#/components/schemas/HubspotInfo" - } - } - }, - "DistributorAdvisorsItem": { - "required": [ - "advisor", - "investorsCount", - "subscriptionsCount" - ], - "type": "object", - "properties": { - "advisor": { - "$ref": "#/components/schemas/AdvisorProfile" - }, - "investorsCount": { - "type": "integer", - "format": "int64" - }, - "subscriptionsCount": { - "type": "integer", - "format": "int64" - } - } - }, - "DistributorCommission": { - "required": [ - "distributor", - "id", - "createdAt", - "updatedAt", - "project", - "subscriptionsAmount", - "total", - "taxes", - "paidAt", - "docliftFormsBatchId", - "status", - "bankAccount" - ], - "type": "object", - "properties": { - "distributor": { - "$ref": "#/components/schemas/Distributor" - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "subscriptionsAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "total": { - "type": "number", - "format": "double", - "nullable": true - }, - "taxes": { - "type": "number", - "format": "double", - "nullable": true - }, - "paidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "docliftFormsBatchId": { - "type": "string", - "nullable": true - }, - "status": { - "$ref": "#/components/schemas/CommissionStatus" - }, - "bankAccount": { - "$ref": "#/components/schemas/BankAccount2" - } - } - }, - "DistributorInvestorsItem": { - "required": [ - "investor", - "subscriptionsCount" - ], - "type": "object", - "properties": { - "investor": { - "$ref": "#/components/schemas/InvestorProfile" - }, - "subscriptionsCount": { - "type": "integer", - "format": "int64" - } - } - }, - "DistributorItem": { - "required": [ - "distributor", - "advisorsCount", - "investorsCount", - "subscriptionsCount" - ], - "type": "object", - "properties": { - "distributor": { - "$ref": "#/components/schemas/Distributor2" - }, - "advisorsCount": { - "type": "integer", - "format": "int64" - }, - "investorsCount": { - "type": "integer", - "format": "int64" - }, - "subscriptionsCount": { - "type": "integer", - "format": "int64" - } - } - }, - "DistributorTemplates": { - "required": [ - "commissionPaid" - ], - "type": "object", - "properties": { - "commissionPaid": { - "type": "string", - "nullable": true - } - } - }, - "Document": { - "required": [ - "id", - "type", - "createdAt", - "url" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "type": { - "$ref": "#/components/schemas/DocumentType2" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "url": { - "type": "string" - }, - "review": { - "$ref": "#/components/schemas/DocumentReview2" - } - } - }, - "DocumentReview": { - "required": [ - "status", - "date" - ], - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/DocumentStatus" - }, - "date": { - "type": "string", - "format": "date-time" - } - }, - "nullable": true - }, - "DocumentReview2": { - "required": [ - "status", - "date" - ], - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/ReviewStatus" - }, - "date": { - "type": "string", - "format": "date-time" - } - }, - "nullable": true - }, - "DocumentReview3": { - "required": [ - "status", - "date" - ], - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/ReviewStatus" - }, - "date": { - "type": "string", - "format": "date-time" - } - } - }, - "DocumentStatus": { - "enum": [ - "accepted", - "rejected", - "waiting_for_document", - "need_manual_validation", - "unreadable", - "expired", - "wrong_type", - "wrong_name", - "duplicated_document" - ] - }, - "DocumentStatusChanged": { - "required": [ - "NotifCategory", - "NotifDate", - "IntId", - "ExtId", - "Status", - "DocType", - "DocId" - ], - "type": "object", - "properties": { - "NotifCategory": { - "type": "string" - }, - "NotifDate": { - "type": "string" - }, - "IntId": { - "type": "string" - }, - "ExtId": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "DocType": { - "type": "string" - }, - "DocId": { - "type": "string" - } - } - }, - "DocumentStatusRequest": { - "required": [ - "documentId", - "status" - ], - "type": "object", - "properties": { - "documentId": { - "type": "string" - }, - "status": { - "$ref": "#/components/schemas/ReviewStatus" - } - } - }, - "DocumentType": { - "enum": [ - "id_card", - "passport", - "proof_of_address", - "company_registration_certificate", - "articles_of_incorporation", - "beneficial_owners", - "proof_of_iban", - "residence_permit", - "driver_licence", - "status", - "selfie", - "ssd_mandate", - "other" - ] - }, - "DocumentType2": { - "enum": [ - "id_card", - "passport", - "proof_of_address", - "company_registration_certificate", - "articles_of_incorporation", - "beneficial_owners" - ] - }, - "Email": { - "required": [ - "address" - ], - "type": "object", - "properties": { - "address": { - "type": "string" - } - } - }, - "EmailInfo": { - "required": [ - "address", - "validatedAt" - ], - "type": "object", - "properties": { - "address": { - "type": "string" - }, - "validatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - } - } - }, - "Fiscality": { - "required": [ - "id", - "createdAt", - "updatedAt", - "proofData", - "year", - "profile", - "incomeTaxRate", - "socialTaxRate" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "proofData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "year": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "incomeTaxRate": { - "type": "number", - "format": "double", - "nullable": true - }, - "socialTaxRate": { - "type": "number", - "format": "double", - "nullable": true - } - } - }, - "GoogleLoginRequest": { - "type": "object", - "properties": { - "code": { - "type": "string", - "nullable": true - }, - "credentials": { - "type": "string", - "nullable": true - } - } - }, - "Hubspot": { - "required": [ - "hubspotId" - ], - "type": "object", - "properties": { - "hubspotId": { - "type": "string", - "nullable": true - } - } - }, - "HubspotInfo": { - "required": [ - "hubspotId", - "lastSynchronisationAt", - "error", - "errorDate", - "defaultLanguage" - ], - "type": "object", - "properties": { - "hubspotId": { - "type": "string", - "nullable": true - }, - "lastSynchronisationAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "error": { - "type": "string", - "nullable": true - }, - "errorDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "defaultLanguage": { - "type": "string", - "nullable": true - } - } - }, - "IFormFile": { - "type": "string", - "format": "binary" - }, - "Ifu": { - "required": [ - "id", - "createdAt", - "updatedAt", - "year", - "profile", - "ifuDocumentData" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "year": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "ifuDocumentData": { - "$ref": "#/components/schemas/CloudStorageReference" - } - } - }, - "InfluencerCommission": { - "required": [ - "profile", - "id", - "createdAt", - "updatedAt", - "project", - "subscriptionsAmount", - "total", - "taxes", - "paidAt", - "docliftFormsBatchId", - "status", - "bankAccount" - ], - "type": "object", - "properties": { - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "subscriptionsAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "total": { - "type": "number", - "format": "double", - "nullable": true - }, - "taxes": { - "type": "number", - "format": "double", - "nullable": true - }, - "paidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "docliftFormsBatchId": { - "type": "string", - "nullable": true - }, - "status": { - "$ref": "#/components/schemas/CommissionStatus" - }, - "bankAccount": { - "$ref": "#/components/schemas/BankAccount2" - } - } - }, - "InfluencerInvestors": { - "required": [ - "profile", - "subscriptionsCount", - "quotaLeft" - ], - "type": "object", - "properties": { - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "subscriptionsCount": { - "type": "integer", - "format": "int32" - }, - "quotaLeft": { - "type": "integer", - "format": "int32" - } - } - }, - "InfluencerProfile": { - "required": [ - "commissionRate", - "investorQuota", - "vatRate", - "legalEntity", - "id", - "createdAt", - "updatedAt", - "user", - "archivedAt", - "cooptation" - ], - "type": "object", - "properties": { - "commissionRate": { - "type": "number", - "format": "double", - "nullable": true - }, - "investorQuota": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "vatRate": { - "type": "number", - "format": "double", - "nullable": true - }, - "legalEntity": { - "$ref": "#/components/schemas/LegalEntity" - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/User" - }, - "archivedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "cooptation": { - "$ref": "#/components/schemas/CooptationInfo" - } - } - }, - "InfluencerTemplates": { - "required": [ - "commissionPaid" - ], - "type": "object", - "properties": { - "commissionPaid": { - "type": "string", - "nullable": true - } - } - }, - "InvestorProfile": { - "required": [ - "type" - ], - "type": "object", - "anyOf": [ - { - "$ref": "#/components/schemas/InvestorProfileNaturalPersonProfile" - }, - { - "$ref": "#/components/schemas/InvestorProfileLegalEntityProfile" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "natural_person": "#/components/schemas/InvestorProfileNaturalPersonProfile", - "legal_entity": "#/components/schemas/InvestorProfileLegalEntityProfile" - } - } - }, - "InvestorProfileLegalEntityProfile": { - "required": [ - "legalEntity", - "kycValidatedAt", - "profileInformationCompleted", - "newsletter", - "status", - "lemonway", - "id", - "createdAt", - "updatedAt", - "user", - "archivedAt", - "cooptation" - ], - "properties": { - "type": { - "enum": [ - "legal_entity" - ], - "type": "string" - }, - "legalEntity": { - "$ref": "#/components/schemas/LegalEntity" - }, - "kycValidatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "profileInformationCompleted": { - "type": "boolean", - "nullable": true - }, - "newsletter": { - "type": "boolean" - }, - "status": { - "enum": [ - "missing_documents", - "rejected_documents", - "under_analysis", - "active", - "expired_documents", - "blocked", - "closed" - ] - }, - "lemonway": { - "required": [ - "id", - "remoteStatus", - "virtualIban", - "virtualBic" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "remoteStatus": { - "type": "string", - "nullable": true - }, - "virtualIban": { - "type": "string", - "nullable": true - }, - "virtualBic": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/User" - }, - "archivedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "cooptation": { - "$ref": "#/components/schemas/CooptationInfo" - } - } - }, - "InvestorProfileNaturalPersonProfile": { - "required": [ - "birth", - "nationality", - "tax", - "address", - "usPerson", - "countryAlert", - "kycValidatedAt", - "profileInformationCompleted", - "newsletter", - "status", - "lemonway", - "id", - "createdAt", - "updatedAt", - "user", - "archivedAt", - "cooptation" - ], - "properties": { - "type": { - "enum": [ - "natural_person" - ], - "type": "string" - }, - "birth": { - "required": [ - "date", - "country", - "city", - "zipCode" - ], - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date" - }, - "country": { - "type": "string" - }, - "city": { - "type": "string" - }, - "zipCode": { - "type": "string" - } - }, - "nullable": true - }, - "nationality": { - "type": "string", - "nullable": true - }, - "tax": { - "$ref": "#/components/schemas/TaxInfo" - }, - "address": { - "$ref": "#/components/schemas/AddressInfo" - }, - "usPerson": { - "type": "boolean" - }, - "countryAlert": { - "required": [ - "country", - "sendAt" - ], - "type": "object", - "properties": { - "country": { - "type": "string" - }, - "sendAt": { - "type": "string", - "format": "date-time" - } - }, - "nullable": true - }, - "kycValidatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "profileInformationCompleted": { - "type": "boolean", - "nullable": true - }, - "newsletter": { - "type": "boolean" - }, - "status": { - "enum": [ - "missing_documents", - "rejected_documents", - "under_analysis", - "active", - "expired_documents", - "blocked", - "closed" - ] - }, - "lemonway": { - "required": [ - "id", - "remoteStatus", - "virtualIban", - "virtualBic" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "remoteStatus": { - "type": "string", - "nullable": true - }, - "virtualIban": { - "type": "string", - "nullable": true - }, - "virtualBic": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/User" - }, - "archivedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "cooptation": { - "$ref": "#/components/schemas/CooptationInfo" - } - } - }, - "InvestorProfileOverview": { - "required": [ - "investor", - "suitability", - "risky" - ], - "type": "object", - "properties": { - "investor": { - "$ref": "#/components/schemas/InvestorProfile" - }, - "suitability": { - "$ref": "#/components/schemas/NullableOfQuestionnaireSuitability" - }, - "risky": { - "type": "boolean", - "nullable": true - } - } - }, - "InvestorTermTemplates": { - "required": [ - "investorTermPaid", - "missingBankAccount" - ], - "type": "object", - "properties": { - "investorTermPaid": { - "type": "string", - "nullable": true - }, - "missingBankAccount": { - "type": "string", - "nullable": true - } - } - }, - "InvitationInfo": { - "required": [ - "createdAt", - "sentAt", - "acceptedAt", - "invitedBy", - "limit", - "invitationsCount", - "skipMeetingAndValidation" - ], - "type": "object", - "properties": { - "createdAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "sentAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "acceptedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "invitedBy": { - "$ref": "#/components/schemas/Profile3" - }, - "limit": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "invitationsCount": { - "type": "integer", - "format": "int32" - }, - "skipMeetingAndValidation": { - "type": "boolean" - } - } - }, - "KycDocument": { - "required": [ - "id", - "createdAt", - "updatedAt", - "type", - "fileDataUrl", - "fileBackDataUrl" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "type": { - "$ref": "#/components/schemas/DocumentType" - }, - "fileDataUrl": { - "$ref": "#/components/schemas/CloudStorageReference2" - }, - "fileBackDataUrl": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "review": { - "$ref": "#/components/schemas/DocumentReview" - }, - "lemonway": { - "$ref": "#/components/schemas/LemonwayDocumentInfo" - } - } - }, - "KycProfile": { - "required": [ - "type" - ], - "type": "object", - "anyOf": [ - { - "$ref": "#/components/schemas/KycProfileKycNaturalPersonProfile" - }, - { - "$ref": "#/components/schemas/KycProfileKycLegalEntityProfile" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "natural_person": "#/components/schemas/KycProfileKycNaturalPersonProfile", - "legal_entity": "#/components/schemas/KycProfileKycLegalEntityProfile" - } - } - }, - "KycProfileKycLegalEntityProfile": { - "required": [ - "legalName", - "industry", - "address", - "capitalStock", - "placeOfRegistration", - "companyRegistrationNumber", - "legalForm", - "representativePosition", - "beneficialOwners", - "annualRevenue" - ], - "properties": { - "type": { - "enum": [ - "legal_entity" - ], - "type": "string" - }, - "legalName": { - "type": "string" - }, - "industry": { - "type": "string" - }, - "address": { - "type": "string" - }, - "capitalStock": { - "required": [ - "currency", - "amount" - ], - "type": "object", - "properties": { - "currency": { - "type": "string" - }, - "amount": { - "type": "number", - "format": "double" - } - } - }, - "placeOfRegistration": { - "type": "string" - }, - "companyRegistrationNumber": { - "type": "string" - }, - "legalForm": { - "type": "string" - }, - "representativePosition": { - "type": "string" - }, - "beneficialOwners": { - "type": "string" - }, - "annualRevenue": { - "required": [ - "currency", - "amount" - ], - "type": "object", - "properties": { - "currency": { - "type": "string" - }, - "amount": { - "type": "number", - "format": "double" - } - } - } - } - }, - "KycProfileKycNaturalPersonProfile": { - "required": [ - "sex", - "firstName", - "lastName", - "address", - "birth", - "nationality", - "tax" - ], - "properties": { - "type": { - "enum": [ - "natural_person" - ], - "type": "string" - }, - "sex": { - "enum": [ - "male", - "female" - ] - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "address": { - "type": "string" - }, - "birth": { - "required": [ - "date", - "country", - "postalCode", - "city" - ], - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date" - }, - "country": { - "type": "string" - }, - "postalCode": { - "type": "string" - }, - "city": { - "type": "string" - } - } - }, - "nationality": { - "required": [ - "country", - "isUSPerson" - ], - "type": "object", - "properties": { - "country": { - "type": "string" - }, - "isUSPerson": { - "type": "boolean" - } - } - }, - "tax": { - "required": [ - "residenceCountry" - ], - "type": "object", - "properties": { - "residenceCountry": { - "type": "string" - } - } - } - } - }, - "KycTemplates": { - "required": [ - "fullyValidated", - "documentRejected", - "adminValidated" - ], - "type": "object", - "properties": { - "fullyValidated": { - "type": "string", - "nullable": true - }, - "documentRejected": { - "type": "string", - "nullable": true - }, - "adminValidated": { - "type": "string", - "nullable": true - } - } - }, - "LegalEntity": { - "required": [ - "legalType", - "name", - "registrationNumber", - "city", - "zipCode", - "country", - "email", - "streetNumber", - "street", - "lineOfBusiness", - "legalStatus", - "capital", - "representativeDuties", - "tradeAndCompanyRegisterCity", - "otherLegalStatus" - ], - "type": "object", - "properties": { - "legalType": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "registrationNumber": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "zipCode": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "streetNumber": { - "type": "string", - "nullable": true - }, - "street": { - "type": "string", - "nullable": true - }, - "lineOfBusiness": { - "type": "string", - "nullable": true - }, - "legalStatus": { - "type": "string", - "nullable": true - }, - "capital": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "representativeDuties": { - "type": "string", - "nullable": true - }, - "tradeAndCompanyRegisterCity": { - "type": "string", - "nullable": true - }, - "otherLegalStatus": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "LegalEntity2": { - "required": [ - "name", - "registrationNumber" - ], - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - }, - "registrationNumber": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "LegalEntity3": { - "type": "object", - "properties": { - "legalType": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "registrationNumber": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "zipCode": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "streetNumber": { - "type": "string", - "nullable": true - }, - "street": { - "type": "string", - "nullable": true - }, - "lineOfBusiness": { - "type": "string", - "nullable": true - }, - "legalStatus": { - "type": "string", - "nullable": true - }, - "capital": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "representativeDuties": { - "type": "string", - "nullable": true - }, - "tradeAndCompanyRegisterCity": { - "type": "string", - "nullable": true - }, - "otherLegalStatus": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "LemonwayDocumentInfo": { - "required": [ - "id", - "status", - "refuseReason" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "status": { - "type": "string", - "nullable": true - }, - "refuseReason": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "LemonwayInfo": { - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "remoteStatus": { - "type": "string", - "nullable": true - }, - "virtualIban": { - "type": "string", - "nullable": true - }, - "virtualBic": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "LendingInvestorTerm": { - "required": [ - "id", - "createdAt", - "updatedAt", - "subscription", - "lendingTerm", - "dueOn", - "paidAt", - "paymentAskedAt", - "remainingCapitalBeginningOfPeriod", - "paymentCapitalShare", - "paymentInterestsShare", - "totalAmountToPay", - "totalPaidCapitalEndOfPeriod", - "totalPaidInterestsEndOfPeriod", - "remainingCapitalEndOfPeriod", - "earlyRepayment", - "deltaDueEndOfPeriod", - "amountToAdd", - "incomeTaxRate", - "socialTaxRate", - "incomeTaxAmount", - "socialTaxAmount", - "incomeTaxPaidAt", - "socialTaxPaidAt", - "termNumber", - "nonConversionBonus", - "totalPaidBonusEndOfPeriod", - "termPaidAt" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "subscription": { - "$ref": "#/components/schemas/Subscription2" - }, - "lendingTerm": { - "$ref": "#/components/schemas/LendingTerm" - }, - "dueOn": { - "type": "string", - "format": "date", - "nullable": true - }, - "paidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "paymentAskedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "remainingCapitalBeginningOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "paymentCapitalShare": { - "type": "number", - "format": "double", - "nullable": true - }, - "paymentInterestsShare": { - "type": "number", - "format": "double", - "nullable": true - }, - "totalAmountToPay": { - "type": "number", - "format": "double", - "nullable": true - }, - "totalPaidCapitalEndOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "totalPaidInterestsEndOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "remainingCapitalEndOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "earlyRepayment": { - "type": "boolean" - }, - "deltaDueEndOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "amountToAdd": { - "type": "number", - "format": "double", - "nullable": true - }, - "incomeTaxRate": { - "type": "number", - "format": "double", - "nullable": true - }, - "socialTaxRate": { - "type": "number", - "format": "double", - "nullable": true - }, - "incomeTaxAmount": { - "type": "number", - "format": "double", - "nullable": true - }, - "socialTaxAmount": { - "type": "number", - "format": "double", - "nullable": true - }, - "incomeTaxPaidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "socialTaxPaidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "termNumber": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "nonConversionBonus": { - "type": "number", - "format": "double", - "nullable": true - }, - "totalPaidBonusEndOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "termPaidAt": { - "type": "string", - "format": "date-time", - "nullable": true - } - } - }, - "LendingInvestorTermOverview": { - "required": [ - "lendingInvestorTerm", - "profile", - "project" - ], - "type": "object", - "properties": { - "lendingInvestorTerm": { - "$ref": "#/components/schemas/LendingInvestorTerm" - }, - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "project": { - "$ref": "#/components/schemas/Project" - } - } - }, - "LendingTerm": { - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "LendingTerm2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "project", - "dueOn", - "paidAt", - "paymentAskedAt", - "remainingCapitalBeginningOfPeriod", - "paymentCapitalShare", - "paymentInterestsShare", - "totalPaidCapitalEndOfPeriod", - "totalPaidInterestsEndOfPeriod", - "remainingCapitalEndOfPeriod", - "earlyRepayment", - "visible", - "termNumber", - "nonConversionBonus", - "totalPaidBonusEndOfPeriod" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "dueOn": { - "type": "string", - "format": "date", - "nullable": true - }, - "paidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "paymentAskedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "remainingCapitalBeginningOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "paymentCapitalShare": { - "type": "number", - "format": "double", - "nullable": true - }, - "paymentInterestsShare": { - "type": "number", - "format": "double", - "nullable": true - }, - "totalPaidCapitalEndOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "totalPaidInterestsEndOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "remainingCapitalEndOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "earlyRepayment": { - "type": "boolean" - }, - "visible": { - "type": "boolean" - }, - "termNumber": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "nonConversionBonus": { - "type": "number", - "format": "double", - "nullable": true - }, - "totalPaidBonusEndOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - } - } - }, - "LoginResponse": { - "required": [ - "accessToken" - ], - "type": "object", - "properties": { - "accessToken": { - "type": "string" - } - } - }, - "MeanOfPayment": { - "enum": [ - "transfer", - "bank_wire", - "card", - "direct_debit" - ] - }, - "MeetingInfo": { - "required": [ - "meetingId", - "startTime", - "takenAt" - ], - "type": "object", - "properties": { - "meetingId": { - "type": "string", - "nullable": true - }, - "startTime": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "takenAt": { - "type": "string", - "format": "date-time" - } - }, - "nullable": true - }, - "MeResponse": { - "required": [ - "civility", - "firstname", - "lastname", - "email", - "phone" - ], - "type": "object", - "properties": { - "civility": { - "$ref": "#/components/schemas/Civility" - }, - "firstname": { - "type": "string" - }, - "lastname": { - "type": "string" - }, - "email": { - "type": "string" - }, - "phone": { - "type": "string" - } - } - }, - "MeResponse2": { - "required": [ - "username", - "email", - "roles" - ], - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "NaturalPersonProfile": { - "type": "object", - "properties": { - "birth": { - "$ref": "#/components/schemas/BirthInfo2" - }, - "nationality": { - "type": "string", - "nullable": true - }, - "tax": { - "$ref": "#/components/schemas/TaxInfo2" - }, - "address": { - "$ref": "#/components/schemas/AddressInfo2" - }, - "newsletter": { - "type": "boolean", - "nullable": true - }, - "profileInformationCompleted": { - "type": "boolean", - "nullable": true - }, - "usPerson": { - "type": "boolean", - "nullable": true - } - } - }, - "NullableOfBankAccountStatus": { - "enum": [ - "pending_admin_review", - "rejected", - "canceled", - "accepted", - "pending_review", - null - ], - "nullable": true - }, - "NullableOfBudgetStatus": { - "enum": [ - "draft", - "on_going", - "ended", - null - ], - "nullable": true - }, - "NullableOfCivility": { - "enum": [ - "mister", - "madam", - null - ], - "nullable": true - }, - "NullableOfQuestionnaireSuitability": { - "type": "integer", - "nullable": true - }, - "OnboardingProgressInfo": { - "type": "object", - "properties": { - "nextStep": { - "type": "string", - "nullable": true - }, - "isCompleted": { - "type": "boolean" - }, - "completedSteps": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "nullable": true - }, - "OperationCategory": { - "enum": [ - "subscription_to_project", - "subscription", - "commission", - "lending_payment", - "social_tax", - "credit_account", - "debit_account", - "income_tax", - "subscription_refund", - "non_conversion_bonus", - "membership_payment" - ] - }, - "OperationDirection": { - "enum": [ - "in", - "out" - ] - }, - "OperationOwner": { - "enum": [ - "distributor", - "project_owner", - "influencer", - "investor" - ] - }, - "OperationStatus": { - "enum": [ - "created", - "succeeded", - "canceled", - "failed" - ] - }, - "OperationTarget": { - "enum": [ - "bank_account", - "commission", - "lending_investor_term", - "membership", - "subscription" - ] - }, - "Opportunity": { - "required": [ - "id", - "coverPictureData", - "artwork", - "shortDescription", - "price", - "status" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "coverPictureData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "artwork": { - "$ref": "#/components/schemas/OpportunityArtworkInfo" - }, - "shortDescription": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "price": { - "type": "integer", - "format": "int32" - }, - "status": { - "$ref": "#/components/schemas/ProjectStatus" - } - } - }, - "OpportunityArtworkInfo": { - "required": [ - "name", - "artistName", - "year", - "size", - "technique" - ], - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "artistName": { - "type": "string" - }, - "year": { - "type": "string" - }, - "size": { - "type": "string" - }, - "technique": { - "$ref": "#/components/schemas/TranslationOfstring" - } - } - }, - "OpportunityDocument": { - "required": [ - "id", - "createdAt", - "documentCategory", - "file", - "name" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "documentCategory": { - "type": "string", - "nullable": true - }, - "file": { - "$ref": "#/components/schemas/CloudStorageReference2" - }, - "name": { - "type": "string" - } - } - }, - "PaymentOperation": { - "required": [ - "id", - "createdAt", - "updatedAt", - "ownerType", - "owner", - "targetableType", - "targetable", - "amountInCents", - "status", - "bankAccount", - "direction", - "meanOfPayment", - "category", - "reference" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "ownerType": { - "$ref": "#/components/schemas/OperationOwner" - }, - "owner": { - "type": "string" - }, - "targetableType": { - "$ref": "#/components/schemas/OperationTarget" - }, - "targetable": { - "type": "string", - "nullable": true - }, - "amountInCents": { - "type": "integer", - "format": "int32" - }, - "status": { - "$ref": "#/components/schemas/OperationStatus" - }, - "remoteId": { - "type": "string", - "nullable": true - }, - "bankAccount": { - "$ref": "#/components/schemas/BankAccount2" - }, - "direction": { - "$ref": "#/components/schemas/OperationDirection" - }, - "meanOfPayment": { - "$ref": "#/components/schemas/MeanOfPayment" - }, - "category": { - "$ref": "#/components/schemas/OperationCategory" - }, - "reference": { - "type": "string", - "nullable": true - } - } - }, - "PhoneInfo": { - "required": [ - "number", - "validatedAt" - ], - "type": "object", - "properties": { - "number": { - "type": "string" - }, - "validatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - } - } - }, - "ProblemDetails": { - "type": "object", - "properties": { - "type": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "instance": { - "type": "string", - "nullable": true - } - } - }, - "Profile": { - "required": [ - "id", - "type", - "createdAt", - "updatedAt", - "usPerson" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "type": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "profileInformationCompleted": { - "type": "boolean", - "nullable": true - }, - "newsletter": { - "type": "boolean" - }, - "kycValidatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "kycStatus": { - "type": "string", - "nullable": true - }, - "lemonway": { - "$ref": "#/components/schemas/LemonwayInfo" - }, - "birth": { - "$ref": "#/components/schemas/BirthInfo" - }, - "nationality": { - "type": "string", - "nullable": true - }, - "tax": { - "$ref": "#/components/schemas/TaxInfo" - }, - "address": { - "$ref": "#/components/schemas/AddressInfo" - }, - "usPerson": { - "type": "boolean", - "nullable": true - } - } - }, - "Profile2": { - "required": [ - "name", - "type", - "user", - "id" - ], - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "type": { - "$ref": "#/components/schemas/ProfileType" - }, - "user": { - "$ref": "#/components/schemas/User" - }, - "id": { - "type": "string" - } - } - }, - "Profile3": { - "required": [ - "name", - "type", - "user", - "id" - ], - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "type": { - "$ref": "#/components/schemas/ProfileType" - }, - "user": { }, - "id": { - "type": "string" - } - }, - "nullable": true - }, - "ProfileInfo": { - "required": [ - "id", - "type" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "type": { - "$ref": "#/components/schemas/ProfileType" - }, - "onboardingProgress": { - "$ref": "#/components/schemas/OnboardingProgressInfo" - }, - "kycStatus": { - "type": "string", - "nullable": true - }, - "lemonwayRemoteStatus": { - "type": "string", - "nullable": true - } - } - }, - "ProfileResponse": { - "required": [ - "id", - "review", - "documents", - "profile" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "review": { - "$ref": "#/components/schemas/ProfileReview" - }, - "documents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Document" - } - }, - "profile": { - "$ref": "#/components/schemas/KycProfile" - } - } - }, - "ProfileReview": { - "required": [ - "status", - "date" - ], - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/ProfileStatus" - }, - "date": { - "type": "string", - "format": "date-time" - } - }, - "nullable": true - }, - "ProfileReview2": { - "required": [ - "status", - "date" - ], - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/ProfileStatus" - }, - "date": { - "type": "string", - "format": "date-time" - } - } - }, - "ProfileStatus": { - "enum": [ - "accepted", - "rejected" - ] - }, - "ProfileStatusRequest": { - "required": [ - "status" - ], - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/ProfileStatus" - } - } - }, - "ProfileSummaryResponse": { - "required": [ - "id", - "createdAt", - "type", - "summary" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "type": { - "$ref": "#/components/schemas/ProfileType2" - }, - "summary": { - "type": "string" - } - } - }, - "ProfileType": { - "enum": [ - "natural_person", - "legal_entity", - "intermediated", - "influencer", - "advisor" - ] - }, - "ProfileType2": { - "enum": [ - "natural_person", - "legal_entity" - ] - }, - "Project": { - "required": [ - "artwork", - "id" - ], - "type": "object", - "properties": { - "artwork": { - "$ref": "#/components/schemas/Artwork" - }, - "id": { - "type": "string" - } - } - }, - "Project2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "projectOwner", - "artwork", - "status", - "coverPictureData", - "thumbnailPictureData", - "subscriptionFormSignCoordinates", - "subscriptionFormSignPageNumber", - "docliftSubscriptionFormTemplateId", - "docliftRefundCertificateInvestmentDurationManualInput", - "shortDescription", - "maximumTargetedAmount", - "collectStartsAt", - "minSubscriptionAmount", - "closingDate", - "minimumTargetedAmount", - "accountId", - "shareValue", - "returnedIncome", - "category", - "type", - "clubDeal", - "investmentDuration", - "issuanceDate", - "distributorsCommission", - "visible", - "imported", - "officialReportIssuanceDate", - "observationDate", - "maxSubscriptionAmount", - "preSales" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "projectOwner": { - "$ref": "#/components/schemas/ProjectOwner" - }, - "artwork": { - "$ref": "#/components/schemas/Artwork" - }, - "status": { - "$ref": "#/components/schemas/ProjectStatus" - }, - "coverPictureData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "thumbnailPictureData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "subscriptionFormSignCoordinates": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "subscriptionFormSignPageNumber": { - "$ref": "#/components/schemas/TranslationOfint" - }, - "docliftSubscriptionFormTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "docliftRefundCertificateInvestmentDurationManualInput": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "shortDescription": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "maximumTargetedAmount": { - "type": "integer", - "format": "int32" - }, - "collectStartsAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "minSubscriptionAmount": { - "type": "integer", - "format": "int32" - }, - "closingDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "minimumTargetedAmount": { - "type": "integer", - "format": "int32" - }, - "accountId": { - "type": "string", - "nullable": true - }, - "shareValue": { - "type": "integer", - "format": "int32" - }, - "returnedIncome": { - "type": "number", - "format": "double", - "nullable": true - }, - "category": { - "type": "string", - "nullable": true - }, - "type": { - "type": "string", - "nullable": true - }, - "clubDeal": { - "type": "boolean" - }, - "investmentDuration": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "issuanceDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "distributorsCommission": { - "type": "number", - "format": "double" - }, - "visible": { - "type": "boolean" - }, - "imported": { - "type": "boolean" - }, - "officialReportIssuanceDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "observationDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "maxSubscriptionAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "preSales": { - "type": "boolean", - "nullable": true - } - } - }, - "Project3": { - "required": [ - "projectOwner", - "artwork", - "maximumTargetedAmount" - ], - "type": "object", - "properties": { - "projectOwner": { - "type": "string" - }, - "artwork": { - "type": "string" - }, - "maximumTargetedAmount": { - "type": "integer", - "format": "int32" - } - } - }, - "Project4": { - "type": "object", - "properties": { - "projectOwner": { - "type": "string", - "nullable": true - }, - "artwork": { - "type": "string", - "nullable": true - }, - "maximumTargetedAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "subscriptionFormSignCoordinates": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "subscriptionFormSignPageNumber": { - "$ref": "#/components/schemas/TranslationOfint2" - }, - "docliftSubscriptionFormTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "docliftRefundCertificateInvestmentDurationManualInput": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "shortDescription": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "collectStartsAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "minSubscriptionAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "closingDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "minimumTargetedAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "accountId": { - "type": "string", - "nullable": true - }, - "shareValue": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "returnedIncome": { - "type": "number", - "format": "double", - "nullable": true - }, - "category": { - "type": "string", - "nullable": true - }, - "type": { - "type": "string", - "nullable": true - }, - "clubDeal": { - "type": "boolean", - "nullable": true - }, - "investmentDuration": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "issuanceDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "distributorsCommission": { - "type": "number", - "format": "double", - "nullable": true - }, - "visible": { - "type": "boolean", - "nullable": true - }, - "imported": { - "type": "boolean", - "nullable": true - }, - "officialReportIssuanceDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "observationDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "maxSubscriptionAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "preSales": { - "type": "boolean", - "nullable": true - } - } - }, - "ProjectDescriptionBlock": { - "required": [ - "id", - "createdAt", - "updatedAt", - "project", - "visible", - "title", - "content" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "visible": { - "type": "boolean", - "nullable": true - }, - "title": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "content": { - "$ref": "#/components/schemas/TranslationOfstring" - } - } - }, - "ProjectDocument": { - "required": [ - "id", - "createdAt", - "updatedAt", - "visible", - "project", - "documentCategory", - "file", - "name" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "visible": { - "type": "boolean", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "documentCategory": { - "type": "string", - "nullable": true - }, - "file": { - "$ref": "#/components/schemas/TranslationOfCloudStorageReference" - }, - "name": { - "$ref": "#/components/schemas/TranslationOfstring" - } - } - }, - "ProjectOwner": { - "required": [ - "firstName", - "lastName", - "legalEntity", - "id" - ], - "type": "object", - "properties": { - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "legalEntity": { - "$ref": "#/components/schemas/LegalEntity2" - }, - "id": { - "type": "string" - } - } - }, - "ProjectOwner2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "email", - "civility", - "firstName", - "lastName", - "nationality", - "country", - "birthdate", - "kycValidatedAt", - "remoteStatus", - "accountId", - "virtualIban", - "virtualBic", - "memobankId", - "memobankIban", - "icsNumber", - "legalEntity" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "email": { - "type": "string" - }, - "civility": { - "type": "string", - "nullable": true - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "nationality": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "birthdate": { - "type": "string", - "format": "date", - "nullable": true - }, - "kycValidatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "remoteStatus": { - "type": "string", - "nullable": true - }, - "accountId": { - "type": "string", - "nullable": true - }, - "virtualIban": { - "type": "string", - "nullable": true - }, - "virtualBic": { - "type": "string", - "nullable": true - }, - "memobankId": { - "type": "string", - "nullable": true - }, - "memobankIban": { - "type": "string", - "nullable": true - }, - "icsNumber": { - "type": "string", - "nullable": true - }, - "legalEntity": { - "$ref": "#/components/schemas/LegalEntity" - } - } - }, - "ProjectOwner3": { - "required": [ - "email", - "firstName", - "lastName" - ], - "type": "object", - "properties": { - "email": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - } - } - }, - "ProjectOwner4": { - "type": "object", - "properties": { - "email": { - "type": "string", - "nullable": true - }, - "civility": { - "type": "string", - "nullable": true - }, - "firstName": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true - }, - "nationality": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "birthdate": { - "type": "string", - "format": "date", - "nullable": true - }, - "kycValidatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "remoteStatus": { - "type": "string", - "nullable": true - }, - "accountId": { - "type": "string", - "nullable": true - }, - "virtualIban": { - "type": "string", - "nullable": true - }, - "virtualBic": { - "type": "string", - "nullable": true - }, - "memobankId": { - "type": "string", - "nullable": true - }, - "memobankIban": { - "type": "string", - "nullable": true - }, - "icsNumber": { - "type": "string", - "nullable": true - }, - "legalEntity": { - "$ref": "#/components/schemas/LegalEntity3" - } - } - }, - "ProjectPost": { - "required": [ - "id", - "createdAt", - "updatedAt", - "project", - "imageData", - "referenceDate", - "title", - "content" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "imageData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "referenceDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "title": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "content": { - "$ref": "#/components/schemas/TranslationOfstring" - } - } - }, - "ProjectsOwnerTemplates": { - "required": [ - "accountCredited" - ], - "type": "object", - "properties": { - "accountCredited": { - "type": "string", - "nullable": true - } - } - }, - "ProjectStatus": { - "enum": [ - "draft", - "canceled", - "published", - "being_reimbursed", - "failed", - "succeeded", - "reimbursed", - "closed" - ] - }, - "ProjectsWaitingListMemberTemplates": { - "required": [ - "confirmation" - ], - "type": "object", - "properties": { - "confirmation": { - "type": "string", - "nullable": true - } - } - }, - "ProjectTemplates": { - "required": [ - "succeeded", - "failed", - "failedForInvestors" - ], - "type": "object", - "properties": { - "succeeded": { - "type": "string", - "nullable": true - }, - "failed": { - "type": "string", - "nullable": true - }, - "failedForInvestors": { - "type": "string", - "nullable": true - } - } - }, - "ProvisionalSubscription": { - "required": [ - "id", - "createdAt", - "updatedAt", - "profile", - "project", - "amount", - "hubspotId", - "lastHubspotSynchronisationAt" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "amount": { - "type": "integer", - "format": "int32" - }, - "hubspotId": { - "type": "string", - "nullable": true - }, - "lastHubspotSynchronisationAt": { - "type": "string", - "format": "date-time", - "nullable": true - } - } - }, - "ProvisionalSubscription2": { - "required": [ - "profile", - "project", - "amount" - ], - "type": "object", - "properties": { - "profile": { - "type": "string" - }, - "project": { - "type": "string" - }, - "amount": { - "type": "integer", - "format": "int32" - } - } - }, - "Questionnaire": { - "type": "object" - }, - "Questionnaire2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "profile", - "suitability", - "profileType", - "isActive", - "isComplete", - "completedAt", - "hasCrowdfundingSkills", - "sourceOfFunds", - "hasSavedIncome", - "liquidAssets", - "netAnnualIncome", - "amountOfPersonalAssets", - "amountOfDebt", - "certifiedThatSimulationIsCorrect", - "investmentCapacity", - "hasInvestmentDurabilityExpectations", - "investmentDurabilityExpectations", - "investmentServicesTypesKnowledge", - "volumeOfInvestments", - "frequencyOfInvestments", - "periodOfInvestments", - "practicedFinancialProfessions", - "confirmedQualificationInfoCorrectness", - "investmentReason", - "typesOfFinancialInstrumentsKnown", - "levelOfFinancialEducation", - "naturalQualifications", - "legalQualifications", - "risksAccepted", - "horizons", - "investedProductUndergoLoss", - "acceptedRiskScenarios", - "steadyNetAnnualIncome", - "hasInvestedInShares", - "hasInvestedInBonds", - "hasInvestedInFunds", - "hasInvestedInNonSidedInstrument", - "hasExtensiveKnowledgeAboutRisks", - "investmentAlwaysLeadToCapitalGain", - "shareOrBondEasilySold", - "investedCapitalLoss", - "anyLiquidityRisk", - "canFaceTotalLoss", - "waitYearsAfterTotalLoss", - "reliableInformations", - "isInformedInvestor", - "risky", - "acknowledgeWarning", - "benefitServices" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "suitability": { - "$ref": "#/components/schemas/QuestionnaireSuitability" - }, - "profileType": { - "$ref": "#/components/schemas/QuestionnaireProfile" - }, - "isActive": { - "type": "boolean" - }, - "isComplete": { - "type": "boolean" - }, - "completedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "hasCrowdfundingSkills": { - "type": "boolean", - "nullable": true - }, - "sourceOfFunds": { - "type": "string", - "nullable": true - }, - "hasSavedIncome": { - "type": "boolean", - "nullable": true - }, - "liquidAssets": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "netAnnualIncome": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "amountOfPersonalAssets": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "amountOfDebt": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "certifiedThatSimulationIsCorrect": { - "type": "boolean", - "nullable": true - }, - "investmentCapacity": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "hasInvestmentDurabilityExpectations": { - "type": "boolean", - "nullable": true - }, - "investmentDurabilityExpectations": { - "type": "string", - "nullable": true - }, - "investmentServicesTypesKnowledge": { - "type": "string", - "nullable": true - }, - "volumeOfInvestments": { - "type": "string", - "nullable": true - }, - "frequencyOfInvestments": { - "type": "string", - "nullable": true - }, - "periodOfInvestments": { - "type": "string", - "nullable": true - }, - "practicedFinancialProfessions": { - "type": "boolean", - "nullable": true - }, - "confirmedQualificationInfoCorrectness": { - "type": "boolean", - "nullable": true - }, - "investmentReason": { - "type": "string", - "nullable": true - }, - "typesOfFinancialInstrumentsKnown": { - "type": "string", - "nullable": true - }, - "levelOfFinancialEducation": { - "type": "string", - "nullable": true - }, - "naturalQualifications": { - "type": "string", - "nullable": true - }, - "legalQualifications": { - "type": "string", - "nullable": true - }, - "risksAccepted": { - "type": "boolean", - "nullable": true - }, - "horizons": { - "type": "string", - "nullable": true - }, - "investedProductUndergoLoss": { - "type": "string", - "nullable": true - }, - "acceptedRiskScenarios": { - "type": "string", - "nullable": true - }, - "steadyNetAnnualIncome": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "hasInvestedInShares": { - "type": "boolean", - "nullable": true - }, - "hasInvestedInBonds": { - "type": "boolean", - "nullable": true - }, - "hasInvestedInFunds": { - "type": "boolean", - "nullable": true - }, - "hasInvestedInNonSidedInstrument": { - "type": "boolean", - "nullable": true - }, - "hasExtensiveKnowledgeAboutRisks": { - "type": "boolean", - "nullable": true - }, - "investmentAlwaysLeadToCapitalGain": { - "type": "boolean", - "nullable": true - }, - "shareOrBondEasilySold": { - "type": "boolean", - "nullable": true - }, - "investedCapitalLoss": { - "type": "boolean", - "nullable": true - }, - "anyLiquidityRisk": { - "type": "boolean", - "nullable": true - }, - "canFaceTotalLoss": { - "type": "boolean", - "nullable": true - }, - "waitYearsAfterTotalLoss": { - "type": "boolean", - "nullable": true - }, - "reliableInformations": { - "type": "boolean", - "nullable": true - }, - "isInformedInvestor": { - "type": "boolean", - "nullable": true - }, - "risky": { - "type": "boolean", - "nullable": true - }, - "acknowledgeWarning": { - "type": "boolean", - "nullable": true - }, - "benefitServices": { - "type": "boolean", - "nullable": true - } - } - }, - "QuestionnairePatch": { - "type": "object", - "properties": { - "hasCrowdfundingSkills": { - "type": "boolean", - "nullable": true - }, - "sourceOfFunds": { - "type": "string", - "nullable": true - }, - "hasSavedIncome": { - "type": "boolean", - "nullable": true - }, - "liquidAssets": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "netAnnualIncome": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "amountOfPersonalAssets": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "amountOfDebt": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "certifiedThatSimulationIsCorrect": { - "type": "boolean", - "nullable": true - }, - "investmentCapacity": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "hasInvestmentDurabilityExpectations": { - "type": "boolean", - "nullable": true - }, - "investmentDurabilityExpectations": { - "type": "string", - "nullable": true - }, - "investmentServicesTypesKnowledge": { - "type": "string", - "nullable": true - }, - "volumeOfInvestments": { - "type": "string", - "nullable": true - }, - "frequencyOfInvestments": { - "type": "string", - "nullable": true - }, - "periodOfInvestments": { - "type": "string", - "nullable": true - }, - "practicedFinancialProfessions": { - "type": "boolean", - "nullable": true - }, - "confirmedQualificationInfoCorrectness": { - "type": "boolean", - "nullable": true - }, - "investmentReason": { - "type": "string", - "nullable": true - }, - "typesOfFinancialInstrumentsKnown": { - "type": "string", - "nullable": true - }, - "levelOfFinancialEducation": { - "type": "string", - "nullable": true - }, - "naturalQualifications": { - "type": "string", - "nullable": true - }, - "legalQualifications": { - "type": "string", - "nullable": true - }, - "risksAccepted": { - "type": "boolean", - "nullable": true - }, - "horizons": { - "type": "string", - "nullable": true - }, - "investedProductUndergoLoss": { - "type": "string", - "nullable": true - }, - "acceptedRiskScenarios": { - "type": "string", - "nullable": true - }, - "steadyNetAnnualIncome": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "hasInvestedInShares": { - "type": "boolean", - "nullable": true - }, - "hasInvestedInBonds": { - "type": "boolean", - "nullable": true - }, - "hasInvestedInFunds": { - "type": "boolean", - "nullable": true - }, - "hasInvestedInNonSidedInstrument": { - "type": "boolean", - "nullable": true - }, - "hasExtensiveKnowledgeAboutRisks": { - "type": "boolean", - "nullable": true - }, - "investmentAlwaysLeadToCapitalGain": { - "type": "boolean", - "nullable": true - }, - "shareOrBondEasilySold": { - "type": "boolean", - "nullable": true - }, - "investedCapitalLoss": { - "type": "boolean", - "nullable": true - }, - "anyLiquidityRisk": { - "type": "boolean", - "nullable": true - }, - "canFaceTotalLoss": { - "type": "boolean", - "nullable": true - }, - "waitYearsAfterTotalLoss": { - "type": "boolean", - "nullable": true - }, - "reliableInformations": { - "type": "boolean", - "nullable": true - }, - "isInformedInvestor": { - "type": "boolean", - "nullable": true - }, - "acknowledgeWarning": { - "type": "boolean", - "nullable": true - }, - "benefitServices": { - "type": "boolean", - "nullable": true - }, - "isComplete": { - "type": "boolean", - "nullable": true - } - } - }, - "QuestionnaireProfile": { - "enum": [ - "natural_person", - "legal_entity" - ] - }, - "QuestionnaireSuitability": { - "enum": [ - "non_informed", - "informed", - "to_be_determined" - ] - }, - "ReviewStatus": { - "enum": [ - "accepted", - "rejected", - "waiting_for_document", - "need_manual_validation", - "unreadable", - "expired", - "wrong_type", - "wrong_name", - "duplicated_document" - ] - }, - "SecurityInfo": { - "required": [ - "signInCount", - "currentSignInAt", - "lastSignInAt", - "currentSignInIp", - "lastSignInIp" - ], - "type": "object", - "properties": { - "signInCount": { - "type": "integer", - "format": "int32" - }, - "currentSignInAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "lastSignInAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "currentSignInIp": { - "type": "string", - "nullable": true - }, - "lastSignInIp": { - "type": "string", - "nullable": true - } - } - }, - "SliceOfAdvisorProfileOverview": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AdvisorProfileOverview" - } - } - } - }, - "SliceOfArtwork": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Artwork2" - } - } - } - }, - "SliceOfBankAccount": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BankAccount" - } - } - } - }, - "SliceOfBudget": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Budget2" - } - } - } - }, - "SliceOfCmsPage": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CmsPage" - } - } - } - }, - "SliceOfCmsPlatformSubsidiary": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CmsPlatformSubsidiary2" - } - } - } - }, - "SliceOfCmsRemoteEmailTemplate": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CmsRemoteEmailTemplate" - } - } - } - }, - "SliceOfCommission": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Commission2" - } - } - } - }, - "SliceOfCooptation": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Cooptation" - } - } - } - }, - "SliceOfDistributorAdvisorsItem": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DistributorAdvisorsItem" - } - } - } - }, - "SliceOfDistributorCommission": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DistributorCommission" - } - } - } - }, - "SliceOfDistributorInvestorsItem": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DistributorInvestorsItem" - } - } - } - }, - "SliceOfDistributorItem": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DistributorItem" - } - } - } - }, - "SliceOfFiscality": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Fiscality" - } - } - } - }, - "SliceOfIfu": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Ifu" - } - } - } - }, - "SliceOfInfluencerCommission": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InfluencerCommission" - } - } - } - }, - "SliceOfInfluencerInvestors": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InfluencerInvestors" - } - } - } - }, - "SliceOfInfluencerProfile": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InfluencerProfile" - } - } - } - }, - "SliceOfInvestorProfile": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InvestorProfile" - } - } - } - }, - "SliceOfInvestorProfileOverview": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InvestorProfileOverview" - } - } - } - }, - "SliceOfKycDocument": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/KycDocument" - } - } - } - }, - "SliceOfLendingInvestorTerm": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LendingInvestorTerm" - } - } - } - }, - "SliceOfLendingInvestorTermOverview": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LendingInvestorTermOverview" - } - } - } - }, - "SliceOfLendingTerm": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LendingTerm2" - } - } - } - }, - "SliceOfOpportunity": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Opportunity" - } - } - } - }, - "SliceOfOpportunityDocument": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/OpportunityDocument" - } - } - } - }, - "SliceOfPaymentOperation": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PaymentOperation" - } - } - } - }, - "SliceOfProject": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Project2" - } - } - } - }, - "SliceOfProjectDescriptionBlock": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProjectDescriptionBlock" - } - } - } - }, - "SliceOfProjectDocument": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProjectDocument" - } - } - } - }, - "SliceOfProjectOwner": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProjectOwner2" - } - } - } - }, - "SliceOfProjectPost": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProjectPost" - } - } - } - }, - "SliceOfProvisionalSubscription": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProvisionalSubscription" - } - } - } - }, - "SliceOfQuestionnaire": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Questionnaire2" - } - } - } - }, - "SliceOfSubscription": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Subscription" - } - } - } - }, - "SliceOfSubscriptionIntentionOverview": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SubscriptionIntentionOverview" - } - } - } - }, - "SliceOfUser": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/User3" - } - } - } - }, - "Subscription": { - "required": [ - "id", - "createdAt", - "updatedAt", - "project", - "amount", - "paidAt", - "signedAt", - "profile", - "remoteStatus", - "reservation", - "reservationEmailSentAt", - "docliftContractId", - "docliftContractData", - "canceledAt", - "signedContractData", - "numberOfShares", - "paymentFailedAt", - "subscriptionIntention", - "type", - "eSignId", - "signatureToken", - "budget", - "commissionRate", - "lastHubspotSynchronisationAt", - "hubspotId", - "docliftBankTransferFormId", - "docliftBankTransferFormData", - "signedBankTransferFormData", - "signatureFailedAt", - "docliftContractLanguage", - "docliftRefundCertificatesBatchId", - "docliftRegisterCertificatesBatchId", - "advisor", - "refundCertificateSentAt", - "influencer", - "commission", - "rumNumber", - "docliftSepaMandateFormData", - "docliftSepaMandateFormId", - "bankAccount", - "nextDebitDate", - "retryDebitDate", - "meanOfPayment", - "cancelRequestedAt", - "signedSepaMandateFormData", - "memobankError" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "amount": { - "type": "integer", - "format": "int32" - }, - "paidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "signedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "remoteStatus": { - "type": "string", - "nullable": true - }, - "reservation": { - "type": "boolean" - }, - "reservationEmailSentAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "docliftContractId": { - "type": "string", - "nullable": true - }, - "docliftContractData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "canceledAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "signedContractData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "numberOfShares": { - "type": "integer", - "format": "int32" - }, - "paymentFailedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "subscriptionIntention": { - "$ref": "#/components/schemas/SubscriptionIntention" - }, - "type": { - "type": "string", - "nullable": true - }, - "eSignId": { - "type": "string", - "nullable": true - }, - "signatureToken": { - "type": "string", - "nullable": true - }, - "budget": { - "$ref": "#/components/schemas/Budget" - }, - "commissionRate": { - "type": "number", - "format": "double", - "nullable": true - }, - "lastHubspotSynchronisationAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "hubspotId": { - "type": "string", - "nullable": true - }, - "docliftBankTransferFormId": { - "type": "string", - "nullable": true - }, - "docliftBankTransferFormData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "signedBankTransferFormData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "signatureFailedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "docliftContractLanguage": { - "type": "string", - "nullable": true - }, - "docliftRefundCertificatesBatchId": { - "type": "string", - "nullable": true - }, - "docliftRegisterCertificatesBatchId": { - "type": "string", - "nullable": true - }, - "advisor": { - "$ref": "#/components/schemas/Profile3" - }, - "refundCertificateSentAt": { - "type": "string", - "format": "date", - "nullable": true - }, - "influencer": { - "$ref": "#/components/schemas/Profile3" - }, - "commission": { - "$ref": "#/components/schemas/Commission" - }, - "rumNumber": { - "type": "string", - "nullable": true - }, - "docliftSepaMandateFormData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "docliftSepaMandateFormId": { - "type": "string", - "nullable": true - }, - "bankAccount": { - "$ref": "#/components/schemas/BankAccount2" - }, - "nextDebitDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "retryDebitDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "meanOfPayment": { - "type": "string", - "nullable": true - }, - "cancelRequestedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "signedSepaMandateFormData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "memobankError": { - "type": "string", - "nullable": true - } - } - }, - "Subscription2": { - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "Subscription3": { - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "nullable": true - }, - "SubscriptionIntention": { - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "nullable": true - }, - "SubscriptionIntention2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "project", - "profile", - "amount", - "completedAt", - "refusedAt" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "amount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "completedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "refusedAt": { - "type": "string", - "format": "date-time", - "nullable": true - } - } - }, - "SubscriptionIntentionOverview": { - "required": [ - "subscriptionIntention", - "subscription" - ], - "type": "object", - "properties": { - "subscriptionIntention": { - "$ref": "#/components/schemas/SubscriptionIntention2" - }, - "subscription": { - "$ref": "#/components/schemas/Subscription3" - } - } - }, - "SubscriptionTemplates": { - "required": [ - "notifyReservation", - "manuallyCancelled", - "paid", - "signatureReady", - "paymentFailure", - "newDocumentAvailable", - "canceled", - "debitSuccess", - "debitFailure", - "transactionAuthorized" - ], - "type": "object", - "properties": { - "notifyReservation": { - "type": "string", - "nullable": true - }, - "manuallyCancelled": { - "type": "string", - "nullable": true - }, - "paid": { - "type": "string", - "nullable": true - }, - "signatureReady": { - "type": "string", - "nullable": true - }, - "paymentFailure": { - "type": "string", - "nullable": true - }, - "newDocumentAvailable": { - "type": "string", - "nullable": true - }, - "canceled": { - "type": "string", - "nullable": true - }, - "debitSuccess": { - "type": "string", - "nullable": true - }, - "debitFailure": { - "type": "string", - "nullable": true - }, - "transactionAuthorized": { - "type": "string", - "nullable": true - } - } - }, - "TaxInfo": { - "required": [ - "residencyCountry" - ], - "type": "object", - "properties": { - "residencyCountry": { - "type": "string" - } - }, - "nullable": true - }, - "TaxInfo2": { - "type": "object", - "properties": { - "residencyCountry": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "TranslationOfCloudStorageReference": { - "required": [ - "fr" - ], - "type": "object", - "properties": { - "fr": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "en": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "it": { - "$ref": "#/components/schemas/CloudStorageReference" - } - } - }, - "TranslationOfint": { - "required": [ - "fr" - ], - "type": "object", - "properties": { - "fr": { - "type": "integer", - "format": "int32" - }, - "en": { - "type": "integer", - "format": "int32" - }, - "it": { - "type": "integer", - "format": "int32" - } - } - }, - "TranslationOfint2": { - "required": [ - "fr" - ], - "type": "object", - "properties": { - "fr": { - "type": "integer", - "format": "int32" - }, - "en": { - "type": "integer", - "format": "int32" - }, - "it": { - "type": "integer", - "format": "int32" - } - }, - "nullable": true - }, - "TranslationOfstring": { - "required": [ - "fr" - ], - "type": "object", - "properties": { - "fr": { - "type": "string", - "nullable": true - }, - "en": { - "type": "string", - "nullable": true - }, - "it": { - "type": "string", - "nullable": true - } - } - }, - "TranslationOfstring2": { - "required": [ - "fr" - ], - "type": "object", - "properties": { - "fr": { - "type": "string", - "nullable": true - }, - "en": { - "type": "string", - "nullable": true - }, - "it": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "UpdateMeRequest": { - "type": "object", - "properties": { - "civility": { - "$ref": "#/components/schemas/NullableOfCivility" - }, - "firstname": { - "type": "string", - "nullable": true - }, - "lastname": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - } - } - }, - "User": { - "required": [ - "firstName", - "lastName", - "email", - "hubspot", - "id" - ], - "type": "object", - "properties": { - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "$ref": "#/components/schemas/Email" - }, - "hubspot": { - "$ref": "#/components/schemas/Hubspot" - }, - "id": { - "type": "string" - } - } - }, - "User2": { - "required": [ - "firstName", - "lastName", - "email", - "hubspot", - "id" - ], - "type": "object", - "properties": { - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { }, - "hubspot": { }, - "id": { - "type": "string" - } - }, - "nullable": true - }, - "User3": { - "required": [ - "id", - "createdAt", - "updatedAt", - "validatedAt", - "invalidatedAt", - "civility", - "firstName", - "lastName", - "email", - "phone", - "invitation", - "security", - "hubspot", - "meeting", - "advisor", - "termsAccepted" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "validatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "invalidatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "civility": { - "$ref": "#/components/schemas/Civility" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "$ref": "#/components/schemas/EmailInfo" - }, - "phone": { - "$ref": "#/components/schemas/PhoneInfo" - }, - "invitation": { - "$ref": "#/components/schemas/InvitationInfo" - }, - "security": { - "$ref": "#/components/schemas/SecurityInfo" - }, - "hubspot": { - "$ref": "#/components/schemas/HubspotInfo" - }, - "meeting": { - "$ref": "#/components/schemas/MeetingInfo" - }, - "advisor": { - "$ref": "#/components/schemas/Profile3" - }, - "termsAccepted": { - "type": "boolean" - } - } - }, - "UserLoginRequest": { - "required": [ - "login", - "password" - ], - "type": "object", - "properties": { - "login": { - "type": "string" - }, - "password": { - "type": "string" - } - } - }, - "UserTemplates": { - "required": [ - "payoutConfirmed", - "emailConfirmation", - "distributorInvitation", - "bankAccountRejected", - "bankAccountAccepted", - "accountCredited" - ], - "type": "object", - "properties": { - "payoutConfirmed": { - "type": "string", - "nullable": true - }, - "emailConfirmation": { - "type": "string", - "nullable": true - }, - "distributorInvitation": { - "type": "string", - "nullable": true - }, - "bankAccountRejected": { - "type": "string", - "nullable": true - }, - "bankAccountAccepted": { - "type": "string", - "nullable": true - }, - "accountCredited": { - "type": "string", - "nullable": true - } - } - }, - "WalletStatusChanged": { - "required": [ - "NotifCategory", - "NotifDate", - "IntId", - "ExtId", - "Status", - "Blocked" - ], - "type": "object", - "properties": { - "NotifCategory": { - "type": "string" - }, - "NotifDate": { - "type": "string" - }, - "IntId": { - "type": "string" - }, - "ExtId": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "Blocked": { - "type": "string" - } - } - } - } - }, - "tags": [ - { - "name": "Lemonway" - }, - { - "name": "User" - }, - { - "name": "Misc" - }, - { - "name": "Kyc" - }, - { - "name": "AdvisorProfiles" - }, - { - "name": "Artworks" - }, - { - "name": "BankAccounts" - }, - { - "name": "Budgets" - }, - { - "name": "Commissions" - }, - { - "name": "Cooptations" - }, - { - "name": "Distributors" - }, - { - "name": "Ifus" - }, - { - "name": "InfluencerProfiles" - }, - { - "name": "InvestorProfiles" - }, - { - "name": "KycDocuments" - }, - { - "name": "LendingInvestorTerms" - }, - { - "name": "LendingTerms" - }, - { - "name": "Me" - }, - { - "name": "PaymentOperations" - }, - { - "name": "Platform" - }, - { - "name": "Projects" - }, - { - "name": "ProjectOwners" - }, - { - "name": "ProjectsPosts" - }, - { - "name": "ProvisionalSubscriptions" - }, - { - "name": "Questionnaires" - }, - { - "name": "Subscriptions" - }, - { - "name": "SubscriptionIntentions" - }, - { - "name": "Users" - }, - { - "name": "Auth" - } - ] -} \ No newline at end of file diff --git a/Examples/InvestApi.config.json b/Examples/InvestApi.config.json deleted file mode 100644 index d175b99..0000000 --- a/Examples/InvestApi.config.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "sharedSchemas": { - "TranslationOfString": { - "required": [ - "fr" - ], - "type": "object", - "properties": { - "fr": { - "type": "string", - "nullable": true - }, - "en": { - "type": "string", - "nullable": true - }, - "it": { - "type": "string", - "nullable": true - } - } - }, - "TranslationOfNumber": { - "required": [ - "fr" - ], - "type": "object", - "properties": { - "fr": { - "type": "integer", - "format": "int32" - }, - "en": { - "type": "integer", - "format": "int32" - }, - "it": { - "type": "integer", - "format": "int32" - } - } - }, - "TranslationOfCloudReference": { - "required": [ - "fr" - ], - "type": "object", - "properties": { - "fr": { - "required": [ - "url", - "mimeType" - ], - "type": "object", - "properties": { - "url": { - "type": "string" - }, - "mimeType": { - "type": "string" - } - }, - "nullable": true - }, - "en": { - "required": [ - "url", - "mimeType" - ], - "type": "object", - "properties": { - "url": { - "type": "string" - }, - "mimeType": { - "type": "string" - } - }, - "nullable": true - }, - "it": { - "required": [ - "url", - "mimeType" - ], - "type": "object", - "properties": { - "url": { - "type": "string" - }, - "mimeType": { - "type": "string" - } - }, - "nullable": true - } - } - }, - "CloudReference": { - "required": [ - "url", - "mimeType" - ], - "type": "object", - "properties": { - "url": { - "type": "string" - }, - "mimeType": { - "type": "string" - } - } - }, - "ProblemDetails": { - "type": "object", - "properties": { - "type": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "instance": { - "type": "string", - "nullable": true - } - } - } - } -} diff --git a/Examples/InvestApi.json b/Examples/InvestApi.json deleted file mode 100644 index e737072..0000000 --- a/Examples/InvestApi.json +++ /dev/null @@ -1,18109 +0,0 @@ -{ - "openapi": "3.0.1", - "info": { - "title": "InvestApi | v1", - "version": "1.0.0" - }, - "paths": { - "/check": { - "post": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CheckSubscriptionIntentionRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/CheckSubscriptionIntentionRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionErrors" - } - } - } - } - } - } - }, - "/User/subscriptions": { - "post": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateSubscriptionRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/CreateSubscriptionRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StartSubscriptionResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "status", - "in": "query", - "schema": { - "type": "string", - "default": null - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 10 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfSubscription" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/subscriptions/{subscriptionId}": { - "delete": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "subscriptionId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { } - } - }, - "304": { - "description": "Not Modified", - "content": { - "application/json": { } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/subscriptions/{id}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Subscription" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/subscriptions/kpis": { - "get": { - "tags": [ - "User" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionKPIResponse" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/profiles": { - "get": { - "tags": [ - "User" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProfileInfo" - } - } - } - } - } - } - }, - "post": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateProfileRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/CreateProfileRequest" - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Profile" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/profiles/{id}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Profile" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "patch": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateProfileRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/UpdateProfileRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Profile" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/me": { - "get": { - "tags": [ - "User" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MeResponse" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "patch": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateMeRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/UpdateMeRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MeResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/Auth/user": { - "post": { - "tags": [ - "Auth" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserLoginRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/UserLoginRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserLoginResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/verify-cooptation": { - "post": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CooptationVerifyRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/CooptationVerifyRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/create-investor": { - "post": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateInvestorRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/CreateInvestorRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserLoginResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/validate-email": { - "post": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidateEmailRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/ValidateEmailRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/resend-email": { - "post": { - "tags": [ - "User" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ResendCodeResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/validate-phone": { - "post": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidatePhoneRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/ValidatePhoneRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/resend-phone": { - "post": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ResendPhoneRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/ResendPhoneRequest" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ResendCodeResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/check-meeting": { - "post": { - "tags": [ - "User" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/webhooks/DocLift": { - "post": { - "tags": [ - "DocLift" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DocumentGeneratedRequestWebhook" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/DocumentGeneratedRequestWebhook" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/webhooks/Lemonway/wallet": { - "post": { - "tags": [ - "Lemonway" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WalletStatusChanged" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/WalletStatusChanged" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/webhooks/Lemonway/document": { - "post": { - "tags": [ - "Lemonway" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DocumentStatusChanged" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/DocumentStatusChanged" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/webhooks/MemoBank": { - "post": { - "tags": [ - "MemoBank" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WebHookEvent" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/WebHookEvent" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/webhooks/Universign": { - "post": { - "tags": [ - "Universign" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WebHookEvent2" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/WebHookEvent2" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/subscriptions/{id}/payment-operations": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfPaymentOperation" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/subscriptions/{id}/documents": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProjectDocument" - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/projects/{projectId}/posts": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProjectPost" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/projects/{projectId}/posts/{postId}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "postId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProjectPost" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/questionnaire/{id}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Questionnaire" - } - } - } - }, - "204": { - "description": "No Content", - "content": { - "application/json": { } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "patch": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/QuestionnairePatch" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/QuestionnairePatch" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Questionnaire" - } - } - } - }, - "204": { - "description": "No Content", - "content": { - "application/json": { } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/opportunities": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 10 - } - }, - { - "name": "type", - "in": "query", - "schema": { - "enum": [ - "ongoing", - "financed", - "closed", - null - ], - "default": null - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfOpportunity" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/opportunities/{id}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Opportunity" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/opportunities/{id}/documents": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfOpportunityDocument" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/kyc/{profileId}/upload/{documentType}": { - "post": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "profileId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "documentType", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/DocumentType" - } - } - ], - "requestBody": { - "content": { - "multipart/form-data": { - "schema": { - "type": "object", - "properties": { - "FileData": { - "$ref": "#/components/schemas/IFormFile" - }, - "BackFileData": { - "$ref": "#/components/schemas/IFormFile" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/KycDocument" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/kyc/{profileId}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "profileId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/KycDocument" - } - } - } - }, - "204": { - "description": "No Content", - "content": { - "application/json": { } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/profiles/{profileId}/bank-accounts": { - "post": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "profileId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateBankAccountRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/CreateBankAccountRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BankAccount" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "profileId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BankAccount" - } - } - } - }, - "204": { - "description": "No Content", - "content": { - "application/json": { } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/User/profiles/{profileId}/bank-accounts/{bankAccountId}/upload-document": { - "post": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "profileId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "bankAccountId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "multipart/form-data": { - "schema": { - "type": "object", - "properties": { - "File": { - "$ref": "#/components/schemas/IFormFile" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BankAccount" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/AdvisorProfiles": { - "get": { - "tags": [ - "AdvisorProfiles" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfAdvisorProfileOverview" - } - } - } - } - } - } - }, - "/backoffice/AdvisorProfiles/{profileId}": { - "get": { - "tags": [ - "AdvisorProfiles" - ], - "parameters": [ - { - "name": "profileId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AdvisorProfile" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/AdvisorProfiles/{profileId}/investors": { - "get": { - "tags": [ - "AdvisorProfiles" - ], - "parameters": [ - { - "name": "profileId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfInvestorProfile" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/AdvisorProfiles/{profileId}/subscriptions": { - "get": { - "tags": [ - "AdvisorProfiles" - ], - "parameters": [ - { - "name": "profileId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfSubscription2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/AdvisorProfiles/{profileId}/budgets": { - "get": { - "tags": [ - "AdvisorProfiles" - ], - "parameters": [ - { - "name": "profileId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfBudget" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Artworks": { - "get": { - "tags": [ - "Artworks" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfArtwork" - } - } - } - } - } - }, - "post": { - "tags": [ - "Artworks" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Artwork3" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/Artwork3" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Artwork2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Artworks/unassigned": { - "get": { - "tags": [ - "Artworks" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Artwork2" - } - } - } - } - } - } - } - }, - "/backoffice/Artworks/{id}": { - "get": { - "tags": [ - "Artworks" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Artwork2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "patch": { - "tags": [ - "Artworks" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Artwork4" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/Artwork4" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Artwork2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/BankAccounts": { - "get": { - "tags": [ - "BankAccounts" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfEnrichedBankAccountOverview" - } - } - } - } - } - } - }, - "/backoffice/BankAccounts/{id}": { - "get": { - "tags": [ - "BankAccounts" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/EnrichedBankAccount" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/BankAccounts/{id}/validate": { - "post": { - "tags": [ - "BankAccounts" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "refuseReason", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/EnrichedBankAccount" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Budgets": { - "get": { - "tags": [ - "Budgets" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfBudget" - } - } - } - } - } - }, - "post": { - "tags": [ - "Budgets" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Budget3" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/Budget3" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Budget2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Budgets/{id}": { - "get": { - "tags": [ - "Budgets" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Budget2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "patch": { - "tags": [ - "Budgets" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Budget4" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/Budget4" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Budget2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Budgets/{id}/subscriptions": { - "get": { - "tags": [ - "Budgets" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfSubscription2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Commissions": { - "get": { - "tags": [ - "Commissions" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfCommission" - } - } - } - } - } - } - }, - "/backoffice/Commissions/{id}": { - "get": { - "tags": [ - "Commissions" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Commission2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Commissions/distributors": { - "get": { - "tags": [ - "Commissions" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfDistributorCommission" - } - } - } - } - } - } - }, - "/backoffice/Commissions/influencers": { - "get": { - "tags": [ - "Commissions" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfInfluencerCommission" - } - } - } - } - } - } - }, - "/backoffice/Cooptations": { - "get": { - "tags": [ - "Cooptations" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfCooptation" - } - } - } - } - } - } - }, - "/backoffice/Cooptations/bypasses": { - "get": { - "tags": [ - "Cooptations" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfCooptation" - } - } - } - } - } - } - }, - "/backoffice/Distributors": { - "get": { - "tags": [ - "Distributors" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfDistributorItem" - } - } - } - } - } - } - }, - "/backoffice/Distributors/{id}": { - "get": { - "tags": [ - "Distributors" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Distributor2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Distributors/{id}/advisors": { - "get": { - "tags": [ - "Distributors" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfDistributorAdvisorsItem" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Distributors/{id}/investors": { - "get": { - "tags": [ - "Distributors" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfDistributorInvestorsItem" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Distributors/{id}/subscriptions": { - "get": { - "tags": [ - "Distributors" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfSubscription2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Distributors/{id}/budgets": { - "get": { - "tags": [ - "Distributors" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfBudget" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Distributors/{id}/payment-operations": { - "get": { - "tags": [ - "Distributors" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfPaymentOperation" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Distributors/{id}/commissions": { - "get": { - "tags": [ - "Distributors" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfCommission" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Ifus": { - "get": { - "tags": [ - "Ifus" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfIfu" - } - } - } - } - } - } - }, - "/backoffice/Ifus/{id}": { - "get": { - "tags": [ - "Ifus" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Ifu" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InfluencerProfiles": { - "get": { - "tags": [ - "InfluencerProfiles" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfInfluencerProfile" - } - } - } - } - } - } - }, - "/backoffice/InfluencerProfiles/{id}": { - "get": { - "tags": [ - "InfluencerProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InfluencerProfile" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InfluencerProfiles/{id}/investors": { - "get": { - "tags": [ - "InfluencerProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfInfluencerInvestors" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InfluencerProfiles/{id}/subscriptions": { - "get": { - "tags": [ - "InfluencerProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfSubscription2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InfluencerProfiles/{id}/payment-operations": { - "get": { - "tags": [ - "InfluencerProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfPaymentOperation" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InfluencerProfiles/{id}/commissions": { - "get": { - "tags": [ - "InfluencerProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfInfluencerCommission" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InvestorProfiles": { - "get": { - "tags": [ - "InvestorProfiles" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - }, - { - "name": "statusFilter", - "in": "query", - "schema": { - "type": "string", - "default": null - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfInvestorProfileOverview" - } - } - } - } - } - } - }, - "/backoffice/InvestorProfiles/stats": { - "get": { - "tags": [ - "InvestorProfiles" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InvestorProfileStats" - } - } - } - } - } - } - }, - "/backoffice/InvestorProfiles/{id}": { - "get": { - "tags": [ - "InvestorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InvestorProfile" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InvestorProfiles/{id}/bank-account": { - "get": { - "tags": [ - "InvestorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BankAccount" - } - } - } - }, - "204": { - "description": "No Content", - "content": { - "application/json": { } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InvestorProfiles/{id}/subscriptions": { - "get": { - "tags": [ - "InvestorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfSubscription2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InvestorProfiles/{id}/payment-operations": { - "get": { - "tags": [ - "InvestorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfPaymentOperation" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InvestorProfiles/{id}/fiscalities": { - "get": { - "tags": [ - "InvestorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfFiscality" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InvestorProfiles/{id}/questionnaires": { - "get": { - "tags": [ - "InvestorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfQuestionnaire" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InvestorProfiles/{id}/provisional-subscriptions": { - "get": { - "tags": [ - "InvestorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProvisionalSubscription" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InvestorProfiles/{id}/kyc-documents": { - "get": { - "tags": [ - "InvestorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfKycDocument" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InvestorProfiles/{id}/status": { - "patch": { - "tags": [ - "InvestorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "in": "query", - "schema": { - "enum": [ - "missing_documents", - "rejected_documents", - "under_analysis", - "active", - "expired_documents", - "blocked", - "closed", - "under_review" - ] - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InvestorProfile" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/InvestorProfiles/{id}/exposure": { - "patch": { - "tags": [ - "InvestorProfiles" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "in": "query", - "schema": { - "enum": [ - "pending", - "normal", - "enhanced_control", - "rejected" - ] - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InvestorProfile" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/KycDocuments": { - "get": { - "tags": [ - "KycDocuments" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfKycDocument" - } - } - } - } - } - } - }, - "/backoffice/KycDocuments/{id}": { - "get": { - "tags": [ - "KycDocuments" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/KycDocument" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/KycDocuments/{id}/status": { - "patch": { - "tags": [ - "KycDocuments" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "in": "query", - "schema": { - "$ref": "#/components/schemas/DocumentStatus" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/KycDocument" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/KycDocuments/{profileId}/kyc-document/{type}": { - "post": { - "tags": [ - "KycDocuments" - ], - "parameters": [ - { - "name": "profileId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/DocumentType" - } - } - ], - "requestBody": { - "content": { - "multipart/form-data": { - "schema": { - "type": "object", - "properties": { - "File": { - "$ref": "#/components/schemas/IFormFile" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/KycDocument" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/LendingInvestorTerms": { - "get": { - "tags": [ - "LendingInvestorTerms" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfLendingInvestorTermOverview" - } - } - } - } - } - } - }, - "/backoffice/LendingInvestorTerms/{id}": { - "get": { - "tags": [ - "LendingInvestorTerms" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/LendingInvestorTerm" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/LendingTerms": { - "get": { - "tags": [ - "LendingTerms" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfLendingTerm" - } - } - } - } - } - } - }, - "/backoffice/LendingTerms/{id}": { - "get": { - "tags": [ - "LendingTerms" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/LendingTerm2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Me": { - "get": { - "tags": [ - "Me" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MeResponse2" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/PaymentOperations": { - "get": { - "tags": [ - "PaymentOperations" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfPaymentOperation" - } - } - } - } - } - } - }, - "/backoffice/Platform/configuration": { - "get": { - "tags": [ - "Platform" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CmsConfiguration" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "patch": { - "tags": [ - "Platform" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CmsConfiguration2" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/CmsConfiguration2" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CmsConfiguration" - } - } - } - } - } - } - }, - "/backoffice/Platform/bank-info": { - "post": { - "tags": [ - "Platform" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BankInfo" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/BankInfo" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ApiUnprocessable" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Platform/static-pages": { - "get": { - "tags": [ - "Platform" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfCmsPage" - } - } - } - } - } - } - }, - "/backoffice/Platform/static-pages/{id}": { - "get": { - "tags": [ - "Platform" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CmsPage" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Platform/fiscalities": { - "get": { - "tags": [ - "Platform" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfFiscality" - } - } - } - } - } - } - }, - "/backoffice/Platform/fiscalities/{id}": { - "get": { - "tags": [ - "Platform" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Fiscality" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Platform/informative-banner": { - "get": { - "tags": [ - "Platform" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CmsInformativeBanner" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Platform/subsidiaries": { - "get": { - "tags": [ - "Platform" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfCmsPlatformSubsidiary" - } - } - } - } - } - } - }, - "/backoffice/Platform/subsidiaries/{id}": { - "get": { - "tags": [ - "Platform" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CmsPlatformSubsidiary2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Platform/email-templates": { - "get": { - "tags": [ - "Platform" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CmsRemoteEmailTemplate" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "patch": { - "tags": [ - "Platform" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CmsRemoteEmailTemplate2" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/CmsRemoteEmailTemplate2" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CmsRemoteEmailTemplate" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProject" - } - } - } - } - } - }, - "post": { - "tags": [ - "Projects" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Project3" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/Project3" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Project2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/search": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "q", - "in": "query", - "schema": { - "type": "string", - "default": null - } - }, - { - "name": "published", - "in": "query", - "schema": { - "type": "boolean", - "default": null - } - }, - { - "name": "statusNotClosed", - "in": "query", - "schema": { - "type": "boolean", - "default": null - } - }, - { - "name": "notFull", - "in": "query", - "schema": { - "type": "boolean", - "default": null - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 50 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProjectSearchResult" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Project2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "patch": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Project4" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/Project4" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Project2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "delete": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Project2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/kpi": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProjectKpiResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/documents": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProjectDocument" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/descriptions": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProjectDescriptionBlock" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/subscriptions": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfSubscription2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/posts": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProjectPost2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/lending-terms": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfLendingTerm" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/distributor-commissions": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfDistributorCommission" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/influencer-commissions": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfInfluencerCommission" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/status/{status}": { - "patch": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/ProjectStatus" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Project2" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiUnprocessable" - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/cover-picture": { - "post": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "multipart/form-data": { - "schema": { - "type": "object", - "properties": { - "File": { - "$ref": "#/components/schemas/IFormFile" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Project2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/thumbnail-picture": { - "post": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "multipart/form-data": { - "schema": { - "type": "object", - "properties": { - "File": { - "$ref": "#/components/schemas/IFormFile" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Project2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/legal-documents/{category}": { - "post": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "category", - "in": "path", - "required": true, - "schema": { - "enum": [ - "kiis", - "deal_sheet", - "subscription_form_appendices" - ] - } - } - ], - "requestBody": { - "content": { - "multipart/form-data": { - "schema": { - "type": "object", - "properties": { - "File.FR": { - "$ref": "#/components/schemas/IFormFile" - }, - "File.EN": { - "$ref": "#/components/schemas/IFormFile" - }, - "File.IT": { - "$ref": "#/components/schemas/IFormFile" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Project2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/documents/{index}/{visibility}": { - "post": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "index", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "visibility", - "in": "path", - "required": true, - "schema": { - "enum": [ - "visible", - "hidden" - ] - } - } - ], - "requestBody": { - "content": { - "multipart/form-data": { - "schema": { - "type": "object", - "properties": { - "FileFR": { - "$ref": "#/components/schemas/IFormFile" - }, - "NameFR": { - "type": "string" - }, - "FileEN": { - "$ref": "#/components/schemas/IFormFile" - }, - "NameEN": { - "type": "string" - }, - "FileIT": { - "$ref": "#/components/schemas/IFormFile" - }, - "NameIT": { - "type": "string" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Project2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Projects/{id}/documents/{index}": { - "delete": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "index", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Project2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/ProjectOwners": { - "get": { - "tags": [ - "ProjectOwners" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProjectOwner" - } - } - } - } - } - }, - "post": { - "tags": [ - "ProjectOwners" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProjectOwner3" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/ProjectOwner3" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProjectOwner2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/ProjectOwners/unassigned": { - "get": { - "tags": [ - "ProjectOwners" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProjectOwner2" - } - } - } - } - } - } - } - }, - "/backoffice/ProjectOwners/{id}": { - "get": { - "tags": [ - "ProjectOwners" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProjectOwner2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "patch": { - "tags": [ - "ProjectOwners" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProjectOwner4" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/ProjectOwner4" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProjectOwner2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/ProjectOwners/{id}/projects": { - "get": { - "tags": [ - "ProjectOwners" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProject" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/ProjectOwners/{id}/payment-operations": { - "get": { - "tags": [ - "ProjectOwners" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfPaymentOperation" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/ProjectOwners/{id}/bank-info": { - "post": { - "tags": [ - "ProjectOwners" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BankInfo" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/BankInfo" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ApiUnprocessable" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/ProjectOwners/{id}/validate": { - "post": { - "tags": [ - "ProjectOwners" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProjectOwner2" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiUnprocessable" - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/ProjectsPosts": { - "get": { - "tags": [ - "ProjectsPosts" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProjectPost2" - } - } - } - } - } - } - }, - "/backoffice/ProjectsPosts/{id}": { - "get": { - "tags": [ - "ProjectsPosts" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProjectPost2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/ProvisionalSubscriptions": { - "get": { - "tags": [ - "ProvisionalSubscriptions" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProvisionalSubscription" - } - } - } - } - } - }, - "post": { - "tags": [ - "ProvisionalSubscriptions" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProvisionalSubscription2" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/ProvisionalSubscription2" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProvisionalSubscription" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/ProvisionalSubscriptions/{id}": { - "get": { - "tags": [ - "ProvisionalSubscriptions" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProvisionalSubscription" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Questionnaires": { - "get": { - "tags": [ - "Questionnaires" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfQuestionnaire" - } - } - } - } - } - } - }, - "/backoffice/Questionnaires/{id}": { - "get": { - "tags": [ - "Questionnaires" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Questionnaire" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Subscriptions": { - "get": { - "tags": [ - "Subscriptions" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfSubscription2" - } - } - } - } - } - } - }, - "/backoffice/Subscriptions/{id}": { - "get": { - "tags": [ - "Subscriptions" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Subscription2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "delete": { - "tags": [ - "Subscriptions" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "304": { - "description": "Not Modified", - "content": { - "application/json": { } - } - } - } - } - }, - "/backoffice/Subscriptions/{id}/payment-operations": { - "get": { - "tags": [ - "Subscriptions" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfPaymentOperation" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Subscriptions/{id}/lending-investor-terms": { - "get": { - "tags": [ - "Subscriptions" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfLendingInvestorTerm" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Subscriptions/reservation": { - "post": { - "tags": [ - "Subscriptions" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateReservationRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/CreateReservationRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Subscription2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/SubscriptionIntentions": { - "get": { - "tags": [ - "SubscriptionIntentions" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfSubscriptionIntentionOverview" - } - } - } - } - } - } - }, - "/backoffice/SubscriptionIntentions/{id}": { - "get": { - "tags": [ - "SubscriptionIntentions" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionIntention2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Users": { - "get": { - "tags": [ - "Users" - ], - "parameters": [ - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfUser" - } - } - } - } - } - } - }, - "/backoffice/Users/{id}": { - "get": { - "tags": [ - "Users" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/User3" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Users/{id}/profiles": { - "get": { - "tags": [ - "Users" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfProfile" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Users/{id}/subscriptions": { - "get": { - "tags": [ - "Users" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfSubscription2" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Users/{id}/payment-operations": { - "get": { - "tags": [ - "Users" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skip", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SliceOfPaymentOperation" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/backoffice/Users/validate/{id}": { - "post": { - "tags": [ - "Users" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/User3" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/Auth/google": { - "post": { - "tags": [ - "Auth" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GoogleLoginRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/GoogleLoginRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/LoginResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/health": { - "get": { - "tags": [ - "Liveness" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { } - } - } - } - } - }, - "/ping": { - "get": { - "tags": [ - "Ping" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { } - } - } - } - } - } - }, - "components": { - "schemas": { - "AccountTemplates": { - "required": [ - "distributorInvitationInstructions", - "influencerInvitationInstructions", - "resetPasswordInstructions", - "passwordUpdated", - "investorInvitationInstructions" - ], - "type": "object", - "properties": { - "distributorInvitationInstructions": { - "type": "string", - "nullable": true - }, - "influencerInvitationInstructions": { - "type": "string", - "nullable": true - }, - "resetPasswordInstructions": { - "type": "string", - "nullable": true - }, - "passwordUpdated": { - "type": "string", - "nullable": true - }, - "investorInvitationInstructions": { - "type": "string", - "nullable": true - } - } - }, - "AccountTemplates2": { - "required": [ - "distributorInvitationInstructions", - "influencerInvitationInstructions", - "resetPasswordInstructions", - "passwordUpdated", - "investorInvitationInstructions" - ], - "type": "object", - "properties": { - "distributorInvitationInstructions": { - "type": "string", - "nullable": true - }, - "influencerInvitationInstructions": { - "type": "string", - "nullable": true - }, - "resetPasswordInstructions": { - "type": "string", - "nullable": true - }, - "passwordUpdated": { - "type": "string", - "nullable": true - }, - "investorInvitationInstructions": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "Action": { - "required": [ - "actor", - "url", - "state" - ], - "type": "object", - "properties": { - "actor": { - "type": "string" - }, - "url": { - "type": "string" - }, - "state": { - "$ref": "#/components/schemas/ActionState" - } - } - }, - "ActionState": { - "enum": [ - "open", - "closed" - ] - }, - "AddressInfo": { - "required": [ - "streetNumber", - "zipCode", - "city", - "street", - "country" - ], - "type": "object", - "properties": { - "streetNumber": { - "type": "string" - }, - "zipCode": { - "type": "string" - }, - "city": { - "type": "string" - }, - "street": { - "type": "string" - }, - "country": { - "type": "string" - } - }, - "nullable": true - }, - "AddressInfoRequest": { - "type": "object", - "properties": { - "streetNumber": { - "type": "string", - "nullable": true - }, - "zipCode": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "street": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "AdminTemplates": { - "required": [ - "meetingCanceled", - "projectOwnerReceivedFunds", - "usPersonAlert", - "subscriptionSignatureFailures", - "subscriptionCannotBeRefunded", - "registerCertificatesGenerationFails", - "newCollaborator", - "swissTaxResidency", - "refusedOrPendingBankAccounts", - "memobankTransferFailed", - "subscriptionCancellationRequest", - "debitFailure", - "distributorBankAccountUpdated" - ], - "type": "object", - "properties": { - "meetingCanceled": { - "type": "string", - "nullable": true - }, - "projectOwnerReceivedFunds": { - "type": "string", - "nullable": true - }, - "usPersonAlert": { - "type": "string", - "nullable": true - }, - "subscriptionSignatureFailures": { - "type": "string", - "nullable": true - }, - "subscriptionCannotBeRefunded": { - "type": "string", - "nullable": true - }, - "registerCertificatesGenerationFails": { - "type": "string", - "nullable": true - }, - "newCollaborator": { - "type": "string", - "nullable": true - }, - "swissTaxResidency": { - "type": "string", - "nullable": true - }, - "refusedOrPendingBankAccounts": { - "type": "string", - "nullable": true - }, - "memobankTransferFailed": { - "type": "string", - "nullable": true - }, - "subscriptionCancellationRequest": { - "type": "string", - "nullable": true - }, - "debitFailure": { - "type": "string", - "nullable": true - }, - "distributorBankAccountUpdated": { - "type": "string", - "nullable": true - } - } - }, - "AdminTemplates2": { - "required": [ - "meetingCanceled", - "projectOwnerReceivedFunds", - "usPersonAlert", - "subscriptionSignatureFailures", - "subscriptionCannotBeRefunded", - "registerCertificatesGenerationFails", - "newCollaborator", - "swissTaxResidency", - "refusedOrPendingBankAccounts", - "memobankTransferFailed", - "subscriptionCancellationRequest", - "debitFailure", - "distributorBankAccountUpdated" - ], - "type": "object", - "properties": { - "meetingCanceled": { - "type": "string", - "nullable": true - }, - "projectOwnerReceivedFunds": { - "type": "string", - "nullable": true - }, - "usPersonAlert": { - "type": "string", - "nullable": true - }, - "subscriptionSignatureFailures": { - "type": "string", - "nullable": true - }, - "subscriptionCannotBeRefunded": { - "type": "string", - "nullable": true - }, - "registerCertificatesGenerationFails": { - "type": "string", - "nullable": true - }, - "newCollaborator": { - "type": "string", - "nullable": true - }, - "swissTaxResidency": { - "type": "string", - "nullable": true - }, - "refusedOrPendingBankAccounts": { - "type": "string", - "nullable": true - }, - "memobankTransferFailed": { - "type": "string", - "nullable": true - }, - "subscriptionCancellationRequest": { - "type": "string", - "nullable": true - }, - "debitFailure": { - "type": "string", - "nullable": true - }, - "distributorBankAccountUpdated": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "AdvisorProfile": { - "required": [ - "distributor", - "isManager", - "id", - "createdAt", - "updatedAt", - "user", - "archivedAt", - "cooptation" - ], - "type": "object", - "properties": { - "distributor": { - "$ref": "#/components/schemas/Distributor" - }, - "isManager": { - "type": "boolean" - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/User" - }, - "archivedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "cooptation": { - "$ref": "#/components/schemas/CooptationInfo" - } - } - }, - "AdvisorProfileOverview": { - "required": [ - "advisor", - "investorsCount", - "subscriptionsCount" - ], - "type": "object", - "properties": { - "advisor": { - "$ref": "#/components/schemas/AdvisorProfile" - }, - "investorsCount": { - "type": "integer", - "format": "int64" - }, - "subscriptionsCount": { - "type": "integer", - "format": "int64" - } - } - }, - "ApiUnprocessable": { - "enum": [ - "artwork_name_incomplete", - "artwork_short_name_incomplete", - "artwork_technique_incomplete", - "artwork_artist_incomplete", - "artwork_year_incomplete", - "artwork_size_incomplete", - "projectowner_civility_incomplete", - "projectowner_birthdate_incomplete", - "projectowner_nationality_incomplete", - "projectowner_country_incomplete", - "projectowner_company_name_incomplete", - "projectowner_company_legal_status_incomplete", - "projectowner_company_line_of_business_incomplete", - "projectowner_company_street_number_incomplete", - "projectowner_company_street_incomplete", - "projectowner_company_city_incomplete", - "projectowner_company_zip_code_incomplete", - "projectowner_company_capital_incomplete", - "projectowner_company_representative_duties_incomplete", - "projectowner_company_registration_number_incomplete", - "projectowner_company_trade_and_company_register_city_incomplete", - "projectowner_bank_owner_incomplete", - "project_short_description_incomplete", - "project_collects_starts_at_incomplete", - "project_investment_duration_incomplete", - "project_issuance_date_incomplete", - "project_official_report_issuance_date_incomplete", - "project_closing_date_incomplete", - "project_doclift_subscription_form_template_id_incomplete", - "project_subscription_form_sign_coordinates_incomplete", - "project_cover_picture_data_incomplete", - "project_thumbnail_picture_data_incomplete", - "project_key_investment_information_sheet_incomplete", - "project_deal_sheet_incomplete", - "project_subscription_form_appendices_incomplete", - "bankinfo_invalid_key", - "bankinfo_no_account", - "bankinfo_access_denied" - ] - }, - "Artwork": { - "required": [ - "name", - "id" - ], - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "id": { - "type": "string" - } - } - }, - "Artwork2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "artistName", - "year", - "size", - "name", - "technique", - "shortName", - "specificMention" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "artistName": { - "type": "string" - }, - "year": { - "type": "string" - }, - "size": { - "type": "string" - }, - "name": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "technique": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "shortName": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "specificMention": { - "$ref": "#/components/schemas/TranslationOfstring" - } - } - }, - "Artwork3": { - "required": [ - "artistName", - "year", - "size", - "name" - ], - "type": "object", - "properties": { - "artistName": { - "type": "string" - }, - "year": { - "type": "string" - }, - "size": { - "type": "string" - }, - "name": { - "$ref": "#/components/schemas/TranslationOfstring" - } - } - }, - "Artwork4": { - "type": "object", - "properties": { - "artistName": { - "type": "string", - "nullable": true - }, - "year": { - "type": "string", - "nullable": true - }, - "size": { - "type": "string", - "nullable": true - }, - "name": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "technique": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "shortName": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "specificMention": { - "$ref": "#/components/schemas/TranslationOfstring2" - } - } - }, - "BankAccount": { - "required": [ - "id", - "createdAt", - "updatedAt", - "ownerType", - "owner", - "documentData", - "iban", - "bic", - "status", - "lemonway", - "streammind" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "ownerType": { - "$ref": "#/components/schemas/BankAccountOwnerType" - }, - "owner": { - "type": "string" - }, - "documentData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "iban": { - "type": "string" - }, - "bic": { - "type": "string" - }, - "status": { - "$ref": "#/components/schemas/NullableOfBankAccountStatus" - }, - "lemonway": { - "$ref": "#/components/schemas/BankAccountLemonway" - }, - "streammind": { - "$ref": "#/components/schemas/BankAccountStreammind" - } - } - }, - "BankAccount2": { - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "nullable": true - }, - "BankAccountInfo": { - "required": [ - "id", - "status" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "status": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "BankAccountLemonway": { - "required": [ - "id", - "status", - "refuseReason" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "status": { - "type": "string", - "nullable": true - }, - "refuseReason": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "BankAccountOwnerInfo": { - "required": [ - "kycValidated", - "nationality", - "name", - "type", - "user", - "id" - ], - "type": "object", - "properties": { - "kycValidated": { - "type": "boolean" - }, - "nationality": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string" - }, - "type": { - "$ref": "#/components/schemas/ProfileType" - }, - "user": { - "$ref": "#/components/schemas/User" - }, - "id": { - "type": "string" - } - }, - "nullable": true - }, - "BankAccountOwnerType": { - "enum": [ - "natural_person", - "legal_entity", - "influencer", - "advisor" - ] - }, - "BankAccountStreammind": { - "required": [ - "id", - "status", - "refuseReason" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "status": { - "type": "string", - "nullable": true - }, - "refuseReason": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "BankAccountTemplates": { - "required": [ - "acceptedForInvestor", - "rejectedByAdmin", - "acceptedForDistributorOrInfluencer" - ], - "type": "object", - "properties": { - "acceptedForInvestor": { - "type": "string", - "nullable": true - }, - "rejectedByAdmin": { - "type": "string", - "nullable": true - }, - "acceptedForDistributorOrInfluencer": { - "type": "string", - "nullable": true - } - } - }, - "BankAccountTemplates2": { - "required": [ - "acceptedForInvestor", - "rejectedByAdmin", - "acceptedForDistributorOrInfluencer" - ], - "type": "object", - "properties": { - "acceptedForInvestor": { - "type": "string", - "nullable": true - }, - "rejectedByAdmin": { - "type": "string", - "nullable": true - }, - "acceptedForDistributorOrInfluencer": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "BankInfo": { - "required": [ - "privateKey", - "password", - "secret", - "thumbprint", - "webHookToken" - ], - "type": "object", - "properties": { - "privateKey": { - "type": "string" - }, - "password": { - "type": "string" - }, - "secret": { - "type": "string" - }, - "thumbprint": { - "type": "string" - }, - "webHookToken": { - "type": "string" - } - } - }, - "BirthInfo": { - "required": [ - "date", - "country", - "city", - "zipCode" - ], - "type": "object", - "properties": { - "date": { - "type": "string" - }, - "country": { - "type": "string" - }, - "city": { - "type": "string" - }, - "zipCode": { - "type": "string" - } - }, - "nullable": true - }, - "BirthInfoRequest": { - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "zipCode": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "Budget": { - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "nullable": true - }, - "Budget2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "project", - "distributor", - "amount", - "commission", - "status" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "distributor": { - "$ref": "#/components/schemas/Distributor" - }, - "amount": { - "type": "integer", - "format": "int32" - }, - "commission": { - "type": "number", - "format": "double" - }, - "status": { - "$ref": "#/components/schemas/BudgetStatus" - } - } - }, - "Budget3": { - "required": [ - "project", - "distributor", - "amount", - "commission" - ], - "type": "object", - "properties": { - "project": { - "type": "string" - }, - "distributor": { - "type": "string" - }, - "amount": { - "type": "integer", - "format": "int32" - }, - "commission": { - "type": "number", - "format": "double" - } - } - }, - "Budget4": { - "type": "object", - "properties": { - "project": { - "type": "string", - "nullable": true - }, - "distributor": { - "type": "string", - "nullable": true - }, - "amount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "commission": { - "type": "number", - "format": "double", - "nullable": true - }, - "status": { - "$ref": "#/components/schemas/NullableOfBudgetStatus" - } - } - }, - "BudgetStatus": { - "enum": [ - "draft", - "on_going", - "ended" - ] - }, - "CheckSubscriptionIntentionRequest": { - "required": [ - "projectId", - "profileId", - "amount" - ], - "type": "object", - "properties": { - "projectId": { - "type": "string" - }, - "profileId": { - "type": "string" - }, - "amount": { - "type": "integer", - "format": "int32" - } - } - }, - "Civility": { - "enum": [ - "mister", - "madam" - ] - }, - "CloudStorageReference": { - "required": [ - "url", - "mimeType" - ], - "type": "object", - "properties": { - "url": { - "type": "string" - }, - "mimeType": { - "type": "string" - } - }, - "nullable": true - }, - "CloudStorageReference2": { - "required": [ - "url", - "mimeType" - ], - "type": "object", - "properties": { - "url": { - "type": "string" - }, - "mimeType": { - "type": "string" - } - } - }, - "CmsConfiguration": { - "required": [ - "id", - "createdAt", - "updatedAt", - "platformAddress", - "platformZipcode", - "platformCity", - "platformCountry", - "platformPhone", - "platformEmail", - "statistics", - "docliftSubscriptionFormTemplateId", - "subscriptionFormSignPageNumber", - "subscriptionFormSignCoordinates", - "membershipsDocliftInvoiceId", - "docliftRegisterCertificateTemplateId", - "bankTransferFormSignCoordinates", - "docliftCommissionFormTemplateId", - "docliftBankTransferFormTemplateId", - "docliftRefundCertificateTemplateId", - "docliftSepaMandateFormTemplateId", - "docliftSepaMandateFormCoordinates", - "registerCertificateName", - "thesisData", - "invitationLimit", - "cooptationCode", - "membershipsPriceIncludingTaxes", - "membershipsTaxRate", - "vatCompanyNumber", - "membershipsDescription", - "membershipsImageData", - "membershipsPaymentIban", - "membershipsPaymentBic", - "emailInvitationInterval", - "skipMeetingAndValidationCooptationCode", - "commissionWalletAccountId", - "withdrawalPeriod", - "collectionDelay" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "platformAddress": { - "type": "string", - "nullable": true - }, - "platformZipcode": { - "type": "string", - "nullable": true - }, - "platformCity": { - "type": "string", - "nullable": true - }, - "platformCountry": { - "type": "string", - "nullable": true - }, - "platformPhone": { - "type": "string", - "nullable": true - }, - "platformEmail": { - "type": "string", - "nullable": true - }, - "statistics": { - "type": "string", - "nullable": true - }, - "docliftSubscriptionFormTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "subscriptionFormSignPageNumber": { - "$ref": "#/components/schemas/TranslationOfint" - }, - "subscriptionFormSignCoordinates": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "membershipsDocliftInvoiceId": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "docliftRegisterCertificateTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "bankTransferFormSignCoordinates": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "docliftCommissionFormTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "docliftBankTransferFormTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "docliftRefundCertificateTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "docliftSepaMandateFormTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "docliftSepaMandateFormCoordinates": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "registerCertificateName": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "thesisData": { - "$ref": "#/components/schemas/TranslationOfCloudStorageReference" - }, - "invitationLimit": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "cooptationCode": { - "type": "string", - "nullable": true - }, - "membershipsPriceIncludingTaxes": { - "type": "number", - "format": "double", - "nullable": true - }, - "membershipsTaxRate": { - "type": "number", - "format": "double", - "nullable": true - }, - "vatCompanyNumber": { - "type": "string", - "nullable": true - }, - "membershipsDescription": { - "type": "string", - "nullable": true - }, - "membershipsImageData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "membershipsPaymentIban": { - "type": "string", - "nullable": true - }, - "membershipsPaymentBic": { - "type": "string", - "nullable": true - }, - "emailInvitationInterval": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "skipMeetingAndValidationCooptationCode": { - "type": "string", - "nullable": true - }, - "commissionWalletAccountId": { - "type": "string", - "nullable": true - }, - "withdrawalPeriod": { - "type": "integer", - "format": "int32" - }, - "collectionDelay": { - "type": "integer", - "format": "int32" - } - } - }, - "CmsConfiguration2": { - "type": "object", - "properties": { - "platformAddress": { - "type": "string", - "nullable": true - }, - "platformZipcode": { - "type": "string", - "nullable": true - }, - "platformCity": { - "type": "string", - "nullable": true - }, - "platformCountry": { - "type": "string", - "nullable": true - }, - "platformPhone": { - "type": "string", - "nullable": true - }, - "platformEmail": { - "type": "string", - "nullable": true - }, - "statistics": { - "type": "string", - "nullable": true - }, - "docliftSubscriptionFormTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "subscriptionFormSignPageNumber": { - "$ref": "#/components/schemas/TranslationOfint2" - }, - "subscriptionFormSignCoordinates": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "membershipsDocliftInvoiceId": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "docliftRegisterCertificateTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "bankTransferFormSignCoordinates": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "docliftCommissionFormTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "docliftBankTransferFormTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "docliftRefundCertificateTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "docliftSepaMandateFormTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "docliftSepaMandateFormCoordinates": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "registerCertificateName": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "invitationLimit": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "cooptationCode": { - "type": "string", - "nullable": true - }, - "membershipsPriceIncludingTaxes": { - "type": "number", - "format": "double", - "nullable": true - }, - "membershipsTaxRate": { - "type": "number", - "format": "double", - "nullable": true - }, - "vatCompanyNumber": { - "type": "string", - "nullable": true - }, - "membershipsDescription": { - "type": "string", - "nullable": true - }, - "membershipsPaymentIban": { - "type": "string", - "nullable": true - }, - "membershipsPaymentBic": { - "type": "string", - "nullable": true - }, - "emailInvitationInterval": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "skipMeetingAndValidationCooptationCode": { - "type": "string", - "nullable": true - }, - "commissionWalletAccountId": { - "type": "string", - "nullable": true - }, - "withdrawalPeriod": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "collectionDelay": { - "type": "integer", - "format": "int32", - "nullable": true - } - } - }, - "CmsInformativeBanner": { - "required": [ - "id", - "createdAt", - "updatedAt", - "description", - "backgroundColor", - "visible" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "description": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "backgroundColor": { - "type": "string", - "nullable": true - }, - "visible": { - "type": "boolean", - "nullable": true - } - } - }, - "CmsPage": { - "required": [ - "id", - "createdAt", - "updatedAt", - "slug", - "cmsPlatformSubsidiary", - "pageTitle", - "content" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "slug": { - "type": "string", - "nullable": true - }, - "cmsPlatformSubsidiary": { - "$ref": "#/components/schemas/CmsPlatformSubsidiary" - }, - "pageTitle": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "content": { - "$ref": "#/components/schemas/TranslationOfstring" - } - } - }, - "CmsPlatformSubsidiary": { - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "nullable": true - }, - "CmsPlatformSubsidiary2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "country" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "country": { - "type": "string" - } - } - }, - "CmsRemoteEmailTemplate": { - "required": [ - "id", - "createdAt", - "updatedAt", - "adminEmail", - "investEmail", - "account", - "admin", - "bankAccount", - "distributor", - "investorTerm", - "kyc", - "project", - "projectsOwner", - "projectsWaitingListMember", - "subscription", - "user", - "cooptation", - "influencer" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "adminEmail": { - "type": "string" - }, - "investEmail": { - "type": "string" - }, - "account": { - "$ref": "#/components/schemas/AccountTemplates" - }, - "admin": { - "$ref": "#/components/schemas/AdminTemplates" - }, - "bankAccount": { - "$ref": "#/components/schemas/BankAccountTemplates" - }, - "distributor": { - "$ref": "#/components/schemas/DistributorTemplates" - }, - "investorTerm": { - "$ref": "#/components/schemas/InvestorTermTemplates" - }, - "kyc": { - "$ref": "#/components/schemas/KycTemplates" - }, - "project": { - "$ref": "#/components/schemas/ProjectTemplates" - }, - "projectsOwner": { - "$ref": "#/components/schemas/ProjectsOwnerTemplates" - }, - "projectsWaitingListMember": { - "$ref": "#/components/schemas/ProjectsWaitingListMemberTemplates" - }, - "subscription": { - "$ref": "#/components/schemas/SubscriptionTemplates" - }, - "user": { - "$ref": "#/components/schemas/UserTemplates" - }, - "cooptation": { - "$ref": "#/components/schemas/CooptationTemplates" - }, - "influencer": { - "$ref": "#/components/schemas/InfluencerTemplates" - } - } - }, - "CmsRemoteEmailTemplate2": { - "type": "object", - "properties": { - "adminEmail": { - "type": "string", - "nullable": true - }, - "investEmail": { - "type": "string", - "nullable": true - }, - "account": { - "$ref": "#/components/schemas/AccountTemplates2" - }, - "admin": { - "$ref": "#/components/schemas/AdminTemplates2" - }, - "bankAccount": { - "$ref": "#/components/schemas/BankAccountTemplates2" - }, - "distributor": { - "$ref": "#/components/schemas/DistributorTemplates2" - }, - "investorTerm": { - "$ref": "#/components/schemas/InvestorTermTemplates2" - }, - "kyc": { - "$ref": "#/components/schemas/KycTemplates2" - }, - "project": { - "$ref": "#/components/schemas/ProjectTemplates2" - }, - "projectsOwner": { - "$ref": "#/components/schemas/ProjectsOwnerTemplates2" - }, - "projectsWaitingListMember": { - "$ref": "#/components/schemas/ProjectsWaitingListMemberTemplates2" - }, - "subscription": { - "$ref": "#/components/schemas/SubscriptionTemplates2" - }, - "user": { - "$ref": "#/components/schemas/UserTemplates2" - }, - "cooptation": { - "$ref": "#/components/schemas/CooptationTemplates2" - }, - "influencer": { - "$ref": "#/components/schemas/InfluencerTemplates2" - } - } - }, - "Commission": { - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "nullable": true - }, - "Commission2": { - "type": "object", - "anyOf": [ - { - "$ref": "#/components/schemas/CommissionDistributorCommission" - }, - { - "$ref": "#/components/schemas/CommissionInfluencerCommission" - }, - { - "$ref": "#/components/schemas/CommissionBase" - } - ] - }, - "CommissionBase": { - "required": [ - "id", - "createdAt", - "updatedAt", - "project", - "subscriptionsAmount", - "total", - "taxes", - "paidAt", - "docliftFormsBatchId", - "status", - "bankAccount" - ], - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "subscriptionsAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "total": { - "type": "number", - "format": "double", - "nullable": true - }, - "taxes": { - "type": "number", - "format": "double", - "nullable": true - }, - "paidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "docliftFormsBatchId": { - "type": "string", - "nullable": true - }, - "status": { - "$ref": "#/components/schemas/CommissionStatus" - }, - "bankAccount": { - "$ref": "#/components/schemas/BankAccount2" - } - } - }, - "CommissionDistributorCommission": { - "required": [ - "type", - "distributor", - "id", - "createdAt", - "updatedAt", - "project", - "subscriptionsAmount", - "total", - "taxes", - "paidAt", - "docliftFormsBatchId", - "status", - "bankAccount" - ], - "properties": { - "type": { - "enum": [ - "distributor" - ], - "type": "string" - }, - "distributor": { - "$ref": "#/components/schemas/Distributor" - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "subscriptionsAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "total": { - "type": "number", - "format": "double", - "nullable": true - }, - "taxes": { - "type": "number", - "format": "double", - "nullable": true - }, - "paidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "docliftFormsBatchId": { - "type": "string", - "nullable": true - }, - "status": { - "$ref": "#/components/schemas/CommissionStatus" - }, - "bankAccount": { - "$ref": "#/components/schemas/BankAccount2" - } - } - }, - "CommissionInfluencerCommission": { - "required": [ - "type", - "profile", - "id", - "createdAt", - "updatedAt", - "project", - "subscriptionsAmount", - "total", - "taxes", - "paidAt", - "docliftFormsBatchId", - "status", - "bankAccount" - ], - "properties": { - "type": { - "enum": [ - "influencer" - ], - "type": "string" - }, - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "subscriptionsAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "total": { - "type": "number", - "format": "double", - "nullable": true - }, - "taxes": { - "type": "number", - "format": "double", - "nullable": true - }, - "paidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "docliftFormsBatchId": { - "type": "string", - "nullable": true - }, - "status": { - "$ref": "#/components/schemas/CommissionStatus" - }, - "bankAccount": { - "$ref": "#/components/schemas/BankAccount2" - } - } - }, - "CommissionStatus": { - "enum": [ - "paid", - "awaiting_payment", - "paid_off_platform" - ] - }, - "Cooptation": { - "required": [ - "id", - "createdAt", - "updatedAt", - "sponsor", - "sponsoredUser", - "email", - "phoneNumber", - "firstName", - "lastName", - "civility", - "guestContactMethod" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "sponsor": { - "$ref": "#/components/schemas/Profile3" - }, - "sponsoredUser": { - "$ref": "#/components/schemas/User2" - }, - "email": { - "type": "string", - "nullable": true - }, - "phoneNumber": { - "type": "string", - "nullable": true - }, - "firstName": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true - }, - "civility": { - "type": "string", - "nullable": true - }, - "guestContactMethod": { - "type": "string", - "nullable": true - } - } - }, - "CooptationInfo": { - "required": [ - "cooptationCode", - "remainingInvitations", - "dailyInvitationsNumber" - ], - "type": "object", - "properties": { - "cooptationCode": { - "type": "string" - }, - "remainingInvitations": { - "type": "integer", - "format": "int32" - }, - "dailyInvitationsNumber": { - "type": "integer", - "format": "int32" - } - }, - "nullable": true - }, - "CooptationTemplates": { - "required": [ - "invitationSendInvitation" - ], - "type": "object", - "properties": { - "invitationSendInvitation": { - "type": "string", - "nullable": true - } - } - }, - "CooptationTemplates2": { - "required": [ - "invitationSendInvitation" - ], - "type": "object", - "properties": { - "invitationSendInvitation": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "CooptationVerifyRequest": { - "required": [ - "cooptationCode" - ], - "type": "object", - "properties": { - "cooptationCode": { - "type": "string" - } - } - }, - "CreateBankAccountRequest": { - "required": [ - "iban", - "bic" - ], - "type": "object", - "properties": { - "iban": { - "type": "string" - }, - "bic": { - "type": "string", - "nullable": true - } - } - }, - "CreateInvestorRequest": { - "required": [ - "civility", - "firstName", - "lastName", - "email", - "phoneNumber", - "password", - "defaultLanguage", - "cooptationCode" - ], - "type": "object", - "properties": { - "civility": { - "$ref": "#/components/schemas/Civility" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - }, - "phoneNumber": { - "type": "string" - }, - "password": { - "type": "string" - }, - "defaultLanguage": { - "type": "string" - }, - "cooptationCode": { - "type": "string" - } - } - }, - "CreateProfileRequest": { - "required": [ - "type" - ], - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "birth": { - "$ref": "#/components/schemas/BirthInfoRequest" - }, - "nationality": { - "type": "string", - "nullable": true - }, - "tax": { - "$ref": "#/components/schemas/TaxInfoRequest" - }, - "address": { - "$ref": "#/components/schemas/AddressInfoRequest" - }, - "usPerson": { - "type": "boolean", - "nullable": true - }, - "legalEntity": { - "$ref": "#/components/schemas/LegalEntityRequest" - }, - "newsletter": { - "type": "boolean", - "nullable": true - } - } - }, - "CreateReservationRequest": { - "required": [ - "projectId", - "profileId", - "amount" - ], - "type": "object", - "properties": { - "projectId": { - "$ref": "#/components/schemas/ObjectIdOfProject" - }, - "profileId": { - "$ref": "#/components/schemas/ObjectIdOfProfile" - }, - "amount": { - "type": "integer", - "format": "int32" - } - } - }, - "CreateSubscriptionRequest": { - "required": [ - "projectId", - "profileId", - "amount" - ], - "type": "object", - "properties": { - "projectId": { - "type": "string" - }, - "profileId": { - "type": "string" - }, - "amount": { - "type": "integer", - "format": "int32" - } - } - }, - "Distributor": { - "required": [ - "name", - "manager", - "id" - ], - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manager": { - "$ref": "#/components/schemas/Profile2" - }, - "id": { - "type": "string" - } - } - }, - "Distributor2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "name", - "phoneNumber", - "registrationNumber", - "commission", - "accountId", - "remoteStatus", - "virtualIban", - "virtualBic", - "commissionTaxRate", - "street", - "zipCode", - "city", - "country", - "hubspot" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "name": { - "type": "string" - }, - "phoneNumber": { - "type": "string", - "nullable": true - }, - "registrationNumber": { - "type": "string" - }, - "commission": { - "type": "number", - "format": "double" - }, - "accountId": { - "type": "string", - "nullable": true - }, - "remoteStatus": { - "type": "string", - "nullable": true - }, - "virtualIban": { - "type": "string", - "nullable": true - }, - "virtualBic": { - "type": "string", - "nullable": true - }, - "commissionTaxRate": { - "type": "number", - "format": "double", - "nullable": true - }, - "street": { - "type": "string", - "nullable": true - }, - "zipCode": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "hubspot": { - "$ref": "#/components/schemas/HubspotInfo" - } - } - }, - "DistributorAdvisorsItem": { - "required": [ - "advisor", - "investorsCount", - "subscriptionsCount" - ], - "type": "object", - "properties": { - "advisor": { - "$ref": "#/components/schemas/AdvisorProfile" - }, - "investorsCount": { - "type": "integer", - "format": "int64" - }, - "subscriptionsCount": { - "type": "integer", - "format": "int64" - } - } - }, - "DistributorCommission": { - "required": [ - "distributor", - "id", - "createdAt", - "updatedAt", - "project", - "subscriptionsAmount", - "total", - "taxes", - "paidAt", - "docliftFormsBatchId", - "status", - "bankAccount" - ], - "type": "object", - "properties": { - "distributor": { - "$ref": "#/components/schemas/Distributor" - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "subscriptionsAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "total": { - "type": "number", - "format": "double", - "nullable": true - }, - "taxes": { - "type": "number", - "format": "double", - "nullable": true - }, - "paidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "docliftFormsBatchId": { - "type": "string", - "nullable": true - }, - "status": { - "$ref": "#/components/schemas/CommissionStatus" - }, - "bankAccount": { - "$ref": "#/components/schemas/BankAccount2" - } - } - }, - "DistributorInvestorsItem": { - "required": [ - "investor", - "subscriptionsCount" - ], - "type": "object", - "properties": { - "investor": { - "$ref": "#/components/schemas/InvestorProfile" - }, - "subscriptionsCount": { - "type": "integer", - "format": "int64" - } - } - }, - "DistributorItem": { - "required": [ - "distributor", - "advisorsCount", - "investorsCount", - "subscriptionsCount" - ], - "type": "object", - "properties": { - "distributor": { - "$ref": "#/components/schemas/Distributor2" - }, - "advisorsCount": { - "type": "integer", - "format": "int64" - }, - "investorsCount": { - "type": "integer", - "format": "int64" - }, - "subscriptionsCount": { - "type": "integer", - "format": "int64" - } - } - }, - "DistributorTemplates": { - "required": [ - "commissionPaid" - ], - "type": "object", - "properties": { - "commissionPaid": { - "type": "string", - "nullable": true - } - } - }, - "DistributorTemplates2": { - "required": [ - "commissionPaid" - ], - "type": "object", - "properties": { - "commissionPaid": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "DocumentFileCallback": { - "required": [ - "filename", - "url", - "size" - ], - "type": "object", - "properties": { - "filename": { - "type": "string" - }, - "url": { - "type": "string" - }, - "size": { - "type": "integer", - "format": "int64" - } - }, - "nullable": true - }, - "DocumentGenerated": { - "required": [ - "id", - "tag", - "generation_status", - "file" - ], - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "tag": { - "type": "string", - "nullable": true - }, - "generation_status": { - "$ref": "#/components/schemas/GenerationStatus" - }, - "file": { - "$ref": "#/components/schemas/DocumentFileCallback" - } - } - }, - "DocumentGeneratedRequestWebhook": { - "required": [ - "id", - "tag", - "type", - "documents_generations" - ], - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "tag": { - "type": "string", - "nullable": true - }, - "type": { - "$ref": "#/components/schemas/DocumentRequestType" - }, - "documents_generations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DocumentGenerated" - } - } - } - }, - "DocumentRequestType": { - "enum": [ - "synchrone", - "asynchrone" - ] - }, - "DocumentStatus": { - "enum": [ - "accepted", - "rejected", - "waiting_for_document", - "need_manual_validation", - "unreadable", - "expired", - "wrong_type", - "wrong_name", - "duplicated_document", - "canceled_document" - ] - }, - "DocumentStatusChanged": { - "required": [ - "NotifCategory", - "NotifDate", - "IntId", - "ExtId", - "Status", - "DocType", - "DocId" - ], - "type": "object", - "properties": { - "NotifCategory": { - "type": "string" - }, - "NotifDate": { - "type": "string" - }, - "IntId": { - "type": "string" - }, - "ExtId": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "DocType": { - "type": "string" - }, - "DocId": { - "type": "string" - } - } - }, - "DocumentType": { - "enum": [ - "id_card", - "passport", - "proof_of_address", - "company_registration_certificate", - "articles_of_incorporation", - "beneficial_owners", - "proof_of_iban", - "residence_permit", - "driver_licence", - "status", - "selfie", - "ssd_mandate", - "other" - ] - }, - "Email": { - "required": [ - "address" - ], - "type": "object", - "properties": { - "address": { - "type": "string" - } - } - }, - "EmailInfo": { - "required": [ - "address", - "validatedAt" - ], - "type": "object", - "properties": { - "address": { - "type": "string" - }, - "validatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - } - } - }, - "EnrichedBankAccount": { - "required": [ - "id", - "createdAt", - "updatedAt", - "ownerType", - "owner", - "documentData", - "iban", - "bic", - "status", - "lemonway", - "streammind" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "ownerType": { - "$ref": "#/components/schemas/BankAccountOwnerType" - }, - "owner": { - "$ref": "#/components/schemas/BankAccountOwnerInfo" - }, - "documentData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "iban": { - "type": "string" - }, - "bic": { - "type": "string" - }, - "status": { - "$ref": "#/components/schemas/NullableOfBankAccountStatus" - }, - "lemonway": { - "$ref": "#/components/schemas/BankAccountLemonway" - }, - "streammind": { - "$ref": "#/components/schemas/BankAccountStreammind" - } - } - }, - "EnrichedBankAccountOverview": { - "required": [ - "id", - "createdAt", - "updatedAt", - "ownerType", - "owner", - "iban", - "bic", - "status", - "lemonway", - "streammind" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "ownerType": { - "$ref": "#/components/schemas/BankAccountOwnerType" - }, - "owner": { - "$ref": "#/components/schemas/Profile3" - }, - "iban": { - "type": "string" - }, - "bic": { - "type": "string" - }, - "status": { - "$ref": "#/components/schemas/NullableOfBankAccountStatus" - }, - "lemonway": { - "$ref": "#/components/schemas/BankAccountLemonway" - }, - "streammind": { - "$ref": "#/components/schemas/BankAccountStreammind" - } - } - }, - "EventType": { - "enum": [ - "account_created", - "account_updated", - "account_closed", - "attachment_created", - "attachment_deleted", - "collection_confirmed", - "collection_returned", - "collection_canceled", - "collection_failed", - "iban_created", - "iban_updated", - "iban_deleted", - "transaction_scheduled", - "transaction_authorized", - "transaction_confirmed", - "transaction_rejected", - "transaction_canceled", - "transfer_confirmed", - "transfer_returned", - "transfer_canceled", - "transfer_failed", - "wire_transfer_confirmed", - "wire_transfer_returned", - "wire_transfer_canceled", - "wire_transfer_failed", - "wire_transfer_attachment_required", - "bulk_transfers_completed", - "bulk_collections_completed", - "mandate_signature_request_sent", - "mandate_signature_request_expired", - "mandate_signature_request_completed", - "mandate_signature_request_deleted" - ] - }, - "Fiscality": { - "required": [ - "id", - "createdAt", - "updatedAt", - "proofData", - "year", - "profile", - "incomeTaxRate", - "socialTaxRate" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "proofData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "year": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "incomeTaxRate": { - "type": "number", - "format": "double", - "nullable": true - }, - "socialTaxRate": { - "type": "number", - "format": "double", - "nullable": true - } - } - }, - "GenerationStatus": { - "enum": [ - "created", - "pending", - "in_progress", - "success", - "error" - ] - }, - "GoogleLoginRequest": { - "type": "object", - "properties": { - "code": { - "type": "string", - "nullable": true - }, - "credentials": { - "type": "string", - "nullable": true - } - } - }, - "Hubspot": { - "required": [ - "hubspotId", - "defaultLanguage" - ], - "type": "object", - "properties": { - "hubspotId": { - "type": "string", - "nullable": true - }, - "defaultLanguage": { - "type": "string", - "nullable": true - } - } - }, - "HubspotInfo": { - "required": [ - "hubspotId", - "lastSynchronisationAt", - "error", - "errorDate", - "defaultLanguage" - ], - "type": "object", - "properties": { - "hubspotId": { - "type": "string", - "nullable": true - }, - "lastSynchronisationAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "error": { - "type": "string", - "nullable": true - }, - "errorDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "defaultLanguage": { - "type": "string", - "nullable": true - } - } - }, - "IFormFile": { - "type": "string", - "format": "binary" - }, - "Ifu": { - "required": [ - "id", - "createdAt", - "updatedAt", - "year", - "profile", - "ifuDocumentData" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "year": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "ifuDocumentData": { - "$ref": "#/components/schemas/CloudStorageReference" - } - } - }, - "InfluencerCommission": { - "required": [ - "profile", - "id", - "createdAt", - "updatedAt", - "project", - "subscriptionsAmount", - "total", - "taxes", - "paidAt", - "docliftFormsBatchId", - "status", - "bankAccount" - ], - "type": "object", - "properties": { - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "subscriptionsAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "total": { - "type": "number", - "format": "double", - "nullable": true - }, - "taxes": { - "type": "number", - "format": "double", - "nullable": true - }, - "paidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "docliftFormsBatchId": { - "type": "string", - "nullable": true - }, - "status": { - "$ref": "#/components/schemas/CommissionStatus" - }, - "bankAccount": { - "$ref": "#/components/schemas/BankAccount2" - } - } - }, - "InfluencerInvestors": { - "required": [ - "profile", - "subscriptionsCount", - "quotaLeft" - ], - "type": "object", - "properties": { - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "subscriptionsCount": { - "type": "integer", - "format": "int32" - }, - "quotaLeft": { - "type": "integer", - "format": "int32" - } - } - }, - "InfluencerProfile": { - "required": [ - "commissionRate", - "investorQuota", - "vatRate", - "legalEntity", - "id", - "createdAt", - "updatedAt", - "user", - "archivedAt", - "cooptation" - ], - "type": "object", - "properties": { - "commissionRate": { - "type": "number", - "format": "double", - "nullable": true - }, - "investorQuota": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "vatRate": { - "type": "number", - "format": "double", - "nullable": true - }, - "legalEntity": { - "$ref": "#/components/schemas/LegalEntity" - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/User" - }, - "archivedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "cooptation": { - "$ref": "#/components/schemas/CooptationInfo" - } - } - }, - "InfluencerTemplates": { - "required": [ - "commissionPaid" - ], - "type": "object", - "properties": { - "commissionPaid": { - "type": "string", - "nullable": true - } - } - }, - "InfluencerTemplates2": { - "required": [ - "commissionPaid" - ], - "type": "object", - "properties": { - "commissionPaid": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "InvestmentInfo": { - "type": "object", - "properties": { - "netWorth": { - "type": "string", - "nullable": true - }, - "investmentCapacity": { - "type": "string", - "nullable": true - }, - "hasFirstInvestment": { - "type": "boolean" - } - } - }, - "InvestorProfile": { - "required": [ - "type" - ], - "type": "object", - "anyOf": [ - { - "$ref": "#/components/schemas/InvestorProfileNaturalPersonProfile" - }, - { - "$ref": "#/components/schemas/InvestorProfileLegalEntityProfile" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "natural_person": "#/components/schemas/InvestorProfileNaturalPersonProfile", - "legal_entity": "#/components/schemas/InvestorProfileLegalEntityProfile" - } - } - }, - "InvestorProfileLegalEntityProfile": { - "required": [ - "legalEntity", - "kycValidatedAt", - "profileInformationCompleted", - "newsletter", - "status", - "exposure", - "lemonway", - "apScan", - "id", - "createdAt", - "updatedAt", - "user", - "archivedAt", - "cooptation" - ], - "properties": { - "type": { - "enum": [ - "legal_entity" - ], - "type": "string" - }, - "legalEntity": { - "$ref": "#/components/schemas/LegalEntity" - }, - "kycValidatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "profileInformationCompleted": { - "type": "boolean", - "nullable": true - }, - "newsletter": { - "type": "boolean" - }, - "status": { - "enum": [ - "missing_documents", - "rejected_documents", - "under_analysis", - "active", - "expired_documents", - "blocked", - "closed", - "under_review" - ] - }, - "exposure": { - "enum": [ - "pending", - "normal", - "enhanced_control", - "rejected" - ] - }, - "lemonway": { - "required": [ - "id", - "remoteStatus", - "virtualIban", - "virtualBic" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "remoteStatus": { - "type": "string", - "nullable": true - }, - "virtualIban": { - "type": "string", - "nullable": true - }, - "virtualBic": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "apScan": { - "required": [ - "status" - ], - "type": "object", - "properties": { - "status": { - "type": "string" - } - }, - "nullable": true - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/User" - }, - "archivedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "cooptation": { - "$ref": "#/components/schemas/CooptationInfo" - } - } - }, - "InvestorProfileNaturalPersonProfile": { - "required": [ - "birth", - "nationality", - "tax", - "address", - "usPerson", - "countryAlert", - "kycValidatedAt", - "profileInformationCompleted", - "newsletter", - "status", - "exposure", - "lemonway", - "apScan", - "id", - "createdAt", - "updatedAt", - "user", - "archivedAt", - "cooptation" - ], - "properties": { - "type": { - "enum": [ - "natural_person" - ], - "type": "string" - }, - "birth": { - "required": [ - "date", - "country", - "city", - "zipCode" - ], - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date" - }, - "country": { - "type": "string" - }, - "city": { - "type": "string" - }, - "zipCode": { - "type": "string" - } - }, - "nullable": true - }, - "nationality": { - "type": "string", - "nullable": true - }, - "tax": { - "$ref": "#/components/schemas/TaxInfo" - }, - "address": { - "$ref": "#/components/schemas/AddressInfo" - }, - "usPerson": { - "type": "boolean" - }, - "countryAlert": { - "required": [ - "country", - "sendAt" - ], - "type": "object", - "properties": { - "country": { - "type": "string" - }, - "sendAt": { - "type": "string", - "format": "date-time" - } - }, - "nullable": true - }, - "kycValidatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "profileInformationCompleted": { - "type": "boolean", - "nullable": true - }, - "newsletter": { - "type": "boolean" - }, - "status": { - "enum": [ - "missing_documents", - "rejected_documents", - "under_analysis", - "active", - "expired_documents", - "blocked", - "closed", - "under_review" - ] - }, - "exposure": { - "enum": [ - "pending", - "normal", - "enhanced_control", - "rejected" - ] - }, - "lemonway": { - "required": [ - "id", - "remoteStatus", - "virtualIban", - "virtualBic" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "remoteStatus": { - "type": "string", - "nullable": true - }, - "virtualIban": { - "type": "string", - "nullable": true - }, - "virtualBic": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "apScan": { - "required": [ - "status" - ], - "type": "object", - "properties": { - "status": { - "type": "string" - } - }, - "nullable": true - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/User" - }, - "archivedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "cooptation": { - "$ref": "#/components/schemas/CooptationInfo" - } - } - }, - "InvestorProfileOverview": { - "required": [ - "investor", - "suitability", - "risky", - "benefitServices", - "bankAccountStatus" - ], - "type": "object", - "properties": { - "investor": { - "$ref": "#/components/schemas/InvestorProfile" - }, - "suitability": { - "$ref": "#/components/schemas/NullableOfQuestionnaireSuitability2" - }, - "risky": { - "type": "boolean", - "nullable": true - }, - "benefitServices": { - "type": "boolean", - "nullable": true - }, - "bankAccountStatus": { - "$ref": "#/components/schemas/NullableOfBankAccountStatus2" - } - } - }, - "InvestorProfileStats": { - "required": [ - "all", - "docToReview", - "toValidate", - "refused", - "validated" - ], - "type": "object", - "properties": { - "all": { - "type": "integer", - "format": "int32" - }, - "docToReview": { - "type": "integer", - "format": "int32" - }, - "toValidate": { - "type": "integer", - "format": "int32" - }, - "refused": { - "type": "integer", - "format": "int32" - }, - "validated": { - "type": "integer", - "format": "int32" - } - } - }, - "InvestorTermTemplates": { - "required": [ - "investorTermPaid", - "missingBankAccount" - ], - "type": "object", - "properties": { - "investorTermPaid": { - "type": "string", - "nullable": true - }, - "missingBankAccount": { - "type": "string", - "nullable": true - } - } - }, - "InvestorTermTemplates2": { - "required": [ - "investorTermPaid", - "missingBankAccount" - ], - "type": "object", - "properties": { - "investorTermPaid": { - "type": "string", - "nullable": true - }, - "missingBankAccount": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "InvitationInfo": { - "required": [ - "createdAt", - "sentAt", - "acceptedAt", - "invitedBy", - "limit", - "invitationsCount", - "skipMeetingAndValidation" - ], - "type": "object", - "properties": { - "createdAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "sentAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "acceptedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "invitedBy": { - "$ref": "#/components/schemas/Profile3" - }, - "limit": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "invitationsCount": { - "type": "integer", - "format": "int32" - }, - "skipMeetingAndValidation": { - "type": "boolean" - } - } - }, - "KycDocument": { - "required": [ - "id", - "createdAt", - "updatedAt", - "profile", - "type", - "fileDataUrl", - "fileBackDataUrl", - "status" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "type": { - "$ref": "#/components/schemas/DocumentType" - }, - "fileDataUrl": { - "$ref": "#/components/schemas/CloudStorageReference2" - }, - "fileBackDataUrl": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "status": { - "$ref": "#/components/schemas/DocumentStatus" - }, - "lemonway": { - "$ref": "#/components/schemas/LemonwayDocumentInfo" - } - } - }, - "KycInfo": { - "type": "object", - "properties": { - "documentsStatus": { - "type": "string", - "nullable": true - }, - "kycStatus": { - "type": "string", - "nullable": true - } - } - }, - "KycTemplates": { - "required": [ - "fullyValidated", - "documentRejected", - "adminValidated" - ], - "type": "object", - "properties": { - "fullyValidated": { - "type": "string", - "nullable": true - }, - "documentRejected": { - "type": "string", - "nullable": true - }, - "adminValidated": { - "type": "string", - "nullable": true - } - } - }, - "KycTemplates2": { - "required": [ - "fullyValidated", - "documentRejected", - "adminValidated" - ], - "type": "object", - "properties": { - "fullyValidated": { - "type": "string", - "nullable": true - }, - "documentRejected": { - "type": "string", - "nullable": true - }, - "adminValidated": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "LegalEntity": { - "required": [ - "legalType", - "name", - "registrationNumber", - "city", - "zipCode", - "country", - "email", - "streetNumber", - "street", - "lineOfBusiness", - "legalStatus", - "capital", - "representativeDuties", - "tradeAndCompanyRegisterCity", - "otherLegalStatus" - ], - "type": "object", - "properties": { - "legalType": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "registrationNumber": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "zipCode": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "streetNumber": { - "type": "string", - "nullable": true - }, - "street": { - "type": "string", - "nullable": true - }, - "lineOfBusiness": { - "type": "string", - "nullable": true - }, - "legalStatus": { - "type": "string", - "nullable": true - }, - "capital": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "representativeDuties": { - "type": "string", - "nullable": true - }, - "tradeAndCompanyRegisterCity": { - "type": "string", - "nullable": true - }, - "otherLegalStatus": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "LegalEntity2": { - "required": [ - "name", - "registrationNumber" - ], - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - }, - "registrationNumber": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "LegalEntity3": { - "type": "object", - "properties": { - "legalType": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "registrationNumber": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "zipCode": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "streetNumber": { - "type": "string", - "nullable": true - }, - "street": { - "type": "string", - "nullable": true - }, - "lineOfBusiness": { - "type": "string", - "nullable": true - }, - "legalStatus": { - "type": "string", - "nullable": true - }, - "capital": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "representativeDuties": { - "type": "string", - "nullable": true - }, - "tradeAndCompanyRegisterCity": { - "type": "string", - "nullable": true - }, - "otherLegalStatus": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "LegalEntityInfo": { - "type": "object", - "properties": { - "legalType": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "registrationNumber": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "zipCode": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "streetNumber": { - "type": "string", - "nullable": true - }, - "street": { - "type": "string", - "nullable": true - }, - "lineOfBusiness": { - "type": "string", - "nullable": true - }, - "legalStatus": { - "type": "string", - "nullable": true - }, - "capital": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "representativeDuties": { - "type": "string", - "nullable": true - }, - "tradeAndCompanyRegisterCity": { - "type": "string", - "nullable": true - }, - "otherLegalStatus": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "LegalEntityRequest": { - "type": "object", - "properties": { - "legalType": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "registrationNumber": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "zipCode": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "streetNumber": { - "type": "string", - "nullable": true - }, - "street": { - "type": "string", - "nullable": true - }, - "lineOfBusiness": { - "type": "string", - "nullable": true - }, - "legalStatus": { - "type": "string", - "nullable": true - }, - "capital": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "representativeDuties": { - "type": "string", - "nullable": true - }, - "tradeAndCompanyRegisterCity": { - "type": "string", - "nullable": true - }, - "otherLegalStatus": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "LemonwayDocumentInfo": { - "required": [ - "id", - "status", - "refuseReason" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "status": { - "type": "string", - "nullable": true - }, - "refuseReason": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "LemonwayInfo": { - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "remoteStatus": { - "type": "string", - "nullable": true - }, - "virtualIban": { - "type": "string", - "nullable": true - }, - "virtualBic": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "LendingInvestorTerm": { - "required": [ - "id", - "createdAt", - "updatedAt", - "subscription", - "lendingTerm", - "dueOn", - "paidAt", - "paymentAskedAt", - "remainingCapitalBeginningOfPeriod", - "paymentCapitalShare", - "paymentInterestsShare", - "totalAmountToPay", - "totalPaidCapitalEndOfPeriod", - "totalPaidInterestsEndOfPeriod", - "remainingCapitalEndOfPeriod", - "earlyRepayment", - "deltaDueEndOfPeriod", - "amountToAdd", - "incomeTaxRate", - "socialTaxRate", - "incomeTaxAmount", - "socialTaxAmount", - "incomeTaxPaidAt", - "socialTaxPaidAt", - "termNumber", - "nonConversionBonus", - "totalPaidBonusEndOfPeriod", - "termPaidAt" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "subscription": { - "$ref": "#/components/schemas/Subscription3" - }, - "lendingTerm": { - "$ref": "#/components/schemas/LendingTerm" - }, - "dueOn": { - "type": "string", - "format": "date", - "nullable": true - }, - "paidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "paymentAskedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "remainingCapitalBeginningOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "paymentCapitalShare": { - "type": "number", - "format": "double", - "nullable": true - }, - "paymentInterestsShare": { - "type": "number", - "format": "double", - "nullable": true - }, - "totalAmountToPay": { - "type": "number", - "format": "double", - "nullable": true - }, - "totalPaidCapitalEndOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "totalPaidInterestsEndOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "remainingCapitalEndOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "earlyRepayment": { - "type": "boolean" - }, - "deltaDueEndOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "amountToAdd": { - "type": "number", - "format": "double", - "nullable": true - }, - "incomeTaxRate": { - "type": "number", - "format": "double", - "nullable": true - }, - "socialTaxRate": { - "type": "number", - "format": "double", - "nullable": true - }, - "incomeTaxAmount": { - "type": "number", - "format": "double", - "nullable": true - }, - "socialTaxAmount": { - "type": "number", - "format": "double", - "nullable": true - }, - "incomeTaxPaidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "socialTaxPaidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "termNumber": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "nonConversionBonus": { - "type": "number", - "format": "double", - "nullable": true - }, - "totalPaidBonusEndOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "termPaidAt": { - "type": "string", - "format": "date-time", - "nullable": true - } - } - }, - "LendingInvestorTermOverview": { - "required": [ - "lendingInvestorTerm", - "profile", - "project" - ], - "type": "object", - "properties": { - "lendingInvestorTerm": { - "$ref": "#/components/schemas/LendingInvestorTerm" - }, - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "project": { - "$ref": "#/components/schemas/Project" - } - } - }, - "LendingTerm": { - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "LendingTerm2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "project", - "dueOn", - "paidAt", - "paymentAskedAt", - "remainingCapitalBeginningOfPeriod", - "paymentCapitalShare", - "paymentInterestsShare", - "totalPaidCapitalEndOfPeriod", - "totalPaidInterestsEndOfPeriod", - "remainingCapitalEndOfPeriod", - "earlyRepayment", - "visible", - "termNumber", - "nonConversionBonus", - "totalPaidBonusEndOfPeriod" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "dueOn": { - "type": "string", - "format": "date", - "nullable": true - }, - "paidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "paymentAskedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "remainingCapitalBeginningOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "paymentCapitalShare": { - "type": "number", - "format": "double", - "nullable": true - }, - "paymentInterestsShare": { - "type": "number", - "format": "double", - "nullable": true - }, - "totalPaidCapitalEndOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "totalPaidInterestsEndOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "remainingCapitalEndOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - }, - "earlyRepayment": { - "type": "boolean" - }, - "visible": { - "type": "boolean" - }, - "termNumber": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "nonConversionBonus": { - "type": "number", - "format": "double", - "nullable": true - }, - "totalPaidBonusEndOfPeriod": { - "type": "number", - "format": "double", - "nullable": true - } - } - }, - "LoginResponse": { - "required": [ - "accessToken" - ], - "type": "object", - "properties": { - "accessToken": { - "type": "string" - } - } - }, - "MeanOfPayment": { - "enum": [ - "transfer", - "bank_wire", - "card", - "direct_debit" - ] - }, - "MeetingInfo": { - "required": [ - "meetingId", - "startTime", - "takenAt" - ], - "type": "object", - "properties": { - "meetingId": { - "type": "string", - "nullable": true - }, - "startTime": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "takenAt": { - "type": "string", - "format": "date-time" - } - }, - "nullable": true - }, - "MeResponse": { - "required": [ - "civility", - "firstname", - "lastname", - "email", - "phone", - "defaultLanguage" - ], - "type": "object", - "properties": { - "civility": { - "$ref": "#/components/schemas/Civility" - }, - "firstname": { - "type": "string" - }, - "lastname": { - "type": "string" - }, - "email": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "defaultLanguage": { - "type": "string", - "nullable": true - } - } - }, - "MeResponse2": { - "required": [ - "username", - "email", - "roles" - ], - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "NullableOfBankAccountStatus": { - "enum": [ - "pending_admin_review", - "rejected", - "canceled", - "accepted", - "pending_review", - null - ], - "nullable": true - }, - "NullableOfBankAccountStatus2": { - "type": "integer", - "nullable": true - }, - "NullableOfBudgetStatus": { - "enum": [ - "draft", - "on_going", - "ended", - null - ], - "nullable": true - }, - "NullableOfCivility": { - "enum": [ - "mister", - "madam", - null - ], - "nullable": true - }, - "NullableOfDocumentCategory": { - "enum": [ - "kiis", - "deal_sheet", - "subscription_form_appendices", - null - ], - "nullable": true - }, - "NullableOfMeanOfPayment": { - "enum": [ - "transfer", - "bank_wire", - "card", - "direct_debit", - null - ], - "nullable": true - }, - "NullableOfProjectStatus": { - "enum": [ - "draft", - "canceled", - "published", - "being_reimbursed", - "failed", - "succeeded", - "reimbursed", - "closed", - null - ], - "nullable": true - }, - "NullableOfQuestionnaireSuitability": { - "enum": [ - "non_informed", - "informed", - "to_be_determined", - null - ], - "nullable": true - }, - "NullableOfQuestionnaireSuitability2": { - "type": "integer", - "nullable": true - }, - "NullableOfSubscriptionMeanOfPayment": { - "enum": [ - "lemonway", - "memobank", - null - ], - "nullable": true - }, - "NullableOfSubscriptionType": { - "enum": [ - "standard", - "reservation", - null - ], - "nullable": true - }, - "ObjectIdOfArtwork": { - "type": "string", - "description": "Strongly typed ObjectId for Artwork", - "format": "objectid", - "example": "66b1f95b24e88c0dbf38a69f" - }, - "ObjectIdOfProfile": { - "type": "string", - "description": "Strongly typed ObjectId for Profile", - "format": "objectid", - "example": "66b1f95b24e88c0dbf38a69f" - }, - "ObjectIdOfProject": { - "type": "string", - "description": "Strongly typed ObjectId for Project", - "format": "objectid", - "example": "66b1f95b24e88c0dbf38a69f" - }, - "ObjectIdOfProjectOwner": { - "type": "string", - "description": "Strongly typed ObjectId for ProjectOwner", - "format": "objectid", - "example": "66b1f95b24e88c0dbf38a69f" - }, - "OnboardingProgressInfo": { - "type": "object", - "properties": { - "nextStep": { - "type": "string", - "nullable": true - }, - "isCompleted": { - "type": "boolean" - }, - "completedSteps": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - } - }, - "OperationCategory": { - "enum": [ - "subscription_to_project", - "subscription", - "commission", - "lending_payment", - "social_tax", - "credit_account", - "debit_account", - "income_tax", - "subscription_refund", - "non_conversion_bonus", - "membership_payment" - ] - }, - "OperationDirection": { - "enum": [ - "in", - "out" - ] - }, - "OperationOwner": { - "enum": [ - "distributor", - "project_owner", - "influencer", - "investor" - ] - }, - "OperationStatus": { - "enum": [ - "created", - "succeeded", - "canceled", - "failed" - ] - }, - "OperationTarget": { - "enum": [ - "bank_account", - "commission", - "lending_investor_term", - "membership", - "subscription" - ] - }, - "Opportunity": { - "required": [ - "id", - "coverPictureData", - "artwork", - "shortDescription", - "price", - "minSubscriptionAmount", - "maxSubscriptionAmount", - "shareValue", - "status", - "keyInvestmentInformationSheet", - "dealSheet" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "coverPictureData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "artwork": { - "$ref": "#/components/schemas/OpportunityArtworkInfo" - }, - "shortDescription": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "price": { - "type": "integer", - "format": "int32" - }, - "minSubscriptionAmount": { - "type": "integer", - "format": "int32" - }, - "maxSubscriptionAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "shareValue": { - "type": "integer", - "format": "int32" - }, - "status": { - "$ref": "#/components/schemas/ProjectStatus" - }, - "keyInvestmentInformationSheet": { - "$ref": "#/components/schemas/TranslationOfCloudStorageReference" - }, - "dealSheet": { - "$ref": "#/components/schemas/TranslationOfCloudStorageReference" - } - } - }, - "OpportunityArtworkInfo": { - "required": [ - "name", - "artistName", - "year", - "size", - "technique" - ], - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "artistName": { - "type": "string" - }, - "year": { - "type": "string" - }, - "size": { - "type": "string" - }, - "technique": { - "$ref": "#/components/schemas/TranslationOfstring" - } - } - }, - "OpportunityDocument": { - "required": [ - "id", - "createdAt", - "documentCategory", - "file", - "name" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "documentCategory": { - "$ref": "#/components/schemas/NullableOfDocumentCategory" - }, - "file": { - "$ref": "#/components/schemas/CloudStorageReference2" - }, - "name": { - "type": "string" - } - } - }, - "Payload": { - "required": [ - "object" - ], - "type": "object", - "properties": { - "object": { - "$ref": "#/components/schemas/Transaction" - } - } - }, - "PaymentOperation": { - "required": [ - "id", - "createdAt", - "updatedAt", - "ownerType", - "owner", - "targetableType", - "targetable", - "amountInCents", - "status", - "direction", - "meanOfPayment", - "category", - "reference" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "ownerType": { - "$ref": "#/components/schemas/OperationOwner" - }, - "owner": { - "type": "string" - }, - "targetableType": { - "$ref": "#/components/schemas/OperationTarget" - }, - "targetable": { - "type": "string", - "nullable": true - }, - "amountInCents": { - "type": "integer", - "format": "int32" - }, - "status": { - "$ref": "#/components/schemas/OperationStatus" - }, - "remoteId": { - "type": "string", - "nullable": true - }, - "direction": { - "$ref": "#/components/schemas/OperationDirection" - }, - "meanOfPayment": { - "$ref": "#/components/schemas/MeanOfPayment" - }, - "category": { - "$ref": "#/components/schemas/OperationCategory" - }, - "reference": { - "type": "string", - "nullable": true - } - } - }, - "PhoneInfo": { - "required": [ - "number", - "validatedAt" - ], - "type": "object", - "properties": { - "number": { - "type": "string" - }, - "validatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - } - } - }, - "ProblemDetails": { - "type": "object", - "properties": { - "type": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "instance": { - "type": "string", - "nullable": true - } - } - }, - "Profile": { - "required": [ - "id", - "type", - "createdAt", - "updatedAt", - "usPerson" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "type": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "profileInformationCompleted": { - "type": "boolean", - "nullable": true - }, - "newsletter": { - "type": "boolean" - }, - "kycValidatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "kycStatus": { - "type": "string", - "nullable": true - }, - "lemonway": { - "$ref": "#/components/schemas/LemonwayInfo" - }, - "birth": { - "$ref": "#/components/schemas/BirthInfo" - }, - "nationality": { - "type": "string", - "nullable": true - }, - "tax": { - "$ref": "#/components/schemas/TaxInfo" - }, - "address": { - "$ref": "#/components/schemas/AddressInfo" - }, - "usPerson": { - "type": "boolean", - "nullable": true - }, - "legalEntity": { - "$ref": "#/components/schemas/LegalEntityInfo" - } - } - }, - "Profile2": { - "required": [ - "name", - "type", - "user", - "id" - ], - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "type": { - "$ref": "#/components/schemas/ProfileType" - }, - "user": { - "$ref": "#/components/schemas/User" - }, - "id": { - "type": "string" - } - } - }, - "Profile3": { - "required": [ - "name", - "type", - "user", - "id" - ], - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "type": { - "$ref": "#/components/schemas/ProfileType" - }, - "user": { }, - "id": { - "type": "string" - } - }, - "nullable": true - }, - "Profile4": { - "type": "object", - "anyOf": [ - { - "$ref": "#/components/schemas/ProfileNaturalPersonProfile" - }, - { - "$ref": "#/components/schemas/ProfileLegalEntityProfile" - }, - { - "$ref": "#/components/schemas/ProfileAdvisorProfile" - }, - { - "$ref": "#/components/schemas/ProfileInfluencerProfile" - }, - { - "$ref": "#/components/schemas/ProfileBase" - } - ] - }, - "ProfileAdvisorProfile": { - "required": [ - "type", - "distributor", - "isManager", - "id", - "createdAt", - "updatedAt", - "user", - "archivedAt", - "cooptation" - ], - "properties": { - "type": { - "enum": [ - "advisor" - ], - "type": "string" - }, - "distributor": { - "$ref": "#/components/schemas/Distributor" - }, - "isManager": { - "type": "boolean" - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/User" - }, - "archivedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "cooptation": { - "$ref": "#/components/schemas/CooptationInfo" - } - } - }, - "ProfileBase": { - "required": [ - "id", - "createdAt", - "updatedAt", - "user", - "archivedAt", - "cooptation" - ], - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/User" - }, - "archivedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "cooptation": { - "$ref": "#/components/schemas/CooptationInfo" - } - } - }, - "ProfileInfluencerProfile": { - "required": [ - "type", - "commissionRate", - "investorQuota", - "vatRate", - "legalEntity", - "id", - "createdAt", - "updatedAt", - "user", - "archivedAt", - "cooptation" - ], - "properties": { - "type": { - "enum": [ - "influencer" - ], - "type": "string" - }, - "commissionRate": { - "type": "number", - "format": "double", - "nullable": true - }, - "investorQuota": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "vatRate": { - "type": "number", - "format": "double", - "nullable": true - }, - "legalEntity": { - "$ref": "#/components/schemas/LegalEntity" - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/User" - }, - "archivedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "cooptation": { - "$ref": "#/components/schemas/CooptationInfo" - } - } - }, - "ProfileInfo": { - "required": [ - "id", - "type", - "onboardingProgress", - "suitability", - "kyc", - "investment", - "isOnLemonway" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "type": { - "type": "string" - }, - "onboardingProgress": { - "$ref": "#/components/schemas/OnboardingProgressInfo" - }, - "suitability": { - "$ref": "#/components/schemas/SuitabilityInfo" - }, - "kyc": { - "$ref": "#/components/schemas/KycInfo" - }, - "bankAccount": { - "$ref": "#/components/schemas/BankAccountInfo" - }, - "investment": { - "$ref": "#/components/schemas/InvestmentInfo" - }, - "isOnLemonway": { - "type": "boolean" - } - } - }, - "ProfileLegalEntityProfile": { - "required": [ - "type", - "legalEntity", - "kycValidatedAt", - "profileInformationCompleted", - "newsletter", - "status", - "exposure", - "lemonway", - "apScan", - "id", - "createdAt", - "updatedAt", - "user", - "archivedAt", - "cooptation" - ], - "properties": { - "type": { - "enum": [ - "legal_entity" - ], - "type": "string" - }, - "legalEntity": { - "$ref": "#/components/schemas/LegalEntity" - }, - "kycValidatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "profileInformationCompleted": { - "type": "boolean", - "nullable": true - }, - "newsletter": { - "type": "boolean" - }, - "status": { - "enum": [ - "missing_documents", - "rejected_documents", - "under_analysis", - "active", - "expired_documents", - "blocked", - "closed", - "under_review" - ] - }, - "exposure": { - "enum": [ - "pending", - "normal", - "enhanced_control", - "rejected" - ] - }, - "lemonway": { - "required": [ - "id", - "remoteStatus", - "virtualIban", - "virtualBic" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "remoteStatus": { - "type": "string", - "nullable": true - }, - "virtualIban": { - "type": "string", - "nullable": true - }, - "virtualBic": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "apScan": { - "required": [ - "status" - ], - "type": "object", - "properties": { - "status": { - "type": "string" - } - }, - "nullable": true - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/User" - }, - "archivedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "cooptation": { - "$ref": "#/components/schemas/CooptationInfo" - } - } - }, - "ProfileNaturalPersonProfile": { - "required": [ - "type", - "birth", - "nationality", - "tax", - "address", - "usPerson", - "countryAlert", - "kycValidatedAt", - "profileInformationCompleted", - "newsletter", - "status", - "exposure", - "lemonway", - "apScan", - "id", - "createdAt", - "updatedAt", - "user", - "archivedAt", - "cooptation" - ], - "properties": { - "type": { - "enum": [ - "natural_person" - ], - "type": "string" - }, - "birth": { - "required": [ - "date", - "country", - "city", - "zipCode" - ], - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date" - }, - "country": { - "type": "string" - }, - "city": { - "type": "string" - }, - "zipCode": { - "type": "string" - } - }, - "nullable": true - }, - "nationality": { - "type": "string", - "nullable": true - }, - "tax": { - "$ref": "#/components/schemas/TaxInfo" - }, - "address": { - "$ref": "#/components/schemas/AddressInfo" - }, - "usPerson": { - "type": "boolean" - }, - "countryAlert": { - "required": [ - "country", - "sendAt" - ], - "type": "object", - "properties": { - "country": { - "type": "string" - }, - "sendAt": { - "type": "string", - "format": "date-time" - } - }, - "nullable": true - }, - "kycValidatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "profileInformationCompleted": { - "type": "boolean", - "nullable": true - }, - "newsletter": { - "type": "boolean" - }, - "status": { - "enum": [ - "missing_documents", - "rejected_documents", - "under_analysis", - "active", - "expired_documents", - "blocked", - "closed", - "under_review" - ] - }, - "exposure": { - "enum": [ - "pending", - "normal", - "enhanced_control", - "rejected" - ] - }, - "lemonway": { - "required": [ - "id", - "remoteStatus", - "virtualIban", - "virtualBic" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "remoteStatus": { - "type": "string", - "nullable": true - }, - "virtualIban": { - "type": "string", - "nullable": true - }, - "virtualBic": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "apScan": { - "required": [ - "status" - ], - "type": "object", - "properties": { - "status": { - "type": "string" - } - }, - "nullable": true - }, - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/User" - }, - "archivedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "cooptation": { - "$ref": "#/components/schemas/CooptationInfo" - } - } - }, - "ProfileType": { - "enum": [ - "natural_person", - "legal_entity", - "intermediated", - "influencer", - "advisor" - ] - }, - "Project": { - "required": [ - "artwork", - "id" - ], - "type": "object", - "properties": { - "artwork": { - "$ref": "#/components/schemas/Artwork" - }, - "status": { - "$ref": "#/components/schemas/NullableOfProjectStatus" - }, - "id": { - "type": "string" - } - } - }, - "Project2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "projectOwner", - "artwork", - "status", - "coverPictureData", - "thumbnailPictureData", - "subscriptionFormSignCoordinates", - "subscriptionFormSignPageNumber", - "docliftSubscriptionFormTemplateId", - "docliftRefundCertificateInvestmentDurationManualInput", - "shortDescription", - "maximumTargetedAmount", - "collectStartsAt", - "minSubscriptionAmount", - "closingDate", - "minimumTargetedAmount", - "accountId", - "shareValue", - "returnedIncome", - "category", - "type", - "clubDeal", - "investmentDuration", - "issuanceDate", - "distributorsCommission", - "visible", - "imported", - "officialReportIssuanceDate", - "observationDate", - "maxSubscriptionAmount", - "preSales", - "keyInvestmentInformationSheet", - "dealSheet", - "subscriptionFormAppendices" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "projectOwner": { - "$ref": "#/components/schemas/ProjectOwner" - }, - "artwork": { - "$ref": "#/components/schemas/Artwork" - }, - "status": { - "$ref": "#/components/schemas/ProjectStatus" - }, - "coverPictureData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "thumbnailPictureData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "subscriptionFormSignCoordinates": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "subscriptionFormSignPageNumber": { - "$ref": "#/components/schemas/TranslationOfint" - }, - "docliftSubscriptionFormTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "docliftRefundCertificateInvestmentDurationManualInput": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "shortDescription": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "maximumTargetedAmount": { - "type": "integer", - "format": "int32" - }, - "collectStartsAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "minSubscriptionAmount": { - "type": "integer", - "format": "int32" - }, - "closingDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "minimumTargetedAmount": { - "type": "integer", - "format": "int32" - }, - "accountId": { - "type": "string", - "nullable": true - }, - "shareValue": { - "type": "integer", - "format": "int32" - }, - "returnedIncome": { - "type": "number", - "format": "double", - "nullable": true - }, - "category": { - "type": "string", - "nullable": true - }, - "type": { - "type": "string", - "nullable": true - }, - "clubDeal": { - "type": "boolean" - }, - "investmentDuration": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "issuanceDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "distributorsCommission": { - "type": "number", - "format": "double" - }, - "visible": { - "type": "boolean" - }, - "imported": { - "type": "boolean" - }, - "officialReportIssuanceDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "observationDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "maxSubscriptionAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "preSales": { - "type": "boolean", - "nullable": true - }, - "keyInvestmentInformationSheet": { - "$ref": "#/components/schemas/TranslationOfCloudStorageReference" - }, - "dealSheet": { - "$ref": "#/components/schemas/TranslationOfCloudStorageReference" - }, - "subscriptionFormAppendices": { - "$ref": "#/components/schemas/TranslationOfCloudStorageReference" - } - } - }, - "Project3": { - "required": [ - "projectOwner", - "artwork" - ], - "type": "object", - "properties": { - "projectOwner": { - "$ref": "#/components/schemas/ObjectIdOfProjectOwner" - }, - "artwork": { - "$ref": "#/components/schemas/ObjectIdOfArtwork" - }, - "maximumTargetedAmount": { - "type": "integer", - "format": "int32", - "nullable": true - } - } - }, - "Project4": { - "type": "object", - "properties": { - "projectOwner": { - "type": "string", - "nullable": true - }, - "artwork": { - "type": "string", - "nullable": true - }, - "maximumTargetedAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "subscriptionFormSignCoordinates": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "subscriptionFormSignPageNumber": { - "$ref": "#/components/schemas/TranslationOfint2" - }, - "docliftSubscriptionFormTemplateId": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "docliftRefundCertificateInvestmentDurationManualInput": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "shortDescription": { - "$ref": "#/components/schemas/TranslationOfstring2" - }, - "collectStartsAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "minSubscriptionAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "closingDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "minimumTargetedAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "targetedAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "accountId": { - "type": "string", - "nullable": true - }, - "shareValue": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "returnedIncome": { - "type": "number", - "format": "double", - "nullable": true - }, - "category": { - "type": "string", - "nullable": true - }, - "type": { - "type": "string", - "nullable": true - }, - "clubDeal": { - "type": "boolean", - "nullable": true - }, - "investmentDuration": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "issuanceDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "distributorsCommission": { - "type": "number", - "format": "double", - "nullable": true - }, - "visible": { - "type": "boolean", - "nullable": true - }, - "imported": { - "type": "boolean", - "nullable": true - }, - "officialReportIssuanceDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "observationDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "maxSubscriptionAmount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "preSales": { - "type": "boolean", - "nullable": true - } - } - }, - "ProjectDescriptionBlock": { - "required": [ - "id", - "createdAt", - "updatedAt", - "project", - "visible", - "title", - "content" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "visible": { - "type": "boolean", - "nullable": true - }, - "title": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "content": { - "$ref": "#/components/schemas/TranslationOfstring" - } - } - }, - "ProjectDocument": { - "required": [ - "id", - "createdAt", - "updatedAt", - "position", - "documentCategory", - "file", - "name" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "position": { - "type": "integer", - "format": "int32" - }, - "documentCategory": { - "$ref": "#/components/schemas/NullableOfDocumentCategory" - }, - "file": { - "$ref": "#/components/schemas/TranslationOfCloudStorageReference" - }, - "name": { - "$ref": "#/components/schemas/TranslationOfstring" - } - } - }, - "ProjectDocument2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "position", - "visible", - "project", - "documentCategory", - "file", - "name" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "position": { - "type": "integer", - "format": "int32" - }, - "visible": { - "type": "boolean", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "documentCategory": { - "type": "string", - "nullable": true - }, - "file": { - "$ref": "#/components/schemas/TranslationOfCloudStorageReference" - }, - "name": { - "$ref": "#/components/schemas/TranslationOfstring" - } - } - }, - "ProjectKpiResponse": { - "type": "object", - "properties": { - "remainingAmount": { - "type": "integer", - "format": "int32" - }, - "reservedAmount": { - "type": "integer", - "format": "int32" - }, - "reservedSubscriptions": { - "type": "integer", - "format": "int32" - }, - "securedAmount": { - "type": "integer", - "format": "int32" - }, - "securedSubscriptions": { - "type": "integer", - "format": "int32" - }, - "unsignedAmount": { - "type": "integer", - "format": "int32" - }, - "unsignedSubscriptions": { - "type": "integer", - "format": "int32" - }, - "paidAmount": { - "type": "integer", - "format": "int32" - }, - "paidSubscriptions": { - "type": "integer", - "format": "int32" - }, - "unpaidAmount": { - "type": "integer", - "format": "int32" - }, - "unpaidSubscriptions": { - "type": "integer", - "format": "int32" - }, - "overdueAmount": { - "type": "integer", - "format": "int32" - }, - "overdueSubscriptions": { - "type": "integer", - "format": "int32" - }, - "canceledAmount": { - "type": "integer", - "format": "int32" - }, - "canceledSubscriptions": { - "type": "integer", - "format": "int32" - }, - "toBeCanceledAmount": { - "type": "integer", - "format": "int32" - }, - "toBeCanceledSubscriptions": { - "type": "integer", - "format": "int32" - }, - "unknownAmount": { - "type": "integer", - "format": "int32" - }, - "unknownSubscriptions": { - "type": "integer", - "format": "int32" - } - } - }, - "ProjectOwner": { - "required": [ - "firstName", - "lastName", - "legalEntity", - "id" - ], - "type": "object", - "properties": { - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "legalEntity": { - "$ref": "#/components/schemas/LegalEntity2" - }, - "id": { - "type": "string" - } - } - }, - "ProjectOwner2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "email", - "civility", - "firstName", - "lastName", - "nationality", - "country", - "birthdate", - "validatedAt", - "icsNumber", - "legalEntity", - "lemonway", - "memoBank" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "email": { - "type": "string" - }, - "civility": { - "type": "string", - "nullable": true - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "nationality": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "birthdate": { - "type": "string", - "format": "date", - "nullable": true - }, - "validatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "icsNumber": { - "type": "string", - "nullable": true - }, - "legalEntity": { - "$ref": "#/components/schemas/LegalEntity" - }, - "lemonway": { - "$ref": "#/components/schemas/ProjectOwnerLemonwayInfo" - }, - "memoBank": { - "$ref": "#/components/schemas/ProjectOwnerMemoBankInfo" - } - } - }, - "ProjectOwner3": { - "required": [ - "email", - "firstName", - "lastName" - ], - "type": "object", - "properties": { - "email": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - } - } - }, - "ProjectOwner4": { - "type": "object", - "properties": { - "email": { - "type": "string", - "nullable": true - }, - "civility": { - "$ref": "#/components/schemas/NullableOfCivility" - }, - "firstName": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true - }, - "nationality": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "birthdate": { - "type": "string", - "format": "date", - "nullable": true - }, - "kycValidatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "remoteStatus": { - "type": "string", - "nullable": true - }, - "accountId": { - "type": "string", - "nullable": true - }, - "icsNumber": { - "type": "string", - "nullable": true - }, - "legalEntity": { - "$ref": "#/components/schemas/LegalEntity3" - } - } - }, - "ProjectOwnerLemonwayInfo": { - "required": [ - "iban", - "bic", - "remoteStatus", - "accountId" - ], - "type": "object", - "properties": { - "iban": { - "type": "string", - "nullable": true - }, - "bic": { - "type": "string", - "nullable": true - }, - "remoteStatus": { - "type": "string", - "nullable": true - }, - "accountId": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "ProjectOwnerMemoBankInfo": { - "required": [ - "accountId", - "iban" - ], - "type": "object", - "properties": { - "accountId": { - "type": "string" - }, - "iban": { - "type": "string" - } - }, - "nullable": true - }, - "ProjectPost": { - "required": [ - "id", - "createdAt", - "updatedAt", - "imageData", - "referenceDate", - "title", - "content" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "imageData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "referenceDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "title": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "content": { - "$ref": "#/components/schemas/TranslationOfstring" - } - } - }, - "ProjectPost2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "project", - "imageData", - "referenceDate", - "title", - "content" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "imageData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "referenceDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "title": { - "$ref": "#/components/schemas/TranslationOfstring" - }, - "content": { - "$ref": "#/components/schemas/TranslationOfstring" - } - } - }, - "ProjectSearchResult": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "maxSubscriptionAmount": { - "type": "integer", - "format": "int32" - }, - "maximumTargetedAmount": { - "type": "integer", - "format": "int32" - }, - "minSubscriptionAmount": { - "type": "integer", - "format": "int32" - } - } - }, - "ProjectsOwnerTemplates": { - "required": [ - "accountCredited" - ], - "type": "object", - "properties": { - "accountCredited": { - "type": "string", - "nullable": true - } - } - }, - "ProjectsOwnerTemplates2": { - "required": [ - "accountCredited" - ], - "type": "object", - "properties": { - "accountCredited": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "ProjectStatus": { - "enum": [ - "draft", - "canceled", - "published", - "being_reimbursed", - "failed", - "succeeded", - "reimbursed", - "closed" - ] - }, - "ProjectsWaitingListMemberTemplates": { - "required": [ - "confirmation" - ], - "type": "object", - "properties": { - "confirmation": { - "type": "string", - "nullable": true - } - } - }, - "ProjectsWaitingListMemberTemplates2": { - "required": [ - "confirmation" - ], - "type": "object", - "properties": { - "confirmation": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "ProjectTemplates": { - "required": [ - "succeeded", - "failed", - "failedForInvestors" - ], - "type": "object", - "properties": { - "succeeded": { - "type": "string", - "nullable": true - }, - "failed": { - "type": "string", - "nullable": true - }, - "failedForInvestors": { - "type": "string", - "nullable": true - } - } - }, - "ProjectTemplates2": { - "required": [ - "succeeded", - "failed", - "failedForInvestors" - ], - "type": "object", - "properties": { - "succeeded": { - "type": "string", - "nullable": true - }, - "failed": { - "type": "string", - "nullable": true - }, - "failedForInvestors": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "ProvisionalSubscription": { - "required": [ - "id", - "createdAt", - "updatedAt", - "profile", - "project", - "amount", - "hubspotId", - "lastHubspotSynchronisationAt" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "amount": { - "type": "integer", - "format": "int32" - }, - "hubspotId": { - "type": "string", - "nullable": true - }, - "lastHubspotSynchronisationAt": { - "type": "string", - "format": "date-time", - "nullable": true - } - } - }, - "ProvisionalSubscription2": { - "required": [ - "profile", - "project", - "amount" - ], - "type": "object", - "properties": { - "profile": { - "type": "string" - }, - "project": { - "type": "string" - }, - "amount": { - "type": "integer", - "format": "int32" - } - } - }, - "Questionnaire": { - "required": [ - "id", - "createdAt", - "updatedAt", - "profile", - "suitability", - "profileType", - "isActive", - "isComplete", - "completedAt", - "hasCrowdfundingSkills", - "sourceOfFunds", - "hasSavedIncome", - "liquidAssets", - "netAnnualIncome", - "amountOfPersonalAssets", - "amountOfDebt", - "certifiedThatSimulationIsCorrect", - "investmentCapacity", - "hasInvestmentDurabilityExpectations", - "investmentDurabilityExpectations", - "investmentServicesTypesKnowledge", - "volumeOfInvestments", - "frequencyOfInvestments", - "periodOfInvestments", - "practicedFinancialProfessions", - "confirmedQualificationInfoCorrectness", - "investmentReason", - "typesOfFinancialInstrumentsKnown", - "levelOfFinancialEducation", - "naturalQualifications", - "legalQualifications", - "risksAccepted", - "horizons", - "investedProductUndergoLoss", - "acceptedRiskScenarios", - "steadyNetAnnualIncome", - "hasInvestedInShares", - "hasInvestedInBonds", - "hasInvestedInFunds", - "hasInvestedInNonSidedInstrument", - "hasExtensiveKnowledgeAboutRisks", - "investmentAlwaysLeadToCapitalGain", - "shareOrBondEasilySold", - "investedCapitalLoss", - "anyLiquidityRisk", - "canFaceTotalLoss", - "waitYearsAfterTotalLoss", - "reliableInformations", - "isInformedInvestor", - "risky", - "acknowledgeWarning", - "benefitServices" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "suitability": { - "$ref": "#/components/schemas/QuestionnaireSuitability" - }, - "profileType": { - "$ref": "#/components/schemas/QuestionnaireProfile" - }, - "isActive": { - "type": "boolean" - }, - "isComplete": { - "type": "boolean" - }, - "completedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "hasCrowdfundingSkills": { - "type": "boolean", - "nullable": true - }, - "sourceOfFunds": { - "type": "string", - "nullable": true - }, - "hasSavedIncome": { - "type": "boolean", - "nullable": true - }, - "liquidAssets": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "netAnnualIncome": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "amountOfPersonalAssets": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "amountOfDebt": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "certifiedThatSimulationIsCorrect": { - "type": "boolean", - "nullable": true - }, - "investmentCapacity": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "hasInvestmentDurabilityExpectations": { - "type": "boolean", - "nullable": true - }, - "investmentDurabilityExpectations": { - "type": "string", - "nullable": true - }, - "investmentServicesTypesKnowledge": { - "type": "string", - "nullable": true - }, - "volumeOfInvestments": { - "type": "string", - "nullable": true - }, - "frequencyOfInvestments": { - "type": "string", - "nullable": true - }, - "periodOfInvestments": { - "type": "string", - "nullable": true - }, - "practicedFinancialProfessions": { - "type": "boolean", - "nullable": true - }, - "confirmedQualificationInfoCorrectness": { - "type": "boolean", - "nullable": true - }, - "investmentReason": { - "type": "string", - "nullable": true - }, - "typesOfFinancialInstrumentsKnown": { - "type": "string", - "nullable": true - }, - "levelOfFinancialEducation": { - "type": "string", - "nullable": true - }, - "naturalQualifications": { - "type": "string", - "nullable": true - }, - "legalQualifications": { - "type": "string", - "nullable": true - }, - "risksAccepted": { - "type": "boolean", - "nullable": true - }, - "horizons": { - "type": "string", - "nullable": true - }, - "investedProductUndergoLoss": { - "type": "string", - "nullable": true - }, - "acceptedRiskScenarios": { - "type": "string", - "nullable": true - }, - "steadyNetAnnualIncome": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "hasInvestedInShares": { - "type": "boolean", - "nullable": true - }, - "hasInvestedInBonds": { - "type": "boolean", - "nullable": true - }, - "hasInvestedInFunds": { - "type": "boolean", - "nullable": true - }, - "hasInvestedInNonSidedInstrument": { - "type": "boolean", - "nullable": true - }, - "hasExtensiveKnowledgeAboutRisks": { - "type": "boolean", - "nullable": true - }, - "investmentAlwaysLeadToCapitalGain": { - "type": "boolean", - "nullable": true - }, - "shareOrBondEasilySold": { - "type": "boolean", - "nullable": true - }, - "investedCapitalLoss": { - "type": "boolean", - "nullable": true - }, - "anyLiquidityRisk": { - "type": "boolean", - "nullable": true - }, - "canFaceTotalLoss": { - "type": "boolean", - "nullable": true - }, - "waitYearsAfterTotalLoss": { - "type": "boolean", - "nullable": true - }, - "reliableInformations": { - "type": "boolean", - "nullable": true - }, - "isInformedInvestor": { - "type": "boolean", - "nullable": true - }, - "risky": { - "type": "boolean", - "nullable": true - }, - "acknowledgeWarning": { - "type": "boolean", - "nullable": true - }, - "benefitServices": { - "type": "boolean", - "nullable": true - } - } - }, - "Questionnaire2": { - "required": [ - "suitability", - "risky", - "id" - ], - "type": "object", - "properties": { - "suitability": { - "$ref": "#/components/schemas/NullableOfQuestionnaireSuitability" - }, - "risky": { - "type": "boolean", - "nullable": true - }, - "id": { - "type": "string" - } - }, - "nullable": true - }, - "QuestionnairePatch": { - "type": "object", - "properties": { - "suitability": { - "$ref": "#/components/schemas/NullableOfQuestionnaireSuitability" - }, - "hasCrowdfundingSkills": { - "type": "boolean", - "nullable": true - }, - "sourceOfFunds": { - "type": "string", - "nullable": true - }, - "hasSavedIncome": { - "type": "boolean", - "nullable": true - }, - "liquidAssets": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "netAnnualIncome": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "amountOfPersonalAssets": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "amountOfDebt": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "certifiedThatSimulationIsCorrect": { - "type": "boolean", - "nullable": true - }, - "hasInvestmentDurabilityExpectations": { - "type": "boolean", - "nullable": true - }, - "investmentDurabilityExpectations": { - "type": "string", - "nullable": true - }, - "investmentServicesTypesKnowledge": { - "type": "string", - "nullable": true - }, - "volumeOfInvestments": { - "type": "string", - "nullable": true - }, - "frequencyOfInvestments": { - "type": "string", - "nullable": true - }, - "periodOfInvestments": { - "type": "string", - "nullable": true - }, - "practicedFinancialProfessions": { - "type": "boolean", - "nullable": true - }, - "confirmedQualificationInfoCorrectness": { - "type": "boolean", - "nullable": true - }, - "investmentReason": { - "type": "string", - "nullable": true - }, - "typesOfFinancialInstrumentsKnown": { - "type": "string", - "nullable": true - }, - "levelOfFinancialEducation": { - "type": "string", - "nullable": true - }, - "naturalQualifications": { - "type": "string", - "nullable": true - }, - "legalQualifications": { - "type": "string", - "nullable": true - }, - "risksAccepted": { - "type": "boolean", - "nullable": true - }, - "horizons": { - "type": "string", - "nullable": true - }, - "investedProductUndergoLoss": { - "type": "string", - "nullable": true - }, - "acceptedRiskScenarios": { - "type": "string", - "nullable": true - }, - "steadyNetAnnualIncome": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "hasInvestedInShares": { - "type": "boolean", - "nullable": true - }, - "hasInvestedInBonds": { - "type": "boolean", - "nullable": true - }, - "hasInvestedInFunds": { - "type": "boolean", - "nullable": true - }, - "hasInvestedInNonSidedInstrument": { - "type": "boolean", - "nullable": true - }, - "hasExtensiveKnowledgeAboutRisks": { - "type": "boolean", - "nullable": true - }, - "investmentAlwaysLeadToCapitalGain": { - "type": "boolean", - "nullable": true - }, - "shareOrBondEasilySold": { - "type": "boolean", - "nullable": true - }, - "investedCapitalLoss": { - "type": "boolean", - "nullable": true - }, - "anyLiquidityRisk": { - "type": "boolean", - "nullable": true - }, - "canFaceTotalLoss": { - "type": "boolean", - "nullable": true - }, - "waitYearsAfterTotalLoss": { - "type": "boolean", - "nullable": true - }, - "reliableInformations": { - "type": "boolean", - "nullable": true - }, - "isInformedInvestor": { - "type": "boolean", - "nullable": true - }, - "acknowledgeWarning": { - "type": "boolean", - "nullable": true - }, - "benefitServices": { - "type": "boolean", - "nullable": true - }, - "isComplete": { - "type": "boolean", - "nullable": true - } - } - }, - "QuestionnaireProfile": { - "enum": [ - "natural_person", - "legal_entity" - ] - }, - "QuestionnaireSuitability": { - "enum": [ - "non_informed", - "informed", - "to_be_determined" - ] - }, - "ResendCodeResponse": { - "required": [ - "recipient", - "sentAt", - "expiresAt" - ], - "type": "object", - "properties": { - "recipient": { - "type": "string" - }, - "sentAt": { - "type": "string", - "format": "date-time" - }, - "expiresAt": { - "type": "string", - "format": "date-time" - } - } - }, - "ResendPhoneRequest": { - "type": "object", - "properties": { - "template": { - "type": "string", - "nullable": true - } - }, - "default": null, - "nullable": true - }, - "ResourceType": { - "enum": [ - "account", - "attachment", - "collection", - "iban", - "transaction", - "transfer", - "wire_transfer", - "bulk_transfers", - "bulk_collections", - "mandate_signature_request" - ] - }, - "SecurityInfo": { - "required": [ - "signInCount", - "currentSignInAt", - "lastSignInAt", - "currentSignInIp", - "lastSignInIp" - ], - "type": "object", - "properties": { - "signInCount": { - "type": "integer", - "format": "int32" - }, - "currentSignInAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "lastSignInAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "currentSignInIp": { - "type": "string", - "nullable": true - }, - "lastSignInIp": { - "type": "string", - "nullable": true - } - } - }, - "SliceOfAdvisorProfileOverview": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AdvisorProfileOverview" - } - } - } - }, - "SliceOfArtwork": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Artwork2" - } - } - } - }, - "SliceOfBudget": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Budget2" - } - } - } - }, - "SliceOfCmsPage": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CmsPage" - } - } - } - }, - "SliceOfCmsPlatformSubsidiary": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CmsPlatformSubsidiary2" - } - } - } - }, - "SliceOfCommission": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Commission2" - } - } - } - }, - "SliceOfCooptation": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Cooptation" - } - } - } - }, - "SliceOfDistributorAdvisorsItem": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DistributorAdvisorsItem" - } - } - } - }, - "SliceOfDistributorCommission": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DistributorCommission" - } - } - } - }, - "SliceOfDistributorInvestorsItem": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DistributorInvestorsItem" - } - } - } - }, - "SliceOfDistributorItem": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DistributorItem" - } - } - } - }, - "SliceOfEnrichedBankAccountOverview": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EnrichedBankAccountOverview" - } - } - } - }, - "SliceOfFiscality": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Fiscality" - } - } - } - }, - "SliceOfIfu": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Ifu" - } - } - } - }, - "SliceOfInfluencerCommission": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InfluencerCommission" - } - } - } - }, - "SliceOfInfluencerInvestors": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InfluencerInvestors" - } - } - } - }, - "SliceOfInfluencerProfile": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InfluencerProfile" - } - } - } - }, - "SliceOfInvestorProfile": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InvestorProfile" - } - } - } - }, - "SliceOfInvestorProfileOverview": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InvestorProfileOverview" - } - } - } - }, - "SliceOfKycDocument": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/KycDocument" - } - } - } - }, - "SliceOfLendingInvestorTerm": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LendingInvestorTerm" - } - } - } - }, - "SliceOfLendingInvestorTermOverview": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LendingInvestorTermOverview" - } - } - } - }, - "SliceOfLendingTerm": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LendingTerm2" - } - } - } - }, - "SliceOfOpportunity": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Opportunity" - } - } - } - }, - "SliceOfOpportunityDocument": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/OpportunityDocument" - } - } - } - }, - "SliceOfPaymentOperation": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PaymentOperation" - } - } - } - }, - "SliceOfProfile": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Profile4" - } - } - } - }, - "SliceOfProject": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Project2" - } - } - } - }, - "SliceOfProjectDescriptionBlock": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProjectDescriptionBlock" - } - } - } - }, - "SliceOfProjectDocument": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProjectDocument2" - } - } - } - }, - "SliceOfProjectOwner": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProjectOwner2" - } - } - } - }, - "SliceOfProjectPost": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProjectPost" - } - } - } - }, - "SliceOfProjectPost2": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProjectPost2" - } - } - } - }, - "SliceOfProjectSearchResult": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProjectSearchResult" - } - } - } - }, - "SliceOfProvisionalSubscription": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProvisionalSubscription" - } - } - } - }, - "SliceOfQuestionnaire": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Questionnaire" - } - } - } - }, - "SliceOfSubscription": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Subscription" - } - } - } - }, - "SliceOfSubscription2": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Subscription2" - } - } - } - }, - "SliceOfSubscriptionIntentionOverview": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SubscriptionIntentionOverview" - } - } - } - }, - "SliceOfUser": { - "required": [ - "skip", - "limit", - "count", - "items" - ], - "type": "object", - "properties": { - "skip": { - "type": "integer", - "format": "int64" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/User3" - } - } - } - }, - "StartSubscriptionResponse": { - "required": [ - "subscriptionId", - "hubUrl" - ], - "type": "object", - "properties": { - "subscriptionId": { - "type": "string" - }, - "hubUrl": { - "type": "string" - } - } - }, - "Subscription": { - "required": [ - "id", - "createdAt", - "updatedAt", - "project", - "amount", - "numberOfShares", - "status", - "type", - "reservation", - "meanOfPayment", - "signedAt", - "paidAt", - "canceledAt", - "refundCertificateSentAt", - "withdrawableUntil" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "project": { - "$ref": "#/components/schemas/Opportunity" - }, - "amount": { - "type": "integer", - "format": "int32" - }, - "numberOfShares": { - "type": "integer", - "format": "int32" - }, - "status": { - "$ref": "#/components/schemas/SubscriptionStatus" - }, - "type": { - "$ref": "#/components/schemas/NullableOfSubscriptionType" - }, - "reservation": { - "type": "boolean" - }, - "meanOfPayment": { - "$ref": "#/components/schemas/NullableOfMeanOfPayment" - }, - "signedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "paidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "canceledAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "refundCertificateSentAt": { - "type": "string", - "format": "date", - "nullable": true - }, - "withdrawableUntil": { - "type": "string", - "format": "date", - "nullable": true - }, - "signedContract": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "signedSepaMandateForm": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "nonConversionBonus": { - "type": "number", - "format": "double", - "nullable": true - } - } - }, - "Subscription2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "project", - "amount", - "paidAt", - "signedAt", - "withdrawableUntil", - "profile", - "questionnaire", - "remoteStatus", - "reservation", - "reservationEmailSentAt", - "docliftContractId", - "docliftContractData", - "canceledAt", - "signedContractData", - "numberOfShares", - "paymentFailedAt", - "subscriptionIntention", - "type", - "eSignId", - "signatureToken", - "budget", - "commissionRate", - "lastHubspotSynchronisationAt", - "hubspotId", - "docliftBankTransferFormId", - "docliftBankTransferFormData", - "signedBankTransferFormData", - "signatureFailedAt", - "docliftContractLanguage", - "docliftRefundCertificatesBatchId", - "docliftRegisterCertificatesBatchId", - "advisor", - "refundCertificateSentAt", - "influencer", - "commission", - "rumNumber", - "docliftSepaMandateFormData", - "docliftSepaMandateFormId", - "bankAccount", - "nextDebitDate", - "retryDebitDate", - "meanOfPayment", - "cancelRequestedAt", - "signedSepaMandateFormData", - "paymentError" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "status": { - "type": "string" - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "amount": { - "type": "integer", - "format": "int32" - }, - "paidAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "signedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "withdrawableUntil": { - "type": "string", - "format": "date", - "nullable": true - }, - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "questionnaire": { - "$ref": "#/components/schemas/Questionnaire2" - }, - "remoteStatus": { - "type": "string", - "nullable": true - }, - "reservation": { - "type": "boolean" - }, - "reservationEmailSentAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "docliftContractId": { - "type": "string", - "nullable": true - }, - "docliftContractData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "canceledAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "signedContractData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "numberOfShares": { - "type": "integer", - "format": "int32" - }, - "paymentFailedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "subscriptionIntention": { - "$ref": "#/components/schemas/SubscriptionIntention" - }, - "type": { - "type": "string", - "nullable": true - }, - "eSignId": { - "type": "string", - "nullable": true - }, - "signatureToken": { - "type": "string", - "nullable": true - }, - "budget": { - "$ref": "#/components/schemas/Budget" - }, - "commissionRate": { - "type": "number", - "format": "double", - "nullable": true - }, - "lastHubspotSynchronisationAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "hubspotId": { - "type": "string", - "nullable": true - }, - "docliftBankTransferFormId": { - "type": "string", - "nullable": true - }, - "docliftBankTransferFormData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "signedBankTransferFormData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "signatureFailedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "docliftContractLanguage": { - "type": "string", - "nullable": true - }, - "docliftRefundCertificatesBatchId": { - "type": "string", - "nullable": true - }, - "docliftRegisterCertificatesBatchId": { - "type": "string", - "nullable": true - }, - "advisor": { - "$ref": "#/components/schemas/Profile3" - }, - "refundCertificateSentAt": { - "type": "string", - "format": "date", - "nullable": true - }, - "influencer": { - "$ref": "#/components/schemas/Profile3" - }, - "commission": { - "$ref": "#/components/schemas/Commission" - }, - "rumNumber": { - "type": "string", - "nullable": true - }, - "docliftSepaMandateFormData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "docliftSepaMandateFormId": { - "type": "string", - "nullable": true - }, - "bankAccount": { - "$ref": "#/components/schemas/BankAccount2" - }, - "nextDebitDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "retryDebitDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "meanOfPayment": { - "$ref": "#/components/schemas/NullableOfSubscriptionMeanOfPayment" - }, - "cancelRequestedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "signedSepaMandateFormData": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "paymentError": { - "type": "string", - "nullable": true - } - } - }, - "Subscription3": { - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "Subscription4": { - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "nullable": true - }, - "SubscriptionErrors": { - "enum": [ - "invalid_project", - "invalid_range_amount", - "max_collection_reached", - "kyc_not_validated", - "questionnaire_not_completed", - "max_investment_capacity", - "refuse_benefit_services", - "not_informed" - ] - }, - "SubscriptionIntention": { - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "nullable": true - }, - "SubscriptionIntention2": { - "required": [ - "id", - "createdAt", - "updatedAt", - "project", - "profile", - "amount", - "completedAt", - "refusedAt" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/Project" - }, - "profile": { - "$ref": "#/components/schemas/Profile2" - }, - "amount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "completedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "refusedAt": { - "type": "string", - "format": "date-time", - "nullable": true - } - } - }, - "SubscriptionIntentionOverview": { - "required": [ - "subscriptionIntention", - "subscription" - ], - "type": "object", - "properties": { - "subscriptionIntention": { - "$ref": "#/components/schemas/SubscriptionIntention2" - }, - "subscription": { - "$ref": "#/components/schemas/Subscription4" - } - } - }, - "SubscriptionKPIResponse": { - "required": [ - "totalOngoingInvestments", - "realizedCapitalGain", - "pendingShares", - "isOnLemonway" - ], - "type": "object", - "properties": { - "totalOngoingInvestments": { - "type": "number", - "format": "double" - }, - "accountBalance": { - "type": "number", - "format": "double", - "nullable": true - }, - "realizedCapitalGain": { - "type": "number", - "format": "double" - }, - "pendingShares": { - "type": "integer", - "format": "int32" - }, - "isOnLemonway": { - "type": "boolean" - } - } - }, - "SubscriptionStatus": { - "enum": [ - "created", - "signed", - "complete", - "canceled", - "reimbursed", - "payment_failed", - "signature_failed" - ] - }, - "SubscriptionTemplates": { - "required": [ - "notifyReservation", - "manuallyCancelled", - "paid", - "signatureReady", - "paymentFailure", - "newDocumentAvailable", - "canceled", - "debitSuccess", - "debitFailure", - "transactionAuthorized" - ], - "type": "object", - "properties": { - "notifyReservation": { - "type": "string", - "nullable": true - }, - "manuallyCancelled": { - "type": "string", - "nullable": true - }, - "paid": { - "type": "string", - "nullable": true - }, - "signatureReady": { - "type": "string", - "nullable": true - }, - "paymentFailure": { - "type": "string", - "nullable": true - }, - "newDocumentAvailable": { - "type": "string", - "nullable": true - }, - "canceled": { - "type": "string", - "nullable": true - }, - "debitSuccess": { - "type": "string", - "nullable": true - }, - "debitFailure": { - "type": "string", - "nullable": true - }, - "transactionAuthorized": { - "type": "string", - "nullable": true - } - } - }, - "SubscriptionTemplates2": { - "required": [ - "notifyReservation", - "manuallyCancelled", - "paid", - "signatureReady", - "paymentFailure", - "newDocumentAvailable", - "canceled", - "debitSuccess", - "debitFailure", - "transactionAuthorized" - ], - "type": "object", - "properties": { - "notifyReservation": { - "type": "string", - "nullable": true - }, - "manuallyCancelled": { - "type": "string", - "nullable": true - }, - "paid": { - "type": "string", - "nullable": true - }, - "signatureReady": { - "type": "string", - "nullable": true - }, - "paymentFailure": { - "type": "string", - "nullable": true - }, - "newDocumentAvailable": { - "type": "string", - "nullable": true - }, - "canceled": { - "type": "string", - "nullable": true - }, - "debitSuccess": { - "type": "string", - "nullable": true - }, - "debitFailure": { - "type": "string", - "nullable": true - }, - "transactionAuthorized": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "SuitabilityInfo": { - "type": "object", - "properties": { - "isComplete": { - "type": "boolean" - }, - "status": { - "$ref": "#/components/schemas/QuestionnaireSuitability" - }, - "atRisk": { - "type": "boolean" - }, - "completedSteps": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "nextStep": { - "type": "string", - "nullable": true - }, - "currentScreen": { - "type": "string", - "nullable": true - }, - "investmentCapacity": { - "type": "string", - "nullable": true - }, - "benefitServices": { - "type": "boolean" - }, - "atRiskQuestions": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "TaxInfo": { - "required": [ - "residencyCountry" - ], - "type": "object", - "properties": { - "residencyCountry": { - "type": "string" - } - }, - "nullable": true - }, - "TaxInfoRequest": { - "type": "object", - "properties": { - "residencyCountry": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "Transaction": { - "required": [ - "id", - "state", - "stalled", - "actions", - "documents" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "nullable": true - }, - "state": { - "$ref": "#/components/schemas/TransactionState" - }, - "stalled": { - "type": "boolean" - }, - "actions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Action" - } - }, - "documents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TransactionDocument" - } - } - } - }, - "TransactionDocument": { - "required": [ - "id", - "name" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - } - }, - "TransactionState": { - "enum": [ - "started", - "completed" - ] - }, - "TranslationOfCloudStorageReference": { - "required": [ - "fr" - ], - "type": "object", - "properties": { - "fr": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "en": { - "$ref": "#/components/schemas/CloudStorageReference" - }, - "it": { - "$ref": "#/components/schemas/CloudStorageReference" - } - } - }, - "TranslationOfint": { - "required": [ - "fr" - ], - "type": "object", - "properties": { - "fr": { - "type": "integer", - "format": "int32" - }, - "en": { - "type": "integer", - "format": "int32" - }, - "it": { - "type": "integer", - "format": "int32" - } - } - }, - "TranslationOfint2": { - "required": [ - "fr" - ], - "type": "object", - "properties": { - "fr": { - "type": "integer", - "format": "int32" - }, - "en": { - "type": "integer", - "format": "int32" - }, - "it": { - "type": "integer", - "format": "int32" - } - }, - "nullable": true - }, - "TranslationOfstring": { - "required": [ - "fr" - ], - "type": "object", - "properties": { - "fr": { - "type": "string", - "nullable": true - }, - "en": { - "type": "string", - "nullable": true - }, - "it": { - "type": "string", - "nullable": true - } - } - }, - "TranslationOfstring2": { - "required": [ - "fr" - ], - "type": "object", - "properties": { - "fr": { - "type": "string", - "nullable": true - }, - "en": { - "type": "string", - "nullable": true - }, - "it": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "UpdateMeRequest": { - "type": "object", - "properties": { - "civility": { - "$ref": "#/components/schemas/NullableOfCivility" - }, - "firstname": { - "type": "string", - "nullable": true - }, - "lastname": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "defaultLanguage": { - "type": "string", - "nullable": true - } - } - }, - "UpdateProfileRequest": { - "type": "object", - "properties": { - "birth": { - "$ref": "#/components/schemas/BirthInfoRequest" - }, - "nationality": { - "type": "string", - "nullable": true - }, - "tax": { - "$ref": "#/components/schemas/TaxInfoRequest" - }, - "address": { - "$ref": "#/components/schemas/AddressInfoRequest" - }, - "usPerson": { - "type": "boolean", - "nullable": true - }, - "legalEntity": { - "$ref": "#/components/schemas/LegalEntityRequest" - }, - "newsletter": { - "type": "boolean", - "nullable": true - }, - "profileInformationCompleted": { - "type": "boolean", - "nullable": true - } - } - }, - "User": { - "required": [ - "firstName", - "lastName", - "email", - "hubspot", - "id" - ], - "type": "object", - "properties": { - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "$ref": "#/components/schemas/Email" - }, - "hubspot": { - "$ref": "#/components/schemas/Hubspot" - }, - "id": { - "type": "string" - } - } - }, - "User2": { - "required": [ - "firstName", - "lastName", - "email", - "hubspot", - "id" - ], - "type": "object", - "properties": { - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { }, - "hubspot": { }, - "id": { - "type": "string" - } - }, - "nullable": true - }, - "User3": { - "required": [ - "id", - "createdAt", - "updatedAt", - "validatedAt", - "invalidatedAt", - "civility", - "firstName", - "lastName", - "email", - "phone", - "invitation", - "security", - "hubspot", - "meeting", - "advisor", - "termsAccepted" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "legacyId": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "validatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "invalidatedAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "civility": { - "$ref": "#/components/schemas/Civility" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "$ref": "#/components/schemas/EmailInfo" - }, - "phone": { - "$ref": "#/components/schemas/PhoneInfo" - }, - "invitation": { - "$ref": "#/components/schemas/InvitationInfo" - }, - "security": { - "$ref": "#/components/schemas/SecurityInfo" - }, - "hubspot": { - "$ref": "#/components/schemas/HubspotInfo" - }, - "meeting": { - "$ref": "#/components/schemas/MeetingInfo" - }, - "advisor": { - "$ref": "#/components/schemas/Profile3" - }, - "termsAccepted": { - "type": "boolean" - } - } - }, - "UserLoginRequest": { - "required": [ - "login", - "password" - ], - "type": "object", - "properties": { - "login": { - "type": "string" - }, - "password": { - "type": "string" - } - } - }, - "UserLoginResponse": { - "required": [ - "userId", - "accessToken", - "authLevel" - ], - "type": "object", - "properties": { - "userId": { - "type": "string" - }, - "accessToken": { - "type": "string" - }, - "authLevel": { - "type": "string" - }, - "requiredValidation": { - "type": "string", - "nullable": true - } - } - }, - "UserTemplates": { - "required": [ - "payoutConfirmed", - "emailConfirmation", - "distributorInvitation", - "bankAccountRejected", - "bankAccountAccepted", - "accountCredited" - ], - "type": "object", - "properties": { - "payoutConfirmed": { - "type": "string", - "nullable": true - }, - "emailConfirmation": { - "type": "string", - "nullable": true - }, - "distributorInvitation": { - "type": "string", - "nullable": true - }, - "bankAccountRejected": { - "type": "string", - "nullable": true - }, - "bankAccountAccepted": { - "type": "string", - "nullable": true - }, - "accountCredited": { - "type": "string", - "nullable": true - } - } - }, - "UserTemplates2": { - "required": [ - "payoutConfirmed", - "emailConfirmation", - "distributorInvitation", - "bankAccountRejected", - "bankAccountAccepted", - "accountCredited" - ], - "type": "object", - "properties": { - "payoutConfirmed": { - "type": "string", - "nullable": true - }, - "emailConfirmation": { - "type": "string", - "nullable": true - }, - "distributorInvitation": { - "type": "string", - "nullable": true - }, - "bankAccountRejected": { - "type": "string", - "nullable": true - }, - "bankAccountAccepted": { - "type": "string", - "nullable": true - }, - "accountCredited": { - "type": "string", - "nullable": true - } - }, - "nullable": true - }, - "ValidateEmailRequest": { - "required": [ - "code" - ], - "type": "object", - "properties": { - "code": { - "type": "string" - } - } - }, - "ValidatePhoneRequest": { - "required": [ - "code" - ], - "type": "object", - "properties": { - "code": { - "type": "string" - } - } - }, - "ValidationResponse": { - "required": [ - "accessToken" - ], - "type": "object", - "properties": { - "accessToken": { - "type": "string" - }, - "nextStep": { - "type": "string", - "nullable": true - }, - "recipient": { - "type": "string", - "nullable": true - }, - "sentAt": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "expiresAt": { - "type": "string", - "format": "date-time", - "nullable": true - } - } - }, - "WalletStatusChanged": { - "required": [ - "NotifCategory", - "NotifDate", - "IntId", - "ExtId", - "Status", - "Blocked" - ], - "type": "object", - "properties": { - "NotifCategory": { - "type": "string" - }, - "NotifDate": { - "type": "string" - }, - "IntId": { - "type": "string" - }, - "ExtId": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "Blocked": { - "type": "string" - } - } - }, - "WebHookEvent": { - "required": [ - "id", - "date", - "event_type", - "resource_type", - "resource_id" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "date": { - "type": "string", - "format": "date-time" - }, - "event_type": { - "$ref": "#/components/schemas/EventType" - }, - "resource_type": { - "$ref": "#/components/schemas/ResourceType" - }, - "resource_id": { - "type": "string" - } - } - }, - "WebHookEvent2": { - "required": [ - "id", - "created_at", - "type", - "payload" - ], - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "type": { - "$ref": "#/components/schemas/WebHookType" - }, - "payload": { - "$ref": "#/components/schemas/Payload" - } - } - }, - "WebHookType": { - "enum": [ - "transaction.lifecycle.completed" - ] - } - } - }, - "tags": [ - { - "name": "User" - }, - { - "name": "Auth" - }, - { - "name": "DocLift" - }, - { - "name": "Lemonway" - }, - { - "name": "MemoBank" - }, - { - "name": "Universign" - }, - { - "name": "AdvisorProfiles" - }, - { - "name": "Artworks" - }, - { - "name": "BankAccounts" - }, - { - "name": "Budgets" - }, - { - "name": "Commissions" - }, - { - "name": "Cooptations" - }, - { - "name": "Distributors" - }, - { - "name": "Ifus" - }, - { - "name": "InfluencerProfiles" - }, - { - "name": "InvestorProfiles" - }, - { - "name": "KycDocuments" - }, - { - "name": "LendingInvestorTerms" - }, - { - "name": "LendingTerms" - }, - { - "name": "Me" - }, - { - "name": "PaymentOperations" - }, - { - "name": "Platform" - }, - { - "name": "Projects" - }, - { - "name": "ProjectOwners" - }, - { - "name": "ProjectsPosts" - }, - { - "name": "ProvisionalSubscriptions" - }, - { - "name": "Questionnaires" - }, - { - "name": "Subscriptions" - }, - { - "name": "SubscriptionIntentions" - }, - { - "name": "Users" - }, - { - "name": "Liveness" - }, - { - "name": "Ping" - } - ] -} \ No newline at end of file