oci-aidocument 2.62.0 → 2.62.2
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/aiservicedocument-waiter.d.ts +23 -0
- package/lib/aiservicedocument-waiter.js +55 -0
- package/lib/aiservicedocument-waiter.js.map +1 -1
- package/lib/client.d.ts +163 -3
- package/lib/client.js +1132 -19
- package/lib/client.js.map +1 -1
- package/lib/model/action-type.d.ts +32 -0
- package/lib/model/action-type.js +43 -0
- package/lib/model/action-type.js.map +1 -0
- package/lib/model/change-model-compartment-details.d.ts +25 -0
- package/lib/model/change-model-compartment-details.js +29 -0
- package/lib/model/change-model-compartment-details.js.map +1 -0
- package/lib/model/change-project-compartment-details.d.ts +25 -0
- package/lib/model/change-project-compartment-details.js +29 -0
- package/lib/model/change-project-compartment-details.js.map +1 -0
- package/lib/model/create-model-details.d.ts +75 -0
- package/lib/model/create-model-details.js +69 -0
- package/lib/model/create-model-details.js.map +1 -0
- package/lib/model/create-project-details.d.ts +51 -0
- package/lib/model/create-project-details.js +29 -0
- package/lib/model/create-project-details.js.map +1 -0
- package/lib/model/data-science-labeling-dataset.d.ts +28 -0
- package/lib/model/data-science-labeling-dataset.js +52 -0
- package/lib/model/data-science-labeling-dataset.js.map +1 -0
- package/lib/model/dataset-summary.d.ts +33 -0
- package/lib/model/dataset-summary.js +29 -0
- package/lib/model/dataset-summary.js.map +1 -0
- package/lib/model/dataset.d.ts +22 -0
- package/lib/model/dataset.js +72 -0
- package/lib/model/dataset.js.map +1 -0
- package/lib/model/document-classification-confidence-entry.d.ts +37 -0
- package/lib/model/document-classification-confidence-entry.js +29 -0
- package/lib/model/document-classification-confidence-entry.js.map +1 -0
- package/lib/model/document-classification-feature.d.ts +4 -0
- package/lib/model/document-classification-feature.js.map +1 -1
- package/lib/model/document-classification-label-metrics-report.d.ts +34 -0
- package/lib/model/document-classification-label-metrics-report.js +61 -0
- package/lib/model/document-classification-label-metrics-report.js.map +1 -0
- package/lib/model/document-classification-model-metrics.d.ts +29 -0
- package/lib/model/document-classification-model-metrics.js +72 -0
- package/lib/model/document-classification-model-metrics.js.map +1 -0
- package/lib/model/document-classification-overall-metrics-report.d.ts +30 -0
- package/lib/model/document-classification-overall-metrics-report.js +61 -0
- package/lib/model/document-classification-overall-metrics-report.js.map +1 -0
- package/lib/model/document-key-value-extraction-feature.d.ts +4 -0
- package/lib/model/document-key-value-extraction-feature.js.map +1 -1
- package/lib/model/index.d.ts +76 -0
- package/lib/model/index.js +78 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/key-value-detection-confidence-entry.d.ts +41 -0
- package/lib/model/key-value-detection-confidence-entry.js +29 -0
- package/lib/model/key-value-detection-confidence-entry.js.map +1 -0
- package/lib/model/key-value-detection-label-metrics-report.d.ts +38 -0
- package/lib/model/key-value-detection-label-metrics-report.js +61 -0
- package/lib/model/key-value-detection-label-metrics-report.js.map +1 -0
- package/lib/model/key-value-detection-model-metrics.d.ts +29 -0
- package/lib/model/key-value-detection-model-metrics.js +72 -0
- package/lib/model/key-value-detection-model-metrics.js.map +1 -0
- package/lib/model/key-value-detection-overall-metrics-report.d.ts +34 -0
- package/lib/model/key-value-detection-overall-metrics-report.js +61 -0
- package/lib/model/key-value-detection-overall-metrics-report.js.map +1 -0
- package/lib/model/model-collection.d.ts +26 -0
- package/lib/model/model-collection.js +61 -0
- package/lib/model/model-collection.js.map +1 -0
- package/lib/model/model-metrics.d.ts +24 -0
- package/lib/model/model-metrics.js +80 -0
- package/lib/model/model-metrics.js.map +1 -0
- package/lib/model/model-summary.d.ts +101 -0
- package/lib/model/model-summary.js +69 -0
- package/lib/model/model-summary.js.map +1 -0
- package/lib/model/model.d.ts +136 -0
- package/lib/model/model.js +95 -0
- package/lib/model/model.js.map +1 -0
- package/lib/model/object-storage-dataset.d.ts +36 -0
- package/lib/model/object-storage-dataset.js +52 -0
- package/lib/model/object-storage-dataset.js.map +1 -0
- package/lib/model/operation-status.d.ts +33 -0
- package/lib/model/operation-status.js +44 -0
- package/lib/model/operation-status.js.map +1 -0
- package/lib/model/operation-type.d.ts +34 -0
- package/lib/model/operation-type.js +45 -0
- package/lib/model/operation-type.js.map +1 -0
- package/lib/model/project-collection.d.ts +26 -0
- package/lib/model/project-collection.js +61 -0
- package/lib/model/project-collection.js.map +1 -0
- package/lib/model/project-summary.d.ts +81 -0
- package/lib/model/project-summary.js +29 -0
- package/lib/model/project-summary.js.map +1 -0
- package/lib/model/project.d.ts +94 -0
- package/lib/model/project.js +43 -0
- package/lib/model/project.js.map +1 -0
- package/lib/model/sort-order.d.ts +23 -0
- package/lib/model/sort-order.js +34 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/update-model-details.d.ts +47 -0
- package/lib/model/update-model-details.js +29 -0
- package/lib/model/update-model-details.js.map +1 -0
- package/lib/model/update-project-details.d.ts +47 -0
- package/lib/model/update-project-details.js +29 -0
- package/lib/model/update-project-details.js.map +1 -0
- package/lib/model/value-array.d.ts +3 -0
- package/lib/model/value-array.js.map +1 -1
- package/lib/model/work-request-error-collection.d.ts +26 -0
- package/lib/model/work-request-error-collection.js +61 -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 +29 -0
- package/lib/model/work-request-error.js.map +1 -0
- package/lib/model/work-request-log-entry-collection.d.ts +26 -0
- package/lib/model/work-request-log-entry-collection.js +61 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -0
- package/lib/model/work-request-log-entry.d.ts +29 -0
- package/lib/model/work-request-log-entry.js +29 -0
- package/lib/model/work-request-log-entry.js.map +1 -0
- package/lib/model/work-request-resource-metadata-key.d.ts +28 -0
- package/lib/model/work-request-resource-metadata-key.js +39 -0
- package/lib/model/work-request-resource-metadata-key.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +48 -0
- package/lib/model/work-request-resource.js +29 -0
- package/lib/model/work-request-resource.js.map +1 -0
- package/lib/model/work-request-summary-collection.d.ts +26 -0
- package/lib/model/work-request-summary-collection.js +61 -0
- package/lib/model/work-request-summary-collection.js.map +1 -0
- package/lib/model/work-request-summary.d.ts +63 -0
- package/lib/model/work-request-summary.js +61 -0
- package/lib/model/work-request-summary.js.map +1 -0
- package/lib/model/work-request.d.ts +63 -0
- package/lib/model/work-request.js +61 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/request/cancel-processor-job-request.d.ts +1 -1
- package/lib/request/cancel-work-request-request.d.ts +35 -0
- package/lib/request/cancel-work-request-request.js +15 -0
- package/lib/request/cancel-work-request-request.js.map +1 -0
- package/lib/request/change-model-compartment-request.d.ts +40 -0
- package/lib/request/change-model-compartment-request.js +15 -0
- package/lib/request/change-model-compartment-request.js.map +1 -0
- package/lib/request/change-project-compartment-request.d.ts +40 -0
- package/lib/request/change-project-compartment-request.js +15 -0
- package/lib/request/change-project-compartment-request.js.map +1 -0
- package/lib/request/create-model-request.d.ts +36 -0
- package/lib/request/create-model-request.js +15 -0
- package/lib/request/create-model-request.js.map +1 -0
- package/lib/request/create-processor-job-request.d.ts +1 -1
- package/lib/request/create-project-request.d.ts +36 -0
- package/lib/request/create-project-request.js +15 -0
- package/lib/request/create-project-request.js.map +1 -0
- package/lib/request/delete-model-request.d.ts +35 -0
- package/lib/request/delete-model-request.js +15 -0
- package/lib/request/delete-model-request.js.map +1 -0
- package/lib/request/delete-project-request.d.ts +35 -0
- package/lib/request/delete-project-request.js +15 -0
- package/lib/request/delete-project-request.js.map +1 -0
- package/lib/request/get-model-request.d.ts +26 -0
- package/lib/request/get-model-request.js +15 -0
- package/lib/request/get-model-request.js.map +1 -0
- package/lib/request/get-processor-job-request.d.ts +1 -1
- package/lib/request/get-project-request.d.ts +26 -0
- package/lib/request/get-project-request.js +15 -0
- package/lib/request/get-project-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 +34 -0
- package/lib/request/index.js +30 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-models-request.d.ts +66 -0
- package/lib/request/list-models-request.js +24 -0
- package/lib/request/list-models-request.js.map +1 -0
- package/lib/request/list-projects-request.d.ts +62 -0
- package/lib/request/list-projects-request.js +24 -0
- package/lib/request/list-projects-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +49 -0
- package/lib/request/list-work-request-errors-request.js +23 -0
- package/lib/request/list-work-request-errors-request.js.map +1 -0
- package/lib/request/list-work-request-logs-request.d.ts +49 -0
- package/lib/request/list-work-request-logs-request.js +23 -0
- package/lib/request/list-work-request-logs-request.js.map +1 -0
- package/lib/request/list-work-requests-request.d.ts +61 -0
- package/lib/request/list-work-requests-request.js +23 -0
- package/lib/request/list-work-requests-request.js.map +1 -0
- package/lib/request/update-model-request.d.ts +40 -0
- package/lib/request/update-model-request.js +15 -0
- package/lib/request/update-model-request.js.map +1 -0
- package/lib/request/update-project-request.d.ts +40 -0
- package/lib/request/update-project-request.js +15 -0
- package/lib/request/update-project-request.js.map +1 -0
- package/lib/response/cancel-work-request-response.d.ts +20 -0
- package/lib/response/cancel-work-request-response.js +15 -0
- package/lib/response/cancel-work-request-response.js.map +1 -0
- package/lib/response/change-model-compartment-response.d.ts +20 -0
- package/lib/response/change-model-compartment-response.js +15 -0
- package/lib/response/change-model-compartment-response.js.map +1 -0
- package/lib/response/change-project-compartment-response.d.ts +20 -0
- package/lib/response/change-project-compartment-response.js +15 -0
- package/lib/response/change-project-compartment-response.js.map +1 -0
- package/lib/response/create-model-response.d.ts +45 -0
- package/lib/response/create-model-response.js +15 -0
- package/lib/response/create-model-response.js.map +1 -0
- package/lib/response/create-project-response.d.ts +45 -0
- package/lib/response/create-project-response.js +15 -0
- package/lib/response/create-project-response.js.map +1 -0
- package/lib/response/delete-model-response.d.ts +25 -0
- package/lib/response/delete-model-response.js +15 -0
- package/lib/response/delete-model-response.js.map +1 -0
- package/lib/response/delete-project-response.d.ts +25 -0
- package/lib/response/delete-project-response.js +15 -0
- package/lib/response/delete-project-response.js.map +1 -0
- package/lib/response/get-model-response.d.ts +30 -0
- package/lib/response/get-model-response.js +15 -0
- package/lib/response/get-model-response.js.map +1 -0
- package/lib/response/get-project-response.d.ts +30 -0
- package/lib/response/get-project-response.js +15 -0
- package/lib/response/get-project-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 +34 -0
- package/lib/response/list-models-response.d.ts +32 -0
- package/lib/response/list-models-response.js +15 -0
- package/lib/response/list-models-response.js.map +1 -0
- package/lib/response/list-projects-response.d.ts +32 -0
- package/lib/response/list-projects-response.js +15 -0
- package/lib/response/list-projects-response.js.map +1 -0
- package/lib/response/list-work-request-errors-response.d.ts +32 -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 +32 -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 +32 -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/update-model-response.d.ts +25 -0
- package/lib/response/update-model-response.js +15 -0
- package/lib/response/update-model-response.js.map +1 -0
- package/lib/response/update-project-response.d.ts +25 -0
- package/lib/response/update-project-response.js +15 -0
- package/lib/response/update-project-response.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,95 @@
|
|
|
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, 2023, 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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.Model = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var Model;
|
|
37
|
+
(function (Model) {
|
|
38
|
+
let ModelType;
|
|
39
|
+
(function (ModelType) {
|
|
40
|
+
ModelType["KeyValueExtraction"] = "KEY_VALUE_EXTRACTION";
|
|
41
|
+
ModelType["DocumentClassification"] = "DOCUMENT_CLASSIFICATION";
|
|
42
|
+
/**
|
|
43
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
44
|
+
* version of the SDK.
|
|
45
|
+
*/
|
|
46
|
+
ModelType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
47
|
+
})(ModelType = Model.ModelType || (Model.ModelType = {}));
|
|
48
|
+
let LifecycleState;
|
|
49
|
+
(function (LifecycleState) {
|
|
50
|
+
LifecycleState["Creating"] = "CREATING";
|
|
51
|
+
LifecycleState["Updating"] = "UPDATING";
|
|
52
|
+
LifecycleState["Active"] = "ACTIVE";
|
|
53
|
+
LifecycleState["Deleting"] = "DELETING";
|
|
54
|
+
LifecycleState["Deleted"] = "DELETED";
|
|
55
|
+
LifecycleState["Failed"] = "FAILED";
|
|
56
|
+
/**
|
|
57
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
58
|
+
* version of the SDK.
|
|
59
|
+
*/
|
|
60
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
61
|
+
})(LifecycleState = Model.LifecycleState || (Model.LifecycleState = {}));
|
|
62
|
+
function getJsonObj(obj) {
|
|
63
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
64
|
+
"trainingDataset": obj.trainingDataset
|
|
65
|
+
? model.Dataset.getJsonObj(obj.trainingDataset)
|
|
66
|
+
: undefined,
|
|
67
|
+
"testingDataset": obj.testingDataset
|
|
68
|
+
? model.Dataset.getJsonObj(obj.testingDataset)
|
|
69
|
+
: undefined,
|
|
70
|
+
"validationDataset": obj.validationDataset
|
|
71
|
+
? model.Dataset.getJsonObj(obj.validationDataset)
|
|
72
|
+
: undefined,
|
|
73
|
+
"metrics": obj.metrics ? model.ModelMetrics.getJsonObj(obj.metrics) : undefined
|
|
74
|
+
});
|
|
75
|
+
return jsonObj;
|
|
76
|
+
}
|
|
77
|
+
Model.getJsonObj = getJsonObj;
|
|
78
|
+
function getDeserializedJsonObj(obj) {
|
|
79
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
80
|
+
"trainingDataset": obj.trainingDataset
|
|
81
|
+
? model.Dataset.getDeserializedJsonObj(obj.trainingDataset)
|
|
82
|
+
: undefined,
|
|
83
|
+
"testingDataset": obj.testingDataset
|
|
84
|
+
? model.Dataset.getDeserializedJsonObj(obj.testingDataset)
|
|
85
|
+
: undefined,
|
|
86
|
+
"validationDataset": obj.validationDataset
|
|
87
|
+
? model.Dataset.getDeserializedJsonObj(obj.validationDataset)
|
|
88
|
+
: undefined,
|
|
89
|
+
"metrics": obj.metrics ? model.ModelMetrics.getDeserializedJsonObj(obj.metrics) : undefined
|
|
90
|
+
});
|
|
91
|
+
return jsonObj;
|
|
92
|
+
}
|
|
93
|
+
Model.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
94
|
+
})(Model = exports.Model || (exports.Model = {}));
|
|
95
|
+
//# sourceMappingURL=model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/model.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2FlC,IAAiB,KAAK,CAiErB;AAjED,WAAiB,KAAK;IACpB,IAAY,SAQX;IARD,WAAY,SAAS;QACnB,wDAA2C,CAAA;QAC3C,+DAAkD,CAAA;QAClD;;;WAGG;QACH,2CAA8B,CAAA;IAChC,CAAC,EARW,SAAS,GAAT,eAAS,KAAT,eAAS,QAQpB;IAED,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,oBAAc,KAAd,oBAAc,QAYzB;IAED,SAAgB,UAAU,CAAC,GAAU;QACnC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBAC/C,CAAC,CAAC,SAAS;YACb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBAC9C,CAAC,CAAC,SAAS;YACb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBACjD,CAAC,CAAC,SAAS;YAEb,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;SAChF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAnBe,gBAAU,aAmBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAU;QAC/C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBAC3D,CAAC,CAAC,SAAS;YACb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBAC1D,CAAC,CAAC,SAAS;YACb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBAC7D,CAAC,CAAC,SAAS;YAEb,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;SAC5F,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAnBe,4BAAsB,yBAmBrC,CAAA;AACH,CAAC,EAjEgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAiErB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
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, 2023, 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
|
+
/**
|
|
15
|
+
* The dataset that resides in Object Storage.
|
|
16
|
+
*/
|
|
17
|
+
export interface ObjectStorageDataset extends model.Dataset {
|
|
18
|
+
/**
|
|
19
|
+
* The namespace name of the Object Storage bucket that contains the input data file.
|
|
20
|
+
*/
|
|
21
|
+
"namespaceName": string;
|
|
22
|
+
/**
|
|
23
|
+
* The name of the Object Storage bucket that contains the input data file.
|
|
24
|
+
*/
|
|
25
|
+
"bucketName": string;
|
|
26
|
+
/**
|
|
27
|
+
* The object name of the input data file.
|
|
28
|
+
*/
|
|
29
|
+
"objectName": string;
|
|
30
|
+
"datasetType": string;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace ObjectStorageDataset {
|
|
33
|
+
function getJsonObj(obj: ObjectStorageDataset, isParentJsonObj?: boolean): object;
|
|
34
|
+
const datasetType = "OBJECT_STORAGE";
|
|
35
|
+
function getDeserializedJsonObj(obj: ObjectStorageDataset, isParentJsonObj?: boolean): object;
|
|
36
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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, 2023, 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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.ObjectStorageDataset = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var ObjectStorageDataset;
|
|
37
|
+
(function (ObjectStorageDataset) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Dataset.getJsonObj(obj))), {});
|
|
40
|
+
return jsonObj;
|
|
41
|
+
}
|
|
42
|
+
ObjectStorageDataset.getJsonObj = getJsonObj;
|
|
43
|
+
ObjectStorageDataset.datasetType = "OBJECT_STORAGE";
|
|
44
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
45
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
46
|
+
? obj
|
|
47
|
+
: model.Dataset.getDeserializedJsonObj(obj))), {});
|
|
48
|
+
return jsonObj;
|
|
49
|
+
}
|
|
50
|
+
ObjectStorageDataset.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
51
|
+
})(ObjectStorageDataset = exports.ObjectStorageDataset || (exports.ObjectStorageDataset = {}));
|
|
52
|
+
//# sourceMappingURL=object-storage-dataset.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"object-storage-dataset.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/object-storage-dataset.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAuBlC,IAAiB,oBAAoB,CAuBpC;AAvBD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB,EAAE,eAAyB;QAC7E,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAA0B,CAAC,GACjF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,+BAAU,aAOzB,CAAA;IACY,gCAAW,GAAG,gBAAgB,CAAC;IAC5C,SAAgB,sBAAsB,CACpC,GAAyB,EACzB,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,GAAG,CAA0B,CAAC,GACrE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,2CAAsB,yBAYrC,CAAA;AACH,CAAC,EAvBgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAuBpC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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, 2023, 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
|
+
* Possible operation statuses.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum OperationStatus {
|
|
17
|
+
Accepted = "ACCEPTED",
|
|
18
|
+
InProgress = "IN_PROGRESS",
|
|
19
|
+
Waiting = "WAITING",
|
|
20
|
+
Failed = "FAILED",
|
|
21
|
+
Succeeded = "SUCCEEDED",
|
|
22
|
+
Canceling = "CANCELING",
|
|
23
|
+
Canceled = "CANCELED",
|
|
24
|
+
/**
|
|
25
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
26
|
+
* version of the SDK.
|
|
27
|
+
*/
|
|
28
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
29
|
+
}
|
|
30
|
+
export declare namespace OperationStatus {
|
|
31
|
+
function getJsonObj(obj: OperationStatus): OperationStatus;
|
|
32
|
+
function getDeserializedJsonObj(obj: OperationStatus): OperationStatus;
|
|
33
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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, 2023, 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.OperationStatus = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Possible operation statuses.
|
|
18
|
+
**/
|
|
19
|
+
var OperationStatus;
|
|
20
|
+
(function (OperationStatus) {
|
|
21
|
+
OperationStatus["Accepted"] = "ACCEPTED";
|
|
22
|
+
OperationStatus["InProgress"] = "IN_PROGRESS";
|
|
23
|
+
OperationStatus["Waiting"] = "WAITING";
|
|
24
|
+
OperationStatus["Failed"] = "FAILED";
|
|
25
|
+
OperationStatus["Succeeded"] = "SUCCEEDED";
|
|
26
|
+
OperationStatus["Canceling"] = "CANCELING";
|
|
27
|
+
OperationStatus["Canceled"] = "CANCELED";
|
|
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
|
+
OperationStatus["UnknownValue"] = "UNKNOWN_VALUE";
|
|
33
|
+
})(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
|
|
34
|
+
(function (OperationStatus) {
|
|
35
|
+
function getJsonObj(obj) {
|
|
36
|
+
return obj;
|
|
37
|
+
}
|
|
38
|
+
OperationStatus.getJsonObj = getJsonObj;
|
|
39
|
+
function getDeserializedJsonObj(obj) {
|
|
40
|
+
return obj;
|
|
41
|
+
}
|
|
42
|
+
OperationStatus.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
43
|
+
})(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
|
|
44
|
+
//# sourceMappingURL=operation-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-status.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/operation-status.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,6CAA0B,CAAA;IAC1B,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;IACjB,0CAAuB,CAAA;IACvB,0CAAuB,CAAA;IACvB,wCAAqB,CAAA;IAErB;;;OAGG;IACH,iDAA8B,CAAA;AAChC,CAAC,EAdW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAc1B;AAED,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,0BAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,sCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAO/B"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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, 2023, 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
|
+
* Possible operation types.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum OperationType {
|
|
17
|
+
CreateProject = "CREATE_PROJECT",
|
|
18
|
+
UpdateProject = "UPDATE_PROJECT",
|
|
19
|
+
DeleteProject = "DELETE_PROJECT",
|
|
20
|
+
MoveProject = "MOVE_PROJECT",
|
|
21
|
+
CreateModel = "CREATE_MODEL",
|
|
22
|
+
UpdateModel = "UPDATE_MODEL",
|
|
23
|
+
DeleteModel = "DELETE_MODEL",
|
|
24
|
+
MoveModel = "MOVE_MODEL",
|
|
25
|
+
/**
|
|
26
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
27
|
+
* version of the SDK.
|
|
28
|
+
*/
|
|
29
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
30
|
+
}
|
|
31
|
+
export declare namespace OperationType {
|
|
32
|
+
function getJsonObj(obj: OperationType): OperationType;
|
|
33
|
+
function getDeserializedJsonObj(obj: OperationType): OperationType;
|
|
34
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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, 2023, 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.OperationType = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Possible operation types.
|
|
18
|
+
**/
|
|
19
|
+
var OperationType;
|
|
20
|
+
(function (OperationType) {
|
|
21
|
+
OperationType["CreateProject"] = "CREATE_PROJECT";
|
|
22
|
+
OperationType["UpdateProject"] = "UPDATE_PROJECT";
|
|
23
|
+
OperationType["DeleteProject"] = "DELETE_PROJECT";
|
|
24
|
+
OperationType["MoveProject"] = "MOVE_PROJECT";
|
|
25
|
+
OperationType["CreateModel"] = "CREATE_MODEL";
|
|
26
|
+
OperationType["UpdateModel"] = "UPDATE_MODEL";
|
|
27
|
+
OperationType["DeleteModel"] = "DELETE_MODEL";
|
|
28
|
+
OperationType["MoveModel"] = "MOVE_MODEL";
|
|
29
|
+
/**
|
|
30
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
31
|
+
* version of the SDK.
|
|
32
|
+
*/
|
|
33
|
+
OperationType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
34
|
+
})(OperationType = exports.OperationType || (exports.OperationType = {}));
|
|
35
|
+
(function (OperationType) {
|
|
36
|
+
function getJsonObj(obj) {
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
39
|
+
OperationType.getJsonObj = getJsonObj;
|
|
40
|
+
function getDeserializedJsonObj(obj) {
|
|
41
|
+
return obj;
|
|
42
|
+
}
|
|
43
|
+
OperationType.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
44
|
+
})(OperationType = exports.OperationType || (exports.OperationType = {}));
|
|
45
|
+
//# sourceMappingURL=operation-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-type.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/operation-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,aAeX;AAfD,WAAY,aAAa;IACvB,iDAAgC,CAAA;IAChC,iDAAgC,CAAA;IAChC,iDAAgC,CAAA;IAChC,6CAA4B,CAAA;IAC5B,6CAA4B,CAAA;IAC5B,6CAA4B,CAAA;IAC5B,6CAA4B,CAAA;IAC5B,yCAAwB,CAAA;IAExB;;;OAGG;IACH,+CAA8B,CAAA;AAChC,CAAC,EAfW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAexB;AAED,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,wBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAO7B"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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, 2023, 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
|
+
/**
|
|
15
|
+
* The results of a project search.
|
|
16
|
+
*/
|
|
17
|
+
export interface ProjectCollection {
|
|
18
|
+
/**
|
|
19
|
+
* List of projects.
|
|
20
|
+
*/
|
|
21
|
+
"items": Array<model.ProjectSummary>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace ProjectCollection {
|
|
24
|
+
function getJsonObj(obj: ProjectCollection): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: ProjectCollection): object;
|
|
26
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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, 2023, 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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.ProjectCollection = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var ProjectCollection;
|
|
37
|
+
(function (ProjectCollection) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"items": obj.items
|
|
41
|
+
? obj.items.map(item => {
|
|
42
|
+
return model.ProjectSummary.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
ProjectCollection.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"items": obj.items
|
|
52
|
+
? obj.items.map(item => {
|
|
53
|
+
return model.ProjectSummary.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
ProjectCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(ProjectCollection = exports.ProjectCollection || (exports.ProjectCollection = {}));
|
|
61
|
+
//# sourceMappingURL=project-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-collection.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/project-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,iBAAiB,CA6BjC;AA7BD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,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,cAAc,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC/C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,4BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,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,cAAc,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC3D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,wCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA6BjC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
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, 2023, 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
|
+
* the metadata about the project.
|
|
15
|
+
*/
|
|
16
|
+
export interface ProjectSummary {
|
|
17
|
+
/**
|
|
18
|
+
* A unique identifier that is immutable after creation.
|
|
19
|
+
*/
|
|
20
|
+
"id": string;
|
|
21
|
+
/**
|
|
22
|
+
* A human-friendly name for the project, that can be changed.
|
|
23
|
+
*/
|
|
24
|
+
"displayName"?: string;
|
|
25
|
+
/**
|
|
26
|
+
* An optional description of the project.
|
|
27
|
+
*/
|
|
28
|
+
"description"?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The compartment identifier.
|
|
31
|
+
*/
|
|
32
|
+
"compartmentId": string;
|
|
33
|
+
/**
|
|
34
|
+
* When the project was created, as an RFC3339 datetime string.
|
|
35
|
+
*/
|
|
36
|
+
"timeCreated": Date;
|
|
37
|
+
/**
|
|
38
|
+
* When the project was created, as an RFC3339 datetime string.
|
|
39
|
+
*/
|
|
40
|
+
"timeUpdated"?: Date;
|
|
41
|
+
/**
|
|
42
|
+
* The current state of the project.
|
|
43
|
+
*/
|
|
44
|
+
"lifecycleState": string;
|
|
45
|
+
/**
|
|
46
|
+
* A message describing the current state in more detail, that can provide actionable information if creation failed.
|
|
47
|
+
*/
|
|
48
|
+
"lifecycleDetails"?: string;
|
|
49
|
+
/**
|
|
50
|
+
* A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only.
|
|
51
|
+
* For example: `{\"bar-key\": \"value\"}`
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
"freeformTags"?: {
|
|
55
|
+
[key: string]: string;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
59
|
+
* For example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
"definedTags"?: {
|
|
63
|
+
[key: string]: {
|
|
64
|
+
[key: string]: any;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
69
|
+
* For example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
"systemTags"?: {
|
|
73
|
+
[key: string]: {
|
|
74
|
+
[key: string]: any;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
export declare namespace ProjectSummary {
|
|
79
|
+
function getJsonObj(obj: ProjectSummary): object;
|
|
80
|
+
function getDeserializedJsonObj(obj: ProjectSummary): object;
|
|
81
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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, 2023, 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.ProjectSummary = void 0;
|
|
16
|
+
var ProjectSummary;
|
|
17
|
+
(function (ProjectSummary) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
ProjectSummary.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
ProjectSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(ProjectSummary = exports.ProjectSummary || (exports.ProjectSummary = {}));
|
|
29
|
+
//# sourceMappingURL=project-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-summary.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/project-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA6DH,IAAiB,cAAc,CAW9B;AAXD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAW9B"}
|