File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -2146,6 +2146,13 @@ declare module "postman-collection" {
21462146 static createFromNode ( response : any , cookies : any ) : any ;
21472147 }
21482148
2149+ /**
2150+ * A map of package names to the IDs of the packages
2151+ */
2152+ export type Packages = {
2153+ [ key : string ] : { id : string ; } ;
2154+ } ;
2155+
21492156 /**
21502157 * Postman scripts that are executed upon events on a collection / request such as test and pre request.
21512158 * @param options - -
@@ -2162,13 +2169,19 @@ declare module "postman-collection" {
21622169 * @param [options.type] - Script type
21632170 * @param [options.src] - Script source url
21642171 * @param [options.exec] - Script to execute
2172+ * @param [options.packages] - Packages required by the script
21652173 */
21662174 update ( options ?: {
21672175 type ?: string ;
21682176 src ?: string ;
21692177 exec ?: string [ ] | string ;
2178+ packages ?: Packages ;
21702179 } ) : void ;
21712180 type : string ;
2181+ /**
2182+ * The packages required by the script
2183+ */
2184+ packages : Packages ;
21722185 src : Url ;
21732186 exec : string [ ] ;
21742187 /**
You can’t perform that action at this time.
0 commit comments