oci-secrets 2.26.0 → 2.27.0
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/lib/client.d.ts +3 -3
- package/lib/client.js +3 -3
- package/lib/model/secret-bundle-content-details.js +2 -2
- package/lib/model/secret-bundle-content-details.js.map +1 -1
- package/lib/request/get-secret-bundle-by-name-request.d.ts +1 -1
- package/lib/request/get-secret-bundle-request.d.ts +1 -1
- package/lib/request/list-secret-bundle-versions-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ export declare class SecretsClient {
|
|
|
62
62
|
* @param GetSecretBundleRequest
|
|
63
63
|
* @return GetSecretBundleResponse
|
|
64
64
|
* @throws OciError when an error occurs
|
|
65
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
65
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/secrets/GetSecretBundle.ts.html |here} to see how to use GetSecretBundle API.
|
|
66
66
|
*/
|
|
67
67
|
getSecretBundle(getSecretBundleRequest: requests.GetSecretBundleRequest): Promise<responses.GetSecretBundleResponse>;
|
|
68
68
|
/**
|
|
@@ -73,7 +73,7 @@ export declare class SecretsClient {
|
|
|
73
73
|
* @param GetSecretBundleByNameRequest
|
|
74
74
|
* @return GetSecretBundleByNameResponse
|
|
75
75
|
* @throws OciError when an error occurs
|
|
76
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
76
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/secrets/GetSecretBundleByName.ts.html |here} to see how to use GetSecretBundleByName API.
|
|
77
77
|
*/
|
|
78
78
|
getSecretBundleByName(getSecretBundleByNameRequest: requests.GetSecretBundleByNameRequest): Promise<responses.GetSecretBundleByNameResponse>;
|
|
79
79
|
/**
|
|
@@ -82,7 +82,7 @@ export declare class SecretsClient {
|
|
|
82
82
|
* @param ListSecretBundleVersionsRequest
|
|
83
83
|
* @return ListSecretBundleVersionsResponse
|
|
84
84
|
* @throws OciError when an error occurs
|
|
85
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
85
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/secrets/ListSecretBundleVersions.ts.html |here} to see how to use ListSecretBundleVersions API.
|
|
86
86
|
*/
|
|
87
87
|
listSecretBundleVersions(listSecretBundleVersionsRequest: requests.ListSecretBundleVersionsRequest): Promise<responses.ListSecretBundleVersionsResponse>;
|
|
88
88
|
/**
|
package/lib/client.js
CHANGED
|
@@ -136,7 +136,7 @@ class SecretsClient {
|
|
|
136
136
|
* @param GetSecretBundleRequest
|
|
137
137
|
* @return GetSecretBundleResponse
|
|
138
138
|
* @throws OciError when an error occurs
|
|
139
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
139
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/secrets/GetSecretBundle.ts.html |here} to see how to use GetSecretBundle API.
|
|
140
140
|
*/
|
|
141
141
|
getSecretBundle(getSecretBundleRequest) {
|
|
142
142
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -203,7 +203,7 @@ class SecretsClient {
|
|
|
203
203
|
* @param GetSecretBundleByNameRequest
|
|
204
204
|
* @return GetSecretBundleByNameResponse
|
|
205
205
|
* @throws OciError when an error occurs
|
|
206
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
206
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/secrets/GetSecretBundleByName.ts.html |here} to see how to use GetSecretBundleByName API.
|
|
207
207
|
*/
|
|
208
208
|
getSecretBundleByName(getSecretBundleByNameRequest) {
|
|
209
209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -263,7 +263,7 @@ class SecretsClient {
|
|
|
263
263
|
* @param ListSecretBundleVersionsRequest
|
|
264
264
|
* @return ListSecretBundleVersionsResponse
|
|
265
265
|
* @throws OciError when an error occurs
|
|
266
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
266
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/secrets/ListSecretBundleVersions.ts.html |here} to see how to use ListSecretBundleVersions API.
|
|
267
267
|
*/
|
|
268
268
|
listSecretBundleVersions(listSecretBundleVersionsRequest) {
|
|
269
269
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -37,7 +37,7 @@ var SecretBundleContentDetails;
|
|
|
37
37
|
(function (SecretBundleContentDetails) {
|
|
38
38
|
function getJsonObj(obj) {
|
|
39
39
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
40
|
-
if ("contentType" in obj && obj.contentType) {
|
|
40
|
+
if (obj && "contentType" in obj && obj.contentType) {
|
|
41
41
|
switch (obj.contentType) {
|
|
42
42
|
case "BASE64":
|
|
43
43
|
return model.Base64SecretBundleContentDetails.getJsonObj(jsonObj, true);
|
|
@@ -50,7 +50,7 @@ var SecretBundleContentDetails;
|
|
|
50
50
|
SecretBundleContentDetails.getJsonObj = getJsonObj;
|
|
51
51
|
function getDeserializedJsonObj(obj) {
|
|
52
52
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
53
|
-
if ("contentType" in obj && obj.contentType) {
|
|
53
|
+
if (obj && "contentType" in obj && obj.contentType) {
|
|
54
54
|
switch (obj.contentType) {
|
|
55
55
|
case "BASE64":
|
|
56
56
|
return model.Base64SecretBundleContentDetails.getDeserializedJsonObj(jsonObj, true);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secret-bundle-content-details.js","sourceRoot":"","sources":["../../../../../lib/secrets/lib/model/secret-bundle-content-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,0BAA0B,CAiC1C;AAjCD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,aAAa,IAAI,GAAG,IAAI,GAAG,CAAC,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"secret-bundle-content-details.js","sourceRoot":"","sources":["../../../../../lib/secrets/lib/model/secret-bundle-content-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,0BAA0B,CAiC1C;AAjCD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,aAAa,IAAI,GAAG,IAAI,GAAG,CAAC,WAAW,EAAE;YAClD,QAAQ,GAAG,CAAC,WAAW,EAAE;gBACvB,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,gCAAgC,CAAC,UAAU,CACL,OAAQ,EACzD,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,WAAW,CAAC,CAAC;aACxD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,qCAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,aAAa,IAAI,GAAG,IAAI,GAAG,CAAC,WAAW,EAAE;YAClD,QAAQ,GAAG,CAAC,WAAW,EAAE;gBACvB,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,gCAAgC,CAAC,sBAAsB,CACjB,OAAQ,EACzD,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,WAAW,CAAC,CAAC;aACxD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,iDAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAiC1C"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/secrets/GetSecretBundleByName.ts.html |here} to see how to use GetSecretBundleByNameRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetSecretBundleByNameRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/secrets/GetSecretBundle.ts.html |here} to see how to use GetSecretBundleRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetSecretBundleRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/secrets/ListSecretBundleVersions.ts.html |here} to see how to use ListSecretBundleVersionsRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListSecretBundleVersionsRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-secrets",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.27.0",
|
|
4
4
|
"description": "OCI NodeJS client for Secrets Service",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"license": "(UPL-1.0 OR Apache-2.0)",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"oci-common": "2.
|
|
19
|
-
"oci-workrequests": "2.
|
|
18
|
+
"oci-common": "2.27.0",
|
|
19
|
+
"oci-workrequests": "2.27.0"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org"
|