From f1ad67fd969eadf0cc201864a4090e79bf31eeb4 Mon Sep 17 00:00:00 2001 From: nael Date: Sun, 17 Dec 2023 21:36:01 +0100 Subject: [PATCH] :alembic: Test sdk ci --- .../{liblab-generate-sdks.yaml => sdks.yaml} | 0 packages/api/liblab.config.json | 12 +++++++++++- packages/api/src/crm/contact/types/index.ts | 4 +++- packages/api/swagger/swagger-spec.json | 3 ++- 4 files changed, 16 insertions(+), 3 deletions(-) rename .github/workflows/{liblab-generate-sdks.yaml => sdks.yaml} (100%) diff --git a/.github/workflows/liblab-generate-sdks.yaml b/.github/workflows/sdks.yaml similarity index 100% rename from .github/workflows/liblab-generate-sdks.yaml rename to .github/workflows/sdks.yaml diff --git a/packages/api/liblab.config.json b/packages/api/liblab.config.json index d0d731544..e90922591 100644 --- a/packages/api/liblab.config.json +++ b/packages/api/liblab.config.json @@ -4,7 +4,9 @@ "specFilePath": "https://raw.githubusercontent.com/panoratech/Panora/main/packages/api/swagger/swagger-spec.json", "languages": [ "typescript", - "python" + "python", + "java", + "go" ], "createDocs": false, "auth": [ @@ -48,6 +50,14 @@ "githubRepoName": "python-sdk", "sdkVersion": "1.0.0", "ignoreFiles": [] + }, + "java": { + "githubRepoName": "java-sdk", + "sdkVersion": "1.0.0" + }, + "go": { + "githubRepoName": "go-sdk", + "sdkVersion": "1.0.0" } }, "publishing": { diff --git a/packages/api/src/crm/contact/types/index.ts b/packages/api/src/crm/contact/types/index.ts index 804a4ed23..06727edca 100644 --- a/packages/api/src/crm/contact/types/index.ts +++ b/packages/api/src/crm/contact/types/index.ts @@ -23,7 +23,9 @@ export class Email { description: 'The email address of a contact', }) email_address: string; - @ApiProperty() + @ApiProperty({ + description: 'The email address type of a contact', + }) email_address_type: string; @ApiPropertyOptional() owner_type?: string; diff --git a/packages/api/swagger/swagger-spec.json b/packages/api/swagger/swagger-spec.json index 563518467..2f7f4fc67 100644 --- a/packages/api/swagger/swagger-spec.json +++ b/packages/api/swagger/swagger-spec.json @@ -1200,7 +1200,8 @@ "description": "The email address of a contact" }, "email_address_type": { - "type": "string" + "type": "string", + "description": "The email address type of a contact" }, "owner_type": { "type": "string"