oci-blockchain 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 (31) hide show
  1. package/lib/client.d.ts +27 -28
  2. package/lib/client.js +56 -142
  3. package/lib/client.js.map +1 -1
  4. package/lib/request/change-blockchain-platform-compartment-request.d.ts +1 -1
  5. package/lib/request/create-blockchain-platform-request.d.ts +1 -1
  6. package/lib/request/create-osn-request.d.ts +1 -1
  7. package/lib/request/create-peer-request.d.ts +1 -1
  8. package/lib/request/delete-blockchain-platform-request.d.ts +1 -1
  9. package/lib/request/delete-osn-request.d.ts +1 -1
  10. package/lib/request/delete-peer-request.d.ts +1 -1
  11. package/lib/request/delete-work-request-request.d.ts +1 -1
  12. package/lib/request/get-blockchain-platform-request.d.ts +1 -1
  13. package/lib/request/get-osn-request.d.ts +1 -1
  14. package/lib/request/get-peer-request.d.ts +1 -1
  15. package/lib/request/get-work-request-request.d.ts +1 -1
  16. package/lib/request/list-blockchain-platform-patches-request.d.ts +1 -1
  17. package/lib/request/list-blockchain-platforms-request.d.ts +1 -1
  18. package/lib/request/list-osns-request.d.ts +1 -1
  19. package/lib/request/list-peers-request.d.ts +1 -1
  20. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  21. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  22. package/lib/request/list-work-requests-request.d.ts +1 -1
  23. package/lib/request/preview-scale-blockchain-platform-request.d.ts +1 -1
  24. package/lib/request/scale-blockchain-platform-request.d.ts +1 -1
  25. package/lib/request/start-blockchain-platform-request.d.ts +1 -1
  26. package/lib/request/stop-blockchain-platform-request.d.ts +1 -1
  27. package/lib/request/update-blockchain-platform-request.d.ts +1 -1
  28. package/lib/request/update-osn-request.d.ts +1 -1
  29. package/lib/request/update-peer-request.d.ts +1 -1
  30. package/lib/request/upgrade-blockchain-platform-request.d.ts +1 -1
  31. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -116,11 +116,7 @@ class BlockchainPlatformClient {
116
116
  set endpoint(endpoint) {
117
117
  this._endpoint = endpoint;
118
118
  this._endpoint = this._endpoint + "/20191010";
119
- if (this.logger)
120
- this.logger.info(`BlockchainPlatformClient endpoint set to ${this._endpoint}`);
121
- }
122
- get logger() {
123
- return common.LOG.logger;
119
+ oci_common_1.logger.info(`BlockchainPlatformClient endpoint set to ${this._endpoint}`);
124
120
  }
125
121
  /**
126
122
  * Determines whether realm specific endpoint should be used or not.
@@ -129,8 +125,7 @@ class BlockchainPlatformClient {
129
125
  */
130
126
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
131
127
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
132
- if (this.logger)
133
- this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
128
+ oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
134
129
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
135
130
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(BlockchainPlatformClient.serviceEndpointTemplate, this._region, BlockchainPlatformClient.endpointServiceName);
136
131
  }
@@ -196,12 +191,11 @@ class BlockchainPlatformClient {
196
191
  * @param ChangeBlockchainPlatformCompartmentRequest
197
192
  * @return ChangeBlockchainPlatformCompartmentResponse
198
193
  * @throws OciError when an error occurs
199
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/ChangeBlockchainPlatformCompartment.ts.html |here} to see how to use ChangeBlockchainPlatformCompartment API.
194
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/ChangeBlockchainPlatformCompartment.ts.html |here} to see how to use ChangeBlockchainPlatformCompartment API.
200
195
  */
201
196
  changeBlockchainPlatformCompartment(changeBlockchainPlatformCompartmentRequest) {
202
197
  return __awaiter(this, void 0, void 0, function* () {
203
- if (this.logger)
204
- this.logger.debug("Calling operation BlockchainPlatformClient#changeBlockchainPlatformCompartment.");
198
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#changeBlockchainPlatformCompartment.");
205
199
  const operationName = "changeBlockchainPlatformCompartment";
206
200
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/ChangeBlockchainPlatformCompartment";
207
201
  const pathParams = {
@@ -216,8 +210,6 @@ class BlockchainPlatformClient {
216
210
  };
217
211
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
218
212
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeBlockchainPlatformCompartmentRequest.retryConfiguration, specRetryConfiguration);
219
- if (this.logger)
220
- retrier.logger = this.logger;
221
213
  const request = yield oci_common_1.composeRequest({
222
214
  baseEndpoint: this._endpoint,
223
215
  defaultHeaders: this._defaultHeaders,
@@ -259,12 +251,11 @@ class BlockchainPlatformClient {
259
251
  * @param CreateBlockchainPlatformRequest
260
252
  * @return CreateBlockchainPlatformResponse
261
253
  * @throws OciError when an error occurs
262
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/CreateBlockchainPlatform.ts.html |here} to see how to use CreateBlockchainPlatform API.
254
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/CreateBlockchainPlatform.ts.html |here} to see how to use CreateBlockchainPlatform API.
263
255
  */
264
256
  createBlockchainPlatform(createBlockchainPlatformRequest) {
265
257
  return __awaiter(this, void 0, void 0, function* () {
266
- if (this.logger)
267
- this.logger.debug("Calling operation BlockchainPlatformClient#createBlockchainPlatform.");
258
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#createBlockchainPlatform.");
268
259
  const operationName = "createBlockchainPlatform";
269
260
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/CreateBlockchainPlatform";
270
261
  const pathParams = {};
@@ -276,8 +267,6 @@ class BlockchainPlatformClient {
276
267
  };
277
268
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
278
269
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
279
- if (this.logger)
280
- retrier.logger = this.logger;
281
270
  const request = yield oci_common_1.composeRequest({
282
271
  baseEndpoint: this._endpoint,
283
272
  defaultHeaders: this._defaultHeaders,
@@ -318,12 +307,11 @@ class BlockchainPlatformClient {
318
307
  * @param CreateOsnRequest
319
308
  * @return CreateOsnResponse
320
309
  * @throws OciError when an error occurs
321
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/CreateOsn.ts.html |here} to see how to use CreateOsn API.
310
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/CreateOsn.ts.html |here} to see how to use CreateOsn API.
322
311
  */
323
312
  createOsn(createOsnRequest) {
324
313
  return __awaiter(this, void 0, void 0, function* () {
325
- if (this.logger)
326
- this.logger.debug("Calling operation BlockchainPlatformClient#createOsn.");
314
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#createOsn.");
327
315
  const operationName = "createOsn";
328
316
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/CreateOsn";
329
317
  const pathParams = {
@@ -338,8 +326,6 @@ class BlockchainPlatformClient {
338
326
  };
339
327
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
340
328
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOsnRequest.retryConfiguration, specRetryConfiguration);
341
- if (this.logger)
342
- retrier.logger = this.logger;
343
329
  const request = yield oci_common_1.composeRequest({
344
330
  baseEndpoint: this._endpoint,
345
331
  defaultHeaders: this._defaultHeaders,
@@ -380,12 +366,11 @@ class BlockchainPlatformClient {
380
366
  * @param CreatePeerRequest
381
367
  * @return CreatePeerResponse
382
368
  * @throws OciError when an error occurs
383
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/CreatePeer.ts.html |here} to see how to use CreatePeer API.
369
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/CreatePeer.ts.html |here} to see how to use CreatePeer API.
384
370
  */
385
371
  createPeer(createPeerRequest) {
386
372
  return __awaiter(this, void 0, void 0, function* () {
387
- if (this.logger)
388
- this.logger.debug("Calling operation BlockchainPlatformClient#createPeer.");
373
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#createPeer.");
389
374
  const operationName = "createPeer";
390
375
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/CreatePeer";
391
376
  const pathParams = {
@@ -399,8 +384,6 @@ class BlockchainPlatformClient {
399
384
  };
400
385
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
401
386
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPeerRequest.retryConfiguration, specRetryConfiguration);
402
- if (this.logger)
403
- retrier.logger = this.logger;
404
387
  const request = yield oci_common_1.composeRequest({
405
388
  baseEndpoint: this._endpoint,
406
389
  defaultHeaders: this._defaultHeaders,
@@ -441,12 +424,11 @@ class BlockchainPlatformClient {
441
424
  * @param DeleteBlockchainPlatformRequest
442
425
  * @return DeleteBlockchainPlatformResponse
443
426
  * @throws OciError when an error occurs
444
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/DeleteBlockchainPlatform.ts.html |here} to see how to use DeleteBlockchainPlatform API.
427
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/DeleteBlockchainPlatform.ts.html |here} to see how to use DeleteBlockchainPlatform API.
445
428
  */
446
429
  deleteBlockchainPlatform(deleteBlockchainPlatformRequest) {
447
430
  return __awaiter(this, void 0, void 0, function* () {
448
- if (this.logger)
449
- this.logger.debug("Calling operation BlockchainPlatformClient#deleteBlockchainPlatform.");
431
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#deleteBlockchainPlatform.");
450
432
  const operationName = "deleteBlockchainPlatform";
451
433
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/DeleteBlockchainPlatform";
452
434
  const pathParams = {
@@ -461,8 +443,6 @@ class BlockchainPlatformClient {
461
443
  };
462
444
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
463
445
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
464
- if (this.logger)
465
- retrier.logger = this.logger;
466
446
  const request = yield oci_common_1.composeRequest({
467
447
  baseEndpoint: this._endpoint,
468
448
  defaultHeaders: this._defaultHeaders,
@@ -502,12 +482,11 @@ class BlockchainPlatformClient {
502
482
  * @param DeleteOsnRequest
503
483
  * @return DeleteOsnResponse
504
484
  * @throws OciError when an error occurs
505
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/DeleteOsn.ts.html |here} to see how to use DeleteOsn API.
485
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/DeleteOsn.ts.html |here} to see how to use DeleteOsn API.
506
486
  */
507
487
  deleteOsn(deleteOsnRequest) {
508
488
  return __awaiter(this, void 0, void 0, function* () {
509
- if (this.logger)
510
- this.logger.debug("Calling operation BlockchainPlatformClient#deleteOsn.");
489
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#deleteOsn.");
511
490
  const operationName = "deleteOsn";
512
491
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/DeleteOsn";
513
492
  const pathParams = {
@@ -522,8 +501,6 @@ class BlockchainPlatformClient {
522
501
  };
523
502
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
524
503
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOsnRequest.retryConfiguration, specRetryConfiguration);
525
- if (this.logger)
526
- retrier.logger = this.logger;
527
504
  const request = yield oci_common_1.composeRequest({
528
505
  baseEndpoint: this._endpoint,
529
506
  defaultHeaders: this._defaultHeaders,
@@ -563,12 +540,11 @@ class BlockchainPlatformClient {
563
540
  * @param DeletePeerRequest
564
541
  * @return DeletePeerResponse
565
542
  * @throws OciError when an error occurs
566
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/DeletePeer.ts.html |here} to see how to use DeletePeer API.
543
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/DeletePeer.ts.html |here} to see how to use DeletePeer API.
567
544
  */
568
545
  deletePeer(deletePeerRequest) {
569
546
  return __awaiter(this, void 0, void 0, function* () {
570
- if (this.logger)
571
- this.logger.debug("Calling operation BlockchainPlatformClient#deletePeer.");
547
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#deletePeer.");
572
548
  const operationName = "deletePeer";
573
549
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/DeletePeer";
574
550
  const pathParams = {
@@ -584,8 +560,6 @@ class BlockchainPlatformClient {
584
560
  };
585
561
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
586
562
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePeerRequest.retryConfiguration, specRetryConfiguration);
587
- if (this.logger)
588
- retrier.logger = this.logger;
589
563
  const request = yield oci_common_1.composeRequest({
590
564
  baseEndpoint: this._endpoint,
591
565
  defaultHeaders: this._defaultHeaders,
@@ -625,12 +599,11 @@ class BlockchainPlatformClient {
625
599
  * @param DeleteWorkRequestRequest
626
600
  * @return DeleteWorkRequestResponse
627
601
  * @throws OciError when an error occurs
628
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
602
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
629
603
  */
630
604
  deleteWorkRequest(deleteWorkRequestRequest) {
631
605
  return __awaiter(this, void 0, void 0, function* () {
632
- if (this.logger)
633
- this.logger.debug("Calling operation BlockchainPlatformClient#deleteWorkRequest.");
606
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#deleteWorkRequest.");
634
607
  const operationName = "deleteWorkRequest";
635
608
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/WorkRequest/DeleteWorkRequest";
636
609
  const pathParams = {
@@ -644,8 +617,6 @@ class BlockchainPlatformClient {
644
617
  };
645
618
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
646
619
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteWorkRequestRequest.retryConfiguration, specRetryConfiguration);
647
- if (this.logger)
648
- retrier.logger = this.logger;
649
620
  const request = yield oci_common_1.composeRequest({
650
621
  baseEndpoint: this._endpoint,
651
622
  defaultHeaders: this._defaultHeaders,
@@ -685,12 +656,11 @@ class BlockchainPlatformClient {
685
656
  * @param GetBlockchainPlatformRequest
686
657
  * @return GetBlockchainPlatformResponse
687
658
  * @throws OciError when an error occurs
688
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/GetBlockchainPlatform.ts.html |here} to see how to use GetBlockchainPlatform API.
659
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/GetBlockchainPlatform.ts.html |here} to see how to use GetBlockchainPlatform API.
689
660
  */
690
661
  getBlockchainPlatform(getBlockchainPlatformRequest) {
691
662
  return __awaiter(this, void 0, void 0, function* () {
692
- if (this.logger)
693
- this.logger.debug("Calling operation BlockchainPlatformClient#getBlockchainPlatform.");
663
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#getBlockchainPlatform.");
694
664
  const operationName = "getBlockchainPlatform";
695
665
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/GetBlockchainPlatform";
696
666
  const pathParams = {
@@ -703,8 +673,6 @@ class BlockchainPlatformClient {
703
673
  };
704
674
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
705
675
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
706
- if (this.logger)
707
- retrier.logger = this.logger;
708
676
  const request = yield oci_common_1.composeRequest({
709
677
  baseEndpoint: this._endpoint,
710
678
  defaultHeaders: this._defaultHeaders,
@@ -748,12 +716,11 @@ class BlockchainPlatformClient {
748
716
  * @param GetOsnRequest
749
717
  * @return GetOsnResponse
750
718
  * @throws OciError when an error occurs
751
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/GetOsn.ts.html |here} to see how to use GetOsn API.
719
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/GetOsn.ts.html |here} to see how to use GetOsn API.
752
720
  */
753
721
  getOsn(getOsnRequest) {
754
722
  return __awaiter(this, void 0, void 0, function* () {
755
- if (this.logger)
756
- this.logger.debug("Calling operation BlockchainPlatformClient#getOsn.");
723
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#getOsn.");
757
724
  const operationName = "getOsn";
758
725
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/Osn/GetOsn";
759
726
  const pathParams = {
@@ -767,8 +734,6 @@ class BlockchainPlatformClient {
767
734
  };
768
735
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
769
736
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOsnRequest.retryConfiguration, specRetryConfiguration);
770
- if (this.logger)
771
- retrier.logger = this.logger;
772
737
  const request = yield oci_common_1.composeRequest({
773
738
  baseEndpoint: this._endpoint,
774
739
  defaultHeaders: this._defaultHeaders,
@@ -812,12 +777,11 @@ class BlockchainPlatformClient {
812
777
  * @param GetPeerRequest
813
778
  * @return GetPeerResponse
814
779
  * @throws OciError when an error occurs
815
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/GetPeer.ts.html |here} to see how to use GetPeer API.
780
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/GetPeer.ts.html |here} to see how to use GetPeer API.
816
781
  */
817
782
  getPeer(getPeerRequest) {
818
783
  return __awaiter(this, void 0, void 0, function* () {
819
- if (this.logger)
820
- this.logger.debug("Calling operation BlockchainPlatformClient#getPeer.");
784
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#getPeer.");
821
785
  const operationName = "getPeer";
822
786
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/Peer/GetPeer";
823
787
  const pathParams = {
@@ -831,8 +795,6 @@ class BlockchainPlatformClient {
831
795
  };
832
796
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
833
797
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPeerRequest.retryConfiguration, specRetryConfiguration);
834
- if (this.logger)
835
- retrier.logger = this.logger;
836
798
  const request = yield oci_common_1.composeRequest({
837
799
  baseEndpoint: this._endpoint,
838
800
  defaultHeaders: this._defaultHeaders,
@@ -876,12 +838,11 @@ class BlockchainPlatformClient {
876
838
  * @param GetWorkRequestRequest
877
839
  * @return GetWorkRequestResponse
878
840
  * @throws OciError when an error occurs
879
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
841
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
880
842
  */
881
843
  getWorkRequest(getWorkRequestRequest) {
882
844
  return __awaiter(this, void 0, void 0, function* () {
883
- if (this.logger)
884
- this.logger.debug("Calling operation BlockchainPlatformClient#getWorkRequest.");
845
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#getWorkRequest.");
885
846
  const operationName = "getWorkRequest";
886
847
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/WorkRequest/GetWorkRequest";
887
848
  const pathParams = {
@@ -894,8 +855,6 @@ class BlockchainPlatformClient {
894
855
  };
895
856
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
896
857
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
897
- if (this.logger)
898
- retrier.logger = this.logger;
899
858
  const request = yield oci_common_1.composeRequest({
900
859
  baseEndpoint: this._endpoint,
901
860
  defaultHeaders: this._defaultHeaders,
@@ -944,12 +903,11 @@ class BlockchainPlatformClient {
944
903
  * @param ListBlockchainPlatformPatchesRequest
945
904
  * @return ListBlockchainPlatformPatchesResponse
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.79.0/blockchain/ListBlockchainPlatformPatches.ts.html |here} to see how to use ListBlockchainPlatformPatches API.
906
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/ListBlockchainPlatformPatches.ts.html |here} to see how to use ListBlockchainPlatformPatches API.
948
907
  */
949
908
  listBlockchainPlatformPatches(listBlockchainPlatformPatchesRequest) {
950
909
  return __awaiter(this, void 0, void 0, function* () {
951
- if (this.logger)
952
- this.logger.debug("Calling operation BlockchainPlatformClient#listBlockchainPlatformPatches.");
910
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#listBlockchainPlatformPatches.");
953
911
  const operationName = "listBlockchainPlatformPatches";
954
912
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/ListBlockchainPlatformPatches";
955
913
  const pathParams = {
@@ -965,8 +923,6 @@ class BlockchainPlatformClient {
965
923
  };
966
924
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
967
925
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBlockchainPlatformPatchesRequest.retryConfiguration, specRetryConfiguration);
968
- if (this.logger)
969
- retrier.logger = this.logger;
970
926
  const request = yield oci_common_1.composeRequest({
971
927
  baseEndpoint: this._endpoint,
972
928
  defaultHeaders: this._defaultHeaders,
@@ -1010,12 +966,11 @@ class BlockchainPlatformClient {
1010
966
  * @param ListBlockchainPlatformsRequest
1011
967
  * @return ListBlockchainPlatformsResponse
1012
968
  * @throws OciError when an error occurs
1013
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/ListBlockchainPlatforms.ts.html |here} to see how to use ListBlockchainPlatforms API.
969
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/ListBlockchainPlatforms.ts.html |here} to see how to use ListBlockchainPlatforms API.
1014
970
  */
1015
971
  listBlockchainPlatforms(listBlockchainPlatformsRequest) {
1016
972
  return __awaiter(this, void 0, void 0, function* () {
1017
- if (this.logger)
1018
- this.logger.debug("Calling operation BlockchainPlatformClient#listBlockchainPlatforms.");
973
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#listBlockchainPlatforms.");
1019
974
  const operationName = "listBlockchainPlatforms";
1020
975
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/ListBlockchainPlatforms";
1021
976
  const pathParams = {};
@@ -1034,8 +989,6 @@ class BlockchainPlatformClient {
1034
989
  };
1035
990
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1036
991
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBlockchainPlatformsRequest.retryConfiguration, specRetryConfiguration);
1037
- if (this.logger)
1038
- retrier.logger = this.logger;
1039
992
  const request = yield oci_common_1.composeRequest({
1040
993
  baseEndpoint: this._endpoint,
1041
994
  defaultHeaders: this._defaultHeaders,
@@ -1079,12 +1032,11 @@ class BlockchainPlatformClient {
1079
1032
  * @param ListOsnsRequest
1080
1033
  * @return ListOsnsResponse
1081
1034
  * @throws OciError when an error occurs
1082
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/ListOsns.ts.html |here} to see how to use ListOsns API.
1035
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/ListOsns.ts.html |here} to see how to use ListOsns API.
1083
1036
  */
1084
1037
  listOsns(listOsnsRequest) {
1085
1038
  return __awaiter(this, void 0, void 0, function* () {
1086
- if (this.logger)
1087
- this.logger.debug("Calling operation BlockchainPlatformClient#listOsns.");
1039
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#listOsns.");
1088
1040
  const operationName = "listOsns";
1089
1041
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/Osn/ListOsns";
1090
1042
  const pathParams = {
@@ -1104,8 +1056,6 @@ class BlockchainPlatformClient {
1104
1056
  };
1105
1057
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1106
1058
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOsnsRequest.retryConfiguration, specRetryConfiguration);
1107
- if (this.logger)
1108
- retrier.logger = this.logger;
1109
1059
  const request = yield oci_common_1.composeRequest({
1110
1060
  baseEndpoint: this._endpoint,
1111
1061
  defaultHeaders: this._defaultHeaders,
@@ -1149,12 +1099,11 @@ class BlockchainPlatformClient {
1149
1099
  * @param ListPeersRequest
1150
1100
  * @return ListPeersResponse
1151
1101
  * @throws OciError when an error occurs
1152
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/ListPeers.ts.html |here} to see how to use ListPeers API.
1102
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/ListPeers.ts.html |here} to see how to use ListPeers API.
1153
1103
  */
1154
1104
  listPeers(listPeersRequest) {
1155
1105
  return __awaiter(this, void 0, void 0, function* () {
1156
- if (this.logger)
1157
- this.logger.debug("Calling operation BlockchainPlatformClient#listPeers.");
1106
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#listPeers.");
1158
1107
  const operationName = "listPeers";
1159
1108
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/Peer/ListPeers";
1160
1109
  const pathParams = {
@@ -1174,8 +1123,6 @@ class BlockchainPlatformClient {
1174
1123
  };
1175
1124
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1176
1125
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPeersRequest.retryConfiguration, specRetryConfiguration);
1177
- if (this.logger)
1178
- retrier.logger = this.logger;
1179
1126
  const request = yield oci_common_1.composeRequest({
1180
1127
  baseEndpoint: this._endpoint,
1181
1128
  defaultHeaders: this._defaultHeaders,
@@ -1220,12 +1167,11 @@ class BlockchainPlatformClient {
1220
1167
  * @param ListWorkRequestErrorsRequest
1221
1168
  * @return ListWorkRequestErrorsResponse
1222
1169
  * @throws OciError when an error occurs
1223
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1170
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1224
1171
  */
1225
1172
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1226
1173
  return __awaiter(this, void 0, void 0, function* () {
1227
- if (this.logger)
1228
- this.logger.debug("Calling operation BlockchainPlatformClient#listWorkRequestErrors.");
1174
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#listWorkRequestErrors.");
1229
1175
  const operationName = "listWorkRequestErrors";
1230
1176
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/WorkRequestError/ListWorkRequestErrors";
1231
1177
  const pathParams = {
@@ -1241,8 +1187,6 @@ class BlockchainPlatformClient {
1241
1187
  };
1242
1188
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1243
1189
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
1244
- if (this.logger)
1245
- retrier.logger = this.logger;
1246
1190
  const request = yield oci_common_1.composeRequest({
1247
1191
  baseEndpoint: this._endpoint,
1248
1192
  defaultHeaders: this._defaultHeaders,
@@ -1287,12 +1231,11 @@ class BlockchainPlatformClient {
1287
1231
  * @param ListWorkRequestLogsRequest
1288
1232
  * @return ListWorkRequestLogsResponse
1289
1233
  * @throws OciError when an error occurs
1290
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1234
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1291
1235
  */
1292
1236
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1293
1237
  return __awaiter(this, void 0, void 0, function* () {
1294
- if (this.logger)
1295
- this.logger.debug("Calling operation BlockchainPlatformClient#listWorkRequestLogs.");
1238
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#listWorkRequestLogs.");
1296
1239
  const operationName = "listWorkRequestLogs";
1297
1240
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/WorkRequestLogEntry/ListWorkRequestLogs";
1298
1241
  const pathParams = {
@@ -1308,8 +1251,6 @@ class BlockchainPlatformClient {
1308
1251
  };
1309
1252
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1310
1253
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
1311
- if (this.logger)
1312
- retrier.logger = this.logger;
1313
1254
  const request = yield oci_common_1.composeRequest({
1314
1255
  baseEndpoint: this._endpoint,
1315
1256
  defaultHeaders: this._defaultHeaders,
@@ -1354,12 +1295,11 @@ class BlockchainPlatformClient {
1354
1295
  * @param ListWorkRequestsRequest
1355
1296
  * @return ListWorkRequestsResponse
1356
1297
  * @throws OciError when an error occurs
1357
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1298
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1358
1299
  */
1359
1300
  listWorkRequests(listWorkRequestsRequest) {
1360
1301
  return __awaiter(this, void 0, void 0, function* () {
1361
- if (this.logger)
1362
- this.logger.debug("Calling operation BlockchainPlatformClient#listWorkRequests.");
1302
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#listWorkRequests.");
1363
1303
  const operationName = "listWorkRequests";
1364
1304
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/WorkRequest/ListWorkRequests";
1365
1305
  const pathParams = {};
@@ -1377,8 +1317,6 @@ class BlockchainPlatformClient {
1377
1317
  };
1378
1318
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1379
1319
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
1380
- if (this.logger)
1381
- retrier.logger = this.logger;
1382
1320
  const request = yield oci_common_1.composeRequest({
1383
1321
  baseEndpoint: this._endpoint,
1384
1322
  defaultHeaders: this._defaultHeaders,
@@ -1422,12 +1360,11 @@ class BlockchainPlatformClient {
1422
1360
  * @param PreviewScaleBlockchainPlatformRequest
1423
1361
  * @return PreviewScaleBlockchainPlatformResponse
1424
1362
  * @throws OciError when an error occurs
1425
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/PreviewScaleBlockchainPlatform.ts.html |here} to see how to use PreviewScaleBlockchainPlatform API.
1363
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/PreviewScaleBlockchainPlatform.ts.html |here} to see how to use PreviewScaleBlockchainPlatform API.
1426
1364
  */
1427
1365
  previewScaleBlockchainPlatform(previewScaleBlockchainPlatformRequest) {
1428
1366
  return __awaiter(this, void 0, void 0, function* () {
1429
- if (this.logger)
1430
- this.logger.debug("Calling operation BlockchainPlatformClient#previewScaleBlockchainPlatform.");
1367
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#previewScaleBlockchainPlatform.");
1431
1368
  const operationName = "previewScaleBlockchainPlatform";
1432
1369
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/PreviewScaleBlockchainPlatform";
1433
1370
  const pathParams = {
@@ -1440,8 +1377,6 @@ class BlockchainPlatformClient {
1440
1377
  };
1441
1378
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1442
1379
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, previewScaleBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
1443
- if (this.logger)
1444
- retrier.logger = this.logger;
1445
1380
  const request = yield oci_common_1.composeRequest({
1446
1381
  baseEndpoint: this._endpoint,
1447
1382
  defaultHeaders: this._defaultHeaders,
@@ -1486,12 +1421,11 @@ class BlockchainPlatformClient {
1486
1421
  * @param ScaleBlockchainPlatformRequest
1487
1422
  * @return ScaleBlockchainPlatformResponse
1488
1423
  * @throws OciError when an error occurs
1489
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/ScaleBlockchainPlatform.ts.html |here} to see how to use ScaleBlockchainPlatform API.
1424
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/ScaleBlockchainPlatform.ts.html |here} to see how to use ScaleBlockchainPlatform API.
1490
1425
  */
1491
1426
  scaleBlockchainPlatform(scaleBlockchainPlatformRequest) {
1492
1427
  return __awaiter(this, void 0, void 0, function* () {
1493
- if (this.logger)
1494
- this.logger.debug("Calling operation BlockchainPlatformClient#scaleBlockchainPlatform.");
1428
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#scaleBlockchainPlatform.");
1495
1429
  const operationName = "scaleBlockchainPlatform";
1496
1430
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/ScaleBlockchainPlatform";
1497
1431
  const pathParams = {
@@ -1506,8 +1440,6 @@ class BlockchainPlatformClient {
1506
1440
  };
1507
1441
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1508
1442
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scaleBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
1509
- if (this.logger)
1510
- retrier.logger = this.logger;
1511
1443
  const request = yield oci_common_1.composeRequest({
1512
1444
  baseEndpoint: this._endpoint,
1513
1445
  defaultHeaders: this._defaultHeaders,
@@ -1548,12 +1480,11 @@ class BlockchainPlatformClient {
1548
1480
  * @param StartBlockchainPlatformRequest
1549
1481
  * @return StartBlockchainPlatformResponse
1550
1482
  * @throws OciError when an error occurs
1551
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/StartBlockchainPlatform.ts.html |here} to see how to use StartBlockchainPlatform API.
1483
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/StartBlockchainPlatform.ts.html |here} to see how to use StartBlockchainPlatform API.
1552
1484
  */
1553
1485
  startBlockchainPlatform(startBlockchainPlatformRequest) {
1554
1486
  return __awaiter(this, void 0, void 0, function* () {
1555
- if (this.logger)
1556
- this.logger.debug("Calling operation BlockchainPlatformClient#startBlockchainPlatform.");
1487
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#startBlockchainPlatform.");
1557
1488
  const operationName = "startBlockchainPlatform";
1558
1489
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/StartBlockchainPlatform";
1559
1490
  const pathParams = {
@@ -1568,8 +1499,6 @@ class BlockchainPlatformClient {
1568
1499
  };
1569
1500
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1570
1501
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
1571
- if (this.logger)
1572
- retrier.logger = this.logger;
1573
1502
  const request = yield oci_common_1.composeRequest({
1574
1503
  baseEndpoint: this._endpoint,
1575
1504
  defaultHeaders: this._defaultHeaders,
@@ -1609,12 +1538,11 @@ class BlockchainPlatformClient {
1609
1538
  * @param StopBlockchainPlatformRequest
1610
1539
  * @return StopBlockchainPlatformResponse
1611
1540
  * @throws OciError when an error occurs
1612
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/StopBlockchainPlatform.ts.html |here} to see how to use StopBlockchainPlatform API.
1541
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/StopBlockchainPlatform.ts.html |here} to see how to use StopBlockchainPlatform API.
1613
1542
  */
1614
1543
  stopBlockchainPlatform(stopBlockchainPlatformRequest) {
1615
1544
  return __awaiter(this, void 0, void 0, function* () {
1616
- if (this.logger)
1617
- this.logger.debug("Calling operation BlockchainPlatformClient#stopBlockchainPlatform.");
1545
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#stopBlockchainPlatform.");
1618
1546
  const operationName = "stopBlockchainPlatform";
1619
1547
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/StopBlockchainPlatform";
1620
1548
  const pathParams = {
@@ -1629,8 +1557,6 @@ class BlockchainPlatformClient {
1629
1557
  };
1630
1558
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1631
1559
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
1632
- if (this.logger)
1633
- retrier.logger = this.logger;
1634
1560
  const request = yield oci_common_1.composeRequest({
1635
1561
  baseEndpoint: this._endpoint,
1636
1562
  defaultHeaders: this._defaultHeaders,
@@ -1670,12 +1596,11 @@ class BlockchainPlatformClient {
1670
1596
  * @param UpdateBlockchainPlatformRequest
1671
1597
  * @return UpdateBlockchainPlatformResponse
1672
1598
  * @throws OciError when an error occurs
1673
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/UpdateBlockchainPlatform.ts.html |here} to see how to use UpdateBlockchainPlatform API.
1599
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/UpdateBlockchainPlatform.ts.html |here} to see how to use UpdateBlockchainPlatform API.
1674
1600
  */
1675
1601
  updateBlockchainPlatform(updateBlockchainPlatformRequest) {
1676
1602
  return __awaiter(this, void 0, void 0, function* () {
1677
- if (this.logger)
1678
- this.logger.debug("Calling operation BlockchainPlatformClient#updateBlockchainPlatform.");
1603
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#updateBlockchainPlatform.");
1679
1604
  const operationName = "updateBlockchainPlatform";
1680
1605
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/UpdateBlockchainPlatform";
1681
1606
  const pathParams = {
@@ -1690,8 +1615,6 @@ class BlockchainPlatformClient {
1690
1615
  };
1691
1616
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1692
1617
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
1693
- if (this.logger)
1694
- retrier.logger = this.logger;
1695
1618
  const request = yield oci_common_1.composeRequest({
1696
1619
  baseEndpoint: this._endpoint,
1697
1620
  defaultHeaders: this._defaultHeaders,
@@ -1732,12 +1655,11 @@ class BlockchainPlatformClient {
1732
1655
  * @param UpdateOsnRequest
1733
1656
  * @return UpdateOsnResponse
1734
1657
  * @throws OciError when an error occurs
1735
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/UpdateOsn.ts.html |here} to see how to use UpdateOsn API.
1658
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/UpdateOsn.ts.html |here} to see how to use UpdateOsn API.
1736
1659
  */
1737
1660
  updateOsn(updateOsnRequest) {
1738
1661
  return __awaiter(this, void 0, void 0, function* () {
1739
- if (this.logger)
1740
- this.logger.debug("Calling operation BlockchainPlatformClient#updateOsn.");
1662
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#updateOsn.");
1741
1663
  const operationName = "updateOsn";
1742
1664
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/UpdateOsn";
1743
1665
  const pathParams = {
@@ -1753,8 +1675,6 @@ class BlockchainPlatformClient {
1753
1675
  };
1754
1676
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1755
1677
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOsnRequest.retryConfiguration, specRetryConfiguration);
1756
- if (this.logger)
1757
- retrier.logger = this.logger;
1758
1678
  const request = yield oci_common_1.composeRequest({
1759
1679
  baseEndpoint: this._endpoint,
1760
1680
  defaultHeaders: this._defaultHeaders,
@@ -1795,12 +1715,11 @@ class BlockchainPlatformClient {
1795
1715
  * @param UpdatePeerRequest
1796
1716
  * @return UpdatePeerResponse
1797
1717
  * @throws OciError when an error occurs
1798
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/UpdatePeer.ts.html |here} to see how to use UpdatePeer API.
1718
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/UpdatePeer.ts.html |here} to see how to use UpdatePeer API.
1799
1719
  */
1800
1720
  updatePeer(updatePeerRequest) {
1801
1721
  return __awaiter(this, void 0, void 0, function* () {
1802
- if (this.logger)
1803
- this.logger.debug("Calling operation BlockchainPlatformClient#updatePeer.");
1722
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#updatePeer.");
1804
1723
  const operationName = "updatePeer";
1805
1724
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/UpdatePeer";
1806
1725
  const pathParams = {
@@ -1816,8 +1735,6 @@ class BlockchainPlatformClient {
1816
1735
  };
1817
1736
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1818
1737
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePeerRequest.retryConfiguration, specRetryConfiguration);
1819
- if (this.logger)
1820
- retrier.logger = this.logger;
1821
1738
  const request = yield oci_common_1.composeRequest({
1822
1739
  baseEndpoint: this._endpoint,
1823
1740
  defaultHeaders: this._defaultHeaders,
@@ -1858,12 +1775,11 @@ class BlockchainPlatformClient {
1858
1775
  * @param UpgradeBlockchainPlatformRequest
1859
1776
  * @return UpgradeBlockchainPlatformResponse
1860
1777
  * @throws OciError when an error occurs
1861
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/blockchain/UpgradeBlockchainPlatform.ts.html |here} to see how to use UpgradeBlockchainPlatform API.
1778
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/blockchain/UpgradeBlockchainPlatform.ts.html |here} to see how to use UpgradeBlockchainPlatform API.
1862
1779
  */
1863
1780
  upgradeBlockchainPlatform(upgradeBlockchainPlatformRequest) {
1864
1781
  return __awaiter(this, void 0, void 0, function* () {
1865
- if (this.logger)
1866
- this.logger.debug("Calling operation BlockchainPlatformClient#upgradeBlockchainPlatform.");
1782
+ oci_common_1.logger.debug("Calling operation BlockchainPlatformClient#upgradeBlockchainPlatform.");
1867
1783
  const operationName = "upgradeBlockchainPlatform";
1868
1784
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/UpgradeBlockchainPlatform";
1869
1785
  const pathParams = {
@@ -1878,8 +1794,6 @@ class BlockchainPlatformClient {
1878
1794
  };
1879
1795
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1880
1796
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, upgradeBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
1881
- if (this.logger)
1882
- retrier.logger = this.logger;
1883
1797
  const request = yield oci_common_1.composeRequest({
1884
1798
  baseEndpoint: this._endpoint,
1885
1799
  defaultHeaders: this._defaultHeaders,