From 748edc51f51d65b98e0debd19dbe880e3866c5ac Mon Sep 17 00:00:00 2001 From: Ali Asghar <75574550+aliasghar98@users.noreply.github.com> Date: Fri, 19 Dec 2025 18:18:55 +0500 Subject: [PATCH 1/8] feat: add 400 and 403 response codes handling for portal generation status --- src/infrastructure/services/api-service.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/infrastructure/services/api-service.ts b/src/infrastructure/services/api-service.ts index 3fb86924..fa002901 100644 --- a/src/infrastructure/services/api-service.ts +++ b/src/infrastructure/services/api-service.ts @@ -60,6 +60,18 @@ export class ApiService { return ok({ status: "Completed" } as PortalGenerationStatusResponse); } + if (response.status === 400) { + const message = Object.values(response.data.errors as Record)[0]?.[0] ?? null; + const errorMessage = response.data.title + "\n- " + message; + return err(ServiceError.badRequest(errorMessage)); + } + + if (response.status === 403) { + const message = Object.values(response.data.errors as Record)[0]?.[0] ?? null; + const errorMessage = response.data.title + "\n- " + message; + return err(ServiceError.forbidden(errorMessage)); + } + return err(ServiceError.InvalidResponse); } catch (error: unknown) { return err(handleServiceError(error)); From 009e0d1d84e4efb82e93fd9706d86c8ab4572619 Mon Sep 17 00:00:00 2001 From: Ali Asghar <75574550+aliasghar98@users.noreply.github.com> Date: Fri, 26 Dec 2025 01:05:05 +0500 Subject: [PATCH 2/8] fix: updated status endpoint response handling to cater problem details in 200 response --- src/infrastructure/services/api-service.ts | 19 +++++++++++++++++-- src/infrastructure/services/portal-service.ts | 7 ++++--- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/src/infrastructure/services/api-service.ts b/src/infrastructure/services/api-service.ts index fa002901..10f36754 100644 --- a/src/infrastructure/services/api-service.ts +++ b/src/infrastructure/services/api-service.ts @@ -5,7 +5,7 @@ import { SubscriptionInfo } from "../../types/api/account.js"; import { envInfo } from "../env-info.js"; import { err, ok, Result } from "neverthrow"; import { handleServiceError, ServiceError } from "../service-error.js"; -import { PortalGenerationStatusResponse } from "@apimatic/sdk"; +import { PortalGenerationStatusResponse, Status } from "@apimatic/sdk"; export class ApiService { private readonly apiBaseUrl = "https://api.apimatic.io" as const; @@ -53,7 +53,22 @@ export class ApiService { }); if (response.status === 200) { - return ok(response.data as PortalGenerationStatusResponse); + var status = response.data as PortalGenerationStatusResponse; + if (status.detail && status.status === Status.ValidationFailure) { + const messages = Object.entries(status.detail.errors as Record) + .flatMap(([field, errors]) => errors.map(error => `${field}: ${error}`)) + .join("\n- "); + const errorMessage = status.detail.title + "\n- " + messages; + return err(ServiceError.badRequest(errorMessage)); + } + if (status.detail && status.status === Status.SubscriptionFailure) { + const messages = Object.entries(status.detail.errors as Record) + .flatMap(([field, errors]) => errors.map(error => `${field}: ${error}`)) + .join("\n- "); + const errorMessage = status.detail.title + "\n- " + messages; + return err(ServiceError.forbidden(errorMessage)); + } + return ok(status); } if (response.status === 302) { diff --git a/src/infrastructure/services/portal-service.ts b/src/infrastructure/services/portal-service.ts index 387bf708..4c5b2973 100644 --- a/src/infrastructure/services/portal-service.ts +++ b/src/infrastructure/services/portal-service.ts @@ -13,7 +13,8 @@ import { TransformationController, Transformation, ExportFormats, - Platforms + Platforms, + Status } from "@apimatic/sdk"; import { AuthInfo, getAuthInfo } from "../../client-utils/auth-manager.js"; import { parseStreamBodyToJson } from "../../utils/utils.js"; @@ -85,10 +86,10 @@ export class PortalService { if (statusResult.isErr()) { return err(statusResult.error); } - if (statusResult.value.status === "Failed") { + if (statusResult.value.status === Status.Failed) { return err(ServiceError.ServerError); } - } while (statusResult.value.status !== "Completed"); + } while (statusResult.value.status !== Status.Completed); try { const portalDownloadResponse = await docsPortalAsyncController.downloadGeneratedPortal(generationId); From 11c8a899ef3fb168344394d3c6ae086906720900 Mon Sep 17 00:00:00 2001 From: Ali Asghar <75574550+aliasghar98@users.noreply.github.com> Date: Fri, 26 Dec 2025 10:26:54 +0500 Subject: [PATCH 3/8] fix: removed redundant checks --- src/infrastructure/services/api-service.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/infrastructure/services/api-service.ts b/src/infrastructure/services/api-service.ts index 10f36754..6e952242 100644 --- a/src/infrastructure/services/api-service.ts +++ b/src/infrastructure/services/api-service.ts @@ -75,18 +75,6 @@ export class ApiService { return ok({ status: "Completed" } as PortalGenerationStatusResponse); } - if (response.status === 400) { - const message = Object.values(response.data.errors as Record)[0]?.[0] ?? null; - const errorMessage = response.data.title + "\n- " + message; - return err(ServiceError.badRequest(errorMessage)); - } - - if (response.status === 403) { - const message = Object.values(response.data.errors as Record)[0]?.[0] ?? null; - const errorMessage = response.data.title + "\n- " + message; - return err(ServiceError.forbidden(errorMessage)); - } - return err(ServiceError.InvalidResponse); } catch (error: unknown) { return err(handleServiceError(error)); From af7eadb82826850243e05f614b7975a82aa56cb0 Mon Sep 17 00:00:00 2001 From: Ali Asghar <75574550+aliasghar98@users.noreply.github.com> Date: Tue, 30 Dec 2025 16:52:47 +0500 Subject: [PATCH 4/8] fix: updated error message handling for status endpoint --- src/infrastructure/services/api-service.ts | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/src/infrastructure/services/api-service.ts b/src/infrastructure/services/api-service.ts index 6e952242..6722eadf 100644 --- a/src/infrastructure/services/api-service.ts +++ b/src/infrastructure/services/api-service.ts @@ -53,22 +53,20 @@ export class ApiService { }); if (response.status === 200) { - var status = response.data as PortalGenerationStatusResponse; - if (status.detail && status.status === Status.ValidationFailure) { - const messages = Object.entries(status.detail.errors as Record) - .flatMap(([field, errors]) => errors.map(error => `${field}: ${error}`)) - .join("\n- "); - const errorMessage = status.detail.title + "\n- " + messages; + var statusResponse = response.data as PortalGenerationStatusResponse; + if (statusResponse.errors && statusResponse.status === Status.ValidationError) { + // TODO: This only picks the first error message, improve it to show all errors. + const message = Object.values(statusResponse.errors as Record)[0]?.[0] ?? null; + const errorMessage = "One or more validation errors occurred." + "\n- " + message; return err(ServiceError.badRequest(errorMessage)); } - if (status.detail && status.status === Status.SubscriptionFailure) { - const messages = Object.entries(status.detail.errors as Record) - .flatMap(([field, errors]) => errors.map(error => `${field}: ${error}`)) - .join("\n- "); - const errorMessage = status.detail.title + "\n- " + messages; + if (statusResponse.errors && statusResponse.status === Status.SubscriptionError) { + // TODO: This only picks the first error message, improve it to show all errors. + const message = Object.values(statusResponse.errors as Record)[0]?.[0] ?? null; + const errorMessage = "Access denied to resource." + "\n- " + message; return err(ServiceError.forbidden(errorMessage)); } - return ok(status); + return ok(statusResponse); } if (response.status === 302) { From 1cf4217dcbe186a2edd0cd102420ab04433a0b31 Mon Sep 17 00:00:00 2001 From: Ali Asghar <75574550+aliasghar98@users.noreply.github.com> Date: Wed, 31 Dec 2025 16:27:33 +0500 Subject: [PATCH 5/8] chore: added a todo --- src/infrastructure/services/portal-service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/infrastructure/services/portal-service.ts b/src/infrastructure/services/portal-service.ts index 4c5b2973..e4bfa5cd 100644 --- a/src/infrastructure/services/portal-service.ts +++ b/src/infrastructure/services/portal-service.ts @@ -59,6 +59,7 @@ export class PortalService { generationId = portalInstance.result.id; } catch (error) { if (error instanceof ProblemDetailsError) { + // TODO: This only picks the first error message, improve it to show all errors. const message = Object.values(error.result!.errors as Record)[0]?.[0] ?? null; const errorMessage = error.result!.title + "\n- " + message; if (error.statusCode === 400) { From c02cc65d84ffc49cc7896b1dbfdfd0a80f49cd34 Mon Sep 17 00:00:00 2001 From: Ali Asghar <75574550+aliasghar98@users.noreply.github.com> Date: Thu, 1 Jan 2026 16:12:48 +0500 Subject: [PATCH 6/8] docs(readme): update version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ba2b19a8..384db181 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ $ npm install -g @apimatic/cli $ apimatic COMMAND running command... $ apimatic (--version) -@apimatic/cli/1.1.0-beta.5 win32-x64 node-v23.4.0 +@apimatic/cli/1.1.0-beta.6 win32-x64 node-v23.4.0 $ apimatic --help [COMMAND] USAGE $ apimatic COMMAND From 06963220d72b2ee055da1abe4067b6790fd2929d Mon Sep 17 00:00:00 2001 From: Ali Asghar <75574550+aliasghar98@users.noreply.github.com> Date: Thu, 1 Jan 2026 18:19:50 +0500 Subject: [PATCH 7/8] refactor: moved subscription and validation error checks to portal service from api service --- src/infrastructure/services/api-service.ts | 17 ++--------------- src/infrastructure/services/portal-service.ts | 12 ++++++++++++ 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/src/infrastructure/services/api-service.ts b/src/infrastructure/services/api-service.ts index 6722eadf..3fb86924 100644 --- a/src/infrastructure/services/api-service.ts +++ b/src/infrastructure/services/api-service.ts @@ -5,7 +5,7 @@ import { SubscriptionInfo } from "../../types/api/account.js"; import { envInfo } from "../env-info.js"; import { err, ok, Result } from "neverthrow"; import { handleServiceError, ServiceError } from "../service-error.js"; -import { PortalGenerationStatusResponse, Status } from "@apimatic/sdk"; +import { PortalGenerationStatusResponse } from "@apimatic/sdk"; export class ApiService { private readonly apiBaseUrl = "https://api.apimatic.io" as const; @@ -53,20 +53,7 @@ export class ApiService { }); if (response.status === 200) { - var statusResponse = response.data as PortalGenerationStatusResponse; - if (statusResponse.errors && statusResponse.status === Status.ValidationError) { - // TODO: This only picks the first error message, improve it to show all errors. - const message = Object.values(statusResponse.errors as Record)[0]?.[0] ?? null; - const errorMessage = "One or more validation errors occurred." + "\n- " + message; - return err(ServiceError.badRequest(errorMessage)); - } - if (statusResponse.errors && statusResponse.status === Status.SubscriptionError) { - // TODO: This only picks the first error message, improve it to show all errors. - const message = Object.values(statusResponse.errors as Record)[0]?.[0] ?? null; - const errorMessage = "Access denied to resource." + "\n- " + message; - return err(ServiceError.forbidden(errorMessage)); - } - return ok(statusResponse); + return ok(response.data as PortalGenerationStatusResponse); } if (response.status === 302) { diff --git a/src/infrastructure/services/portal-service.ts b/src/infrastructure/services/portal-service.ts index e4bfa5cd..16fae9a8 100644 --- a/src/infrastructure/services/portal-service.ts +++ b/src/infrastructure/services/portal-service.ts @@ -90,6 +90,18 @@ export class PortalService { if (statusResult.value.status === Status.Failed) { return err(ServiceError.ServerError); } + if (statusResult.value.errors && statusResult.value.status === Status.ValidationError) { + // TODO: This only picks the first error message, improve it to show all errors. + const message = Object.values(statusResult.value.errors as Record)[0]?.[0] ?? null; + const errorMessage = "One or more validation errors occurred." + "\n- " + message; + return err(ServiceError.badRequest(errorMessage)); + } + if (statusResult.value.errors && statusResult.value.status === Status.SubscriptionError) { + // TODO: This only picks the first error message, improve it to show all errors. + const message = Object.values(statusResult.value.errors as Record)[0]?.[0] ?? null; + const errorMessage = "Access denied to resource." + "\n- " + message; + return err(ServiceError.forbidden(errorMessage)); + } } while (statusResult.value.status !== Status.Completed); try { From 51110bb113580aaafcf8267d881819cf92cf9471 Mon Sep 17 00:00:00 2001 From: Ali Asghar <75574550+aliasghar98@users.noreply.github.com> Date: Fri, 2 Jan 2026 11:23:56 +0500 Subject: [PATCH 8/8] chore: update package.json and package-lock.json --- package-lock.json | 120 +++++++++++++++++++++++----------------------- package.json | 2 +- 2 files changed, 62 insertions(+), 60 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2b5544a2..cfc118fb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@apimatic/cli", - "version": "1.1.0-beta.4", + "version": "1.1.0-beta.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@apimatic/cli", - "version": "1.1.0-beta.4", + "version": "1.1.0-beta.5", "license": "MIT", "dependencies": { - "@apimatic/sdk": "^0.2.0-alpha.5", + "@apimatic/sdk": "^0.2.0-alpha.6", "@clack/prompts": "1.0.0-alpha.1", "@oclif/core": "^4.2.8", "@oclif/plugin-autocomplete": "^3.2.24", @@ -98,14 +98,14 @@ } }, "node_modules/@apimatic/authentication-adapters": { - "version": "0.5.10", - "resolved": "https://registry.npmjs.org/@apimatic/authentication-adapters/-/authentication-adapters-0.5.10.tgz", - "integrity": "sha512-iXq0e8tRZYaCP9T3pxy56k18UUg3iUlXkf6E6j9XmWHDTOjV0Qjz8Sl5sXwEcb0Qv/WxJPYR4qDJ2Sc6Dvc9PQ==", + "version": "0.5.14", + "resolved": "https://registry.npmjs.org/@apimatic/authentication-adapters/-/authentication-adapters-0.5.14.tgz", + "integrity": "sha512-V7nhHShPrU8LfjKKHoVJNS50SveSL77CexVuS4aeQyXx99HwdQVJwl2MK0KAYM6/b2ufQbJ7Eee2fzQT0TVXSQ==", "license": "MIT", "dependencies": { - "@apimatic/core-interfaces": "^0.2.11", - "@apimatic/http-headers": "^0.3.6", - "@apimatic/http-query": "^0.3.6", + "@apimatic/core-interfaces": "^0.2.14", + "@apimatic/http-headers": "^0.3.8", + "@apimatic/http-query": "^0.3.9", "tslib": "^2.8.1" }, "engines": { @@ -113,18 +113,18 @@ } }, "node_modules/@apimatic/axios-client-adapter": { - "version": "0.3.18", - "resolved": "https://registry.npmjs.org/@apimatic/axios-client-adapter/-/axios-client-adapter-0.3.18.tgz", - "integrity": "sha512-4DX6PgMT3VyACsf+EA3IxPrJzE1Schnwm+EGoCDZ8oAt7WYf3nByH1nKbmRVLEw7TGp4ZNU9slUHmdiJZ7FM6A==", + "version": "0.3.21", + "resolved": "https://registry.npmjs.org/@apimatic/axios-client-adapter/-/axios-client-adapter-0.3.21.tgz", + "integrity": "sha512-pr/XvAvH9FjbpwM+B7vHQxM7alocOX1kLNtSpXKW3yxTYxksF3ydnUuQ85rRbCoNpyfMOIjnRBCNUBzX5p2Hnw==", "license": "MIT", "dependencies": { - "@apimatic/convert-to-stream": "^0.1.7", - "@apimatic/core-interfaces": "^0.2.12", - "@apimatic/file-wrapper": "^0.3.7", - "@apimatic/http-headers": "^0.3.7", - "@apimatic/http-query": "^0.3.7", + "@apimatic/convert-to-stream": "^0.1.9", + "@apimatic/core-interfaces": "^0.2.14", + "@apimatic/file-wrapper": "^0.3.9", + "@apimatic/http-headers": "^0.3.8", + "@apimatic/http-query": "^0.3.9", "@apimatic/json-bigint": "^1.2.0", - "@apimatic/proxy": "^0.1.2", + "@apimatic/proxy": "^0.1.4", "axios": "^1.8.4", "detect-browser": "^5.3.0", "detect-node": "^2.1.0", @@ -138,10 +138,10 @@ } }, "node_modules/@apimatic/convert-to-stream": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/@apimatic/convert-to-stream/-/convert-to-stream-0.1.7.tgz", - "integrity": "sha512-uOCSy8YV0umHI4422l6wXcY/CN/oplLgoitpOY+P52I8dSrkQK+P+8HCITLDW4ND1I5OvRfvb1OwvN4+1JdgvA==", - "license": "ISC", + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/@apimatic/convert-to-stream/-/convert-to-stream-0.1.9.tgz", + "integrity": "sha512-C9NEKnDZoTRBRVeUGXVyAEmy6P5o+8oLwEckTKj0iBlExJLEXNt14nf4wxfzRO1KR8j5Bw8S6yStKCrQzcVERA==", + "license": "MIT", "dependencies": { "tslib": "2.8.1" }, @@ -150,18 +150,18 @@ } }, "node_modules/@apimatic/core": { - "version": "0.10.26", - "resolved": "https://registry.npmjs.org/@apimatic/core/-/core-0.10.26.tgz", - "integrity": "sha512-wml7KNNP3P8BXXI2bOXyuMugQpLZ1MpOl6EM40nSOCXmR4lTr1ssfoUi+LrK1n7o6JxLoYp9mGkMNHoR7n35Tw==", + "version": "0.10.29", + "resolved": "https://registry.npmjs.org/@apimatic/core/-/core-0.10.29.tgz", + "integrity": "sha512-QhORiq0QbjlDMrw8ZZsAeG2DzE6QgGz5ukD5w2MOWE/3iIWnUDEROjmc2SfhyiGsE3GoEJ8cyhMMdjlOioP6ww==", "license": "MIT", "dependencies": { - "@apimatic/convert-to-stream": "^0.1.7", - "@apimatic/core-interfaces": "^0.2.12", - "@apimatic/file-wrapper": "^0.3.7", - "@apimatic/http-headers": "^0.3.7", - "@apimatic/http-query": "^0.3.7", + "@apimatic/convert-to-stream": "^0.1.9", + "@apimatic/core-interfaces": "^0.2.14", + "@apimatic/file-wrapper": "^0.3.9", + "@apimatic/http-headers": "^0.3.8", + "@apimatic/http-query": "^0.3.9", "@apimatic/json-bigint": "^1.2.0", - "@apimatic/schema": "^0.7.20", + "@apimatic/schema": "^0.7.21", "detect-browser": "^5.3.0", "detect-node": "^2.1.0", "form-data": "^4.0.1", @@ -175,12 +175,13 @@ } }, "node_modules/@apimatic/core-interfaces": { - "version": "0.2.12", - "resolved": "https://registry.npmjs.org/@apimatic/core-interfaces/-/core-interfaces-0.2.12.tgz", - "integrity": "sha512-XdEbSEfLEUY6KvKWQVXGMMGQmt589Zj0MnssPZ7FdgWFCrqe4aNgYt2Fl/fOC9r64GZvd7o1T9m4HKFilXi4nw==", + "version": "0.2.14", + "resolved": "https://registry.npmjs.org/@apimatic/core-interfaces/-/core-interfaces-0.2.14.tgz", + "integrity": "sha512-PQmSU32ndxtDddMCjbkNY/sVvDwQAsHUGKrdG5aGVE7iw/qvB2Tm2zyCarOB5TlDr4OB+/tuLCVhji0icx6MHg==", "license": "MIT", "dependencies": { - "@apimatic/file-wrapper": "^0.3.7", + "@apimatic/file-wrapper": "^0.3.9", + "@apimatic/json-bigint": "^1.2.0", "tslib": "^2.8.1" }, "engines": { @@ -188,9 +189,9 @@ } }, "node_modules/@apimatic/file-wrapper": { - "version": "0.3.7", - "resolved": "https://registry.npmjs.org/@apimatic/file-wrapper/-/file-wrapper-0.3.7.tgz", - "integrity": "sha512-uJh2immpzZiZYOiG+Q9qtArg3bUk7lmx7eYFRI38wIOS2zlxQh90WkuJzaL2nvSmNsJ3p+yg5ePAyRpqoJmw7Q==", + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@apimatic/file-wrapper/-/file-wrapper-0.3.9.tgz", + "integrity": "sha512-Fh3UE7UPs2v4wkJdsD+uJFF147+7X0qkQfKBdeLZx6mZ5RmBJOBbS6ApvstQTV279YsHiiedKUZGJ6XLoVU+pQ==", "license": "MIT", "dependencies": { "tslib": "2.8.1" @@ -200,9 +201,9 @@ } }, "node_modules/@apimatic/http-headers": { - "version": "0.3.7", - "resolved": "https://registry.npmjs.org/@apimatic/http-headers/-/http-headers-0.3.7.tgz", - "integrity": "sha512-DxLmwDMnAT5sOiuYI7EIuQq2PAVhbV9ICDLSdICRFflklgfKQ9agVEyNRgYVhuXz1m7IDoqqjGb1hs6iMJJpEg==", + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/@apimatic/http-headers/-/http-headers-0.3.8.tgz", + "integrity": "sha512-ShvCuT39hYfBTI+H1I16m5i6XZCyUy2kQJ6Jhfj78TwsW5r6AyCbzW7DEro8GN2nNYRU1+E/hrgH6J85YmriOA==", "license": "MIT", "dependencies": { "tslib": "2.8.1" @@ -212,12 +213,13 @@ } }, "node_modules/@apimatic/http-query": { - "version": "0.3.7", - "resolved": "https://registry.npmjs.org/@apimatic/http-query/-/http-query-0.3.7.tgz", - "integrity": "sha512-HauS4Jsuve1tGy1pnAidjHNL/TFVLesOxL7QtOdZyb+s0EHiHF6Vhx/kNroJ4mH/yCN3OHcHcqMJlfg0V5ET9g==", + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@apimatic/http-query/-/http-query-0.3.9.tgz", + "integrity": "sha512-D6nqXcCR3P6iWbJ9uFXyyF2z1PEhTbGFbHNNuwF1NQ4tnThQk67DW9ou7/XcWi21zLh9MUchDWw9I0iE+5F2xA==", "license": "MIT", "dependencies": { - "@apimatic/file-wrapper": "^0.3.7", + "@apimatic/core-interfaces": "^0.2.14", + "@apimatic/file-wrapper": "^0.3.9", "tslib": "^2.8.1" }, "engines": { @@ -231,10 +233,10 @@ "license": "MIT" }, "node_modules/@apimatic/proxy": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/@apimatic/proxy/-/proxy-0.1.2.tgz", - "integrity": "sha512-Xo3PO69tos+ssAfjcBGxSxXu1jpdEwse+yYnWC8D8bCsuWKUVJh8TwWl01Zyw3s60FdikyGCGtiQ3LB2cBrbeg==", - "license": "ISC", + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/@apimatic/proxy/-/proxy-0.1.4.tgz", + "integrity": "sha512-Vzgfu7wcA5aEJyj2SjQ00Tb06fhBof8gDo1kSsF6sZBm4QjdFywN5AMbQwhfFOKjHqcsNmJspdeqcdymUQ77jA==", + "license": "MIT", "dependencies": { "http-proxy-agent": "^7.0.2", "https-proxy-agent": "^7.0.6" @@ -244,9 +246,9 @@ } }, "node_modules/@apimatic/schema": { - "version": "0.7.20", - "resolved": "https://registry.npmjs.org/@apimatic/schema/-/schema-0.7.20.tgz", - "integrity": "sha512-kMU1LqCypb0AwY8nXLV0aBoyubHHAxD8htyeAMFLYqWmmt+1pUBe33hHIDMdkREkNm+AYpl2n6vHBC1kqgju1w==", + "version": "0.7.21", + "resolved": "https://registry.npmjs.org/@apimatic/schema/-/schema-0.7.21.tgz", + "integrity": "sha512-RCke4toXjA7fBRxQVa1GR+Lj9utVOEJ3voDI26dhk+bZuAac4UXPzkTEaIO3AIe/o8pcKCOkpNIzhzm57Cv2Qg==", "license": "MIT", "dependencies": { "tslib": "^2.8.1" @@ -256,15 +258,15 @@ } }, "node_modules/@apimatic/sdk": { - "version": "0.2.0-alpha.5", - "resolved": "https://registry.npmjs.org/@apimatic/sdk/-/sdk-0.2.0-alpha.5.tgz", - "integrity": "sha512-WURgk8V0J6IcapMyutwYpX2xbz0NqQmVNd16OyvXSAhn8i5hdjxCuYnIrdzf83jxXthqoiEje6MfVNV/XO6S/A==", + "version": "0.2.0-alpha.6", + "resolved": "https://registry.npmjs.org/@apimatic/sdk/-/sdk-0.2.0-alpha.6.tgz", + "integrity": "sha512-uIdS3KzRbDbf2bL/UT+TrpXKlYNN1S+Fk5UiV76RWfi7JhoGTmRdLKaQV6Pu5SiCpYzRHmwPJp789s52ZtFSYA==", "license": "MIT", "dependencies": { - "@apimatic/authentication-adapters": "^0.5.10", - "@apimatic/axios-client-adapter": "^0.3.16", - "@apimatic/core": "^0.10.25", - "@apimatic/schema": "^0.7.19" + "@apimatic/authentication-adapters": "^0.5.14", + "@apimatic/axios-client-adapter": "^0.3.20", + "@apimatic/core": "^0.10.28", + "@apimatic/schema": "^0.7.21" }, "engines": { "node": ">=14.17.0" diff --git a/package.json b/package.json index c27e7b7e..6c6adf12 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "test": "tsx node_modules/mocha/bin/_mocha --forbid-only \"test/**/*.test.ts\" --timeout 99999" }, "dependencies": { - "@apimatic/sdk": "^0.2.0-alpha.5", + "@apimatic/sdk": "^0.2.0-alpha.6", "@clack/prompts": "1.0.0-alpha.1", "@oclif/core": "^4.2.8", "@oclif/plugin-autocomplete": "^3.2.24",