oci-visualbuilder 2.11.1
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/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +1521 -0
- package/index.d.ts +24 -0
- package/index.js +47 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +196 -0
- package/lib/client.js +984 -0
- package/lib/client.js.map +1 -0
- package/lib/model/application-summary-collection.d.ts +28 -0
- package/lib/model/application-summary-collection.js +63 -0
- package/lib/model/application-summary-collection.js.map +1 -0
- package/lib/model/application-summary.d.ts +48 -0
- package/lib/model/application-summary.js +41 -0
- package/lib/model/application-summary.js.map +1 -0
- package/lib/model/change-vb-instance-compartment-details.d.ts +27 -0
- package/lib/model/change-vb-instance-compartment-details.js +31 -0
- package/lib/model/change-vb-instance-compartment-details.js.map +1 -0
- package/lib/model/create-custom-endpoint-details.d.ts +34 -0
- package/lib/model/create-custom-endpoint-details.js +31 -0
- package/lib/model/create-custom-endpoint-details.js.map +1 -0
- package/lib/model/create-vb-instance-details.d.ts +80 -0
- package/lib/model/create-vb-instance-details.js +75 -0
- package/lib/model/create-vb-instance-details.js.map +1 -0
- package/lib/model/custom-endpoint-details.d.ts +37 -0
- package/lib/model/custom-endpoint-details.js +31 -0
- package/lib/model/custom-endpoint-details.js.map +1 -0
- package/lib/model/index.d.ts +54 -0
- package/lib/model/index.js +77 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/request-summarized-applications-details.d.ts +27 -0
- package/lib/model/request-summarized-applications-details.js +31 -0
- package/lib/model/request-summarized-applications-details.js.map +1 -0
- package/lib/model/update-custom-endpoint-details.d.ts +34 -0
- package/lib/model/update-custom-endpoint-details.js +31 -0
- package/lib/model/update-custom-endpoint-details.js.map +1 -0
- package/lib/model/update-vb-instance-details.d.ts +67 -0
- package/lib/model/update-vb-instance-details.js +69 -0
- package/lib/model/update-vb-instance-details.js.map +1 -0
- package/lib/model/vb-instance-summary-collection.d.ts +28 -0
- package/lib/model/vb-instance-summary-collection.js +63 -0
- package/lib/model/vb-instance-summary-collection.js.map +1 -0
- package/lib/model/vb-instance-summary.d.ts +126 -0
- package/lib/model/vb-instance-summary.js +95 -0
- package/lib/model/vb-instance-summary.js.map +1 -0
- package/lib/model/vb-instance.d.ts +126 -0
- package/lib/model/vb-instance.js +95 -0
- package/lib/model/vb-instance.js.map +1 -0
- package/lib/model/work-request-error-collection.d.ts +28 -0
- package/lib/model/work-request-error-collection.js +63 -0
- package/lib/model/work-request-error-collection.js.map +1 -0
- package/lib/model/work-request-error.d.ts +35 -0
- package/lib/model/work-request-error.js +31 -0
- package/lib/model/work-request-error.js.map +1 -0
- package/lib/model/work-request-log-entry-collection.d.ts +28 -0
- package/lib/model/work-request-log-entry-collection.js +63 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -0
- package/lib/model/work-request-log-entry.d.ts +31 -0
- package/lib/model/work-request-log-entry.js +31 -0
- package/lib/model/work-request-log-entry.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +57 -0
- package/lib/model/work-request-resource.js +45 -0
- package/lib/model/work-request-resource.js.map +1 -0
- package/lib/model/work-request-summary-collection.d.ts +28 -0
- package/lib/model/work-request-summary-collection.js +63 -0
- package/lib/model/work-request-summary-collection.js.map +1 -0
- package/lib/model/work-request-summary.d.ts +98 -0
- package/lib/model/work-request-summary.js +90 -0
- package/lib/model/work-request-summary.js.map +1 -0
- package/lib/model/work-request.d.ts +98 -0
- package/lib/model/work-request.js +90 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/request/change-vb-instance-compartment-request.d.ts +50 -0
- package/lib/request/change-vb-instance-compartment-request.js +15 -0
- package/lib/request/change-vb-instance-compartment-request.js.map +1 -0
- package/lib/request/create-vb-instance-request.d.ts +37 -0
- package/lib/request/create-vb-instance-request.js +15 -0
- package/lib/request/create-vb-instance-request.js.map +1 -0
- package/lib/request/delete-vb-instance-request.d.ts +35 -0
- package/lib/request/delete-vb-instance-request.js +15 -0
- package/lib/request/delete-vb-instance-request.js.map +1 -0
- package/lib/request/get-vb-instance-request.d.ts +26 -0
- package/lib/request/get-vb-instance-request.js +15 -0
- package/lib/request/get-vb-instance-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +26 -0
- package/lib/request/get-work-request-request.js +15 -0
- package/lib/request/get-work-request-request.js.map +1 -0
- package/lib/request/index.d.ts +40 -0
- package/lib/request/index.js +39 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-vb-instances-request.d.ts +75 -0
- package/lib/request/list-vb-instances-request.js +39 -0
- package/lib/request/list-vb-instances-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +38 -0
- package/lib/request/list-work-request-errors-request.js +15 -0
- package/lib/request/list-work-request-errors-request.js.map +1 -0
- package/lib/request/list-work-request-logs-request.d.ts +38 -0
- package/lib/request/list-work-request-logs-request.js +15 -0
- package/lib/request/list-work-request-logs-request.js.map +1 -0
- package/lib/request/list-work-requests-request.d.ts +38 -0
- package/lib/request/list-work-requests-request.js +15 -0
- package/lib/request/list-work-requests-request.js.map +1 -0
- package/lib/request/request-summarized-applications-request.d.ts +50 -0
- package/lib/request/request-summarized-applications-request.js +15 -0
- package/lib/request/request-summarized-applications-request.js.map +1 -0
- package/lib/request/start-vb-instance-request.d.ts +45 -0
- package/lib/request/start-vb-instance-request.js +15 -0
- package/lib/request/start-vb-instance-request.js.map +1 -0
- package/lib/request/stop-vb-instance-request.d.ts +45 -0
- package/lib/request/stop-vb-instance-request.js +15 -0
- package/lib/request/stop-vb-instance-request.js.map +1 -0
- package/lib/request/update-vb-instance-request.d.ts +40 -0
- package/lib/request/update-vb-instance-request.js +15 -0
- package/lib/request/update-vb-instance-request.js.map +1 -0
- package/lib/response/change-vb-instance-compartment-response.d.ts +27 -0
- package/lib/response/change-vb-instance-compartment-response.js +15 -0
- package/lib/response/change-vb-instance-compartment-response.js.map +1 -0
- package/lib/response/create-vb-instance-response.d.ts +27 -0
- package/lib/response/create-vb-instance-response.js +15 -0
- package/lib/response/create-vb-instance-response.js.map +1 -0
- package/lib/response/delete-vb-instance-response.d.ts +27 -0
- package/lib/response/delete-vb-instance-response.js +15 -0
- package/lib/response/delete-vb-instance-response.js.map +1 -0
- package/lib/response/get-vb-instance-response.d.ts +30 -0
- package/lib/response/get-vb-instance-response.js +15 -0
- package/lib/response/get-vb-instance-response.js.map +1 -0
- package/lib/response/get-work-request-response.d.ts +34 -0
- package/lib/response/get-work-request-response.js +15 -0
- package/lib/response/get-work-request-response.js.map +1 -0
- package/lib/response/index.d.ts +40 -0
- package/lib/response/index.js +17 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-vb-instances-response.d.ts +36 -0
- package/lib/response/list-vb-instances-response.js +15 -0
- package/lib/response/list-vb-instances-response.js.map +1 -0
- package/lib/response/list-work-request-errors-response.d.ts +35 -0
- package/lib/response/list-work-request-errors-response.js +15 -0
- package/lib/response/list-work-request-errors-response.js.map +1 -0
- package/lib/response/list-work-request-logs-response.d.ts +35 -0
- package/lib/response/list-work-request-logs-response.js +15 -0
- package/lib/response/list-work-request-logs-response.js.map +1 -0
- package/lib/response/list-work-requests-response.d.ts +36 -0
- package/lib/response/list-work-requests-response.js +15 -0
- package/lib/response/list-work-requests-response.js.map +1 -0
- package/lib/response/request-summarized-applications-response.d.ts +30 -0
- package/lib/response/request-summarized-applications-response.js +15 -0
- package/lib/response/request-summarized-applications-response.js.map +1 -0
- package/lib/response/start-vb-instance-response.d.ts +27 -0
- package/lib/response/start-vb-instance-response.js +15 -0
- package/lib/response/start-vb-instance-response.js.map +1 -0
- package/lib/response/stop-vb-instance-response.d.ts +27 -0
- package/lib/response/stop-vb-instance-response.js +15 -0
- package/lib/response/stop-vb-instance-response.js.map +1 -0
- package/lib/response/update-vb-instance-response.d.ts +27 -0
- package/lib/response/update-vb-instance-response.js +15 -0
- package/lib/response/update-vb-instance-response.js.map +1 -0
- package/lib/vbinstance-waiter.d.ts +38 -0
- package/lib/vbinstance-waiter.js +78 -0
- package/lib/vbinstance-waiter.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-log-entry.js","sourceRoot":"","sources":["../../../../../lib/visualbuilder/lib/model/work-request-log-entry.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAmBH,IAAiB,mBAAmB,CAWnC;AAXD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAWnC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Visual Builder API
|
|
3
|
+
* Oracle Visual Builder enables developers to quickly build web and mobile applications. With a visual development environment that makes it easy to connect to Oracle data and third-party REST services, developers can build modern, consumer-grade applications in a fraction of the time it would take in other tools.
|
|
4
|
+
The Visual Builder Instance Management API allows users to create and manage a Visual Builder instance.
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20210601
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* A resource created or operated on by a work request.
|
|
17
|
+
*/
|
|
18
|
+
export interface WorkRequestResource {
|
|
19
|
+
/**
|
|
20
|
+
* The resource type the work request is affects.
|
|
21
|
+
*/
|
|
22
|
+
"entityType": string;
|
|
23
|
+
/**
|
|
24
|
+
* The way in which this resource is affected by the work tracked in the
|
|
25
|
+
* work request. A resource being created, updated, or deleted will
|
|
26
|
+
* remain in the IN_PROGRESS state until work is complete for that
|
|
27
|
+
* resource at which point it will transition to CREATED, UPDATED,
|
|
28
|
+
* or DELETED, respectively.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
"actionType": WorkRequestResource.ActionType;
|
|
32
|
+
/**
|
|
33
|
+
* The identifier of the resource the work request affects.
|
|
34
|
+
*/
|
|
35
|
+
"identifier": string;
|
|
36
|
+
/**
|
|
37
|
+
* The URI path that the user can do a GET on to access the resource metadata.
|
|
38
|
+
*/
|
|
39
|
+
"entityUri"?: string;
|
|
40
|
+
}
|
|
41
|
+
export declare namespace WorkRequestResource {
|
|
42
|
+
enum ActionType {
|
|
43
|
+
Created = "CREATED",
|
|
44
|
+
Updated = "UPDATED",
|
|
45
|
+
Stopped = "STOPPED",
|
|
46
|
+
Started = "STARTED",
|
|
47
|
+
Deleted = "DELETED",
|
|
48
|
+
InProgress = "IN_PROGRESS",
|
|
49
|
+
/**
|
|
50
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
51
|
+
* version of the SDK.
|
|
52
|
+
*/
|
|
53
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
54
|
+
}
|
|
55
|
+
function getJsonObj(obj: WorkRequestResource): object;
|
|
56
|
+
function getDeserializedJsonObj(obj: WorkRequestResource): object;
|
|
57
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Visual Builder API
|
|
4
|
+
* Oracle Visual Builder enables developers to quickly build web and mobile applications. With a visual development environment that makes it easy to connect to Oracle data and third-party REST services, developers can build modern, consumer-grade applications in a fraction of the time it would take in other tools.
|
|
5
|
+
The Visual Builder Instance Management API allows users to create and manage a Visual Builder instance.
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20210601
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.WorkRequestResource = void 0;
|
|
18
|
+
var WorkRequestResource;
|
|
19
|
+
(function (WorkRequestResource) {
|
|
20
|
+
let ActionType;
|
|
21
|
+
(function (ActionType) {
|
|
22
|
+
ActionType["Created"] = "CREATED";
|
|
23
|
+
ActionType["Updated"] = "UPDATED";
|
|
24
|
+
ActionType["Stopped"] = "STOPPED";
|
|
25
|
+
ActionType["Started"] = "STARTED";
|
|
26
|
+
ActionType["Deleted"] = "DELETED";
|
|
27
|
+
ActionType["InProgress"] = "IN_PROGRESS";
|
|
28
|
+
/**
|
|
29
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
30
|
+
* version of the SDK.
|
|
31
|
+
*/
|
|
32
|
+
ActionType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
33
|
+
})(ActionType = WorkRequestResource.ActionType || (WorkRequestResource.ActionType = {}));
|
|
34
|
+
function getJsonObj(obj) {
|
|
35
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
36
|
+
return jsonObj;
|
|
37
|
+
}
|
|
38
|
+
WorkRequestResource.getJsonObj = getJsonObj;
|
|
39
|
+
function getDeserializedJsonObj(obj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
41
|
+
return jsonObj;
|
|
42
|
+
}
|
|
43
|
+
WorkRequestResource.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
44
|
+
})(WorkRequestResource = exports.WorkRequestResource || (exports.WorkRequestResource = {}));
|
|
45
|
+
//# sourceMappingURL=work-request-resource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-resource.js","sourceRoot":"","sources":["../../../../../lib/visualbuilder/lib/model/work-request-resource.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAgCH,IAAiB,mBAAmB,CAyBnC;AAzBD,WAAiB,mBAAmB;IAClC,IAAY,UAYX;IAZD,WAAY,UAAU;QACpB,iCAAmB,CAAA;QACnB,iCAAmB,CAAA;QACnB,iCAAmB,CAAA;QACnB,iCAAmB,CAAA;QACnB,iCAAmB,CAAA;QACnB,wCAA0B,CAAA;QAC1B;;;WAGG;QACH,4CAA8B,CAAA;IAChC,CAAC,EAZW,UAAU,GAAV,8BAAU,KAAV,8BAAU,QAYrB;IAED,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0CAAsB,yBAIrC,CAAA;AACH,CAAC,EAzBgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAyBnC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Visual Builder API
|
|
3
|
+
* Oracle Visual Builder enables developers to quickly build web and mobile applications. With a visual development environment that makes it easy to connect to Oracle data and third-party REST services, developers can build modern, consumer-grade applications in a fraction of the time it would take in other tools.
|
|
4
|
+
The Visual Builder Instance Management API allows users to create and manage a Visual Builder instance.
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20210601
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
14
|
+
*/
|
|
15
|
+
import * as model from "../model";
|
|
16
|
+
/**
|
|
17
|
+
* Result of a WorkRequest Summary request. Contains WorkRequestSummary items.
|
|
18
|
+
*/
|
|
19
|
+
export interface WorkRequestSummaryCollection {
|
|
20
|
+
/**
|
|
21
|
+
* The collection of WorkRequestSummary objects.
|
|
22
|
+
*/
|
|
23
|
+
"items": Array<model.WorkRequestSummary>;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace WorkRequestSummaryCollection {
|
|
26
|
+
function getJsonObj(obj: WorkRequestSummaryCollection): object;
|
|
27
|
+
function getDeserializedJsonObj(obj: WorkRequestSummaryCollection): object;
|
|
28
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Visual Builder API
|
|
4
|
+
* Oracle Visual Builder enables developers to quickly build web and mobile applications. With a visual development environment that makes it easy to connect to Oracle data and third-party REST services, developers can build modern, consumer-grade applications in a fraction of the time it would take in other tools.
|
|
5
|
+
The Visual Builder Instance Management API allows users to create and manage a Visual Builder instance.
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20210601
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.WorkRequestSummaryCollection = void 0;
|
|
37
|
+
const model = __importStar(require("../model"));
|
|
38
|
+
var WorkRequestSummaryCollection;
|
|
39
|
+
(function (WorkRequestSummaryCollection) {
|
|
40
|
+
function getJsonObj(obj) {
|
|
41
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
42
|
+
"items": obj.items
|
|
43
|
+
? obj.items.map(item => {
|
|
44
|
+
return model.WorkRequestSummary.getJsonObj(item);
|
|
45
|
+
})
|
|
46
|
+
: undefined
|
|
47
|
+
});
|
|
48
|
+
return jsonObj;
|
|
49
|
+
}
|
|
50
|
+
WorkRequestSummaryCollection.getJsonObj = getJsonObj;
|
|
51
|
+
function getDeserializedJsonObj(obj) {
|
|
52
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
53
|
+
"items": obj.items
|
|
54
|
+
? obj.items.map(item => {
|
|
55
|
+
return model.WorkRequestSummary.getDeserializedJsonObj(item);
|
|
56
|
+
})
|
|
57
|
+
: undefined
|
|
58
|
+
});
|
|
59
|
+
return jsonObj;
|
|
60
|
+
}
|
|
61
|
+
WorkRequestSummaryCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
62
|
+
})(WorkRequestSummaryCollection = exports.WorkRequestSummaryCollection || (exports.WorkRequestSummaryCollection = {}));
|
|
63
|
+
//# sourceMappingURL=work-request-summary-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-summary-collection.js","sourceRoot":"","sources":["../../../../../lib/visualbuilder/lib/model/work-request-summary-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,4BAA4B,CA6B5C;AA7BD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACnD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC/D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA6B5C"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Visual Builder API
|
|
3
|
+
* Oracle Visual Builder enables developers to quickly build web and mobile applications. With a visual development environment that makes it easy to connect to Oracle data and third-party REST services, developers can build modern, consumer-grade applications in a fraction of the time it would take in other tools.
|
|
4
|
+
The Visual Builder Instance Management API allows users to create and manage a Visual Builder instance.
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20210601
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
14
|
+
*/
|
|
15
|
+
import * as model from "../model";
|
|
16
|
+
/**
|
|
17
|
+
* A description of work request status.
|
|
18
|
+
*/
|
|
19
|
+
export interface WorkRequestSummary {
|
|
20
|
+
/**
|
|
21
|
+
* Type of the work request.
|
|
22
|
+
*/
|
|
23
|
+
"operationType": WorkRequestSummary.OperationType;
|
|
24
|
+
/**
|
|
25
|
+
* Status of current work request.
|
|
26
|
+
*/
|
|
27
|
+
"status": WorkRequestSummary.Status;
|
|
28
|
+
/**
|
|
29
|
+
* The id of the work request.
|
|
30
|
+
*/
|
|
31
|
+
"id": string;
|
|
32
|
+
/**
|
|
33
|
+
* The ocid of the compartment that contains the work request. Work
|
|
34
|
+
* requests should be scoped to the same compartment as the resource the
|
|
35
|
+
* work request affects. If the work request affects multiple resources,
|
|
36
|
+
* and those resources are not in the same compartment, it is up to the
|
|
37
|
+
* service team to pick the primary resource whose compartment should be
|
|
38
|
+
* used.
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
"compartmentId": string;
|
|
42
|
+
/**
|
|
43
|
+
* The resources affected by this work request.
|
|
44
|
+
*/
|
|
45
|
+
"resources": Array<model.WorkRequestResource>;
|
|
46
|
+
/**
|
|
47
|
+
* Percentage of the request completed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
48
|
+
*/
|
|
49
|
+
"percentComplete": number;
|
|
50
|
+
/**
|
|
51
|
+
* The date and time the request was created, as described in
|
|
52
|
+
* [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29.
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
"timeAccepted": Date;
|
|
56
|
+
/**
|
|
57
|
+
* The date and time the request was started, as described in
|
|
58
|
+
* [RFC 3339](https://tools.ietf.org/rfc/rfc3339),
|
|
59
|
+
* section 14.29.
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
"timeStarted"?: Date;
|
|
63
|
+
/**
|
|
64
|
+
* The date and time the object was finished, as described in
|
|
65
|
+
* [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
"timeFinished"?: Date;
|
|
69
|
+
}
|
|
70
|
+
export declare namespace WorkRequestSummary {
|
|
71
|
+
enum OperationType {
|
|
72
|
+
CreateVbInstance = "CREATE_VB_INSTANCE",
|
|
73
|
+
UpdateVbInstance = "UPDATE_VB_INSTANCE",
|
|
74
|
+
StopVbInstance = "STOP_VB_INSTANCE",
|
|
75
|
+
StartVbInstance = "START_VB_INSTANCE",
|
|
76
|
+
DeleteVbInstance = "DELETE_VB_INSTANCE",
|
|
77
|
+
/**
|
|
78
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
79
|
+
* version of the SDK.
|
|
80
|
+
*/
|
|
81
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
82
|
+
}
|
|
83
|
+
enum Status {
|
|
84
|
+
Accepted = "ACCEPTED",
|
|
85
|
+
InProgress = "IN_PROGRESS",
|
|
86
|
+
Failed = "FAILED",
|
|
87
|
+
Succeeded = "SUCCEEDED",
|
|
88
|
+
Canceling = "CANCELING",
|
|
89
|
+
Canceled = "CANCELED",
|
|
90
|
+
/**
|
|
91
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
92
|
+
* version of the SDK.
|
|
93
|
+
*/
|
|
94
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
95
|
+
}
|
|
96
|
+
function getJsonObj(obj: WorkRequestSummary): object;
|
|
97
|
+
function getDeserializedJsonObj(obj: WorkRequestSummary): object;
|
|
98
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Visual Builder API
|
|
4
|
+
* Oracle Visual Builder enables developers to quickly build web and mobile applications. With a visual development environment that makes it easy to connect to Oracle data and third-party REST services, developers can build modern, consumer-grade applications in a fraction of the time it would take in other tools.
|
|
5
|
+
The Visual Builder Instance Management API allows users to create and manage a Visual Builder instance.
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20210601
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.WorkRequestSummary = void 0;
|
|
37
|
+
const model = __importStar(require("../model"));
|
|
38
|
+
var WorkRequestSummary;
|
|
39
|
+
(function (WorkRequestSummary) {
|
|
40
|
+
let OperationType;
|
|
41
|
+
(function (OperationType) {
|
|
42
|
+
OperationType["CreateVbInstance"] = "CREATE_VB_INSTANCE";
|
|
43
|
+
OperationType["UpdateVbInstance"] = "UPDATE_VB_INSTANCE";
|
|
44
|
+
OperationType["StopVbInstance"] = "STOP_VB_INSTANCE";
|
|
45
|
+
OperationType["StartVbInstance"] = "START_VB_INSTANCE";
|
|
46
|
+
OperationType["DeleteVbInstance"] = "DELETE_VB_INSTANCE";
|
|
47
|
+
/**
|
|
48
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
49
|
+
* version of the SDK.
|
|
50
|
+
*/
|
|
51
|
+
OperationType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
52
|
+
})(OperationType = WorkRequestSummary.OperationType || (WorkRequestSummary.OperationType = {}));
|
|
53
|
+
let Status;
|
|
54
|
+
(function (Status) {
|
|
55
|
+
Status["Accepted"] = "ACCEPTED";
|
|
56
|
+
Status["InProgress"] = "IN_PROGRESS";
|
|
57
|
+
Status["Failed"] = "FAILED";
|
|
58
|
+
Status["Succeeded"] = "SUCCEEDED";
|
|
59
|
+
Status["Canceling"] = "CANCELING";
|
|
60
|
+
Status["Canceled"] = "CANCELED";
|
|
61
|
+
/**
|
|
62
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
63
|
+
* version of the SDK.
|
|
64
|
+
*/
|
|
65
|
+
Status["UnknownValue"] = "UNKNOWN_VALUE";
|
|
66
|
+
})(Status = WorkRequestSummary.Status || (WorkRequestSummary.Status = {}));
|
|
67
|
+
function getJsonObj(obj) {
|
|
68
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
69
|
+
"resources": obj.resources
|
|
70
|
+
? obj.resources.map(item => {
|
|
71
|
+
return model.WorkRequestResource.getJsonObj(item);
|
|
72
|
+
})
|
|
73
|
+
: undefined
|
|
74
|
+
});
|
|
75
|
+
return jsonObj;
|
|
76
|
+
}
|
|
77
|
+
WorkRequestSummary.getJsonObj = getJsonObj;
|
|
78
|
+
function getDeserializedJsonObj(obj) {
|
|
79
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
80
|
+
"resources": obj.resources
|
|
81
|
+
? obj.resources.map(item => {
|
|
82
|
+
return model.WorkRequestResource.getDeserializedJsonObj(item);
|
|
83
|
+
})
|
|
84
|
+
: undefined
|
|
85
|
+
});
|
|
86
|
+
return jsonObj;
|
|
87
|
+
}
|
|
88
|
+
WorkRequestSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
89
|
+
})(WorkRequestSummary = exports.WorkRequestSummary || (exports.WorkRequestSummary = {}));
|
|
90
|
+
//# sourceMappingURL=work-request-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-summary.js","sourceRoot":"","sources":["../../../../../lib/visualbuilder/lib/model/work-request-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA0DlC,IAAiB,kBAAkB,CAwDlC;AAxDD,WAAiB,kBAAkB;IACjC,IAAY,aAWX;IAXD,WAAY,aAAa;QACvB,wDAAuC,CAAA;QACvC,wDAAuC,CAAA;QACvC,oDAAmC,CAAA;QACnC,sDAAqC,CAAA;QACrC,wDAAuC,CAAA;QACvC;;;WAGG;QACH,+CAA8B,CAAA;IAChC,CAAC,EAXW,aAAa,GAAb,gCAAa,KAAb,gCAAa,QAWxB;IAED,IAAY,MAYX;IAZD,WAAY,MAAM;QAChB,+BAAqB,CAAA;QACrB,oCAA0B,CAAA;QAC1B,2BAAiB,CAAA;QACjB,iCAAuB,CAAA;QACvB,iCAAuB,CAAA;QACvB,+BAAqB,CAAA;QACrB;;;WAGG;QACH,wCAA8B,CAAA;IAChC,CAAC,EAZW,MAAM,GAAN,yBAAM,KAAN,yBAAM,QAYjB;IAED,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,6BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yCAAsB,yBAarC,CAAA;AACH,CAAC,EAxDgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAwDlC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Visual Builder API
|
|
3
|
+
* Oracle Visual Builder enables developers to quickly build web and mobile applications. With a visual development environment that makes it easy to connect to Oracle data and third-party REST services, developers can build modern, consumer-grade applications in a fraction of the time it would take in other tools.
|
|
4
|
+
The Visual Builder Instance Management API allows users to create and manage a Visual Builder instance.
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20210601
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
14
|
+
*/
|
|
15
|
+
import * as model from "../model";
|
|
16
|
+
/**
|
|
17
|
+
* A description of work request status.
|
|
18
|
+
*/
|
|
19
|
+
export interface WorkRequest {
|
|
20
|
+
/**
|
|
21
|
+
* Type of the work request.
|
|
22
|
+
*/
|
|
23
|
+
"operationType": WorkRequest.OperationType;
|
|
24
|
+
/**
|
|
25
|
+
* Status of current work request.
|
|
26
|
+
*/
|
|
27
|
+
"status": WorkRequest.Status;
|
|
28
|
+
/**
|
|
29
|
+
* The id of the work request.
|
|
30
|
+
*/
|
|
31
|
+
"id": string;
|
|
32
|
+
/**
|
|
33
|
+
* The ocid of the compartment that contains the work request. Work
|
|
34
|
+
* requests should be scoped to the same compartment as the resource the
|
|
35
|
+
* work request affects. If the work request affects multiple resources,
|
|
36
|
+
* and those resources are not in the same compartment, it is up to the
|
|
37
|
+
* service team to pick the primary resource whose compartment should be
|
|
38
|
+
* used.
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
"compartmentId": string;
|
|
42
|
+
/**
|
|
43
|
+
* The resources affected by this work request.
|
|
44
|
+
*/
|
|
45
|
+
"resources": Array<model.WorkRequestResource>;
|
|
46
|
+
/**
|
|
47
|
+
* Percentage of the request completed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
48
|
+
*/
|
|
49
|
+
"percentComplete": number;
|
|
50
|
+
/**
|
|
51
|
+
* The date and time the request was created, as described in
|
|
52
|
+
* [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29.
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
"timeAccepted": Date;
|
|
56
|
+
/**
|
|
57
|
+
* The date and time the request was started, as described in
|
|
58
|
+
* [RFC 3339](https://tools.ietf.org/rfc/rfc3339),
|
|
59
|
+
* section 14.29.
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
"timeStarted"?: Date;
|
|
63
|
+
/**
|
|
64
|
+
* The date and time the object was finished, as described in
|
|
65
|
+
* [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
"timeFinished"?: Date;
|
|
69
|
+
}
|
|
70
|
+
export declare namespace WorkRequest {
|
|
71
|
+
enum OperationType {
|
|
72
|
+
CreateVbInstance = "CREATE_VB_INSTANCE",
|
|
73
|
+
UpdateVbInstance = "UPDATE_VB_INSTANCE",
|
|
74
|
+
StopVbInstance = "STOP_VB_INSTANCE",
|
|
75
|
+
StartVbInstance = "START_VB_INSTANCE",
|
|
76
|
+
DeleteVbInstance = "DELETE_VB_INSTANCE",
|
|
77
|
+
/**
|
|
78
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
79
|
+
* version of the SDK.
|
|
80
|
+
*/
|
|
81
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
82
|
+
}
|
|
83
|
+
enum Status {
|
|
84
|
+
Accepted = "ACCEPTED",
|
|
85
|
+
InProgress = "IN_PROGRESS",
|
|
86
|
+
Failed = "FAILED",
|
|
87
|
+
Succeeded = "SUCCEEDED",
|
|
88
|
+
Canceling = "CANCELING",
|
|
89
|
+
Canceled = "CANCELED",
|
|
90
|
+
/**
|
|
91
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
92
|
+
* version of the SDK.
|
|
93
|
+
*/
|
|
94
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
95
|
+
}
|
|
96
|
+
function getJsonObj(obj: WorkRequest): object;
|
|
97
|
+
function getDeserializedJsonObj(obj: WorkRequest): object;
|
|
98
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Visual Builder API
|
|
4
|
+
* Oracle Visual Builder enables developers to quickly build web and mobile applications. With a visual development environment that makes it easy to connect to Oracle data and third-party REST services, developers can build modern, consumer-grade applications in a fraction of the time it would take in other tools.
|
|
5
|
+
The Visual Builder Instance Management API allows users to create and manage a Visual Builder instance.
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20210601
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.WorkRequest = void 0;
|
|
37
|
+
const model = __importStar(require("../model"));
|
|
38
|
+
var WorkRequest;
|
|
39
|
+
(function (WorkRequest) {
|
|
40
|
+
let OperationType;
|
|
41
|
+
(function (OperationType) {
|
|
42
|
+
OperationType["CreateVbInstance"] = "CREATE_VB_INSTANCE";
|
|
43
|
+
OperationType["UpdateVbInstance"] = "UPDATE_VB_INSTANCE";
|
|
44
|
+
OperationType["StopVbInstance"] = "STOP_VB_INSTANCE";
|
|
45
|
+
OperationType["StartVbInstance"] = "START_VB_INSTANCE";
|
|
46
|
+
OperationType["DeleteVbInstance"] = "DELETE_VB_INSTANCE";
|
|
47
|
+
/**
|
|
48
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
49
|
+
* version of the SDK.
|
|
50
|
+
*/
|
|
51
|
+
OperationType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
52
|
+
})(OperationType = WorkRequest.OperationType || (WorkRequest.OperationType = {}));
|
|
53
|
+
let Status;
|
|
54
|
+
(function (Status) {
|
|
55
|
+
Status["Accepted"] = "ACCEPTED";
|
|
56
|
+
Status["InProgress"] = "IN_PROGRESS";
|
|
57
|
+
Status["Failed"] = "FAILED";
|
|
58
|
+
Status["Succeeded"] = "SUCCEEDED";
|
|
59
|
+
Status["Canceling"] = "CANCELING";
|
|
60
|
+
Status["Canceled"] = "CANCELED";
|
|
61
|
+
/**
|
|
62
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
63
|
+
* version of the SDK.
|
|
64
|
+
*/
|
|
65
|
+
Status["UnknownValue"] = "UNKNOWN_VALUE";
|
|
66
|
+
})(Status = WorkRequest.Status || (WorkRequest.Status = {}));
|
|
67
|
+
function getJsonObj(obj) {
|
|
68
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
69
|
+
"resources": obj.resources
|
|
70
|
+
? obj.resources.map(item => {
|
|
71
|
+
return model.WorkRequestResource.getJsonObj(item);
|
|
72
|
+
})
|
|
73
|
+
: undefined
|
|
74
|
+
});
|
|
75
|
+
return jsonObj;
|
|
76
|
+
}
|
|
77
|
+
WorkRequest.getJsonObj = getJsonObj;
|
|
78
|
+
function getDeserializedJsonObj(obj) {
|
|
79
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
80
|
+
"resources": obj.resources
|
|
81
|
+
? obj.resources.map(item => {
|
|
82
|
+
return model.WorkRequestResource.getDeserializedJsonObj(item);
|
|
83
|
+
})
|
|
84
|
+
: undefined
|
|
85
|
+
});
|
|
86
|
+
return jsonObj;
|
|
87
|
+
}
|
|
88
|
+
WorkRequest.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
89
|
+
})(WorkRequest = exports.WorkRequest || (exports.WorkRequest = {}));
|
|
90
|
+
//# sourceMappingURL=work-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request.js","sourceRoot":"","sources":["../../../../../lib/visualbuilder/lib/model/work-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA0DlC,IAAiB,WAAW,CAwD3B;AAxDD,WAAiB,WAAW;IAC1B,IAAY,aAWX;IAXD,WAAY,aAAa;QACvB,wDAAuC,CAAA;QACvC,wDAAuC,CAAA;QACvC,oDAAmC,CAAA;QACnC,sDAAqC,CAAA;QACrC,wDAAuC,CAAA;QACvC;;;WAGG;QACH,+CAA8B,CAAA;IAChC,CAAC,EAXW,aAAa,GAAb,yBAAa,KAAb,yBAAa,QAWxB;IAED,IAAY,MAYX;IAZD,WAAY,MAAM;QAChB,+BAAqB,CAAA;QACrB,oCAA0B,CAAA;QAC1B,2BAAiB,CAAA;QACjB,iCAAuB,CAAA;QACvB,iCAAuB,CAAA;QACvB,+BAAqB,CAAA;QACrB;;;WAGG;QACH,wCAA8B,CAAA;IAChC,CAAC,EAZW,MAAM,GAAN,kBAAM,KAAN,kBAAM,QAYjB;IAED,SAAgB,UAAU,CAAC,GAAgB;QACzC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgB;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,kCAAsB,yBAarC,CAAA;AACH,CAAC,EAxDgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAwD3B"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210601
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.1/visualbuilder/ChangeVbInstanceCompartment.ts.html |here} to see how to use ChangeVbInstanceCompartmentRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface ChangeVbInstanceCompartmentRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Unique Vb Instance identifier.
|
|
21
|
+
*/
|
|
22
|
+
"vbInstanceId": string;
|
|
23
|
+
/**
|
|
24
|
+
* Details for the update vb instance
|
|
25
|
+
*/
|
|
26
|
+
"changeVbInstanceCompartmentDetails": model.ChangeVbInstanceCompartmentDetails;
|
|
27
|
+
/**
|
|
28
|
+
* For optimistic concurrency control. In the PUT or DELETE call
|
|
29
|
+
* for a resource, set the `if-match` parameter to the value of the
|
|
30
|
+
* etag from a previous GET or POST response for that resource.
|
|
31
|
+
* The resource will be updated or deleted only if the etag you
|
|
32
|
+
* provide matches the resource's current etag value.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"ifMatch"?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The client request ID for tracing.
|
|
38
|
+
*/
|
|
39
|
+
"opcRequestId"?: string;
|
|
40
|
+
/**
|
|
41
|
+
* A token that uniquely identifies a request so it can be retried in case
|
|
42
|
+
* of a timeout or server error without risk of executing that same action
|
|
43
|
+
* again. Retry tokens expire after 24 hours, but can be invalidated before
|
|
44
|
+
* then due to conflicting operations. For example, if a resource has been
|
|
45
|
+
* deleted and purged from the system, then a retry of the original creation
|
|
46
|
+
* request might be rejected.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
"opcRetryToken"?: string;
|
|
50
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210601
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=change-vb-instance-compartment-request.js.map
|