This is an automated email from the ASF dual-hosted git repository.

ocket8888 pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/trafficcontrol-trafficops-types.git

commit 5a6b1c97d7610dddc3bf9ed090634a8359e91c87
Author: ocket8888 <[email protected]>
AuthorDate: Fri Oct 7 13:53:37 2022 -0600

    Fix missing typing for responses to profile imports
---
 package-lock.json |  4 ++--
 package.json      |  2 +-
 src/profile.ts    | 11 +++++++++++
 3 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 5076eb8..a05bf52 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
 {
        "name": "trafficops-types",
-       "version": "3.1.0-beta-21",
+       "version": "3.1.0-beta-22",
        "lockfileVersion": 2,
        "requires": true,
        "packages": {
                "": {
                        "name": "trafficops-types",
-                       "version": "3.1.0-beta-21",
+                       "version": "3.1.0-beta-22",
                        "license": "GPL-3.0-or-later",
                        "devDependencies": {
                                "@typescript-eslint/eslint-plugin": "^5.0.0",
diff --git a/package.json b/package.json
index 07d8a1c..43c513e 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
        "name": "trafficops-types",
-       "version": "3.1.0-beta-21",
+       "version": "3.1.0-beta-22",
        "description": "A library for dealing with Apache Traffic Control 
objects",
        "main": "dist/index.js",
        "scripts": {
diff --git a/src/profile.ts b/src/profile.ts
index e63cbd9..ab053b3 100644
--- a/src/profile.ts
+++ b/src/profile.ts
@@ -279,6 +279,17 @@ export interface ProfileImport {
        }>;
 }
 
+/**
+ * Represents the response from Traffic Ops to a Profile Import request.
+ */
+export interface ProfileImportResponse {
+       cdn: string;
+       name: string;
+       readonly id: number;
+       type: ProfileType;
+       description: string;
+}
+
 /**
  * An exported Profile is enough information to reconstruct the Profile at a
  * later time and/or in a different ATC system using the `/profiles/import` API

Reply via email to