oci-tenantmanagercontrolplane 2.79.0 → 2.79.1

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