@@ -16,7 +16,7 @@ export declare namespace Actions {
1616 projectId : string ;
1717 token ?: core . Supplier < core . BearerToken | undefined > ;
1818 /** Override the x-pd-environment header */
19- xPdEnvironment ?: core . Supplier < string | undefined > ;
19+ projectEnvironment ?: core . Supplier < Pipedream . ProjectEnvironment | undefined > ;
2020 /** Additional headers to include in requests. */
2121 headers ?: Record < string , string | core . Supplier < string | undefined > | undefined > ;
2222 }
@@ -29,7 +29,7 @@ export declare namespace Actions {
2929 /** A hook to abort the request. */
3030 abortSignal ?: AbortSignal ;
3131 /** Override the x-pd-environment header */
32- xPdEnvironment ?: string | undefined ;
32+ projectEnvironment ?: Pipedream . ProjectEnvironment | undefined ;
3333 /** Additional headers to include in the request. */
3434 headers ?: Record < string , string | core . Supplier < string | undefined > | undefined > ;
3535 }
@@ -86,7 +86,7 @@ export class Actions {
8686 this . _options ?. headers ,
8787 mergeOnlyDefinedHeaders ( {
8888 Authorization : await this . _getAuthorizationHeader ( ) ,
89- "x-pd-environment" : requestOptions ?. xPdEnvironment ,
89+ "x-pd-environment" : requestOptions ?. projectEnvironment ,
9090 } ) ,
9191 requestOptions ?. headers ,
9292 ) ,
@@ -172,7 +172,7 @@ export class Actions {
172172 this . _options ?. headers ,
173173 mergeOnlyDefinedHeaders ( {
174174 Authorization : await this . _getAuthorizationHeader ( ) ,
175- "x-pd-environment" : requestOptions ?. xPdEnvironment ,
175+ "x-pd-environment" : requestOptions ?. projectEnvironment ,
176176 } ) ,
177177 requestOptions ?. headers ,
178178 ) ,
@@ -249,7 +249,7 @@ export class Actions {
249249 mergeOnlyDefinedHeaders ( {
250250 Authorization : await this . _getAuthorizationHeader ( ) ,
251251 "x-async-handle" : asyncHandle != null ? asyncHandle : undefined ,
252- "x-pd-environment" : requestOptions ?. xPdEnvironment ,
252+ "x-pd-environment" : requestOptions ?. projectEnvironment ,
253253 } ) ,
254254 requestOptions ?. headers ,
255255 ) ,
@@ -328,7 +328,7 @@ export class Actions {
328328 mergeOnlyDefinedHeaders ( {
329329 Authorization : await this . _getAuthorizationHeader ( ) ,
330330 "x-async-handle" : asyncHandle != null ? asyncHandle : undefined ,
331- "x-pd-environment" : requestOptions ?. xPdEnvironment ,
331+ "x-pd-environment" : requestOptions ?. projectEnvironment ,
332332 } ) ,
333333 requestOptions ?. headers ,
334334 ) ,
@@ -405,7 +405,7 @@ export class Actions {
405405 mergeOnlyDefinedHeaders ( {
406406 Authorization : await this . _getAuthorizationHeader ( ) ,
407407 "x-async-handle" : asyncHandle != null ? asyncHandle : undefined ,
408- "x-pd-environment" : requestOptions ?. xPdEnvironment ,
408+ "x-pd-environment" : requestOptions ?. projectEnvironment ,
409409 } ) ,
410410 requestOptions ?. headers ,
411411 ) ,
0 commit comments