oci-tenantmanagercontrolplane 2.79.1 → 2.81.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/lib/client.d.ts +72 -62
  2. package/lib/client.js +340 -134
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/assigned-subscription-summary.js +4 -2
  5. package/lib/model/assigned-subscription-summary.js.map +1 -1
  6. package/lib/model/assigned-subscription.js +4 -2
  7. package/lib/model/assigned-subscription.js.map +1 -1
  8. package/lib/model/subscription-summary.js +4 -2
  9. package/lib/model/subscription-summary.js.map +1 -1
  10. package/lib/model/subscription.js +4 -2
  11. package/lib/model/subscription.js.map +1 -1
  12. package/lib/request/accept-recipient-invitation-request.d.ts +1 -1
  13. package/lib/request/activate-order-request.d.ts +1 -1
  14. package/lib/request/add-governance-request.d.ts +1 -1
  15. package/lib/request/approve-organization-tenancy-for-transfer-request.d.ts +1 -1
  16. package/lib/request/cancel-sender-invitation-request.d.ts +1 -1
  17. package/lib/request/create-child-tenancy-request.d.ts +1 -1
  18. package/lib/request/create-domain-governance-request.d.ts +1 -1
  19. package/lib/request/create-domain-request.d.ts +1 -1
  20. package/lib/request/create-sender-invitation-request.d.ts +1 -1
  21. package/lib/request/create-subscription-mapping-request.d.ts +1 -1
  22. package/lib/request/delete-domain-governance-request.d.ts +1 -1
  23. package/lib/request/delete-domain-request.d.ts +1 -1
  24. package/lib/request/delete-link-request.d.ts +1 -1
  25. package/lib/request/delete-organization-tenancy-request.d.ts +1 -1
  26. package/lib/request/delete-subscription-mapping-request.d.ts +1 -1
  27. package/lib/request/get-assigned-subscription-request.d.ts +1 -1
  28. package/lib/request/get-domain-governance-request.d.ts +1 -1
  29. package/lib/request/get-domain-request.d.ts +1 -1
  30. package/lib/request/get-link-request.d.ts +1 -1
  31. package/lib/request/get-order-request.d.ts +1 -1
  32. package/lib/request/get-organization-request.d.ts +1 -1
  33. package/lib/request/get-organization-tenancy-request.d.ts +1 -1
  34. package/lib/request/get-recipient-invitation-request.d.ts +1 -1
  35. package/lib/request/get-sender-invitation-request.d.ts +1 -1
  36. package/lib/request/get-subscription-mapping-request.d.ts +1 -1
  37. package/lib/request/get-subscription-request.d.ts +1 -1
  38. package/lib/request/get-work-request-request.d.ts +1 -1
  39. package/lib/request/ignore-recipient-invitation-request.d.ts +1 -1
  40. package/lib/request/list-assigned-subscription-line-items-request.d.ts +1 -1
  41. package/lib/request/list-assigned-subscriptions-request.d.ts +1 -1
  42. package/lib/request/list-available-regions-request.d.ts +1 -1
  43. package/lib/request/list-domain-governances-request.d.ts +1 -1
  44. package/lib/request/list-domains-request.d.ts +1 -1
  45. package/lib/request/list-links-request.d.ts +1 -1
  46. package/lib/request/list-organization-tenancies-request.d.ts +1 -1
  47. package/lib/request/list-organizations-request.d.ts +1 -1
  48. package/lib/request/list-recipient-invitations-request.d.ts +1 -1
  49. package/lib/request/list-sender-invitations-request.d.ts +1 -1
  50. package/lib/request/list-subscription-line-items-request.d.ts +1 -1
  51. package/lib/request/list-subscription-mappings-request.d.ts +1 -1
  52. package/lib/request/list-subscriptions-request.d.ts +1 -1
  53. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  54. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  55. package/lib/request/list-work-requests-request.d.ts +1 -1
  56. package/lib/request/remove-governance-request.d.ts +1 -1
  57. package/lib/request/restore-organization-tenancy-request.d.ts +1 -1
  58. package/lib/request/unapprove-organization-tenancy-for-transfer-request.d.ts +1 -1
  59. package/lib/request/update-domain-governance-request.d.ts +1 -1
  60. package/lib/request/update-domain-request.d.ts +1 -1
  61. package/lib/request/update-organization-request.d.ts +1 -1
  62. package/lib/request/update-recipient-invitation-request.d.ts +1 -1
  63. package/lib/request/update-sender-invitation-request.d.ts +1 -1
  64. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -64,7 +64,7 @@ var DomainApiKeys;
64
64
  */
65
65
  class DomainClient {
66
66
  constructor(params, clientConfiguration) {
67
- this["_realmSpecificEndpointTemplateEnabled"] = false;
67
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
68
68
  this["_endpoint"] = "";
69
69
  this["_defaultHeaders"] = {};
70
70
  this._circuitBreaker = null;
@@ -123,7 +123,11 @@ class DomainClient {
123
123
  set endpoint(endpoint) {
124
124
  this._endpoint = endpoint;
125
125
  this._endpoint = this._endpoint + "/20230401";
126
- oci_common_1.logger.info(`DomainClient endpoint set to ${this._endpoint}`);
126
+ if (this.logger)
127
+ this.logger.info(`DomainClient endpoint set to ${this._endpoint}`);
128
+ }
129
+ get logger() {
130
+ return common.LOG.logger;
127
131
  }
128
132
  /**
129
133
  * Determines whether realm specific endpoint should be used or not.
@@ -132,7 +136,8 @@ class DomainClient {
132
136
  */
133
137
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
134
138
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
135
- oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
139
+ if (this.logger)
140
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
136
141
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
137
142
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(DomainClient.serviceEndpointTemplate, this._region, DomainClient.endpointServiceName);
138
143
  }
@@ -198,11 +203,12 @@ class DomainClient {
198
203
  * @param CreateDomainRequest
199
204
  * @return CreateDomainResponse
200
205
  * @throws OciError when an error occurs
201
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/CreateDomain.ts.html |here} to see how to use CreateDomain API.
206
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/CreateDomain.ts.html |here} to see how to use CreateDomain API.
202
207
  */
203
208
  createDomain(createDomainRequest) {
204
209
  return __awaiter(this, void 0, void 0, function* () {
205
- oci_common_1.logger.debug("Calling operation DomainClient#createDomain.");
210
+ if (this.logger)
211
+ this.logger.debug("Calling operation DomainClient#createDomain.");
206
212
  const operationName = "createDomain";
207
213
  const apiReferenceLink = "";
208
214
  const pathParams = {};
@@ -214,6 +220,8 @@ class DomainClient {
214
220
  };
215
221
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
216
222
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDomainRequest.retryConfiguration, specRetryConfiguration);
223
+ if (this.logger)
224
+ retrier.logger = this.logger;
217
225
  const request = yield oci_common_1.composeRequest({
218
226
  baseEndpoint: this._endpoint,
219
227
  defaultHeaders: this._defaultHeaders,
@@ -263,11 +271,12 @@ class DomainClient {
263
271
  * @param DeleteDomainRequest
264
272
  * @return DeleteDomainResponse
265
273
  * @throws OciError when an error occurs
266
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/DeleteDomain.ts.html |here} to see how to use DeleteDomain API.
274
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/DeleteDomain.ts.html |here} to see how to use DeleteDomain API.
267
275
  */
268
276
  deleteDomain(deleteDomainRequest) {
269
277
  return __awaiter(this, void 0, void 0, function* () {
270
- oci_common_1.logger.debug("Calling operation DomainClient#deleteDomain.");
278
+ if (this.logger)
279
+ this.logger.debug("Calling operation DomainClient#deleteDomain.");
271
280
  const operationName = "deleteDomain";
272
281
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Domain/DeleteDomain";
273
282
  const pathParams = {
@@ -281,6 +290,8 @@ class DomainClient {
281
290
  };
282
291
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
283
292
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDomainRequest.retryConfiguration, specRetryConfiguration);
293
+ if (this.logger)
294
+ retrier.logger = this.logger;
284
295
  const request = yield oci_common_1.composeRequest({
285
296
  baseEndpoint: this._endpoint,
286
297
  defaultHeaders: this._defaultHeaders,
@@ -315,11 +326,12 @@ class DomainClient {
315
326
  * @param GetDomainRequest
316
327
  * @return GetDomainResponse
317
328
  * @throws OciError when an error occurs
318
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/GetDomain.ts.html |here} to see how to use GetDomain API.
329
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/GetDomain.ts.html |here} to see how to use GetDomain API.
319
330
  */
320
331
  getDomain(getDomainRequest) {
321
332
  return __awaiter(this, void 0, void 0, function* () {
322
- oci_common_1.logger.debug("Calling operation DomainClient#getDomain.");
333
+ if (this.logger)
334
+ this.logger.debug("Calling operation DomainClient#getDomain.");
323
335
  const operationName = "getDomain";
324
336
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Domain/GetDomain";
325
337
  const pathParams = {
@@ -332,6 +344,8 @@ class DomainClient {
332
344
  };
333
345
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
334
346
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDomainRequest.retryConfiguration, specRetryConfiguration);
347
+ if (this.logger)
348
+ retrier.logger = this.logger;
335
349
  const request = yield oci_common_1.composeRequest({
336
350
  baseEndpoint: this._endpoint,
337
351
  defaultHeaders: this._defaultHeaders,
@@ -376,11 +390,12 @@ class DomainClient {
376
390
  * @param ListDomainsRequest
377
391
  * @return ListDomainsResponse
378
392
  * @throws OciError when an error occurs
379
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/ListDomains.ts.html |here} to see how to use ListDomains API.
393
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/ListDomains.ts.html |here} to see how to use ListDomains API.
380
394
  */
381
395
  listDomains(listDomainsRequest) {
382
396
  return __awaiter(this, void 0, void 0, function* () {
383
- oci_common_1.logger.debug("Calling operation DomainClient#listDomains.");
397
+ if (this.logger)
398
+ this.logger.debug("Calling operation DomainClient#listDomains.");
384
399
  const operationName = "listDomains";
385
400
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Domain/ListDomains";
386
401
  const pathParams = {};
@@ -401,6 +416,8 @@ class DomainClient {
401
416
  };
402
417
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
403
418
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDomainsRequest.retryConfiguration, specRetryConfiguration);
419
+ if (this.logger)
420
+ retrier.logger = this.logger;
404
421
  const request = yield oci_common_1.composeRequest({
405
422
  baseEndpoint: this._endpoint,
406
423
  defaultHeaders: this._defaultHeaders,
@@ -444,11 +461,12 @@ class DomainClient {
444
461
  * @param UpdateDomainRequest
445
462
  * @return UpdateDomainResponse
446
463
  * @throws OciError when an error occurs
447
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/UpdateDomain.ts.html |here} to see how to use UpdateDomain API.
464
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/UpdateDomain.ts.html |here} to see how to use UpdateDomain API.
448
465
  */
449
466
  updateDomain(updateDomainRequest) {
450
467
  return __awaiter(this, void 0, void 0, function* () {
451
- oci_common_1.logger.debug("Calling operation DomainClient#updateDomain.");
468
+ if (this.logger)
469
+ this.logger.debug("Calling operation DomainClient#updateDomain.");
452
470
  const operationName = "updateDomain";
453
471
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Domain/UpdateDomain";
454
472
  const pathParams = {
@@ -462,6 +480,8 @@ class DomainClient {
462
480
  };
463
481
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
464
482
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDomainRequest.retryConfiguration, specRetryConfiguration);
483
+ if (this.logger)
484
+ retrier.logger = this.logger;
465
485
  const request = yield oci_common_1.composeRequest({
466
486
  baseEndpoint: this._endpoint,
467
487
  defaultHeaders: this._defaultHeaders,
@@ -512,7 +532,7 @@ var DomainGovernanceApiKeys;
512
532
  */
513
533
  class DomainGovernanceClient {
514
534
  constructor(params, clientConfiguration) {
515
- this["_realmSpecificEndpointTemplateEnabled"] = false;
535
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
516
536
  this["_endpoint"] = "";
517
537
  this["_defaultHeaders"] = {};
518
538
  this._circuitBreaker = null;
@@ -571,7 +591,11 @@ class DomainGovernanceClient {
571
591
  set endpoint(endpoint) {
572
592
  this._endpoint = endpoint;
573
593
  this._endpoint = this._endpoint + "/20230401";
574
- oci_common_1.logger.info(`DomainGovernanceClient endpoint set to ${this._endpoint}`);
594
+ if (this.logger)
595
+ this.logger.info(`DomainGovernanceClient endpoint set to ${this._endpoint}`);
596
+ }
597
+ get logger() {
598
+ return common.LOG.logger;
575
599
  }
576
600
  /**
577
601
  * Determines whether realm specific endpoint should be used or not.
@@ -580,7 +604,8 @@ class DomainGovernanceClient {
580
604
  */
581
605
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
582
606
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
583
- oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
607
+ if (this.logger)
608
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
584
609
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
585
610
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(DomainGovernanceClient.serviceEndpointTemplate, this._region, DomainGovernanceClient.endpointServiceName);
586
611
  }
@@ -646,11 +671,12 @@ class DomainGovernanceClient {
646
671
  * @param CreateDomainGovernanceRequest
647
672
  * @return CreateDomainGovernanceResponse
648
673
  * @throws OciError when an error occurs
649
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/CreateDomainGovernance.ts.html |here} to see how to use CreateDomainGovernance API.
674
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/CreateDomainGovernance.ts.html |here} to see how to use CreateDomainGovernance API.
650
675
  */
651
676
  createDomainGovernance(createDomainGovernanceRequest) {
652
677
  return __awaiter(this, void 0, void 0, function* () {
653
- oci_common_1.logger.debug("Calling operation DomainGovernanceClient#createDomainGovernance.");
678
+ if (this.logger)
679
+ this.logger.debug("Calling operation DomainGovernanceClient#createDomainGovernance.");
654
680
  const operationName = "createDomainGovernance";
655
681
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/DomainGovernance/CreateDomainGovernance";
656
682
  const pathParams = {};
@@ -662,6 +688,8 @@ class DomainGovernanceClient {
662
688
  };
663
689
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
664
690
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDomainGovernanceRequest.retryConfiguration, specRetryConfiguration);
691
+ if (this.logger)
692
+ retrier.logger = this.logger;
665
693
  const request = yield oci_common_1.composeRequest({
666
694
  baseEndpoint: this._endpoint,
667
695
  defaultHeaders: this._defaultHeaders,
@@ -706,11 +734,12 @@ class DomainGovernanceClient {
706
734
  * @param DeleteDomainGovernanceRequest
707
735
  * @return DeleteDomainGovernanceResponse
708
736
  * @throws OciError when an error occurs
709
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/DeleteDomainGovernance.ts.html |here} to see how to use DeleteDomainGovernance API.
737
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/DeleteDomainGovernance.ts.html |here} to see how to use DeleteDomainGovernance API.
710
738
  */
711
739
  deleteDomainGovernance(deleteDomainGovernanceRequest) {
712
740
  return __awaiter(this, void 0, void 0, function* () {
713
- oci_common_1.logger.debug("Calling operation DomainGovernanceClient#deleteDomainGovernance.");
741
+ if (this.logger)
742
+ this.logger.debug("Calling operation DomainGovernanceClient#deleteDomainGovernance.");
714
743
  const operationName = "deleteDomainGovernance";
715
744
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/DomainGovernance/DeleteDomainGovernance";
716
745
  const pathParams = {
@@ -724,6 +753,8 @@ class DomainGovernanceClient {
724
753
  };
725
754
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
726
755
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDomainGovernanceRequest.retryConfiguration, specRetryConfiguration);
756
+ if (this.logger)
757
+ retrier.logger = this.logger;
727
758
  const request = yield oci_common_1.composeRequest({
728
759
  baseEndpoint: this._endpoint,
729
760
  defaultHeaders: this._defaultHeaders,
@@ -758,11 +789,12 @@ class DomainGovernanceClient {
758
789
  * @param GetDomainGovernanceRequest
759
790
  * @return GetDomainGovernanceResponse
760
791
  * @throws OciError when an error occurs
761
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/GetDomainGovernance.ts.html |here} to see how to use GetDomainGovernance API.
792
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/GetDomainGovernance.ts.html |here} to see how to use GetDomainGovernance API.
762
793
  */
763
794
  getDomainGovernance(getDomainGovernanceRequest) {
764
795
  return __awaiter(this, void 0, void 0, function* () {
765
- oci_common_1.logger.debug("Calling operation DomainGovernanceClient#getDomainGovernance.");
796
+ if (this.logger)
797
+ this.logger.debug("Calling operation DomainGovernanceClient#getDomainGovernance.");
766
798
  const operationName = "getDomainGovernance";
767
799
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/DomainGovernance/GetDomainGovernance";
768
800
  const pathParams = {
@@ -775,6 +807,8 @@ class DomainGovernanceClient {
775
807
  };
776
808
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
777
809
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDomainGovernanceRequest.retryConfiguration, specRetryConfiguration);
810
+ if (this.logger)
811
+ retrier.logger = this.logger;
778
812
  const request = yield oci_common_1.composeRequest({
779
813
  baseEndpoint: this._endpoint,
780
814
  defaultHeaders: this._defaultHeaders,
@@ -819,11 +853,12 @@ class DomainGovernanceClient {
819
853
  * @param ListDomainGovernancesRequest
820
854
  * @return ListDomainGovernancesResponse
821
855
  * @throws OciError when an error occurs
822
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/ListDomainGovernances.ts.html |here} to see how to use ListDomainGovernances API.
856
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/ListDomainGovernances.ts.html |here} to see how to use ListDomainGovernances API.
823
857
  */
824
858
  listDomainGovernances(listDomainGovernancesRequest) {
825
859
  return __awaiter(this, void 0, void 0, function* () {
826
- oci_common_1.logger.debug("Calling operation DomainGovernanceClient#listDomainGovernances.");
860
+ if (this.logger)
861
+ this.logger.debug("Calling operation DomainGovernanceClient#listDomainGovernances.");
827
862
  const operationName = "listDomainGovernances";
828
863
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/DomainGovernance/ListDomainGovernances";
829
864
  const pathParams = {};
@@ -844,6 +879,8 @@ class DomainGovernanceClient {
844
879
  };
845
880
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
846
881
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDomainGovernancesRequest.retryConfiguration, specRetryConfiguration);
882
+ if (this.logger)
883
+ retrier.logger = this.logger;
847
884
  const request = yield oci_common_1.composeRequest({
848
885
  baseEndpoint: this._endpoint,
849
886
  defaultHeaders: this._defaultHeaders,
@@ -887,11 +924,12 @@ class DomainGovernanceClient {
887
924
  * @param UpdateDomainGovernanceRequest
888
925
  * @return UpdateDomainGovernanceResponse
889
926
  * @throws OciError when an error occurs
890
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/UpdateDomainGovernance.ts.html |here} to see how to use UpdateDomainGovernance API.
927
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/UpdateDomainGovernance.ts.html |here} to see how to use UpdateDomainGovernance API.
891
928
  */
892
929
  updateDomainGovernance(updateDomainGovernanceRequest) {
893
930
  return __awaiter(this, void 0, void 0, function* () {
894
- oci_common_1.logger.debug("Calling operation DomainGovernanceClient#updateDomainGovernance.");
931
+ if (this.logger)
932
+ this.logger.debug("Calling operation DomainGovernanceClient#updateDomainGovernance.");
895
933
  const operationName = "updateDomainGovernance";
896
934
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/DomainGovernance/UpdateDomainGovernance";
897
935
  const pathParams = {
@@ -905,6 +943,8 @@ class DomainGovernanceClient {
905
943
  };
906
944
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
907
945
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDomainGovernanceRequest.retryConfiguration, specRetryConfiguration);
946
+ if (this.logger)
947
+ retrier.logger = this.logger;
908
948
  const request = yield oci_common_1.composeRequest({
909
949
  baseEndpoint: this._endpoint,
910
950
  defaultHeaders: this._defaultHeaders,
@@ -955,7 +995,7 @@ var GovernanceApiKeys;
955
995
  */
956
996
  class GovernanceClient {
957
997
  constructor(params, clientConfiguration) {
958
- this["_realmSpecificEndpointTemplateEnabled"] = false;
998
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
959
999
  this["_endpoint"] = "";
960
1000
  this["_defaultHeaders"] = {};
961
1001
  this._circuitBreaker = null;
@@ -1014,7 +1054,11 @@ class GovernanceClient {
1014
1054
  set endpoint(endpoint) {
1015
1055
  this._endpoint = endpoint;
1016
1056
  this._endpoint = this._endpoint + "/20230401";
1017
- oci_common_1.logger.info(`GovernanceClient endpoint set to ${this._endpoint}`);
1057
+ if (this.logger)
1058
+ this.logger.info(`GovernanceClient endpoint set to ${this._endpoint}`);
1059
+ }
1060
+ get logger() {
1061
+ return common.LOG.logger;
1018
1062
  }
1019
1063
  /**
1020
1064
  * Determines whether realm specific endpoint should be used or not.
@@ -1023,7 +1067,8 @@ class GovernanceClient {
1023
1067
  */
1024
1068
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
1025
1069
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
1026
- oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
1070
+ if (this.logger)
1071
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
1027
1072
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
1028
1073
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(GovernanceClient.serviceEndpointTemplate, this._region, GovernanceClient.endpointServiceName);
1029
1074
  }
@@ -1068,11 +1113,12 @@ class GovernanceClient {
1068
1113
  * @param AddGovernanceRequest
1069
1114
  * @return AddGovernanceResponse
1070
1115
  * @throws OciError when an error occurs
1071
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/AddGovernance.ts.html |here} to see how to use AddGovernance API.
1116
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/AddGovernance.ts.html |here} to see how to use AddGovernance API.
1072
1117
  */
1073
1118
  addGovernance(addGovernanceRequest) {
1074
1119
  return __awaiter(this, void 0, void 0, function* () {
1075
- oci_common_1.logger.debug("Calling operation GovernanceClient#addGovernance.");
1120
+ if (this.logger)
1121
+ this.logger.debug("Calling operation GovernanceClient#addGovernance.");
1076
1122
  const operationName = "addGovernance";
1077
1123
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/OrganizationTenancy/AddGovernance";
1078
1124
  const pathParams = {
@@ -1088,6 +1134,8 @@ class GovernanceClient {
1088
1134
  };
1089
1135
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1090
1136
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addGovernanceRequest.retryConfiguration, specRetryConfiguration);
1137
+ if (this.logger)
1138
+ retrier.logger = this.logger;
1091
1139
  const request = yield oci_common_1.composeRequest({
1092
1140
  baseEndpoint: this._endpoint,
1093
1141
  defaultHeaders: this._defaultHeaders,
@@ -1127,11 +1175,12 @@ class GovernanceClient {
1127
1175
  * @param RemoveGovernanceRequest
1128
1176
  * @return RemoveGovernanceResponse
1129
1177
  * @throws OciError when an error occurs
1130
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/RemoveGovernance.ts.html |here} to see how to use RemoveGovernance API.
1178
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/RemoveGovernance.ts.html |here} to see how to use RemoveGovernance API.
1131
1179
  */
1132
1180
  removeGovernance(removeGovernanceRequest) {
1133
1181
  return __awaiter(this, void 0, void 0, function* () {
1134
- oci_common_1.logger.debug("Calling operation GovernanceClient#removeGovernance.");
1182
+ if (this.logger)
1183
+ this.logger.debug("Calling operation GovernanceClient#removeGovernance.");
1135
1184
  const operationName = "removeGovernance";
1136
1185
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/OrganizationTenancy/RemoveGovernance";
1137
1186
  const pathParams = {
@@ -1147,6 +1196,8 @@ class GovernanceClient {
1147
1196
  };
1148
1197
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1149
1198
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeGovernanceRequest.retryConfiguration, specRetryConfiguration);
1199
+ if (this.logger)
1200
+ retrier.logger = this.logger;
1150
1201
  const request = yield oci_common_1.composeRequest({
1151
1202
  baseEndpoint: this._endpoint,
1152
1203
  defaultHeaders: this._defaultHeaders,
@@ -1192,7 +1243,7 @@ var LinkApiKeys;
1192
1243
  */
1193
1244
  class LinkClient {
1194
1245
  constructor(params, clientConfiguration) {
1195
- this["_realmSpecificEndpointTemplateEnabled"] = false;
1246
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
1196
1247
  this["_endpoint"] = "";
1197
1248
  this["_defaultHeaders"] = {};
1198
1249
  this._circuitBreaker = null;
@@ -1251,7 +1302,11 @@ class LinkClient {
1251
1302
  set endpoint(endpoint) {
1252
1303
  this._endpoint = endpoint;
1253
1304
  this._endpoint = this._endpoint + "/20230401";
1254
- oci_common_1.logger.info(`LinkClient endpoint set to ${this._endpoint}`);
1305
+ if (this.logger)
1306
+ this.logger.info(`LinkClient endpoint set to ${this._endpoint}`);
1307
+ }
1308
+ get logger() {
1309
+ return common.LOG.logger;
1255
1310
  }
1256
1311
  /**
1257
1312
  * Determines whether realm specific endpoint should be used or not.
@@ -1260,7 +1315,8 @@ class LinkClient {
1260
1315
  */
1261
1316
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
1262
1317
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
1263
- oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
1318
+ if (this.logger)
1319
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
1264
1320
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
1265
1321
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(LinkClient.serviceEndpointTemplate, this._region, LinkClient.endpointServiceName);
1266
1322
  }
@@ -1326,11 +1382,12 @@ class LinkClient {
1326
1382
  * @param DeleteLinkRequest
1327
1383
  * @return DeleteLinkResponse
1328
1384
  * @throws OciError when an error occurs
1329
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/DeleteLink.ts.html |here} to see how to use DeleteLink API.
1385
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/DeleteLink.ts.html |here} to see how to use DeleteLink API.
1330
1386
  */
1331
1387
  deleteLink(deleteLinkRequest) {
1332
1388
  return __awaiter(this, void 0, void 0, function* () {
1333
- oci_common_1.logger.debug("Calling operation LinkClient#deleteLink.");
1389
+ if (this.logger)
1390
+ this.logger.debug("Calling operation LinkClient#deleteLink.");
1334
1391
  const operationName = "deleteLink";
1335
1392
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Link/DeleteLink";
1336
1393
  const pathParams = {
@@ -1344,6 +1401,8 @@ class LinkClient {
1344
1401
  };
1345
1402
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1346
1403
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLinkRequest.retryConfiguration, specRetryConfiguration);
1404
+ if (this.logger)
1405
+ retrier.logger = this.logger;
1347
1406
  const request = yield oci_common_1.composeRequest({
1348
1407
  baseEndpoint: this._endpoint,
1349
1408
  defaultHeaders: this._defaultHeaders,
@@ -1383,11 +1442,12 @@ class LinkClient {
1383
1442
  * @param GetLinkRequest
1384
1443
  * @return GetLinkResponse
1385
1444
  * @throws OciError when an error occurs
1386
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/GetLink.ts.html |here} to see how to use GetLink API.
1445
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/GetLink.ts.html |here} to see how to use GetLink API.
1387
1446
  */
1388
1447
  getLink(getLinkRequest) {
1389
1448
  return __awaiter(this, void 0, void 0, function* () {
1390
- oci_common_1.logger.debug("Calling operation LinkClient#getLink.");
1449
+ if (this.logger)
1450
+ this.logger.debug("Calling operation LinkClient#getLink.");
1391
1451
  const operationName = "getLink";
1392
1452
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Link/GetLink";
1393
1453
  const pathParams = {
@@ -1400,6 +1460,8 @@ class LinkClient {
1400
1460
  };
1401
1461
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1402
1462
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLinkRequest.retryConfiguration, specRetryConfiguration);
1463
+ if (this.logger)
1464
+ retrier.logger = this.logger;
1403
1465
  const request = yield oci_common_1.composeRequest({
1404
1466
  baseEndpoint: this._endpoint,
1405
1467
  defaultHeaders: this._defaultHeaders,
@@ -1443,11 +1505,12 @@ class LinkClient {
1443
1505
  * @param ListLinksRequest
1444
1506
  * @return ListLinksResponse
1445
1507
  * @throws OciError when an error occurs
1446
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/ListLinks.ts.html |here} to see how to use ListLinks API.
1508
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/ListLinks.ts.html |here} to see how to use ListLinks API.
1447
1509
  */
1448
1510
  listLinks(listLinksRequest) {
1449
1511
  return __awaiter(this, void 0, void 0, function* () {
1450
- oci_common_1.logger.debug("Calling operation LinkClient#listLinks.");
1512
+ if (this.logger)
1513
+ this.logger.debug("Calling operation LinkClient#listLinks.");
1451
1514
  const operationName = "listLinks";
1452
1515
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Link/ListLinks";
1453
1516
  const pathParams = {};
@@ -1465,6 +1528,8 @@ class LinkClient {
1465
1528
  };
1466
1529
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1467
1530
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLinksRequest.retryConfiguration, specRetryConfiguration);
1531
+ if (this.logger)
1532
+ retrier.logger = this.logger;
1468
1533
  const request = yield oci_common_1.composeRequest({
1469
1534
  baseEndpoint: this._endpoint,
1470
1535
  defaultHeaders: this._defaultHeaders,
@@ -1514,7 +1579,7 @@ var OrdersApiKeys;
1514
1579
  */
1515
1580
  class OrdersClient {
1516
1581
  constructor(params, clientConfiguration) {
1517
- this["_realmSpecificEndpointTemplateEnabled"] = false;
1582
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
1518
1583
  this["_endpoint"] = "";
1519
1584
  this["_defaultHeaders"] = {};
1520
1585
  this._circuitBreaker = null;
@@ -1573,7 +1638,11 @@ class OrdersClient {
1573
1638
  set endpoint(endpoint) {
1574
1639
  this._endpoint = endpoint;
1575
1640
  this._endpoint = this._endpoint + "/20230401";
1576
- oci_common_1.logger.info(`OrdersClient endpoint set to ${this._endpoint}`);
1641
+ if (this.logger)
1642
+ this.logger.info(`OrdersClient endpoint set to ${this._endpoint}`);
1643
+ }
1644
+ get logger() {
1645
+ return common.LOG.logger;
1577
1646
  }
1578
1647
  /**
1579
1648
  * Determines whether realm specific endpoint should be used or not.
@@ -1582,7 +1651,8 @@ class OrdersClient {
1582
1651
  */
1583
1652
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
1584
1653
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
1585
- oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
1654
+ if (this.logger)
1655
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
1586
1656
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
1587
1657
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OrdersClient.serviceEndpointTemplate, this._region, OrdersClient.endpointServiceName);
1588
1658
  }
@@ -1627,11 +1697,12 @@ class OrdersClient {
1627
1697
  * @param ActivateOrderRequest
1628
1698
  * @return ActivateOrderResponse
1629
1699
  * @throws OciError when an error occurs
1630
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/ActivateOrder.ts.html |here} to see how to use ActivateOrder API.
1700
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/ActivateOrder.ts.html |here} to see how to use ActivateOrder API.
1631
1701
  */
1632
1702
  activateOrder(activateOrderRequest) {
1633
1703
  return __awaiter(this, void 0, void 0, function* () {
1634
- oci_common_1.logger.debug("Calling operation OrdersClient#activateOrder.");
1704
+ if (this.logger)
1705
+ this.logger.debug("Calling operation OrdersClient#activateOrder.");
1635
1706
  const operationName = "activateOrder";
1636
1707
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Order/ActivateOrder";
1637
1708
  const pathParams = {
@@ -1645,6 +1716,8 @@ class OrdersClient {
1645
1716
  };
1646
1717
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1647
1718
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, activateOrderRequest.retryConfiguration, specRetryConfiguration);
1719
+ if (this.logger)
1720
+ retrier.logger = this.logger;
1648
1721
  const request = yield oci_common_1.composeRequest({
1649
1722
  baseEndpoint: this._endpoint,
1650
1723
  defaultHeaders: this._defaultHeaders,
@@ -1686,11 +1759,12 @@ class OrdersClient {
1686
1759
  * @param GetOrderRequest
1687
1760
  * @return GetOrderResponse
1688
1761
  * @throws OciError when an error occurs
1689
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/GetOrder.ts.html |here} to see how to use GetOrder API.
1762
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/GetOrder.ts.html |here} to see how to use GetOrder API.
1690
1763
  */
1691
1764
  getOrder(getOrderRequest) {
1692
1765
  return __awaiter(this, void 0, void 0, function* () {
1693
- oci_common_1.logger.debug("Calling operation OrdersClient#getOrder.");
1766
+ if (this.logger)
1767
+ this.logger.debug("Calling operation OrdersClient#getOrder.");
1694
1768
  const operationName = "getOrder";
1695
1769
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Order/GetOrder";
1696
1770
  const pathParams = {
@@ -1703,6 +1777,8 @@ class OrdersClient {
1703
1777
  };
1704
1778
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1705
1779
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOrderRequest.retryConfiguration, specRetryConfiguration);
1780
+ if (this.logger)
1781
+ retrier.logger = this.logger;
1706
1782
  const request = yield oci_common_1.composeRequest({
1707
1783
  baseEndpoint: this._endpoint,
1708
1784
  defaultHeaders: this._defaultHeaders,
@@ -1747,7 +1823,7 @@ var OrganizationApiKeys;
1747
1823
  */
1748
1824
  class OrganizationClient {
1749
1825
  constructor(params, clientConfiguration) {
1750
- this["_realmSpecificEndpointTemplateEnabled"] = false;
1826
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
1751
1827
  this["_endpoint"] = "";
1752
1828
  this["_defaultHeaders"] = {};
1753
1829
  this._circuitBreaker = null;
@@ -1806,7 +1882,11 @@ class OrganizationClient {
1806
1882
  set endpoint(endpoint) {
1807
1883
  this._endpoint = endpoint;
1808
1884
  this._endpoint = this._endpoint + "/20230401";
1809
- oci_common_1.logger.info(`OrganizationClient endpoint set to ${this._endpoint}`);
1885
+ if (this.logger)
1886
+ this.logger.info(`OrganizationClient endpoint set to ${this._endpoint}`);
1887
+ }
1888
+ get logger() {
1889
+ return common.LOG.logger;
1810
1890
  }
1811
1891
  /**
1812
1892
  * Determines whether realm specific endpoint should be used or not.
@@ -1815,7 +1895,8 @@ class OrganizationClient {
1815
1895
  */
1816
1896
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
1817
1897
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
1818
- oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
1898
+ if (this.logger)
1899
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
1819
1900
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
1820
1901
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OrganizationClient.serviceEndpointTemplate, this._region, OrganizationClient.endpointServiceName);
1821
1902
  }
@@ -1881,11 +1962,12 @@ class OrganizationClient {
1881
1962
  * @param ApproveOrganizationTenancyForTransferRequest
1882
1963
  * @return ApproveOrganizationTenancyForTransferResponse
1883
1964
  * @throws OciError when an error occurs
1884
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/ApproveOrganizationTenancyForTransfer.ts.html |here} to see how to use ApproveOrganizationTenancyForTransfer API.
1965
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/ApproveOrganizationTenancyForTransfer.ts.html |here} to see how to use ApproveOrganizationTenancyForTransfer API.
1885
1966
  */
1886
1967
  approveOrganizationTenancyForTransfer(approveOrganizationTenancyForTransferRequest) {
1887
1968
  return __awaiter(this, void 0, void 0, function* () {
1888
- oci_common_1.logger.debug("Calling operation OrganizationClient#approveOrganizationTenancyForTransfer.");
1969
+ if (this.logger)
1970
+ this.logger.debug("Calling operation OrganizationClient#approveOrganizationTenancyForTransfer.");
1889
1971
  const operationName = "approveOrganizationTenancyForTransfer";
1890
1972
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/OrganizationTenancy/ApproveOrganizationTenancyForTransfer";
1891
1973
  const pathParams = {
@@ -1902,6 +1984,8 @@ class OrganizationClient {
1902
1984
  };
1903
1985
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1904
1986
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, approveOrganizationTenancyForTransferRequest.retryConfiguration, specRetryConfiguration);
1987
+ if (this.logger)
1988
+ retrier.logger = this.logger;
1905
1989
  const request = yield oci_common_1.composeRequest({
1906
1990
  baseEndpoint: this._endpoint,
1907
1991
  defaultHeaders: this._defaultHeaders,
@@ -1945,11 +2029,12 @@ class OrganizationClient {
1945
2029
  * @param CreateChildTenancyRequest
1946
2030
  * @return CreateChildTenancyResponse
1947
2031
  * @throws OciError when an error occurs
1948
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/CreateChildTenancy.ts.html |here} to see how to use CreateChildTenancy API.
2032
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/CreateChildTenancy.ts.html |here} to see how to use CreateChildTenancy API.
1949
2033
  */
1950
2034
  createChildTenancy(createChildTenancyRequest) {
1951
2035
  return __awaiter(this, void 0, void 0, function* () {
1952
- oci_common_1.logger.debug("Calling operation OrganizationClient#createChildTenancy.");
2036
+ if (this.logger)
2037
+ this.logger.debug("Calling operation OrganizationClient#createChildTenancy.");
1953
2038
  const operationName = "createChildTenancy";
1954
2039
  const apiReferenceLink = "";
1955
2040
  const pathParams = {};
@@ -1961,6 +2046,8 @@ class OrganizationClient {
1961
2046
  };
1962
2047
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1963
2048
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createChildTenancyRequest.retryConfiguration, specRetryConfiguration);
2049
+ if (this.logger)
2050
+ retrier.logger = this.logger;
1964
2051
  const request = yield oci_common_1.composeRequest({
1965
2052
  baseEndpoint: this._endpoint,
1966
2053
  defaultHeaders: this._defaultHeaders,
@@ -2001,11 +2088,12 @@ class OrganizationClient {
2001
2088
  * @param DeleteOrganizationTenancyRequest
2002
2089
  * @return DeleteOrganizationTenancyResponse
2003
2090
  * @throws OciError when an error occurs
2004
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/DeleteOrganizationTenancy.ts.html |here} to see how to use DeleteOrganizationTenancy API.
2091
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/DeleteOrganizationTenancy.ts.html |here} to see how to use DeleteOrganizationTenancy API.
2005
2092
  */
2006
2093
  deleteOrganizationTenancy(deleteOrganizationTenancyRequest) {
2007
2094
  return __awaiter(this, void 0, void 0, function* () {
2008
- oci_common_1.logger.debug("Calling operation OrganizationClient#deleteOrganizationTenancy.");
2095
+ if (this.logger)
2096
+ this.logger.debug("Calling operation OrganizationClient#deleteOrganizationTenancy.");
2009
2097
  const operationName = "deleteOrganizationTenancy";
2010
2098
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/OrganizationTenancy/DeleteOrganizationTenancy";
2011
2099
  const pathParams = {
@@ -2020,6 +2108,8 @@ class OrganizationClient {
2020
2108
  };
2021
2109
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2022
2110
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOrganizationTenancyRequest.retryConfiguration, specRetryConfiguration);
2111
+ if (this.logger)
2112
+ retrier.logger = this.logger;
2023
2113
  const request = yield oci_common_1.composeRequest({
2024
2114
  baseEndpoint: this._endpoint,
2025
2115
  defaultHeaders: this._defaultHeaders,
@@ -2059,11 +2149,12 @@ class OrganizationClient {
2059
2149
  * @param GetOrganizationRequest
2060
2150
  * @return GetOrganizationResponse
2061
2151
  * @throws OciError when an error occurs
2062
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/GetOrganization.ts.html |here} to see how to use GetOrganization API.
2152
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/GetOrganization.ts.html |here} to see how to use GetOrganization API.
2063
2153
  */
2064
2154
  getOrganization(getOrganizationRequest) {
2065
2155
  return __awaiter(this, void 0, void 0, function* () {
2066
- oci_common_1.logger.debug("Calling operation OrganizationClient#getOrganization.");
2156
+ if (this.logger)
2157
+ this.logger.debug("Calling operation OrganizationClient#getOrganization.");
2067
2158
  const operationName = "getOrganization";
2068
2159
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Organization/GetOrganization";
2069
2160
  const pathParams = {
@@ -2076,6 +2167,8 @@ class OrganizationClient {
2076
2167
  };
2077
2168
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2078
2169
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOrganizationRequest.retryConfiguration, specRetryConfiguration);
2170
+ if (this.logger)
2171
+ retrier.logger = this.logger;
2079
2172
  const request = yield oci_common_1.composeRequest({
2080
2173
  baseEndpoint: this._endpoint,
2081
2174
  defaultHeaders: this._defaultHeaders,
@@ -2119,11 +2212,12 @@ class OrganizationClient {
2119
2212
  * @param GetOrganizationTenancyRequest
2120
2213
  * @return GetOrganizationTenancyResponse
2121
2214
  * @throws OciError when an error occurs
2122
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/GetOrganizationTenancy.ts.html |here} to see how to use GetOrganizationTenancy API.
2215
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/GetOrganizationTenancy.ts.html |here} to see how to use GetOrganizationTenancy API.
2123
2216
  */
2124
2217
  getOrganizationTenancy(getOrganizationTenancyRequest) {
2125
2218
  return __awaiter(this, void 0, void 0, function* () {
2126
- oci_common_1.logger.debug("Calling operation OrganizationClient#getOrganizationTenancy.");
2219
+ if (this.logger)
2220
+ this.logger.debug("Calling operation OrganizationClient#getOrganizationTenancy.");
2127
2221
  const operationName = "getOrganizationTenancy";
2128
2222
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/OrganizationTenancy/GetOrganizationTenancy";
2129
2223
  const pathParams = {
@@ -2137,6 +2231,8 @@ class OrganizationClient {
2137
2231
  };
2138
2232
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2139
2233
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOrganizationTenancyRequest.retryConfiguration, specRetryConfiguration);
2234
+ if (this.logger)
2235
+ retrier.logger = this.logger;
2140
2236
  const request = yield oci_common_1.composeRequest({
2141
2237
  baseEndpoint: this._endpoint,
2142
2238
  defaultHeaders: this._defaultHeaders,
@@ -2180,11 +2276,12 @@ class OrganizationClient {
2180
2276
  * @param ListOrganizationTenanciesRequest
2181
2277
  * @return ListOrganizationTenanciesResponse
2182
2278
  * @throws OciError when an error occurs
2183
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/ListOrganizationTenancies.ts.html |here} to see how to use ListOrganizationTenancies API.
2279
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/ListOrganizationTenancies.ts.html |here} to see how to use ListOrganizationTenancies API.
2184
2280
  */
2185
2281
  listOrganizationTenancies(listOrganizationTenanciesRequest) {
2186
2282
  return __awaiter(this, void 0, void 0, function* () {
2187
- oci_common_1.logger.debug("Calling operation OrganizationClient#listOrganizationTenancies.");
2283
+ if (this.logger)
2284
+ this.logger.debug("Calling operation OrganizationClient#listOrganizationTenancies.");
2188
2285
  const operationName = "listOrganizationTenancies";
2189
2286
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Organization/ListOrganizationTenancies";
2190
2287
  const pathParams = {
@@ -2200,6 +2297,8 @@ class OrganizationClient {
2200
2297
  };
2201
2298
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2202
2299
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOrganizationTenanciesRequest.retryConfiguration, specRetryConfiguration);
2300
+ if (this.logger)
2301
+ retrier.logger = this.logger;
2203
2302
  const request = yield oci_common_1.composeRequest({
2204
2303
  baseEndpoint: this._endpoint,
2205
2304
  defaultHeaders: this._defaultHeaders,
@@ -2243,11 +2342,12 @@ class OrganizationClient {
2243
2342
  * @param ListOrganizationsRequest
2244
2343
  * @return ListOrganizationsResponse
2245
2344
  * @throws OciError when an error occurs
2246
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/ListOrganizations.ts.html |here} to see how to use ListOrganizations API.
2345
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/ListOrganizations.ts.html |here} to see how to use ListOrganizations API.
2247
2346
  */
2248
2347
  listOrganizations(listOrganizationsRequest) {
2249
2348
  return __awaiter(this, void 0, void 0, function* () {
2250
- oci_common_1.logger.debug("Calling operation OrganizationClient#listOrganizations.");
2349
+ if (this.logger)
2350
+ this.logger.debug("Calling operation OrganizationClient#listOrganizations.");
2251
2351
  const operationName = "listOrganizations";
2252
2352
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Organization/ListOrganizations";
2253
2353
  const pathParams = {};
@@ -2262,6 +2362,8 @@ class OrganizationClient {
2262
2362
  };
2263
2363
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2264
2364
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOrganizationsRequest.retryConfiguration, specRetryConfiguration);
2365
+ if (this.logger)
2366
+ retrier.logger = this.logger;
2265
2367
  const request = yield oci_common_1.composeRequest({
2266
2368
  baseEndpoint: this._endpoint,
2267
2369
  defaultHeaders: this._defaultHeaders,
@@ -2305,11 +2407,12 @@ class OrganizationClient {
2305
2407
  * @param RestoreOrganizationTenancyRequest
2306
2408
  * @return RestoreOrganizationTenancyResponse
2307
2409
  * @throws OciError when an error occurs
2308
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/RestoreOrganizationTenancy.ts.html |here} to see how to use RestoreOrganizationTenancy API.
2410
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/RestoreOrganizationTenancy.ts.html |here} to see how to use RestoreOrganizationTenancy API.
2309
2411
  */
2310
2412
  restoreOrganizationTenancy(restoreOrganizationTenancyRequest) {
2311
2413
  return __awaiter(this, void 0, void 0, function* () {
2312
- oci_common_1.logger.debug("Calling operation OrganizationClient#restoreOrganizationTenancy.");
2414
+ if (this.logger)
2415
+ this.logger.debug("Calling operation OrganizationClient#restoreOrganizationTenancy.");
2313
2416
  const operationName = "restoreOrganizationTenancy";
2314
2417
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/OrganizationTenancy/RestoreOrganizationTenancy";
2315
2418
  const pathParams = {
@@ -2323,6 +2426,8 @@ class OrganizationClient {
2323
2426
  };
2324
2427
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2325
2428
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restoreOrganizationTenancyRequest.retryConfiguration, specRetryConfiguration);
2429
+ if (this.logger)
2430
+ retrier.logger = this.logger;
2326
2431
  const request = yield oci_common_1.composeRequest({
2327
2432
  baseEndpoint: this._endpoint,
2328
2433
  defaultHeaders: this._defaultHeaders,
@@ -2362,11 +2467,12 @@ class OrganizationClient {
2362
2467
  * @param UnapproveOrganizationTenancyForTransferRequest
2363
2468
  * @return UnapproveOrganizationTenancyForTransferResponse
2364
2469
  * @throws OciError when an error occurs
2365
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/UnapproveOrganizationTenancyForTransfer.ts.html |here} to see how to use UnapproveOrganizationTenancyForTransfer API.
2470
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/UnapproveOrganizationTenancyForTransfer.ts.html |here} to see how to use UnapproveOrganizationTenancyForTransfer API.
2366
2471
  */
2367
2472
  unapproveOrganizationTenancyForTransfer(unapproveOrganizationTenancyForTransferRequest) {
2368
2473
  return __awaiter(this, void 0, void 0, function* () {
2369
- oci_common_1.logger.debug("Calling operation OrganizationClient#unapproveOrganizationTenancyForTransfer.");
2474
+ if (this.logger)
2475
+ this.logger.debug("Calling operation OrganizationClient#unapproveOrganizationTenancyForTransfer.");
2370
2476
  const operationName = "unapproveOrganizationTenancyForTransfer";
2371
2477
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/OrganizationTenancy/UnapproveOrganizationTenancyForTransfer";
2372
2478
  const pathParams = {
@@ -2383,6 +2489,8 @@ class OrganizationClient {
2383
2489
  };
2384
2490
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2385
2491
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, unapproveOrganizationTenancyForTransferRequest.retryConfiguration, specRetryConfiguration);
2492
+ if (this.logger)
2493
+ retrier.logger = this.logger;
2386
2494
  const request = yield oci_common_1.composeRequest({
2387
2495
  baseEndpoint: this._endpoint,
2388
2496
  defaultHeaders: this._defaultHeaders,
@@ -2426,11 +2534,12 @@ class OrganizationClient {
2426
2534
  * @param UpdateOrganizationRequest
2427
2535
  * @return UpdateOrganizationResponse
2428
2536
  * @throws OciError when an error occurs
2429
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/UpdateOrganization.ts.html |here} to see how to use UpdateOrganization API.
2537
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/UpdateOrganization.ts.html |here} to see how to use UpdateOrganization API.
2430
2538
  */
2431
2539
  updateOrganization(updateOrganizationRequest) {
2432
2540
  return __awaiter(this, void 0, void 0, function* () {
2433
- oci_common_1.logger.debug("Calling operation OrganizationClient#updateOrganization.");
2541
+ if (this.logger)
2542
+ this.logger.debug("Calling operation OrganizationClient#updateOrganization.");
2434
2543
  const operationName = "updateOrganization";
2435
2544
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Organization/UpdateOrganization";
2436
2545
  const pathParams = {
@@ -2445,6 +2554,8 @@ class OrganizationClient {
2445
2554
  };
2446
2555
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2447
2556
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOrganizationRequest.retryConfiguration, specRetryConfiguration);
2557
+ if (this.logger)
2558
+ retrier.logger = this.logger;
2448
2559
  const request = yield oci_common_1.composeRequest({
2449
2560
  baseEndpoint: this._endpoint,
2450
2561
  defaultHeaders: this._defaultHeaders,
@@ -2491,7 +2602,7 @@ var RecipientInvitationApiKeys;
2491
2602
  */
2492
2603
  class RecipientInvitationClient {
2493
2604
  constructor(params, clientConfiguration) {
2494
- this["_realmSpecificEndpointTemplateEnabled"] = false;
2605
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
2495
2606
  this["_endpoint"] = "";
2496
2607
  this["_defaultHeaders"] = {};
2497
2608
  this._circuitBreaker = null;
@@ -2550,7 +2661,11 @@ class RecipientInvitationClient {
2550
2661
  set endpoint(endpoint) {
2551
2662
  this._endpoint = endpoint;
2552
2663
  this._endpoint = this._endpoint + "/20230401";
2553
- oci_common_1.logger.info(`RecipientInvitationClient endpoint set to ${this._endpoint}`);
2664
+ if (this.logger)
2665
+ this.logger.info(`RecipientInvitationClient endpoint set to ${this._endpoint}`);
2666
+ }
2667
+ get logger() {
2668
+ return common.LOG.logger;
2554
2669
  }
2555
2670
  /**
2556
2671
  * Determines whether realm specific endpoint should be used or not.
@@ -2559,7 +2674,8 @@ class RecipientInvitationClient {
2559
2674
  */
2560
2675
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
2561
2676
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
2562
- oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
2677
+ if (this.logger)
2678
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
2563
2679
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
2564
2680
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(RecipientInvitationClient.serviceEndpointTemplate, this._region, RecipientInvitationClient.endpointServiceName);
2565
2681
  }
@@ -2625,11 +2741,12 @@ class RecipientInvitationClient {
2625
2741
  * @param AcceptRecipientInvitationRequest
2626
2742
  * @return AcceptRecipientInvitationResponse
2627
2743
  * @throws OciError when an error occurs
2628
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/AcceptRecipientInvitation.ts.html |here} to see how to use AcceptRecipientInvitation API.
2744
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/AcceptRecipientInvitation.ts.html |here} to see how to use AcceptRecipientInvitation API.
2629
2745
  */
2630
2746
  acceptRecipientInvitation(acceptRecipientInvitationRequest) {
2631
2747
  return __awaiter(this, void 0, void 0, function* () {
2632
- oci_common_1.logger.debug("Calling operation RecipientInvitationClient#acceptRecipientInvitation.");
2748
+ if (this.logger)
2749
+ this.logger.debug("Calling operation RecipientInvitationClient#acceptRecipientInvitation.");
2633
2750
  const operationName = "acceptRecipientInvitation";
2634
2751
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/RecipientInvitation/AcceptRecipientInvitation";
2635
2752
  const pathParams = {
@@ -2644,6 +2761,8 @@ class RecipientInvitationClient {
2644
2761
  };
2645
2762
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2646
2763
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, acceptRecipientInvitationRequest.retryConfiguration, specRetryConfiguration);
2764
+ if (this.logger)
2765
+ retrier.logger = this.logger;
2647
2766
  const request = yield oci_common_1.composeRequest({
2648
2767
  baseEndpoint: this._endpoint,
2649
2768
  defaultHeaders: this._defaultHeaders,
@@ -2683,11 +2802,12 @@ class RecipientInvitationClient {
2683
2802
  * @param GetRecipientInvitationRequest
2684
2803
  * @return GetRecipientInvitationResponse
2685
2804
  * @throws OciError when an error occurs
2686
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/GetRecipientInvitation.ts.html |here} to see how to use GetRecipientInvitation API.
2805
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/GetRecipientInvitation.ts.html |here} to see how to use GetRecipientInvitation API.
2687
2806
  */
2688
2807
  getRecipientInvitation(getRecipientInvitationRequest) {
2689
2808
  return __awaiter(this, void 0, void 0, function* () {
2690
- oci_common_1.logger.debug("Calling operation RecipientInvitationClient#getRecipientInvitation.");
2809
+ if (this.logger)
2810
+ this.logger.debug("Calling operation RecipientInvitationClient#getRecipientInvitation.");
2691
2811
  const operationName = "getRecipientInvitation";
2692
2812
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/RecipientInvitation/GetRecipientInvitation";
2693
2813
  const pathParams = {
@@ -2700,6 +2820,8 @@ class RecipientInvitationClient {
2700
2820
  };
2701
2821
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2702
2822
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRecipientInvitationRequest.retryConfiguration, specRetryConfiguration);
2823
+ if (this.logger)
2824
+ retrier.logger = this.logger;
2703
2825
  const request = yield oci_common_1.composeRequest({
2704
2826
  baseEndpoint: this._endpoint,
2705
2827
  defaultHeaders: this._defaultHeaders,
@@ -2743,11 +2865,12 @@ class RecipientInvitationClient {
2743
2865
  * @param IgnoreRecipientInvitationRequest
2744
2866
  * @return IgnoreRecipientInvitationResponse
2745
2867
  * @throws OciError when an error occurs
2746
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/IgnoreRecipientInvitation.ts.html |here} to see how to use IgnoreRecipientInvitation API.
2868
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/IgnoreRecipientInvitation.ts.html |here} to see how to use IgnoreRecipientInvitation API.
2747
2869
  */
2748
2870
  ignoreRecipientInvitation(ignoreRecipientInvitationRequest) {
2749
2871
  return __awaiter(this, void 0, void 0, function* () {
2750
- oci_common_1.logger.debug("Calling operation RecipientInvitationClient#ignoreRecipientInvitation.");
2872
+ if (this.logger)
2873
+ this.logger.debug("Calling operation RecipientInvitationClient#ignoreRecipientInvitation.");
2751
2874
  const operationName = "ignoreRecipientInvitation";
2752
2875
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/RecipientInvitation/IgnoreRecipientInvitation";
2753
2876
  const pathParams = {
@@ -2762,6 +2885,8 @@ class RecipientInvitationClient {
2762
2885
  };
2763
2886
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2764
2887
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, ignoreRecipientInvitationRequest.retryConfiguration, specRetryConfiguration);
2888
+ if (this.logger)
2889
+ retrier.logger = this.logger;
2765
2890
  const request = yield oci_common_1.composeRequest({
2766
2891
  baseEndpoint: this._endpoint,
2767
2892
  defaultHeaders: this._defaultHeaders,
@@ -2806,11 +2931,12 @@ class RecipientInvitationClient {
2806
2931
  * @param ListRecipientInvitationsRequest
2807
2932
  * @return ListRecipientInvitationsResponse
2808
2933
  * @throws OciError when an error occurs
2809
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/ListRecipientInvitations.ts.html |here} to see how to use ListRecipientInvitations API.
2934
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/ListRecipientInvitations.ts.html |here} to see how to use ListRecipientInvitations API.
2810
2935
  */
2811
2936
  listRecipientInvitations(listRecipientInvitationsRequest) {
2812
2937
  return __awaiter(this, void 0, void 0, function* () {
2813
- oci_common_1.logger.debug("Calling operation RecipientInvitationClient#listRecipientInvitations.");
2938
+ if (this.logger)
2939
+ this.logger.debug("Calling operation RecipientInvitationClient#listRecipientInvitations.");
2814
2940
  const operationName = "listRecipientInvitations";
2815
2941
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/RecipientInvitation/ListRecipientInvitations";
2816
2942
  const pathParams = {};
@@ -2827,6 +2953,8 @@ class RecipientInvitationClient {
2827
2953
  };
2828
2954
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2829
2955
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRecipientInvitationsRequest.retryConfiguration, specRetryConfiguration);
2956
+ if (this.logger)
2957
+ retrier.logger = this.logger;
2830
2958
  const request = yield oci_common_1.composeRequest({
2831
2959
  baseEndpoint: this._endpoint,
2832
2960
  defaultHeaders: this._defaultHeaders,
@@ -2870,11 +2998,12 @@ class RecipientInvitationClient {
2870
2998
  * @param UpdateRecipientInvitationRequest
2871
2999
  * @return UpdateRecipientInvitationResponse
2872
3000
  * @throws OciError when an error occurs
2873
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/UpdateRecipientInvitation.ts.html |here} to see how to use UpdateRecipientInvitation API.
3001
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/UpdateRecipientInvitation.ts.html |here} to see how to use UpdateRecipientInvitation API.
2874
3002
  */
2875
3003
  updateRecipientInvitation(updateRecipientInvitationRequest) {
2876
3004
  return __awaiter(this, void 0, void 0, function* () {
2877
- oci_common_1.logger.debug("Calling operation RecipientInvitationClient#updateRecipientInvitation.");
3005
+ if (this.logger)
3006
+ this.logger.debug("Calling operation RecipientInvitationClient#updateRecipientInvitation.");
2878
3007
  const operationName = "updateRecipientInvitation";
2879
3008
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/RecipientInvitation/UpdateRecipientInvitation";
2880
3009
  const pathParams = {
@@ -2888,6 +3017,8 @@ class RecipientInvitationClient {
2888
3017
  };
2889
3018
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2890
3019
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRecipientInvitationRequest.retryConfiguration, specRetryConfiguration);
3020
+ if (this.logger)
3021
+ retrier.logger = this.logger;
2891
3022
  const request = yield oci_common_1.composeRequest({
2892
3023
  baseEndpoint: this._endpoint,
2893
3024
  defaultHeaders: this._defaultHeaders,
@@ -2938,7 +3069,7 @@ var SenderInvitationApiKeys;
2938
3069
  */
2939
3070
  class SenderInvitationClient {
2940
3071
  constructor(params, clientConfiguration) {
2941
- this["_realmSpecificEndpointTemplateEnabled"] = false;
3072
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
2942
3073
  this["_endpoint"] = "";
2943
3074
  this["_defaultHeaders"] = {};
2944
3075
  this._circuitBreaker = null;
@@ -2997,7 +3128,11 @@ class SenderInvitationClient {
2997
3128
  set endpoint(endpoint) {
2998
3129
  this._endpoint = endpoint;
2999
3130
  this._endpoint = this._endpoint + "/20230401";
3000
- oci_common_1.logger.info(`SenderInvitationClient endpoint set to ${this._endpoint}`);
3131
+ if (this.logger)
3132
+ this.logger.info(`SenderInvitationClient endpoint set to ${this._endpoint}`);
3133
+ }
3134
+ get logger() {
3135
+ return common.LOG.logger;
3001
3136
  }
3002
3137
  /**
3003
3138
  * Determines whether realm specific endpoint should be used or not.
@@ -3006,7 +3141,8 @@ class SenderInvitationClient {
3006
3141
  */
3007
3142
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
3008
3143
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
3009
- oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
3144
+ if (this.logger)
3145
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
3010
3146
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
3011
3147
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(SenderInvitationClient.serviceEndpointTemplate, this._region, SenderInvitationClient.endpointServiceName);
3012
3148
  }
@@ -3072,11 +3208,12 @@ class SenderInvitationClient {
3072
3208
  * @param CancelSenderInvitationRequest
3073
3209
  * @return CancelSenderInvitationResponse
3074
3210
  * @throws OciError when an error occurs
3075
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/CancelSenderInvitation.ts.html |here} to see how to use CancelSenderInvitation API.
3211
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/CancelSenderInvitation.ts.html |here} to see how to use CancelSenderInvitation API.
3076
3212
  */
3077
3213
  cancelSenderInvitation(cancelSenderInvitationRequest) {
3078
3214
  return __awaiter(this, void 0, void 0, function* () {
3079
- oci_common_1.logger.debug("Calling operation SenderInvitationClient#cancelSenderInvitation.");
3215
+ if (this.logger)
3216
+ this.logger.debug("Calling operation SenderInvitationClient#cancelSenderInvitation.");
3080
3217
  const operationName = "cancelSenderInvitation";
3081
3218
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SenderInvitation/CancelSenderInvitation";
3082
3219
  const pathParams = {
@@ -3091,6 +3228,8 @@ class SenderInvitationClient {
3091
3228
  };
3092
3229
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3093
3230
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelSenderInvitationRequest.retryConfiguration, specRetryConfiguration);
3231
+ if (this.logger)
3232
+ retrier.logger = this.logger;
3094
3233
  const request = yield oci_common_1.composeRequest({
3095
3234
  baseEndpoint: this._endpoint,
3096
3235
  defaultHeaders: this._defaultHeaders,
@@ -3130,11 +3269,12 @@ class SenderInvitationClient {
3130
3269
  * @param CreateSenderInvitationRequest
3131
3270
  * @return CreateSenderInvitationResponse
3132
3271
  * @throws OciError when an error occurs
3133
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/CreateSenderInvitation.ts.html |here} to see how to use CreateSenderInvitation API.
3272
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/CreateSenderInvitation.ts.html |here} to see how to use CreateSenderInvitation API.
3134
3273
  */
3135
3274
  createSenderInvitation(createSenderInvitationRequest) {
3136
3275
  return __awaiter(this, void 0, void 0, function* () {
3137
- oci_common_1.logger.debug("Calling operation SenderInvitationClient#createSenderInvitation.");
3276
+ if (this.logger)
3277
+ this.logger.debug("Calling operation SenderInvitationClient#createSenderInvitation.");
3138
3278
  const operationName = "createSenderInvitation";
3139
3279
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SenderInvitation/CreateSenderInvitation";
3140
3280
  const pathParams = {};
@@ -3146,6 +3286,8 @@ class SenderInvitationClient {
3146
3286
  };
3147
3287
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3148
3288
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSenderInvitationRequest.retryConfiguration, specRetryConfiguration);
3289
+ if (this.logger)
3290
+ retrier.logger = this.logger;
3149
3291
  const request = yield oci_common_1.composeRequest({
3150
3292
  baseEndpoint: this._endpoint,
3151
3293
  defaultHeaders: this._defaultHeaders,
@@ -3195,11 +3337,12 @@ class SenderInvitationClient {
3195
3337
  * @param GetSenderInvitationRequest
3196
3338
  * @return GetSenderInvitationResponse
3197
3339
  * @throws OciError when an error occurs
3198
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/GetSenderInvitation.ts.html |here} to see how to use GetSenderInvitation API.
3340
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/GetSenderInvitation.ts.html |here} to see how to use GetSenderInvitation API.
3199
3341
  */
3200
3342
  getSenderInvitation(getSenderInvitationRequest) {
3201
3343
  return __awaiter(this, void 0, void 0, function* () {
3202
- oci_common_1.logger.debug("Calling operation SenderInvitationClient#getSenderInvitation.");
3344
+ if (this.logger)
3345
+ this.logger.debug("Calling operation SenderInvitationClient#getSenderInvitation.");
3203
3346
  const operationName = "getSenderInvitation";
3204
3347
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SenderInvitation/GetSenderInvitation";
3205
3348
  const pathParams = {
@@ -3212,6 +3355,8 @@ class SenderInvitationClient {
3212
3355
  };
3213
3356
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3214
3357
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSenderInvitationRequest.retryConfiguration, specRetryConfiguration);
3358
+ if (this.logger)
3359
+ retrier.logger = this.logger;
3215
3360
  const request = yield oci_common_1.composeRequest({
3216
3361
  baseEndpoint: this._endpoint,
3217
3362
  defaultHeaders: this._defaultHeaders,
@@ -3256,11 +3401,12 @@ class SenderInvitationClient {
3256
3401
  * @param ListSenderInvitationsRequest
3257
3402
  * @return ListSenderInvitationsResponse
3258
3403
  * @throws OciError when an error occurs
3259
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/ListSenderInvitations.ts.html |here} to see how to use ListSenderInvitations API.
3404
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/ListSenderInvitations.ts.html |here} to see how to use ListSenderInvitations API.
3260
3405
  */
3261
3406
  listSenderInvitations(listSenderInvitationsRequest) {
3262
3407
  return __awaiter(this, void 0, void 0, function* () {
3263
- oci_common_1.logger.debug("Calling operation SenderInvitationClient#listSenderInvitations.");
3408
+ if (this.logger)
3409
+ this.logger.debug("Calling operation SenderInvitationClient#listSenderInvitations.");
3264
3410
  const operationName = "listSenderInvitations";
3265
3411
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SenderInvitation/ListSenderInvitations";
3266
3412
  const pathParams = {};
@@ -3281,6 +3427,8 @@ class SenderInvitationClient {
3281
3427
  };
3282
3428
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3283
3429
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSenderInvitationsRequest.retryConfiguration, specRetryConfiguration);
3430
+ if (this.logger)
3431
+ retrier.logger = this.logger;
3284
3432
  const request = yield oci_common_1.composeRequest({
3285
3433
  baseEndpoint: this._endpoint,
3286
3434
  defaultHeaders: this._defaultHeaders,
@@ -3324,11 +3472,12 @@ class SenderInvitationClient {
3324
3472
  * @param UpdateSenderInvitationRequest
3325
3473
  * @return UpdateSenderInvitationResponse
3326
3474
  * @throws OciError when an error occurs
3327
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/UpdateSenderInvitation.ts.html |here} to see how to use UpdateSenderInvitation API.
3475
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/UpdateSenderInvitation.ts.html |here} to see how to use UpdateSenderInvitation API.
3328
3476
  */
3329
3477
  updateSenderInvitation(updateSenderInvitationRequest) {
3330
3478
  return __awaiter(this, void 0, void 0, function* () {
3331
- oci_common_1.logger.debug("Calling operation SenderInvitationClient#updateSenderInvitation.");
3479
+ if (this.logger)
3480
+ this.logger.debug("Calling operation SenderInvitationClient#updateSenderInvitation.");
3332
3481
  const operationName = "updateSenderInvitation";
3333
3482
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SenderInvitation/UpdateSenderInvitation";
3334
3483
  const pathParams = {
@@ -3342,6 +3491,8 @@ class SenderInvitationClient {
3342
3491
  };
3343
3492
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3344
3493
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSenderInvitationRequest.retryConfiguration, specRetryConfiguration);
3494
+ if (this.logger)
3495
+ retrier.logger = this.logger;
3345
3496
  const request = yield oci_common_1.composeRequest({
3346
3497
  baseEndpoint: this._endpoint,
3347
3498
  defaultHeaders: this._defaultHeaders,
@@ -3392,7 +3543,7 @@ var SubscriptionApiKeys;
3392
3543
  */
3393
3544
  class SubscriptionClient {
3394
3545
  constructor(params, clientConfiguration) {
3395
- this["_realmSpecificEndpointTemplateEnabled"] = false;
3546
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
3396
3547
  this["_endpoint"] = "";
3397
3548
  this["_defaultHeaders"] = {};
3398
3549
  this._circuitBreaker = null;
@@ -3451,7 +3602,11 @@ class SubscriptionClient {
3451
3602
  set endpoint(endpoint) {
3452
3603
  this._endpoint = endpoint;
3453
3604
  this._endpoint = this._endpoint + "/20230401";
3454
- oci_common_1.logger.info(`SubscriptionClient endpoint set to ${this._endpoint}`);
3605
+ if (this.logger)
3606
+ this.logger.info(`SubscriptionClient endpoint set to ${this._endpoint}`);
3607
+ }
3608
+ get logger() {
3609
+ return common.LOG.logger;
3455
3610
  }
3456
3611
  /**
3457
3612
  * Determines whether realm specific endpoint should be used or not.
@@ -3460,7 +3615,8 @@ class SubscriptionClient {
3460
3615
  */
3461
3616
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
3462
3617
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
3463
- oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
3618
+ if (this.logger)
3619
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
3464
3620
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
3465
3621
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(SubscriptionClient.serviceEndpointTemplate, this._region, SubscriptionClient.endpointServiceName);
3466
3622
  }
@@ -3526,11 +3682,12 @@ class SubscriptionClient {
3526
3682
  * @param CreateSubscriptionMappingRequest
3527
3683
  * @return CreateSubscriptionMappingResponse
3528
3684
  * @throws OciError when an error occurs
3529
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/CreateSubscriptionMapping.ts.html |here} to see how to use CreateSubscriptionMapping API.
3685
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/CreateSubscriptionMapping.ts.html |here} to see how to use CreateSubscriptionMapping API.
3530
3686
  */
3531
3687
  createSubscriptionMapping(createSubscriptionMappingRequest) {
3532
3688
  return __awaiter(this, void 0, void 0, function* () {
3533
- oci_common_1.logger.debug("Calling operation SubscriptionClient#createSubscriptionMapping.");
3689
+ if (this.logger)
3690
+ this.logger.debug("Calling operation SubscriptionClient#createSubscriptionMapping.");
3534
3691
  const operationName = "createSubscriptionMapping";
3535
3692
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SubscriptionMapping/CreateSubscriptionMapping";
3536
3693
  const pathParams = {};
@@ -3543,6 +3700,8 @@ class SubscriptionClient {
3543
3700
  };
3544
3701
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3545
3702
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSubscriptionMappingRequest.retryConfiguration, specRetryConfiguration);
3703
+ if (this.logger)
3704
+ retrier.logger = this.logger;
3546
3705
  const request = yield oci_common_1.composeRequest({
3547
3706
  baseEndpoint: this._endpoint,
3548
3707
  defaultHeaders: this._defaultHeaders,
@@ -3592,11 +3751,12 @@ class SubscriptionClient {
3592
3751
  * @param DeleteSubscriptionMappingRequest
3593
3752
  * @return DeleteSubscriptionMappingResponse
3594
3753
  * @throws OciError when an error occurs
3595
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/DeleteSubscriptionMapping.ts.html |here} to see how to use DeleteSubscriptionMapping API.
3754
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/DeleteSubscriptionMapping.ts.html |here} to see how to use DeleteSubscriptionMapping API.
3596
3755
  */
3597
3756
  deleteSubscriptionMapping(deleteSubscriptionMappingRequest) {
3598
3757
  return __awaiter(this, void 0, void 0, function* () {
3599
- oci_common_1.logger.debug("Calling operation SubscriptionClient#deleteSubscriptionMapping.");
3758
+ if (this.logger)
3759
+ this.logger.debug("Calling operation SubscriptionClient#deleteSubscriptionMapping.");
3600
3760
  const operationName = "deleteSubscriptionMapping";
3601
3761
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SubscriptionMapping/DeleteSubscriptionMapping";
3602
3762
  const pathParams = {
@@ -3610,6 +3770,8 @@ class SubscriptionClient {
3610
3770
  };
3611
3771
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3612
3772
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSubscriptionMappingRequest.retryConfiguration, specRetryConfiguration);
3773
+ if (this.logger)
3774
+ retrier.logger = this.logger;
3613
3775
  const request = yield oci_common_1.composeRequest({
3614
3776
  baseEndpoint: this._endpoint,
3615
3777
  defaultHeaders: this._defaultHeaders,
@@ -3644,11 +3806,12 @@ class SubscriptionClient {
3644
3806
  * @param GetAssignedSubscriptionRequest
3645
3807
  * @return GetAssignedSubscriptionResponse
3646
3808
  * @throws OciError when an error occurs
3647
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/GetAssignedSubscription.ts.html |here} to see how to use GetAssignedSubscription API.
3809
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/GetAssignedSubscription.ts.html |here} to see how to use GetAssignedSubscription API.
3648
3810
  */
3649
3811
  getAssignedSubscription(getAssignedSubscriptionRequest) {
3650
3812
  return __awaiter(this, void 0, void 0, function* () {
3651
- oci_common_1.logger.debug("Calling operation SubscriptionClient#getAssignedSubscription.");
3813
+ if (this.logger)
3814
+ this.logger.debug("Calling operation SubscriptionClient#getAssignedSubscription.");
3652
3815
  const operationName = "getAssignedSubscription";
3653
3816
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/AssignedSubscription/GetAssignedSubscription";
3654
3817
  const pathParams = {
@@ -3661,6 +3824,8 @@ class SubscriptionClient {
3661
3824
  };
3662
3825
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3663
3826
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAssignedSubscriptionRequest.retryConfiguration, specRetryConfiguration);
3827
+ if (this.logger)
3828
+ retrier.logger = this.logger;
3664
3829
  const request = yield oci_common_1.composeRequest({
3665
3830
  baseEndpoint: this._endpoint,
3666
3831
  defaultHeaders: this._defaultHeaders,
@@ -3704,11 +3869,12 @@ class SubscriptionClient {
3704
3869
  * @param GetSubscriptionRequest
3705
3870
  * @return GetSubscriptionResponse
3706
3871
  * @throws OciError when an error occurs
3707
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/GetSubscription.ts.html |here} to see how to use GetSubscription API.
3872
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/GetSubscription.ts.html |here} to see how to use GetSubscription API.
3708
3873
  */
3709
3874
  getSubscription(getSubscriptionRequest) {
3710
3875
  return __awaiter(this, void 0, void 0, function* () {
3711
- oci_common_1.logger.debug("Calling operation SubscriptionClient#getSubscription.");
3876
+ if (this.logger)
3877
+ this.logger.debug("Calling operation SubscriptionClient#getSubscription.");
3712
3878
  const operationName = "getSubscription";
3713
3879
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Subscription/GetSubscription";
3714
3880
  const pathParams = {
@@ -3721,6 +3887,8 @@ class SubscriptionClient {
3721
3887
  };
3722
3888
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3723
3889
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSubscriptionRequest.retryConfiguration, specRetryConfiguration);
3890
+ if (this.logger)
3891
+ retrier.logger = this.logger;
3724
3892
  const request = yield oci_common_1.composeRequest({
3725
3893
  baseEndpoint: this._endpoint,
3726
3894
  defaultHeaders: this._defaultHeaders,
@@ -3764,11 +3932,12 @@ class SubscriptionClient {
3764
3932
  * @param GetSubscriptionMappingRequest
3765
3933
  * @return GetSubscriptionMappingResponse
3766
3934
  * @throws OciError when an error occurs
3767
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/GetSubscriptionMapping.ts.html |here} to see how to use GetSubscriptionMapping API.
3935
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/GetSubscriptionMapping.ts.html |here} to see how to use GetSubscriptionMapping API.
3768
3936
  */
3769
3937
  getSubscriptionMapping(getSubscriptionMappingRequest) {
3770
3938
  return __awaiter(this, void 0, void 0, function* () {
3771
- oci_common_1.logger.debug("Calling operation SubscriptionClient#getSubscriptionMapping.");
3939
+ if (this.logger)
3940
+ this.logger.debug("Calling operation SubscriptionClient#getSubscriptionMapping.");
3772
3941
  const operationName = "getSubscriptionMapping";
3773
3942
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SubscriptionMapping/GetSubscriptionMapping";
3774
3943
  const pathParams = {
@@ -3781,6 +3950,8 @@ class SubscriptionClient {
3781
3950
  };
3782
3951
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3783
3952
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSubscriptionMappingRequest.retryConfiguration, specRetryConfiguration);
3953
+ if (this.logger)
3954
+ retrier.logger = this.logger;
3784
3955
  const request = yield oci_common_1.composeRequest({
3785
3956
  baseEndpoint: this._endpoint,
3786
3957
  defaultHeaders: this._defaultHeaders,
@@ -3824,11 +3995,12 @@ class SubscriptionClient {
3824
3995
  * @param ListAssignedSubscriptionLineItemsRequest
3825
3996
  * @return ListAssignedSubscriptionLineItemsResponse
3826
3997
  * @throws OciError when an error occurs
3827
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/ListAssignedSubscriptionLineItems.ts.html |here} to see how to use ListAssignedSubscriptionLineItems API.
3998
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/ListAssignedSubscriptionLineItems.ts.html |here} to see how to use ListAssignedSubscriptionLineItems API.
3828
3999
  */
3829
4000
  listAssignedSubscriptionLineItems(listAssignedSubscriptionLineItemsRequest) {
3830
4001
  return __awaiter(this, void 0, void 0, function* () {
3831
- oci_common_1.logger.debug("Calling operation SubscriptionClient#listAssignedSubscriptionLineItems.");
4002
+ if (this.logger)
4003
+ this.logger.debug("Calling operation SubscriptionClient#listAssignedSubscriptionLineItems.");
3832
4004
  const operationName = "listAssignedSubscriptionLineItems";
3833
4005
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/AssignedSubscriptionLineItemSummary/ListAssignedSubscriptionLineItems";
3834
4006
  const pathParams = {
@@ -3846,6 +4018,8 @@ class SubscriptionClient {
3846
4018
  };
3847
4019
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3848
4020
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAssignedSubscriptionLineItemsRequest.retryConfiguration, specRetryConfiguration);
4021
+ if (this.logger)
4022
+ retrier.logger = this.logger;
3849
4023
  const request = yield oci_common_1.composeRequest({
3850
4024
  baseEndpoint: this._endpoint,
3851
4025
  defaultHeaders: this._defaultHeaders,
@@ -3889,11 +4063,12 @@ class SubscriptionClient {
3889
4063
  * @param ListAssignedSubscriptionsRequest
3890
4064
  * @return ListAssignedSubscriptionsResponse
3891
4065
  * @throws OciError when an error occurs
3892
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/ListAssignedSubscriptions.ts.html |here} to see how to use ListAssignedSubscriptions API.
4066
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/ListAssignedSubscriptions.ts.html |here} to see how to use ListAssignedSubscriptions API.
3893
4067
  */
3894
4068
  listAssignedSubscriptions(listAssignedSubscriptionsRequest) {
3895
4069
  return __awaiter(this, void 0, void 0, function* () {
3896
- oci_common_1.logger.debug("Calling operation SubscriptionClient#listAssignedSubscriptions.");
4070
+ if (this.logger)
4071
+ this.logger.debug("Calling operation SubscriptionClient#listAssignedSubscriptions.");
3897
4072
  const operationName = "listAssignedSubscriptions";
3898
4073
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/AssignedSubscription/ListAssignedSubscriptions";
3899
4074
  const pathParams = {};
@@ -3912,6 +4087,8 @@ class SubscriptionClient {
3912
4087
  };
3913
4088
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3914
4089
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAssignedSubscriptionsRequest.retryConfiguration, specRetryConfiguration);
4090
+ if (this.logger)
4091
+ retrier.logger = this.logger;
3915
4092
  const request = yield oci_common_1.composeRequest({
3916
4093
  baseEndpoint: this._endpoint,
3917
4094
  defaultHeaders: this._defaultHeaders,
@@ -3955,11 +4132,12 @@ class SubscriptionClient {
3955
4132
  * @param ListAvailableRegionsRequest
3956
4133
  * @return ListAvailableRegionsResponse
3957
4134
  * @throws OciError when an error occurs
3958
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/ListAvailableRegions.ts.html |here} to see how to use ListAvailableRegions API.
4135
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/ListAvailableRegions.ts.html |here} to see how to use ListAvailableRegions API.
3959
4136
  */
3960
4137
  listAvailableRegions(listAvailableRegionsRequest) {
3961
4138
  return __awaiter(this, void 0, void 0, function* () {
3962
- oci_common_1.logger.debug("Calling operation SubscriptionClient#listAvailableRegions.");
4139
+ if (this.logger)
4140
+ this.logger.debug("Calling operation SubscriptionClient#listAvailableRegions.");
3963
4141
  const operationName = "listAvailableRegions";
3964
4142
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Subscription/ListAvailableRegions";
3965
4143
  const pathParams = {
@@ -3974,6 +4152,8 @@ class SubscriptionClient {
3974
4152
  };
3975
4153
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3976
4154
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAvailableRegionsRequest.retryConfiguration, specRetryConfiguration);
4155
+ if (this.logger)
4156
+ retrier.logger = this.logger;
3977
4157
  const request = yield oci_common_1.composeRequest({
3978
4158
  baseEndpoint: this._endpoint,
3979
4159
  defaultHeaders: this._defaultHeaders,
@@ -4017,11 +4197,12 @@ class SubscriptionClient {
4017
4197
  * @param ListSubscriptionLineItemsRequest
4018
4198
  * @return ListSubscriptionLineItemsResponse
4019
4199
  * @throws OciError when an error occurs
4020
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/ListSubscriptionLineItems.ts.html |here} to see how to use ListSubscriptionLineItems API.
4200
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/ListSubscriptionLineItems.ts.html |here} to see how to use ListSubscriptionLineItems API.
4021
4201
  */
4022
4202
  listSubscriptionLineItems(listSubscriptionLineItemsRequest) {
4023
4203
  return __awaiter(this, void 0, void 0, function* () {
4024
- oci_common_1.logger.debug("Calling operation SubscriptionClient#listSubscriptionLineItems.");
4204
+ if (this.logger)
4205
+ this.logger.debug("Calling operation SubscriptionClient#listSubscriptionLineItems.");
4025
4206
  const operationName = "listSubscriptionLineItems";
4026
4207
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SubscriptionLineItemSummary/ListSubscriptionLineItems";
4027
4208
  const pathParams = {
@@ -4039,6 +4220,8 @@ class SubscriptionClient {
4039
4220
  };
4040
4221
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4041
4222
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSubscriptionLineItemsRequest.retryConfiguration, specRetryConfiguration);
4223
+ if (this.logger)
4224
+ retrier.logger = this.logger;
4042
4225
  const request = yield oci_common_1.composeRequest({
4043
4226
  baseEndpoint: this._endpoint,
4044
4227
  defaultHeaders: this._defaultHeaders,
@@ -4082,11 +4265,12 @@ class SubscriptionClient {
4082
4265
  * @param ListSubscriptionMappingsRequest
4083
4266
  * @return ListSubscriptionMappingsResponse
4084
4267
  * @throws OciError when an error occurs
4085
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/ListSubscriptionMappings.ts.html |here} to see how to use ListSubscriptionMappings API.
4268
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/ListSubscriptionMappings.ts.html |here} to see how to use ListSubscriptionMappings API.
4086
4269
  */
4087
4270
  listSubscriptionMappings(listSubscriptionMappingsRequest) {
4088
4271
  return __awaiter(this, void 0, void 0, function* () {
4089
- oci_common_1.logger.debug("Calling operation SubscriptionClient#listSubscriptionMappings.");
4272
+ if (this.logger)
4273
+ this.logger.debug("Calling operation SubscriptionClient#listSubscriptionMappings.");
4090
4274
  const operationName = "listSubscriptionMappings";
4091
4275
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/SubscriptionMapping/ListSubscriptionMappings";
4092
4276
  const pathParams = {};
@@ -4106,6 +4290,8 @@ class SubscriptionClient {
4106
4290
  };
4107
4291
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4108
4292
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSubscriptionMappingsRequest.retryConfiguration, specRetryConfiguration);
4293
+ if (this.logger)
4294
+ retrier.logger = this.logger;
4109
4295
  const request = yield oci_common_1.composeRequest({
4110
4296
  baseEndpoint: this._endpoint,
4111
4297
  defaultHeaders: this._defaultHeaders,
@@ -4149,11 +4335,12 @@ class SubscriptionClient {
4149
4335
  * @param ListSubscriptionsRequest
4150
4336
  * @return ListSubscriptionsResponse
4151
4337
  * @throws OciError when an error occurs
4152
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/ListSubscriptions.ts.html |here} to see how to use ListSubscriptions API.
4338
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/ListSubscriptions.ts.html |here} to see how to use ListSubscriptions API.
4153
4339
  */
4154
4340
  listSubscriptions(listSubscriptionsRequest) {
4155
4341
  return __awaiter(this, void 0, void 0, function* () {
4156
- oci_common_1.logger.debug("Calling operation SubscriptionClient#listSubscriptions.");
4342
+ if (this.logger)
4343
+ this.logger.debug("Calling operation SubscriptionClient#listSubscriptions.");
4157
4344
  const operationName = "listSubscriptions";
4158
4345
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/Subscription/ListSubscriptions";
4159
4346
  const pathParams = {};
@@ -4172,6 +4359,8 @@ class SubscriptionClient {
4172
4359
  };
4173
4360
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4174
4361
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSubscriptionsRequest.retryConfiguration, specRetryConfiguration);
4362
+ if (this.logger)
4363
+ retrier.logger = this.logger;
4175
4364
  const request = yield oci_common_1.composeRequest({
4176
4365
  baseEndpoint: this._endpoint,
4177
4366
  defaultHeaders: this._defaultHeaders,
@@ -4221,7 +4410,7 @@ var WorkRequestApiKeys;
4221
4410
  */
4222
4411
  class WorkRequestClient {
4223
4412
  constructor(params, clientConfiguration) {
4224
- this["_realmSpecificEndpointTemplateEnabled"] = false;
4413
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
4225
4414
  this["_endpoint"] = "";
4226
4415
  this["_defaultHeaders"] = {};
4227
4416
  this._circuitBreaker = null;
@@ -4280,7 +4469,11 @@ class WorkRequestClient {
4280
4469
  set endpoint(endpoint) {
4281
4470
  this._endpoint = endpoint;
4282
4471
  this._endpoint = this._endpoint + "/20230401";
4283
- oci_common_1.logger.info(`WorkRequestClient endpoint set to ${this._endpoint}`);
4472
+ if (this.logger)
4473
+ this.logger.info(`WorkRequestClient endpoint set to ${this._endpoint}`);
4474
+ }
4475
+ get logger() {
4476
+ return common.LOG.logger;
4284
4477
  }
4285
4478
  /**
4286
4479
  * Determines whether realm specific endpoint should be used or not.
@@ -4289,7 +4482,8 @@ class WorkRequestClient {
4289
4482
  */
4290
4483
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
4291
4484
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
4292
- oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
4485
+ if (this.logger)
4486
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
4293
4487
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
4294
4488
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(WorkRequestClient.serviceEndpointTemplate, this._region, WorkRequestClient.endpointServiceName);
4295
4489
  }
@@ -4355,11 +4549,12 @@ class WorkRequestClient {
4355
4549
  * @param GetWorkRequestRequest
4356
4550
  * @return GetWorkRequestResponse
4357
4551
  * @throws OciError when an error occurs
4358
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
4552
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
4359
4553
  */
4360
4554
  getWorkRequest(getWorkRequestRequest) {
4361
4555
  return __awaiter(this, void 0, void 0, function* () {
4362
- oci_common_1.logger.debug("Calling operation WorkRequestClient#getWorkRequest.");
4556
+ if (this.logger)
4557
+ this.logger.debug("Calling operation WorkRequestClient#getWorkRequest.");
4363
4558
  const operationName = "getWorkRequest";
4364
4559
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/WorkRequest/GetWorkRequest";
4365
4560
  const pathParams = {
@@ -4372,6 +4567,8 @@ class WorkRequestClient {
4372
4567
  };
4373
4568
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4374
4569
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
4570
+ if (this.logger)
4571
+ retrier.logger = this.logger;
4375
4572
  const request = yield oci_common_1.composeRequest({
4376
4573
  baseEndpoint: this._endpoint,
4377
4574
  defaultHeaders: this._defaultHeaders,
@@ -4416,11 +4613,12 @@ class WorkRequestClient {
4416
4613
  * @param ListWorkRequestErrorsRequest
4417
4614
  * @return ListWorkRequestErrorsResponse
4418
4615
  * @throws OciError when an error occurs
4419
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
4616
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
4420
4617
  */
4421
4618
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
4422
4619
  return __awaiter(this, void 0, void 0, function* () {
4423
- oci_common_1.logger.debug("Calling operation WorkRequestClient#listWorkRequestErrors.");
4620
+ if (this.logger)
4621
+ this.logger.debug("Calling operation WorkRequestClient#listWorkRequestErrors.");
4424
4622
  const operationName = "listWorkRequestErrors";
4425
4623
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/WorkRequestError/ListWorkRequestErrors";
4426
4624
  const pathParams = {
@@ -4437,6 +4635,8 @@ class WorkRequestClient {
4437
4635
  };
4438
4636
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4439
4637
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
4638
+ if (this.logger)
4639
+ retrier.logger = this.logger;
4440
4640
  const request = yield oci_common_1.composeRequest({
4441
4641
  baseEndpoint: this._endpoint,
4442
4642
  defaultHeaders: this._defaultHeaders,
@@ -4481,11 +4681,12 @@ class WorkRequestClient {
4481
4681
  * @param ListWorkRequestLogsRequest
4482
4682
  * @return ListWorkRequestLogsResponse
4483
4683
  * @throws OciError when an error occurs
4484
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
4684
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
4485
4685
  */
4486
4686
  listWorkRequestLogs(listWorkRequestLogsRequest) {
4487
4687
  return __awaiter(this, void 0, void 0, function* () {
4488
- oci_common_1.logger.debug("Calling operation WorkRequestClient#listWorkRequestLogs.");
4688
+ if (this.logger)
4689
+ this.logger.debug("Calling operation WorkRequestClient#listWorkRequestLogs.");
4489
4690
  const operationName = "listWorkRequestLogs";
4490
4691
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/WorkRequestLogEntry/ListWorkRequestLogs";
4491
4692
  const pathParams = {
@@ -4502,6 +4703,8 @@ class WorkRequestClient {
4502
4703
  };
4503
4704
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4504
4705
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
4706
+ if (this.logger)
4707
+ retrier.logger = this.logger;
4505
4708
  const request = yield oci_common_1.composeRequest({
4506
4709
  baseEndpoint: this._endpoint,
4507
4710
  defaultHeaders: this._defaultHeaders,
@@ -4546,11 +4749,12 @@ class WorkRequestClient {
4546
4749
  * @param ListWorkRequestsRequest
4547
4750
  * @return ListWorkRequestsResponse
4548
4751
  * @throws OciError when an error occurs
4549
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/tenantmanagercontrolplane/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
4752
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/tenantmanagercontrolplane/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
4550
4753
  */
4551
4754
  listWorkRequests(listWorkRequestsRequest) {
4552
4755
  return __awaiter(this, void 0, void 0, function* () {
4553
- oci_common_1.logger.debug("Calling operation WorkRequestClient#listWorkRequests.");
4756
+ if (this.logger)
4757
+ this.logger.debug("Calling operation WorkRequestClient#listWorkRequests.");
4554
4758
  const operationName = "listWorkRequests";
4555
4759
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/organizations/20230401/WorkRequest/ListWorkRequests";
4556
4760
  const pathParams = {};
@@ -4566,6 +4770,8 @@ class WorkRequestClient {
4566
4770
  };
4567
4771
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
4568
4772
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
4773
+ if (this.logger)
4774
+ retrier.logger = this.logger;
4569
4775
  const request = yield oci_common_1.composeRequest({
4570
4776
  baseEndpoint: this._endpoint,
4571
4777
  defaultHeaders: this._defaultHeaders,