oci-oda 2.79.0 → 2.79.1

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