oci-aidocument 2.91.1 → 2.93.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 +36 -0
- package/lib/client.js +290 -6
- package/lib/client.js.map +1 -1
- package/lib/model/add-model-lock-details.d.ts +37 -0
- package/lib/model/add-model-lock-details.js +34 -0
- package/lib/model/add-model-lock-details.js.map +1 -0
- package/lib/model/add-project-lock-details.d.ts +37 -0
- package/lib/model/add-project-lock-details.js +34 -0
- package/lib/model/add-project-lock-details.js.map +1 -0
- package/lib/model/detected-document-type.d.ts +0 -4
- package/lib/model/detected-document-type.js.map +1 -1
- package/lib/model/document-classification-feature.d.ts +0 -4
- package/lib/model/document-classification-feature.js.map +1 -1
- package/lib/model/document-key-value-extraction-feature.d.ts +0 -4
- package/lib/model/document-key-value-extraction-feature.js.map +1 -1
- package/lib/model/document-type.d.ts +1 -1
- package/lib/model/document-type.js +1 -1
- package/lib/model/document-type.js.map +1 -1
- package/lib/model/index.d.ts +10 -0
- package/lib/model/index.js +12 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/model-summary.d.ts +4 -0
- package/lib/model/model-summary.js +10 -0
- package/lib/model/model-summary.js.map +1 -1
- package/lib/model/model.d.ts +4 -0
- package/lib/model/model.js +12 -2
- package/lib/model/model.js.map +1 -1
- package/lib/model/output-location.d.ts +1 -1
- package/lib/model/project.d.ts +5 -0
- package/lib/model/project.js +34 -2
- package/lib/model/project.js.map +1 -1
- package/lib/model/remove-model-lock-details.d.ts +29 -0
- package/lib/model/remove-model-lock-details.js +34 -0
- package/lib/model/remove-model-lock-details.js.map +1 -0
- package/lib/model/remove-project-lock-details.d.ts +29 -0
- package/lib/model/remove-project-lock-details.js +34 -0
- package/lib/model/remove-project-lock-details.js.map +1 -0
- package/lib/model/resource-lock.d.ts +56 -0
- package/lib/model/resource-lock.js +39 -0
- package/lib/model/resource-lock.js.map +1 -0
- package/lib/request/add-model-lock-request.d.ts +54 -0
- package/lib/request/add-model-lock-request.js +15 -0
- package/lib/request/add-model-lock-request.js.map +1 -0
- package/lib/request/add-project-lock-request.d.ts +54 -0
- package/lib/request/add-project-lock-request.js +15 -0
- package/lib/request/add-project-lock-request.js.map +1 -0
- package/lib/request/change-model-compartment-request.d.ts +4 -0
- package/lib/request/change-project-compartment-request.d.ts +4 -0
- package/lib/request/delete-model-request.d.ts +4 -0
- package/lib/request/delete-project-request.d.ts +4 -0
- package/lib/request/index.d.ts +8 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/remove-model-lock-request.d.ts +54 -0
- package/lib/request/remove-model-lock-request.js +15 -0
- package/lib/request/remove-model-lock-request.js.map +1 -0
- package/lib/request/remove-project-lock-request.d.ts +54 -0
- package/lib/request/remove-project-lock-request.js +15 -0
- package/lib/request/remove-project-lock-request.js.map +1 -0
- package/lib/request/update-model-request.d.ts +4 -0
- package/lib/request/update-project-request.d.ts +4 -0
- package/lib/response/add-model-lock-response.d.ts +30 -0
- package/lib/response/add-model-lock-response.js +15 -0
- package/lib/response/add-model-lock-response.js.map +1 -0
- package/lib/response/add-project-lock-response.d.ts +30 -0
- package/lib/response/add-project-lock-response.js +15 -0
- package/lib/response/add-project-lock-response.js.map +1 -0
- package/lib/response/index.d.ts +8 -0
- package/lib/response/remove-model-lock-response.d.ts +30 -0
- package/lib/response/remove-model-lock-response.js +15 -0
- package/lib/response/remove-model-lock-response.js.map +1 -0
- package/lib/response/remove-project-lock-response.d.ts +30 -0
- package/lib/response/remove-project-lock-response.js +15 -0
- package/lib/response/remove-project-lock-response.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Document Understanding API
|
|
4
|
+
* Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
|
|
5
|
+
* OpenAPI spec version: 20221109
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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
|
+
exports.RemoveProjectLockDetails = void 0;
|
|
16
|
+
var RemoveProjectLockDetails;
|
|
17
|
+
(function (RemoveProjectLockDetails) {
|
|
18
|
+
let Type;
|
|
19
|
+
(function (Type) {
|
|
20
|
+
Type["Full"] = "FULL";
|
|
21
|
+
Type["Delete"] = "DELETE";
|
|
22
|
+
})(Type = RemoveProjectLockDetails.Type || (RemoveProjectLockDetails.Type = {}));
|
|
23
|
+
function getJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
RemoveProjectLockDetails.getJsonObj = getJsonObj;
|
|
28
|
+
function getDeserializedJsonObj(obj) {
|
|
29
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
30
|
+
return jsonObj;
|
|
31
|
+
}
|
|
32
|
+
RemoveProjectLockDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
33
|
+
})(RemoveProjectLockDetails = exports.RemoveProjectLockDetails || (exports.RemoveProjectLockDetails = {}));
|
|
34
|
+
//# sourceMappingURL=remove-project-lock-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-project-lock-details.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/remove-project-lock-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAeH,IAAiB,wBAAwB,CAgBxC;AAhBD,WAAiB,wBAAwB;IACvC,IAAY,IAGX;IAHD,WAAY,IAAI;QACd,qBAAa,CAAA;QACb,yBAAiB,CAAA;IACnB,CAAC,EAHW,IAAI,GAAJ,6BAAI,KAAJ,6BAAI,QAGf;IAED,SAAgB,UAAU,CAAC,GAA6B;QACtD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6B;QAClE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+CAAsB,yBAIrC,CAAA;AACH,CAAC,EAhBgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAgBxC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Document Understanding API
|
|
3
|
+
* Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
|
|
4
|
+
* OpenAPI spec version: 20221109
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, 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
|
+
/**
|
|
14
|
+
* Resource locks prevent certain APIs from being called for the resource.
|
|
15
|
+
* A full lock prevents both updating and deleting the resource. A lock delete
|
|
16
|
+
* prevents deleting the resource.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface ResourceLock {
|
|
20
|
+
/**
|
|
21
|
+
* Lock type.
|
|
22
|
+
*/
|
|
23
|
+
"type": ResourceLock.Type;
|
|
24
|
+
/**
|
|
25
|
+
* The lock compartment ID.
|
|
26
|
+
*/
|
|
27
|
+
"compartmentId": string;
|
|
28
|
+
/**
|
|
29
|
+
* The resource ID that is locking this resource. Indicates that deleting this resource removes the lock.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
"relatedResourceId"?: string;
|
|
33
|
+
/**
|
|
34
|
+
* A message added by the lock creator. The message typically gives an
|
|
35
|
+
* indication of why the resource is locked.
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
"message"?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Indicates when the lock was created, in the format defined by RFC 3339.
|
|
41
|
+
*/
|
|
42
|
+
"timeCreated"?: Date;
|
|
43
|
+
}
|
|
44
|
+
export declare namespace ResourceLock {
|
|
45
|
+
enum Type {
|
|
46
|
+
Full = "FULL",
|
|
47
|
+
Delete = "DELETE",
|
|
48
|
+
/**
|
|
49
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
50
|
+
* version of the SDK.
|
|
51
|
+
*/
|
|
52
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
53
|
+
}
|
|
54
|
+
function getJsonObj(obj: ResourceLock): object;
|
|
55
|
+
function getDeserializedJsonObj(obj: ResourceLock): object;
|
|
56
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Document Understanding API
|
|
4
|
+
* Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
|
|
5
|
+
* OpenAPI spec version: 20221109
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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
|
+
exports.ResourceLock = void 0;
|
|
16
|
+
var ResourceLock;
|
|
17
|
+
(function (ResourceLock) {
|
|
18
|
+
let Type;
|
|
19
|
+
(function (Type) {
|
|
20
|
+
Type["Full"] = "FULL";
|
|
21
|
+
Type["Delete"] = "DELETE";
|
|
22
|
+
/**
|
|
23
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
24
|
+
* version of the SDK.
|
|
25
|
+
*/
|
|
26
|
+
Type["UnknownValue"] = "UNKNOWN_VALUE";
|
|
27
|
+
})(Type = ResourceLock.Type || (ResourceLock.Type = {}));
|
|
28
|
+
function getJsonObj(obj) {
|
|
29
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
30
|
+
return jsonObj;
|
|
31
|
+
}
|
|
32
|
+
ResourceLock.getJsonObj = getJsonObj;
|
|
33
|
+
function getDeserializedJsonObj(obj) {
|
|
34
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
35
|
+
return jsonObj;
|
|
36
|
+
}
|
|
37
|
+
ResourceLock.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
38
|
+
})(ResourceLock = exports.ResourceLock || (exports.ResourceLock = {}));
|
|
39
|
+
//# sourceMappingURL=resource-lock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-lock.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/resource-lock.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAqCH,IAAiB,YAAY,CAqB5B;AArBD,WAAiB,YAAY;IAC3B,IAAY,IAQX;IARD,WAAY,IAAI;QACd,qBAAa,CAAA;QACb,yBAAiB,CAAA;QACjB;;;WAGG;QACH,sCAA8B,CAAA;IAChC,CAAC,EARW,IAAI,GAAJ,iBAAI,KAAJ,iBAAI,QAQf;IAED,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mCAAsB,yBAIrC,CAAA;AACH,CAAC,EArBgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAqB5B"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20221109
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, 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/latest/aidocument/AddModelLock.ts.html |here} to see how to use AddModelLockRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface AddModelLockRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* A unique model identifier.
|
|
21
|
+
*/
|
|
22
|
+
"modelId": string;
|
|
23
|
+
/**
|
|
24
|
+
* Request payload to add lock to the resource.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"addModelLockDetails": model.AddModelLockDetails;
|
|
28
|
+
/**
|
|
29
|
+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
30
|
+
* server error without the risk of executing that same action again. Retry tokens expire after 24
|
|
31
|
+
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
32
|
+
* has been deleted and purged from the system, then a retry of the original creation request
|
|
33
|
+
* might be rejected.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
"opcRetryToken"?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The client request ID for tracing.
|
|
39
|
+
*/
|
|
40
|
+
"opcRequestId"?: string;
|
|
41
|
+
/**
|
|
42
|
+
* For optimistic concurrency control. In the PUT or DELETE call
|
|
43
|
+
* for a resource, set the {@code if-match} parameter to the value of the
|
|
44
|
+
* etag from a previous GET or POST response for that resource.
|
|
45
|
+
* The resource will be updated or deleted only if the etag you
|
|
46
|
+
* provide matches the resource's current etag value.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
"ifMatch"?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Whether to override locks (if any exist).
|
|
52
|
+
*/
|
|
53
|
+
"isLockOverride"?: boolean;
|
|
54
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20221109
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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=add-model-lock-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-model-lock-request.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/request/add-model-lock-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20221109
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, 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/latest/aidocument/AddProjectLock.ts.html |here} to see how to use AddProjectLockRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface AddProjectLockRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* A unique project identifier.
|
|
21
|
+
*/
|
|
22
|
+
"projectId": string;
|
|
23
|
+
/**
|
|
24
|
+
* Request payload to add lock to the resource.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"addProjectLockDetails": model.AddProjectLockDetails;
|
|
28
|
+
/**
|
|
29
|
+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
30
|
+
* server error without the risk of executing that same action again. Retry tokens expire after 24
|
|
31
|
+
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
32
|
+
* has been deleted and purged from the system, then a retry of the original creation request
|
|
33
|
+
* might be rejected.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
"opcRetryToken"?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The client request ID for tracing.
|
|
39
|
+
*/
|
|
40
|
+
"opcRequestId"?: string;
|
|
41
|
+
/**
|
|
42
|
+
* For optimistic concurrency control. In the PUT or DELETE call
|
|
43
|
+
* for a resource, set the {@code if-match} parameter to the value of the
|
|
44
|
+
* etag from a previous GET or POST response for that resource.
|
|
45
|
+
* The resource will be updated or deleted only if the etag you
|
|
46
|
+
* provide matches the resource's current etag value.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
"ifMatch"?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Whether to override locks (if any exist).
|
|
52
|
+
*/
|
|
53
|
+
"isLockOverride"?: boolean;
|
|
54
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20221109
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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=add-project-lock-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-project-lock-request.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/request/add-project-lock-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
package/lib/request/index.d.ts
CHANGED
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
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
12
|
*/
|
|
13
|
+
import * as AddModelLockRequest from "./add-model-lock-request";
|
|
14
|
+
export import AddModelLockRequest = AddModelLockRequest.AddModelLockRequest;
|
|
15
|
+
import * as AddProjectLockRequest from "./add-project-lock-request";
|
|
16
|
+
export import AddProjectLockRequest = AddProjectLockRequest.AddProjectLockRequest;
|
|
13
17
|
import * as AnalyzeDocumentRequest from "./analyze-document-request";
|
|
14
18
|
export import AnalyzeDocumentRequest = AnalyzeDocumentRequest.AnalyzeDocumentRequest;
|
|
15
19
|
import * as CancelProcessorJobRequest from "./cancel-processor-job-request";
|
|
@@ -50,6 +54,10 @@ import * as ListWorkRequestsRequest from "./list-work-requests-request";
|
|
|
50
54
|
export import ListWorkRequestsRequest = ListWorkRequestsRequest.ListWorkRequestsRequest;
|
|
51
55
|
import * as PatchModelRequest from "./patch-model-request";
|
|
52
56
|
export import PatchModelRequest = PatchModelRequest.PatchModelRequest;
|
|
57
|
+
import * as RemoveModelLockRequest from "./remove-model-lock-request";
|
|
58
|
+
export import RemoveModelLockRequest = RemoveModelLockRequest.RemoveModelLockRequest;
|
|
59
|
+
import * as RemoveProjectLockRequest from "./remove-project-lock-request";
|
|
60
|
+
export import RemoveProjectLockRequest = RemoveProjectLockRequest.RemoveProjectLockRequest;
|
|
53
61
|
import * as UpdateModelRequest from "./update-model-request";
|
|
54
62
|
export import UpdateModelRequest = UpdateModelRequest.UpdateModelRequest;
|
|
55
63
|
import * as UpdateProjectRequest from "./update-project-request";
|
package/lib/request/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAkCH,yEAA2D;AAC7C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,iGAAmF;AACrE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC;AACvG,6FAA+E;AACjE,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,sFAAwE;AAC1D,QAAA,uBAAuB,GAAG,uBAAuB,CAAC,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20221109
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, 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/latest/aidocument/RemoveModelLock.ts.html |here} to see how to use RemoveModelLockRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface RemoveModelLockRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* A unique model identifier.
|
|
21
|
+
*/
|
|
22
|
+
"modelId": string;
|
|
23
|
+
/**
|
|
24
|
+
* Request payload to remove lock to the resource.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"removeModelLockDetails": model.RemoveModelLockDetails;
|
|
28
|
+
/**
|
|
29
|
+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
30
|
+
* server error without the risk of executing that same action again. Retry tokens expire after 24
|
|
31
|
+
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
32
|
+
* has been deleted and purged from the system, then a retry of the original creation request
|
|
33
|
+
* might be rejected.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
"opcRetryToken"?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The client request ID for tracing.
|
|
39
|
+
*/
|
|
40
|
+
"opcRequestId"?: string;
|
|
41
|
+
/**
|
|
42
|
+
* For optimistic concurrency control. In the PUT or DELETE call
|
|
43
|
+
* for a resource, set the {@code if-match} parameter to the value of the
|
|
44
|
+
* etag from a previous GET or POST response for that resource.
|
|
45
|
+
* The resource will be updated or deleted only if the etag you
|
|
46
|
+
* provide matches the resource's current etag value.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
"ifMatch"?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Whether to override locks (if any exist).
|
|
52
|
+
*/
|
|
53
|
+
"isLockOverride"?: boolean;
|
|
54
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20221109
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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=remove-model-lock-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-model-lock-request.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/request/remove-model-lock-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20221109
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, 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/latest/aidocument/RemoveProjectLock.ts.html |here} to see how to use RemoveProjectLockRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface RemoveProjectLockRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* A unique project identifier.
|
|
21
|
+
*/
|
|
22
|
+
"projectId": string;
|
|
23
|
+
/**
|
|
24
|
+
* Request payload to remove lock to the resource.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"removeProjectLockDetails": model.RemoveProjectLockDetails;
|
|
28
|
+
/**
|
|
29
|
+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
30
|
+
* server error without the risk of executing that same action again. Retry tokens expire after 24
|
|
31
|
+
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
32
|
+
* has been deleted and purged from the system, then a retry of the original creation request
|
|
33
|
+
* might be rejected.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
"opcRetryToken"?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The client request ID for tracing.
|
|
39
|
+
*/
|
|
40
|
+
"opcRequestId"?: string;
|
|
41
|
+
/**
|
|
42
|
+
* For optimistic concurrency control. In the PUT or DELETE call
|
|
43
|
+
* for a resource, set the {@code if-match} parameter to the value of the
|
|
44
|
+
* etag from a previous GET or POST response for that resource.
|
|
45
|
+
* The resource will be updated or deleted only if the etag you
|
|
46
|
+
* provide matches the resource's current etag value.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
"ifMatch"?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Whether to override locks (if any exist).
|
|
52
|
+
*/
|
|
53
|
+
"isLockOverride"?: boolean;
|
|
54
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20221109
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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=remove-project-lock-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-project-lock-request.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/request/remove-project-lock-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20221109
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, 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
|
+
export interface AddModelLockResponse {
|
|
15
|
+
/**
|
|
16
|
+
* For optimistic concurrency control. See {@code if-match}.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
"etag": string;
|
|
20
|
+
/**
|
|
21
|
+
* A unique Oracle-assigned identifier for the request. If you need to contact
|
|
22
|
+
* Oracle about a particular request, please provide the request ID.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
"opcRequestId": string;
|
|
26
|
+
/**
|
|
27
|
+
* The returned model.Model instance.
|
|
28
|
+
*/
|
|
29
|
+
"model": model.Model;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20221109
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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=add-model-lock-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-model-lock-response.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/response/add-model-lock-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20221109
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, 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
|
+
export interface AddProjectLockResponse {
|
|
15
|
+
/**
|
|
16
|
+
* For optimistic concurrency control. See {@code if-match}.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
"etag": string;
|
|
20
|
+
/**
|
|
21
|
+
* A unique Oracle-assigned identifier for the request. If you need to contact
|
|
22
|
+
* Oracle about a particular request, please provide the request ID.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
"opcRequestId": string;
|
|
26
|
+
/**
|
|
27
|
+
* The returned model.Project instance.
|
|
28
|
+
*/
|
|
29
|
+
"project": model.Project;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20221109
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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=add-project-lock-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-project-lock-response.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/response/add-project-lock-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|