oci-datalabelingservice 2.30.0 → 2.33.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 +16 -16
- package/lib/client.js +16 -16
- package/lib/model/dataset-format-details.d.ts +1 -1
- package/lib/model/delimited-file-type-metadata.d.ts +44 -0
- package/lib/model/delimited-file-type-metadata.js +54 -0
- package/lib/model/delimited-file-type-metadata.js.map +1 -0
- package/lib/model/document-dataset-format-details.d.ts +1 -1
- package/lib/model/export-format.d.ts +2 -1
- package/lib/model/export-format.js +1 -0
- package/lib/model/export-format.js.map +1 -1
- package/lib/model/image-dataset-format-details.d.ts +1 -1
- package/lib/model/index.d.ts +4 -0
- package/lib/model/index.js +5 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/initial-record-generation-configuration.d.ts +2 -2
- package/lib/model/label-set.d.ts +2 -2
- package/lib/model/label.d.ts +1 -1
- package/lib/model/object-storage-source-details.d.ts +3 -3
- package/lib/model/text-dataset-format-details.d.ts +2 -1
- package/lib/model/text-dataset-format-details.js +10 -2
- package/lib/model/text-dataset-format-details.js.map +1 -1
- package/lib/model/text-file-type-metadata.d.ts +22 -0
- package/lib/model/text-file-type-metadata.js +65 -0
- package/lib/model/text-file-type-metadata.js.map +1 -0
- package/lib/request/add-dataset-labels-request.d.ts +1 -1
- package/lib/request/change-dataset-compartment-request.d.ts +1 -1
- package/lib/request/create-dataset-request.d.ts +1 -1
- package/lib/request/delete-dataset-request.d.ts +1 -1
- package/lib/request/generate-dataset-records-request.d.ts +1 -1
- package/lib/request/get-dataset-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-annotation-formats-request.d.ts +1 -1
- package/lib/request/list-datasets-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/remove-dataset-labels-request.d.ts +1 -1
- package/lib/request/rename-dataset-labels-request.d.ts +1 -1
- package/lib/request/snapshot-dataset-request.d.ts +1 -1
- package/lib/request/update-dataset-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ export declare class DataLabelingManagementClient {
|
|
|
76
76
|
* @param AddDatasetLabelsRequest
|
|
77
77
|
* @return AddDatasetLabelsResponse
|
|
78
78
|
* @throws OciError when an error occurs
|
|
79
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
79
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/AddDatasetLabels.ts.html |here} to see how to use AddDatasetLabels API.
|
|
80
80
|
*/
|
|
81
81
|
addDatasetLabels(addDatasetLabelsRequest: requests.AddDatasetLabelsRequest): Promise<responses.AddDatasetLabelsResponse>;
|
|
82
82
|
/**
|
|
@@ -85,7 +85,7 @@ export declare class DataLabelingManagementClient {
|
|
|
85
85
|
* @param ChangeDatasetCompartmentRequest
|
|
86
86
|
* @return ChangeDatasetCompartmentResponse
|
|
87
87
|
* @throws OciError when an error occurs
|
|
88
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
88
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/ChangeDatasetCompartment.ts.html |here} to see how to use ChangeDatasetCompartment API.
|
|
89
89
|
*/
|
|
90
90
|
changeDatasetCompartment(changeDatasetCompartmentRequest: requests.ChangeDatasetCompartmentRequest): Promise<responses.ChangeDatasetCompartmentResponse>;
|
|
91
91
|
/**
|
|
@@ -95,7 +95,7 @@ export declare class DataLabelingManagementClient {
|
|
|
95
95
|
* @param CreateDatasetRequest
|
|
96
96
|
* @return CreateDatasetResponse
|
|
97
97
|
* @throws OciError when an error occurs
|
|
98
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
98
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/CreateDataset.ts.html |here} to see how to use CreateDataset API.
|
|
99
99
|
*/
|
|
100
100
|
createDataset(createDatasetRequest: requests.CreateDatasetRequest): Promise<responses.CreateDatasetResponse>;
|
|
101
101
|
/**
|
|
@@ -104,7 +104,7 @@ export declare class DataLabelingManagementClient {
|
|
|
104
104
|
* @param DeleteDatasetRequest
|
|
105
105
|
* @return DeleteDatasetResponse
|
|
106
106
|
* @throws OciError when an error occurs
|
|
107
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
107
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/DeleteDataset.ts.html |here} to see how to use DeleteDataset API.
|
|
108
108
|
*/
|
|
109
109
|
deleteDataset(deleteDatasetRequest: requests.DeleteDatasetRequest): Promise<responses.DeleteDatasetResponse>;
|
|
110
110
|
/**
|
|
@@ -113,7 +113,7 @@ export declare class DataLabelingManagementClient {
|
|
|
113
113
|
* @param GenerateDatasetRecordsRequest
|
|
114
114
|
* @return GenerateDatasetRecordsResponse
|
|
115
115
|
* @throws OciError when an error occurs
|
|
116
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
116
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/GenerateDatasetRecords.ts.html |here} to see how to use GenerateDatasetRecords API.
|
|
117
117
|
*/
|
|
118
118
|
generateDatasetRecords(generateDatasetRecordsRequest: requests.GenerateDatasetRecordsRequest): Promise<responses.GenerateDatasetRecordsResponse>;
|
|
119
119
|
/**
|
|
@@ -122,7 +122,7 @@ export declare class DataLabelingManagementClient {
|
|
|
122
122
|
* @param GetDatasetRequest
|
|
123
123
|
* @return GetDatasetResponse
|
|
124
124
|
* @throws OciError when an error occurs
|
|
125
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
125
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/GetDataset.ts.html |here} to see how to use GetDataset API.
|
|
126
126
|
*/
|
|
127
127
|
getDataset(getDatasetRequest: requests.GetDatasetRequest): Promise<responses.GetDatasetResponse>;
|
|
128
128
|
/**
|
|
@@ -131,7 +131,7 @@ export declare class DataLabelingManagementClient {
|
|
|
131
131
|
* @param GetWorkRequestRequest
|
|
132
132
|
* @return GetWorkRequestResponse
|
|
133
133
|
* @throws OciError when an error occurs
|
|
134
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
134
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
135
135
|
*/
|
|
136
136
|
getWorkRequest(getWorkRequestRequest: requests.GetWorkRequestRequest): Promise<responses.GetWorkRequestResponse>;
|
|
137
137
|
/**
|
|
@@ -140,7 +140,7 @@ export declare class DataLabelingManagementClient {
|
|
|
140
140
|
* @param ListAnnotationFormatsRequest
|
|
141
141
|
* @return ListAnnotationFormatsResponse
|
|
142
142
|
* @throws OciError when an error occurs
|
|
143
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
143
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/ListAnnotationFormats.ts.html |here} to see how to use ListAnnotationFormats API.
|
|
144
144
|
*/
|
|
145
145
|
listAnnotationFormats(listAnnotationFormatsRequest: requests.ListAnnotationFormatsRequest): Promise<responses.ListAnnotationFormatsResponse>;
|
|
146
146
|
/**
|
|
@@ -150,7 +150,7 @@ export declare class DataLabelingManagementClient {
|
|
|
150
150
|
* @param ListDatasetsRequest
|
|
151
151
|
* @return ListDatasetsResponse
|
|
152
152
|
* @throws OciError when an error occurs
|
|
153
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
153
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/ListDatasets.ts.html |here} to see how to use ListDatasets API.
|
|
154
154
|
*/
|
|
155
155
|
listDatasets(listDatasetsRequest: requests.ListDatasetsRequest): Promise<responses.ListDatasetsResponse>;
|
|
156
156
|
/**
|
|
@@ -160,7 +160,7 @@ export declare class DataLabelingManagementClient {
|
|
|
160
160
|
* @param ListWorkRequestErrorsRequest
|
|
161
161
|
* @return ListWorkRequestErrorsResponse
|
|
162
162
|
* @throws OciError when an error occurs
|
|
163
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
163
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
164
164
|
*/
|
|
165
165
|
listWorkRequestErrors(listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest): Promise<responses.ListWorkRequestErrorsResponse>;
|
|
166
166
|
/**
|
|
@@ -170,7 +170,7 @@ export declare class DataLabelingManagementClient {
|
|
|
170
170
|
* @param ListWorkRequestLogsRequest
|
|
171
171
|
* @return ListWorkRequestLogsResponse
|
|
172
172
|
* @throws OciError when an error occurs
|
|
173
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
173
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
174
174
|
*/
|
|
175
175
|
listWorkRequestLogs(listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest): Promise<responses.ListWorkRequestLogsResponse>;
|
|
176
176
|
/**
|
|
@@ -180,7 +180,7 @@ export declare class DataLabelingManagementClient {
|
|
|
180
180
|
* @param ListWorkRequestsRequest
|
|
181
181
|
* @return ListWorkRequestsResponse
|
|
182
182
|
* @throws OciError when an error occurs
|
|
183
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
183
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
184
184
|
*/
|
|
185
185
|
listWorkRequests(listWorkRequestsRequest: requests.ListWorkRequestsRequest): Promise<responses.ListWorkRequestsResponse>;
|
|
186
186
|
/**
|
|
@@ -190,7 +190,7 @@ export declare class DataLabelingManagementClient {
|
|
|
190
190
|
* @param RemoveDatasetLabelsRequest
|
|
191
191
|
* @return RemoveDatasetLabelsResponse
|
|
192
192
|
* @throws OciError when an error occurs
|
|
193
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
193
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/RemoveDatasetLabels.ts.html |here} to see how to use RemoveDatasetLabels API.
|
|
194
194
|
*/
|
|
195
195
|
removeDatasetLabels(removeDatasetLabelsRequest: requests.RemoveDatasetLabelsRequest): Promise<responses.RemoveDatasetLabelsResponse>;
|
|
196
196
|
/**
|
|
@@ -200,7 +200,7 @@ export declare class DataLabelingManagementClient {
|
|
|
200
200
|
* @param RenameDatasetLabelsRequest
|
|
201
201
|
* @return RenameDatasetLabelsResponse
|
|
202
202
|
* @throws OciError when an error occurs
|
|
203
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
203
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/RenameDatasetLabels.ts.html |here} to see how to use RenameDatasetLabels API.
|
|
204
204
|
*/
|
|
205
205
|
renameDatasetLabels(renameDatasetLabelsRequest: requests.RenameDatasetLabelsRequest): Promise<responses.RenameDatasetLabelsResponse>;
|
|
206
206
|
/**
|
|
@@ -211,7 +211,7 @@ export declare class DataLabelingManagementClient {
|
|
|
211
211
|
* @param SnapshotDatasetRequest
|
|
212
212
|
* @return SnapshotDatasetResponse
|
|
213
213
|
* @throws OciError when an error occurs
|
|
214
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
214
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/SnapshotDataset.ts.html |here} to see how to use SnapshotDataset API.
|
|
215
215
|
*/
|
|
216
216
|
snapshotDataset(snapshotDatasetRequest: requests.SnapshotDatasetRequest): Promise<responses.SnapshotDatasetResponse>;
|
|
217
217
|
/**
|
|
@@ -220,7 +220,7 @@ export declare class DataLabelingManagementClient {
|
|
|
220
220
|
* @param UpdateDatasetRequest
|
|
221
221
|
* @return UpdateDatasetResponse
|
|
222
222
|
* @throws OciError when an error occurs
|
|
223
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
223
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/UpdateDataset.ts.html |here} to see how to use UpdateDataset API.
|
|
224
224
|
*/
|
|
225
225
|
updateDataset(updateDatasetRequest: requests.UpdateDatasetRequest): Promise<responses.UpdateDatasetResponse>;
|
|
226
226
|
}
|
package/lib/client.js
CHANGED
|
@@ -157,7 +157,7 @@ class DataLabelingManagementClient {
|
|
|
157
157
|
* @param AddDatasetLabelsRequest
|
|
158
158
|
* @return AddDatasetLabelsResponse
|
|
159
159
|
* @throws OciError when an error occurs
|
|
160
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
160
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/AddDatasetLabels.ts.html |here} to see how to use AddDatasetLabels API.
|
|
161
161
|
*/
|
|
162
162
|
addDatasetLabels(addDatasetLabelsRequest) {
|
|
163
163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -219,7 +219,7 @@ class DataLabelingManagementClient {
|
|
|
219
219
|
* @param ChangeDatasetCompartmentRequest
|
|
220
220
|
* @return ChangeDatasetCompartmentResponse
|
|
221
221
|
* @throws OciError when an error occurs
|
|
222
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
222
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/ChangeDatasetCompartment.ts.html |here} to see how to use ChangeDatasetCompartment API.
|
|
223
223
|
*/
|
|
224
224
|
changeDatasetCompartment(changeDatasetCompartmentRequest) {
|
|
225
225
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -281,7 +281,7 @@ class DataLabelingManagementClient {
|
|
|
281
281
|
* @param CreateDatasetRequest
|
|
282
282
|
* @return CreateDatasetResponse
|
|
283
283
|
* @throws OciError when an error occurs
|
|
284
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
284
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/CreateDataset.ts.html |here} to see how to use CreateDataset API.
|
|
285
285
|
*/
|
|
286
286
|
createDataset(createDatasetRequest) {
|
|
287
287
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -359,7 +359,7 @@ class DataLabelingManagementClient {
|
|
|
359
359
|
* @param DeleteDatasetRequest
|
|
360
360
|
* @return DeleteDatasetResponse
|
|
361
361
|
* @throws OciError when an error occurs
|
|
362
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
362
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/DeleteDataset.ts.html |here} to see how to use DeleteDataset API.
|
|
363
363
|
*/
|
|
364
364
|
deleteDataset(deleteDatasetRequest) {
|
|
365
365
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -419,7 +419,7 @@ class DataLabelingManagementClient {
|
|
|
419
419
|
* @param GenerateDatasetRecordsRequest
|
|
420
420
|
* @return GenerateDatasetRecordsResponse
|
|
421
421
|
* @throws OciError when an error occurs
|
|
422
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
422
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/GenerateDatasetRecords.ts.html |here} to see how to use GenerateDatasetRecords API.
|
|
423
423
|
*/
|
|
424
424
|
generateDatasetRecords(generateDatasetRecordsRequest) {
|
|
425
425
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -481,7 +481,7 @@ class DataLabelingManagementClient {
|
|
|
481
481
|
* @param GetDatasetRequest
|
|
482
482
|
* @return GetDatasetResponse
|
|
483
483
|
* @throws OciError when an error occurs
|
|
484
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
484
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/GetDataset.ts.html |here} to see how to use GetDataset API.
|
|
485
485
|
*/
|
|
486
486
|
getDataset(getDatasetRequest) {
|
|
487
487
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -544,7 +544,7 @@ class DataLabelingManagementClient {
|
|
|
544
544
|
* @param GetWorkRequestRequest
|
|
545
545
|
* @return GetWorkRequestResponse
|
|
546
546
|
* @throws OciError when an error occurs
|
|
547
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
547
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
548
548
|
*/
|
|
549
549
|
getWorkRequest(getWorkRequestRequest) {
|
|
550
550
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -607,7 +607,7 @@ class DataLabelingManagementClient {
|
|
|
607
607
|
* @param ListAnnotationFormatsRequest
|
|
608
608
|
* @return ListAnnotationFormatsResponse
|
|
609
609
|
* @throws OciError when an error occurs
|
|
610
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
610
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/ListAnnotationFormats.ts.html |here} to see how to use ListAnnotationFormats API.
|
|
611
611
|
*/
|
|
612
612
|
listAnnotationFormats(listAnnotationFormatsRequest) {
|
|
613
613
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -674,7 +674,7 @@ class DataLabelingManagementClient {
|
|
|
674
674
|
* @param ListDatasetsRequest
|
|
675
675
|
* @return ListDatasetsResponse
|
|
676
676
|
* @throws OciError when an error occurs
|
|
677
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
677
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/ListDatasets.ts.html |here} to see how to use ListDatasets API.
|
|
678
678
|
*/
|
|
679
679
|
listDatasets(listDatasetsRequest) {
|
|
680
680
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -746,7 +746,7 @@ class DataLabelingManagementClient {
|
|
|
746
746
|
* @param ListWorkRequestErrorsRequest
|
|
747
747
|
* @return ListWorkRequestErrorsResponse
|
|
748
748
|
* @throws OciError when an error occurs
|
|
749
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
749
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
750
750
|
*/
|
|
751
751
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
752
752
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -813,7 +813,7 @@ class DataLabelingManagementClient {
|
|
|
813
813
|
* @param ListWorkRequestLogsRequest
|
|
814
814
|
* @return ListWorkRequestLogsResponse
|
|
815
815
|
* @throws OciError when an error occurs
|
|
816
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
816
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
817
817
|
*/
|
|
818
818
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
819
819
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -880,7 +880,7 @@ class DataLabelingManagementClient {
|
|
|
880
880
|
* @param ListWorkRequestsRequest
|
|
881
881
|
* @return ListWorkRequestsResponse
|
|
882
882
|
* @throws OciError when an error occurs
|
|
883
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
883
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
884
884
|
*/
|
|
885
885
|
listWorkRequests(listWorkRequestsRequest) {
|
|
886
886
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -947,7 +947,7 @@ class DataLabelingManagementClient {
|
|
|
947
947
|
* @param RemoveDatasetLabelsRequest
|
|
948
948
|
* @return RemoveDatasetLabelsResponse
|
|
949
949
|
* @throws OciError when an error occurs
|
|
950
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
950
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/RemoveDatasetLabels.ts.html |here} to see how to use RemoveDatasetLabels API.
|
|
951
951
|
*/
|
|
952
952
|
removeDatasetLabels(removeDatasetLabelsRequest) {
|
|
953
953
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1010,7 +1010,7 @@ class DataLabelingManagementClient {
|
|
|
1010
1010
|
* @param RenameDatasetLabelsRequest
|
|
1011
1011
|
* @return RenameDatasetLabelsResponse
|
|
1012
1012
|
* @throws OciError when an error occurs
|
|
1013
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1013
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/RenameDatasetLabels.ts.html |here} to see how to use RenameDatasetLabels API.
|
|
1014
1014
|
*/
|
|
1015
1015
|
renameDatasetLabels(renameDatasetLabelsRequest) {
|
|
1016
1016
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1074,7 +1074,7 @@ class DataLabelingManagementClient {
|
|
|
1074
1074
|
* @param SnapshotDatasetRequest
|
|
1075
1075
|
* @return SnapshotDatasetResponse
|
|
1076
1076
|
* @throws OciError when an error occurs
|
|
1077
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1077
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/SnapshotDataset.ts.html |here} to see how to use SnapshotDataset API.
|
|
1078
1078
|
*/
|
|
1079
1079
|
snapshotDataset(snapshotDatasetRequest) {
|
|
1080
1080
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1136,7 +1136,7 @@ class DataLabelingManagementClient {
|
|
|
1136
1136
|
* @param UpdateDatasetRequest
|
|
1137
1137
|
* @return UpdateDatasetResponse
|
|
1138
1138
|
* @throws OciError when an error occurs
|
|
1139
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1139
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/UpdateDataset.ts.html |here} to see how to use UpdateDataset API.
|
|
1140
1140
|
*/
|
|
1141
1141
|
updateDataset(updateDatasetRequest) {
|
|
1142
1142
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11,7 +11,7 @@
|
|
|
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
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* It specifies how to process the data. Supported formats include DOCUMENT, IMAGE, and TEXT.
|
|
15
15
|
*/
|
|
16
16
|
export interface DatasetFormatDetails {
|
|
17
17
|
"formatType": string;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data Labeling Management API
|
|
3
|
+
* Use Data Labeling Management API to create, list, edit & delete datasets.
|
|
4
|
+
* OpenAPI spec version: 20211001
|
|
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
|
+
/**
|
|
15
|
+
* Metadata of delimited files.
|
|
16
|
+
*/
|
|
17
|
+
export interface DelimitedFileTypeMetadata extends model.TextFileTypeMetadata {
|
|
18
|
+
/**
|
|
19
|
+
* The name of a selected column.
|
|
20
|
+
*/
|
|
21
|
+
"columnName"?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The index of a selected column. This is a zero-based index. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
24
|
+
*/
|
|
25
|
+
"columnIndex": number;
|
|
26
|
+
/**
|
|
27
|
+
* A column delimiter
|
|
28
|
+
*/
|
|
29
|
+
"columnDelimiter"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* A line delimiter.
|
|
32
|
+
*/
|
|
33
|
+
"lineDelimiter"?: string;
|
|
34
|
+
/**
|
|
35
|
+
* An escape character.
|
|
36
|
+
*/
|
|
37
|
+
"escapeCharacter"?: string;
|
|
38
|
+
"formatType": string;
|
|
39
|
+
}
|
|
40
|
+
export declare namespace DelimitedFileTypeMetadata {
|
|
41
|
+
function getJsonObj(obj: DelimitedFileTypeMetadata, isParentJsonObj?: boolean): object;
|
|
42
|
+
const formatType = "DELIMITED";
|
|
43
|
+
function getDeserializedJsonObj(obj: DelimitedFileTypeMetadata, isParentJsonObj?: boolean): object;
|
|
44
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Data Labeling Management API
|
|
4
|
+
* Use Data Labeling Management API to create, list, edit & delete datasets.
|
|
5
|
+
* OpenAPI spec version: 20211001
|
|
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
|
+
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.DelimitedFileTypeMetadata = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var DelimitedFileTypeMetadata;
|
|
37
|
+
(function (DelimitedFileTypeMetadata) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
+
? obj
|
|
41
|
+
: model.TextFileTypeMetadata.getJsonObj(obj))), {});
|
|
42
|
+
return jsonObj;
|
|
43
|
+
}
|
|
44
|
+
DelimitedFileTypeMetadata.getJsonObj = getJsonObj;
|
|
45
|
+
DelimitedFileTypeMetadata.formatType = "DELIMITED";
|
|
46
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
47
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
48
|
+
? obj
|
|
49
|
+
: model.TextFileTypeMetadata.getDeserializedJsonObj(obj))), {});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
DelimitedFileTypeMetadata.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
53
|
+
})(DelimitedFileTypeMetadata = exports.DelimitedFileTypeMetadata || (exports.DelimitedFileTypeMetadata = {}));
|
|
54
|
+
//# sourceMappingURL=delimited-file-type-metadata.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delimited-file-type-metadata.js","sourceRoot":"","sources":["../../../../../lib/datalabelingservice/lib/model/delimited-file-type-metadata.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA+BlC,IAAiB,yBAAyB,CAyBzC;AAzBD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B,EAAE,eAAyB;QAClF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAA+B,CAAC,GAC3E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,oCAAU,aASzB,CAAA;IACY,oCAAU,GAAG,WAAW,CAAC;IACtC,SAAgB,sBAAsB,CACpC,GAA8B,EAC9B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAA+B,CAAC,GACvF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,gDAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAyBzC"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* It indicates the dataset is comprised of document files. It is open for further configurability.
|
|
16
16
|
*/
|
|
17
17
|
export interface DocumentDatasetFormatDetails extends model.DatasetFormatDetails {
|
|
18
18
|
"formatType": string;
|
|
@@ -24,6 +24,7 @@ var ExportFormat;
|
|
|
24
24
|
Name["Coco"] = "COCO";
|
|
25
25
|
Name["Yolo"] = "YOLO";
|
|
26
26
|
Name["PascalVoc"] = "PASCAL_VOC";
|
|
27
|
+
Name["JsonlCompactPlusContent"] = "JSONL_COMPACT_PLUS_CONTENT";
|
|
27
28
|
})(Name = ExportFormat.Name || (ExportFormat.Name = {}));
|
|
28
29
|
let Version;
|
|
29
30
|
(function (Version) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export-format.js","sourceRoot":"","sources":["../../../../../lib/datalabelingservice/lib/model/export-format.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmBH,IAAiB,YAAY,
|
|
1
|
+
{"version":3,"file":"export-format.js","sourceRoot":"","sources":["../../../../../lib/datalabelingservice/lib/model/export-format.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmBH,IAAiB,YAAY,CA2B5B;AA3BD,WAAiB,YAAY;IAC3B,IAAY,IASX;IATD,WAAY,IAAI;QACd,uBAAe,CAAA;QACf,gDAAwC,CAAA;QACxC,uBAAe,CAAA;QACf,uBAAe,CAAA;QACf,qBAAa,CAAA;QACb,qBAAa,CAAA;QACb,gCAAwB,CAAA;QACxB,8DAAsD,CAAA;IACxD,CAAC,EATW,IAAI,GAAJ,iBAAI,KAAJ,iBAAI,QASf;IAED,IAAY,OAGX;IAHD,WAAY,OAAO;QACjB,0BAAe,CAAA;QACf,oBAAS,CAAA;IACX,CAAC,EAHW,OAAO,GAAP,oBAAO,KAAP,oBAAO,QAGlB;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,EA3BgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QA2B5B"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* It indicates the dataset is comprised of images.
|
|
16
16
|
*/
|
|
17
17
|
export interface ImageDatasetFormatDetails extends model.DatasetFormatDetails {
|
|
18
18
|
"formatType": string;
|
package/lib/model/index.d.ts
CHANGED
|
@@ -58,6 +58,8 @@ import * as SnapshotExportDetails from "./snapshot-export-details";
|
|
|
58
58
|
export import SnapshotExportDetails = SnapshotExportDetails.SnapshotExportDetails;
|
|
59
59
|
import * as SortOrder from "./sort-order";
|
|
60
60
|
export import SortOrder = SortOrder.SortOrder;
|
|
61
|
+
import * as TextFileTypeMetadata from "./text-file-type-metadata";
|
|
62
|
+
export import TextFileTypeMetadata = TextFileTypeMetadata.TextFileTypeMetadata;
|
|
61
63
|
import * as UpdateDatasetDetails from "./update-dataset-details";
|
|
62
64
|
export import UpdateDatasetDetails = UpdateDatasetDetails.UpdateDatasetDetails;
|
|
63
65
|
import * as WorkRequest from "./work-request";
|
|
@@ -78,6 +80,8 @@ import * as WorkRequestSummary from "./work-request-summary";
|
|
|
78
80
|
export import WorkRequestSummary = WorkRequestSummary.WorkRequestSummary;
|
|
79
81
|
import * as WorkRequestSummaryCollection from "./work-request-summary-collection";
|
|
80
82
|
export import WorkRequestSummaryCollection = WorkRequestSummaryCollection.WorkRequestSummaryCollection;
|
|
83
|
+
import * as DelimitedFileTypeMetadata from "./delimited-file-type-metadata";
|
|
84
|
+
export import DelimitedFileTypeMetadata = DelimitedFileTypeMetadata.DelimitedFileTypeMetadata;
|
|
81
85
|
import * as DocumentDatasetFormatDetails from "./document-dataset-format-details";
|
|
82
86
|
export import DocumentDatasetFormatDetails = DocumentDatasetFormatDetails.DocumentDatasetFormatDetails;
|
|
83
87
|
import * as ImageDatasetFormatDetails from "./image-dataset-format-details";
|
package/lib/model/index.js
CHANGED
|
@@ -31,7 +31,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
31
31
|
return result;
|
|
32
32
|
};
|
|
33
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
-
exports.TextDatasetFormatDetails = exports.ObjectStorageSourceDetails = exports.ObjectStorageSnapshotExportDetails = exports.ImageDatasetFormatDetails = exports.DocumentDatasetFormatDetails = exports.WorkRequestSummaryCollection = exports.WorkRequestSummary = exports.WorkRequestResourceMetadataKey = exports.WorkRequestResource = exports.WorkRequestLogEntryCollection = exports.WorkRequestLogEntry = exports.WorkRequestErrorCollection = exports.WorkRequestError = exports.WorkRequest = exports.UpdateDatasetDetails = exports.SortOrder = exports.SnapshotExportDetails = exports.SnapshotDatasetDetails = exports.RenameDatasetLabelsDetails = exports.RemoveDatasetLabelsDetails = exports.OperationType = exports.OperationStatus = exports.LabelSet = exports.Label = exports.InitialRecordGenerationConfiguration = exports.GenerateDatasetRecordsDetails = exports.ExportFormat = exports.DatasetSummary = exports.DatasetSourceDetails = exports.DatasetFormatDetails = exports.DatasetCollection = exports.Dataset = exports.CreateDatasetDetails = exports.ChangeDatasetCompartmentDetails = exports.AnnotationFormatSummary = exports.AnnotationFormatCollection = exports.AnnotationFormat = exports.AddDatasetLabelsDetails = exports.ActionType = void 0;
|
|
34
|
+
exports.TextDatasetFormatDetails = exports.ObjectStorageSourceDetails = exports.ObjectStorageSnapshotExportDetails = exports.ImageDatasetFormatDetails = exports.DocumentDatasetFormatDetails = exports.DelimitedFileTypeMetadata = exports.WorkRequestSummaryCollection = exports.WorkRequestSummary = exports.WorkRequestResourceMetadataKey = exports.WorkRequestResource = exports.WorkRequestLogEntryCollection = exports.WorkRequestLogEntry = exports.WorkRequestErrorCollection = exports.WorkRequestError = exports.WorkRequest = exports.UpdateDatasetDetails = exports.TextFileTypeMetadata = exports.SortOrder = exports.SnapshotExportDetails = exports.SnapshotDatasetDetails = exports.RenameDatasetLabelsDetails = exports.RemoveDatasetLabelsDetails = exports.OperationType = exports.OperationStatus = exports.LabelSet = exports.Label = exports.InitialRecordGenerationConfiguration = exports.GenerateDatasetRecordsDetails = exports.ExportFormat = exports.DatasetSummary = exports.DatasetSourceDetails = exports.DatasetFormatDetails = exports.DatasetCollection = exports.Dataset = exports.CreateDatasetDetails = exports.ChangeDatasetCompartmentDetails = exports.AnnotationFormatSummary = exports.AnnotationFormatCollection = exports.AnnotationFormat = exports.AddDatasetLabelsDetails = exports.ActionType = void 0;
|
|
35
35
|
const ActionType = __importStar(require("./action-type"));
|
|
36
36
|
exports.ActionType = ActionType.ActionType;
|
|
37
37
|
const AddDatasetLabelsDetails = __importStar(require("./add-dataset-labels-details"));
|
|
@@ -80,6 +80,8 @@ const SnapshotExportDetails = __importStar(require("./snapshot-export-details"))
|
|
|
80
80
|
exports.SnapshotExportDetails = SnapshotExportDetails.SnapshotExportDetails;
|
|
81
81
|
const SortOrder = __importStar(require("./sort-order"));
|
|
82
82
|
exports.SortOrder = SortOrder.SortOrder;
|
|
83
|
+
const TextFileTypeMetadata = __importStar(require("./text-file-type-metadata"));
|
|
84
|
+
exports.TextFileTypeMetadata = TextFileTypeMetadata.TextFileTypeMetadata;
|
|
83
85
|
const UpdateDatasetDetails = __importStar(require("./update-dataset-details"));
|
|
84
86
|
exports.UpdateDatasetDetails = UpdateDatasetDetails.UpdateDatasetDetails;
|
|
85
87
|
const WorkRequest = __importStar(require("./work-request"));
|
|
@@ -100,6 +102,8 @@ const WorkRequestSummary = __importStar(require("./work-request-summary"));
|
|
|
100
102
|
exports.WorkRequestSummary = WorkRequestSummary.WorkRequestSummary;
|
|
101
103
|
const WorkRequestSummaryCollection = __importStar(require("./work-request-summary-collection"));
|
|
102
104
|
exports.WorkRequestSummaryCollection = WorkRequestSummaryCollection.WorkRequestSummaryCollection;
|
|
105
|
+
const DelimitedFileTypeMetadata = __importStar(require("./delimited-file-type-metadata"));
|
|
106
|
+
exports.DelimitedFileTypeMetadata = DelimitedFileTypeMetadata.DelimitedFileTypeMetadata;
|
|
103
107
|
const DocumentDatasetFormatDetails = __importStar(require("./document-dataset-format-details"));
|
|
104
108
|
exports.DocumentDatasetFormatDetails = DocumentDatasetFormatDetails.DocumentDatasetFormatDetails;
|
|
105
109
|
const ImageDatasetFormatDetails = __importStar(require("./image-dataset-format-details"));
|
package/lib/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/datalabelingservice/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,0DAA4C;AAC9B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,sFAAwE;AAC1D,QAAA,uBAAuB,GAAG,uBAAuB,CAAC,uBAAuB,CAAC;AACxF,sEAAwD;AAC1C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,2FAA6E;AAC/D,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,qFAAuE;AACzD,QAAA,uBAAuB,GAAG,uBAAuB,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,QAAA,yBAAyB,GAAG,yBAAyB,CAAC,yBAAyB,CAAC;AAC9F,gGAAkF;AACpE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC;AACvG,0FAA4E;AAC9D,QAAA,yBAAyB,GAAG,yBAAyB,CAAC,yBAAyB,CAAC;AAC9F,6GAA+F;AACjF,QAAA,kCAAkC,GAAG,kCAAkC,CAAC,kCAAkC,CAAC;AACzH,4FAA8E;AAChE,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,wFAA0E;AAC5D,QAAA,wBAAwB,GAAG,wBAAwB,CAAC,wBAAwB,CAAC"}
|
|
@@ -11,11 +11,11 @@
|
|
|
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
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* The initial generate records configuration. It generates records from the dataset's source.
|
|
15
15
|
*/
|
|
16
16
|
export interface InitialRecordGenerationConfiguration {
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* The maximum number of records to generate. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
19
19
|
*/
|
|
20
20
|
"limit"?: number;
|
|
21
21
|
}
|
package/lib/model/label-set.d.ts
CHANGED
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
* An ordered collection of
|
|
15
|
+
* An ordered collection of labels that are unique by name.
|
|
16
16
|
*
|
|
17
17
|
*/
|
|
18
18
|
export interface LabelSet {
|
|
19
19
|
/**
|
|
20
|
-
* An ordered collection of
|
|
20
|
+
* An ordered collection of labels that are unique by name.
|
|
21
21
|
*/
|
|
22
22
|
"items"?: Array<model.Label>;
|
|
23
23
|
}
|
package/lib/model/label.d.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
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
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* It represents a label.
|
|
15
15
|
*/
|
|
16
16
|
export interface Label {
|
|
17
17
|
/**
|
|
@@ -17,15 +17,15 @@ import * as model from "../model";
|
|
|
17
17
|
*/
|
|
18
18
|
export interface ObjectStorageSourceDetails extends model.DatasetSourceDetails {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* The namespace of the bucket that contains the dataset data source.
|
|
21
21
|
*/
|
|
22
22
|
"namespace": string;
|
|
23
23
|
/**
|
|
24
|
-
* The object storage bucket that contains the dataset data source
|
|
24
|
+
* The object storage bucket that contains the dataset data source.
|
|
25
25
|
*/
|
|
26
26
|
"bucket": string;
|
|
27
27
|
/**
|
|
28
|
-
* A common path prefix shared by the objects that make up the dataset.
|
|
28
|
+
* A common path prefix shared by the objects that make up the dataset. Except for the CSV file type, records are not generated for the objects whose names exactly match with the prefix.
|
|
29
29
|
*/
|
|
30
30
|
"prefix"?: string;
|
|
31
31
|
"sourceType": string;
|
|
@@ -12,9 +12,10 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* It indicates the dataset is comprised of TXT files.
|
|
16
16
|
*/
|
|
17
17
|
export interface TextDatasetFormatDetails extends model.DatasetFormatDetails {
|
|
18
|
+
"textFileTypeMetadata"?: model.DelimitedFileTypeMetadata;
|
|
18
19
|
"formatType": string;
|
|
19
20
|
}
|
|
20
21
|
export declare namespace TextDatasetFormatDetails {
|
|
@@ -38,7 +38,11 @@ var TextDatasetFormatDetails;
|
|
|
38
38
|
function getJsonObj(obj, isParentJsonObj) {
|
|
39
39
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
40
|
? obj
|
|
41
|
-
: model.DatasetFormatDetails.getJsonObj(obj))), {
|
|
41
|
+
: model.DatasetFormatDetails.getJsonObj(obj))), {
|
|
42
|
+
"textFileTypeMetadata": obj.textFileTypeMetadata
|
|
43
|
+
? model.TextFileTypeMetadata.getJsonObj(obj.textFileTypeMetadata)
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
42
46
|
return jsonObj;
|
|
43
47
|
}
|
|
44
48
|
TextDatasetFormatDetails.getJsonObj = getJsonObj;
|
|
@@ -46,7 +50,11 @@ var TextDatasetFormatDetails;
|
|
|
46
50
|
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
47
51
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
48
52
|
? obj
|
|
49
|
-
: model.DatasetFormatDetails.getDeserializedJsonObj(obj))), {
|
|
53
|
+
: model.DatasetFormatDetails.getDeserializedJsonObj(obj))), {
|
|
54
|
+
"textFileTypeMetadata": obj.textFileTypeMetadata
|
|
55
|
+
? model.TextFileTypeMetadata.getDeserializedJsonObj(obj.textFileTypeMetadata)
|
|
56
|
+
: undefined
|
|
57
|
+
});
|
|
50
58
|
return jsonObj;
|
|
51
59
|
}
|
|
52
60
|
TextDatasetFormatDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-dataset-format-details.js","sourceRoot":"","sources":["../../../../../lib/datalabelingservice/lib/model/text-dataset-format-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"text-dataset-format-details.js","sourceRoot":"","sources":["../../../../../lib/datalabelingservice/lib/model/text-dataset-format-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAYlC,IAAiB,wBAAwB,CAiCxC;AAjCD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B,EAAE,eAAyB;QACjF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAA8B,CAAC,GAC1E;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAC,oBAAoB,CAAC;gBACjE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mCAAU,aAazB,CAAA;IACY,mCAAU,GAAG,MAAM,CAAC;IACjC,SAAgB,sBAAsB,CACpC,GAA6B,EAC7B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAA8B,CAAC,GACtF;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAC,oBAAoB,CAAC;gBAC7E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,+CAAsB,yBAgBrC,CAAA;AACH,CAAC,EAjCgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAiCxC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data Labeling Management API
|
|
3
|
+
* Use Data Labeling Management API to create, list, edit & delete datasets.
|
|
4
|
+
* OpenAPI spec version: 20211001
|
|
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
|
+
/**
|
|
14
|
+
* Metadata for files with text content.
|
|
15
|
+
*/
|
|
16
|
+
export interface TextFileTypeMetadata {
|
|
17
|
+
"formatType": string;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace TextFileTypeMetadata {
|
|
20
|
+
function getJsonObj(obj: TextFileTypeMetadata): object;
|
|
21
|
+
function getDeserializedJsonObj(obj: TextFileTypeMetadata): object;
|
|
22
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Data Labeling Management API
|
|
4
|
+
* Use Data Labeling Management API to create, list, edit & delete datasets.
|
|
5
|
+
* OpenAPI spec version: 20211001
|
|
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
|
+
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.TextFileTypeMetadata = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var TextFileTypeMetadata;
|
|
37
|
+
(function (TextFileTypeMetadata) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
40
|
+
if (obj && "formatType" in obj && obj.formatType) {
|
|
41
|
+
switch (obj.formatType) {
|
|
42
|
+
case "DELIMITED":
|
|
43
|
+
return model.DelimitedFileTypeMetadata.getJsonObj(jsonObj, true);
|
|
44
|
+
default:
|
|
45
|
+
throw Error("Unknown value for: " + obj.formatType);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return jsonObj;
|
|
49
|
+
}
|
|
50
|
+
TextFileTypeMetadata.getJsonObj = getJsonObj;
|
|
51
|
+
function getDeserializedJsonObj(obj) {
|
|
52
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
53
|
+
if (obj && "formatType" in obj && obj.formatType) {
|
|
54
|
+
switch (obj.formatType) {
|
|
55
|
+
case "DELIMITED":
|
|
56
|
+
return model.DelimitedFileTypeMetadata.getDeserializedJsonObj(jsonObj, true);
|
|
57
|
+
default:
|
|
58
|
+
throw Error("Unknown value for: " + obj.formatType);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return jsonObj;
|
|
62
|
+
}
|
|
63
|
+
TextFileTypeMetadata.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
64
|
+
})(TextFileTypeMetadata = exports.TextFileTypeMetadata || (exports.TextFileTypeMetadata = {}));
|
|
65
|
+
//# sourceMappingURL=text-file-type-metadata.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-file-type-metadata.js","sourceRoot":"","sources":["../../../../../lib/datalabelingservice/lib/model/text-file-type-metadata.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,oBAAoB,CAiCpC;AAjCD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YAChD,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,WAAW;oBACd,OAAO,KAAK,CAAC,yBAAyB,CAAC,UAAU,CACL,OAAQ,EAClD,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,UAAU,CAAC,CAAC;aACvD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,+BAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YAChD,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,WAAW;oBACd,OAAO,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACjB,OAAQ,EAClD,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,UAAU,CAAC,CAAC;aACvD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,2CAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAiCpC"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/AddDatasetLabels.ts.html |here} to see how to use AddDatasetLabelsRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface AddDatasetLabelsRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/ChangeDatasetCompartment.ts.html |here} to see how to use ChangeDatasetCompartmentRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface ChangeDatasetCompartmentRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/CreateDataset.ts.html |here} to see how to use CreateDatasetRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface CreateDatasetRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/DeleteDataset.ts.html |here} to see how to use DeleteDatasetRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface DeleteDatasetRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/GenerateDatasetRecords.ts.html |here} to see how to use GenerateDatasetRecordsRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface GenerateDatasetRecordsRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/GetDataset.ts.html |here} to see how to use GetDatasetRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetDatasetRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetWorkRequestRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/ListAnnotationFormats.ts.html |here} to see how to use ListAnnotationFormatsRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface ListAnnotationFormatsRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/ListDatasets.ts.html |here} to see how to use ListDatasetsRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface ListDatasetsRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListWorkRequestErrorsRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListWorkRequestLogsRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListWorkRequestsRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/RemoveDatasetLabels.ts.html |here} to see how to use RemoveDatasetLabelsRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface RemoveDatasetLabelsRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/RenameDatasetLabels.ts.html |here} to see how to use RenameDatasetLabelsRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface RenameDatasetLabelsRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/SnapshotDataset.ts.html |here} to see how to use SnapshotDatasetRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface SnapshotDatasetRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.33.0/datalabelingservice/UpdateDataset.ts.html |here} to see how to use UpdateDatasetRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface UpdateDatasetRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-datalabelingservice",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.33.0",
|
|
4
4
|
"description": "OCI NodeJS client for Data Labeling Service Service",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"license": "(UPL-1.0 OR Apache-2.0)",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"oci-common": "2.
|
|
19
|
-
"oci-workrequests": "2.
|
|
18
|
+
"oci-common": "2.33.0",
|
|
19
|
+
"oci-workrequests": "2.33.0"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org"
|