oci-resourcesearch 2.24.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/search-details.js +2 -2
- package/lib/model/search-details.js.map +1 -1
- package/lib/request/get-resource-type-request.d.ts +1 -1
- package/lib/request/list-resource-types-request.d.ts +1 -1
- package/lib/request/search-resources-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ export declare class ResourceSearchClient {
|
|
|
61
61
|
* @param GetResourceTypeRequest
|
|
62
62
|
* @return GetResourceTypeResponse
|
|
63
63
|
* @throws OciError when an error occurs
|
|
64
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
64
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/resourcesearch/GetResourceType.ts.html |here} to see how to use GetResourceType API.
|
|
65
65
|
*/
|
|
66
66
|
getResourceType(getResourceTypeRequest: requests.GetResourceTypeRequest): Promise<responses.GetResourceTypeResponse>;
|
|
67
67
|
/**
|
|
@@ -71,7 +71,7 @@ export declare class ResourceSearchClient {
|
|
|
71
71
|
* @param ListResourceTypesRequest
|
|
72
72
|
* @return ListResourceTypesResponse
|
|
73
73
|
* @throws OciError when an error occurs
|
|
74
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
74
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/resourcesearch/ListResourceTypes.ts.html |here} to see how to use ListResourceTypes API.
|
|
75
75
|
*/
|
|
76
76
|
listResourceTypes(listResourceTypesRequest: requests.ListResourceTypesRequest): Promise<responses.ListResourceTypesResponse>;
|
|
77
77
|
/**
|
|
@@ -115,7 +115,7 @@ export declare class ResourceSearchClient {
|
|
|
115
115
|
* @param SearchResourcesRequest
|
|
116
116
|
* @return SearchResourcesResponse
|
|
117
117
|
* @throws OciError when an error occurs
|
|
118
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
118
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/resourcesearch/SearchResources.ts.html |here} to see how to use SearchResources API.
|
|
119
119
|
*/
|
|
120
120
|
searchResources(searchResourcesRequest: requests.SearchResourcesRequest): Promise<responses.SearchResourcesResponse>;
|
|
121
121
|
}
|
package/lib/client.js
CHANGED
|
@@ -135,7 +135,7 @@ class ResourceSearchClient {
|
|
|
135
135
|
* @param GetResourceTypeRequest
|
|
136
136
|
* @return GetResourceTypeResponse
|
|
137
137
|
* @throws OciError when an error occurs
|
|
138
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
138
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/resourcesearch/GetResourceType.ts.html |here} to see how to use GetResourceType API.
|
|
139
139
|
*/
|
|
140
140
|
getResourceType(getResourceTypeRequest) {
|
|
141
141
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -192,7 +192,7 @@ class ResourceSearchClient {
|
|
|
192
192
|
* @param ListResourceTypesRequest
|
|
193
193
|
* @return ListResourceTypesResponse
|
|
194
194
|
* @throws OciError when an error occurs
|
|
195
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
195
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/resourcesearch/ListResourceTypes.ts.html |here} to see how to use ListResourceTypes API.
|
|
196
196
|
*/
|
|
197
197
|
listResourceTypes(listResourceTypesRequest) {
|
|
198
198
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -297,7 +297,7 @@ class ResourceSearchClient {
|
|
|
297
297
|
* @param SearchResourcesRequest
|
|
298
298
|
* @return SearchResourcesResponse
|
|
299
299
|
* @throws OciError when an error occurs
|
|
300
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
300
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/resourcesearch/SearchResources.ts.html |here} to see how to use SearchResources API.
|
|
301
301
|
*/
|
|
302
302
|
searchResources(searchResourcesRequest) {
|
|
303
303
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -42,7 +42,7 @@ var SearchDetails;
|
|
|
42
42
|
})(MatchingContextType = SearchDetails.MatchingContextType || (SearchDetails.MatchingContextType = {}));
|
|
43
43
|
function getJsonObj(obj) {
|
|
44
44
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
45
|
-
if ("type" in obj && obj.type) {
|
|
45
|
+
if (obj && "type" in obj && obj.type) {
|
|
46
46
|
switch (obj.type) {
|
|
47
47
|
case "Structured":
|
|
48
48
|
return model.StructuredSearchDetails.getJsonObj(jsonObj, true);
|
|
@@ -57,7 +57,7 @@ var SearchDetails;
|
|
|
57
57
|
SearchDetails.getJsonObj = getJsonObj;
|
|
58
58
|
function getDeserializedJsonObj(obj) {
|
|
59
59
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
60
|
-
if ("type" in obj && obj.type) {
|
|
60
|
+
if (obj && "type" in obj && obj.type) {
|
|
61
61
|
switch (obj.type) {
|
|
62
62
|
case "Structured":
|
|
63
63
|
return model.StructuredSearchDetails.getDeserializedJsonObj(jsonObj, true);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-details.js","sourceRoot":"","sources":["../../../../../lib/resourcesearch/lib/model/search-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,aAAa,CAgD7B;AAhDD,WAAiB,aAAa;IAC5B,IAAY,mBAGX;IAHD,WAAY,mBAAmB;QAC7B,oCAAa,CAAA;QACb,gDAAyB,CAAA;IAC3B,CAAC,EAHW,mBAAmB,GAAnB,iCAAmB,KAAnB,iCAAmB,QAG9B;IAED,SAAgB,UAAU,CAAC,GAAkB;QAC3C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"search-details.js","sourceRoot":"","sources":["../../../../../lib/resourcesearch/lib/model/search-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,aAAa,CAgD7B;AAhDD,WAAiB,aAAa;IAC5B,IAAY,mBAGX;IAHD,WAAY,mBAAmB;QAC7B,oCAAa,CAAA;QACb,gDAAyB,CAAA;IAC3B,CAAC,EAHW,mBAAmB,GAAnB,iCAAmB,KAAnB,iCAAmB,QAG9B;IAED,SAAgB,UAAU,CAAC,GAAkB;QAC3C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,YAAY;oBACf,OAAO,KAAK,CAAC,uBAAuB,CAAC,UAAU,CACL,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,qBAAqB,CAAC,UAAU,CACL,OAAQ,EAC9C,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,wBAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,YAAY;oBACf,OAAO,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CACjB,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CACjB,OAAQ,EAC9C,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,oCAAsB,yBAoBrC,CAAA;AACH,CAAC,EAhDgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAgD7B"}
|
|
@@ -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/resourcesearch/GetResourceType.ts.html |here} to see how to use GetResourceTypeRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetResourceTypeRequest 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/resourcesearch/ListResourceTypes.ts.html |here} to see how to use ListResourceTypesRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListResourceTypesRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/resourcesearch/SearchResources.ts.html |here} to see how to use SearchResourcesRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface SearchResourcesRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-resourcesearch",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.27.0",
|
|
4
4
|
"description": "OCI NodeJS client for resource research 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"
|