apigee-x-module
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -286,3 +286,3 @@ export interface ApigeeApiProducts { | ||
getApp(email: string, appName: string): Promise<App>; | ||
createApp(email: string, appName: string, apiProducts: string[]): Promise<App>; | ||
createApp(email: string, appName: string, description: string, apiProducts: string[]): Promise<App>; | ||
updateApp(email: string, appName: string, app: App): Promise<App>; | ||
@@ -289,0 +289,0 @@ deleteApp(email: string, appName: string): Promise<App>; |
@@ -203,3 +203,3 @@ import { ApiManagementInterface, ApiProducts, ApiProduct, App, Developers, Developer, Apps, AppCredential, ProxyRevision, ProxyDeployment, EnvironmentGroup, EnvironmentGroupAttachment } from "./interfaces"; | ||
*/ | ||
createApp(email: string, appName: string, apiProducts: string[]): Promise<App>; | ||
createApp(email: string, appName: string, description: string, apiProducts: string[]): Promise<App>; | ||
/** | ||
@@ -206,0 +206,0 @@ * Gets an app definition from a developer account |
@@ -635,3 +635,3 @@ import FormData from 'form-data'; | ||
*/ | ||
createApp(email, appName, apiProducts) { | ||
createApp(email, appName, description = "", apiProducts) { | ||
return new Promise((resolve, reject) => { | ||
@@ -649,3 +649,9 @@ this.getOrg().then((projectId) => { | ||
name: appName, | ||
apiProducts: apiProducts | ||
apiProducts: apiProducts, | ||
attributes: [ | ||
{ | ||
name: "notes", | ||
value: description | ||
} | ||
] | ||
} | ||
@@ -652,0 +658,0 @@ }).then((response) => { |
{ | ||
"name": "apigee-x-module", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Module for integrating with the Apigee X platform for TS/JS developer portal integrations.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/tyayers/apigee-x-module", |
76939
1606