oci-oda 2.79.1 → 2.80.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 (96) hide show
  1. package/lib/client.d.ts +86 -83
  2. package/lib/client.js +424 -169
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/channel.js +4 -2
  5. package/lib/model/channel.js.map +1 -1
  6. package/lib/model/create-channel-details.js +4 -2
  7. package/lib/model/create-channel-details.js.map +1 -1
  8. package/lib/model/create-channel-result.js +4 -2
  9. package/lib/model/create-channel-result.js.map +1 -1
  10. package/lib/model/create-digital-assistant-details.js +4 -2
  11. package/lib/model/create-digital-assistant-details.js.map +1 -1
  12. package/lib/model/create-skill-details.js +4 -2
  13. package/lib/model/create-skill-details.js.map +1 -1
  14. package/lib/model/update-channel-details.js +4 -2
  15. package/lib/model/update-channel-details.js.map +1 -1
  16. package/lib/request/change-oda-instance-compartment-request.d.ts +1 -1
  17. package/lib/request/change-oda-private-endpoint-compartment-request.d.ts +1 -1
  18. package/lib/request/configure-digital-assistant-parameters-request.d.ts +1 -1
  19. package/lib/request/create-authentication-provider-request.d.ts +1 -1
  20. package/lib/request/create-channel-request.d.ts +1 -1
  21. package/lib/request/create-digital-assistant-request.d.ts +1 -1
  22. package/lib/request/create-imported-package-request.d.ts +1 -1
  23. package/lib/request/create-oda-instance-attachment-request.d.ts +1 -1
  24. package/lib/request/create-oda-instance-request.d.ts +1 -1
  25. package/lib/request/create-oda-private-endpoint-attachment-request.d.ts +1 -1
  26. package/lib/request/create-oda-private-endpoint-request.d.ts +1 -1
  27. package/lib/request/create-oda-private-endpoint-scan-proxy-request.d.ts +1 -1
  28. package/lib/request/create-skill-parameter-request.d.ts +1 -1
  29. package/lib/request/create-skill-request.d.ts +1 -1
  30. package/lib/request/create-translator-request.d.ts +1 -1
  31. package/lib/request/delete-authentication-provider-request.d.ts +1 -1
  32. package/lib/request/delete-channel-request.d.ts +1 -1
  33. package/lib/request/delete-digital-assistant-request.d.ts +1 -1
  34. package/lib/request/delete-imported-package-request.d.ts +1 -1
  35. package/lib/request/delete-oda-instance-attachment-request.d.ts +1 -1
  36. package/lib/request/delete-oda-instance-request.d.ts +1 -1
  37. package/lib/request/delete-oda-private-endpoint-attachment-request.d.ts +1 -1
  38. package/lib/request/delete-oda-private-endpoint-request.d.ts +1 -1
  39. package/lib/request/delete-oda-private-endpoint-scan-proxy-request.d.ts +1 -1
  40. package/lib/request/delete-skill-parameter-request.d.ts +1 -1
  41. package/lib/request/delete-skill-request.d.ts +1 -1
  42. package/lib/request/delete-translator-request.d.ts +1 -1
  43. package/lib/request/export-digital-assistant-request.d.ts +1 -1
  44. package/lib/request/export-skill-request.d.ts +1 -1
  45. package/lib/request/get-authentication-provider-request.d.ts +1 -1
  46. package/lib/request/get-channel-request.d.ts +1 -1
  47. package/lib/request/get-digital-assistant-parameter-request.d.ts +1 -1
  48. package/lib/request/get-digital-assistant-request.d.ts +1 -1
  49. package/lib/request/get-imported-package-request.d.ts +1 -1
  50. package/lib/request/get-oda-instance-attachment-request.d.ts +1 -1
  51. package/lib/request/get-oda-instance-request.d.ts +1 -1
  52. package/lib/request/get-oda-private-endpoint-attachment-request.d.ts +1 -1
  53. package/lib/request/get-oda-private-endpoint-request.d.ts +1 -1
  54. package/lib/request/get-oda-private-endpoint-scan-proxy-request.d.ts +1 -1
  55. package/lib/request/get-package-request.d.ts +1 -1
  56. package/lib/request/get-skill-parameter-request.d.ts +1 -1
  57. package/lib/request/get-skill-request.d.ts +1 -1
  58. package/lib/request/get-translator-request.d.ts +1 -1
  59. package/lib/request/get-work-request-request.d.ts +1 -1
  60. package/lib/request/import-bot-request.d.ts +1 -1
  61. package/lib/request/list-authentication-providers-request.d.ts +1 -1
  62. package/lib/request/list-channels-request.d.ts +1 -1
  63. package/lib/request/list-digital-assistant-parameters-request.d.ts +1 -1
  64. package/lib/request/list-digital-assistants-request.d.ts +1 -1
  65. package/lib/request/list-imported-packages-request.d.ts +1 -1
  66. package/lib/request/list-oda-instance-attachments-request.d.ts +1 -1
  67. package/lib/request/list-oda-instances-request.d.ts +1 -1
  68. package/lib/request/list-oda-private-endpoint-attachments-request.d.ts +1 -1
  69. package/lib/request/list-oda-private-endpoint-scan-proxies-request.d.ts +1 -1
  70. package/lib/request/list-oda-private-endpoints-request.d.ts +1 -1
  71. package/lib/request/list-packages-request.d.ts +1 -1
  72. package/lib/request/list-skill-parameters-request.d.ts +1 -1
  73. package/lib/request/list-skills-request.d.ts +1 -1
  74. package/lib/request/list-translators-request.d.ts +1 -1
  75. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  76. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  77. package/lib/request/list-work-requests-request.d.ts +1 -1
  78. package/lib/request/publish-digital-assistant-request.d.ts +1 -1
  79. package/lib/request/publish-skill-request.d.ts +1 -1
  80. package/lib/request/rotate-channel-keys-request.d.ts +1 -1
  81. package/lib/request/start-channel-request.d.ts +1 -1
  82. package/lib/request/start-oda-instance-request.d.ts +1 -1
  83. package/lib/request/stop-channel-request.d.ts +1 -1
  84. package/lib/request/stop-oda-instance-request.d.ts +1 -1
  85. package/lib/request/update-authentication-provider-request.d.ts +1 -1
  86. package/lib/request/update-channel-request.d.ts +1 -1
  87. package/lib/request/update-digital-assistant-parameter-request.d.ts +1 -1
  88. package/lib/request/update-digital-assistant-request.d.ts +1 -1
  89. package/lib/request/update-imported-package-request.d.ts +1 -1
  90. package/lib/request/update-oda-instance-attachment-request.d.ts +1 -1
  91. package/lib/request/update-oda-instance-request.d.ts +1 -1
  92. package/lib/request/update-oda-private-endpoint-request.d.ts +1 -1
  93. package/lib/request/update-skill-parameter-request.d.ts +1 -1
  94. package/lib/request/update-skill-request.d.ts +1 -1
  95. package/lib/request/update-translator-request.d.ts +1 -1
  96. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -59,7 +59,7 @@ var ManagementApiKeys;
59
59
  */
60
60
  class ManagementClient {
61
61
  constructor(params, clientConfiguration) {
62
- this["_realmSpecificEndpointTemplateEnabled"] = false;
62
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
63
63
  this["_endpoint"] = "";
64
64
  this["_defaultHeaders"] = {};
65
65
  this._circuitBreaker = null;
@@ -118,7 +118,11 @@ class ManagementClient {
118
118
  set endpoint(endpoint) {
119
119
  this._endpoint = endpoint;
120
120
  this._endpoint = this._endpoint + "/20190506";
121
- oci_common_2.logger.info(`ManagementClient endpoint set to ${this._endpoint}`);
121
+ if (this.logger)
122
+ this.logger.info(`ManagementClient endpoint set to ${this._endpoint}`);
123
+ }
124
+ get logger() {
125
+ return common.LOG.logger;
122
126
  }
123
127
  /**
124
128
  * Determines whether realm specific endpoint should be used or not.
@@ -127,7 +131,8 @@ class ManagementClient {
127
131
  */
128
132
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
129
133
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
130
- oci_common_2.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
134
+ if (this.logger)
135
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
131
136
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
132
137
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ManagementClient.serviceEndpointTemplate, this._region, ManagementClient.endpointServiceName);
133
138
  }
@@ -198,11 +203,12 @@ class ManagementClient {
198
203
  * @param ChangeOdaPrivateEndpointCompartmentRequest
199
204
  * @return ChangeOdaPrivateEndpointCompartmentResponse
200
205
  * @throws OciError when an error occurs
201
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ChangeOdaPrivateEndpointCompartment.ts.html |here} to see how to use ChangeOdaPrivateEndpointCompartment API.
206
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ChangeOdaPrivateEndpointCompartment.ts.html |here} to see how to use ChangeOdaPrivateEndpointCompartment API.
202
207
  */
203
208
  changeOdaPrivateEndpointCompartment(changeOdaPrivateEndpointCompartmentRequest) {
204
209
  return __awaiter(this, void 0, void 0, function* () {
205
- oci_common_2.logger.debug("Calling operation ManagementClient#changeOdaPrivateEndpointCompartment.");
210
+ if (this.logger)
211
+ this.logger.debug("Calling operation ManagementClient#changeOdaPrivateEndpointCompartment.");
206
212
  const operationName = "changeOdaPrivateEndpointCompartment";
207
213
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpoint/ChangeOdaPrivateEndpointCompartment";
208
214
  const pathParams = {
@@ -217,6 +223,8 @@ class ManagementClient {
217
223
  };
218
224
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
219
225
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeOdaPrivateEndpointCompartmentRequest.retryConfiguration, specRetryConfiguration);
226
+ if (this.logger)
227
+ retrier.logger = this.logger;
220
228
  const request = yield oci_common_2.composeRequest({
221
229
  baseEndpoint: this._endpoint,
222
230
  defaultHeaders: this._defaultHeaders,
@@ -258,11 +266,12 @@ class ManagementClient {
258
266
  * @param ConfigureDigitalAssistantParametersRequest
259
267
  * @return ConfigureDigitalAssistantParametersResponse
260
268
  * @throws OciError when an error occurs
261
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ConfigureDigitalAssistantParameters.ts.html |here} to see how to use ConfigureDigitalAssistantParameters API.
269
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ConfigureDigitalAssistantParameters.ts.html |here} to see how to use ConfigureDigitalAssistantParameters API.
262
270
  */
263
271
  configureDigitalAssistantParameters(configureDigitalAssistantParametersRequest) {
264
272
  return __awaiter(this, void 0, void 0, function* () {
265
- oci_common_2.logger.debug("Calling operation ManagementClient#configureDigitalAssistantParameters.");
273
+ if (this.logger)
274
+ this.logger.debug("Calling operation ManagementClient#configureDigitalAssistantParameters.");
266
275
  const operationName = "configureDigitalAssistantParameters";
267
276
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistantParameter/ConfigureDigitalAssistantParameters";
268
277
  const pathParams = {
@@ -275,6 +284,8 @@ class ManagementClient {
275
284
  };
276
285
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
277
286
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, configureDigitalAssistantParametersRequest.retryConfiguration, specRetryConfiguration);
287
+ if (this.logger)
288
+ retrier.logger = this.logger;
278
289
  const request = yield oci_common_2.composeRequest({
279
290
  baseEndpoint: this._endpoint,
280
291
  defaultHeaders: this._defaultHeaders,
@@ -311,11 +322,12 @@ class ManagementClient {
311
322
  * @param CreateAuthenticationProviderRequest
312
323
  * @return CreateAuthenticationProviderResponse
313
324
  * @throws OciError when an error occurs
314
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/CreateAuthenticationProvider.ts.html |here} to see how to use CreateAuthenticationProvider API.
325
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/CreateAuthenticationProvider.ts.html |here} to see how to use CreateAuthenticationProvider API.
315
326
  */
316
327
  createAuthenticationProvider(createAuthenticationProviderRequest) {
317
328
  return __awaiter(this, void 0, void 0, function* () {
318
- oci_common_2.logger.debug("Calling operation ManagementClient#createAuthenticationProvider.");
329
+ if (this.logger)
330
+ this.logger.debug("Calling operation ManagementClient#createAuthenticationProvider.");
319
331
  const operationName = "createAuthenticationProvider";
320
332
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/AuthenticationProvider/CreateAuthenticationProvider";
321
333
  const pathParams = {
@@ -329,6 +341,8 @@ class ManagementClient {
329
341
  };
330
342
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
331
343
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAuthenticationProviderRequest.retryConfiguration, specRetryConfiguration);
344
+ if (this.logger)
345
+ retrier.logger = this.logger;
332
346
  const request = yield oci_common_2.composeRequest({
333
347
  baseEndpoint: this._endpoint,
334
348
  defaultHeaders: this._defaultHeaders,
@@ -379,11 +393,12 @@ class ManagementClient {
379
393
  * @param CreateChannelRequest
380
394
  * @return CreateChannelResponse
381
395
  * @throws OciError when an error occurs
382
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/CreateChannel.ts.html |here} to see how to use CreateChannel API.
396
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/CreateChannel.ts.html |here} to see how to use CreateChannel API.
383
397
  */
384
398
  createChannel(createChannelRequest) {
385
399
  return __awaiter(this, void 0, void 0, function* () {
386
- oci_common_2.logger.debug("Calling operation ManagementClient#createChannel.");
400
+ if (this.logger)
401
+ this.logger.debug("Calling operation ManagementClient#createChannel.");
387
402
  const operationName = "createChannel";
388
403
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Channel/CreateChannel";
389
404
  const pathParams = {
@@ -397,6 +412,8 @@ class ManagementClient {
397
412
  };
398
413
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
399
414
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createChannelRequest.retryConfiguration, specRetryConfiguration);
415
+ if (this.logger)
416
+ retrier.logger = this.logger;
400
417
  const request = yield oci_common_2.composeRequest({
401
418
  baseEndpoint: this._endpoint,
402
419
  defaultHeaders: this._defaultHeaders,
@@ -447,11 +464,12 @@ class ManagementClient {
447
464
  * @param CreateDigitalAssistantRequest
448
465
  * @return CreateDigitalAssistantResponse
449
466
  * @throws OciError when an error occurs
450
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/CreateDigitalAssistant.ts.html |here} to see how to use CreateDigitalAssistant API.
467
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/CreateDigitalAssistant.ts.html |here} to see how to use CreateDigitalAssistant API.
451
468
  */
452
469
  createDigitalAssistant(createDigitalAssistantRequest) {
453
470
  return __awaiter(this, void 0, void 0, function* () {
454
- oci_common_2.logger.debug("Calling operation ManagementClient#createDigitalAssistant.");
471
+ if (this.logger)
472
+ this.logger.debug("Calling operation ManagementClient#createDigitalAssistant.");
455
473
  const operationName = "createDigitalAssistant";
456
474
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistant/CreateDigitalAssistant";
457
475
  const pathParams = {
@@ -465,6 +483,8 @@ class ManagementClient {
465
483
  };
466
484
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
467
485
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDigitalAssistantRequest.retryConfiguration, specRetryConfiguration);
486
+ if (this.logger)
487
+ retrier.logger = this.logger;
468
488
  const request = yield oci_common_2.composeRequest({
469
489
  baseEndpoint: this._endpoint,
470
490
  defaultHeaders: this._defaultHeaders,
@@ -509,11 +529,12 @@ class ManagementClient {
509
529
  * @param CreateOdaPrivateEndpointRequest
510
530
  * @return CreateOdaPrivateEndpointResponse
511
531
  * @throws OciError when an error occurs
512
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/CreateOdaPrivateEndpoint.ts.html |here} to see how to use CreateOdaPrivateEndpoint API.
532
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/CreateOdaPrivateEndpoint.ts.html |here} to see how to use CreateOdaPrivateEndpoint API.
513
533
  */
514
534
  createOdaPrivateEndpoint(createOdaPrivateEndpointRequest) {
515
535
  return __awaiter(this, void 0, void 0, function* () {
516
- oci_common_2.logger.debug("Calling operation ManagementClient#createOdaPrivateEndpoint.");
536
+ if (this.logger)
537
+ this.logger.debug("Calling operation ManagementClient#createOdaPrivateEndpoint.");
517
538
  const operationName = "createOdaPrivateEndpoint";
518
539
  const apiReferenceLink = "";
519
540
  const pathParams = {};
@@ -525,6 +546,8 @@ class ManagementClient {
525
546
  };
526
547
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
527
548
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOdaPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
549
+ if (this.logger)
550
+ retrier.logger = this.logger;
528
551
  const request = yield oci_common_2.composeRequest({
529
552
  baseEndpoint: this._endpoint,
530
553
  defaultHeaders: this._defaultHeaders,
@@ -583,11 +606,12 @@ class ManagementClient {
583
606
  * @param CreateOdaPrivateEndpointAttachmentRequest
584
607
  * @return CreateOdaPrivateEndpointAttachmentResponse
585
608
  * @throws OciError when an error occurs
586
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/CreateOdaPrivateEndpointAttachment.ts.html |here} to see how to use CreateOdaPrivateEndpointAttachment API.
609
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/CreateOdaPrivateEndpointAttachment.ts.html |here} to see how to use CreateOdaPrivateEndpointAttachment API.
587
610
  */
588
611
  createOdaPrivateEndpointAttachment(createOdaPrivateEndpointAttachmentRequest) {
589
612
  return __awaiter(this, void 0, void 0, function* () {
590
- oci_common_2.logger.debug("Calling operation ManagementClient#createOdaPrivateEndpointAttachment.");
613
+ if (this.logger)
614
+ this.logger.debug("Calling operation ManagementClient#createOdaPrivateEndpointAttachment.");
591
615
  const operationName = "createOdaPrivateEndpointAttachment";
592
616
  const apiReferenceLink = "";
593
617
  const pathParams = {};
@@ -599,6 +623,8 @@ class ManagementClient {
599
623
  };
600
624
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
601
625
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOdaPrivateEndpointAttachmentRequest.retryConfiguration, specRetryConfiguration);
626
+ if (this.logger)
627
+ retrier.logger = this.logger;
602
628
  const request = yield oci_common_2.composeRequest({
603
629
  baseEndpoint: this._endpoint,
604
630
  defaultHeaders: this._defaultHeaders,
@@ -657,11 +683,12 @@ class ManagementClient {
657
683
  * @param CreateOdaPrivateEndpointScanProxyRequest
658
684
  * @return CreateOdaPrivateEndpointScanProxyResponse
659
685
  * @throws OciError when an error occurs
660
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/CreateOdaPrivateEndpointScanProxy.ts.html |here} to see how to use CreateOdaPrivateEndpointScanProxy API.
686
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/CreateOdaPrivateEndpointScanProxy.ts.html |here} to see how to use CreateOdaPrivateEndpointScanProxy API.
661
687
  */
662
688
  createOdaPrivateEndpointScanProxy(createOdaPrivateEndpointScanProxyRequest) {
663
689
  return __awaiter(this, void 0, void 0, function* () {
664
- oci_common_2.logger.debug("Calling operation ManagementClient#createOdaPrivateEndpointScanProxy.");
690
+ if (this.logger)
691
+ this.logger.debug("Calling operation ManagementClient#createOdaPrivateEndpointScanProxy.");
665
692
  const operationName = "createOdaPrivateEndpointScanProxy";
666
693
  const apiReferenceLink = "";
667
694
  const pathParams = {
@@ -675,6 +702,8 @@ class ManagementClient {
675
702
  };
676
703
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
677
704
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOdaPrivateEndpointScanProxyRequest.retryConfiguration, specRetryConfiguration);
705
+ if (this.logger)
706
+ retrier.logger = this.logger;
678
707
  const request = yield oci_common_2.composeRequest({
679
708
  baseEndpoint: this._endpoint,
680
709
  defaultHeaders: this._defaultHeaders,
@@ -730,11 +759,12 @@ class ManagementClient {
730
759
  * @param CreateSkillRequest
731
760
  * @return CreateSkillResponse
732
761
  * @throws OciError when an error occurs
733
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/CreateSkill.ts.html |here} to see how to use CreateSkill API.
762
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/CreateSkill.ts.html |here} to see how to use CreateSkill API.
734
763
  */
735
764
  createSkill(createSkillRequest) {
736
765
  return __awaiter(this, void 0, void 0, function* () {
737
- oci_common_2.logger.debug("Calling operation ManagementClient#createSkill.");
766
+ if (this.logger)
767
+ this.logger.debug("Calling operation ManagementClient#createSkill.");
738
768
  const operationName = "createSkill";
739
769
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/CreateSkill";
740
770
  const pathParams = {
@@ -748,6 +778,8 @@ class ManagementClient {
748
778
  };
749
779
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
750
780
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSkillRequest.retryConfiguration, specRetryConfiguration);
781
+ if (this.logger)
782
+ retrier.logger = this.logger;
751
783
  const request = yield oci_common_2.composeRequest({
752
784
  baseEndpoint: this._endpoint,
753
785
  defaultHeaders: this._defaultHeaders,
@@ -789,11 +821,12 @@ class ManagementClient {
789
821
  * @param CreateSkillParameterRequest
790
822
  * @return CreateSkillParameterResponse
791
823
  * @throws OciError when an error occurs
792
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/CreateSkillParameter.ts.html |here} to see how to use CreateSkillParameter API.
824
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/CreateSkillParameter.ts.html |here} to see how to use CreateSkillParameter API.
793
825
  */
794
826
  createSkillParameter(createSkillParameterRequest) {
795
827
  return __awaiter(this, void 0, void 0, function* () {
796
- oci_common_2.logger.debug("Calling operation ManagementClient#createSkillParameter.");
828
+ if (this.logger)
829
+ this.logger.debug("Calling operation ManagementClient#createSkillParameter.");
797
830
  const operationName = "createSkillParameter";
798
831
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/SkillParameter/CreateSkillParameter";
799
832
  const pathParams = {
@@ -808,6 +841,8 @@ class ManagementClient {
808
841
  };
809
842
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
810
843
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSkillParameterRequest.retryConfiguration, specRetryConfiguration);
844
+ if (this.logger)
845
+ retrier.logger = this.logger;
811
846
  const request = yield oci_common_2.composeRequest({
812
847
  baseEndpoint: this._endpoint,
813
848
  defaultHeaders: this._defaultHeaders,
@@ -858,11 +893,12 @@ class ManagementClient {
858
893
  * @param CreateTranslatorRequest
859
894
  * @return CreateTranslatorResponse
860
895
  * @throws OciError when an error occurs
861
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/CreateTranslator.ts.html |here} to see how to use CreateTranslator API.
896
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/CreateTranslator.ts.html |here} to see how to use CreateTranslator API.
862
897
  */
863
898
  createTranslator(createTranslatorRequest) {
864
899
  return __awaiter(this, void 0, void 0, function* () {
865
- oci_common_2.logger.debug("Calling operation ManagementClient#createTranslator.");
900
+ if (this.logger)
901
+ this.logger.debug("Calling operation ManagementClient#createTranslator.");
866
902
  const operationName = "createTranslator";
867
903
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Translator/CreateTranslator";
868
904
  const pathParams = {
@@ -876,6 +912,8 @@ class ManagementClient {
876
912
  };
877
913
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
878
914
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createTranslatorRequest.retryConfiguration, specRetryConfiguration);
915
+ if (this.logger)
916
+ retrier.logger = this.logger;
879
917
  const request = yield oci_common_2.composeRequest({
880
918
  baseEndpoint: this._endpoint,
881
919
  defaultHeaders: this._defaultHeaders,
@@ -925,11 +963,12 @@ class ManagementClient {
925
963
  * @param DeleteAuthenticationProviderRequest
926
964
  * @return DeleteAuthenticationProviderResponse
927
965
  * @throws OciError when an error occurs
928
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/DeleteAuthenticationProvider.ts.html |here} to see how to use DeleteAuthenticationProvider API.
966
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/DeleteAuthenticationProvider.ts.html |here} to see how to use DeleteAuthenticationProvider API.
929
967
  */
930
968
  deleteAuthenticationProvider(deleteAuthenticationProviderRequest) {
931
969
  return __awaiter(this, void 0, void 0, function* () {
932
- oci_common_2.logger.debug("Calling operation ManagementClient#deleteAuthenticationProvider.");
970
+ if (this.logger)
971
+ this.logger.debug("Calling operation ManagementClient#deleteAuthenticationProvider.");
933
972
  const operationName = "deleteAuthenticationProvider";
934
973
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/AuthenticationProvider/DeleteAuthenticationProvider";
935
974
  const pathParams = {
@@ -944,6 +983,8 @@ class ManagementClient {
944
983
  };
945
984
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
946
985
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAuthenticationProviderRequest.retryConfiguration, specRetryConfiguration);
986
+ if (this.logger)
987
+ retrier.logger = this.logger;
947
988
  const request = yield oci_common_2.composeRequest({
948
989
  baseEndpoint: this._endpoint,
949
990
  defaultHeaders: this._defaultHeaders,
@@ -978,11 +1019,12 @@ class ManagementClient {
978
1019
  * @param DeleteChannelRequest
979
1020
  * @return DeleteChannelResponse
980
1021
  * @throws OciError when an error occurs
981
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/DeleteChannel.ts.html |here} to see how to use DeleteChannel API.
1022
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/DeleteChannel.ts.html |here} to see how to use DeleteChannel API.
982
1023
  */
983
1024
  deleteChannel(deleteChannelRequest) {
984
1025
  return __awaiter(this, void 0, void 0, function* () {
985
- oci_common_2.logger.debug("Calling operation ManagementClient#deleteChannel.");
1026
+ if (this.logger)
1027
+ this.logger.debug("Calling operation ManagementClient#deleteChannel.");
986
1028
  const operationName = "deleteChannel";
987
1029
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Channel/DeleteChannel";
988
1030
  const pathParams = {
@@ -997,6 +1039,8 @@ class ManagementClient {
997
1039
  };
998
1040
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
999
1041
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteChannelRequest.retryConfiguration, specRetryConfiguration);
1042
+ if (this.logger)
1043
+ retrier.logger = this.logger;
1000
1044
  const request = yield oci_common_2.composeRequest({
1001
1045
  baseEndpoint: this._endpoint,
1002
1046
  defaultHeaders: this._defaultHeaders,
@@ -1032,11 +1076,12 @@ class ManagementClient {
1032
1076
  * @param DeleteDigitalAssistantRequest
1033
1077
  * @return DeleteDigitalAssistantResponse
1034
1078
  * @throws OciError when an error occurs
1035
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/DeleteDigitalAssistant.ts.html |here} to see how to use DeleteDigitalAssistant API.
1079
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/DeleteDigitalAssistant.ts.html |here} to see how to use DeleteDigitalAssistant API.
1036
1080
  */
1037
1081
  deleteDigitalAssistant(deleteDigitalAssistantRequest) {
1038
1082
  return __awaiter(this, void 0, void 0, function* () {
1039
- oci_common_2.logger.debug("Calling operation ManagementClient#deleteDigitalAssistant.");
1083
+ if (this.logger)
1084
+ this.logger.debug("Calling operation ManagementClient#deleteDigitalAssistant.");
1040
1085
  const operationName = "deleteDigitalAssistant";
1041
1086
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistant/DeleteDigitalAssistant";
1042
1087
  const pathParams = {
@@ -1051,6 +1096,8 @@ class ManagementClient {
1051
1096
  };
1052
1097
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1053
1098
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDigitalAssistantRequest.retryConfiguration, specRetryConfiguration);
1099
+ if (this.logger)
1100
+ retrier.logger = this.logger;
1054
1101
  const request = yield oci_common_2.composeRequest({
1055
1102
  baseEndpoint: this._endpoint,
1056
1103
  defaultHeaders: this._defaultHeaders,
@@ -1086,11 +1133,12 @@ class ManagementClient {
1086
1133
  * @param DeleteOdaPrivateEndpointRequest
1087
1134
  * @return DeleteOdaPrivateEndpointResponse
1088
1135
  * @throws OciError when an error occurs
1089
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/DeleteOdaPrivateEndpoint.ts.html |here} to see how to use DeleteOdaPrivateEndpoint API.
1136
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/DeleteOdaPrivateEndpoint.ts.html |here} to see how to use DeleteOdaPrivateEndpoint API.
1090
1137
  */
1091
1138
  deleteOdaPrivateEndpoint(deleteOdaPrivateEndpointRequest) {
1092
1139
  return __awaiter(this, void 0, void 0, function* () {
1093
- oci_common_2.logger.debug("Calling operation ManagementClient#deleteOdaPrivateEndpoint.");
1140
+ if (this.logger)
1141
+ this.logger.debug("Calling operation ManagementClient#deleteOdaPrivateEndpoint.");
1094
1142
  const operationName = "deleteOdaPrivateEndpoint";
1095
1143
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpoint/DeleteOdaPrivateEndpoint";
1096
1144
  const pathParams = {
@@ -1104,6 +1152,8 @@ class ManagementClient {
1104
1152
  };
1105
1153
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1106
1154
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOdaPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
1155
+ if (this.logger)
1156
+ retrier.logger = this.logger;
1107
1157
  const request = yield oci_common_2.composeRequest({
1108
1158
  baseEndpoint: this._endpoint,
1109
1159
  defaultHeaders: this._defaultHeaders,
@@ -1144,11 +1194,12 @@ class ManagementClient {
1144
1194
  * @param DeleteOdaPrivateEndpointAttachmentRequest
1145
1195
  * @return DeleteOdaPrivateEndpointAttachmentResponse
1146
1196
  * @throws OciError when an error occurs
1147
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/DeleteOdaPrivateEndpointAttachment.ts.html |here} to see how to use DeleteOdaPrivateEndpointAttachment API.
1197
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/DeleteOdaPrivateEndpointAttachment.ts.html |here} to see how to use DeleteOdaPrivateEndpointAttachment API.
1148
1198
  */
1149
1199
  deleteOdaPrivateEndpointAttachment(deleteOdaPrivateEndpointAttachmentRequest) {
1150
1200
  return __awaiter(this, void 0, void 0, function* () {
1151
- oci_common_2.logger.debug("Calling operation ManagementClient#deleteOdaPrivateEndpointAttachment.");
1201
+ if (this.logger)
1202
+ this.logger.debug("Calling operation ManagementClient#deleteOdaPrivateEndpointAttachment.");
1152
1203
  const operationName = "deleteOdaPrivateEndpointAttachment";
1153
1204
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpointAttachment/DeleteOdaPrivateEndpointAttachment";
1154
1205
  const pathParams = {
@@ -1162,6 +1213,8 @@ class ManagementClient {
1162
1213
  };
1163
1214
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1164
1215
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOdaPrivateEndpointAttachmentRequest.retryConfiguration, specRetryConfiguration);
1216
+ if (this.logger)
1217
+ retrier.logger = this.logger;
1165
1218
  const request = yield oci_common_2.composeRequest({
1166
1219
  baseEndpoint: this._endpoint,
1167
1220
  defaultHeaders: this._defaultHeaders,
@@ -1202,11 +1255,12 @@ class ManagementClient {
1202
1255
  * @param DeleteOdaPrivateEndpointScanProxyRequest
1203
1256
  * @return DeleteOdaPrivateEndpointScanProxyResponse
1204
1257
  * @throws OciError when an error occurs
1205
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/DeleteOdaPrivateEndpointScanProxy.ts.html |here} to see how to use DeleteOdaPrivateEndpointScanProxy API.
1258
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/DeleteOdaPrivateEndpointScanProxy.ts.html |here} to see how to use DeleteOdaPrivateEndpointScanProxy API.
1206
1259
  */
1207
1260
  deleteOdaPrivateEndpointScanProxy(deleteOdaPrivateEndpointScanProxyRequest) {
1208
1261
  return __awaiter(this, void 0, void 0, function* () {
1209
- oci_common_2.logger.debug("Calling operation ManagementClient#deleteOdaPrivateEndpointScanProxy.");
1262
+ if (this.logger)
1263
+ this.logger.debug("Calling operation ManagementClient#deleteOdaPrivateEndpointScanProxy.");
1210
1264
  const operationName = "deleteOdaPrivateEndpointScanProxy";
1211
1265
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpointScanProxy/DeleteOdaPrivateEndpointScanProxy";
1212
1266
  const pathParams = {
@@ -1221,6 +1275,8 @@ class ManagementClient {
1221
1275
  };
1222
1276
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1223
1277
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOdaPrivateEndpointScanProxyRequest.retryConfiguration, specRetryConfiguration);
1278
+ if (this.logger)
1279
+ retrier.logger = this.logger;
1224
1280
  const request = yield oci_common_2.composeRequest({
1225
1281
  baseEndpoint: this._endpoint,
1226
1282
  defaultHeaders: this._defaultHeaders,
@@ -1261,11 +1317,12 @@ class ManagementClient {
1261
1317
  * @param DeleteSkillRequest
1262
1318
  * @return DeleteSkillResponse
1263
1319
  * @throws OciError when an error occurs
1264
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/DeleteSkill.ts.html |here} to see how to use DeleteSkill API.
1320
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/DeleteSkill.ts.html |here} to see how to use DeleteSkill API.
1265
1321
  */
1266
1322
  deleteSkill(deleteSkillRequest) {
1267
1323
  return __awaiter(this, void 0, void 0, function* () {
1268
- oci_common_2.logger.debug("Calling operation ManagementClient#deleteSkill.");
1324
+ if (this.logger)
1325
+ this.logger.debug("Calling operation ManagementClient#deleteSkill.");
1269
1326
  const operationName = "deleteSkill";
1270
1327
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/DeleteSkill";
1271
1328
  const pathParams = {
@@ -1280,6 +1337,8 @@ class ManagementClient {
1280
1337
  };
1281
1338
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1282
1339
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSkillRequest.retryConfiguration, specRetryConfiguration);
1340
+ if (this.logger)
1341
+ retrier.logger = this.logger;
1283
1342
  const request = yield oci_common_2.composeRequest({
1284
1343
  baseEndpoint: this._endpoint,
1285
1344
  defaultHeaders: this._defaultHeaders,
@@ -1315,11 +1374,12 @@ class ManagementClient {
1315
1374
  * @param DeleteSkillParameterRequest
1316
1375
  * @return DeleteSkillParameterResponse
1317
1376
  * @throws OciError when an error occurs
1318
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/DeleteSkillParameter.ts.html |here} to see how to use DeleteSkillParameter API.
1377
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/DeleteSkillParameter.ts.html |here} to see how to use DeleteSkillParameter API.
1319
1378
  */
1320
1379
  deleteSkillParameter(deleteSkillParameterRequest) {
1321
1380
  return __awaiter(this, void 0, void 0, function* () {
1322
- oci_common_2.logger.debug("Calling operation ManagementClient#deleteSkillParameter.");
1381
+ if (this.logger)
1382
+ this.logger.debug("Calling operation ManagementClient#deleteSkillParameter.");
1323
1383
  const operationName = "deleteSkillParameter";
1324
1384
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/SkillParameter/DeleteSkillParameter";
1325
1385
  const pathParams = {
@@ -1335,6 +1395,8 @@ class ManagementClient {
1335
1395
  };
1336
1396
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1337
1397
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSkillParameterRequest.retryConfiguration, specRetryConfiguration);
1398
+ if (this.logger)
1399
+ retrier.logger = this.logger;
1338
1400
  const request = yield oci_common_2.composeRequest({
1339
1401
  baseEndpoint: this._endpoint,
1340
1402
  defaultHeaders: this._defaultHeaders,
@@ -1369,11 +1431,12 @@ class ManagementClient {
1369
1431
  * @param DeleteTranslatorRequest
1370
1432
  * @return DeleteTranslatorResponse
1371
1433
  * @throws OciError when an error occurs
1372
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/DeleteTranslator.ts.html |here} to see how to use DeleteTranslator API.
1434
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/DeleteTranslator.ts.html |here} to see how to use DeleteTranslator API.
1373
1435
  */
1374
1436
  deleteTranslator(deleteTranslatorRequest) {
1375
1437
  return __awaiter(this, void 0, void 0, function* () {
1376
- oci_common_2.logger.debug("Calling operation ManagementClient#deleteTranslator.");
1438
+ if (this.logger)
1439
+ this.logger.debug("Calling operation ManagementClient#deleteTranslator.");
1377
1440
  const operationName = "deleteTranslator";
1378
1441
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Translator/DeleteTranslator";
1379
1442
  const pathParams = {
@@ -1388,6 +1451,8 @@ class ManagementClient {
1388
1451
  };
1389
1452
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1390
1453
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteTranslatorRequest.retryConfiguration, specRetryConfiguration);
1454
+ if (this.logger)
1455
+ retrier.logger = this.logger;
1391
1456
  const request = yield oci_common_2.composeRequest({
1392
1457
  baseEndpoint: this._endpoint,
1393
1458
  defaultHeaders: this._defaultHeaders,
@@ -1422,11 +1487,12 @@ class ManagementClient {
1422
1487
  * @param ExportDigitalAssistantRequest
1423
1488
  * @return ExportDigitalAssistantResponse
1424
1489
  * @throws OciError when an error occurs
1425
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ExportDigitalAssistant.ts.html |here} to see how to use ExportDigitalAssistant API.
1490
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ExportDigitalAssistant.ts.html |here} to see how to use ExportDigitalAssistant API.
1426
1491
  */
1427
1492
  exportDigitalAssistant(exportDigitalAssistantRequest) {
1428
1493
  return __awaiter(this, void 0, void 0, function* () {
1429
- oci_common_2.logger.debug("Calling operation ManagementClient#exportDigitalAssistant.");
1494
+ if (this.logger)
1495
+ this.logger.debug("Calling operation ManagementClient#exportDigitalAssistant.");
1430
1496
  const operationName = "exportDigitalAssistant";
1431
1497
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/ExportDigitalAssistant";
1432
1498
  const pathParams = {
@@ -1440,6 +1506,8 @@ class ManagementClient {
1440
1506
  };
1441
1507
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1442
1508
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, exportDigitalAssistantRequest.retryConfiguration, specRetryConfiguration);
1509
+ if (this.logger)
1510
+ retrier.logger = this.logger;
1443
1511
  const request = yield oci_common_2.composeRequest({
1444
1512
  baseEndpoint: this._endpoint,
1445
1513
  defaultHeaders: this._defaultHeaders,
@@ -1480,11 +1548,12 @@ class ManagementClient {
1480
1548
  * @param ExportSkillRequest
1481
1549
  * @return ExportSkillResponse
1482
1550
  * @throws OciError when an error occurs
1483
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ExportSkill.ts.html |here} to see how to use ExportSkill API.
1551
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ExportSkill.ts.html |here} to see how to use ExportSkill API.
1484
1552
  */
1485
1553
  exportSkill(exportSkillRequest) {
1486
1554
  return __awaiter(this, void 0, void 0, function* () {
1487
- oci_common_2.logger.debug("Calling operation ManagementClient#exportSkill.");
1555
+ if (this.logger)
1556
+ this.logger.debug("Calling operation ManagementClient#exportSkill.");
1488
1557
  const operationName = "exportSkill";
1489
1558
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/ExportSkill";
1490
1559
  const pathParams = {
@@ -1498,6 +1567,8 @@ class ManagementClient {
1498
1567
  };
1499
1568
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1500
1569
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, exportSkillRequest.retryConfiguration, specRetryConfiguration);
1570
+ if (this.logger)
1571
+ retrier.logger = this.logger;
1501
1572
  const request = yield oci_common_2.composeRequest({
1502
1573
  baseEndpoint: this._endpoint,
1503
1574
  defaultHeaders: this._defaultHeaders,
@@ -1538,11 +1609,12 @@ class ManagementClient {
1538
1609
  * @param GetAuthenticationProviderRequest
1539
1610
  * @return GetAuthenticationProviderResponse
1540
1611
  * @throws OciError when an error occurs
1541
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/GetAuthenticationProvider.ts.html |here} to see how to use GetAuthenticationProvider API.
1612
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/GetAuthenticationProvider.ts.html |here} to see how to use GetAuthenticationProvider API.
1542
1613
  */
1543
1614
  getAuthenticationProvider(getAuthenticationProviderRequest) {
1544
1615
  return __awaiter(this, void 0, void 0, function* () {
1545
- oci_common_2.logger.debug("Calling operation ManagementClient#getAuthenticationProvider.");
1616
+ if (this.logger)
1617
+ this.logger.debug("Calling operation ManagementClient#getAuthenticationProvider.");
1546
1618
  const operationName = "getAuthenticationProvider";
1547
1619
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/AuthenticationProvider/GetAuthenticationProvider";
1548
1620
  const pathParams = {
@@ -1557,6 +1629,8 @@ class ManagementClient {
1557
1629
  };
1558
1630
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1559
1631
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAuthenticationProviderRequest.retryConfiguration, specRetryConfiguration);
1632
+ if (this.logger)
1633
+ retrier.logger = this.logger;
1560
1634
  const request = yield oci_common_2.composeRequest({
1561
1635
  baseEndpoint: this._endpoint,
1562
1636
  defaultHeaders: this._defaultHeaders,
@@ -1600,11 +1674,12 @@ class ManagementClient {
1600
1674
  * @param GetChannelRequest
1601
1675
  * @return GetChannelResponse
1602
1676
  * @throws OciError when an error occurs
1603
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/GetChannel.ts.html |here} to see how to use GetChannel API.
1677
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/GetChannel.ts.html |here} to see how to use GetChannel API.
1604
1678
  */
1605
1679
  getChannel(getChannelRequest) {
1606
1680
  return __awaiter(this, void 0, void 0, function* () {
1607
- oci_common_2.logger.debug("Calling operation ManagementClient#getChannel.");
1681
+ if (this.logger)
1682
+ this.logger.debug("Calling operation ManagementClient#getChannel.");
1608
1683
  const operationName = "getChannel";
1609
1684
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Channel/GetChannel";
1610
1685
  const pathParams = {
@@ -1619,6 +1694,8 @@ class ManagementClient {
1619
1694
  };
1620
1695
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1621
1696
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getChannelRequest.retryConfiguration, specRetryConfiguration);
1697
+ if (this.logger)
1698
+ retrier.logger = this.logger;
1622
1699
  const request = yield oci_common_2.composeRequest({
1623
1700
  baseEndpoint: this._endpoint,
1624
1701
  defaultHeaders: this._defaultHeaders,
@@ -1662,11 +1739,12 @@ class ManagementClient {
1662
1739
  * @param GetDigitalAssistantRequest
1663
1740
  * @return GetDigitalAssistantResponse
1664
1741
  * @throws OciError when an error occurs
1665
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/GetDigitalAssistant.ts.html |here} to see how to use GetDigitalAssistant API.
1742
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/GetDigitalAssistant.ts.html |here} to see how to use GetDigitalAssistant API.
1666
1743
  */
1667
1744
  getDigitalAssistant(getDigitalAssistantRequest) {
1668
1745
  return __awaiter(this, void 0, void 0, function* () {
1669
- oci_common_2.logger.debug("Calling operation ManagementClient#getDigitalAssistant.");
1746
+ if (this.logger)
1747
+ this.logger.debug("Calling operation ManagementClient#getDigitalAssistant.");
1670
1748
  const operationName = "getDigitalAssistant";
1671
1749
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistant/GetDigitalAssistant";
1672
1750
  const pathParams = {
@@ -1681,6 +1759,8 @@ class ManagementClient {
1681
1759
  };
1682
1760
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1683
1761
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDigitalAssistantRequest.retryConfiguration, specRetryConfiguration);
1762
+ if (this.logger)
1763
+ retrier.logger = this.logger;
1684
1764
  const request = yield oci_common_2.composeRequest({
1685
1765
  baseEndpoint: this._endpoint,
1686
1766
  defaultHeaders: this._defaultHeaders,
@@ -1724,11 +1804,12 @@ class ManagementClient {
1724
1804
  * @param GetDigitalAssistantParameterRequest
1725
1805
  * @return GetDigitalAssistantParameterResponse
1726
1806
  * @throws OciError when an error occurs
1727
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/GetDigitalAssistantParameter.ts.html |here} to see how to use GetDigitalAssistantParameter API.
1807
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/GetDigitalAssistantParameter.ts.html |here} to see how to use GetDigitalAssistantParameter API.
1728
1808
  */
1729
1809
  getDigitalAssistantParameter(getDigitalAssistantParameterRequest) {
1730
1810
  return __awaiter(this, void 0, void 0, function* () {
1731
- oci_common_2.logger.debug("Calling operation ManagementClient#getDigitalAssistantParameter.");
1811
+ if (this.logger)
1812
+ this.logger.debug("Calling operation ManagementClient#getDigitalAssistantParameter.");
1732
1813
  const operationName = "getDigitalAssistantParameter";
1733
1814
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistantParameter/GetDigitalAssistantParameter";
1734
1815
  const pathParams = {
@@ -1744,6 +1825,8 @@ class ManagementClient {
1744
1825
  };
1745
1826
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1746
1827
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDigitalAssistantParameterRequest.retryConfiguration, specRetryConfiguration);
1828
+ if (this.logger)
1829
+ retrier.logger = this.logger;
1747
1830
  const request = yield oci_common_2.composeRequest({
1748
1831
  baseEndpoint: this._endpoint,
1749
1832
  defaultHeaders: this._defaultHeaders,
@@ -1787,11 +1870,12 @@ class ManagementClient {
1787
1870
  * @param GetOdaPrivateEndpointRequest
1788
1871
  * @return GetOdaPrivateEndpointResponse
1789
1872
  * @throws OciError when an error occurs
1790
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/GetOdaPrivateEndpoint.ts.html |here} to see how to use GetOdaPrivateEndpoint API.
1873
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/GetOdaPrivateEndpoint.ts.html |here} to see how to use GetOdaPrivateEndpoint API.
1791
1874
  */
1792
1875
  getOdaPrivateEndpoint(getOdaPrivateEndpointRequest) {
1793
1876
  return __awaiter(this, void 0, void 0, function* () {
1794
- oci_common_2.logger.debug("Calling operation ManagementClient#getOdaPrivateEndpoint.");
1877
+ if (this.logger)
1878
+ this.logger.debug("Calling operation ManagementClient#getOdaPrivateEndpoint.");
1795
1879
  const operationName = "getOdaPrivateEndpoint";
1796
1880
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpoint/GetOdaPrivateEndpoint";
1797
1881
  const pathParams = {
@@ -1804,6 +1888,8 @@ class ManagementClient {
1804
1888
  };
1805
1889
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1806
1890
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOdaPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
1891
+ if (this.logger)
1892
+ retrier.logger = this.logger;
1807
1893
  const request = yield oci_common_2.composeRequest({
1808
1894
  baseEndpoint: this._endpoint,
1809
1895
  defaultHeaders: this._defaultHeaders,
@@ -1847,11 +1933,12 @@ class ManagementClient {
1847
1933
  * @param GetOdaPrivateEndpointAttachmentRequest
1848
1934
  * @return GetOdaPrivateEndpointAttachmentResponse
1849
1935
  * @throws OciError when an error occurs
1850
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/GetOdaPrivateEndpointAttachment.ts.html |here} to see how to use GetOdaPrivateEndpointAttachment API.
1936
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/GetOdaPrivateEndpointAttachment.ts.html |here} to see how to use GetOdaPrivateEndpointAttachment API.
1851
1937
  */
1852
1938
  getOdaPrivateEndpointAttachment(getOdaPrivateEndpointAttachmentRequest) {
1853
1939
  return __awaiter(this, void 0, void 0, function* () {
1854
- oci_common_2.logger.debug("Calling operation ManagementClient#getOdaPrivateEndpointAttachment.");
1940
+ if (this.logger)
1941
+ this.logger.debug("Calling operation ManagementClient#getOdaPrivateEndpointAttachment.");
1855
1942
  const operationName = "getOdaPrivateEndpointAttachment";
1856
1943
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpointAttachment/GetOdaPrivateEndpointAttachment";
1857
1944
  const pathParams = {
@@ -1864,6 +1951,8 @@ class ManagementClient {
1864
1951
  };
1865
1952
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1866
1953
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOdaPrivateEndpointAttachmentRequest.retryConfiguration, specRetryConfiguration);
1954
+ if (this.logger)
1955
+ retrier.logger = this.logger;
1867
1956
  const request = yield oci_common_2.composeRequest({
1868
1957
  baseEndpoint: this._endpoint,
1869
1958
  defaultHeaders: this._defaultHeaders,
@@ -1907,11 +1996,12 @@ class ManagementClient {
1907
1996
  * @param GetOdaPrivateEndpointScanProxyRequest
1908
1997
  * @return GetOdaPrivateEndpointScanProxyResponse
1909
1998
  * @throws OciError when an error occurs
1910
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/GetOdaPrivateEndpointScanProxy.ts.html |here} to see how to use GetOdaPrivateEndpointScanProxy API.
1999
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/GetOdaPrivateEndpointScanProxy.ts.html |here} to see how to use GetOdaPrivateEndpointScanProxy API.
1911
2000
  */
1912
2001
  getOdaPrivateEndpointScanProxy(getOdaPrivateEndpointScanProxyRequest) {
1913
2002
  return __awaiter(this, void 0, void 0, function* () {
1914
- oci_common_2.logger.debug("Calling operation ManagementClient#getOdaPrivateEndpointScanProxy.");
2003
+ if (this.logger)
2004
+ this.logger.debug("Calling operation ManagementClient#getOdaPrivateEndpointScanProxy.");
1915
2005
  const operationName = "getOdaPrivateEndpointScanProxy";
1916
2006
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpointScanProxy/GetOdaPrivateEndpointScanProxy";
1917
2007
  const pathParams = {
@@ -1925,6 +2015,8 @@ class ManagementClient {
1925
2015
  };
1926
2016
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1927
2017
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOdaPrivateEndpointScanProxyRequest.retryConfiguration, specRetryConfiguration);
2018
+ if (this.logger)
2019
+ retrier.logger = this.logger;
1928
2020
  const request = yield oci_common_2.composeRequest({
1929
2021
  baseEndpoint: this._endpoint,
1930
2022
  defaultHeaders: this._defaultHeaders,
@@ -1968,11 +2060,12 @@ class ManagementClient {
1968
2060
  * @param GetSkillRequest
1969
2061
  * @return GetSkillResponse
1970
2062
  * @throws OciError when an error occurs
1971
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/GetSkill.ts.html |here} to see how to use GetSkill API.
2063
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/GetSkill.ts.html |here} to see how to use GetSkill API.
1972
2064
  */
1973
2065
  getSkill(getSkillRequest) {
1974
2066
  return __awaiter(this, void 0, void 0, function* () {
1975
- oci_common_2.logger.debug("Calling operation ManagementClient#getSkill.");
2067
+ if (this.logger)
2068
+ this.logger.debug("Calling operation ManagementClient#getSkill.");
1976
2069
  const operationName = "getSkill";
1977
2070
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/GetSkill";
1978
2071
  const pathParams = {
@@ -1987,6 +2080,8 @@ class ManagementClient {
1987
2080
  };
1988
2081
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1989
2082
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSkillRequest.retryConfiguration, specRetryConfiguration);
2083
+ if (this.logger)
2084
+ retrier.logger = this.logger;
1990
2085
  const request = yield oci_common_2.composeRequest({
1991
2086
  baseEndpoint: this._endpoint,
1992
2087
  defaultHeaders: this._defaultHeaders,
@@ -2030,11 +2125,12 @@ class ManagementClient {
2030
2125
  * @param GetSkillParameterRequest
2031
2126
  * @return GetSkillParameterResponse
2032
2127
  * @throws OciError when an error occurs
2033
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/GetSkillParameter.ts.html |here} to see how to use GetSkillParameter API.
2128
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/GetSkillParameter.ts.html |here} to see how to use GetSkillParameter API.
2034
2129
  */
2035
2130
  getSkillParameter(getSkillParameterRequest) {
2036
2131
  return __awaiter(this, void 0, void 0, function* () {
2037
- oci_common_2.logger.debug("Calling operation ManagementClient#getSkillParameter.");
2132
+ if (this.logger)
2133
+ this.logger.debug("Calling operation ManagementClient#getSkillParameter.");
2038
2134
  const operationName = "getSkillParameter";
2039
2135
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/SkillParameter/GetSkillParameter";
2040
2136
  const pathParams = {
@@ -2050,6 +2146,8 @@ class ManagementClient {
2050
2146
  };
2051
2147
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2052
2148
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSkillParameterRequest.retryConfiguration, specRetryConfiguration);
2149
+ if (this.logger)
2150
+ retrier.logger = this.logger;
2053
2151
  const request = yield oci_common_2.composeRequest({
2054
2152
  baseEndpoint: this._endpoint,
2055
2153
  defaultHeaders: this._defaultHeaders,
@@ -2093,11 +2191,12 @@ class ManagementClient {
2093
2191
  * @param GetTranslatorRequest
2094
2192
  * @return GetTranslatorResponse
2095
2193
  * @throws OciError when an error occurs
2096
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/GetTranslator.ts.html |here} to see how to use GetTranslator API.
2194
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/GetTranslator.ts.html |here} to see how to use GetTranslator API.
2097
2195
  */
2098
2196
  getTranslator(getTranslatorRequest) {
2099
2197
  return __awaiter(this, void 0, void 0, function* () {
2100
- oci_common_2.logger.debug("Calling operation ManagementClient#getTranslator.");
2198
+ if (this.logger)
2199
+ this.logger.debug("Calling operation ManagementClient#getTranslator.");
2101
2200
  const operationName = "getTranslator";
2102
2201
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Translator/GetTranslator";
2103
2202
  const pathParams = {
@@ -2112,6 +2211,8 @@ class ManagementClient {
2112
2211
  };
2113
2212
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2114
2213
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTranslatorRequest.retryConfiguration, specRetryConfiguration);
2214
+ if (this.logger)
2215
+ retrier.logger = this.logger;
2115
2216
  const request = yield oci_common_2.composeRequest({
2116
2217
  baseEndpoint: this._endpoint,
2117
2218
  defaultHeaders: this._defaultHeaders,
@@ -2155,11 +2256,12 @@ class ManagementClient {
2155
2256
  * @param ImportBotRequest
2156
2257
  * @return ImportBotResponse
2157
2258
  * @throws OciError when an error occurs
2158
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ImportBot.ts.html |here} to see how to use ImportBot API.
2259
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ImportBot.ts.html |here} to see how to use ImportBot API.
2159
2260
  */
2160
2261
  importBot(importBotRequest) {
2161
2262
  return __awaiter(this, void 0, void 0, function* () {
2162
- oci_common_2.logger.debug("Calling operation ManagementClient#importBot.");
2263
+ if (this.logger)
2264
+ this.logger.debug("Calling operation ManagementClient#importBot.");
2163
2265
  const operationName = "importBot";
2164
2266
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Bot/ImportBot";
2165
2267
  const pathParams = {
@@ -2173,6 +2275,8 @@ class ManagementClient {
2173
2275
  };
2174
2276
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2175
2277
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, importBotRequest.retryConfiguration, specRetryConfiguration);
2278
+ if (this.logger)
2279
+ retrier.logger = this.logger;
2176
2280
  const request = yield oci_common_2.composeRequest({
2177
2281
  baseEndpoint: this._endpoint,
2178
2282
  defaultHeaders: this._defaultHeaders,
@@ -2218,11 +2322,12 @@ class ManagementClient {
2218
2322
  * @param ListAuthenticationProvidersRequest
2219
2323
  * @return ListAuthenticationProvidersResponse
2220
2324
  * @throws OciError when an error occurs
2221
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ListAuthenticationProviders.ts.html |here} to see how to use ListAuthenticationProviders API.
2325
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ListAuthenticationProviders.ts.html |here} to see how to use ListAuthenticationProviders API.
2222
2326
  */
2223
2327
  listAuthenticationProviders(listAuthenticationProvidersRequest) {
2224
2328
  return __awaiter(this, void 0, void 0, function* () {
2225
- oci_common_2.logger.debug("Calling operation ManagementClient#listAuthenticationProviders.");
2329
+ if (this.logger)
2330
+ this.logger.debug("Calling operation ManagementClient#listAuthenticationProviders.");
2226
2331
  const operationName = "listAuthenticationProviders";
2227
2332
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/AuthenticationProvider/ListAuthenticationProviders";
2228
2333
  const pathParams = {
@@ -2244,6 +2349,8 @@ class ManagementClient {
2244
2349
  };
2245
2350
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2246
2351
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAuthenticationProvidersRequest.retryConfiguration, specRetryConfiguration);
2352
+ if (this.logger)
2353
+ retrier.logger = this.logger;
2247
2354
  const request = yield oci_common_2.composeRequest({
2248
2355
  baseEndpoint: this._endpoint,
2249
2356
  defaultHeaders: this._defaultHeaders,
@@ -2297,11 +2404,12 @@ class ManagementClient {
2297
2404
  * @param ListChannelsRequest
2298
2405
  * @return ListChannelsResponse
2299
2406
  * @throws OciError when an error occurs
2300
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ListChannels.ts.html |here} to see how to use ListChannels API.
2407
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ListChannels.ts.html |here} to see how to use ListChannels API.
2301
2408
  */
2302
2409
  listChannels(listChannelsRequest) {
2303
2410
  return __awaiter(this, void 0, void 0, function* () {
2304
- oci_common_2.logger.debug("Calling operation ManagementClient#listChannels.");
2411
+ if (this.logger)
2412
+ this.logger.debug("Calling operation ManagementClient#listChannels.");
2305
2413
  const operationName = "listChannels";
2306
2414
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Channel/ListChannels";
2307
2415
  const pathParams = {
@@ -2324,6 +2432,8 @@ class ManagementClient {
2324
2432
  };
2325
2433
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2326
2434
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listChannelsRequest.retryConfiguration, specRetryConfiguration);
2435
+ if (this.logger)
2436
+ retrier.logger = this.logger;
2327
2437
  const request = yield oci_common_2.composeRequest({
2328
2438
  baseEndpoint: this._endpoint,
2329
2439
  defaultHeaders: this._defaultHeaders,
@@ -2377,11 +2487,12 @@ class ManagementClient {
2377
2487
  * @param ListDigitalAssistantParametersRequest
2378
2488
  * @return ListDigitalAssistantParametersResponse
2379
2489
  * @throws OciError when an error occurs
2380
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ListDigitalAssistantParameters.ts.html |here} to see how to use ListDigitalAssistantParameters API.
2490
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ListDigitalAssistantParameters.ts.html |here} to see how to use ListDigitalAssistantParameters API.
2381
2491
  */
2382
2492
  listDigitalAssistantParameters(listDigitalAssistantParametersRequest) {
2383
2493
  return __awaiter(this, void 0, void 0, function* () {
2384
- oci_common_2.logger.debug("Calling operation ManagementClient#listDigitalAssistantParameters.");
2494
+ if (this.logger)
2495
+ this.logger.debug("Calling operation ManagementClient#listDigitalAssistantParameters.");
2385
2496
  const operationName = "listDigitalAssistantParameters";
2386
2497
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistantParameter/ListDigitalAssistantParameters";
2387
2498
  const pathParams = {
@@ -2402,6 +2513,8 @@ class ManagementClient {
2402
2513
  };
2403
2514
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2404
2515
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDigitalAssistantParametersRequest.retryConfiguration, specRetryConfiguration);
2516
+ if (this.logger)
2517
+ retrier.logger = this.logger;
2405
2518
  const request = yield oci_common_2.composeRequest({
2406
2519
  baseEndpoint: this._endpoint,
2407
2520
  defaultHeaders: this._defaultHeaders,
@@ -2455,11 +2568,12 @@ class ManagementClient {
2455
2568
  * @param ListDigitalAssistantsRequest
2456
2569
  * @return ListDigitalAssistantsResponse
2457
2570
  * @throws OciError when an error occurs
2458
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ListDigitalAssistants.ts.html |here} to see how to use ListDigitalAssistants API.
2571
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ListDigitalAssistants.ts.html |here} to see how to use ListDigitalAssistants API.
2459
2572
  */
2460
2573
  listDigitalAssistants(listDigitalAssistantsRequest) {
2461
2574
  return __awaiter(this, void 0, void 0, function* () {
2462
- oci_common_2.logger.debug("Calling operation ManagementClient#listDigitalAssistants.");
2575
+ if (this.logger)
2576
+ this.logger.debug("Calling operation ManagementClient#listDigitalAssistants.");
2463
2577
  const operationName = "listDigitalAssistants";
2464
2578
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistant/ListDigitalAssistants";
2465
2579
  const pathParams = {
@@ -2485,6 +2599,8 @@ class ManagementClient {
2485
2599
  };
2486
2600
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2487
2601
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDigitalAssistantsRequest.retryConfiguration, specRetryConfiguration);
2602
+ if (this.logger)
2603
+ retrier.logger = this.logger;
2488
2604
  const request = yield oci_common_2.composeRequest({
2489
2605
  baseEndpoint: this._endpoint,
2490
2606
  defaultHeaders: this._defaultHeaders,
@@ -2538,11 +2654,12 @@ class ManagementClient {
2538
2654
  * @param ListOdaPrivateEndpointAttachmentsRequest
2539
2655
  * @return ListOdaPrivateEndpointAttachmentsResponse
2540
2656
  * @throws OciError when an error occurs
2541
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ListOdaPrivateEndpointAttachments.ts.html |here} to see how to use ListOdaPrivateEndpointAttachments API.
2657
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ListOdaPrivateEndpointAttachments.ts.html |here} to see how to use ListOdaPrivateEndpointAttachments API.
2542
2658
  */
2543
2659
  listOdaPrivateEndpointAttachments(listOdaPrivateEndpointAttachmentsRequest) {
2544
2660
  return __awaiter(this, void 0, void 0, function* () {
2545
- oci_common_2.logger.debug("Calling operation ManagementClient#listOdaPrivateEndpointAttachments.");
2661
+ if (this.logger)
2662
+ this.logger.debug("Calling operation ManagementClient#listOdaPrivateEndpointAttachments.");
2546
2663
  const operationName = "listOdaPrivateEndpointAttachments";
2547
2664
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpointAttachment/ListOdaPrivateEndpointAttachments";
2548
2665
  const pathParams = {};
@@ -2561,6 +2678,8 @@ class ManagementClient {
2561
2678
  };
2562
2679
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2563
2680
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOdaPrivateEndpointAttachmentsRequest.retryConfiguration, specRetryConfiguration);
2681
+ if (this.logger)
2682
+ retrier.logger = this.logger;
2564
2683
  const request = yield oci_common_2.composeRequest({
2565
2684
  baseEndpoint: this._endpoint,
2566
2685
  defaultHeaders: this._defaultHeaders,
@@ -2615,11 +2734,12 @@ class ManagementClient {
2615
2734
  * @param ListOdaPrivateEndpointScanProxiesRequest
2616
2735
  * @return ListOdaPrivateEndpointScanProxiesResponse
2617
2736
  * @throws OciError when an error occurs
2618
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ListOdaPrivateEndpointScanProxies.ts.html |here} to see how to use ListOdaPrivateEndpointScanProxies API.
2737
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ListOdaPrivateEndpointScanProxies.ts.html |here} to see how to use ListOdaPrivateEndpointScanProxies API.
2619
2738
  */
2620
2739
  listOdaPrivateEndpointScanProxies(listOdaPrivateEndpointScanProxiesRequest) {
2621
2740
  return __awaiter(this, void 0, void 0, function* () {
2622
- oci_common_2.logger.debug("Calling operation ManagementClient#listOdaPrivateEndpointScanProxies.");
2741
+ if (this.logger)
2742
+ this.logger.debug("Calling operation ManagementClient#listOdaPrivateEndpointScanProxies.");
2623
2743
  const operationName = "listOdaPrivateEndpointScanProxies";
2624
2744
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpointScanProxy/ListOdaPrivateEndpointScanProxies";
2625
2745
  const pathParams = {
@@ -2638,6 +2758,8 @@ class ManagementClient {
2638
2758
  };
2639
2759
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2640
2760
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOdaPrivateEndpointScanProxiesRequest.retryConfiguration, specRetryConfiguration);
2761
+ if (this.logger)
2762
+ retrier.logger = this.logger;
2641
2763
  const request = yield oci_common_2.composeRequest({
2642
2764
  baseEndpoint: this._endpoint,
2643
2765
  defaultHeaders: this._defaultHeaders,
@@ -2692,11 +2814,12 @@ class ManagementClient {
2692
2814
  * @param ListOdaPrivateEndpointsRequest
2693
2815
  * @return ListOdaPrivateEndpointsResponse
2694
2816
  * @throws OciError when an error occurs
2695
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ListOdaPrivateEndpoints.ts.html |here} to see how to use ListOdaPrivateEndpoints API.
2817
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ListOdaPrivateEndpoints.ts.html |here} to see how to use ListOdaPrivateEndpoints API.
2696
2818
  */
2697
2819
  listOdaPrivateEndpoints(listOdaPrivateEndpointsRequest) {
2698
2820
  return __awaiter(this, void 0, void 0, function* () {
2699
- oci_common_2.logger.debug("Calling operation ManagementClient#listOdaPrivateEndpoints.");
2821
+ if (this.logger)
2822
+ this.logger.debug("Calling operation ManagementClient#listOdaPrivateEndpoints.");
2700
2823
  const operationName = "listOdaPrivateEndpoints";
2701
2824
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpoint/ListOdaPrivateEndpoints";
2702
2825
  const pathParams = {};
@@ -2715,6 +2838,8 @@ class ManagementClient {
2715
2838
  };
2716
2839
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2717
2840
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOdaPrivateEndpointsRequest.retryConfiguration, specRetryConfiguration);
2841
+ if (this.logger)
2842
+ retrier.logger = this.logger;
2718
2843
  const request = yield oci_common_2.composeRequest({
2719
2844
  baseEndpoint: this._endpoint,
2720
2845
  defaultHeaders: this._defaultHeaders,
@@ -2768,11 +2893,12 @@ class ManagementClient {
2768
2893
  * @param ListSkillParametersRequest
2769
2894
  * @return ListSkillParametersResponse
2770
2895
  * @throws OciError when an error occurs
2771
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ListSkillParameters.ts.html |here} to see how to use ListSkillParameters API.
2896
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ListSkillParameters.ts.html |here} to see how to use ListSkillParameters API.
2772
2897
  */
2773
2898
  listSkillParameters(listSkillParametersRequest) {
2774
2899
  return __awaiter(this, void 0, void 0, function* () {
2775
- oci_common_2.logger.debug("Calling operation ManagementClient#listSkillParameters.");
2900
+ if (this.logger)
2901
+ this.logger.debug("Calling operation ManagementClient#listSkillParameters.");
2776
2902
  const operationName = "listSkillParameters";
2777
2903
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/SkillParameter/ListSkillParameters";
2778
2904
  const pathParams = {
@@ -2793,6 +2919,8 @@ class ManagementClient {
2793
2919
  };
2794
2920
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2795
2921
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSkillParametersRequest.retryConfiguration, specRetryConfiguration);
2922
+ if (this.logger)
2923
+ retrier.logger = this.logger;
2796
2924
  const request = yield oci_common_2.composeRequest({
2797
2925
  baseEndpoint: this._endpoint,
2798
2926
  defaultHeaders: this._defaultHeaders,
@@ -2846,11 +2974,12 @@ class ManagementClient {
2846
2974
  * @param ListSkillsRequest
2847
2975
  * @return ListSkillsResponse
2848
2976
  * @throws OciError when an error occurs
2849
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ListSkills.ts.html |here} to see how to use ListSkills API.
2977
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ListSkills.ts.html |here} to see how to use ListSkills API.
2850
2978
  */
2851
2979
  listSkills(listSkillsRequest) {
2852
2980
  return __awaiter(this, void 0, void 0, function* () {
2853
- oci_common_2.logger.debug("Calling operation ManagementClient#listSkills.");
2981
+ if (this.logger)
2982
+ this.logger.debug("Calling operation ManagementClient#listSkills.");
2854
2983
  const operationName = "listSkills";
2855
2984
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/ListSkills";
2856
2985
  const pathParams = {
@@ -2876,6 +3005,8 @@ class ManagementClient {
2876
3005
  };
2877
3006
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2878
3007
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSkillsRequest.retryConfiguration, specRetryConfiguration);
3008
+ if (this.logger)
3009
+ retrier.logger = this.logger;
2879
3010
  const request = yield oci_common_2.composeRequest({
2880
3011
  baseEndpoint: this._endpoint,
2881
3012
  defaultHeaders: this._defaultHeaders,
@@ -2929,11 +3060,12 @@ class ManagementClient {
2929
3060
  * @param ListTranslatorsRequest
2930
3061
  * @return ListTranslatorsResponse
2931
3062
  * @throws OciError when an error occurs
2932
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ListTranslators.ts.html |here} to see how to use ListTranslators API.
3063
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ListTranslators.ts.html |here} to see how to use ListTranslators API.
2933
3064
  */
2934
3065
  listTranslators(listTranslatorsRequest) {
2935
3066
  return __awaiter(this, void 0, void 0, function* () {
2936
- oci_common_2.logger.debug("Calling operation ManagementClient#listTranslators.");
3067
+ if (this.logger)
3068
+ this.logger.debug("Calling operation ManagementClient#listTranslators.");
2937
3069
  const operationName = "listTranslators";
2938
3070
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Translator/ListTranslators";
2939
3071
  const pathParams = {
@@ -2955,6 +3087,8 @@ class ManagementClient {
2955
3087
  };
2956
3088
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2957
3089
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTranslatorsRequest.retryConfiguration, specRetryConfiguration);
3090
+ if (this.logger)
3091
+ retrier.logger = this.logger;
2958
3092
  const request = yield oci_common_2.composeRequest({
2959
3093
  baseEndpoint: this._endpoint,
2960
3094
  defaultHeaders: this._defaultHeaders,
@@ -3005,11 +3139,12 @@ class ManagementClient {
3005
3139
  * @param PublishDigitalAssistantRequest
3006
3140
  * @return PublishDigitalAssistantResponse
3007
3141
  * @throws OciError when an error occurs
3008
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/PublishDigitalAssistant.ts.html |here} to see how to use PublishDigitalAssistant API.
3142
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/PublishDigitalAssistant.ts.html |here} to see how to use PublishDigitalAssistant API.
3009
3143
  */
3010
3144
  publishDigitalAssistant(publishDigitalAssistantRequest) {
3011
3145
  return __awaiter(this, void 0, void 0, function* () {
3012
- oci_common_2.logger.debug("Calling operation ManagementClient#publishDigitalAssistant.");
3146
+ if (this.logger)
3147
+ this.logger.debug("Calling operation ManagementClient#publishDigitalAssistant.");
3013
3148
  const operationName = "publishDigitalAssistant";
3014
3149
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistant/PublishDigitalAssistant";
3015
3150
  const pathParams = {
@@ -3024,6 +3159,8 @@ class ManagementClient {
3024
3159
  };
3025
3160
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3026
3161
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, publishDigitalAssistantRequest.retryConfiguration, specRetryConfiguration);
3162
+ if (this.logger)
3163
+ retrier.logger = this.logger;
3027
3164
  const request = yield oci_common_2.composeRequest({
3028
3165
  baseEndpoint: this._endpoint,
3029
3166
  defaultHeaders: this._defaultHeaders,
@@ -3069,11 +3206,12 @@ class ManagementClient {
3069
3206
  * @param PublishSkillRequest
3070
3207
  * @return PublishSkillResponse
3071
3208
  * @throws OciError when an error occurs
3072
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/PublishSkill.ts.html |here} to see how to use PublishSkill API.
3209
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/PublishSkill.ts.html |here} to see how to use PublishSkill API.
3073
3210
  */
3074
3211
  publishSkill(publishSkillRequest) {
3075
3212
  return __awaiter(this, void 0, void 0, function* () {
3076
- oci_common_2.logger.debug("Calling operation ManagementClient#publishSkill.");
3213
+ if (this.logger)
3214
+ this.logger.debug("Calling operation ManagementClient#publishSkill.");
3077
3215
  const operationName = "publishSkill";
3078
3216
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/PublishSkill";
3079
3217
  const pathParams = {
@@ -3088,6 +3226,8 @@ class ManagementClient {
3088
3226
  };
3089
3227
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3090
3228
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, publishSkillRequest.retryConfiguration, specRetryConfiguration);
3229
+ if (this.logger)
3230
+ retrier.logger = this.logger;
3091
3231
  const request = yield oci_common_2.composeRequest({
3092
3232
  baseEndpoint: this._endpoint,
3093
3233
  defaultHeaders: this._defaultHeaders,
@@ -3134,11 +3274,12 @@ class ManagementClient {
3134
3274
  * @param RotateChannelKeysRequest
3135
3275
  * @return RotateChannelKeysResponse
3136
3276
  * @throws OciError when an error occurs
3137
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/RotateChannelKeys.ts.html |here} to see how to use RotateChannelKeys API.
3277
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/RotateChannelKeys.ts.html |here} to see how to use RotateChannelKeys API.
3138
3278
  */
3139
3279
  rotateChannelKeys(rotateChannelKeysRequest) {
3140
3280
  return __awaiter(this, void 0, void 0, function* () {
3141
- oci_common_2.logger.debug("Calling operation ManagementClient#rotateChannelKeys.");
3281
+ if (this.logger)
3282
+ this.logger.debug("Calling operation ManagementClient#rotateChannelKeys.");
3142
3283
  const operationName = "rotateChannelKeys";
3143
3284
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Channel/RotateChannelKeys";
3144
3285
  const pathParams = {
@@ -3153,6 +3294,8 @@ class ManagementClient {
3153
3294
  };
3154
3295
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3155
3296
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, rotateChannelKeysRequest.retryConfiguration, specRetryConfiguration);
3297
+ if (this.logger)
3298
+ retrier.logger = this.logger;
3156
3299
  const request = yield oci_common_2.composeRequest({
3157
3300
  baseEndpoint: this._endpoint,
3158
3301
  defaultHeaders: this._defaultHeaders,
@@ -3197,11 +3340,12 @@ class ManagementClient {
3197
3340
  * @param StartChannelRequest
3198
3341
  * @return StartChannelResponse
3199
3342
  * @throws OciError when an error occurs
3200
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/StartChannel.ts.html |here} to see how to use StartChannel API.
3343
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/StartChannel.ts.html |here} to see how to use StartChannel API.
3201
3344
  */
3202
3345
  startChannel(startChannelRequest) {
3203
3346
  return __awaiter(this, void 0, void 0, function* () {
3204
- oci_common_2.logger.debug("Calling operation ManagementClient#startChannel.");
3347
+ if (this.logger)
3348
+ this.logger.debug("Calling operation ManagementClient#startChannel.");
3205
3349
  const operationName = "startChannel";
3206
3350
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Channel/StartChannel";
3207
3351
  const pathParams = {
@@ -3216,6 +3360,8 @@ class ManagementClient {
3216
3360
  };
3217
3361
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3218
3362
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startChannelRequest.retryConfiguration, specRetryConfiguration);
3363
+ if (this.logger)
3364
+ retrier.logger = this.logger;
3219
3365
  const request = yield oci_common_2.composeRequest({
3220
3366
  baseEndpoint: this._endpoint,
3221
3367
  defaultHeaders: this._defaultHeaders,
@@ -3260,11 +3406,12 @@ class ManagementClient {
3260
3406
  * @param StopChannelRequest
3261
3407
  * @return StopChannelResponse
3262
3408
  * @throws OciError when an error occurs
3263
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/StopChannel.ts.html |here} to see how to use StopChannel API.
3409
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/StopChannel.ts.html |here} to see how to use StopChannel API.
3264
3410
  */
3265
3411
  stopChannel(stopChannelRequest) {
3266
3412
  return __awaiter(this, void 0, void 0, function* () {
3267
- oci_common_2.logger.debug("Calling operation ManagementClient#stopChannel.");
3413
+ if (this.logger)
3414
+ this.logger.debug("Calling operation ManagementClient#stopChannel.");
3268
3415
  const operationName = "stopChannel";
3269
3416
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Channel/StopChannel";
3270
3417
  const pathParams = {
@@ -3279,6 +3426,8 @@ class ManagementClient {
3279
3426
  };
3280
3427
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3281
3428
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopChannelRequest.retryConfiguration, specRetryConfiguration);
3429
+ if (this.logger)
3430
+ retrier.logger = this.logger;
3282
3431
  const request = yield oci_common_2.composeRequest({
3283
3432
  baseEndpoint: this._endpoint,
3284
3433
  defaultHeaders: this._defaultHeaders,
@@ -3322,11 +3471,12 @@ class ManagementClient {
3322
3471
  * @param UpdateAuthenticationProviderRequest
3323
3472
  * @return UpdateAuthenticationProviderResponse
3324
3473
  * @throws OciError when an error occurs
3325
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/UpdateAuthenticationProvider.ts.html |here} to see how to use UpdateAuthenticationProvider API.
3474
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/UpdateAuthenticationProvider.ts.html |here} to see how to use UpdateAuthenticationProvider API.
3326
3475
  */
3327
3476
  updateAuthenticationProvider(updateAuthenticationProviderRequest) {
3328
3477
  return __awaiter(this, void 0, void 0, function* () {
3329
- oci_common_2.logger.debug("Calling operation ManagementClient#updateAuthenticationProvider.");
3478
+ if (this.logger)
3479
+ this.logger.debug("Calling operation ManagementClient#updateAuthenticationProvider.");
3330
3480
  const operationName = "updateAuthenticationProvider";
3331
3481
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/AuthenticationProvider/UpdateAuthenticationProvider";
3332
3482
  const pathParams = {
@@ -3341,6 +3491,8 @@ class ManagementClient {
3341
3491
  };
3342
3492
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3343
3493
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAuthenticationProviderRequest.retryConfiguration, specRetryConfiguration);
3494
+ if (this.logger)
3495
+ retrier.logger = this.logger;
3344
3496
  const request = yield oci_common_2.composeRequest({
3345
3497
  baseEndpoint: this._endpoint,
3346
3498
  defaultHeaders: this._defaultHeaders,
@@ -3385,11 +3537,12 @@ class ManagementClient {
3385
3537
  * @param UpdateChannelRequest
3386
3538
  * @return UpdateChannelResponse
3387
3539
  * @throws OciError when an error occurs
3388
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/UpdateChannel.ts.html |here} to see how to use UpdateChannel API.
3540
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/UpdateChannel.ts.html |here} to see how to use UpdateChannel API.
3389
3541
  */
3390
3542
  updateChannel(updateChannelRequest) {
3391
3543
  return __awaiter(this, void 0, void 0, function* () {
3392
- oci_common_2.logger.debug("Calling operation ManagementClient#updateChannel.");
3544
+ if (this.logger)
3545
+ this.logger.debug("Calling operation ManagementClient#updateChannel.");
3393
3546
  const operationName = "updateChannel";
3394
3547
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Channel/UpdateChannel";
3395
3548
  const pathParams = {
@@ -3404,6 +3557,8 @@ class ManagementClient {
3404
3557
  };
3405
3558
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3406
3559
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateChannelRequest.retryConfiguration, specRetryConfiguration);
3560
+ if (this.logger)
3561
+ retrier.logger = this.logger;
3407
3562
  const request = yield oci_common_2.composeRequest({
3408
3563
  baseEndpoint: this._endpoint,
3409
3564
  defaultHeaders: this._defaultHeaders,
@@ -3448,11 +3603,12 @@ class ManagementClient {
3448
3603
  * @param UpdateDigitalAssistantRequest
3449
3604
  * @return UpdateDigitalAssistantResponse
3450
3605
  * @throws OciError when an error occurs
3451
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/UpdateDigitalAssistant.ts.html |here} to see how to use UpdateDigitalAssistant API.
3606
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/UpdateDigitalAssistant.ts.html |here} to see how to use UpdateDigitalAssistant API.
3452
3607
  */
3453
3608
  updateDigitalAssistant(updateDigitalAssistantRequest) {
3454
3609
  return __awaiter(this, void 0, void 0, function* () {
3455
- oci_common_2.logger.debug("Calling operation ManagementClient#updateDigitalAssistant.");
3610
+ if (this.logger)
3611
+ this.logger.debug("Calling operation ManagementClient#updateDigitalAssistant.");
3456
3612
  const operationName = "updateDigitalAssistant";
3457
3613
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistant/UpdateDigitalAssistant";
3458
3614
  const pathParams = {
@@ -3467,6 +3623,8 @@ class ManagementClient {
3467
3623
  };
3468
3624
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3469
3625
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDigitalAssistantRequest.retryConfiguration, specRetryConfiguration);
3626
+ if (this.logger)
3627
+ retrier.logger = this.logger;
3470
3628
  const request = yield oci_common_2.composeRequest({
3471
3629
  baseEndpoint: this._endpoint,
3472
3630
  defaultHeaders: this._defaultHeaders,
@@ -3511,11 +3669,12 @@ class ManagementClient {
3511
3669
  * @param UpdateDigitalAssistantParameterRequest
3512
3670
  * @return UpdateDigitalAssistantParameterResponse
3513
3671
  * @throws OciError when an error occurs
3514
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/UpdateDigitalAssistantParameter.ts.html |here} to see how to use UpdateDigitalAssistantParameter API.
3672
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/UpdateDigitalAssistantParameter.ts.html |here} to see how to use UpdateDigitalAssistantParameter API.
3515
3673
  */
3516
3674
  updateDigitalAssistantParameter(updateDigitalAssistantParameterRequest) {
3517
3675
  return __awaiter(this, void 0, void 0, function* () {
3518
- oci_common_2.logger.debug("Calling operation ManagementClient#updateDigitalAssistantParameter.");
3676
+ if (this.logger)
3677
+ this.logger.debug("Calling operation ManagementClient#updateDigitalAssistantParameter.");
3519
3678
  const operationName = "updateDigitalAssistantParameter";
3520
3679
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/DigitalAssistantParameter/UpdateDigitalAssistantParameter";
3521
3680
  const pathParams = {
@@ -3531,6 +3690,8 @@ class ManagementClient {
3531
3690
  };
3532
3691
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3533
3692
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDigitalAssistantParameterRequest.retryConfiguration, specRetryConfiguration);
3693
+ if (this.logger)
3694
+ retrier.logger = this.logger;
3534
3695
  const request = yield oci_common_2.composeRequest({
3535
3696
  baseEndpoint: this._endpoint,
3536
3697
  defaultHeaders: this._defaultHeaders,
@@ -3575,11 +3736,12 @@ class ManagementClient {
3575
3736
  * @param UpdateOdaPrivateEndpointRequest
3576
3737
  * @return UpdateOdaPrivateEndpointResponse
3577
3738
  * @throws OciError when an error occurs
3578
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/UpdateOdaPrivateEndpoint.ts.html |here} to see how to use UpdateOdaPrivateEndpoint API.
3739
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/UpdateOdaPrivateEndpoint.ts.html |here} to see how to use UpdateOdaPrivateEndpoint API.
3579
3740
  */
3580
3741
  updateOdaPrivateEndpoint(updateOdaPrivateEndpointRequest) {
3581
3742
  return __awaiter(this, void 0, void 0, function* () {
3582
- oci_common_2.logger.debug("Calling operation ManagementClient#updateOdaPrivateEndpoint.");
3743
+ if (this.logger)
3744
+ this.logger.debug("Calling operation ManagementClient#updateOdaPrivateEndpoint.");
3583
3745
  const operationName = "updateOdaPrivateEndpoint";
3584
3746
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaPrivateEndpoint/UpdateOdaPrivateEndpoint";
3585
3747
  const pathParams = {
@@ -3593,6 +3755,8 @@ class ManagementClient {
3593
3755
  };
3594
3756
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3595
3757
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOdaPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
3758
+ if (this.logger)
3759
+ retrier.logger = this.logger;
3596
3760
  const request = yield oci_common_2.composeRequest({
3597
3761
  baseEndpoint: this._endpoint,
3598
3762
  defaultHeaders: this._defaultHeaders,
@@ -3633,11 +3797,12 @@ class ManagementClient {
3633
3797
  * @param UpdateSkillRequest
3634
3798
  * @return UpdateSkillResponse
3635
3799
  * @throws OciError when an error occurs
3636
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/UpdateSkill.ts.html |here} to see how to use UpdateSkill API.
3800
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/UpdateSkill.ts.html |here} to see how to use UpdateSkill API.
3637
3801
  */
3638
3802
  updateSkill(updateSkillRequest) {
3639
3803
  return __awaiter(this, void 0, void 0, function* () {
3640
- oci_common_2.logger.debug("Calling operation ManagementClient#updateSkill.");
3804
+ if (this.logger)
3805
+ this.logger.debug("Calling operation ManagementClient#updateSkill.");
3641
3806
  const operationName = "updateSkill";
3642
3807
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Skill/UpdateSkill";
3643
3808
  const pathParams = {
@@ -3652,6 +3817,8 @@ class ManagementClient {
3652
3817
  };
3653
3818
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3654
3819
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSkillRequest.retryConfiguration, specRetryConfiguration);
3820
+ if (this.logger)
3821
+ retrier.logger = this.logger;
3655
3822
  const request = yield oci_common_2.composeRequest({
3656
3823
  baseEndpoint: this._endpoint,
3657
3824
  defaultHeaders: this._defaultHeaders,
@@ -3696,11 +3863,12 @@ class ManagementClient {
3696
3863
  * @param UpdateSkillParameterRequest
3697
3864
  * @return UpdateSkillParameterResponse
3698
3865
  * @throws OciError when an error occurs
3699
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/UpdateSkillParameter.ts.html |here} to see how to use UpdateSkillParameter API.
3866
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/UpdateSkillParameter.ts.html |here} to see how to use UpdateSkillParameter API.
3700
3867
  */
3701
3868
  updateSkillParameter(updateSkillParameterRequest) {
3702
3869
  return __awaiter(this, void 0, void 0, function* () {
3703
- oci_common_2.logger.debug("Calling operation ManagementClient#updateSkillParameter.");
3870
+ if (this.logger)
3871
+ this.logger.debug("Calling operation ManagementClient#updateSkillParameter.");
3704
3872
  const operationName = "updateSkillParameter";
3705
3873
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/SkillParameter/UpdateSkillParameter";
3706
3874
  const pathParams = {
@@ -3716,6 +3884,8 @@ class ManagementClient {
3716
3884
  };
3717
3885
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3718
3886
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSkillParameterRequest.retryConfiguration, specRetryConfiguration);
3887
+ if (this.logger)
3888
+ retrier.logger = this.logger;
3719
3889
  const request = yield oci_common_2.composeRequest({
3720
3890
  baseEndpoint: this._endpoint,
3721
3891
  defaultHeaders: this._defaultHeaders,
@@ -3760,11 +3930,12 @@ class ManagementClient {
3760
3930
  * @param UpdateTranslatorRequest
3761
3931
  * @return UpdateTranslatorResponse
3762
3932
  * @throws OciError when an error occurs
3763
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/UpdateTranslator.ts.html |here} to see how to use UpdateTranslator API.
3933
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/UpdateTranslator.ts.html |here} to see how to use UpdateTranslator API.
3764
3934
  */
3765
3935
  updateTranslator(updateTranslatorRequest) {
3766
3936
  return __awaiter(this, void 0, void 0, function* () {
3767
- oci_common_2.logger.debug("Calling operation ManagementClient#updateTranslator.");
3937
+ if (this.logger)
3938
+ this.logger.debug("Calling operation ManagementClient#updateTranslator.");
3768
3939
  const operationName = "updateTranslator";
3769
3940
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Translator/UpdateTranslator";
3770
3941
  const pathParams = {
@@ -3779,6 +3950,8 @@ class ManagementClient {
3779
3950
  };
3780
3951
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3781
3952
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateTranslatorRequest.retryConfiguration, specRetryConfiguration);
3953
+ if (this.logger)
3954
+ retrier.logger = this.logger;
3782
3955
  const request = yield oci_common_2.composeRequest({
3783
3956
  baseEndpoint: this._endpoint,
3784
3957
  defaultHeaders: this._defaultHeaders,
@@ -3829,7 +4002,7 @@ var OdaApiKeys;
3829
4002
  */
3830
4003
  class OdaClient {
3831
4004
  constructor(params, clientConfiguration) {
3832
- this["_realmSpecificEndpointTemplateEnabled"] = false;
4005
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
3833
4006
  this["_endpoint"] = "";
3834
4007
  this["_defaultHeaders"] = {};
3835
4008
  this._circuitBreaker = null;
@@ -3888,7 +4061,11 @@ class OdaClient {
3888
4061
  set endpoint(endpoint) {
3889
4062
  this._endpoint = endpoint;
3890
4063
  this._endpoint = this._endpoint + "/20190506";
3891
- oci_common_2.logger.info(`OdaClient endpoint set to ${this._endpoint}`);
4064
+ if (this.logger)
4065
+ this.logger.info(`OdaClient endpoint set to ${this._endpoint}`);
4066
+ }
4067
+ get logger() {
4068
+ return common.LOG.logger;
3892
4069
  }
3893
4070
  /**
3894
4071
  * Determines whether realm specific endpoint should be used or not.
@@ -3897,7 +4074,8 @@ class OdaClient {
3897
4074
  */
3898
4075
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
3899
4076
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
3900
- oci_common_2.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
4077
+ if (this.logger)
4078
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
3901
4079
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
3902
4080
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OdaClient.serviceEndpointTemplate, this._region, OdaClient.endpointServiceName);
3903
4081
  }
@@ -3965,11 +4143,12 @@ class OdaClient {
3965
4143
  * @param ChangeOdaInstanceCompartmentRequest
3966
4144
  * @return ChangeOdaInstanceCompartmentResponse
3967
4145
  * @throws OciError when an error occurs
3968
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ChangeOdaInstanceCompartment.ts.html |here} to see how to use ChangeOdaInstanceCompartment API.
4146
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ChangeOdaInstanceCompartment.ts.html |here} to see how to use ChangeOdaInstanceCompartment API.
3969
4147
  */
3970
4148
  changeOdaInstanceCompartment(changeOdaInstanceCompartmentRequest) {
3971
4149
  return __awaiter(this, void 0, void 0, function* () {
3972
- oci_common_2.logger.debug("Calling operation OdaClient#changeOdaInstanceCompartment.");
4150
+ if (this.logger)
4151
+ this.logger.debug("Calling operation OdaClient#changeOdaInstanceCompartment.");
3973
4152
  const operationName = "changeOdaInstanceCompartment";
3974
4153
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstance/ChangeOdaInstanceCompartment";
3975
4154
  const pathParams = {
@@ -3984,6 +4163,8 @@ class OdaClient {
3984
4163
  };
3985
4164
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3986
4165
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeOdaInstanceCompartmentRequest.retryConfiguration, specRetryConfiguration);
4166
+ if (this.logger)
4167
+ retrier.logger = this.logger;
3987
4168
  const request = yield oci_common_2.composeRequest({
3988
4169
  baseEndpoint: this._endpoint,
3989
4170
  defaultHeaders: this._defaultHeaders,
@@ -4028,11 +4209,12 @@ class OdaClient {
4028
4209
  * @param CreateOdaInstanceRequest
4029
4210
  * @return CreateOdaInstanceResponse
4030
4211
  * @throws OciError when an error occurs
4031
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/CreateOdaInstance.ts.html |here} to see how to use CreateOdaInstance API.
4212
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/CreateOdaInstance.ts.html |here} to see how to use CreateOdaInstance API.
4032
4213
  */
4033
4214
  createOdaInstance(createOdaInstanceRequest) {
4034
4215
  return __awaiter(this, void 0, void 0, function* () {
4035
- oci_common_2.logger.debug("Calling operation OdaClient#createOdaInstance.");
4216
+ if (this.logger)
4217
+ this.logger.debug("Calling operation OdaClient#createOdaInstance.");
4036
4218
  const operationName = "createOdaInstance";
4037
4219
  const apiReferenceLink = "";
4038
4220
  const pathParams = {};
@@ -4044,6 +4226,8 @@ class OdaClient {
4044
4226
  };
4045
4227
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4046
4228
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOdaInstanceRequest.retryConfiguration, specRetryConfiguration);
4229
+ if (this.logger)
4230
+ retrier.logger = this.logger;
4047
4231
  const request = yield oci_common_2.composeRequest({
4048
4232
  baseEndpoint: this._endpoint,
4049
4233
  defaultHeaders: this._defaultHeaders,
@@ -4102,11 +4286,12 @@ class OdaClient {
4102
4286
  * @param CreateOdaInstanceAttachmentRequest
4103
4287
  * @return CreateOdaInstanceAttachmentResponse
4104
4288
  * @throws OciError when an error occurs
4105
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/CreateOdaInstanceAttachment.ts.html |here} to see how to use CreateOdaInstanceAttachment API.
4289
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/CreateOdaInstanceAttachment.ts.html |here} to see how to use CreateOdaInstanceAttachment API.
4106
4290
  */
4107
4291
  createOdaInstanceAttachment(createOdaInstanceAttachmentRequest) {
4108
4292
  return __awaiter(this, void 0, void 0, function* () {
4109
- oci_common_2.logger.debug("Calling operation OdaClient#createOdaInstanceAttachment.");
4293
+ if (this.logger)
4294
+ this.logger.debug("Calling operation OdaClient#createOdaInstanceAttachment.");
4110
4295
  const operationName = "createOdaInstanceAttachment";
4111
4296
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstanceAttachment/CreateOdaInstanceAttachment";
4112
4297
  const pathParams = {
@@ -4120,6 +4305,8 @@ class OdaClient {
4120
4305
  };
4121
4306
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4122
4307
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOdaInstanceAttachmentRequest.retryConfiguration, specRetryConfiguration);
4308
+ if (this.logger)
4309
+ retrier.logger = this.logger;
4123
4310
  const request = yield oci_common_2.composeRequest({
4124
4311
  baseEndpoint: this._endpoint,
4125
4312
  defaultHeaders: this._defaultHeaders,
@@ -4161,11 +4348,12 @@ class OdaClient {
4161
4348
  * @param DeleteOdaInstanceRequest
4162
4349
  * @return DeleteOdaInstanceResponse
4163
4350
  * @throws OciError when an error occurs
4164
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/DeleteOdaInstance.ts.html |here} to see how to use DeleteOdaInstance API.
4351
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/DeleteOdaInstance.ts.html |here} to see how to use DeleteOdaInstance API.
4165
4352
  */
4166
4353
  deleteOdaInstance(deleteOdaInstanceRequest) {
4167
4354
  return __awaiter(this, void 0, void 0, function* () {
4168
- oci_common_2.logger.debug("Calling operation OdaClient#deleteOdaInstance.");
4355
+ if (this.logger)
4356
+ this.logger.debug("Calling operation OdaClient#deleteOdaInstance.");
4169
4357
  const operationName = "deleteOdaInstance";
4170
4358
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstance/DeleteOdaInstance";
4171
4359
  const pathParams = {
@@ -4181,6 +4369,8 @@ class OdaClient {
4181
4369
  };
4182
4370
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4183
4371
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOdaInstanceRequest.retryConfiguration, specRetryConfiguration);
4372
+ if (this.logger)
4373
+ retrier.logger = this.logger;
4184
4374
  const request = yield oci_common_2.composeRequest({
4185
4375
  baseEndpoint: this._endpoint,
4186
4376
  defaultHeaders: this._defaultHeaders,
@@ -4220,11 +4410,12 @@ class OdaClient {
4220
4410
  * @param DeleteOdaInstanceAttachmentRequest
4221
4411
  * @return DeleteOdaInstanceAttachmentResponse
4222
4412
  * @throws OciError when an error occurs
4223
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/DeleteOdaInstanceAttachment.ts.html |here} to see how to use DeleteOdaInstanceAttachment API.
4413
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/DeleteOdaInstanceAttachment.ts.html |here} to see how to use DeleteOdaInstanceAttachment API.
4224
4414
  */
4225
4415
  deleteOdaInstanceAttachment(deleteOdaInstanceAttachmentRequest) {
4226
4416
  return __awaiter(this, void 0, void 0, function* () {
4227
- oci_common_2.logger.debug("Calling operation OdaClient#deleteOdaInstanceAttachment.");
4417
+ if (this.logger)
4418
+ this.logger.debug("Calling operation OdaClient#deleteOdaInstanceAttachment.");
4228
4419
  const operationName = "deleteOdaInstanceAttachment";
4229
4420
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstanceAttachment/DeleteOdaInstanceAttachment";
4230
4421
  const pathParams = {
@@ -4239,6 +4430,8 @@ class OdaClient {
4239
4430
  };
4240
4431
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4241
4432
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOdaInstanceAttachmentRequest.retryConfiguration, specRetryConfiguration);
4433
+ if (this.logger)
4434
+ retrier.logger = this.logger;
4242
4435
  const request = yield oci_common_2.composeRequest({
4243
4436
  baseEndpoint: this._endpoint,
4244
4437
  defaultHeaders: this._defaultHeaders,
@@ -4278,11 +4471,12 @@ class OdaClient {
4278
4471
  * @param GetOdaInstanceRequest
4279
4472
  * @return GetOdaInstanceResponse
4280
4473
  * @throws OciError when an error occurs
4281
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/GetOdaInstance.ts.html |here} to see how to use GetOdaInstance API.
4474
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/GetOdaInstance.ts.html |here} to see how to use GetOdaInstance API.
4282
4475
  */
4283
4476
  getOdaInstance(getOdaInstanceRequest) {
4284
4477
  return __awaiter(this, void 0, void 0, function* () {
4285
- oci_common_2.logger.debug("Calling operation OdaClient#getOdaInstance.");
4478
+ if (this.logger)
4479
+ this.logger.debug("Calling operation OdaClient#getOdaInstance.");
4286
4480
  const operationName = "getOdaInstance";
4287
4481
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstance/GetOdaInstance";
4288
4482
  const pathParams = {
@@ -4295,6 +4489,8 @@ class OdaClient {
4295
4489
  };
4296
4490
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4297
4491
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOdaInstanceRequest.retryConfiguration, specRetryConfiguration);
4492
+ if (this.logger)
4493
+ retrier.logger = this.logger;
4298
4494
  const request = yield oci_common_2.composeRequest({
4299
4495
  baseEndpoint: this._endpoint,
4300
4496
  defaultHeaders: this._defaultHeaders,
@@ -4338,11 +4534,12 @@ class OdaClient {
4338
4534
  * @param GetOdaInstanceAttachmentRequest
4339
4535
  * @return GetOdaInstanceAttachmentResponse
4340
4536
  * @throws OciError when an error occurs
4341
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/GetOdaInstanceAttachment.ts.html |here} to see how to use GetOdaInstanceAttachment API.
4537
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/GetOdaInstanceAttachment.ts.html |here} to see how to use GetOdaInstanceAttachment API.
4342
4538
  */
4343
4539
  getOdaInstanceAttachment(getOdaInstanceAttachmentRequest) {
4344
4540
  return __awaiter(this, void 0, void 0, function* () {
4345
- oci_common_2.logger.debug("Calling operation OdaClient#getOdaInstanceAttachment.");
4541
+ if (this.logger)
4542
+ this.logger.debug("Calling operation OdaClient#getOdaInstanceAttachment.");
4346
4543
  const operationName = "getOdaInstanceAttachment";
4347
4544
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstanceAttachment/GetOdaInstanceAttachment";
4348
4545
  const pathParams = {
@@ -4358,6 +4555,8 @@ class OdaClient {
4358
4555
  };
4359
4556
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4360
4557
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOdaInstanceAttachmentRequest.retryConfiguration, specRetryConfiguration);
4558
+ if (this.logger)
4559
+ retrier.logger = this.logger;
4361
4560
  const request = yield oci_common_2.composeRequest({
4362
4561
  baseEndpoint: this._endpoint,
4363
4562
  defaultHeaders: this._defaultHeaders,
@@ -4405,11 +4604,12 @@ class OdaClient {
4405
4604
  * @param GetWorkRequestRequest
4406
4605
  * @return GetWorkRequestResponse
4407
4606
  * @throws OciError when an error occurs
4408
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
4607
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
4409
4608
  */
4410
4609
  getWorkRequest(getWorkRequestRequest) {
4411
4610
  return __awaiter(this, void 0, void 0, function* () {
4412
- oci_common_2.logger.debug("Calling operation OdaClient#getWorkRequest.");
4611
+ if (this.logger)
4612
+ this.logger.debug("Calling operation OdaClient#getWorkRequest.");
4413
4613
  const operationName = "getWorkRequest";
4414
4614
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/WorkRequest/GetWorkRequest";
4415
4615
  const pathParams = {
@@ -4422,6 +4622,8 @@ class OdaClient {
4422
4622
  };
4423
4623
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4424
4624
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
4625
+ if (this.logger)
4626
+ retrier.logger = this.logger;
4425
4627
  const request = yield oci_common_2.composeRequest({
4426
4628
  baseEndpoint: this._endpoint,
4427
4629
  defaultHeaders: this._defaultHeaders,
@@ -4466,11 +4668,12 @@ class OdaClient {
4466
4668
  * @param ListOdaInstanceAttachmentsRequest
4467
4669
  * @return ListOdaInstanceAttachmentsResponse
4468
4670
  * @throws OciError when an error occurs
4469
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ListOdaInstanceAttachments.ts.html |here} to see how to use ListOdaInstanceAttachments API.
4671
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ListOdaInstanceAttachments.ts.html |here} to see how to use ListOdaInstanceAttachments API.
4470
4672
  */
4471
4673
  listOdaInstanceAttachments(listOdaInstanceAttachmentsRequest) {
4472
4674
  return __awaiter(this, void 0, void 0, function* () {
4473
- oci_common_2.logger.debug("Calling operation OdaClient#listOdaInstanceAttachments.");
4675
+ if (this.logger)
4676
+ this.logger.debug("Calling operation OdaClient#listOdaInstanceAttachments.");
4474
4677
  const operationName = "listOdaInstanceAttachments";
4475
4678
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstanceAttachmentCollection/ListOdaInstanceAttachments";
4476
4679
  const pathParams = {
@@ -4490,6 +4693,8 @@ class OdaClient {
4490
4693
  };
4491
4694
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4492
4695
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOdaInstanceAttachmentsRequest.retryConfiguration, specRetryConfiguration);
4696
+ if (this.logger)
4697
+ retrier.logger = this.logger;
4493
4698
  const request = yield oci_common_2.composeRequest({
4494
4699
  baseEndpoint: this._endpoint,
4495
4700
  defaultHeaders: this._defaultHeaders,
@@ -4544,11 +4749,12 @@ class OdaClient {
4544
4749
  * @param ListOdaInstancesRequest
4545
4750
  * @return ListOdaInstancesResponse
4546
4751
  * @throws OciError when an error occurs
4547
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ListOdaInstances.ts.html |here} to see how to use ListOdaInstances API.
4752
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ListOdaInstances.ts.html |here} to see how to use ListOdaInstances API.
4548
4753
  */
4549
4754
  listOdaInstances(listOdaInstancesRequest) {
4550
4755
  return __awaiter(this, void 0, void 0, function* () {
4551
- oci_common_2.logger.debug("Calling operation OdaClient#listOdaInstances.");
4756
+ if (this.logger)
4757
+ this.logger.debug("Calling operation OdaClient#listOdaInstances.");
4552
4758
  const operationName = "listOdaInstances";
4553
4759
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstanceSummary/ListOdaInstances";
4554
4760
  const pathParams = {};
@@ -4567,6 +4773,8 @@ class OdaClient {
4567
4773
  };
4568
4774
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4569
4775
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOdaInstancesRequest.retryConfiguration, specRetryConfiguration);
4776
+ if (this.logger)
4777
+ retrier.logger = this.logger;
4570
4778
  const request = yield oci_common_2.composeRequest({
4571
4779
  baseEndpoint: this._endpoint,
4572
4780
  defaultHeaders: this._defaultHeaders,
@@ -4660,11 +4868,12 @@ class OdaClient {
4660
4868
  * @param ListWorkRequestErrorsRequest
4661
4869
  * @return ListWorkRequestErrorsResponse
4662
4870
  * @throws OciError when an error occurs
4663
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
4871
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
4664
4872
  */
4665
4873
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
4666
4874
  return __awaiter(this, void 0, void 0, function* () {
4667
- oci_common_2.logger.debug("Calling operation OdaClient#listWorkRequestErrors.");
4875
+ if (this.logger)
4876
+ this.logger.debug("Calling operation OdaClient#listWorkRequestErrors.");
4668
4877
  const operationName = "listWorkRequestErrors";
4669
4878
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/WorkRequestError/ListWorkRequestErrors";
4670
4879
  const pathParams = {
@@ -4682,6 +4891,8 @@ class OdaClient {
4682
4891
  };
4683
4892
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4684
4893
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
4894
+ if (this.logger)
4895
+ retrier.logger = this.logger;
4685
4896
  const request = yield oci_common_2.composeRequest({
4686
4897
  baseEndpoint: this._endpoint,
4687
4898
  defaultHeaders: this._defaultHeaders,
@@ -4775,11 +4986,12 @@ class OdaClient {
4775
4986
  * @param ListWorkRequestLogsRequest
4776
4987
  * @return ListWorkRequestLogsResponse
4777
4988
  * @throws OciError when an error occurs
4778
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
4989
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
4779
4990
  */
4780
4991
  listWorkRequestLogs(listWorkRequestLogsRequest) {
4781
4992
  return __awaiter(this, void 0, void 0, function* () {
4782
- oci_common_2.logger.debug("Calling operation OdaClient#listWorkRequestLogs.");
4993
+ if (this.logger)
4994
+ this.logger.debug("Calling operation OdaClient#listWorkRequestLogs.");
4783
4995
  const operationName = "listWorkRequestLogs";
4784
4996
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/WorkRequestLogEntry/ListWorkRequestLogs";
4785
4997
  const pathParams = {
@@ -4797,6 +5009,8 @@ class OdaClient {
4797
5009
  };
4798
5010
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4799
5011
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
5012
+ if (this.logger)
5013
+ retrier.logger = this.logger;
4800
5014
  const request = yield oci_common_2.composeRequest({
4801
5015
  baseEndpoint: this._endpoint,
4802
5016
  defaultHeaders: this._defaultHeaders,
@@ -4890,11 +5104,12 @@ class OdaClient {
4890
5104
  * @param ListWorkRequestsRequest
4891
5105
  * @return ListWorkRequestsResponse
4892
5106
  * @throws OciError when an error occurs
4893
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
5107
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
4894
5108
  */
4895
5109
  listWorkRequests(listWorkRequestsRequest) {
4896
5110
  return __awaiter(this, void 0, void 0, function* () {
4897
- oci_common_2.logger.debug("Calling operation OdaClient#listWorkRequests.");
5111
+ if (this.logger)
5112
+ this.logger.debug("Calling operation OdaClient#listWorkRequests.");
4898
5113
  const operationName = "listWorkRequests";
4899
5114
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/WorkRequest/ListWorkRequests";
4900
5115
  const pathParams = {};
@@ -4913,6 +5128,8 @@ class OdaClient {
4913
5128
  };
4914
5129
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4915
5130
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
5131
+ if (this.logger)
5132
+ retrier.logger = this.logger;
4916
5133
  const request = yield oci_common_2.composeRequest({
4917
5134
  baseEndpoint: this._endpoint,
4918
5135
  defaultHeaders: this._defaultHeaders,
@@ -5003,11 +5220,12 @@ class OdaClient {
5003
5220
  * @param StartOdaInstanceRequest
5004
5221
  * @return StartOdaInstanceResponse
5005
5222
  * @throws OciError when an error occurs
5006
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/StartOdaInstance.ts.html |here} to see how to use StartOdaInstance API.
5223
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/StartOdaInstance.ts.html |here} to see how to use StartOdaInstance API.
5007
5224
  */
5008
5225
  startOdaInstance(startOdaInstanceRequest) {
5009
5226
  return __awaiter(this, void 0, void 0, function* () {
5010
- oci_common_2.logger.debug("Calling operation OdaClient#startOdaInstance.");
5227
+ if (this.logger)
5228
+ this.logger.debug("Calling operation OdaClient#startOdaInstance.");
5011
5229
  const operationName = "startOdaInstance";
5012
5230
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstance/StartOdaInstance";
5013
5231
  const pathParams = {
@@ -5022,6 +5240,8 @@ class OdaClient {
5022
5240
  };
5023
5241
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5024
5242
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startOdaInstanceRequest.retryConfiguration, specRetryConfiguration);
5243
+ if (this.logger)
5244
+ retrier.logger = this.logger;
5025
5245
  const request = yield oci_common_2.composeRequest({
5026
5246
  baseEndpoint: this._endpoint,
5027
5247
  defaultHeaders: this._defaultHeaders,
@@ -5064,11 +5284,12 @@ class OdaClient {
5064
5284
  * @param StopOdaInstanceRequest
5065
5285
  * @return StopOdaInstanceResponse
5066
5286
  * @throws OciError when an error occurs
5067
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/StopOdaInstance.ts.html |here} to see how to use StopOdaInstance API.
5287
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/StopOdaInstance.ts.html |here} to see how to use StopOdaInstance API.
5068
5288
  */
5069
5289
  stopOdaInstance(stopOdaInstanceRequest) {
5070
5290
  return __awaiter(this, void 0, void 0, function* () {
5071
- oci_common_2.logger.debug("Calling operation OdaClient#stopOdaInstance.");
5291
+ if (this.logger)
5292
+ this.logger.debug("Calling operation OdaClient#stopOdaInstance.");
5072
5293
  const operationName = "stopOdaInstance";
5073
5294
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstance/StopOdaInstance";
5074
5295
  const pathParams = {
@@ -5083,6 +5304,8 @@ class OdaClient {
5083
5304
  };
5084
5305
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5085
5306
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopOdaInstanceRequest.retryConfiguration, specRetryConfiguration);
5307
+ if (this.logger)
5308
+ retrier.logger = this.logger;
5086
5309
  const request = yield oci_common_2.composeRequest({
5087
5310
  baseEndpoint: this._endpoint,
5088
5311
  defaultHeaders: this._defaultHeaders,
@@ -5122,11 +5345,12 @@ class OdaClient {
5122
5345
  * @param UpdateOdaInstanceRequest
5123
5346
  * @return UpdateOdaInstanceResponse
5124
5347
  * @throws OciError when an error occurs
5125
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/UpdateOdaInstance.ts.html |here} to see how to use UpdateOdaInstance API.
5348
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/UpdateOdaInstance.ts.html |here} to see how to use UpdateOdaInstance API.
5126
5349
  */
5127
5350
  updateOdaInstance(updateOdaInstanceRequest) {
5128
5351
  return __awaiter(this, void 0, void 0, function* () {
5129
- oci_common_2.logger.debug("Calling operation OdaClient#updateOdaInstance.");
5352
+ if (this.logger)
5353
+ this.logger.debug("Calling operation OdaClient#updateOdaInstance.");
5130
5354
  const operationName = "updateOdaInstance";
5131
5355
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstance/UpdateOdaInstance";
5132
5356
  const pathParams = {
@@ -5140,6 +5364,8 @@ class OdaClient {
5140
5364
  };
5141
5365
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5142
5366
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOdaInstanceRequest.retryConfiguration, specRetryConfiguration);
5367
+ if (this.logger)
5368
+ retrier.logger = this.logger;
5143
5369
  const request = yield oci_common_2.composeRequest({
5144
5370
  baseEndpoint: this._endpoint,
5145
5371
  defaultHeaders: this._defaultHeaders,
@@ -5184,11 +5410,12 @@ class OdaClient {
5184
5410
  * @param UpdateOdaInstanceAttachmentRequest
5185
5411
  * @return UpdateOdaInstanceAttachmentResponse
5186
5412
  * @throws OciError when an error occurs
5187
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/UpdateOdaInstanceAttachment.ts.html |here} to see how to use UpdateOdaInstanceAttachment API.
5413
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/UpdateOdaInstanceAttachment.ts.html |here} to see how to use UpdateOdaInstanceAttachment API.
5188
5414
  */
5189
5415
  updateOdaInstanceAttachment(updateOdaInstanceAttachmentRequest) {
5190
5416
  return __awaiter(this, void 0, void 0, function* () {
5191
- oci_common_2.logger.debug("Calling operation OdaClient#updateOdaInstanceAttachment.");
5417
+ if (this.logger)
5418
+ this.logger.debug("Calling operation OdaClient#updateOdaInstanceAttachment.");
5192
5419
  const operationName = "updateOdaInstanceAttachment";
5193
5420
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/OdaInstanceAttachment/UpdateOdaInstanceAttachment";
5194
5421
  const pathParams = {
@@ -5203,6 +5430,8 @@ class OdaClient {
5203
5430
  };
5204
5431
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5205
5432
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOdaInstanceAttachmentRequest.retryConfiguration, specRetryConfiguration);
5433
+ if (this.logger)
5434
+ retrier.logger = this.logger;
5206
5435
  const request = yield oci_common_2.composeRequest({
5207
5436
  baseEndpoint: this._endpoint,
5208
5437
  defaultHeaders: this._defaultHeaders,
@@ -5249,7 +5478,7 @@ var OdapackageApiKeys;
5249
5478
  */
5250
5479
  class OdapackageClient {
5251
5480
  constructor(params, clientConfiguration) {
5252
- this["_realmSpecificEndpointTemplateEnabled"] = false;
5481
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
5253
5482
  this["_endpoint"] = "";
5254
5483
  this["_defaultHeaders"] = {};
5255
5484
  this._circuitBreaker = null;
@@ -5308,7 +5537,11 @@ class OdapackageClient {
5308
5537
  set endpoint(endpoint) {
5309
5538
  this._endpoint = endpoint;
5310
5539
  this._endpoint = this._endpoint + "/20190506";
5311
- oci_common_2.logger.info(`OdapackageClient endpoint set to ${this._endpoint}`);
5540
+ if (this.logger)
5541
+ this.logger.info(`OdapackageClient endpoint set to ${this._endpoint}`);
5542
+ }
5543
+ get logger() {
5544
+ return common.LOG.logger;
5312
5545
  }
5313
5546
  /**
5314
5547
  * Determines whether realm specific endpoint should be used or not.
@@ -5317,7 +5550,8 @@ class OdapackageClient {
5317
5550
  */
5318
5551
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
5319
5552
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
5320
- oci_common_2.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
5553
+ if (this.logger)
5554
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
5321
5555
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
5322
5556
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OdapackageClient.serviceEndpointTemplate, this._region, OdapackageClient.endpointServiceName);
5323
5557
  }
@@ -5366,11 +5600,12 @@ class OdapackageClient {
5366
5600
  * @param CreateImportedPackageRequest
5367
5601
  * @return CreateImportedPackageResponse
5368
5602
  * @throws OciError when an error occurs
5369
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/CreateImportedPackage.ts.html |here} to see how to use CreateImportedPackage API.
5603
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/CreateImportedPackage.ts.html |here} to see how to use CreateImportedPackage API.
5370
5604
  */
5371
5605
  createImportedPackage(createImportedPackageRequest) {
5372
5606
  return __awaiter(this, void 0, void 0, function* () {
5373
- oci_common_2.logger.debug("Calling operation OdapackageClient#createImportedPackage.");
5607
+ if (this.logger)
5608
+ this.logger.debug("Calling operation OdapackageClient#createImportedPackage.");
5374
5609
  const operationName = "createImportedPackage";
5375
5610
  const apiReferenceLink = "";
5376
5611
  const pathParams = {
@@ -5384,6 +5619,8 @@ class OdapackageClient {
5384
5619
  };
5385
5620
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5386
5621
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createImportedPackageRequest.retryConfiguration, specRetryConfiguration);
5622
+ if (this.logger)
5623
+ retrier.logger = this.logger;
5387
5624
  const request = yield oci_common_2.composeRequest({
5388
5625
  baseEndpoint: this._endpoint,
5389
5626
  defaultHeaders: this._defaultHeaders,
@@ -5442,11 +5679,12 @@ class OdapackageClient {
5442
5679
  * @param DeleteImportedPackageRequest
5443
5680
  * @return DeleteImportedPackageResponse
5444
5681
  * @throws OciError when an error occurs
5445
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/DeleteImportedPackage.ts.html |here} to see how to use DeleteImportedPackage API.
5682
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/DeleteImportedPackage.ts.html |here} to see how to use DeleteImportedPackage API.
5446
5683
  */
5447
5684
  deleteImportedPackage(deleteImportedPackageRequest) {
5448
5685
  return __awaiter(this, void 0, void 0, function* () {
5449
- oci_common_2.logger.debug("Calling operation OdapackageClient#deleteImportedPackage.");
5686
+ if (this.logger)
5687
+ this.logger.debug("Calling operation OdapackageClient#deleteImportedPackage.");
5450
5688
  const operationName = "deleteImportedPackage";
5451
5689
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/ImportedPackage/DeleteImportedPackage";
5452
5690
  const pathParams = {
@@ -5462,6 +5700,8 @@ class OdapackageClient {
5462
5700
  };
5463
5701
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5464
5702
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteImportedPackageRequest.retryConfiguration, specRetryConfiguration);
5703
+ if (this.logger)
5704
+ retrier.logger = this.logger;
5465
5705
  const request = yield oci_common_2.composeRequest({
5466
5706
  baseEndpoint: this._endpoint,
5467
5707
  defaultHeaders: this._defaultHeaders,
@@ -5502,11 +5742,12 @@ class OdapackageClient {
5502
5742
  * @param GetImportedPackageRequest
5503
5743
  * @return GetImportedPackageResponse
5504
5744
  * @throws OciError when an error occurs
5505
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/GetImportedPackage.ts.html |here} to see how to use GetImportedPackage API.
5745
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/GetImportedPackage.ts.html |here} to see how to use GetImportedPackage API.
5506
5746
  */
5507
5747
  getImportedPackage(getImportedPackageRequest) {
5508
5748
  return __awaiter(this, void 0, void 0, function* () {
5509
- oci_common_2.logger.debug("Calling operation OdapackageClient#getImportedPackage.");
5749
+ if (this.logger)
5750
+ this.logger.debug("Calling operation OdapackageClient#getImportedPackage.");
5510
5751
  const operationName = "getImportedPackage";
5511
5752
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/ImportedPackage/GetImportedPackage";
5512
5753
  const pathParams = {
@@ -5520,6 +5761,8 @@ class OdapackageClient {
5520
5761
  };
5521
5762
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5522
5763
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getImportedPackageRequest.retryConfiguration, specRetryConfiguration);
5764
+ if (this.logger)
5765
+ retrier.logger = this.logger;
5523
5766
  const request = yield oci_common_2.composeRequest({
5524
5767
  baseEndpoint: this._endpoint,
5525
5768
  defaultHeaders: this._defaultHeaders,
@@ -5564,11 +5807,12 @@ class OdapackageClient {
5564
5807
  * @param GetPackageRequest
5565
5808
  * @return GetPackageResponse
5566
5809
  * @throws OciError when an error occurs
5567
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/GetPackage.ts.html |here} to see how to use GetPackage API.
5810
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/GetPackage.ts.html |here} to see how to use GetPackage API.
5568
5811
  */
5569
5812
  getPackage(getPackageRequest) {
5570
5813
  return __awaiter(this, void 0, void 0, function* () {
5571
- oci_common_2.logger.debug("Calling operation OdapackageClient#getPackage.");
5814
+ if (this.logger)
5815
+ this.logger.debug("Calling operation OdapackageClient#getPackage.");
5572
5816
  const operationName = "getPackage";
5573
5817
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/Package/GetPackage";
5574
5818
  const pathParams = {
@@ -5582,6 +5826,8 @@ class OdapackageClient {
5582
5826
  };
5583
5827
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5584
5828
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPackageRequest.retryConfiguration, specRetryConfiguration);
5829
+ if (this.logger)
5830
+ retrier.logger = this.logger;
5585
5831
  const request = yield oci_common_2.composeRequest({
5586
5832
  baseEndpoint: this._endpoint,
5587
5833
  defaultHeaders: this._defaultHeaders,
@@ -5621,11 +5867,12 @@ class OdapackageClient {
5621
5867
  * @param ListImportedPackagesRequest
5622
5868
  * @return ListImportedPackagesResponse
5623
5869
  * @throws OciError when an error occurs
5624
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ListImportedPackages.ts.html |here} to see how to use ListImportedPackages API.
5870
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ListImportedPackages.ts.html |here} to see how to use ListImportedPackages API.
5625
5871
  */
5626
5872
  listImportedPackages(listImportedPackagesRequest) {
5627
5873
  return __awaiter(this, void 0, void 0, function* () {
5628
- oci_common_2.logger.debug("Calling operation OdapackageClient#listImportedPackages.");
5874
+ if (this.logger)
5875
+ this.logger.debug("Calling operation OdapackageClient#listImportedPackages.");
5629
5876
  const operationName = "listImportedPackages";
5630
5877
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/ImportedPackageSummary/ListImportedPackages";
5631
5878
  const pathParams = {
@@ -5644,6 +5891,8 @@ class OdapackageClient {
5644
5891
  };
5645
5892
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5646
5893
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listImportedPackagesRequest.retryConfiguration, specRetryConfiguration);
5894
+ if (this.logger)
5895
+ retrier.logger = this.logger;
5647
5896
  const request = yield oci_common_2.composeRequest({
5648
5897
  baseEndpoint: this._endpoint,
5649
5898
  defaultHeaders: this._defaultHeaders,
@@ -5741,11 +5990,12 @@ class OdapackageClient {
5741
5990
  * @param ListPackagesRequest
5742
5991
  * @return ListPackagesResponse
5743
5992
  * @throws OciError when an error occurs
5744
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/ListPackages.ts.html |here} to see how to use ListPackages API.
5993
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/ListPackages.ts.html |here} to see how to use ListPackages API.
5745
5994
  */
5746
5995
  listPackages(listPackagesRequest) {
5747
5996
  return __awaiter(this, void 0, void 0, function* () {
5748
- oci_common_2.logger.debug("Calling operation OdapackageClient#listPackages.");
5997
+ if (this.logger)
5998
+ this.logger.debug("Calling operation OdapackageClient#listPackages.");
5749
5999
  const operationName = "listPackages";
5750
6000
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/digital-assistant/20190506/PackageSummary/ListPackages";
5751
6001
  const pathParams = {};
@@ -5767,6 +6017,8 @@ class OdapackageClient {
5767
6017
  };
5768
6018
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5769
6019
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPackagesRequest.retryConfiguration, specRetryConfiguration);
6020
+ if (this.logger)
6021
+ retrier.logger = this.logger;
5770
6022
  const request = yield oci_common_2.composeRequest({
5771
6023
  baseEndpoint: this._endpoint,
5772
6024
  defaultHeaders: this._defaultHeaders,
@@ -5859,11 +6111,12 @@ class OdapackageClient {
5859
6111
  * @param UpdateImportedPackageRequest
5860
6112
  * @return UpdateImportedPackageResponse
5861
6113
  * @throws OciError when an error occurs
5862
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/oda/UpdateImportedPackage.ts.html |here} to see how to use UpdateImportedPackage API.
6114
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/oda/UpdateImportedPackage.ts.html |here} to see how to use UpdateImportedPackage API.
5863
6115
  */
5864
6116
  updateImportedPackage(updateImportedPackageRequest) {
5865
6117
  return __awaiter(this, void 0, void 0, function* () {
5866
- oci_common_2.logger.debug("Calling operation OdapackageClient#updateImportedPackage.");
6118
+ if (this.logger)
6119
+ this.logger.debug("Calling operation OdapackageClient#updateImportedPackage.");
5867
6120
  const operationName = "updateImportedPackage";
5868
6121
  const apiReferenceLink = "";
5869
6122
  const pathParams = {
@@ -5881,6 +6134,8 @@ class OdapackageClient {
5881
6134
  };
5882
6135
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5883
6136
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateImportedPackageRequest.retryConfiguration, specRetryConfiguration);
6137
+ if (this.logger)
6138
+ retrier.logger = this.logger;
5884
6139
  const request = yield oci_common_2.composeRequest({
5885
6140
  baseEndpoint: this._endpoint,
5886
6141
  defaultHeaders: this._defaultHeaders,