oci-aidocument 2.79.0 → 2.79.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/lib/client.d.ts +22 -23
  2. package/lib/client.js +46 -117
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/dataset.js +2 -4
  5. package/lib/model/dataset.js.map +1 -1
  6. package/lib/model/document-details.js +2 -4
  7. package/lib/model/document-details.js.map +1 -1
  8. package/lib/model/document-feature.js +2 -4
  9. package/lib/model/document-feature.js.map +1 -1
  10. package/lib/model/field-value.js +2 -4
  11. package/lib/model/field-value.js.map +1 -1
  12. package/lib/model/input-location.js +2 -4
  13. package/lib/model/input-location.js.map +1 -1
  14. package/lib/model/model-metrics.js +2 -4
  15. package/lib/model/model-metrics.js.map +1 -1
  16. package/lib/model/processor-config.js +2 -4
  17. package/lib/model/processor-config.js.map +1 -1
  18. package/lib/request/analyze-document-request.d.ts +1 -1
  19. package/lib/request/cancel-processor-job-request.d.ts +1 -1
  20. package/lib/request/cancel-work-request-request.d.ts +1 -1
  21. package/lib/request/change-model-compartment-request.d.ts +1 -1
  22. package/lib/request/change-project-compartment-request.d.ts +1 -1
  23. package/lib/request/create-model-request.d.ts +1 -1
  24. package/lib/request/create-processor-job-request.d.ts +1 -1
  25. package/lib/request/create-project-request.d.ts +1 -1
  26. package/lib/request/delete-model-request.d.ts +1 -1
  27. package/lib/request/delete-project-request.d.ts +1 -1
  28. package/lib/request/get-model-request.d.ts +1 -1
  29. package/lib/request/get-processor-job-request.d.ts +1 -1
  30. package/lib/request/get-project-request.d.ts +1 -1
  31. package/lib/request/get-work-request-request.d.ts +1 -1
  32. package/lib/request/list-models-request.d.ts +1 -1
  33. package/lib/request/list-projects-request.d.ts +1 -1
  34. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  35. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  36. package/lib/request/list-work-requests-request.d.ts +1 -1
  37. package/lib/request/patch-model-request.d.ts +1 -1
  38. package/lib/request/update-model-request.d.ts +1 -1
  39. package/lib/request/update-project-request.d.ts +1 -1
  40. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -116,11 +116,7 @@ class AIServiceDocumentClient {
116
116
  set endpoint(endpoint) {
117
117
  this._endpoint = endpoint;
118
118
  this._endpoint = this._endpoint + "/20221109";
119
- if (this.logger)
120
- this.logger.info(`AIServiceDocumentClient endpoint set to ${this._endpoint}`);
121
- }
122
- get logger() {
123
- return common.LOG.logger;
119
+ oci_common_1.logger.info(`AIServiceDocumentClient endpoint set to ${this._endpoint}`);
124
120
  }
125
121
  /**
126
122
  * Determines whether realm specific endpoint should be used or not.
@@ -129,8 +125,7 @@ class AIServiceDocumentClient {
129
125
  */
130
126
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
131
127
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
132
- if (this.logger)
133
- this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
128
+ oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
134
129
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
135
130
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(AIServiceDocumentClient.serviceEndpointTemplate, this._region, AIServiceDocumentClient.endpointServiceName);
136
131
  }
@@ -197,12 +192,11 @@ class AIServiceDocumentClient {
197
192
  * @param AnalyzeDocumentRequest
198
193
  * @return AnalyzeDocumentResponse
199
194
  * @throws OciError when an error occurs
200
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/AnalyzeDocument.ts.html |here} to see how to use AnalyzeDocument API.
195
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/AnalyzeDocument.ts.html |here} to see how to use AnalyzeDocument API.
201
196
  */
202
197
  analyzeDocument(analyzeDocumentRequest) {
203
198
  return __awaiter(this, void 0, void 0, function* () {
204
- if (this.logger)
205
- this.logger.debug("Calling operation AIServiceDocumentClient#analyzeDocument.");
199
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#analyzeDocument.");
206
200
  const operationName = "analyzeDocument";
207
201
  const apiReferenceLink = "";
208
202
  const pathParams = {};
@@ -214,8 +208,6 @@ class AIServiceDocumentClient {
214
208
  };
215
209
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
216
210
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, analyzeDocumentRequest.retryConfiguration, specRetryConfiguration);
217
- if (this.logger)
218
- retrier.logger = this.logger;
219
211
  const request = yield oci_common_1.composeRequest({
220
212
  baseEndpoint: this._endpoint,
221
213
  defaultHeaders: this._defaultHeaders,
@@ -271,12 +263,11 @@ class AIServiceDocumentClient {
271
263
  * @param CancelProcessorJobRequest
272
264
  * @return CancelProcessorJobResponse
273
265
  * @throws OciError when an error occurs
274
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/CancelProcessorJob.ts.html |here} to see how to use CancelProcessorJob API.
266
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/CancelProcessorJob.ts.html |here} to see how to use CancelProcessorJob API.
275
267
  */
276
268
  cancelProcessorJob(cancelProcessorJobRequest) {
277
269
  return __awaiter(this, void 0, void 0, function* () {
278
- if (this.logger)
279
- this.logger.debug("Calling operation AIServiceDocumentClient#cancelProcessorJob.");
270
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#cancelProcessorJob.");
280
271
  const operationName = "cancelProcessorJob";
281
272
  const apiReferenceLink = "";
282
273
  const pathParams = {
@@ -290,8 +281,6 @@ class AIServiceDocumentClient {
290
281
  };
291
282
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
292
283
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelProcessorJobRequest.retryConfiguration, specRetryConfiguration);
293
- if (this.logger)
294
- retrier.logger = this.logger;
295
284
  const request = yield oci_common_1.composeRequest({
296
285
  baseEndpoint: this._endpoint,
297
286
  defaultHeaders: this._defaultHeaders,
@@ -326,12 +315,11 @@ class AIServiceDocumentClient {
326
315
  * @param CancelWorkRequestRequest
327
316
  * @return CancelWorkRequestResponse
328
317
  * @throws OciError when an error occurs
329
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
318
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
330
319
  */
331
320
  cancelWorkRequest(cancelWorkRequestRequest) {
332
321
  return __awaiter(this, void 0, void 0, function* () {
333
- if (this.logger)
334
- this.logger.debug("Calling operation AIServiceDocumentClient#cancelWorkRequest.");
322
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#cancelWorkRequest.");
335
323
  const operationName = "cancelWorkRequest";
336
324
  const apiReferenceLink = "";
337
325
  const pathParams = {
@@ -345,8 +333,6 @@ class AIServiceDocumentClient {
345
333
  };
346
334
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
347
335
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
348
- if (this.logger)
349
- retrier.logger = this.logger;
350
336
  const request = yield oci_common_1.composeRequest({
351
337
  baseEndpoint: this._endpoint,
352
338
  defaultHeaders: this._defaultHeaders,
@@ -381,12 +367,11 @@ class AIServiceDocumentClient {
381
367
  * @param ChangeModelCompartmentRequest
382
368
  * @return ChangeModelCompartmentResponse
383
369
  * @throws OciError when an error occurs
384
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
370
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
385
371
  */
386
372
  changeModelCompartment(changeModelCompartmentRequest) {
387
373
  return __awaiter(this, void 0, void 0, function* () {
388
- if (this.logger)
389
- this.logger.debug("Calling operation AIServiceDocumentClient#changeModelCompartment.");
374
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#changeModelCompartment.");
390
375
  const operationName = "changeModelCompartment";
391
376
  const apiReferenceLink = "";
392
377
  const pathParams = {
@@ -400,8 +385,6 @@ class AIServiceDocumentClient {
400
385
  };
401
386
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
402
387
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeModelCompartmentRequest.retryConfiguration, specRetryConfiguration);
403
- if (this.logger)
404
- retrier.logger = this.logger;
405
388
  const request = yield oci_common_1.composeRequest({
406
389
  baseEndpoint: this._endpoint,
407
390
  defaultHeaders: this._defaultHeaders,
@@ -437,12 +420,11 @@ class AIServiceDocumentClient {
437
420
  * @param ChangeProjectCompartmentRequest
438
421
  * @return ChangeProjectCompartmentResponse
439
422
  * @throws OciError when an error occurs
440
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.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.79.1/aidocument/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
441
424
  */
442
425
  changeProjectCompartment(changeProjectCompartmentRequest) {
443
426
  return __awaiter(this, void 0, void 0, function* () {
444
- if (this.logger)
445
- this.logger.debug("Calling operation AIServiceDocumentClient#changeProjectCompartment.");
427
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#changeProjectCompartment.");
446
428
  const operationName = "changeProjectCompartment";
447
429
  const apiReferenceLink = "";
448
430
  const pathParams = {
@@ -456,8 +438,6 @@ class AIServiceDocumentClient {
456
438
  };
457
439
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
458
440
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeProjectCompartmentRequest.retryConfiguration, specRetryConfiguration);
459
- if (this.logger)
460
- retrier.logger = this.logger;
461
441
  const request = yield oci_common_1.composeRequest({
462
442
  baseEndpoint: this._endpoint,
463
443
  defaultHeaders: this._defaultHeaders,
@@ -494,12 +474,11 @@ class AIServiceDocumentClient {
494
474
  * @param CreateModelRequest
495
475
  * @return CreateModelResponse
496
476
  * @throws OciError when an error occurs
497
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/CreateModel.ts.html |here} to see how to use CreateModel API.
477
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/CreateModel.ts.html |here} to see how to use CreateModel API.
498
478
  */
499
479
  createModel(createModelRequest) {
500
480
  return __awaiter(this, void 0, void 0, function* () {
501
- if (this.logger)
502
- this.logger.debug("Calling operation AIServiceDocumentClient#createModel.");
481
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#createModel.");
503
482
  const operationName = "createModel";
504
483
  const apiReferenceLink = "";
505
484
  const pathParams = {};
@@ -511,8 +490,6 @@ class AIServiceDocumentClient {
511
490
  };
512
491
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
513
492
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createModelRequest.retryConfiguration, specRetryConfiguration);
514
- if (this.logger)
515
- retrier.logger = this.logger;
516
493
  const request = yield oci_common_1.composeRequest({
517
494
  baseEndpoint: this._endpoint,
518
495
  defaultHeaders: this._defaultHeaders,
@@ -573,12 +550,11 @@ class AIServiceDocumentClient {
573
550
  * @param CreateProcessorJobRequest
574
551
  * @return CreateProcessorJobResponse
575
552
  * @throws OciError when an error occurs
576
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/CreateProcessorJob.ts.html |here} to see how to use CreateProcessorJob API.
553
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/CreateProcessorJob.ts.html |here} to see how to use CreateProcessorJob API.
577
554
  */
578
555
  createProcessorJob(createProcessorJobRequest) {
579
556
  return __awaiter(this, void 0, void 0, function* () {
580
- if (this.logger)
581
- this.logger.debug("Calling operation AIServiceDocumentClient#createProcessorJob.");
557
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#createProcessorJob.");
582
558
  const operationName = "createProcessorJob";
583
559
  const apiReferenceLink = "";
584
560
  const pathParams = {};
@@ -590,8 +566,6 @@ class AIServiceDocumentClient {
590
566
  };
591
567
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
592
568
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createProcessorJobRequest.retryConfiguration, specRetryConfiguration);
593
- if (this.logger)
594
- retrier.logger = this.logger;
595
569
  const request = yield oci_common_1.composeRequest({
596
570
  baseEndpoint: this._endpoint,
597
571
  defaultHeaders: this._defaultHeaders,
@@ -637,12 +611,11 @@ class AIServiceDocumentClient {
637
611
  * @param CreateProjectRequest
638
612
  * @return CreateProjectResponse
639
613
  * @throws OciError when an error occurs
640
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/CreateProject.ts.html |here} to see how to use CreateProject API.
614
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/CreateProject.ts.html |here} to see how to use CreateProject API.
641
615
  */
642
616
  createProject(createProjectRequest) {
643
617
  return __awaiter(this, void 0, void 0, function* () {
644
- if (this.logger)
645
- this.logger.debug("Calling operation AIServiceDocumentClient#createProject.");
618
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#createProject.");
646
619
  const operationName = "createProject";
647
620
  const apiReferenceLink = "";
648
621
  const pathParams = {};
@@ -654,8 +627,6 @@ class AIServiceDocumentClient {
654
627
  };
655
628
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
656
629
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createProjectRequest.retryConfiguration, specRetryConfiguration);
657
- if (this.logger)
658
- retrier.logger = this.logger;
659
630
  const request = yield oci_common_1.composeRequest({
660
631
  baseEndpoint: this._endpoint,
661
632
  defaultHeaders: this._defaultHeaders,
@@ -715,12 +686,11 @@ class AIServiceDocumentClient {
715
686
  * @param DeleteModelRequest
716
687
  * @return DeleteModelResponse
717
688
  * @throws OciError when an error occurs
718
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/DeleteModel.ts.html |here} to see how to use DeleteModel API.
689
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/DeleteModel.ts.html |here} to see how to use DeleteModel API.
719
690
  */
720
691
  deleteModel(deleteModelRequest) {
721
692
  return __awaiter(this, void 0, void 0, function* () {
722
- if (this.logger)
723
- this.logger.debug("Calling operation AIServiceDocumentClient#deleteModel.");
693
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#deleteModel.");
724
694
  const operationName = "deleteModel";
725
695
  const apiReferenceLink = "";
726
696
  const pathParams = {
@@ -734,8 +704,6 @@ class AIServiceDocumentClient {
734
704
  };
735
705
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
736
706
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteModelRequest.retryConfiguration, specRetryConfiguration);
737
- if (this.logger)
738
- retrier.logger = this.logger;
739
707
  const request = yield oci_common_1.composeRequest({
740
708
  baseEndpoint: this._endpoint,
741
709
  defaultHeaders: this._defaultHeaders,
@@ -775,12 +743,11 @@ class AIServiceDocumentClient {
775
743
  * @param DeleteProjectRequest
776
744
  * @return DeleteProjectResponse
777
745
  * @throws OciError when an error occurs
778
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/DeleteProject.ts.html |here} to see how to use DeleteProject API.
746
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/DeleteProject.ts.html |here} to see how to use DeleteProject API.
779
747
  */
780
748
  deleteProject(deleteProjectRequest) {
781
749
  return __awaiter(this, void 0, void 0, function* () {
782
- if (this.logger)
783
- this.logger.debug("Calling operation AIServiceDocumentClient#deleteProject.");
750
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#deleteProject.");
784
751
  const operationName = "deleteProject";
785
752
  const apiReferenceLink = "";
786
753
  const pathParams = {
@@ -794,8 +761,6 @@ class AIServiceDocumentClient {
794
761
  };
795
762
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
796
763
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteProjectRequest.retryConfiguration, specRetryConfiguration);
797
- if (this.logger)
798
- retrier.logger = this.logger;
799
764
  const request = yield oci_common_1.composeRequest({
800
765
  baseEndpoint: this._endpoint,
801
766
  defaultHeaders: this._defaultHeaders,
@@ -835,12 +800,11 @@ class AIServiceDocumentClient {
835
800
  * @param GetModelRequest
836
801
  * @return GetModelResponse
837
802
  * @throws OciError when an error occurs
838
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/GetModel.ts.html |here} to see how to use GetModel API.
803
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/GetModel.ts.html |here} to see how to use GetModel API.
839
804
  */
840
805
  getModel(getModelRequest) {
841
806
  return __awaiter(this, void 0, void 0, function* () {
842
- if (this.logger)
843
- this.logger.debug("Calling operation AIServiceDocumentClient#getModel.");
807
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#getModel.");
844
808
  const operationName = "getModel";
845
809
  const apiReferenceLink = "";
846
810
  const pathParams = {
@@ -853,8 +817,6 @@ class AIServiceDocumentClient {
853
817
  };
854
818
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
855
819
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getModelRequest.retryConfiguration, specRetryConfiguration);
856
- if (this.logger)
857
- retrier.logger = this.logger;
858
820
  const request = yield oci_common_1.composeRequest({
859
821
  baseEndpoint: this._endpoint,
860
822
  defaultHeaders: this._defaultHeaders,
@@ -899,12 +861,11 @@ class AIServiceDocumentClient {
899
861
  * @param GetProcessorJobRequest
900
862
  * @return GetProcessorJobResponse
901
863
  * @throws OciError when an error occurs
902
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/GetProcessorJob.ts.html |here} to see how to use GetProcessorJob API.
864
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/GetProcessorJob.ts.html |here} to see how to use GetProcessorJob API.
903
865
  */
904
866
  getProcessorJob(getProcessorJobRequest) {
905
867
  return __awaiter(this, void 0, void 0, function* () {
906
- if (this.logger)
907
- this.logger.debug("Calling operation AIServiceDocumentClient#getProcessorJob.");
868
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#getProcessorJob.");
908
869
  const operationName = "getProcessorJob";
909
870
  const apiReferenceLink = "";
910
871
  const pathParams = {
@@ -917,8 +878,6 @@ class AIServiceDocumentClient {
917
878
  };
918
879
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
919
880
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProcessorJobRequest.retryConfiguration, specRetryConfiguration);
920
- if (this.logger)
921
- retrier.logger = this.logger;
922
881
  const request = yield oci_common_1.composeRequest({
923
882
  baseEndpoint: this._endpoint,
924
883
  defaultHeaders: this._defaultHeaders,
@@ -962,12 +921,11 @@ class AIServiceDocumentClient {
962
921
  * @param GetProjectRequest
963
922
  * @return GetProjectResponse
964
923
  * @throws OciError when an error occurs
965
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/GetProject.ts.html |here} to see how to use GetProject API.
924
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/GetProject.ts.html |here} to see how to use GetProject API.
966
925
  */
967
926
  getProject(getProjectRequest) {
968
927
  return __awaiter(this, void 0, void 0, function* () {
969
- if (this.logger)
970
- this.logger.debug("Calling operation AIServiceDocumentClient#getProject.");
928
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#getProject.");
971
929
  const operationName = "getProject";
972
930
  const apiReferenceLink = "";
973
931
  const pathParams = {
@@ -980,8 +938,6 @@ class AIServiceDocumentClient {
980
938
  };
981
939
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
982
940
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProjectRequest.retryConfiguration, specRetryConfiguration);
983
- if (this.logger)
984
- retrier.logger = this.logger;
985
941
  const request = yield oci_common_1.composeRequest({
986
942
  baseEndpoint: this._endpoint,
987
943
  defaultHeaders: this._defaultHeaders,
@@ -1025,12 +981,11 @@ class AIServiceDocumentClient {
1025
981
  * @param GetWorkRequestRequest
1026
982
  * @return GetWorkRequestResponse
1027
983
  * @throws OciError when an error occurs
1028
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
984
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1029
985
  */
1030
986
  getWorkRequest(getWorkRequestRequest) {
1031
987
  return __awaiter(this, void 0, void 0, function* () {
1032
- if (this.logger)
1033
- this.logger.debug("Calling operation AIServiceDocumentClient#getWorkRequest.");
988
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#getWorkRequest.");
1034
989
  const operationName = "getWorkRequest";
1035
990
  const apiReferenceLink = "";
1036
991
  const pathParams = {
@@ -1043,8 +998,6 @@ class AIServiceDocumentClient {
1043
998
  };
1044
999
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1045
1000
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
1046
- if (this.logger)
1047
- retrier.logger = this.logger;
1048
1001
  const request = yield oci_common_1.composeRequest({
1049
1002
  baseEndpoint: this._endpoint,
1050
1003
  defaultHeaders: this._defaultHeaders,
@@ -1094,12 +1047,11 @@ class AIServiceDocumentClient {
1094
1047
  * @param ListModelsRequest
1095
1048
  * @return ListModelsResponse
1096
1049
  * @throws OciError when an error occurs
1097
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/ListModels.ts.html |here} to see how to use ListModels API.
1050
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/ListModels.ts.html |here} to see how to use ListModels API.
1098
1051
  */
1099
1052
  listModels(listModelsRequest) {
1100
1053
  return __awaiter(this, void 0, void 0, function* () {
1101
- if (this.logger)
1102
- this.logger.debug("Calling operation AIServiceDocumentClient#listModels.");
1054
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#listModels.");
1103
1055
  const operationName = "listModels";
1104
1056
  const apiReferenceLink = "";
1105
1057
  const pathParams = {};
@@ -1120,8 +1072,6 @@ class AIServiceDocumentClient {
1120
1072
  };
1121
1073
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1122
1074
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listModelsRequest.retryConfiguration, specRetryConfiguration);
1123
- if (this.logger)
1124
- retrier.logger = this.logger;
1125
1075
  const request = yield oci_common_1.composeRequest({
1126
1076
  baseEndpoint: this._endpoint,
1127
1077
  defaultHeaders: this._defaultHeaders,
@@ -1166,12 +1116,11 @@ class AIServiceDocumentClient {
1166
1116
  * @param ListProjectsRequest
1167
1117
  * @return ListProjectsResponse
1168
1118
  * @throws OciError when an error occurs
1169
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/ListProjects.ts.html |here} to see how to use ListProjects API.
1119
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/ListProjects.ts.html |here} to see how to use ListProjects API.
1170
1120
  */
1171
1121
  listProjects(listProjectsRequest) {
1172
1122
  return __awaiter(this, void 0, void 0, function* () {
1173
- if (this.logger)
1174
- this.logger.debug("Calling operation AIServiceDocumentClient#listProjects.");
1123
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#listProjects.");
1175
1124
  const operationName = "listProjects";
1176
1125
  const apiReferenceLink = "";
1177
1126
  const pathParams = {};
@@ -1191,8 +1140,6 @@ class AIServiceDocumentClient {
1191
1140
  };
1192
1141
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1193
1142
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProjectsRequest.retryConfiguration, specRetryConfiguration);
1194
- if (this.logger)
1195
- retrier.logger = this.logger;
1196
1143
  const request = yield oci_common_1.composeRequest({
1197
1144
  baseEndpoint: this._endpoint,
1198
1145
  defaultHeaders: this._defaultHeaders,
@@ -1237,12 +1184,11 @@ class AIServiceDocumentClient {
1237
1184
  * @param ListWorkRequestErrorsRequest
1238
1185
  * @return ListWorkRequestErrorsResponse
1239
1186
  * @throws OciError when an error occurs
1240
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1187
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1241
1188
  */
1242
1189
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1243
1190
  return __awaiter(this, void 0, void 0, function* () {
1244
- if (this.logger)
1245
- this.logger.debug("Calling operation AIServiceDocumentClient#listWorkRequestErrors.");
1191
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#listWorkRequestErrors.");
1246
1192
  const operationName = "listWorkRequestErrors";
1247
1193
  const apiReferenceLink = "";
1248
1194
  const pathParams = {
@@ -1260,8 +1206,6 @@ class AIServiceDocumentClient {
1260
1206
  };
1261
1207
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1262
1208
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
1263
- if (this.logger)
1264
- retrier.logger = this.logger;
1265
1209
  const request = yield oci_common_1.composeRequest({
1266
1210
  baseEndpoint: this._endpoint,
1267
1211
  defaultHeaders: this._defaultHeaders,
@@ -1306,12 +1250,11 @@ class AIServiceDocumentClient {
1306
1250
  * @param ListWorkRequestLogsRequest
1307
1251
  * @return ListWorkRequestLogsResponse
1308
1252
  * @throws OciError when an error occurs
1309
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1253
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1310
1254
  */
1311
1255
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1312
1256
  return __awaiter(this, void 0, void 0, function* () {
1313
- if (this.logger)
1314
- this.logger.debug("Calling operation AIServiceDocumentClient#listWorkRequestLogs.");
1257
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#listWorkRequestLogs.");
1315
1258
  const operationName = "listWorkRequestLogs";
1316
1259
  const apiReferenceLink = "";
1317
1260
  const pathParams = {
@@ -1329,8 +1272,6 @@ class AIServiceDocumentClient {
1329
1272
  };
1330
1273
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1331
1274
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
1332
- if (this.logger)
1333
- retrier.logger = this.logger;
1334
1275
  const request = yield oci_common_1.composeRequest({
1335
1276
  baseEndpoint: this._endpoint,
1336
1277
  defaultHeaders: this._defaultHeaders,
@@ -1375,12 +1316,11 @@ class AIServiceDocumentClient {
1375
1316
  * @param ListWorkRequestsRequest
1376
1317
  * @return ListWorkRequestsResponse
1377
1318
  * @throws OciError when an error occurs
1378
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1319
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1379
1320
  */
1380
1321
  listWorkRequests(listWorkRequestsRequest) {
1381
1322
  return __awaiter(this, void 0, void 0, function* () {
1382
- if (this.logger)
1383
- this.logger.debug("Calling operation AIServiceDocumentClient#listWorkRequests.");
1323
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#listWorkRequests.");
1384
1324
  const operationName = "listWorkRequests";
1385
1325
  const apiReferenceLink = "";
1386
1326
  const pathParams = {};
@@ -1400,8 +1340,6 @@ class AIServiceDocumentClient {
1400
1340
  };
1401
1341
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1402
1342
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
1403
- if (this.logger)
1404
- retrier.logger = this.logger;
1405
1343
  const request = yield oci_common_1.composeRequest({
1406
1344
  baseEndpoint: this._endpoint,
1407
1345
  defaultHeaders: this._defaultHeaders,
@@ -1445,12 +1383,11 @@ class AIServiceDocumentClient {
1445
1383
  * @param PatchModelRequest
1446
1384
  * @return PatchModelResponse
1447
1385
  * @throws OciError when an error occurs
1448
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/PatchModel.ts.html |here} to see how to use PatchModel API.
1386
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/PatchModel.ts.html |here} to see how to use PatchModel API.
1449
1387
  */
1450
1388
  patchModel(patchModelRequest) {
1451
1389
  return __awaiter(this, void 0, void 0, function* () {
1452
- if (this.logger)
1453
- this.logger.debug("Calling operation AIServiceDocumentClient#patchModel.");
1390
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#patchModel.");
1454
1391
  const operationName = "patchModel";
1455
1392
  const apiReferenceLink = "";
1456
1393
  const pathParams = {
@@ -1464,8 +1401,6 @@ class AIServiceDocumentClient {
1464
1401
  };
1465
1402
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1466
1403
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchModelRequest.retryConfiguration, specRetryConfiguration);
1467
- if (this.logger)
1468
- retrier.logger = this.logger;
1469
1404
  const request = yield oci_common_1.composeRequest({
1470
1405
  baseEndpoint: this._endpoint,
1471
1406
  defaultHeaders: this._defaultHeaders,
@@ -1515,12 +1450,11 @@ class AIServiceDocumentClient {
1515
1450
  * @param UpdateModelRequest
1516
1451
  * @return UpdateModelResponse
1517
1452
  * @throws OciError when an error occurs
1518
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/UpdateModel.ts.html |here} to see how to use UpdateModel API.
1453
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/UpdateModel.ts.html |here} to see how to use UpdateModel API.
1519
1454
  */
1520
1455
  updateModel(updateModelRequest) {
1521
1456
  return __awaiter(this, void 0, void 0, function* () {
1522
- if (this.logger)
1523
- this.logger.debug("Calling operation AIServiceDocumentClient#updateModel.");
1457
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#updateModel.");
1524
1458
  const operationName = "updateModel";
1525
1459
  const apiReferenceLink = "";
1526
1460
  const pathParams = {
@@ -1534,8 +1468,6 @@ class AIServiceDocumentClient {
1534
1468
  };
1535
1469
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1536
1470
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateModelRequest.retryConfiguration, specRetryConfiguration);
1537
- if (this.logger)
1538
- retrier.logger = this.logger;
1539
1471
  const request = yield oci_common_1.composeRequest({
1540
1472
  baseEndpoint: this._endpoint,
1541
1473
  defaultHeaders: this._defaultHeaders,
@@ -1576,12 +1508,11 @@ class AIServiceDocumentClient {
1576
1508
  * @param UpdateProjectRequest
1577
1509
  * @return UpdateProjectResponse
1578
1510
  * @throws OciError when an error occurs
1579
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/aidocument/UpdateProject.ts.html |here} to see how to use UpdateProject API.
1511
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/aidocument/UpdateProject.ts.html |here} to see how to use UpdateProject API.
1580
1512
  */
1581
1513
  updateProject(updateProjectRequest) {
1582
1514
  return __awaiter(this, void 0, void 0, function* () {
1583
- if (this.logger)
1584
- this.logger.debug("Calling operation AIServiceDocumentClient#updateProject.");
1515
+ oci_common_1.logger.debug("Calling operation AIServiceDocumentClient#updateProject.");
1585
1516
  const operationName = "updateProject";
1586
1517
  const apiReferenceLink = "";
1587
1518
  const pathParams = {
@@ -1595,8 +1526,6 @@ class AIServiceDocumentClient {
1595
1526
  };
1596
1527
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1597
1528
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateProjectRequest.retryConfiguration, specRetryConfiguration);
1598
- if (this.logger)
1599
- retrier.logger = this.logger;
1600
1529
  const request = yield oci_common_1.composeRequest({
1601
1530
  baseEndpoint: this._endpoint,
1602
1531
  defaultHeaders: this._defaultHeaders,