@pulumi/esc-sdk 0.12.2 → 0.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esc/raw/api.d.ts +25 -25
- package/esc/raw/api.js +1 -1
- package/esc/raw/common.d.ts +1 -1
- package/package.json +2 -2
- package/package.json.bak +1 -1
package/esc/raw/api.d.ts
CHANGED
|
@@ -1776,7 +1776,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
1776
1776
|
* @throws {RequiredError}
|
|
1777
1777
|
* @memberof EscApi
|
|
1778
1778
|
*/
|
|
1779
|
-
checkEnvironmentYaml(orgName: string, body: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckEnvironment, any>>;
|
|
1779
|
+
checkEnvironmentYaml(orgName: string, body: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckEnvironment, any, {}>>;
|
|
1780
1780
|
/**
|
|
1781
1781
|
* Clones an environment
|
|
1782
1782
|
* @summary Clones an environment
|
|
@@ -1788,7 +1788,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
1788
1788
|
* @throws {RequiredError}
|
|
1789
1789
|
* @memberof EscApi
|
|
1790
1790
|
*/
|
|
1791
|
-
cloneEnvironment(orgName: string, projectName: string, envName: string, cloneEnvironment: CloneEnvironment, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1791
|
+
cloneEnvironment(orgName: string, projectName: string, envName: string, cloneEnvironment: CloneEnvironment, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1792
1792
|
/**
|
|
1793
1793
|
* Creates an environment in the given org with the given name.
|
|
1794
1794
|
* @summary Create a new environment
|
|
@@ -1798,7 +1798,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
1798
1798
|
* @throws {RequiredError}
|
|
1799
1799
|
* @memberof EscApi
|
|
1800
1800
|
*/
|
|
1801
|
-
createEnvironment(orgName: string, createEnvironment: CreateEnvironment, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Error, any>>;
|
|
1801
|
+
createEnvironment(orgName: string, createEnvironment: CreateEnvironment, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Error, any, {}>>;
|
|
1802
1802
|
/**
|
|
1803
1803
|
* Create environment revision tag
|
|
1804
1804
|
* @summary Create environment revision tag
|
|
@@ -1810,7 +1810,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
1810
1810
|
* @throws {RequiredError}
|
|
1811
1811
|
* @memberof EscApi
|
|
1812
1812
|
*/
|
|
1813
|
-
createEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, createEnvironmentRevisionTag: CreateEnvironmentRevisionTag, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1813
|
+
createEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, createEnvironmentRevisionTag: CreateEnvironmentRevisionTag, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1814
1814
|
/**
|
|
1815
1815
|
* Create environment tag
|
|
1816
1816
|
* @summary Create environment tag
|
|
@@ -1822,7 +1822,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
1822
1822
|
* @throws {RequiredError}
|
|
1823
1823
|
* @memberof EscApi
|
|
1824
1824
|
*/
|
|
1825
|
-
createEnvironmentTag(orgName: string, projectName: string, envName: string, createEnvironmentTag: CreateEnvironmentTag, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentTag, any>>;
|
|
1825
|
+
createEnvironmentTag(orgName: string, projectName: string, envName: string, createEnvironmentTag: CreateEnvironmentTag, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentTag, any, {}>>;
|
|
1826
1826
|
/**
|
|
1827
1827
|
* Reads the definition for the given environment with static secrets in plaintext
|
|
1828
1828
|
* @summary Reads the definition for the given environment with static secrets in plaintext
|
|
@@ -1833,7 +1833,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
1833
1833
|
* @throws {RequiredError}
|
|
1834
1834
|
* @memberof EscApi
|
|
1835
1835
|
*/
|
|
1836
|
-
decryptEnvironment(orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDefinition, any>>;
|
|
1836
|
+
decryptEnvironment(orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDefinition, any, {}>>;
|
|
1837
1837
|
/**
|
|
1838
1838
|
* Delete an environment
|
|
1839
1839
|
* @summary Delete an environment
|
|
@@ -1844,7 +1844,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
1844
1844
|
* @throws {RequiredError}
|
|
1845
1845
|
* @memberof EscApi
|
|
1846
1846
|
*/
|
|
1847
|
-
deleteEnvironment(orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Error, any>>;
|
|
1847
|
+
deleteEnvironment(orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Error, any, {}>>;
|
|
1848
1848
|
/**
|
|
1849
1849
|
* Delete environment revision tag
|
|
1850
1850
|
* @summary Delete environment revision tag
|
|
@@ -1856,7 +1856,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
1856
1856
|
* @throws {RequiredError}
|
|
1857
1857
|
* @memberof EscApi
|
|
1858
1858
|
*/
|
|
1859
|
-
deleteEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1859
|
+
deleteEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1860
1860
|
/**
|
|
1861
1861
|
* Delete environment tag
|
|
1862
1862
|
* @summary Delete environment tag
|
|
@@ -1868,7 +1868,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
1868
1868
|
* @throws {RequiredError}
|
|
1869
1869
|
* @memberof EscApi
|
|
1870
1870
|
*/
|
|
1871
|
-
deleteEnvironmentTag(orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1871
|
+
deleteEnvironmentTag(orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1872
1872
|
/**
|
|
1873
1873
|
* Read an environment
|
|
1874
1874
|
* @summary Read an environment
|
|
@@ -1879,7 +1879,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
1879
1879
|
* @throws {RequiredError}
|
|
1880
1880
|
* @memberof EscApi
|
|
1881
1881
|
*/
|
|
1882
|
-
getEnvironment(orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDefinition, any>>;
|
|
1882
|
+
getEnvironment(orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDefinition, any, {}>>;
|
|
1883
1883
|
/**
|
|
1884
1884
|
* Read an environmentat a specific revision or tag
|
|
1885
1885
|
* @summary Read an environment at a specific version
|
|
@@ -1891,7 +1891,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
1891
1891
|
* @throws {RequiredError}
|
|
1892
1892
|
* @memberof EscApi
|
|
1893
1893
|
*/
|
|
1894
|
-
getEnvironmentAtVersion(orgName: string, projectName: string, envName: string, version: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDefinition, any>>;
|
|
1894
|
+
getEnvironmentAtVersion(orgName: string, projectName: string, envName: string, version: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDefinition, any, {}>>;
|
|
1895
1895
|
/**
|
|
1896
1896
|
* Returns the ETag for the given environment if it exists.
|
|
1897
1897
|
* @summary Return an Environment ETag
|
|
@@ -1902,7 +1902,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
1902
1902
|
* @throws {RequiredError}
|
|
1903
1903
|
* @memberof EscApi
|
|
1904
1904
|
*/
|
|
1905
|
-
getEnvironmentETag(orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1905
|
+
getEnvironmentETag(orgName: string, projectName: string, envName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1906
1906
|
/**
|
|
1907
1907
|
* Read environment revision tag
|
|
1908
1908
|
* @summary Read environment revision tag
|
|
@@ -1914,7 +1914,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
1914
1914
|
* @throws {RequiredError}
|
|
1915
1915
|
* @memberof EscApi
|
|
1916
1916
|
*/
|
|
1917
|
-
getEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentRevisionTag, any>>;
|
|
1917
|
+
getEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentRevisionTag, any, {}>>;
|
|
1918
1918
|
/**
|
|
1919
1919
|
* Read an environment tag
|
|
1920
1920
|
* @summary Read an environment tag
|
|
@@ -1926,7 +1926,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
1926
1926
|
* @throws {RequiredError}
|
|
1927
1927
|
* @memberof EscApi
|
|
1928
1928
|
*/
|
|
1929
|
-
getEnvironmentTag(orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentTag, any>>;
|
|
1929
|
+
getEnvironmentTag(orgName: string, projectName: string, envName: string, tagName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentTag, any, {}>>;
|
|
1930
1930
|
/**
|
|
1931
1931
|
* List environment revisions
|
|
1932
1932
|
* @summary List environment revisions
|
|
@@ -1939,7 +1939,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
1939
1939
|
* @throws {RequiredError}
|
|
1940
1940
|
* @memberof EscApi
|
|
1941
1941
|
*/
|
|
1942
|
-
listEnvironmentRevisionTags(orgName: string, projectName: string, envName: string, after?: string, count?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentRevisionTags, any>>;
|
|
1942
|
+
listEnvironmentRevisionTags(orgName: string, projectName: string, envName: string, after?: string, count?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentRevisionTags, any, {}>>;
|
|
1943
1943
|
/**
|
|
1944
1944
|
* List environment revisions
|
|
1945
1945
|
* @summary List environment revisions
|
|
@@ -1952,7 +1952,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
1952
1952
|
* @throws {RequiredError}
|
|
1953
1953
|
* @memberof EscApi
|
|
1954
1954
|
*/
|
|
1955
|
-
listEnvironmentRevisions(orgName: string, projectName: string, envName: string, before?: number, count?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentRevision[], any>>;
|
|
1955
|
+
listEnvironmentRevisions(orgName: string, projectName: string, envName: string, before?: number, count?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentRevision[], any, {}>>;
|
|
1956
1956
|
/**
|
|
1957
1957
|
* List environment tags
|
|
1958
1958
|
* @summary List environment tags
|
|
@@ -1965,7 +1965,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
1965
1965
|
* @throws {RequiredError}
|
|
1966
1966
|
* @memberof EscApi
|
|
1967
1967
|
*/
|
|
1968
|
-
listEnvironmentTags(orgName: string, projectName: string, envName: string, after?: string, count?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEnvironmentTags, any>>;
|
|
1968
|
+
listEnvironmentTags(orgName: string, projectName: string, envName: string, after?: string, count?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEnvironmentTags, any, {}>>;
|
|
1969
1969
|
/**
|
|
1970
1970
|
* List environments in the organization available to the current user
|
|
1971
1971
|
* @summary List environments in the organization
|
|
@@ -1975,7 +1975,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
1975
1975
|
* @throws {RequiredError}
|
|
1976
1976
|
* @memberof EscApi
|
|
1977
1977
|
*/
|
|
1978
|
-
listEnvironments(orgName: string, continuationToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgEnvironments, any>>;
|
|
1978
|
+
listEnvironments(orgName: string, continuationToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgEnvironments, any, {}>>;
|
|
1979
1979
|
/**
|
|
1980
1980
|
* Opens a session the given environment for the indicated duration. This returns a session id that can be used to then read values. The default duration is 1 hour.
|
|
1981
1981
|
* @summary Open an environment session
|
|
@@ -1987,7 +1987,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
1987
1987
|
* @throws {RequiredError}
|
|
1988
1988
|
* @memberof EscApi
|
|
1989
1989
|
*/
|
|
1990
|
-
openEnvironment(orgName: string, projectName: string, envName: string, duration?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpenEnvironment, any>>;
|
|
1990
|
+
openEnvironment(orgName: string, projectName: string, envName: string, duration?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpenEnvironment, any, {}>>;
|
|
1991
1991
|
/**
|
|
1992
1992
|
* Opens a session the given environment at a specific version for the indicated duration. This returns a session id that can be used to then read values. The default duration is 1 hour.
|
|
1993
1993
|
* @summary Open an environment session at a specific version
|
|
@@ -2000,7 +2000,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
2000
2000
|
* @throws {RequiredError}
|
|
2001
2001
|
* @memberof EscApi
|
|
2002
2002
|
*/
|
|
2003
|
-
openEnvironmentAtVersion(orgName: string, projectName: string, envName: string, version: string, duration?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpenEnvironment, any>>;
|
|
2003
|
+
openEnvironmentAtVersion(orgName: string, projectName: string, envName: string, version: string, duration?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpenEnvironment, any, {}>>;
|
|
2004
2004
|
/**
|
|
2005
2005
|
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
2006
2006
|
* @summary Read an open environment
|
|
@@ -2012,7 +2012,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
2012
2012
|
* @throws {RequiredError}
|
|
2013
2013
|
* @memberof EscApi
|
|
2014
2014
|
*/
|
|
2015
|
-
readOpenEnvironment(orgName: string, projectName: string, envName: string, openSessionID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Environment, any>>;
|
|
2015
|
+
readOpenEnvironment(orgName: string, projectName: string, envName: string, openSessionID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Environment, any, {}>>;
|
|
2016
2016
|
/**
|
|
2017
2017
|
* Reads and decrypts secrets including retrieving dynamic secrets from providers.
|
|
2018
2018
|
* @summary Read an open environment
|
|
@@ -2025,7 +2025,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
2025
2025
|
* @throws {RequiredError}
|
|
2026
2026
|
* @memberof EscApi
|
|
2027
2027
|
*/
|
|
2028
|
-
readOpenEnvironmentProperty(orgName: string, projectName: string, envName: string, openSessionID: string, property: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Value, any>>;
|
|
2028
|
+
readOpenEnvironmentProperty(orgName: string, projectName: string, envName: string, openSessionID: string, property: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Value, any, {}>>;
|
|
2029
2029
|
/**
|
|
2030
2030
|
* Update environment revision tag
|
|
2031
2031
|
* @summary Update environment revision tag
|
|
@@ -2038,7 +2038,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
2038
2038
|
* @throws {RequiredError}
|
|
2039
2039
|
* @memberof EscApi
|
|
2040
2040
|
*/
|
|
2041
|
-
updateEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, tagName: string, updateEnvironmentRevisionTag: UpdateEnvironmentRevisionTag, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
2041
|
+
updateEnvironmentRevisionTag(orgName: string, projectName: string, envName: string, tagName: string, updateEnvironmentRevisionTag: UpdateEnvironmentRevisionTag, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
2042
2042
|
/**
|
|
2043
2043
|
* Update an environment tag
|
|
2044
2044
|
* @summary Update an environment tag
|
|
@@ -2051,7 +2051,7 @@ export declare class EscApi extends BaseAPI {
|
|
|
2051
2051
|
* @throws {RequiredError}
|
|
2052
2052
|
* @memberof EscApi
|
|
2053
2053
|
*/
|
|
2054
|
-
updateEnvironmentTag(orgName: string, projectName: string, envName: string, tagName: string, updateEnvironmentTag: UpdateEnvironmentTag, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentTag, any>>;
|
|
2054
|
+
updateEnvironmentTag(orgName: string, projectName: string, envName: string, tagName: string, updateEnvironmentTag: UpdateEnvironmentTag, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentTag, any, {}>>;
|
|
2055
2055
|
/**
|
|
2056
2056
|
* Validates and updates the given environment\'s definition.
|
|
2057
2057
|
* @summary Update an existing environment with Yaml file
|
|
@@ -2063,5 +2063,5 @@ export declare class EscApi extends BaseAPI {
|
|
|
2063
2063
|
* @throws {RequiredError}
|
|
2064
2064
|
* @memberof EscApi
|
|
2065
2065
|
*/
|
|
2066
|
-
updateEnvironmentYaml(orgName: string, projectName: string, envName: string, body: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDiagnostics, any>>;
|
|
2066
|
+
updateEnvironmentYaml(orgName: string, projectName: string, envName: string, body: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDiagnostics, any, {}>>;
|
|
2067
2067
|
}
|
package/esc/raw/api.js
CHANGED
|
@@ -27,7 +27,7 @@ exports.EscApi = exports.EscApiFactory = exports.EscApiFp = exports.EscApiAxiosP
|
|
|
27
27
|
* https://openapi-generator.tech
|
|
28
28
|
* Do not edit the class manually.
|
|
29
29
|
*/
|
|
30
|
-
const userAgent = 'esc-sdk/ts/v0.12.
|
|
30
|
+
const userAgent = 'esc-sdk/ts/v0.12.3';
|
|
31
31
|
const axios_1 = __importDefault(require("axios"));
|
|
32
32
|
// Some imports not used depending on template conditions
|
|
33
33
|
// @ts-ignore
|
package/esc/raw/common.d.ts
CHANGED
|
@@ -57,4 +57,4 @@ export declare const toPathString: (url: URL) => string;
|
|
|
57
57
|
*
|
|
58
58
|
* @export
|
|
59
59
|
*/
|
|
60
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
60
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/esc-sdk",
|
|
3
|
-
"version": "v0.12.
|
|
3
|
+
"version": "v0.12.3",
|
|
4
4
|
"description": "NodeJS SDK for Pulumi ESC",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"typescript": "^5.4.5"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"axios": "^1.
|
|
36
|
+
"axios": "^1.12.2",
|
|
37
37
|
"js-yaml": "^4.1.0",
|
|
38
38
|
"yaml": "^2.3.4"
|
|
39
39
|
},
|