oci-apigateway 2.66.0 → 2.68.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/lib/client.d.ts +56 -50
  2. package/lib/client.js +80 -56
  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-api-compartment-request.d.ts +1 -1
  6. package/lib/request/change-certificate-compartment-request.d.ts +1 -1
  7. package/lib/request/change-deployment-compartment-request.d.ts +1 -1
  8. package/lib/request/change-gateway-compartment-request.d.ts +1 -1
  9. package/lib/request/change-subscriber-compartment-request.d.ts +1 -1
  10. package/lib/request/change-usage-plan-compartment-request.d.ts +1 -1
  11. package/lib/request/create-api-request.d.ts +1 -1
  12. package/lib/request/create-certificate-request.d.ts +1 -1
  13. package/lib/request/create-deployment-request.d.ts +1 -1
  14. package/lib/request/create-gateway-request.d.ts +1 -1
  15. package/lib/request/create-sdk-request.d.ts +1 -1
  16. package/lib/request/create-subscriber-request.d.ts +1 -1
  17. package/lib/request/create-usage-plan-request.d.ts +1 -1
  18. package/lib/request/delete-api-request.d.ts +1 -1
  19. package/lib/request/delete-certificate-request.d.ts +1 -1
  20. package/lib/request/delete-deployment-request.d.ts +1 -1
  21. package/lib/request/delete-gateway-request.d.ts +1 -1
  22. package/lib/request/delete-sdk-request.d.ts +1 -1
  23. package/lib/request/delete-subscriber-request.d.ts +1 -1
  24. package/lib/request/delete-usage-plan-request.d.ts +1 -1
  25. package/lib/request/get-api-content-request.d.ts +1 -1
  26. package/lib/request/get-api-deployment-specification-request.d.ts +1 -1
  27. package/lib/request/get-api-request.d.ts +1 -1
  28. package/lib/request/get-api-validations-request.d.ts +1 -1
  29. package/lib/request/get-certificate-request.d.ts +1 -1
  30. package/lib/request/get-deployment-request.d.ts +1 -1
  31. package/lib/request/get-gateway-request.d.ts +1 -1
  32. package/lib/request/get-sdk-request.d.ts +1 -1
  33. package/lib/request/get-subscriber-request.d.ts +1 -1
  34. package/lib/request/get-usage-plan-request.d.ts +1 -1
  35. package/lib/request/get-work-request-request.d.ts +1 -1
  36. package/lib/request/list-apis-request.d.ts +1 -1
  37. package/lib/request/list-certificates-request.d.ts +1 -1
  38. package/lib/request/list-deployments-request.d.ts +1 -1
  39. package/lib/request/list-gateways-request.d.ts +1 -1
  40. package/lib/request/list-sdk-language-types-request.d.ts +1 -1
  41. package/lib/request/list-sdks-request.d.ts +1 -1
  42. package/lib/request/list-subscribers-request.d.ts +1 -1
  43. package/lib/request/list-usage-plans-request.d.ts +1 -1
  44. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  45. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  46. package/lib/request/list-work-requests-request.d.ts +1 -1
  47. package/lib/request/update-api-request.d.ts +1 -1
  48. package/lib/request/update-certificate-request.d.ts +1 -1
  49. package/lib/request/update-deployment-request.d.ts +1 -1
  50. package/lib/request/update-gateway-request.d.ts +1 -1
  51. package/lib/request/update-sdk-request.d.ts +1 -1
  52. package/lib/request/update-subscriber-request.d.ts +1 -1
  53. package/lib/request/update-usage-plan-request.d.ts +1 -1
  54. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -69,6 +69,7 @@ class ApiGatewayClient {
69
69
  this["_defaultHeaders"] = {};
70
70
  this._circuitBreaker = null;
71
71
  this._httpOptions = undefined;
72
+ this._bodyDuplexMode = undefined;
72
73
  this.targetService = "ApiGateway";
73
74
  this._regionId = "";
74
75
  this._lastSetRegionOrRegionId = "";
@@ -83,6 +84,9 @@ class ApiGatewayClient {
83
84
  this._httpOptions = clientConfiguration.httpOptions
84
85
  ? clientConfiguration.httpOptions
85
86
  : undefined;
87
+ this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
88
+ ? clientConfiguration.bodyDuplexMode
89
+ : undefined;
86
90
  }
87
91
  // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
88
92
  const specCircuitBreakerEnabled = true;
@@ -93,7 +97,7 @@ class ApiGatewayClient {
93
97
  }
94
98
  this._httpClient =
95
99
  params.httpClient ||
96
- new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
100
+ new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
97
101
  if (params.authenticationDetailsProvider &&
98
102
  common.isRegionProvider(params.authenticationDetailsProvider)) {
99
103
  const provider = params.authenticationDetailsProvider;
@@ -187,7 +191,7 @@ class ApiGatewayClient {
187
191
  * @param ChangeApiCompartmentRequest
188
192
  * @return ChangeApiCompartmentResponse
189
193
  * @throws OciError when an error occurs
190
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/ChangeApiCompartment.ts.html |here} to see how to use ChangeApiCompartment API.
194
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/ChangeApiCompartment.ts.html |here} to see how to use ChangeApiCompartment API.
191
195
  */
192
196
  changeApiCompartment(changeApiCompartmentRequest) {
193
197
  return __awaiter(this, void 0, void 0, function* () {
@@ -249,7 +253,7 @@ class ApiGatewayClient {
249
253
  * @param ChangeCertificateCompartmentRequest
250
254
  * @return ChangeCertificateCompartmentResponse
251
255
  * @throws OciError when an error occurs
252
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/ChangeCertificateCompartment.ts.html |here} to see how to use ChangeCertificateCompartment API.
256
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/ChangeCertificateCompartment.ts.html |here} to see how to use ChangeCertificateCompartment API.
253
257
  */
254
258
  changeCertificateCompartment(changeCertificateCompartmentRequest) {
255
259
  return __awaiter(this, void 0, void 0, function* () {
@@ -307,7 +311,7 @@ class ApiGatewayClient {
307
311
  * @param CreateApiRequest
308
312
  * @return CreateApiResponse
309
313
  * @throws OciError when an error occurs
310
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/CreateApi.ts.html |here} to see how to use CreateApi API.
314
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/CreateApi.ts.html |here} to see how to use CreateApi API.
311
315
  */
312
316
  createApi(createApiRequest) {
313
317
  return __awaiter(this, void 0, void 0, function* () {
@@ -381,7 +385,7 @@ class ApiGatewayClient {
381
385
  * @param CreateCertificateRequest
382
386
  * @return CreateCertificateResponse
383
387
  * @throws OciError when an error occurs
384
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/CreateCertificate.ts.html |here} to see how to use CreateCertificate API.
388
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/CreateCertificate.ts.html |here} to see how to use CreateCertificate API.
385
389
  */
386
390
  createCertificate(createCertificateRequest) {
387
391
  return __awaiter(this, void 0, void 0, function* () {
@@ -454,7 +458,7 @@ class ApiGatewayClient {
454
458
  * @param CreateSdkRequest
455
459
  * @return CreateSdkResponse
456
460
  * @throws OciError when an error occurs
457
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/CreateSdk.ts.html |here} to see how to use CreateSdk API.
461
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/CreateSdk.ts.html |here} to see how to use CreateSdk API.
458
462
  */
459
463
  createSdk(createSdkRequest) {
460
464
  return __awaiter(this, void 0, void 0, function* () {
@@ -527,7 +531,7 @@ class ApiGatewayClient {
527
531
  * @param DeleteApiRequest
528
532
  * @return DeleteApiResponse
529
533
  * @throws OciError when an error occurs
530
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/DeleteApi.ts.html |here} to see how to use DeleteApi API.
534
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/DeleteApi.ts.html |here} to see how to use DeleteApi API.
531
535
  */
532
536
  deleteApi(deleteApiRequest) {
533
537
  return __awaiter(this, void 0, void 0, function* () {
@@ -587,7 +591,7 @@ class ApiGatewayClient {
587
591
  * @param DeleteCertificateRequest
588
592
  * @return DeleteCertificateResponse
589
593
  * @throws OciError when an error occurs
590
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/DeleteCertificate.ts.html |here} to see how to use DeleteCertificate API.
594
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/DeleteCertificate.ts.html |here} to see how to use DeleteCertificate API.
591
595
  */
592
596
  deleteCertificate(deleteCertificateRequest) {
593
597
  return __awaiter(this, void 0, void 0, function* () {
@@ -647,7 +651,7 @@ class ApiGatewayClient {
647
651
  * @param DeleteSdkRequest
648
652
  * @return DeleteSdkResponse
649
653
  * @throws OciError when an error occurs
650
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/DeleteSdk.ts.html |here} to see how to use DeleteSdk API.
654
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/DeleteSdk.ts.html |here} to see how to use DeleteSdk API.
651
655
  */
652
656
  deleteSdk(deleteSdkRequest) {
653
657
  return __awaiter(this, void 0, void 0, function* () {
@@ -707,7 +711,7 @@ class ApiGatewayClient {
707
711
  * @param GetApiRequest
708
712
  * @return GetApiResponse
709
713
  * @throws OciError when an error occurs
710
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/GetApi.ts.html |here} to see how to use GetApi API.
714
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/GetApi.ts.html |here} to see how to use GetApi API.
711
715
  */
712
716
  getApi(getApiRequest) {
713
717
  return __awaiter(this, void 0, void 0, function* () {
@@ -770,7 +774,7 @@ class ApiGatewayClient {
770
774
  * @param GetApiContentRequest
771
775
  * @return GetApiContentResponse
772
776
  * @throws OciError when an error occurs
773
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/GetApiContent.ts.html |here} to see how to use GetApiContent API.
777
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/GetApiContent.ts.html |here} to see how to use GetApiContent API.
774
778
  */
775
779
  getApiContent(getApiContentRequest) {
776
780
  return __awaiter(this, void 0, void 0, function* () {
@@ -839,7 +843,7 @@ class ApiGatewayClient {
839
843
  * @param GetApiDeploymentSpecificationRequest
840
844
  * @return GetApiDeploymentSpecificationResponse
841
845
  * @throws OciError when an error occurs
842
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/GetApiDeploymentSpecification.ts.html |here} to see how to use GetApiDeploymentSpecification API.
846
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/GetApiDeploymentSpecification.ts.html |here} to see how to use GetApiDeploymentSpecification API.
843
847
  */
844
848
  getApiDeploymentSpecification(getApiDeploymentSpecificationRequest) {
845
849
  return __awaiter(this, void 0, void 0, function* () {
@@ -903,7 +907,7 @@ class ApiGatewayClient {
903
907
  * @param GetApiValidationsRequest
904
908
  * @return GetApiValidationsResponse
905
909
  * @throws OciError when an error occurs
906
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/GetApiValidations.ts.html |here} to see how to use GetApiValidations API.
910
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/GetApiValidations.ts.html |here} to see how to use GetApiValidations API.
907
911
  */
908
912
  getApiValidations(getApiValidationsRequest) {
909
913
  return __awaiter(this, void 0, void 0, function* () {
@@ -967,7 +971,7 @@ class ApiGatewayClient {
967
971
  * @param GetCertificateRequest
968
972
  * @return GetCertificateResponse
969
973
  * @throws OciError when an error occurs
970
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/GetCertificate.ts.html |here} to see how to use GetCertificate API.
974
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/GetCertificate.ts.html |here} to see how to use GetCertificate API.
971
975
  */
972
976
  getCertificate(getCertificateRequest) {
973
977
  return __awaiter(this, void 0, void 0, function* () {
@@ -1030,7 +1034,7 @@ class ApiGatewayClient {
1030
1034
  * @param GetSdkRequest
1031
1035
  * @return GetSdkResponse
1032
1036
  * @throws OciError when an error occurs
1033
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/GetSdk.ts.html |here} to see how to use GetSdk API.
1037
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/GetSdk.ts.html |here} to see how to use GetSdk API.
1034
1038
  */
1035
1039
  getSdk(getSdkRequest) {
1036
1040
  return __awaiter(this, void 0, void 0, function* () {
@@ -1094,7 +1098,7 @@ class ApiGatewayClient {
1094
1098
  * @param ListApisRequest
1095
1099
  * @return ListApisResponse
1096
1100
  * @throws OciError when an error occurs
1097
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/ListApis.ts.html |here} to see how to use ListApis API.
1101
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/ListApis.ts.html |here} to see how to use ListApis API.
1098
1102
  */
1099
1103
  listApis(listApisRequest) {
1100
1104
  return __awaiter(this, void 0, void 0, function* () {
@@ -1169,7 +1173,7 @@ class ApiGatewayClient {
1169
1173
  * @param ListCertificatesRequest
1170
1174
  * @return ListCertificatesResponse
1171
1175
  * @throws OciError when an error occurs
1172
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/ListCertificates.ts.html |here} to see how to use ListCertificates API.
1176
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/ListCertificates.ts.html |here} to see how to use ListCertificates API.
1173
1177
  */
1174
1178
  listCertificates(listCertificatesRequest) {
1175
1179
  return __awaiter(this, void 0, void 0, function* () {
@@ -1243,7 +1247,7 @@ class ApiGatewayClient {
1243
1247
  * @param ListSdkLanguageTypesRequest
1244
1248
  * @return ListSdkLanguageTypesResponse
1245
1249
  * @throws OciError when an error occurs
1246
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/ListSdkLanguageTypes.ts.html |here} to see how to use ListSdkLanguageTypes API.
1250
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/ListSdkLanguageTypes.ts.html |here} to see how to use ListSdkLanguageTypes API.
1247
1251
  */
1248
1252
  listSdkLanguageTypes(listSdkLanguageTypesRequest) {
1249
1253
  return __awaiter(this, void 0, void 0, function* () {
@@ -1316,7 +1320,7 @@ class ApiGatewayClient {
1316
1320
  * @param ListSdksRequest
1317
1321
  * @return ListSdksResponse
1318
1322
  * @throws OciError when an error occurs
1319
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/ListSdks.ts.html |here} to see how to use ListSdks API.
1323
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/ListSdks.ts.html |here} to see how to use ListSdks API.
1320
1324
  */
1321
1325
  listSdks(listSdksRequest) {
1322
1326
  return __awaiter(this, void 0, void 0, function* () {
@@ -1391,7 +1395,7 @@ class ApiGatewayClient {
1391
1395
  * @param UpdateApiRequest
1392
1396
  * @return UpdateApiResponse
1393
1397
  * @throws OciError when an error occurs
1394
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/UpdateApi.ts.html |here} to see how to use UpdateApi API.
1398
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/UpdateApi.ts.html |here} to see how to use UpdateApi API.
1395
1399
  */
1396
1400
  updateApi(updateApiRequest) {
1397
1401
  return __awaiter(this, void 0, void 0, function* () {
@@ -1452,7 +1456,7 @@ class ApiGatewayClient {
1452
1456
  * @param UpdateCertificateRequest
1453
1457
  * @return UpdateCertificateResponse
1454
1458
  * @throws OciError when an error occurs
1455
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/UpdateCertificate.ts.html |here} to see how to use UpdateCertificate API.
1459
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/UpdateCertificate.ts.html |here} to see how to use UpdateCertificate API.
1456
1460
  */
1457
1461
  updateCertificate(updateCertificateRequest) {
1458
1462
  return __awaiter(this, void 0, void 0, function* () {
@@ -1513,7 +1517,7 @@ class ApiGatewayClient {
1513
1517
  * @param UpdateSdkRequest
1514
1518
  * @return UpdateSdkResponse
1515
1519
  * @throws OciError when an error occurs
1516
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/UpdateSdk.ts.html |here} to see how to use UpdateSdk API.
1520
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/UpdateSdk.ts.html |here} to see how to use UpdateSdk API.
1517
1521
  */
1518
1522
  updateSdk(updateSdkRequest) {
1519
1523
  return __awaiter(this, void 0, void 0, function* () {
@@ -1580,6 +1584,7 @@ class DeploymentClient {
1580
1584
  this["_defaultHeaders"] = {};
1581
1585
  this._circuitBreaker = null;
1582
1586
  this._httpOptions = undefined;
1587
+ this._bodyDuplexMode = undefined;
1583
1588
  this.targetService = "Deployment";
1584
1589
  this._regionId = "";
1585
1590
  this._lastSetRegionOrRegionId = "";
@@ -1594,6 +1599,9 @@ class DeploymentClient {
1594
1599
  this._httpOptions = clientConfiguration.httpOptions
1595
1600
  ? clientConfiguration.httpOptions
1596
1601
  : undefined;
1602
+ this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
1603
+ ? clientConfiguration.bodyDuplexMode
1604
+ : undefined;
1597
1605
  }
1598
1606
  // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
1599
1607
  const specCircuitBreakerEnabled = true;
@@ -1604,7 +1612,7 @@ class DeploymentClient {
1604
1612
  }
1605
1613
  this._httpClient =
1606
1614
  params.httpClient ||
1607
- new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
1615
+ new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
1608
1616
  if (params.authenticationDetailsProvider &&
1609
1617
  common.isRegionProvider(params.authenticationDetailsProvider)) {
1610
1618
  const provider = params.authenticationDetailsProvider;
@@ -1698,7 +1706,7 @@ class DeploymentClient {
1698
1706
  * @param ChangeDeploymentCompartmentRequest
1699
1707
  * @return ChangeDeploymentCompartmentResponse
1700
1708
  * @throws OciError when an error occurs
1701
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/ChangeDeploymentCompartment.ts.html |here} to see how to use ChangeDeploymentCompartment API.
1709
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/ChangeDeploymentCompartment.ts.html |here} to see how to use ChangeDeploymentCompartment API.
1702
1710
  */
1703
1711
  changeDeploymentCompartment(changeDeploymentCompartmentRequest) {
1704
1712
  return __awaiter(this, void 0, void 0, function* () {
@@ -1761,7 +1769,7 @@ class DeploymentClient {
1761
1769
  * @param CreateDeploymentRequest
1762
1770
  * @return CreateDeploymentResponse
1763
1771
  * @throws OciError when an error occurs
1764
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/CreateDeployment.ts.html |here} to see how to use CreateDeployment API.
1772
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/CreateDeployment.ts.html |here} to see how to use CreateDeployment API.
1765
1773
  */
1766
1774
  createDeployment(createDeploymentRequest) {
1767
1775
  return __awaiter(this, void 0, void 0, function* () {
@@ -1834,7 +1842,7 @@ class DeploymentClient {
1834
1842
  * @param DeleteDeploymentRequest
1835
1843
  * @return DeleteDeploymentResponse
1836
1844
  * @throws OciError when an error occurs
1837
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/DeleteDeployment.ts.html |here} to see how to use DeleteDeployment API.
1845
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/DeleteDeployment.ts.html |here} to see how to use DeleteDeployment API.
1838
1846
  */
1839
1847
  deleteDeployment(deleteDeploymentRequest) {
1840
1848
  return __awaiter(this, void 0, void 0, function* () {
@@ -1894,7 +1902,7 @@ class DeploymentClient {
1894
1902
  * @param GetDeploymentRequest
1895
1903
  * @return GetDeploymentResponse
1896
1904
  * @throws OciError when an error occurs
1897
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/GetDeployment.ts.html |here} to see how to use GetDeployment API.
1905
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/GetDeployment.ts.html |here} to see how to use GetDeployment API.
1898
1906
  */
1899
1907
  getDeployment(getDeploymentRequest) {
1900
1908
  return __awaiter(this, void 0, void 0, function* () {
@@ -1958,7 +1966,7 @@ class DeploymentClient {
1958
1966
  * @param ListDeploymentsRequest
1959
1967
  * @return ListDeploymentsResponse
1960
1968
  * @throws OciError when an error occurs
1961
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/ListDeployments.ts.html |here} to see how to use ListDeployments API.
1969
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/ListDeployments.ts.html |here} to see how to use ListDeployments API.
1962
1970
  */
1963
1971
  listDeployments(listDeploymentsRequest) {
1964
1972
  return __awaiter(this, void 0, void 0, function* () {
@@ -2033,7 +2041,7 @@ class DeploymentClient {
2033
2041
  * @param UpdateDeploymentRequest
2034
2042
  * @return UpdateDeploymentResponse
2035
2043
  * @throws OciError when an error occurs
2036
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/UpdateDeployment.ts.html |here} to see how to use UpdateDeployment API.
2044
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/UpdateDeployment.ts.html |here} to see how to use UpdateDeployment API.
2037
2045
  */
2038
2046
  updateDeployment(updateDeploymentRequest) {
2039
2047
  return __awaiter(this, void 0, void 0, function* () {
@@ -2105,6 +2113,7 @@ class GatewayClient {
2105
2113
  this["_defaultHeaders"] = {};
2106
2114
  this._circuitBreaker = null;
2107
2115
  this._httpOptions = undefined;
2116
+ this._bodyDuplexMode = undefined;
2108
2117
  this.targetService = "Gateway";
2109
2118
  this._regionId = "";
2110
2119
  this._lastSetRegionOrRegionId = "";
@@ -2119,6 +2128,9 @@ class GatewayClient {
2119
2128
  this._httpOptions = clientConfiguration.httpOptions
2120
2129
  ? clientConfiguration.httpOptions
2121
2130
  : undefined;
2131
+ this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
2132
+ ? clientConfiguration.bodyDuplexMode
2133
+ : undefined;
2122
2134
  }
2123
2135
  // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
2124
2136
  const specCircuitBreakerEnabled = true;
@@ -2129,7 +2141,7 @@ class GatewayClient {
2129
2141
  }
2130
2142
  this._httpClient =
2131
2143
  params.httpClient ||
2132
- new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
2144
+ new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
2133
2145
  if (params.authenticationDetailsProvider &&
2134
2146
  common.isRegionProvider(params.authenticationDetailsProvider)) {
2135
2147
  const provider = params.authenticationDetailsProvider;
@@ -2223,7 +2235,7 @@ class GatewayClient {
2223
2235
  * @param ChangeGatewayCompartmentRequest
2224
2236
  * @return ChangeGatewayCompartmentResponse
2225
2237
  * @throws OciError when an error occurs
2226
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/ChangeGatewayCompartment.ts.html |here} to see how to use ChangeGatewayCompartment API.
2238
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/ChangeGatewayCompartment.ts.html |here} to see how to use ChangeGatewayCompartment API.
2227
2239
  */
2228
2240
  changeGatewayCompartment(changeGatewayCompartmentRequest) {
2229
2241
  return __awaiter(this, void 0, void 0, function* () {
@@ -2286,7 +2298,7 @@ class GatewayClient {
2286
2298
  * @param CreateGatewayRequest
2287
2299
  * @return CreateGatewayResponse
2288
2300
  * @throws OciError when an error occurs
2289
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/CreateGateway.ts.html |here} to see how to use CreateGateway API.
2301
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/CreateGateway.ts.html |here} to see how to use CreateGateway API.
2290
2302
  */
2291
2303
  createGateway(createGatewayRequest) {
2292
2304
  return __awaiter(this, void 0, void 0, function* () {
@@ -2359,7 +2371,7 @@ class GatewayClient {
2359
2371
  * @param DeleteGatewayRequest
2360
2372
  * @return DeleteGatewayResponse
2361
2373
  * @throws OciError when an error occurs
2362
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/DeleteGateway.ts.html |here} to see how to use DeleteGateway API.
2374
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/DeleteGateway.ts.html |here} to see how to use DeleteGateway API.
2363
2375
  */
2364
2376
  deleteGateway(deleteGatewayRequest) {
2365
2377
  return __awaiter(this, void 0, void 0, function* () {
@@ -2419,7 +2431,7 @@ class GatewayClient {
2419
2431
  * @param GetGatewayRequest
2420
2432
  * @return GetGatewayResponse
2421
2433
  * @throws OciError when an error occurs
2422
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/GetGateway.ts.html |here} to see how to use GetGateway API.
2434
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/GetGateway.ts.html |here} to see how to use GetGateway API.
2423
2435
  */
2424
2436
  getGateway(getGatewayRequest) {
2425
2437
  return __awaiter(this, void 0, void 0, function* () {
@@ -2483,7 +2495,7 @@ class GatewayClient {
2483
2495
  * @param ListGatewaysRequest
2484
2496
  * @return ListGatewaysResponse
2485
2497
  * @throws OciError when an error occurs
2486
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/ListGateways.ts.html |here} to see how to use ListGateways API.
2498
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/ListGateways.ts.html |here} to see how to use ListGateways API.
2487
2499
  */
2488
2500
  listGateways(listGatewaysRequest) {
2489
2501
  return __awaiter(this, void 0, void 0, function* () {
@@ -2558,7 +2570,7 @@ class GatewayClient {
2558
2570
  * @param UpdateGatewayRequest
2559
2571
  * @return UpdateGatewayResponse
2560
2572
  * @throws OciError when an error occurs
2561
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/UpdateGateway.ts.html |here} to see how to use UpdateGateway API.
2573
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/UpdateGateway.ts.html |here} to see how to use UpdateGateway API.
2562
2574
  */
2563
2575
  updateGateway(updateGatewayRequest) {
2564
2576
  return __awaiter(this, void 0, void 0, function* () {
@@ -2630,6 +2642,7 @@ class SubscribersClient {
2630
2642
  this["_defaultHeaders"] = {};
2631
2643
  this._circuitBreaker = null;
2632
2644
  this._httpOptions = undefined;
2645
+ this._bodyDuplexMode = undefined;
2633
2646
  this.targetService = "Subscribers";
2634
2647
  this._regionId = "";
2635
2648
  this._lastSetRegionOrRegionId = "";
@@ -2644,6 +2657,9 @@ class SubscribersClient {
2644
2657
  this._httpOptions = clientConfiguration.httpOptions
2645
2658
  ? clientConfiguration.httpOptions
2646
2659
  : undefined;
2660
+ this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
2661
+ ? clientConfiguration.bodyDuplexMode
2662
+ : undefined;
2647
2663
  }
2648
2664
  // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
2649
2665
  const specCircuitBreakerEnabled = true;
@@ -2654,7 +2670,7 @@ class SubscribersClient {
2654
2670
  }
2655
2671
  this._httpClient =
2656
2672
  params.httpClient ||
2657
- new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
2673
+ new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
2658
2674
  if (params.authenticationDetailsProvider &&
2659
2675
  common.isRegionProvider(params.authenticationDetailsProvider)) {
2660
2676
  const provider = params.authenticationDetailsProvider;
@@ -2748,7 +2764,7 @@ class SubscribersClient {
2748
2764
  * @param ChangeSubscriberCompartmentRequest
2749
2765
  * @return ChangeSubscriberCompartmentResponse
2750
2766
  * @throws OciError when an error occurs
2751
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/ChangeSubscriberCompartment.ts.html |here} to see how to use ChangeSubscriberCompartment API.
2767
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/ChangeSubscriberCompartment.ts.html |here} to see how to use ChangeSubscriberCompartment API.
2752
2768
  */
2753
2769
  changeSubscriberCompartment(changeSubscriberCompartmentRequest) {
2754
2770
  return __awaiter(this, void 0, void 0, function* () {
@@ -2810,7 +2826,7 @@ class SubscribersClient {
2810
2826
  * @param CreateSubscriberRequest
2811
2827
  * @return CreateSubscriberResponse
2812
2828
  * @throws OciError when an error occurs
2813
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/CreateSubscriber.ts.html |here} to see how to use CreateSubscriber API.
2829
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/CreateSubscriber.ts.html |here} to see how to use CreateSubscriber API.
2814
2830
  */
2815
2831
  createSubscriber(createSubscriberRequest) {
2816
2832
  return __awaiter(this, void 0, void 0, function* () {
@@ -2883,7 +2899,7 @@ class SubscribersClient {
2883
2899
  * @param DeleteSubscriberRequest
2884
2900
  * @return DeleteSubscriberResponse
2885
2901
  * @throws OciError when an error occurs
2886
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/DeleteSubscriber.ts.html |here} to see how to use DeleteSubscriber API.
2902
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/DeleteSubscriber.ts.html |here} to see how to use DeleteSubscriber API.
2887
2903
  */
2888
2904
  deleteSubscriber(deleteSubscriberRequest) {
2889
2905
  return __awaiter(this, void 0, void 0, function* () {
@@ -2943,7 +2959,7 @@ class SubscribersClient {
2943
2959
  * @param GetSubscriberRequest
2944
2960
  * @return GetSubscriberResponse
2945
2961
  * @throws OciError when an error occurs
2946
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/GetSubscriber.ts.html |here} to see how to use GetSubscriber API.
2962
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/GetSubscriber.ts.html |here} to see how to use GetSubscriber API.
2947
2963
  */
2948
2964
  getSubscriber(getSubscriberRequest) {
2949
2965
  return __awaiter(this, void 0, void 0, function* () {
@@ -3006,7 +3022,7 @@ class SubscribersClient {
3006
3022
  * @param ListSubscribersRequest
3007
3023
  * @return ListSubscribersResponse
3008
3024
  * @throws OciError when an error occurs
3009
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/ListSubscribers.ts.html |here} to see how to use ListSubscribers API.
3025
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/ListSubscribers.ts.html |here} to see how to use ListSubscribers API.
3010
3026
  */
3011
3027
  listSubscribers(listSubscribersRequest) {
3012
3028
  return __awaiter(this, void 0, void 0, function* () {
@@ -3080,7 +3096,7 @@ class SubscribersClient {
3080
3096
  * @param UpdateSubscriberRequest
3081
3097
  * @return UpdateSubscriberResponse
3082
3098
  * @throws OciError when an error occurs
3083
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/UpdateSubscriber.ts.html |here} to see how to use UpdateSubscriber API.
3099
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/UpdateSubscriber.ts.html |here} to see how to use UpdateSubscriber API.
3084
3100
  */
3085
3101
  updateSubscriber(updateSubscriberRequest) {
3086
3102
  return __awaiter(this, void 0, void 0, function* () {
@@ -3152,6 +3168,7 @@ class UsagePlansClient {
3152
3168
  this["_defaultHeaders"] = {};
3153
3169
  this._circuitBreaker = null;
3154
3170
  this._httpOptions = undefined;
3171
+ this._bodyDuplexMode = undefined;
3155
3172
  this.targetService = "UsagePlans";
3156
3173
  this._regionId = "";
3157
3174
  this._lastSetRegionOrRegionId = "";
@@ -3166,6 +3183,9 @@ class UsagePlansClient {
3166
3183
  this._httpOptions = clientConfiguration.httpOptions
3167
3184
  ? clientConfiguration.httpOptions
3168
3185
  : undefined;
3186
+ this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
3187
+ ? clientConfiguration.bodyDuplexMode
3188
+ : undefined;
3169
3189
  }
3170
3190
  // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
3171
3191
  const specCircuitBreakerEnabled = true;
@@ -3176,7 +3196,7 @@ class UsagePlansClient {
3176
3196
  }
3177
3197
  this._httpClient =
3178
3198
  params.httpClient ||
3179
- new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
3199
+ new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
3180
3200
  if (params.authenticationDetailsProvider &&
3181
3201
  common.isRegionProvider(params.authenticationDetailsProvider)) {
3182
3202
  const provider = params.authenticationDetailsProvider;
@@ -3270,7 +3290,7 @@ class UsagePlansClient {
3270
3290
  * @param ChangeUsagePlanCompartmentRequest
3271
3291
  * @return ChangeUsagePlanCompartmentResponse
3272
3292
  * @throws OciError when an error occurs
3273
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/ChangeUsagePlanCompartment.ts.html |here} to see how to use ChangeUsagePlanCompartment API.
3293
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/ChangeUsagePlanCompartment.ts.html |here} to see how to use ChangeUsagePlanCompartment API.
3274
3294
  */
3275
3295
  changeUsagePlanCompartment(changeUsagePlanCompartmentRequest) {
3276
3296
  return __awaiter(this, void 0, void 0, function* () {
@@ -3332,7 +3352,7 @@ class UsagePlansClient {
3332
3352
  * @param CreateUsagePlanRequest
3333
3353
  * @return CreateUsagePlanResponse
3334
3354
  * @throws OciError when an error occurs
3335
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/CreateUsagePlan.ts.html |here} to see how to use CreateUsagePlan API.
3355
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/CreateUsagePlan.ts.html |here} to see how to use CreateUsagePlan API.
3336
3356
  */
3337
3357
  createUsagePlan(createUsagePlanRequest) {
3338
3358
  return __awaiter(this, void 0, void 0, function* () {
@@ -3405,7 +3425,7 @@ class UsagePlansClient {
3405
3425
  * @param DeleteUsagePlanRequest
3406
3426
  * @return DeleteUsagePlanResponse
3407
3427
  * @throws OciError when an error occurs
3408
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/DeleteUsagePlan.ts.html |here} to see how to use DeleteUsagePlan API.
3428
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/DeleteUsagePlan.ts.html |here} to see how to use DeleteUsagePlan API.
3409
3429
  */
3410
3430
  deleteUsagePlan(deleteUsagePlanRequest) {
3411
3431
  return __awaiter(this, void 0, void 0, function* () {
@@ -3465,7 +3485,7 @@ class UsagePlansClient {
3465
3485
  * @param GetUsagePlanRequest
3466
3486
  * @return GetUsagePlanResponse
3467
3487
  * @throws OciError when an error occurs
3468
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/GetUsagePlan.ts.html |here} to see how to use GetUsagePlan API.
3488
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/GetUsagePlan.ts.html |here} to see how to use GetUsagePlan API.
3469
3489
  */
3470
3490
  getUsagePlan(getUsagePlanRequest) {
3471
3491
  return __awaiter(this, void 0, void 0, function* () {
@@ -3528,7 +3548,7 @@ class UsagePlansClient {
3528
3548
  * @param ListUsagePlansRequest
3529
3549
  * @return ListUsagePlansResponse
3530
3550
  * @throws OciError when an error occurs
3531
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/ListUsagePlans.ts.html |here} to see how to use ListUsagePlans API.
3551
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/ListUsagePlans.ts.html |here} to see how to use ListUsagePlans API.
3532
3552
  */
3533
3553
  listUsagePlans(listUsagePlansRequest) {
3534
3554
  return __awaiter(this, void 0, void 0, function* () {
@@ -3602,7 +3622,7 @@ class UsagePlansClient {
3602
3622
  * @param UpdateUsagePlanRequest
3603
3623
  * @return UpdateUsagePlanResponse
3604
3624
  * @throws OciError when an error occurs
3605
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/UpdateUsagePlan.ts.html |here} to see how to use UpdateUsagePlan API.
3625
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/UpdateUsagePlan.ts.html |here} to see how to use UpdateUsagePlan API.
3606
3626
  */
3607
3627
  updateUsagePlan(updateUsagePlanRequest) {
3608
3628
  return __awaiter(this, void 0, void 0, function* () {
@@ -3674,6 +3694,7 @@ class WorkRequestsClient {
3674
3694
  this["_defaultHeaders"] = {};
3675
3695
  this._circuitBreaker = null;
3676
3696
  this._httpOptions = undefined;
3697
+ this._bodyDuplexMode = undefined;
3677
3698
  this.targetService = "WorkRequests";
3678
3699
  this._regionId = "";
3679
3700
  this._lastSetRegionOrRegionId = "";
@@ -3688,6 +3709,9 @@ class WorkRequestsClient {
3688
3709
  this._httpOptions = clientConfiguration.httpOptions
3689
3710
  ? clientConfiguration.httpOptions
3690
3711
  : undefined;
3712
+ this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
3713
+ ? clientConfiguration.bodyDuplexMode
3714
+ : undefined;
3691
3715
  }
3692
3716
  // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
3693
3717
  const specCircuitBreakerEnabled = true;
@@ -3698,7 +3722,7 @@ class WorkRequestsClient {
3698
3722
  }
3699
3723
  this._httpClient =
3700
3724
  params.httpClient ||
3701
- new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
3725
+ new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
3702
3726
  if (params.authenticationDetailsProvider &&
3703
3727
  common.isRegionProvider(params.authenticationDetailsProvider)) {
3704
3728
  const provider = params.authenticationDetailsProvider;
@@ -3792,7 +3816,7 @@ class WorkRequestsClient {
3792
3816
  * @param CancelWorkRequestRequest
3793
3817
  * @return CancelWorkRequestResponse
3794
3818
  * @throws OciError when an error occurs
3795
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
3819
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
3796
3820
  */
3797
3821
  cancelWorkRequest(cancelWorkRequestRequest) {
3798
3822
  return __awaiter(this, void 0, void 0, function* () {
@@ -3848,7 +3872,7 @@ class WorkRequestsClient {
3848
3872
  * @param GetWorkRequestRequest
3849
3873
  * @return GetWorkRequestResponse
3850
3874
  * @throws OciError when an error occurs
3851
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
3875
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
3852
3876
  */
3853
3877
  getWorkRequest(getWorkRequestRequest) {
3854
3878
  return __awaiter(this, void 0, void 0, function* () {
@@ -3917,7 +3941,7 @@ class WorkRequestsClient {
3917
3941
  * @param ListWorkRequestErrorsRequest
3918
3942
  * @return ListWorkRequestErrorsResponse
3919
3943
  * @throws OciError when an error occurs
3920
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
3944
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
3921
3945
  */
3922
3946
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
3923
3947
  return __awaiter(this, void 0, void 0, function* () {
@@ -3991,7 +4015,7 @@ class WorkRequestsClient {
3991
4015
  * @param ListWorkRequestLogsRequest
3992
4016
  * @return ListWorkRequestLogsResponse
3993
4017
  * @throws OciError when an error occurs
3994
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
4018
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
3995
4019
  */
3996
4020
  listWorkRequestLogs(listWorkRequestLogsRequest) {
3997
4021
  return __awaiter(this, void 0, void 0, function* () {
@@ -4065,7 +4089,7 @@ class WorkRequestsClient {
4065
4089
  * @param ListWorkRequestsRequest
4066
4090
  * @return ListWorkRequestsResponse
4067
4091
  * @throws OciError when an error occurs
4068
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.66.0/apigateway/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
4092
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/apigateway/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
4069
4093
  */
4070
4094
  listWorkRequests(listWorkRequestsRequest) {
4071
4095
  return __awaiter(this, void 0, void 0, function* () {