oci-aidocument 2.63.0 → 2.64.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.
Files changed (86) hide show
  1. package/LICENSE.txt +6 -6
  2. package/lib/client.d.ts +39 -20
  3. package/lib/client.js +164 -20
  4. package/lib/client.js.map +1 -1
  5. package/lib/model/analyze-document-details.d.ts +41 -0
  6. package/lib/model/analyze-document-details.js +75 -0
  7. package/lib/model/analyze-document-details.js.map +1 -0
  8. package/lib/model/component-model.d.ts +25 -0
  9. package/lib/model/component-model.js +29 -0
  10. package/lib/model/component-model.js.map +1 -0
  11. package/lib/model/create-model-details.d.ts +8 -0
  12. package/lib/model/create-model-details.js +10 -0
  13. package/lib/model/create-model-details.js.map +1 -1
  14. package/lib/model/detected-document-type.d.ts +4 -0
  15. package/lib/model/detected-document-type.js.map +1 -1
  16. package/lib/model/document-classification-feature.d.ts +4 -0
  17. package/lib/model/document-classification-feature.js.map +1 -1
  18. package/lib/model/document-details.d.ts +22 -0
  19. package/lib/model/document-details.js +72 -0
  20. package/lib/model/document-details.js.map +1 -0
  21. package/lib/model/document-key-value-extraction-feature.d.ts +4 -0
  22. package/lib/model/document-key-value-extraction-feature.js.map +1 -1
  23. package/lib/model/index.d.ts +16 -0
  24. package/lib/model/index.js +18 -2
  25. package/lib/model/index.js.map +1 -1
  26. package/lib/model/inline-document-details.d.ts +28 -0
  27. package/lib/model/inline-document-details.js +52 -0
  28. package/lib/model/inline-document-details.js.map +1 -0
  29. package/lib/model/model-summary.d.ts +16 -0
  30. package/lib/model/model-summary.js +10 -0
  31. package/lib/model/model-summary.js.map +1 -1
  32. package/lib/model/model.d.ts +17 -1
  33. package/lib/model/model.js +10 -0
  34. package/lib/model/model.js.map +1 -1
  35. package/lib/model/object-storage-document-details.d.ts +36 -0
  36. package/lib/model/object-storage-document-details.js +54 -0
  37. package/lib/model/object-storage-document-details.js.map +1 -0
  38. package/lib/model/operation-type.d.ts +1 -0
  39. package/lib/model/operation-type.js +1 -0
  40. package/lib/model/operation-type.js.map +1 -1
  41. package/lib/model/output-location.d.ts +1 -1
  42. package/lib/model/patch-model-details.d.ts +26 -0
  43. package/lib/model/patch-model-details.js +61 -0
  44. package/lib/model/patch-model-details.js.map +1 -0
  45. package/lib/model/patch-model-operation.d.ts +38 -0
  46. package/lib/model/patch-model-operation.js +35 -0
  47. package/lib/model/patch-model-operation.js.map +1 -0
  48. package/lib/model/patch-response-message.d.ts +33 -0
  49. package/lib/model/patch-response-message.js +29 -0
  50. package/lib/model/patch-response-message.js.map +1 -0
  51. package/lib/request/analyze-document-request.d.ts +36 -0
  52. package/lib/request/analyze-document-request.js +15 -0
  53. package/lib/request/analyze-document-request.js.map +1 -0
  54. package/lib/request/cancel-processor-job-request.d.ts +1 -1
  55. package/lib/request/cancel-work-request-request.d.ts +1 -1
  56. package/lib/request/change-model-compartment-request.d.ts +1 -1
  57. package/lib/request/change-project-compartment-request.d.ts +1 -1
  58. package/lib/request/create-model-request.d.ts +1 -1
  59. package/lib/request/create-processor-job-request.d.ts +1 -1
  60. package/lib/request/create-project-request.d.ts +1 -1
  61. package/lib/request/delete-model-request.d.ts +1 -1
  62. package/lib/request/delete-project-request.d.ts +1 -1
  63. package/lib/request/get-model-request.d.ts +1 -1
  64. package/lib/request/get-processor-job-request.d.ts +1 -1
  65. package/lib/request/get-project-request.d.ts +1 -1
  66. package/lib/request/get-work-request-request.d.ts +1 -1
  67. package/lib/request/index.d.ts +4 -0
  68. package/lib/request/index.js.map +1 -1
  69. package/lib/request/list-models-request.d.ts +1 -1
  70. package/lib/request/list-projects-request.d.ts +1 -1
  71. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  72. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  73. package/lib/request/list-work-requests-request.d.ts +1 -1
  74. package/lib/request/patch-model-request.d.ts +40 -0
  75. package/lib/request/patch-model-request.js +15 -0
  76. package/lib/request/patch-model-request.js.map +1 -0
  77. package/lib/request/update-model-request.d.ts +1 -1
  78. package/lib/request/update-project-request.d.ts +1 -1
  79. package/lib/response/analyze-document-response.d.ts +40 -0
  80. package/lib/response/analyze-document-response.js +15 -0
  81. package/lib/response/analyze-document-response.js.map +1 -0
  82. package/lib/response/index.d.ts +4 -0
  83. package/lib/response/patch-model-response.d.ts +35 -0
  84. package/lib/response/patch-model-response.js +15 -0
  85. package/lib/response/patch-model-response.js.map +1 -0
  86. package/package.json +3 -3
package/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
1
+ Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
2
2
 
3
3
  This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 or Apache License 2.0. See below for license terms. You may choose either license.
4
4
 
@@ -70,10 +70,10 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
70
70
  3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
71
71
 
72
72
  4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
73
- You must give any other recipients of the Work or Derivative Works a copy of this License; and
74
- You must cause any modified files to carry prominent notices stating that You changed the files; and
75
- You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
76
- If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
73
+ - You must give any other recipients of the Work or Derivative Works a copy of this License; and
74
+ - You must cause any modified files to carry prominent notices stating that You changed the files; and
75
+ - You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
76
+ - If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
77
77
 
78
78
  You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
79
79
  5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
@@ -86,4 +86,4 @@ You may add Your own copyright statement to Your modifications and may provide a
86
86
 
87
87
  9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
88
88
 
89
- END OF TERMS AND CONDITIONS
89
+ END OF TERMS AND CONDITIONS
package/lib/client.d.ts CHANGED
@@ -79,6 +79,16 @@ export declare class AIServiceDocumentClient {
79
79
  * @return The service waiters.
80
80
  */
81
81
  getWaiters(): AIServiceDocumentWaiter;
82
+ /**
83
+ * Perform different types of document analysis.
84
+ *
85
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
86
+ * @param AnalyzeDocumentRequest
87
+ * @return AnalyzeDocumentResponse
88
+ * @throws OciError when an error occurs
89
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/AnalyzeDocument.ts.html |here} to see how to use AnalyzeDocument API.
90
+ */
91
+ analyzeDocument(analyzeDocumentRequest: requests.AnalyzeDocumentRequest): Promise<responses.AnalyzeDocumentResponse>;
82
92
  /**
83
93
  * Cancel a processor job.
84
94
  *
@@ -86,7 +96,7 @@ export declare class AIServiceDocumentClient {
86
96
  * @param CancelProcessorJobRequest
87
97
  * @return CancelProcessorJobResponse
88
98
  * @throws OciError when an error occurs
89
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CancelProcessorJob.ts.html |here} to see how to use CancelProcessorJob API.
99
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CancelProcessorJob.ts.html |here} to see how to use CancelProcessorJob API.
90
100
  */
91
101
  cancelProcessorJob(cancelProcessorJobRequest: requests.CancelProcessorJobRequest): Promise<responses.CancelProcessorJobResponse>;
92
102
  /**
@@ -95,7 +105,7 @@ export declare class AIServiceDocumentClient {
95
105
  * @param CancelWorkRequestRequest
96
106
  * @return CancelWorkRequestResponse
97
107
  * @throws OciError when an error occurs
98
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
108
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
99
109
  */
100
110
  cancelWorkRequest(cancelWorkRequestRequest: requests.CancelWorkRequestRequest): Promise<responses.CancelWorkRequestResponse>;
101
111
  /**
@@ -104,7 +114,7 @@ export declare class AIServiceDocumentClient {
104
114
  * @param ChangeModelCompartmentRequest
105
115
  * @return ChangeModelCompartmentResponse
106
116
  * @throws OciError when an error occurs
107
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
117
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
108
118
  */
109
119
  changeModelCompartment(changeModelCompartmentRequest: requests.ChangeModelCompartmentRequest): Promise<responses.ChangeModelCompartmentResponse>;
110
120
  /**
@@ -113,7 +123,7 @@ export declare class AIServiceDocumentClient {
113
123
  * @param ChangeProjectCompartmentRequest
114
124
  * @return ChangeProjectCompartmentResponse
115
125
  * @throws OciError when an error occurs
116
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
126
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
117
127
  */
118
128
  changeProjectCompartment(changeProjectCompartmentRequest: requests.ChangeProjectCompartmentRequest): Promise<responses.ChangeProjectCompartmentResponse>;
119
129
  /**
@@ -123,7 +133,7 @@ export declare class AIServiceDocumentClient {
123
133
  * @param CreateModelRequest
124
134
  * @return CreateModelResponse
125
135
  * @throws OciError when an error occurs
126
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CreateModel.ts.html |here} to see how to use CreateModel API.
136
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CreateModel.ts.html |here} to see how to use CreateModel API.
127
137
  */
128
138
  createModel(createModelRequest: requests.CreateModelRequest): Promise<responses.CreateModelResponse>;
129
139
  /**
@@ -133,7 +143,7 @@ export declare class AIServiceDocumentClient {
133
143
  * @param CreateProcessorJobRequest
134
144
  * @return CreateProcessorJobResponse
135
145
  * @throws OciError when an error occurs
136
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CreateProcessorJob.ts.html |here} to see how to use CreateProcessorJob API.
146
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CreateProcessorJob.ts.html |here} to see how to use CreateProcessorJob API.
137
147
  */
138
148
  createProcessorJob(createProcessorJobRequest: requests.CreateProcessorJobRequest): Promise<responses.CreateProcessorJobResponse>;
139
149
  /**
@@ -143,7 +153,7 @@ export declare class AIServiceDocumentClient {
143
153
  * @param CreateProjectRequest
144
154
  * @return CreateProjectResponse
145
155
  * @throws OciError when an error occurs
146
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CreateProject.ts.html |here} to see how to use CreateProject API.
156
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CreateProject.ts.html |here} to see how to use CreateProject API.
147
157
  */
148
158
  createProject(createProjectRequest: requests.CreateProjectRequest): Promise<responses.CreateProjectResponse>;
149
159
  /**
@@ -152,7 +162,7 @@ export declare class AIServiceDocumentClient {
152
162
  * @param DeleteModelRequest
153
163
  * @return DeleteModelResponse
154
164
  * @throws OciError when an error occurs
155
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/DeleteModel.ts.html |here} to see how to use DeleteModel API.
165
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/DeleteModel.ts.html |here} to see how to use DeleteModel API.
156
166
  */
157
167
  deleteModel(deleteModelRequest: requests.DeleteModelRequest): Promise<responses.DeleteModelResponse>;
158
168
  /**
@@ -161,7 +171,7 @@ export declare class AIServiceDocumentClient {
161
171
  * @param DeleteProjectRequest
162
172
  * @return DeleteProjectResponse
163
173
  * @throws OciError when an error occurs
164
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/DeleteProject.ts.html |here} to see how to use DeleteProject API.
174
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/DeleteProject.ts.html |here} to see how to use DeleteProject API.
165
175
  */
166
176
  deleteProject(deleteProjectRequest: requests.DeleteProjectRequest): Promise<responses.DeleteProjectResponse>;
167
177
  /**
@@ -170,7 +180,7 @@ export declare class AIServiceDocumentClient {
170
180
  * @param GetModelRequest
171
181
  * @return GetModelResponse
172
182
  * @throws OciError when an error occurs
173
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/GetModel.ts.html |here} to see how to use GetModel API.
183
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/GetModel.ts.html |here} to see how to use GetModel API.
174
184
  */
175
185
  getModel(getModelRequest: requests.GetModelRequest): Promise<responses.GetModelResponse>;
176
186
  /**
@@ -180,7 +190,7 @@ export declare class AIServiceDocumentClient {
180
190
  * @param GetProcessorJobRequest
181
191
  * @return GetProcessorJobResponse
182
192
  * @throws OciError when an error occurs
183
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/GetProcessorJob.ts.html |here} to see how to use GetProcessorJob API.
193
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/GetProcessorJob.ts.html |here} to see how to use GetProcessorJob API.
184
194
  */
185
195
  getProcessorJob(getProcessorJobRequest: requests.GetProcessorJobRequest): Promise<responses.GetProcessorJobResponse>;
186
196
  /**
@@ -189,7 +199,7 @@ export declare class AIServiceDocumentClient {
189
199
  * @param GetProjectRequest
190
200
  * @return GetProjectResponse
191
201
  * @throws OciError when an error occurs
192
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/GetProject.ts.html |here} to see how to use GetProject API.
202
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/GetProject.ts.html |here} to see how to use GetProject API.
193
203
  */
194
204
  getProject(getProjectRequest: requests.GetProjectRequest): Promise<responses.GetProjectResponse>;
195
205
  /**
@@ -198,7 +208,7 @@ export declare class AIServiceDocumentClient {
198
208
  * @param GetWorkRequestRequest
199
209
  * @return GetWorkRequestResponse
200
210
  * @throws OciError when an error occurs
201
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
211
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
202
212
  */
203
213
  getWorkRequest(getWorkRequestRequest: requests.GetWorkRequestRequest): Promise<responses.GetWorkRequestResponse>;
204
214
  /**
@@ -208,7 +218,7 @@ export declare class AIServiceDocumentClient {
208
218
  * @param ListModelsRequest
209
219
  * @return ListModelsResponse
210
220
  * @throws OciError when an error occurs
211
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListModels.ts.html |here} to see how to use ListModels API.
221
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListModels.ts.html |here} to see how to use ListModels API.
212
222
  */
213
223
  listModels(listModelsRequest: requests.ListModelsRequest): Promise<responses.ListModelsResponse>;
214
224
  /**
@@ -218,7 +228,7 @@ export declare class AIServiceDocumentClient {
218
228
  * @param ListProjectsRequest
219
229
  * @return ListProjectsResponse
220
230
  * @throws OciError when an error occurs
221
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListProjects.ts.html |here} to see how to use ListProjects API.
231
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListProjects.ts.html |here} to see how to use ListProjects API.
222
232
  */
223
233
  listProjects(listProjectsRequest: requests.ListProjectsRequest): Promise<responses.ListProjectsResponse>;
224
234
  /**
@@ -228,7 +238,7 @@ export declare class AIServiceDocumentClient {
228
238
  * @param ListWorkRequestErrorsRequest
229
239
  * @return ListWorkRequestErrorsResponse
230
240
  * @throws OciError when an error occurs
231
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
241
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
232
242
  */
233
243
  listWorkRequestErrors(listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest): Promise<responses.ListWorkRequestErrorsResponse>;
234
244
  /**
@@ -238,7 +248,7 @@ export declare class AIServiceDocumentClient {
238
248
  * @param ListWorkRequestLogsRequest
239
249
  * @return ListWorkRequestLogsResponse
240
250
  * @throws OciError when an error occurs
241
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
251
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
242
252
  */
243
253
  listWorkRequestLogs(listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest): Promise<responses.ListWorkRequestLogsResponse>;
244
254
  /**
@@ -248,16 +258,25 @@ export declare class AIServiceDocumentClient {
248
258
  * @param ListWorkRequestsRequest
249
259
  * @return ListWorkRequestsResponse
250
260
  * @throws OciError when an error occurs
251
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
261
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
252
262
  */
253
263
  listWorkRequests(listWorkRequestsRequest: requests.ListWorkRequestsRequest): Promise<responses.ListWorkRequestsResponse>;
264
+ /**
265
+ * Updates the model metadata only selected path parameter.
266
+ * This operation does not retry by default if the user has not defined a retry configuration.
267
+ * @param PatchModelRequest
268
+ * @return PatchModelResponse
269
+ * @throws OciError when an error occurs
270
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/PatchModel.ts.html |here} to see how to use PatchModel API.
271
+ */
272
+ patchModel(patchModelRequest: requests.PatchModelRequest): Promise<responses.PatchModelResponse>;
254
273
  /**
255
274
  * Updates the model metadata.
256
275
  * This operation does not retry by default if the user has not defined a retry configuration.
257
276
  * @param UpdateModelRequest
258
277
  * @return UpdateModelResponse
259
278
  * @throws OciError when an error occurs
260
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/UpdateModel.ts.html |here} to see how to use UpdateModel API.
279
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/UpdateModel.ts.html |here} to see how to use UpdateModel API.
261
280
  */
262
281
  updateModel(updateModelRequest: requests.UpdateModelRequest): Promise<responses.UpdateModelResponse>;
263
282
  /**
@@ -266,7 +285,7 @@ export declare class AIServiceDocumentClient {
266
285
  * @param UpdateProjectRequest
267
286
  * @return UpdateProjectResponse
268
287
  * @throws OciError when an error occurs
269
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/UpdateProject.ts.html |here} to see how to use UpdateProject API.
288
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/UpdateProject.ts.html |here} to see how to use UpdateProject API.
270
289
  */
271
290
  updateProject(updateProjectRequest: requests.UpdateProjectRequest): Promise<responses.UpdateProjectResponse>;
272
291
  }
package/lib/client.js CHANGED
@@ -173,6 +173,80 @@ class AIServiceDocumentClient {
173
173
  }
174
174
  throw Error("Waiters do not exist. Please create waiters.");
175
175
  }
176
+ /**
177
+ * Perform different types of document analysis.
178
+ *
179
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
180
+ * @param AnalyzeDocumentRequest
181
+ * @return AnalyzeDocumentResponse
182
+ * @throws OciError when an error occurs
183
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/AnalyzeDocument.ts.html |here} to see how to use AnalyzeDocument API.
184
+ */
185
+ analyzeDocument(analyzeDocumentRequest) {
186
+ return __awaiter(this, void 0, void 0, function* () {
187
+ if (this.logger)
188
+ this.logger.debug("Calling operation AIServiceDocumentClient#analyzeDocument.");
189
+ const operationName = "analyzeDocument";
190
+ const apiReferenceLink = "";
191
+ const pathParams = {};
192
+ const queryParams = {};
193
+ let headerParams = {
194
+ "Content-Type": common.Constants.APPLICATION_JSON,
195
+ "if-match": analyzeDocumentRequest.ifMatch,
196
+ "opc-request-id": analyzeDocumentRequest.opcRequestId
197
+ };
198
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
199
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, analyzeDocumentRequest.retryConfiguration, specRetryConfiguration);
200
+ if (this.logger)
201
+ retrier.logger = this.logger;
202
+ const request = yield oci_common_1.composeRequest({
203
+ baseEndpoint: this._endpoint,
204
+ defaultHeaders: this._defaultHeaders,
205
+ path: "/actions/analyzeDocument",
206
+ method: "POST",
207
+ bodyContent: common.ObjectSerializer.serialize(analyzeDocumentRequest.analyzeDocumentDetails, "AnalyzeDocumentDetails", model.AnalyzeDocumentDetails.getJsonObj),
208
+ pathParams: pathParams,
209
+ headerParams: headerParams,
210
+ queryParams: queryParams
211
+ });
212
+ try {
213
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
214
+ const sdkResponse = oci_common_1.composeResponse({
215
+ responseObject: {},
216
+ body: yield response.json(),
217
+ bodyKey: "analyzeDocumentResult",
218
+ bodyModel: model.AnalyzeDocumentResult,
219
+ type: "model.AnalyzeDocumentResult",
220
+ responseHeaders: [
221
+ {
222
+ value: response.headers.get("Content-Location"),
223
+ key: "contentLocation",
224
+ dataType: "string"
225
+ },
226
+ {
227
+ value: response.headers.get("location"),
228
+ key: "location",
229
+ dataType: "string"
230
+ },
231
+ {
232
+ value: response.headers.get("etag"),
233
+ key: "etag",
234
+ dataType: "string"
235
+ },
236
+ {
237
+ value: response.headers.get("opc-request-id"),
238
+ key: "opcRequestId",
239
+ dataType: "string"
240
+ }
241
+ ]
242
+ });
243
+ return sdkResponse;
244
+ }
245
+ catch (err) {
246
+ throw err;
247
+ }
248
+ });
249
+ }
176
250
  /**
177
251
  * Cancel a processor job.
178
252
  *
@@ -180,7 +254,7 @@ class AIServiceDocumentClient {
180
254
  * @param CancelProcessorJobRequest
181
255
  * @return CancelProcessorJobResponse
182
256
  * @throws OciError when an error occurs
183
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CancelProcessorJob.ts.html |here} to see how to use CancelProcessorJob API.
257
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CancelProcessorJob.ts.html |here} to see how to use CancelProcessorJob API.
184
258
  */
185
259
  cancelProcessorJob(cancelProcessorJobRequest) {
186
260
  return __awaiter(this, void 0, void 0, function* () {
@@ -235,7 +309,7 @@ class AIServiceDocumentClient {
235
309
  * @param CancelWorkRequestRequest
236
310
  * @return CancelWorkRequestResponse
237
311
  * @throws OciError when an error occurs
238
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
312
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
239
313
  */
240
314
  cancelWorkRequest(cancelWorkRequestRequest) {
241
315
  return __awaiter(this, void 0, void 0, function* () {
@@ -290,7 +364,7 @@ class AIServiceDocumentClient {
290
364
  * @param ChangeModelCompartmentRequest
291
365
  * @return ChangeModelCompartmentResponse
292
366
  * @throws OciError when an error occurs
293
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
367
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
294
368
  */
295
369
  changeModelCompartment(changeModelCompartmentRequest) {
296
370
  return __awaiter(this, void 0, void 0, function* () {
@@ -346,7 +420,7 @@ class AIServiceDocumentClient {
346
420
  * @param ChangeProjectCompartmentRequest
347
421
  * @return ChangeProjectCompartmentResponse
348
422
  * @throws OciError when an error occurs
349
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
423
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
350
424
  */
351
425
  changeProjectCompartment(changeProjectCompartmentRequest) {
352
426
  return __awaiter(this, void 0, void 0, function* () {
@@ -403,7 +477,7 @@ class AIServiceDocumentClient {
403
477
  * @param CreateModelRequest
404
478
  * @return CreateModelResponse
405
479
  * @throws OciError when an error occurs
406
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CreateModel.ts.html |here} to see how to use CreateModel API.
480
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CreateModel.ts.html |here} to see how to use CreateModel API.
407
481
  */
408
482
  createModel(createModelRequest) {
409
483
  return __awaiter(this, void 0, void 0, function* () {
@@ -482,7 +556,7 @@ class AIServiceDocumentClient {
482
556
  * @param CreateProcessorJobRequest
483
557
  * @return CreateProcessorJobResponse
484
558
  * @throws OciError when an error occurs
485
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CreateProcessorJob.ts.html |here} to see how to use CreateProcessorJob API.
559
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CreateProcessorJob.ts.html |here} to see how to use CreateProcessorJob API.
486
560
  */
487
561
  createProcessorJob(createProcessorJobRequest) {
488
562
  return __awaiter(this, void 0, void 0, function* () {
@@ -546,7 +620,7 @@ class AIServiceDocumentClient {
546
620
  * @param CreateProjectRequest
547
621
  * @return CreateProjectResponse
548
622
  * @throws OciError when an error occurs
549
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CreateProject.ts.html |here} to see how to use CreateProject API.
623
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CreateProject.ts.html |here} to see how to use CreateProject API.
550
624
  */
551
625
  createProject(createProjectRequest) {
552
626
  return __awaiter(this, void 0, void 0, function* () {
@@ -624,7 +698,7 @@ class AIServiceDocumentClient {
624
698
  * @param DeleteModelRequest
625
699
  * @return DeleteModelResponse
626
700
  * @throws OciError when an error occurs
627
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/DeleteModel.ts.html |here} to see how to use DeleteModel API.
701
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/DeleteModel.ts.html |here} to see how to use DeleteModel API.
628
702
  */
629
703
  deleteModel(deleteModelRequest) {
630
704
  return __awaiter(this, void 0, void 0, function* () {
@@ -684,7 +758,7 @@ class AIServiceDocumentClient {
684
758
  * @param DeleteProjectRequest
685
759
  * @return DeleteProjectResponse
686
760
  * @throws OciError when an error occurs
687
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/DeleteProject.ts.html |here} to see how to use DeleteProject API.
761
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/DeleteProject.ts.html |here} to see how to use DeleteProject API.
688
762
  */
689
763
  deleteProject(deleteProjectRequest) {
690
764
  return __awaiter(this, void 0, void 0, function* () {
@@ -744,7 +818,7 @@ class AIServiceDocumentClient {
744
818
  * @param GetModelRequest
745
819
  * @return GetModelResponse
746
820
  * @throws OciError when an error occurs
747
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/GetModel.ts.html |here} to see how to use GetModel API.
821
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/GetModel.ts.html |here} to see how to use GetModel API.
748
822
  */
749
823
  getModel(getModelRequest) {
750
824
  return __awaiter(this, void 0, void 0, function* () {
@@ -808,7 +882,7 @@ class AIServiceDocumentClient {
808
882
  * @param GetProcessorJobRequest
809
883
  * @return GetProcessorJobResponse
810
884
  * @throws OciError when an error occurs
811
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/GetProcessorJob.ts.html |here} to see how to use GetProcessorJob API.
885
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/GetProcessorJob.ts.html |here} to see how to use GetProcessorJob API.
812
886
  */
813
887
  getProcessorJob(getProcessorJobRequest) {
814
888
  return __awaiter(this, void 0, void 0, function* () {
@@ -871,7 +945,7 @@ class AIServiceDocumentClient {
871
945
  * @param GetProjectRequest
872
946
  * @return GetProjectResponse
873
947
  * @throws OciError when an error occurs
874
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/GetProject.ts.html |here} to see how to use GetProject API.
948
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/GetProject.ts.html |here} to see how to use GetProject API.
875
949
  */
876
950
  getProject(getProjectRequest) {
877
951
  return __awaiter(this, void 0, void 0, function* () {
@@ -934,7 +1008,7 @@ class AIServiceDocumentClient {
934
1008
  * @param GetWorkRequestRequest
935
1009
  * @return GetWorkRequestResponse
936
1010
  * @throws OciError when an error occurs
937
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1011
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
938
1012
  */
939
1013
  getWorkRequest(getWorkRequestRequest) {
940
1014
  return __awaiter(this, void 0, void 0, function* () {
@@ -1003,7 +1077,7 @@ class AIServiceDocumentClient {
1003
1077
  * @param ListModelsRequest
1004
1078
  * @return ListModelsResponse
1005
1079
  * @throws OciError when an error occurs
1006
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListModels.ts.html |here} to see how to use ListModels API.
1080
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListModels.ts.html |here} to see how to use ListModels API.
1007
1081
  */
1008
1082
  listModels(listModelsRequest) {
1009
1083
  return __awaiter(this, void 0, void 0, function* () {
@@ -1075,7 +1149,7 @@ class AIServiceDocumentClient {
1075
1149
  * @param ListProjectsRequest
1076
1150
  * @return ListProjectsResponse
1077
1151
  * @throws OciError when an error occurs
1078
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListProjects.ts.html |here} to see how to use ListProjects API.
1152
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListProjects.ts.html |here} to see how to use ListProjects API.
1079
1153
  */
1080
1154
  listProjects(listProjectsRequest) {
1081
1155
  return __awaiter(this, void 0, void 0, function* () {
@@ -1146,7 +1220,7 @@ class AIServiceDocumentClient {
1146
1220
  * @param ListWorkRequestErrorsRequest
1147
1221
  * @return ListWorkRequestErrorsResponse
1148
1222
  * @throws OciError when an error occurs
1149
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1223
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1150
1224
  */
1151
1225
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1152
1226
  return __awaiter(this, void 0, void 0, function* () {
@@ -1215,7 +1289,7 @@ class AIServiceDocumentClient {
1215
1289
  * @param ListWorkRequestLogsRequest
1216
1290
  * @return ListWorkRequestLogsResponse
1217
1291
  * @throws OciError when an error occurs
1218
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1292
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1219
1293
  */
1220
1294
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1221
1295
  return __awaiter(this, void 0, void 0, function* () {
@@ -1284,7 +1358,7 @@ class AIServiceDocumentClient {
1284
1358
  * @param ListWorkRequestsRequest
1285
1359
  * @return ListWorkRequestsResponse
1286
1360
  * @throws OciError when an error occurs
1287
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1361
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1288
1362
  */
1289
1363
  listWorkRequests(listWorkRequestsRequest) {
1290
1364
  return __awaiter(this, void 0, void 0, function* () {
@@ -1348,13 +1422,83 @@ class AIServiceDocumentClient {
1348
1422
  }
1349
1423
  });
1350
1424
  }
1425
+ /**
1426
+ * Updates the model metadata only selected path parameter.
1427
+ * This operation does not retry by default if the user has not defined a retry configuration.
1428
+ * @param PatchModelRequest
1429
+ * @return PatchModelResponse
1430
+ * @throws OciError when an error occurs
1431
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/PatchModel.ts.html |here} to see how to use PatchModel API.
1432
+ */
1433
+ patchModel(patchModelRequest) {
1434
+ return __awaiter(this, void 0, void 0, function* () {
1435
+ if (this.logger)
1436
+ this.logger.debug("Calling operation AIServiceDocumentClient#patchModel.");
1437
+ const operationName = "patchModel";
1438
+ const apiReferenceLink = "";
1439
+ const pathParams = {
1440
+ "{modelId}": patchModelRequest.modelId
1441
+ };
1442
+ const queryParams = {};
1443
+ let headerParams = {
1444
+ "Content-Type": common.Constants.APPLICATION_JSON,
1445
+ "if-match": patchModelRequest.ifMatch,
1446
+ "opc-request-id": patchModelRequest.opcRequestId
1447
+ };
1448
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1449
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchModelRequest.retryConfiguration, specRetryConfiguration);
1450
+ if (this.logger)
1451
+ retrier.logger = this.logger;
1452
+ const request = yield oci_common_1.composeRequest({
1453
+ baseEndpoint: this._endpoint,
1454
+ defaultHeaders: this._defaultHeaders,
1455
+ path: "/models/{modelId}",
1456
+ method: "PATCH",
1457
+ bodyContent: common.ObjectSerializer.serialize(patchModelRequest.patchModelDetails, "PatchModelDetails", model.PatchModelDetails.getJsonObj),
1458
+ pathParams: pathParams,
1459
+ headerParams: headerParams,
1460
+ queryParams: queryParams
1461
+ });
1462
+ try {
1463
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1464
+ const sdkResponse = oci_common_1.composeResponse({
1465
+ responseObject: {},
1466
+ body: yield response.json(),
1467
+ bodyKey: "patchResponseMessage",
1468
+ bodyModel: model.PatchResponseMessage,
1469
+ type: "model.PatchResponseMessage",
1470
+ responseHeaders: [
1471
+ {
1472
+ value: response.headers.get("opc-work-request-id"),
1473
+ key: "opcWorkRequestId",
1474
+ dataType: "string"
1475
+ },
1476
+ {
1477
+ value: response.headers.get("opc-request-id"),
1478
+ key: "opcRequestId",
1479
+ dataType: "string"
1480
+ },
1481
+ {
1482
+ value: response.headers.get("etag"),
1483
+ key: "etag",
1484
+ dataType: "string"
1485
+ }
1486
+ ]
1487
+ });
1488
+ return sdkResponse;
1489
+ }
1490
+ catch (err) {
1491
+ throw err;
1492
+ }
1493
+ });
1494
+ }
1351
1495
  /**
1352
1496
  * Updates the model metadata.
1353
1497
  * This operation does not retry by default if the user has not defined a retry configuration.
1354
1498
  * @param UpdateModelRequest
1355
1499
  * @return UpdateModelResponse
1356
1500
  * @throws OciError when an error occurs
1357
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/UpdateModel.ts.html |here} to see how to use UpdateModel API.
1501
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/UpdateModel.ts.html |here} to see how to use UpdateModel API.
1358
1502
  */
1359
1503
  updateModel(updateModelRequest) {
1360
1504
  return __awaiter(this, void 0, void 0, function* () {
@@ -1415,7 +1559,7 @@ class AIServiceDocumentClient {
1415
1559
  * @param UpdateProjectRequest
1416
1560
  * @return UpdateProjectResponse
1417
1561
  * @throws OciError when an error occurs
1418
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/UpdateProject.ts.html |here} to see how to use UpdateProject API.
1562
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/UpdateProject.ts.html |here} to see how to use UpdateProject API.
1419
1563
  */
1420
1564
  updateProject(updateProjectRequest) {
1421
1565
  return __awaiter(this, void 0, void 0, function* () {