diff --git a/clients/data-management-client/package.json b/clients/data-management-client/package.json index bf180863..43575dfc 100644 --- a/clients/data-management-client/package.json +++ b/clients/data-management-client/package.json @@ -1,73 +1,73 @@ { - "name": "@epilot/data-management-client", - "version": "1.2.24", - "description": "JavaScript client library for epilot's Data Management API", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "author": "epilot GmbH", - "license": "MIT", - "private": false, - "repository": { - "type": "git", - "url": "git+https://github.com/epilot-dev/sdk-js.git", - "directory": "clients/data-management-client" - }, - "bugs": { - "url": "https://github.com/epilot-dev/sdk-js/issues" - }, - "homepage": "https://github.com/epilot-dev/sdk-js/tree/main/clients/data-management-client#readme", - "keywords": [ - "epilot", - "sdk", - "data-management" - ], - "scripts": { - "test": "vitest", - "typescript": "tsc", - "bundle-definition": "webpack", - "openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/data-management.yaml", - "openapi:local": "node ../../scripts/update-openapi.js /Users/manikandansubramanian/Workspace/data-management-api/lambda/ApiHandlerFunction/openapi.yml", - "typegen": "openapi typegen src/openapi.json --client > src/openapi.d.ts", - "build": "tsc && npm run build:patch && npm run bundle-definition", - "build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js", - "build:watch": "npm run build && tsc -w", - "release-alpha": "npm version prerelease --preid alpha", - "lint": "biome check src" - }, - "files": [ - "*.js", - "*.d.ts", - "**/*.json", - "**/*.js", - "**/*.d.ts", - "!*.test.*", - "!**/*.test.*", - "!node_modules", - "!src", - "!src/**", - "!*.config.js" - ], - "peerDependencies": { - "axios": "^1.0.0 || >=0.25.0 <1.0.0" - }, - "dependencies": { - "@dazn/lambda-powertools-correlation-ids": "^1.28.1", - "buffer": "^6.0.3", - "https-browserify": "^1.0.0", - "openapi-client-axios": "^7.8.0", - "stream-http": "^3.2.0", - "url": "^0.11.0", - "util": "^0.12.3" - }, - "devDependencies": { - "axios": "^1.11.0", - "copy-webpack-plugin": "^7.0.0", - "json-loader": "^0.5.7", - "openapicmd": "^2.7.0", - "ts-loader": "^8.0.14", - "ts-node": "^10.9.2", - "typescript": "^4.1.3", - "webpack": "^5.101.0", - "webpack-cli": "^4.10.0" - } -} + "name": "@epilot/data-management-client", + "version": "1.3.0", + "description": "JavaScript client library for epilot's Data Management API", + "main": "dist/index.js", + "types": "dist/index.d.ts", + "author": "epilot GmbH", + "license": "MIT", + "private": false, + "repository": { + "type": "git", + "url": "git+https://github.com/epilot-dev/sdk-js.git", + "directory": "clients/data-management-client" + }, + "bugs": { + "url": "https://github.com/epilot-dev/sdk-js/issues" + }, + "homepage": "https://github.com/epilot-dev/sdk-js/tree/main/clients/data-management-client#readme", + "keywords": [ + "epilot", + "sdk", + "data-management" + ], + "scripts": { + "test": "vitest", + "typescript": "tsc", + "bundle-definition": "webpack", + "openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/data-management.yaml", + "openapi:local": "node ../../scripts/update-openapi.js /Users/manikandansubramanian/Workspace/data-management-api/lambda/ApiHandlerFunction/openapi.yml", + "typegen": "openapi typegen src/openapi.json --client > src/openapi.d.ts", + "build": "tsc && npm run build:patch && npm run bundle-definition", + "build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js", + "build:watch": "npm run build && tsc -w", + "release-alpha": "npm version prerelease --preid alpha", + "lint": "biome check src" + }, + "files": [ + "*.js", + "*.d.ts", + "**/*.json", + "**/*.js", + "**/*.d.ts", + "!*.test.*", + "!**/*.test.*", + "!node_modules", + "!src", + "!src/**", + "!*.config.js" + ], + "peerDependencies": { + "axios": "^1.0.0 || >=0.25.0 <1.0.0" + }, + "dependencies": { + "@dazn/lambda-powertools-correlation-ids": "^1.28.1", + "buffer": "^6.0.3", + "https-browserify": "^1.0.0", + "openapi-client-axios": "^7.8.0", + "stream-http": "^3.2.0", + "url": "^0.11.0", + "util": "^0.12.3" + }, + "devDependencies": { + "axios": "^1.11.0", + "copy-webpack-plugin": "^7.0.0", + "json-loader": "^0.5.7", + "openapicmd": "^2.7.0", + "ts-loader": "^8.0.14", + "ts-node": "^10.9.2", + "typescript": "^4.1.3", + "webpack": "^5.101.0", + "webpack-cli": "^4.10.0" + } +} \ No newline at end of file diff --git a/clients/data-management-client/src/openapi-runtime.json b/clients/data-management-client/src/openapi-runtime.json index e7eba5c6..4fabece6 100644 --- a/clients/data-management-client/src/openapi-runtime.json +++ b/clients/data-management-client/src/openapi-runtime.json @@ -216,9 +216,5 @@ } }, "components": {}, - "servers": [ - { - "url": "https://data-management.sls.epilot.io" - } - ] + "servers": [] } diff --git a/clients/data-management-client/src/openapi.d.ts b/clients/data-management-client/src/openapi.d.ts index 990d618d..4366f23d 100644 --- a/clients/data-management-client/src/openapi.d.ts +++ b/clients/data-management-client/src/openapi.d.ts @@ -1,5 +1,3 @@ -/* eslint-disable */ - import type { OpenAPIClient, Parameters, @@ -115,6 +113,7 @@ declare namespace Components { type: QueryFilterType; related_entity_schemas?: string[]; lookback_period_days?: number; + message_type?: ("SENT" | "RECEIVED")[]; } export type QueryFilterType = "entity_workflows_only_in_closed_or_cancelled_status" | "no_related_entities" | "related_entities_all_in_closed_or_cancelled_status" | "related_entities_workflows_only_in_closed_or_cancelled_status" | "no_email_communication_since"; export interface UpdateJobRequest { diff --git a/clients/data-management-client/src/openapi.json b/clients/data-management-client/src/openapi.json index 779b32d8..c89267d8 100644 --- a/clients/data-management-client/src/openapi.json +++ b/clients/data-management-client/src/openapi.json @@ -739,6 +739,16 @@ }, "lookback_period_days": { "type": "integer" + }, + "message_type": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "SENT", + "RECEIVED" + ] + } } } }, @@ -954,9 +964,5 @@ } } }, - "servers": [ - { - "url": "https://data-management.sls.epilot.io" - } - ] + "servers": [] }