oci-lockbox 2.78.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 (27) hide show
  1. package/lib/client.d.ts +23 -24
  2. package/lib/client.js +48 -122
  3. package/lib/client.js.map +1 -1
  4. package/lib/request/cancel-work-request-request.d.ts +1 -1
  5. package/lib/request/change-approval-template-compartment-request.d.ts +1 -1
  6. package/lib/request/change-lockbox-compartment-request.d.ts +1 -1
  7. package/lib/request/create-access-request-request.d.ts +1 -1
  8. package/lib/request/create-approval-template-request.d.ts +1 -1
  9. package/lib/request/create-lockbox-request.d.ts +1 -1
  10. package/lib/request/delete-approval-template-request.d.ts +1 -1
  11. package/lib/request/delete-lockbox-request.d.ts +1 -1
  12. package/lib/request/export-access-requests-request.d.ts +1 -1
  13. package/lib/request/get-access-materials-request.d.ts +1 -1
  14. package/lib/request/get-access-request-request.d.ts +1 -1
  15. package/lib/request/get-approval-template-request.d.ts +1 -1
  16. package/lib/request/get-lockbox-request.d.ts +1 -1
  17. package/lib/request/get-work-request-request.d.ts +1 -1
  18. package/lib/request/handle-access-request-request.d.ts +1 -1
  19. package/lib/request/list-access-requests-request.d.ts +1 -1
  20. package/lib/request/list-approval-templates-request.d.ts +1 -1
  21. package/lib/request/list-lockboxes-request.d.ts +1 -1
  22. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  23. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  24. package/lib/request/list-work-requests-request.d.ts +1 -1
  25. package/lib/request/update-approval-template-request.d.ts +1 -1
  26. package/lib/request/update-lockbox-request.d.ts +1 -1
  27. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -119,11 +119,7 @@ class LockboxClient {
119
119
  set endpoint(endpoint) {
120
120
  this._endpoint = endpoint;
121
121
  this._endpoint = this._endpoint + "/20220126";
122
- if (this.logger)
123
- this.logger.info(`LockboxClient endpoint set to ${this._endpoint}`);
124
- }
125
- get logger() {
126
- return common.LOG.logger;
122
+ oci_common_1.logger.info(`LockboxClient endpoint set to ${this._endpoint}`);
127
123
  }
128
124
  /**
129
125
  * Determines whether realm specific endpoint should be used or not.
@@ -132,8 +128,7 @@ class LockboxClient {
132
128
  */
133
129
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
134
130
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
135
- if (this.logger)
136
- this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
131
+ oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
137
132
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
138
133
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(LockboxClient.serviceEndpointTemplate, this._region, LockboxClient.endpointServiceName);
139
134
  }
@@ -199,12 +194,11 @@ class LockboxClient {
199
194
  * @param CancelWorkRequestRequest
200
195
  * @return CancelWorkRequestResponse
201
196
  * @throws OciError when an error occurs
202
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
197
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
203
198
  */
204
199
  cancelWorkRequest(cancelWorkRequestRequest) {
205
200
  return __awaiter(this, void 0, void 0, function* () {
206
- if (this.logger)
207
- this.logger.debug("Calling operation LockboxClient#cancelWorkRequest.");
201
+ oci_common_1.logger.debug("Calling operation LockboxClient#cancelWorkRequest.");
208
202
  const operationName = "cancelWorkRequest";
209
203
  const apiReferenceLink = "";
210
204
  const pathParams = {
@@ -218,8 +212,6 @@ class LockboxClient {
218
212
  };
219
213
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
220
214
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
221
- if (this.logger)
222
- retrier.logger = this.logger;
223
215
  const request = yield oci_common_1.composeRequest({
224
216
  baseEndpoint: this._endpoint,
225
217
  defaultHeaders: this._defaultHeaders,
@@ -254,12 +246,11 @@ class LockboxClient {
254
246
  * @param ChangeApprovalTemplateCompartmentRequest
255
247
  * @return ChangeApprovalTemplateCompartmentResponse
256
248
  * @throws OciError when an error occurs
257
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/ChangeApprovalTemplateCompartment.ts.html |here} to see how to use ChangeApprovalTemplateCompartment API.
249
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/ChangeApprovalTemplateCompartment.ts.html |here} to see how to use ChangeApprovalTemplateCompartment API.
258
250
  */
259
251
  changeApprovalTemplateCompartment(changeApprovalTemplateCompartmentRequest) {
260
252
  return __awaiter(this, void 0, void 0, function* () {
261
- if (this.logger)
262
- this.logger.debug("Calling operation LockboxClient#changeApprovalTemplateCompartment.");
253
+ oci_common_1.logger.debug("Calling operation LockboxClient#changeApprovalTemplateCompartment.");
263
254
  const operationName = "changeApprovalTemplateCompartment";
264
255
  const apiReferenceLink = "";
265
256
  const pathParams = {
@@ -274,8 +265,6 @@ class LockboxClient {
274
265
  };
275
266
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
276
267
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeApprovalTemplateCompartmentRequest.retryConfiguration, specRetryConfiguration);
277
- if (this.logger)
278
- retrier.logger = this.logger;
279
268
  const request = yield oci_common_1.composeRequest({
280
269
  baseEndpoint: this._endpoint,
281
270
  defaultHeaders: this._defaultHeaders,
@@ -311,12 +300,11 @@ class LockboxClient {
311
300
  * @param ChangeLockboxCompartmentRequest
312
301
  * @return ChangeLockboxCompartmentResponse
313
302
  * @throws OciError when an error occurs
314
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/ChangeLockboxCompartment.ts.html |here} to see how to use ChangeLockboxCompartment API.
303
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/ChangeLockboxCompartment.ts.html |here} to see how to use ChangeLockboxCompartment API.
315
304
  */
316
305
  changeLockboxCompartment(changeLockboxCompartmentRequest) {
317
306
  return __awaiter(this, void 0, void 0, function* () {
318
- if (this.logger)
319
- this.logger.debug("Calling operation LockboxClient#changeLockboxCompartment.");
307
+ oci_common_1.logger.debug("Calling operation LockboxClient#changeLockboxCompartment.");
320
308
  const operationName = "changeLockboxCompartment";
321
309
  const apiReferenceLink = "";
322
310
  const pathParams = {
@@ -331,8 +319,6 @@ class LockboxClient {
331
319
  };
332
320
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
333
321
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeLockboxCompartmentRequest.retryConfiguration, specRetryConfiguration);
334
- if (this.logger)
335
- retrier.logger = this.logger;
336
322
  const request = yield oci_common_1.composeRequest({
337
323
  baseEndpoint: this._endpoint,
338
324
  defaultHeaders: this._defaultHeaders,
@@ -369,12 +355,11 @@ class LockboxClient {
369
355
  * @param CreateAccessRequestRequest
370
356
  * @return CreateAccessRequestResponse
371
357
  * @throws OciError when an error occurs
372
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/CreateAccessRequest.ts.html |here} to see how to use CreateAccessRequest API.
358
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/CreateAccessRequest.ts.html |here} to see how to use CreateAccessRequest API.
373
359
  */
374
360
  createAccessRequest(createAccessRequestRequest) {
375
361
  return __awaiter(this, void 0, void 0, function* () {
376
- if (this.logger)
377
- this.logger.debug("Calling operation LockboxClient#createAccessRequest.");
362
+ oci_common_1.logger.debug("Calling operation LockboxClient#createAccessRequest.");
378
363
  const operationName = "createAccessRequest";
379
364
  const apiReferenceLink = "";
380
365
  const pathParams = {};
@@ -386,8 +371,6 @@ class LockboxClient {
386
371
  };
387
372
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
388
373
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAccessRequestRequest.retryConfiguration, specRetryConfiguration);
389
- if (this.logger)
390
- retrier.logger = this.logger;
391
374
  const request = yield oci_common_1.composeRequest({
392
375
  baseEndpoint: this._endpoint,
393
376
  defaultHeaders: this._defaultHeaders,
@@ -443,12 +426,11 @@ class LockboxClient {
443
426
  * @param CreateApprovalTemplateRequest
444
427
  * @return CreateApprovalTemplateResponse
445
428
  * @throws OciError when an error occurs
446
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/CreateApprovalTemplate.ts.html |here} to see how to use CreateApprovalTemplate API.
429
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/CreateApprovalTemplate.ts.html |here} to see how to use CreateApprovalTemplate API.
447
430
  */
448
431
  createApprovalTemplate(createApprovalTemplateRequest) {
449
432
  return __awaiter(this, void 0, void 0, function* () {
450
- if (this.logger)
451
- this.logger.debug("Calling operation LockboxClient#createApprovalTemplate.");
433
+ oci_common_1.logger.debug("Calling operation LockboxClient#createApprovalTemplate.");
452
434
  const operationName = "createApprovalTemplate";
453
435
  const apiReferenceLink = "";
454
436
  const pathParams = {};
@@ -460,8 +442,6 @@ class LockboxClient {
460
442
  };
461
443
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
462
444
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createApprovalTemplateRequest.retryConfiguration, specRetryConfiguration);
463
- if (this.logger)
464
- retrier.logger = this.logger;
465
445
  const request = yield oci_common_1.composeRequest({
466
446
  baseEndpoint: this._endpoint,
467
447
  defaultHeaders: this._defaultHeaders,
@@ -512,12 +492,11 @@ class LockboxClient {
512
492
  * @param CreateLockboxRequest
513
493
  * @return CreateLockboxResponse
514
494
  * @throws OciError when an error occurs
515
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/CreateLockbox.ts.html |here} to see how to use CreateLockbox API.
495
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/CreateLockbox.ts.html |here} to see how to use CreateLockbox API.
516
496
  */
517
497
  createLockbox(createLockboxRequest) {
518
498
  return __awaiter(this, void 0, void 0, function* () {
519
- if (this.logger)
520
- this.logger.debug("Calling operation LockboxClient#createLockbox.");
499
+ oci_common_1.logger.debug("Calling operation LockboxClient#createLockbox.");
521
500
  const operationName = "createLockbox";
522
501
  const apiReferenceLink = "";
523
502
  const pathParams = {};
@@ -529,8 +508,6 @@ class LockboxClient {
529
508
  };
530
509
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
531
510
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createLockboxRequest.retryConfiguration, specRetryConfiguration);
532
- if (this.logger)
533
- retrier.logger = this.logger;
534
511
  const request = yield oci_common_1.composeRequest({
535
512
  baseEndpoint: this._endpoint,
536
513
  defaultHeaders: this._defaultHeaders,
@@ -580,12 +557,11 @@ class LockboxClient {
580
557
  * @param DeleteApprovalTemplateRequest
581
558
  * @return DeleteApprovalTemplateResponse
582
559
  * @throws OciError when an error occurs
583
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/DeleteApprovalTemplate.ts.html |here} to see how to use DeleteApprovalTemplate API.
560
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/DeleteApprovalTemplate.ts.html |here} to see how to use DeleteApprovalTemplate API.
584
561
  */
585
562
  deleteApprovalTemplate(deleteApprovalTemplateRequest) {
586
563
  return __awaiter(this, void 0, void 0, function* () {
587
- if (this.logger)
588
- this.logger.debug("Calling operation LockboxClient#deleteApprovalTemplate.");
564
+ oci_common_1.logger.debug("Calling operation LockboxClient#deleteApprovalTemplate.");
589
565
  const operationName = "deleteApprovalTemplate";
590
566
  const apiReferenceLink = "";
591
567
  const pathParams = {
@@ -599,8 +575,6 @@ class LockboxClient {
599
575
  };
600
576
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
601
577
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteApprovalTemplateRequest.retryConfiguration, specRetryConfiguration);
602
- if (this.logger)
603
- retrier.logger = this.logger;
604
578
  const request = yield oci_common_1.composeRequest({
605
579
  baseEndpoint: this._endpoint,
606
580
  defaultHeaders: this._defaultHeaders,
@@ -635,12 +609,11 @@ class LockboxClient {
635
609
  * @param DeleteLockboxRequest
636
610
  * @return DeleteLockboxResponse
637
611
  * @throws OciError when an error occurs
638
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/DeleteLockbox.ts.html |here} to see how to use DeleteLockbox API.
612
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/DeleteLockbox.ts.html |here} to see how to use DeleteLockbox API.
639
613
  */
640
614
  deleteLockbox(deleteLockboxRequest) {
641
615
  return __awaiter(this, void 0, void 0, function* () {
642
- if (this.logger)
643
- this.logger.debug("Calling operation LockboxClient#deleteLockbox.");
616
+ oci_common_1.logger.debug("Calling operation LockboxClient#deleteLockbox.");
644
617
  const operationName = "deleteLockbox";
645
618
  const apiReferenceLink = "";
646
619
  const pathParams = {
@@ -655,8 +628,6 @@ class LockboxClient {
655
628
  };
656
629
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
657
630
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLockboxRequest.retryConfiguration, specRetryConfiguration);
658
- if (this.logger)
659
- retrier.logger = this.logger;
660
631
  const request = yield oci_common_1.composeRequest({
661
632
  baseEndpoint: this._endpoint,
662
633
  defaultHeaders: this._defaultHeaders,
@@ -692,12 +663,11 @@ class LockboxClient {
692
663
  * @param ExportAccessRequestsRequest
693
664
  * @return ExportAccessRequestsResponse
694
665
  * @throws OciError when an error occurs
695
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/ExportAccessRequests.ts.html |here} to see how to use ExportAccessRequests API.
666
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/ExportAccessRequests.ts.html |here} to see how to use ExportAccessRequests API.
696
667
  */
697
668
  exportAccessRequests(exportAccessRequestsRequest) {
698
669
  return __awaiter(this, void 0, void 0, function* () {
699
- if (this.logger)
700
- this.logger.debug("Calling operation LockboxClient#exportAccessRequests.");
670
+ oci_common_1.logger.debug("Calling operation LockboxClient#exportAccessRequests.");
701
671
  const operationName = "exportAccessRequests";
702
672
  const apiReferenceLink = "";
703
673
  const pathParams = {};
@@ -719,8 +689,6 @@ class LockboxClient {
719
689
  };
720
690
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
721
691
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, exportAccessRequestsRequest.retryConfiguration, specRetryConfiguration);
722
- if (this.logger)
723
- retrier.logger = this.logger;
724
692
  const request = yield oci_common_1.composeRequest({
725
693
  baseEndpoint: this._endpoint,
726
694
  defaultHeaders: this._defaultHeaders,
@@ -760,12 +728,11 @@ class LockboxClient {
760
728
  * @param GetAccessMaterialsRequest
761
729
  * @return GetAccessMaterialsResponse
762
730
  * @throws OciError when an error occurs
763
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/GetAccessMaterials.ts.html |here} to see how to use GetAccessMaterials API.
731
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/GetAccessMaterials.ts.html |here} to see how to use GetAccessMaterials API.
764
732
  */
765
733
  getAccessMaterials(getAccessMaterialsRequest) {
766
734
  return __awaiter(this, void 0, void 0, function* () {
767
- if (this.logger)
768
- this.logger.debug("Calling operation LockboxClient#getAccessMaterials.");
735
+ oci_common_1.logger.debug("Calling operation LockboxClient#getAccessMaterials.");
769
736
  const operationName = "getAccessMaterials";
770
737
  const apiReferenceLink = "";
771
738
  const pathParams = {
@@ -778,8 +745,6 @@ class LockboxClient {
778
745
  };
779
746
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
780
747
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAccessMaterialsRequest.retryConfiguration, specRetryConfiguration);
781
- if (this.logger)
782
- retrier.logger = this.logger;
783
748
  const request = yield oci_common_1.composeRequest({
784
749
  baseEndpoint: this._endpoint,
785
750
  defaultHeaders: this._defaultHeaders,
@@ -818,12 +783,11 @@ class LockboxClient {
818
783
  * @param GetAccessRequestRequest
819
784
  * @return GetAccessRequestResponse
820
785
  * @throws OciError when an error occurs
821
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/GetAccessRequest.ts.html |here} to see how to use GetAccessRequest API.
786
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/GetAccessRequest.ts.html |here} to see how to use GetAccessRequest API.
822
787
  */
823
788
  getAccessRequest(getAccessRequestRequest) {
824
789
  return __awaiter(this, void 0, void 0, function* () {
825
- if (this.logger)
826
- this.logger.debug("Calling operation LockboxClient#getAccessRequest.");
790
+ oci_common_1.logger.debug("Calling operation LockboxClient#getAccessRequest.");
827
791
  const operationName = "getAccessRequest";
828
792
  const apiReferenceLink = "";
829
793
  const pathParams = {
@@ -836,8 +800,6 @@ class LockboxClient {
836
800
  };
837
801
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
838
802
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAccessRequestRequest.retryConfiguration, specRetryConfiguration);
839
- if (this.logger)
840
- retrier.logger = this.logger;
841
803
  const request = yield oci_common_1.composeRequest({
842
804
  baseEndpoint: this._endpoint,
843
805
  defaultHeaders: this._defaultHeaders,
@@ -881,12 +843,11 @@ class LockboxClient {
881
843
  * @param GetApprovalTemplateRequest
882
844
  * @return GetApprovalTemplateResponse
883
845
  * @throws OciError when an error occurs
884
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/GetApprovalTemplate.ts.html |here} to see how to use GetApprovalTemplate API.
846
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/GetApprovalTemplate.ts.html |here} to see how to use GetApprovalTemplate API.
885
847
  */
886
848
  getApprovalTemplate(getApprovalTemplateRequest) {
887
849
  return __awaiter(this, void 0, void 0, function* () {
888
- if (this.logger)
889
- this.logger.debug("Calling operation LockboxClient#getApprovalTemplate.");
850
+ oci_common_1.logger.debug("Calling operation LockboxClient#getApprovalTemplate.");
890
851
  const operationName = "getApprovalTemplate";
891
852
  const apiReferenceLink = "";
892
853
  const pathParams = {
@@ -899,8 +860,6 @@ class LockboxClient {
899
860
  };
900
861
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
901
862
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getApprovalTemplateRequest.retryConfiguration, specRetryConfiguration);
902
- if (this.logger)
903
- retrier.logger = this.logger;
904
863
  const request = yield oci_common_1.composeRequest({
905
864
  baseEndpoint: this._endpoint,
906
865
  defaultHeaders: this._defaultHeaders,
@@ -944,12 +903,11 @@ class LockboxClient {
944
903
  * @param GetLockboxRequest
945
904
  * @return GetLockboxResponse
946
905
  * @throws OciError when an error occurs
947
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/GetLockbox.ts.html |here} to see how to use GetLockbox API.
906
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/GetLockbox.ts.html |here} to see how to use GetLockbox API.
948
907
  */
949
908
  getLockbox(getLockboxRequest) {
950
909
  return __awaiter(this, void 0, void 0, function* () {
951
- if (this.logger)
952
- this.logger.debug("Calling operation LockboxClient#getLockbox.");
910
+ oci_common_1.logger.debug("Calling operation LockboxClient#getLockbox.");
953
911
  const operationName = "getLockbox";
954
912
  const apiReferenceLink = "";
955
913
  const pathParams = {
@@ -962,8 +920,6 @@ class LockboxClient {
962
920
  };
963
921
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
964
922
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLockboxRequest.retryConfiguration, specRetryConfiguration);
965
- if (this.logger)
966
- retrier.logger = this.logger;
967
923
  const request = yield oci_common_1.composeRequest({
968
924
  baseEndpoint: this._endpoint,
969
925
  defaultHeaders: this._defaultHeaders,
@@ -1007,12 +963,11 @@ class LockboxClient {
1007
963
  * @param GetWorkRequestRequest
1008
964
  * @return GetWorkRequestResponse
1009
965
  * @throws OciError when an error occurs
1010
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
966
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1011
967
  */
1012
968
  getWorkRequest(getWorkRequestRequest) {
1013
969
  return __awaiter(this, void 0, void 0, function* () {
1014
- if (this.logger)
1015
- this.logger.debug("Calling operation LockboxClient#getWorkRequest.");
970
+ oci_common_1.logger.debug("Calling operation LockboxClient#getWorkRequest.");
1016
971
  const operationName = "getWorkRequest";
1017
972
  const apiReferenceLink = "";
1018
973
  const pathParams = {
@@ -1025,8 +980,6 @@ class LockboxClient {
1025
980
  };
1026
981
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1027
982
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
1028
- if (this.logger)
1029
- retrier.logger = this.logger;
1030
983
  const request = yield oci_common_1.composeRequest({
1031
984
  baseEndpoint: this._endpoint,
1032
985
  defaultHeaders: this._defaultHeaders,
@@ -1075,12 +1028,11 @@ class LockboxClient {
1075
1028
  * @param HandleAccessRequestRequest
1076
1029
  * @return HandleAccessRequestResponse
1077
1030
  * @throws OciError when an error occurs
1078
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/HandleAccessRequest.ts.html |here} to see how to use HandleAccessRequest API.
1031
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/HandleAccessRequest.ts.html |here} to see how to use HandleAccessRequest API.
1079
1032
  */
1080
1033
  handleAccessRequest(handleAccessRequestRequest) {
1081
1034
  return __awaiter(this, void 0, void 0, function* () {
1082
- if (this.logger)
1083
- this.logger.debug("Calling operation LockboxClient#handleAccessRequest.");
1035
+ oci_common_1.logger.debug("Calling operation LockboxClient#handleAccessRequest.");
1084
1036
  const operationName = "handleAccessRequest";
1085
1037
  const apiReferenceLink = "";
1086
1038
  const pathParams = {
@@ -1095,8 +1047,6 @@ class LockboxClient {
1095
1047
  };
1096
1048
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1097
1049
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, handleAccessRequestRequest.retryConfiguration, specRetryConfiguration);
1098
- if (this.logger)
1099
- retrier.logger = this.logger;
1100
1050
  const request = yield oci_common_1.composeRequest({
1101
1051
  baseEndpoint: this._endpoint,
1102
1052
  defaultHeaders: this._defaultHeaders,
@@ -1138,12 +1088,11 @@ class LockboxClient {
1138
1088
  * @param ListAccessRequestsRequest
1139
1089
  * @return ListAccessRequestsResponse
1140
1090
  * @throws OciError when an error occurs
1141
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/ListAccessRequests.ts.html |here} to see how to use ListAccessRequests API.
1091
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/ListAccessRequests.ts.html |here} to see how to use ListAccessRequests API.
1142
1092
  */
1143
1093
  listAccessRequests(listAccessRequestsRequest) {
1144
1094
  return __awaiter(this, void 0, void 0, function* () {
1145
- if (this.logger)
1146
- this.logger.debug("Calling operation LockboxClient#listAccessRequests.");
1095
+ oci_common_1.logger.debug("Calling operation LockboxClient#listAccessRequests.");
1147
1096
  const operationName = "listAccessRequests";
1148
1097
  const apiReferenceLink = "";
1149
1098
  const pathParams = {};
@@ -1168,8 +1117,6 @@ class LockboxClient {
1168
1117
  };
1169
1118
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1170
1119
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAccessRequestsRequest.retryConfiguration, specRetryConfiguration);
1171
- if (this.logger)
1172
- retrier.logger = this.logger;
1173
1120
  const request = yield oci_common_1.composeRequest({
1174
1121
  baseEndpoint: this._endpoint,
1175
1122
  defaultHeaders: this._defaultHeaders,
@@ -1214,12 +1161,11 @@ class LockboxClient {
1214
1161
  * @param ListApprovalTemplatesRequest
1215
1162
  * @return ListApprovalTemplatesResponse
1216
1163
  * @throws OciError when an error occurs
1217
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/ListApprovalTemplates.ts.html |here} to see how to use ListApprovalTemplates API.
1164
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/ListApprovalTemplates.ts.html |here} to see how to use ListApprovalTemplates API.
1218
1165
  */
1219
1166
  listApprovalTemplates(listApprovalTemplatesRequest) {
1220
1167
  return __awaiter(this, void 0, void 0, function* () {
1221
- if (this.logger)
1222
- this.logger.debug("Calling operation LockboxClient#listApprovalTemplates.");
1168
+ oci_common_1.logger.debug("Calling operation LockboxClient#listApprovalTemplates.");
1223
1169
  const operationName = "listApprovalTemplates";
1224
1170
  const apiReferenceLink = "";
1225
1171
  const pathParams = {};
@@ -1239,8 +1185,6 @@ class LockboxClient {
1239
1185
  };
1240
1186
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1241
1187
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listApprovalTemplatesRequest.retryConfiguration, specRetryConfiguration);
1242
- if (this.logger)
1243
- retrier.logger = this.logger;
1244
1188
  const request = yield oci_common_1.composeRequest({
1245
1189
  baseEndpoint: this._endpoint,
1246
1190
  defaultHeaders: this._defaultHeaders,
@@ -1285,12 +1229,11 @@ class LockboxClient {
1285
1229
  * @param ListLockboxesRequest
1286
1230
  * @return ListLockboxesResponse
1287
1231
  * @throws OciError when an error occurs
1288
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/ListLockboxes.ts.html |here} to see how to use ListLockboxes API.
1232
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/ListLockboxes.ts.html |here} to see how to use ListLockboxes API.
1289
1233
  */
1290
1234
  listLockboxes(listLockboxesRequest) {
1291
1235
  return __awaiter(this, void 0, void 0, function* () {
1292
- if (this.logger)
1293
- this.logger.debug("Calling operation LockboxClient#listLockboxes.");
1236
+ oci_common_1.logger.debug("Calling operation LockboxClient#listLockboxes.");
1294
1237
  const operationName = "listLockboxes";
1295
1238
  const apiReferenceLink = "";
1296
1239
  const pathParams = {};
@@ -1313,8 +1256,6 @@ class LockboxClient {
1313
1256
  };
1314
1257
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1315
1258
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLockboxesRequest.retryConfiguration, specRetryConfiguration);
1316
- if (this.logger)
1317
- retrier.logger = this.logger;
1318
1259
  const request = yield oci_common_1.composeRequest({
1319
1260
  baseEndpoint: this._endpoint,
1320
1261
  defaultHeaders: this._defaultHeaders,
@@ -1359,12 +1300,11 @@ class LockboxClient {
1359
1300
  * @param ListWorkRequestErrorsRequest
1360
1301
  * @return ListWorkRequestErrorsResponse
1361
1302
  * @throws OciError when an error occurs
1362
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1303
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1363
1304
  */
1364
1305
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1365
1306
  return __awaiter(this, void 0, void 0, function* () {
1366
- if (this.logger)
1367
- this.logger.debug("Calling operation LockboxClient#listWorkRequestErrors.");
1307
+ oci_common_1.logger.debug("Calling operation LockboxClient#listWorkRequestErrors.");
1368
1308
  const operationName = "listWorkRequestErrors";
1369
1309
  const apiReferenceLink = "";
1370
1310
  const pathParams = {
@@ -1382,8 +1322,6 @@ class LockboxClient {
1382
1322
  };
1383
1323
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1384
1324
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
1385
- if (this.logger)
1386
- retrier.logger = this.logger;
1387
1325
  const request = yield oci_common_1.composeRequest({
1388
1326
  baseEndpoint: this._endpoint,
1389
1327
  defaultHeaders: this._defaultHeaders,
@@ -1428,12 +1366,11 @@ class LockboxClient {
1428
1366
  * @param ListWorkRequestLogsRequest
1429
1367
  * @return ListWorkRequestLogsResponse
1430
1368
  * @throws OciError when an error occurs
1431
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1369
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1432
1370
  */
1433
1371
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1434
1372
  return __awaiter(this, void 0, void 0, function* () {
1435
- if (this.logger)
1436
- this.logger.debug("Calling operation LockboxClient#listWorkRequestLogs.");
1373
+ oci_common_1.logger.debug("Calling operation LockboxClient#listWorkRequestLogs.");
1437
1374
  const operationName = "listWorkRequestLogs";
1438
1375
  const apiReferenceLink = "";
1439
1376
  const pathParams = {
@@ -1451,8 +1388,6 @@ class LockboxClient {
1451
1388
  };
1452
1389
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1453
1390
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
1454
- if (this.logger)
1455
- retrier.logger = this.logger;
1456
1391
  const request = yield oci_common_1.composeRequest({
1457
1392
  baseEndpoint: this._endpoint,
1458
1393
  defaultHeaders: this._defaultHeaders,
@@ -1497,12 +1432,11 @@ class LockboxClient {
1497
1432
  * @param ListWorkRequestsRequest
1498
1433
  * @return ListWorkRequestsResponse
1499
1434
  * @throws OciError when an error occurs
1500
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1435
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1501
1436
  */
1502
1437
  listWorkRequests(listWorkRequestsRequest) {
1503
1438
  return __awaiter(this, void 0, void 0, function* () {
1504
- if (this.logger)
1505
- this.logger.debug("Calling operation LockboxClient#listWorkRequests.");
1439
+ oci_common_1.logger.debug("Calling operation LockboxClient#listWorkRequests.");
1506
1440
  const operationName = "listWorkRequests";
1507
1441
  const apiReferenceLink = "";
1508
1442
  const pathParams = {};
@@ -1522,8 +1456,6 @@ class LockboxClient {
1522
1456
  };
1523
1457
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1524
1458
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
1525
- if (this.logger)
1526
- retrier.logger = this.logger;
1527
1459
  const request = yield oci_common_1.composeRequest({
1528
1460
  baseEndpoint: this._endpoint,
1529
1461
  defaultHeaders: this._defaultHeaders,
@@ -1567,12 +1499,11 @@ class LockboxClient {
1567
1499
  * @param UpdateApprovalTemplateRequest
1568
1500
  * @return UpdateApprovalTemplateResponse
1569
1501
  * @throws OciError when an error occurs
1570
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/UpdateApprovalTemplate.ts.html |here} to see how to use UpdateApprovalTemplate API.
1502
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/UpdateApprovalTemplate.ts.html |here} to see how to use UpdateApprovalTemplate API.
1571
1503
  */
1572
1504
  updateApprovalTemplate(updateApprovalTemplateRequest) {
1573
1505
  return __awaiter(this, void 0, void 0, function* () {
1574
- if (this.logger)
1575
- this.logger.debug("Calling operation LockboxClient#updateApprovalTemplate.");
1506
+ oci_common_1.logger.debug("Calling operation LockboxClient#updateApprovalTemplate.");
1576
1507
  const operationName = "updateApprovalTemplate";
1577
1508
  const apiReferenceLink = "";
1578
1509
  const pathParams = {
@@ -1586,8 +1517,6 @@ class LockboxClient {
1586
1517
  };
1587
1518
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1588
1519
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateApprovalTemplateRequest.retryConfiguration, specRetryConfiguration);
1589
- if (this.logger)
1590
- retrier.logger = this.logger;
1591
1520
  const request = yield oci_common_1.composeRequest({
1592
1521
  baseEndpoint: this._endpoint,
1593
1522
  defaultHeaders: this._defaultHeaders,
@@ -1632,12 +1561,11 @@ class LockboxClient {
1632
1561
  * @param UpdateLockboxRequest
1633
1562
  * @return UpdateLockboxResponse
1634
1563
  * @throws OciError when an error occurs
1635
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/lockbox/UpdateLockbox.ts.html |here} to see how to use UpdateLockbox API.
1564
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/lockbox/UpdateLockbox.ts.html |here} to see how to use UpdateLockbox API.
1636
1565
  */
1637
1566
  updateLockbox(updateLockboxRequest) {
1638
1567
  return __awaiter(this, void 0, void 0, function* () {
1639
- if (this.logger)
1640
- this.logger.debug("Calling operation LockboxClient#updateLockbox.");
1568
+ oci_common_1.logger.debug("Calling operation LockboxClient#updateLockbox.");
1641
1569
  const operationName = "updateLockbox";
1642
1570
  const apiReferenceLink = "";
1643
1571
  const pathParams = {
@@ -1651,8 +1579,6 @@ class LockboxClient {
1651
1579
  };
1652
1580
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1653
1581
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLockboxRequest.retryConfiguration, specRetryConfiguration);
1654
- if (this.logger)
1655
- retrier.logger = this.logger;
1656
1582
  const request = yield oci_common_1.composeRequest({
1657
1583
  baseEndpoint: this._endpoint,
1658
1584
  defaultHeaders: this._defaultHeaders,